From 66deca2e6d29a801d14c80e6ec16e7d42ed2033a Mon Sep 17 00:00:00 2001 From: "azure-pipelines[bot]" <36771401+azure-pipelines[bot]@users.noreply.github.com> Date: Sat, 12 Oct 2024 16:28:30 +0800 Subject: [PATCH] Migrate ConnectedMachine from generation to main (#26288) * Move ConnectedMachine to main * Update ChangeLog.md --------- Co-authored-by: azure-powershell-bot <65331932+azure-powershell-bot@users.noreply.github.com> Co-authored-by: NanxiangLiu <33285578+Nickcandy@users.noreply.github.com> --- .../Az.ConnectedMachine.format.ps1xml | 1058 +- .../Az.ConnectedMachine.psd1 | 2 +- .../ConnectedMachine.Autorest/README.md | 100 +- .../UX/Microsoft.HybridCompute/licenses.json | 2 +- ...ns-publishers-extensionTypes-versions.json | 2 +- .../machines-extensions.json | 2 +- .../machines-runCommands.json | 95 - .../UX/Microsoft.HybridCompute/machines.json | 2 +- ...etworkSecurityPerimeterConfigurations.json | 45 +- .../privateLinkScopes.json | 2 +- .../build-module.ps1 | 7 +- .../custom/MachineRunCommand.cs | 30 +- ...ectedMachineRunCommand_ScriptLocalPath.ps1 | 569 +- .../Get-AzConnectedMachineRunCommand.md | 69 - ...leNetworkSecurityPerimeterConfiguration.md | 7 + .../New-AzConnectedMachineRunCommand.md | 49 - .../Remove-AzConnectedMachineRunCommand.md | 9 - .../Update-AzConnectedMachineRunCommand.md | 52 - .../Get-AzConnectedMachineRunCommand.ps1 | 204 - .../Install-AzConnectedMachinePatch.ps1 | 9 - .../Invoke-AzConnectedAssessMachinePatch.ps1 | 9 - ...NetworkSecurityPerimeterConfiguration.ps1} | 74 +- .../exports/New-AzConnectedLicense.ps1 | 9 - .../New-AzConnectedMachineExtension.ps1 | 18 - .../New-AzConnectedMachineRunCommand.ps1 | 555 - .../New-AzConnectedPrivateLinkScope.ps1 | 9 - .../exports/ProxyCmdletDefinitions.ps1 | 2660 +- .../exports/Remove-AzConnectedLicense.ps1 | 9 - .../exports/Remove-AzConnectedMachine.ps1 | 9 - .../Remove-AzConnectedMachineExtension.ps1 | 18 - .../Remove-AzConnectedPrivateLinkScope.ps1 | 9 - .../exports/Update-AzConnectedExtension.ps1 | 9 - .../exports/Update-AzConnectedMachine.ps1 | 9 - .../Update-AzConnectedMachineExtension.ps1 | 18 - .../Update-AzConnectedMachineRunCommand.ps1 | 496 - .../Update-AzConnectedPrivateLinkScopeTag.ps1 | 9 - .../generated/api/ConnectedMachine.cs | 22341 ++++++---------- .../api/Models/AgentVersion.PowerShell.cs | 180 - .../api/Models/AgentVersion.TypeConverter.cs | 147 - .../generated/api/Models/AgentVersion.cs | 94 - .../generated/api/Models/AgentVersion.json.cs | 112 - .../Models/AgentVersionsList.PowerShell.cs | 172 - .../Models/AgentVersionsList.TypeConverter.cs | 147 - .../generated/api/Models/AgentVersionsList.cs | 74 - .../api/Models/AgentVersionsList.json.cs | 118 - .../ConnectedMachineIdentity.PowerShell.cs | 72 - .../api/Models/ConnectedMachineIdentity.cs | 186 - .../Models/ConnectedMachineIdentity.json.cs | 18 - .../ErrorDetailAutoGenerated.PowerShell.cs | 196 - .../ErrorDetailAutoGenerated.TypeConverter.cs | 147 - .../api/Models/ErrorDetailAutoGenerated.cs | 149 - .../Models/ErrorDetailAutoGenerated.json.cs | 147 - .../ErrorResponseAutoGenerated.PowerShell.cs | 208 - ...rrorResponseAutoGenerated.TypeConverter.cs | 147 - .../api/Models/ErrorResponseAutoGenerated.cs | 151 - .../Models/ErrorResponseAutoGenerated.json.cs | 111 - .../api/Models/Gateway.PowerShell.cs | 300 - .../api/Models/Gateway.TypeConverter.cs | 146 - .../generated/api/Models/Gateway.cs | 233 - .../generated/api/Models/Gateway.json.cs | 110 - .../Models/GatewayProperties.PowerShell.cs | 196 - .../Models/GatewayProperties.TypeConverter.cs | 147 - .../generated/api/Models/GatewayProperties.cs | 147 - .../api/Models/GatewayProperties.json.cs | 133 - .../api/Models/GatewayUpdate.PowerShell.cs | 180 - .../api/Models/GatewayUpdate.TypeConverter.cs | 147 - .../generated/api/Models/GatewayUpdate.cs | 86 - .../GatewayUpdateProperties.PowerShell.cs | 164 - .../GatewayUpdateProperties.TypeConverter.cs | 147 - .../api/Models/GatewayUpdateProperties.cs | 54 - .../Models/GatewayUpdateProperties.json.cs | 116 - .../Models/GatewaysListResult.PowerShell.cs | 172 - .../GatewaysListResult.TypeConverter.cs | 147 - .../api/Models/GatewaysListResult.cs | 80 - .../api/Models/GatewaysListResult.json.cs | 118 - .../HybridIdentityMetadata.PowerShell.cs | 292 - .../HybridIdentityMetadata.TypeConverter.cs | 147 - .../api/Models/HybridIdentityMetadata.cs | 225 - .../api/Models/HybridIdentityMetadata.json.cs | 110 - .../HybridIdentityMetadataList.PowerShell.cs | 172 - ...ybridIdentityMetadataList.TypeConverter.cs | 147 - .../api/Models/HybridIdentityMetadataList.cs | 74 - .../Models/HybridIdentityMetadataList.json.cs | 118 - ...idIdentityMetadataProperties.PowerShell.cs | 206 - .../HybridIdentityMetadataProperties.cs | 145 - .../HybridIdentityMetadataProperties.json.cs | 115 - .../Models/MachineRunCommand.PowerShell.cs | 508 - .../Models/MachineRunCommand.TypeConverter.cs | 147 - .../generated/api/Models/MachineRunCommand.cs | 694 - .../api/Models/MachineRunCommand.json.cs | 110 - ...achineRunCommandInstanceView.PowerShell.cs | 220 - ...ineRunCommandInstanceView.TypeConverter.cs | 147 - .../Models/MachineRunCommandInstanceView.cs | 196 - .../MachineRunCommandInstanceView.json.cs | 130 - .../MachineRunCommandProperties.PowerShell.cs | 404 - ...chineRunCommandProperties.TypeConverter.cs | 147 - .../api/Models/MachineRunCommandProperties.cs | 658 - .../MachineRunCommandProperties.json.cs | 154 - ...achineRunCommandScriptSource.PowerShell.cs | 206 - ...ineRunCommandScriptSource.TypeConverter.cs | 147 - .../Models/MachineRunCommandScriptSource.cs | 170 - .../MachineRunCommandScriptSource.json.cs | 116 - .../MachineRunCommandUpdate.PowerShell.cs | 164 - .../MachineRunCommandUpdate.TypeConverter.cs | 147 - .../api/Models/MachineRunCommandUpdate.cs | 57 - .../Models/MachineRunCommandUpdate.json.cs | 108 - ...MachineRunCommandsListResult.PowerShell.cs | 172 - ...hineRunCommandsListResult.TypeConverter.cs | 147 - .../Models/MachineRunCommandsListResult.cs | 80 - .../MachineRunCommandsListResult.json.cs | 118 - .../Models/NetworkConfiguration.PowerShell.cs | 346 - .../NetworkConfiguration.TypeConverter.cs | 147 - .../api/Models/NetworkConfiguration.cs | 330 - .../api/Models/NetworkConfiguration.json.cs | 109 - ...tworkConfigurationProperties.PowerShell.cs | 262 - ...rkConfigurationProperties.TypeConverter.cs | 148 - .../Models/NetworkConfigurationProperties.cs | 259 - .../NetworkConfigurationProperties.json.cs | 125 - ...onfigurationReconcileResult.PowerShell.cs} | 55 +- ...igurationReconcileResult.TypeConverter.cs} | 33 +- ...tyPerimeterConfigurationReconcileResult.cs | 56 + ...meterConfigurationReconcileResult.json.cs} | 29 +- .../RunCommandInputParameter.PowerShell.cs | 172 - .../RunCommandInputParameter.TypeConverter.cs | 147 - .../api/Models/RunCommandInputParameter.cs | 74 - .../Models/RunCommandInputParameter.json.cs | 110 - .../RunCommandManagedIdentity.PowerShell.cs | 184 - ...RunCommandManagedIdentity.TypeConverter.cs | 147 - .../api/Models/RunCommandManagedIdentity.cs | 103 - .../Models/RunCommandManagedIdentity.json.cs | 117 - .../api/Models/Settings.PowerShell.cs | 266 - .../api/Models/Settings.TypeConverter.cs | 146 - .../generated/api/Models/Settings.cs | 166 - .../generated/api/Models/Settings.json.cs | 109 - ...SettingsGatewayProperties.TypeConverter.cs | 147 - .../api/Models/SettingsGatewayProperties.cs | 54 - .../Models/SettingsGatewayProperties.json.cs | 108 - .../Models/SettingsProperties.PowerShell.cs | 180 - .../SettingsProperties.TypeConverter.cs | 147 - .../api/Models/SettingsProperties.cs | 86 - .../api/Models/SettingsProperties.json.cs | 113 - ...TrackedResourceAutoGenerated.PowerShell.cs | 254 - ...ckedResourceAutoGenerated.TypeConverter.cs | 147 - .../Models/TrackedResourceAutoGenerated.cs | 153 - .../TrackedResourceAutoGenerated.json.cs | 117 - .../GetAzConnectedExtensionMetadata_Get.cs | 2 +- .../GetAzConnectedExtensionMetadata_List.cs | 2 +- .../cmdlets/GetAzConnectedLicense_Get.cs | 2 +- .../cmdlets/GetAzConnectedLicense_List.cs | 2 +- .../cmdlets/GetAzConnectedLicense_List1.cs | 2 +- .../GetAzConnectedMachineExtension_Get.cs | 2 +- .../GetAzConnectedMachineExtension_List.cs | 2 +- .../GetAzConnectedMachineRunCommand_Get.cs | 525 - .../GetAzConnectedMachineRunCommand_List.cs | 552 - .../cmdlets/GetAzConnectedMachine_Get.cs | 2 +- .../cmdlets/GetAzConnectedMachine_List.cs | 2 +- .../cmdlets/GetAzConnectedMachine_List1.cs | 2 +- ...tworkSecurityPerimeterConfiguration_Get.cs | 2 +- ...workSecurityPerimeterConfiguration_List.cs | 2 +- .../cmdlets/GetAzConnectedOperation_List.cs | 2 +- .../GetAzConnectedPrivateLinkScope_Get.cs | 2 +- .../GetAzConnectedPrivateLinkScope_List.cs | 2 +- .../GetAzConnectedPrivateLinkScope_List1.cs | 2 +- .../InstallAzConnectedMachinePatch_Install.cs | 2 +- ...AzConnectedMachinePatch_InstallExpanded.cs | 2 +- ...onnectedMachinePatch_InstallViaIdentity.cs | 2 +- ...MachinePatch_InstallViaIdentityExpanded.cs | 2 +- ...ctedMachinePatch_InstallViaJsonFilePath.cs | 2 +- ...nectedMachinePatch_InstallViaJsonString.cs | 2 +- ...okeAzConnectedAssessMachinePatch_Assess.cs | 2 +- ...tedAssessMachinePatch_AssessViaIdentity.cs | 2 +- ...curityPerimeterConfiguration_Reconcile.cs} | 120 +- ...eterConfiguration_ReconcileViaIdentity.cs} | 80 +- ...n_ReconcileViaIdentityPrivateLinkScope.cs} | 136 +- .../cmdlets/NewAzConnectedLicense_Create.cs | 2 +- .../NewAzConnectedLicense_CreateExpanded.cs | 2 +- ...NewAzConnectedLicense_CreateViaIdentity.cs | 2 +- ...nectedLicense_CreateViaIdentityExpanded.cs | 2 +- ...zConnectedLicense_CreateViaJsonFilePath.cs | 2 +- ...wAzConnectedLicense_CreateViaJsonString.cs | 2 +- .../NewAzConnectedMachineExtension_Create.cs | 2 +- ...onnectedMachineExtension_CreateExpanded.cs | 2 +- ...ectedMachineExtension_CreateViaIdentity.cs | 2 +- ...hineExtension_CreateViaIdentityExpanded.cs | 2 +- ...chineExtension_CreateViaIdentityMachine.cs | 2 +- ...ension_CreateViaIdentityMachineExpanded.cs | 2 +- ...dMachineExtension_CreateViaJsonFilePath.cs | 2 +- ...tedMachineExtension_CreateViaJsonString.cs | 2 +- .../NewAzConnectedMachineRunCommand_Create.cs | 623 - ...nnectedMachineRunCommand_CreateExpanded.cs | 852 - ...ineRunCommand_CreateViaIdentityExpanded.cs | 817 - ...ommand_CreateViaIdentityMachineExpanded.cs | 830 - ...MachineRunCommand_CreateViaJsonFilePath.cs | 625 - .../NewAzConnectedPrivateLinkScope_Create.cs | 2 +- ...onnectedPrivateLinkScope_CreateExpanded.cs | 2 +- ...ectedPrivateLinkScope_CreateViaIdentity.cs | 2 +- ...vateLinkScope_CreateViaIdentityExpanded.cs | 2 +- ...dPrivateLinkScope_CreateViaJsonFilePath.cs | 2 +- ...tedPrivateLinkScope_CreateViaJsonString.cs | 2 +- .../RemoveAzConnectedLicense_Delete.cs | 2 +- ...oveAzConnectedLicense_DeleteViaIdentity.cs | 2 +- ...emoveAzConnectedMachineExtension_Delete.cs | 2 +- ...ectedMachineExtension_DeleteViaIdentity.cs | 2 +- ...chineExtension_DeleteViaIdentityMachine.cs | 2 +- ...moveAzConnectedMachineRunCommand_Delete.cs | 629 - ...ctedMachineRunCommand_DeleteViaIdentity.cs | 592 - ...hineRunCommand_DeleteViaIdentityMachine.cs | 606 - .../RemoveAzConnectedMachine_Delete.cs | 2 +- ...oveAzConnectedMachine_DeleteViaIdentity.cs | 2 +- ...emoveAzConnectedPrivateLinkScope_Delete.cs | 2 +- ...ectedPrivateLinkScope_DeleteViaIdentity.cs | 2 +- .../cmdlets/SetAzConnectedLicense_Update.cs | 2 +- .../SetAzConnectedLicense_UpdateExpanded.cs | 2 +- ...zConnectedLicense_UpdateViaJsonFilePath.cs | 2 +- ...tAzConnectedLicense_UpdateViaJsonString.cs | 2 +- .../SetAzConnectedMachineExtension_Update.cs | 2 +- ...onnectedMachineExtension_UpdateExpanded.cs | 2 +- ...dMachineExtension_UpdateViaJsonFilePath.cs | 2 +- ...tedMachineExtension_UpdateViaJsonString.cs | 2 +- .../SetAzConnectedPrivateLinkScope_Update.cs | 2 +- ...onnectedPrivateLinkScope_UpdateExpanded.cs | 2 +- ...dPrivateLinkScope_UpdateViaJsonFilePath.cs | 2 +- ...tedPrivateLinkScope_UpdateViaJsonString.cs | 2 +- ...ateAzConnectedExtension_UpgradeExpanded.cs | 2 +- ...AzConnectedExtension_UpgradeViaIdentity.cs | 2 +- ...tedExtension_UpgradeViaIdentityExpanded.cs | 2 +- ...nnectedExtension_UpgradeViaJsonFilePath.cs | 2 +- ...ConnectedExtension_UpgradeViaJsonString.cs | 2 +- ...pdateAzConnectedMachineExtension_Update.cs | 2 +- ...onnectedMachineExtension_UpdateExpanded.cs | 2 +- ...ectedMachineExtension_UpdateViaIdentity.cs | 2 +- ...hineExtension_UpdateViaIdentityExpanded.cs | 2 +- ...chineExtension_UpdateViaIdentityMachine.cs | 2 +- ...ension_UpdateViaIdentityMachineExpanded.cs | 2 +- ...dMachineExtension_UpdateViaJsonFilePath.cs | 2 +- ...tedMachineExtension_UpdateViaJsonString.cs | 2 +- ...dateAzConnectedMachineRunCommand_Update.cs | 633 - ...nnectedMachineRunCommand_UpdateExpanded.cs | 915 - ...ctedMachineRunCommand_UpdateViaIdentity.cs | 598 - ...ineRunCommand_UpdateViaIdentityExpanded.cs | 882 - ...hineRunCommand_UpdateViaIdentityMachine.cs | 612 - ...ommand_UpdateViaIdentityMachineExpanded.cs | 895 - .../UpdateAzConnectedMachine_Update.cs | 2 +- ...UpdateAzConnectedMachine_UpdateExpanded.cs | 2 +- ...ateAzConnectedMachine_UpdateViaIdentity.cs | 2 +- ...nectedMachine_UpdateViaIdentityExpanded.cs | 2 +- ...zConnectedMachine_UpdateViaJsonFilePath.cs | 2 +- ...eAzConnectedMachine_UpdateViaJsonString.cs | 2 +- ...teAzConnectedPrivateLinkScopeTag_Update.cs | 2 +- ...ectedPrivateLinkScopeTag_UpdateExpanded.cs | 2 +- ...edPrivateLinkScopeTag_UpdateViaIdentity.cs | 2 +- ...eLinkScopeTag_UpdateViaIdentityExpanded.cs | 2 +- ...ivateLinkScopeTag_UpdateViaJsonFilePath.cs | 2 +- ...PrivateLinkScopeTag_UpdateViaJsonString.cs | 2 +- .../help/Az.ConnectedMachine.md | 15 +- .../help/Get-AzConnectedMachineRunCommand.md | 208 - ...eNetworkSecurityPerimeterConfiguration.md} | 94 +- .../help/New-AzConnectedMachineRunCommand.md | 703 - .../Update-AzConnectedMachineRunCommand.md | 617 - .../internal/ProxyCmdletDefinitions.ps1 | 9 - .../internal/Update-AzConnectedMachine.ps1 | 9 - ...zConnectedExtensionMetadata.Recording.json | 48 +- .../Get-AzConnectedLicense.Recording.json | 74 +- .../Get-AzConnectedMachine.Recording.json | 48 +- ...AzConnectedMachineExtension.Recording.json | 50 +- ...zConnectedMachineRunCommand.Recording.json | 86 - ...Get-AzConnectedMachineRunCommand.Tests.ps1 | 27 - ...urityPerimeterConfiguration.Recording.json | 44 +- ...AzConnectedPrivateLinkScope.Recording.json | 44 +- ...all-AzConnectedMachinePatch.Recording.json | 102 +- ...ConnectedAssessMachinePatch.Recording.json | 150 +- ...urityPerimeterConfiguration.Recording.json | 131 + ...rkSecurityPerimeterConfiguration.Tests.ps1 | 29 + .../New-AzConnectedLicense.Recording.json | 46 +- ...AzConnectedMachineExtension.Recording.json | 282 +- ...zConnectedMachineRunCommand.Recording.json | 171 - ...New-AzConnectedMachineRunCommand.Tests.ps1 | 34 - ...AzConnectedPrivateLinkScope.Recording.json | 25 +- .../New-AzConnectedPrivateLinkScope.Tests.ps1 | 2 +- .../Remove-AzConnectedLicense.Recording.json | 20 +- .../Remove-AzConnectedMachine.Recording.json | 18 +- ...AzConnectedMachineExtension.Recording.json | 276 +- ...zConnectedMachineRunCommand.Recording.json | 176 - ...ove-AzConnectedMachineRunCommand.Tests.ps1 | 25 - ...AzConnectedPrivateLinkScope.Recording.json | 23 +- .../Set-AzConnectedLicense.Recording.json | 44 +- ...AzConnectedMachineExtension.Recording.json | 384 +- ...AzConnectedPrivateLinkScope.Recording.json | 16 +- ...Update-AzConnectedExtension.Recording.json | 64 +- .../Update-AzConnectedMachine.Recording.json | 18 +- ...AzConnectedMachineExtension.Recording.json | 280 +- ...zConnectedMachineRunCommand.Recording.json | 573 - ...ate-AzConnectedMachineRunCommand.Tests.ps1 | 35 - ...onnectedPrivateLinkScopeTag.Recording.json | 18 +- .../ConnectedMachine.Autorest/test/env.json | 24 +- .../ConnectedMachine.Autorest/test/utils.ps1 | 10 +- .../ConnectedMachine/Az.ConnectedMachine.psd1 | 20 +- .../ConnectedMachine/ChangeLog.md | 1 + .../help/Az.ConnectedMachine.md | 15 +- .../help/Get-AzConnectedMachineRunCommand.md | 223 - ...eNetworkSecurityPerimeterConfiguration.md} | 96 +- .../help/New-AzConnectedMachineRunCommand.md | 716 - .../Update-AzConnectedMachineRunCommand.md | 630 - 303 files changed, 10397 insertions(+), 54077 deletions(-) delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/UX/Microsoft.HybridCompute/machines-runCommands.json delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/examples/Get-AzConnectedMachineRunCommand.md create mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/examples/Invoke-AzConnectedReconcileNetworkSecurityPerimeterConfiguration.md delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/examples/New-AzConnectedMachineRunCommand.md delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/examples/Remove-AzConnectedMachineRunCommand.md delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/examples/Update-AzConnectedMachineRunCommand.md delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/exports/Get-AzConnectedMachineRunCommand.ps1 rename src/ConnectedMachine/ConnectedMachine.Autorest/exports/{Remove-AzConnectedMachineRunCommand.ps1 => Invoke-AzConnectedReconcileNetworkSecurityPerimeterConfiguration.ps1} (80%) delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/exports/New-AzConnectedMachineRunCommand.ps1 delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/exports/Update-AzConnectedMachineRunCommand.ps1 delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/AgentVersion.PowerShell.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/AgentVersion.TypeConverter.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/AgentVersion.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/AgentVersion.json.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/AgentVersionsList.PowerShell.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/AgentVersionsList.TypeConverter.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/AgentVersionsList.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/AgentVersionsList.json.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/ErrorDetailAutoGenerated.PowerShell.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/ErrorDetailAutoGenerated.TypeConverter.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/ErrorDetailAutoGenerated.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/ErrorDetailAutoGenerated.json.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/ErrorResponseAutoGenerated.PowerShell.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/ErrorResponseAutoGenerated.TypeConverter.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/ErrorResponseAutoGenerated.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/ErrorResponseAutoGenerated.json.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/Gateway.PowerShell.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/Gateway.TypeConverter.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/Gateway.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/Gateway.json.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/GatewayProperties.PowerShell.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/GatewayProperties.TypeConverter.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/GatewayProperties.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/GatewayProperties.json.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/GatewayUpdate.PowerShell.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/GatewayUpdate.TypeConverter.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/GatewayUpdate.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/GatewayUpdateProperties.PowerShell.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/GatewayUpdateProperties.TypeConverter.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/GatewayUpdateProperties.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/GatewayUpdateProperties.json.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/GatewaysListResult.PowerShell.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/GatewaysListResult.TypeConverter.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/GatewaysListResult.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/GatewaysListResult.json.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/HybridIdentityMetadata.PowerShell.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/HybridIdentityMetadata.TypeConverter.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/HybridIdentityMetadata.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/HybridIdentityMetadata.json.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/HybridIdentityMetadataList.PowerShell.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/HybridIdentityMetadataList.TypeConverter.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/HybridIdentityMetadataList.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/HybridIdentityMetadataList.json.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/HybridIdentityMetadataProperties.PowerShell.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/HybridIdentityMetadataProperties.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/HybridIdentityMetadataProperties.json.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommand.PowerShell.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommand.TypeConverter.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommand.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommand.json.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommandInstanceView.PowerShell.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommandInstanceView.TypeConverter.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommandInstanceView.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommandInstanceView.json.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommandProperties.PowerShell.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommandProperties.TypeConverter.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommandProperties.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommandProperties.json.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommandScriptSource.PowerShell.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommandScriptSource.TypeConverter.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommandScriptSource.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommandScriptSource.json.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommandUpdate.PowerShell.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommandUpdate.TypeConverter.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommandUpdate.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommandUpdate.json.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommandsListResult.PowerShell.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommandsListResult.TypeConverter.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommandsListResult.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommandsListResult.json.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/NetworkConfiguration.PowerShell.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/NetworkConfiguration.TypeConverter.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/NetworkConfiguration.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/NetworkConfiguration.json.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/NetworkConfigurationProperties.PowerShell.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/NetworkConfigurationProperties.TypeConverter.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/NetworkConfigurationProperties.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/NetworkConfigurationProperties.json.cs rename src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/{SettingsGatewayProperties.PowerShell.cs => NetworkSecurityPerimeterConfigurationReconcileResult.PowerShell.cs} (69%) rename src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/{HybridIdentityMetadataProperties.TypeConverter.cs => NetworkSecurityPerimeterConfigurationReconcileResult.TypeConverter.cs} (79%) create mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/NetworkSecurityPerimeterConfigurationReconcileResult.cs rename src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/{GatewayUpdate.json.cs => NetworkSecurityPerimeterConfigurationReconcileResult.json.cs} (76%) delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/RunCommandInputParameter.PowerShell.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/RunCommandInputParameter.TypeConverter.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/RunCommandInputParameter.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/RunCommandInputParameter.json.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/RunCommandManagedIdentity.PowerShell.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/RunCommandManagedIdentity.TypeConverter.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/RunCommandManagedIdentity.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/RunCommandManagedIdentity.json.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/Settings.PowerShell.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/Settings.TypeConverter.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/Settings.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/Settings.json.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/SettingsGatewayProperties.TypeConverter.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/SettingsGatewayProperties.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/SettingsGatewayProperties.json.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/SettingsProperties.PowerShell.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/SettingsProperties.TypeConverter.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/SettingsProperties.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/SettingsProperties.json.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/TrackedResourceAutoGenerated.PowerShell.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/TrackedResourceAutoGenerated.TypeConverter.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/TrackedResourceAutoGenerated.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/TrackedResourceAutoGenerated.json.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/GetAzConnectedMachineRunCommand_Get.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/GetAzConnectedMachineRunCommand_List.cs rename src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/{NewAzConnectedMachineRunCommand_CreateViaJsonString.cs => InvokeAzConnectedReconcileNetworkSecurityPerimeterConfiguration_Reconcile.cs} (90%) rename src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/{NewAzConnectedMachineRunCommand_CreateViaIdentity.cs => InvokeAzConnectedReconcileNetworkSecurityPerimeterConfiguration_ReconcileViaIdentity.cs} (90%) rename src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/{NewAzConnectedMachineRunCommand_CreateViaIdentityMachine.cs => InvokeAzConnectedReconcileNetworkSecurityPerimeterConfiguration_ReconcileViaIdentityPrivateLinkScope.cs} (86%) delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedMachineRunCommand_Create.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedMachineRunCommand_CreateExpanded.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedMachineRunCommand_CreateViaIdentityExpanded.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedMachineRunCommand_CreateViaIdentityMachineExpanded.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedMachineRunCommand_CreateViaJsonFilePath.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/RemoveAzConnectedMachineRunCommand_Delete.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/RemoveAzConnectedMachineRunCommand_DeleteViaIdentity.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/RemoveAzConnectedMachineRunCommand_DeleteViaIdentityMachine.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedMachineRunCommand_Update.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedMachineRunCommand_UpdateExpanded.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedMachineRunCommand_UpdateViaIdentity.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedMachineRunCommand_UpdateViaIdentityExpanded.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedMachineRunCommand_UpdateViaIdentityMachine.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedMachineRunCommand_UpdateViaIdentityMachineExpanded.cs delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/help/Get-AzConnectedMachineRunCommand.md rename src/ConnectedMachine/ConnectedMachine.Autorest/help/{Remove-AzConnectedMachineRunCommand.md => Invoke-AzConnectedReconcileNetworkSecurityPerimeterConfiguration.md} (64%) delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/help/New-AzConnectedMachineRunCommand.md delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/help/Update-AzConnectedMachineRunCommand.md delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/test/Get-AzConnectedMachineRunCommand.Recording.json delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/test/Get-AzConnectedMachineRunCommand.Tests.ps1 create mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/test/Invoke-AzConnectedReconcileNetworkSecurityPerimeterConfiguration.Recording.json create mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/test/Invoke-AzConnectedReconcileNetworkSecurityPerimeterConfiguration.Tests.ps1 delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/test/New-AzConnectedMachineRunCommand.Recording.json delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/test/New-AzConnectedMachineRunCommand.Tests.ps1 delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/test/Remove-AzConnectedMachineRunCommand.Recording.json delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/test/Remove-AzConnectedMachineRunCommand.Tests.ps1 delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/test/Update-AzConnectedMachineRunCommand.Recording.json delete mode 100644 src/ConnectedMachine/ConnectedMachine.Autorest/test/Update-AzConnectedMachineRunCommand.Tests.ps1 delete mode 100644 src/ConnectedMachine/ConnectedMachine/help/Get-AzConnectedMachineRunCommand.md rename src/ConnectedMachine/ConnectedMachine/help/{Remove-AzConnectedMachineRunCommand.md => Invoke-AzConnectedReconcileNetworkSecurityPerimeterConfiguration.md} (66%) delete mode 100644 src/ConnectedMachine/ConnectedMachine/help/New-AzConnectedMachineRunCommand.md delete mode 100644 src/ConnectedMachine/ConnectedMachine/help/Update-AzConnectedMachineRunCommand.md diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/Az.ConnectedMachine.format.ps1xml b/src/ConnectedMachine/ConnectedMachine.Autorest/Az.ConnectedMachine.format.ps1xml index ef9abaa79643..1f6ff5536104 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/Az.ConnectedMachine.format.ps1xml +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/Az.ConnectedMachine.format.ps1xml @@ -237,82 +237,6 @@ - - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.MachineRunCommand - - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.MachineRunCommand#Multiple - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Location - - - Name - - - SystemDataCreatedAt - - - SystemDataCreatedBy - - - SystemDataCreatedByType - - - SystemDataLastModifiedAt - - - SystemDataLastModifiedBy - - - SystemDataLastModifiedByType - - - ResourceGroupName - - - MachineName - - - - - - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.AccessRule @@ -455,62 +379,6 @@ - - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.AgentVersion - - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.AgentVersion#Multiple - - - - - - - - - - - - - - - - - - AgentVersion1 - - - DownloadLink - - - OSType - - - - - - - - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.AgentVersionsList - - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.AgentVersionsList#Multiple - - - - - - - - - - - - NextLink - - - - - - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.AvailablePatchCountByClassification @@ -632,24 +500,12 @@ - - - - - - - - - - - - @@ -665,15 +521,9 @@ - - - - - - @@ -689,18 +539,9 @@ - - - - - - - - - @@ -711,24 +552,12 @@ - - BaseProvider - - - BaseResourceName - - - BaseResourceType - ExtensionName ExtensionType - - GatewayName - GroupName @@ -744,15 +573,9 @@ MachineName - - MetadataName - Name - - OSType - PerimeterName @@ -768,18 +591,9 @@ ResourceGroupName - - ResourceUri - - - RunCommandName - ScopeName - - SettingsResourceName - SubscriptionId @@ -887,40 +701,6 @@ - - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ErrorDetailAutoGenerated - - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ErrorDetailAutoGenerated#Multiple - - - - - - - - - - - - - - - - - - Code - - - Message - - - Target - - - - - - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.EsuKey @@ -1137,138 +917,6 @@ - - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.Gateway - - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.Gateway#Multiple - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Location - - - Name - - - SystemDataCreatedAt - - - SystemDataCreatedBy - - - SystemDataCreatedByType - - - SystemDataLastModifiedAt - - - SystemDataLastModifiedBy - - - SystemDataLastModifiedByType - - - ResourceGroupName - - - - - - - - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.GatewayProperties - - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.GatewayProperties#Multiple - - - - - - - - - - - - - - - - - - - - - GatewayEndpoint - - - GatewayId - - - GatewayType - - - ProvisioningState - - - - - - - - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.GatewaysListResult - - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.GatewaysListResult#Multiple - - - - - - - - - - - - NextLink - - - - - - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.HybridComputePrivateLinkScope @@ -1299,136 +947,16 @@ ResourceGroupName - Name - - - Location - - - PublicNetworkAccess - - - ProvisioningState - - - - - - - - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.HybridComputePrivateLinkScopeListResult - - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.HybridComputePrivateLinkScopeListResult#Multiple - - - - - - - - - - - - NextLink - - - - - - - - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.HybridComputePrivateLinkScopeProperties - - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.HybridComputePrivateLinkScopeProperties#Multiple - - - - - - - - - - - - - - - - - - PrivateLinkScopeId - - - ProvisioningState - - - PublicNetworkAccess - - - - - - - - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.HybridIdentityMetadata - - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.HybridIdentityMetadata#Multiple - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Name - - - SystemDataCreatedAt - - - SystemDataCreatedBy - - - SystemDataCreatedByType - - - SystemDataLastModifiedAt + Name - SystemDataLastModifiedBy + Location - SystemDataLastModifiedByType + PublicNetworkAccess - ResourceGroupName + ProvisioningState @@ -1436,9 +964,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.HybridIdentityMetadataList + Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.HybridComputePrivateLinkScopeListResult - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.HybridIdentityMetadataList#Multiple + Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.HybridComputePrivateLinkScopeListResult#Multiple @@ -1458,27 +986,33 @@ - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.HybridIdentityMetadataProperties + Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.HybridComputePrivateLinkScopeProperties - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.HybridIdentityMetadataProperties#Multiple + Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.HybridComputePrivateLinkScopeProperties#Multiple - + - + + + + - PublicKey + PrivateLinkScopeId - VMId + ProvisioningState + + + PublicNetworkAccess @@ -2767,286 +2301,22 @@ - - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.MachineRunCommandInstanceView - - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.MachineRunCommandInstanceView#Multiple - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - EndTime - - - Error - - - ExecutionMessage - - - ExecutionState - - - ExitCode - - - Output - - - StartTime - - - - - - - - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.MachineRunCommandProperties - - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.MachineRunCommandProperties#Multiple - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - AsyncExecution - - - ErrorBlobUri - - - OutputBlobUri - - - ProvisioningState - - - RunAsPassword - - - RunAsUser - - - TimeoutInSecond - - - - - - - - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.MachineRunCommandScriptSource - - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.MachineRunCommandScriptSource#Multiple - - - - - - - - - - - - - - - - - - CommandId - - - Script - - - ScriptUri - - - - - - - - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.MachineRunCommandsListResult - - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.MachineRunCommandsListResult#Multiple - - - - - - - - - - - - NextLink - - - - - - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.MachineUpdate Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.MachineUpdate#Multiple - - - - - - - - - - Kind - - - - - - - - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.MachineUpdateProperties - - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.MachineUpdateProperties#Multiple - - - - - - - - - - - - - - - ParentClusterResourceId - - - PrivateLinkScopeResourceId - - - - - - - - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.NetworkConfiguration - - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.NetworkConfiguration#Multiple - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Name - - - SystemDataCreatedAt - - - SystemDataCreatedBy - - - SystemDataCreatedByType - - - SystemDataLastModifiedAt - - - SystemDataLastModifiedBy - - - SystemDataLastModifiedByType - + + + + + + + + - ResourceGroupName + Kind @@ -3054,39 +2324,27 @@ - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.NetworkConfigurationProperties + Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.MachineUpdateProperties - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.NetworkConfigurationProperties#Multiple + Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.MachineUpdateProperties#Multiple - - - - - - - + - + - Location - - - NetworkConfigurationScopeId - - - NetworkConfigurationScopeResourceId + ParentClusterResourceId - TenantId + PrivateLinkScopeResourceId @@ -3193,6 +2451,28 @@ + + Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.NetworkSecurityPerimeterConfigurationReconcileResult + + Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.NetworkSecurityPerimeterConfigurationReconcileResult#Multiple + + + + + + + + + + + + Location + + + + + + Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.NetworkSecurityPerimeterProfile @@ -4103,62 +3383,6 @@ - - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.RunCommandInputParameter - - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.RunCommandInputParameter#Multiple - - - - - - - - - - - - - - - Name - - - Value - - - - - - - - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.RunCommandManagedIdentity - - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.RunCommandManagedIdentity#Multiple - - - - - - - - - - - - - - - ClientId - - - ObjectId - - - - - - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ServiceStatus @@ -4187,114 +3411,6 @@ - - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.Settings - - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.Settings#Multiple - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Name - - - SystemDataCreatedAt - - - SystemDataCreatedBy - - - SystemDataCreatedByType - - - SystemDataLastModifiedAt - - - SystemDataLastModifiedBy - - - SystemDataLastModifiedByType - - - ResourceGroupName - - - - - - - - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.SettingsGatewayProperties - - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.SettingsGatewayProperties#Multiple - - - - - - - - - - - - GatewayResourceId - - - - - - - - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.SettingsProperties - - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.SettingsProperties#Multiple - - - - - - - - - - - - TenantId - - - - - - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.Subnet @@ -4455,70 +3571,6 @@ - - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.TrackedResourceAutoGenerated - - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.TrackedResourceAutoGenerated#Multiple - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Name - - - SystemDataCreatedAt - - - SystemDataCreatedBy - - - SystemDataCreatedByType - - - SystemDataLastModifiedAt - - - SystemDataLastModifiedBy - - - SystemDataLastModifiedByType - - - Location - - - - - - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.TrackedResourceTags diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/Az.ConnectedMachine.psd1 b/src/ConnectedMachine/ConnectedMachine.Autorest/Az.ConnectedMachine.psd1 index aa48b9aed2f4..be971ab2197f 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/Az.ConnectedMachine.psd1 +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/Az.ConnectedMachine.psd1 @@ -11,7 +11,7 @@ DotNetFrameworkVersion = '4.7.2' RequiredAssemblies = './bin/Az.ConnectedMachine.private.dll' FormatsToProcess = './Az.ConnectedMachine.format.ps1xml' - FunctionsToExport = 'Connect-AzConnectedMachine', 'Get-AzConnectedExtensionMetadata', 'Get-AzConnectedLicense', 'Get-AzConnectedMachine', 'Get-AzConnectedMachineExtension', 'Get-AzConnectedMachineRunCommand', 'Get-AzConnectedNetworkSecurityPerimeterConfiguration', 'Get-AzConnectedPrivateLinkScope', 'Install-AzConnectedMachinePatch', 'Invoke-AzConnectedAssessMachinePatch', 'New-AzConnectedLicense', 'New-AzConnectedLicenseDetail', 'New-AzConnectedMachineExtension', 'New-AzConnectedMachineRunCommand', 'New-AzConnectedPrivateLinkScope', 'Remove-AzConnectedLicense', 'Remove-AzConnectedMachine', 'Remove-AzConnectedMachineExtension', 'Remove-AzConnectedMachineRunCommand', 'Remove-AzConnectedPrivateLinkScope', 'Set-AzConnectedLicense', 'Set-AzConnectedMachineExtension', 'Set-AzConnectedPrivateLinkScope', 'Update-AzConnectedExtension', 'Update-AzConnectedMachine', 'Update-AzConnectedMachineExtension', 'Update-AzConnectedMachineRunCommand', 'Update-AzConnectedPrivateLinkScopeTag' + FunctionsToExport = 'Connect-AzConnectedMachine', 'Get-AzConnectedExtensionMetadata', 'Get-AzConnectedLicense', 'Get-AzConnectedMachine', 'Get-AzConnectedMachineExtension', 'Get-AzConnectedNetworkSecurityPerimeterConfiguration', 'Get-AzConnectedPrivateLinkScope', 'Install-AzConnectedMachinePatch', 'Invoke-AzConnectedAssessMachinePatch', 'Invoke-AzConnectedReconcileNetworkSecurityPerimeterConfiguration', 'New-AzConnectedLicense', 'New-AzConnectedLicenseDetail', 'New-AzConnectedMachineExtension', 'New-AzConnectedPrivateLinkScope', 'Remove-AzConnectedLicense', 'Remove-AzConnectedMachine', 'Remove-AzConnectedMachineExtension', 'Remove-AzConnectedPrivateLinkScope', 'Set-AzConnectedLicense', 'Set-AzConnectedMachineExtension', 'Set-AzConnectedPrivateLinkScope', 'Update-AzConnectedExtension', 'Update-AzConnectedMachine', 'Update-AzConnectedMachineExtension', 'Update-AzConnectedPrivateLinkScopeTag' PrivateData = @{ PSData = @{ Tags = 'Azure', 'ResourceManager', 'ARM', 'PSModule', 'ConnectedMachine' diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/README.md b/src/ConnectedMachine/ConnectedMachine.Autorest/README.md index ed2ac6da3522..c9c0da4c645f 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/README.md +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/README.md @@ -38,12 +38,12 @@ In this directory, run AutoRest: > see https://aka.ms/autorest ``` yaml -commit: 2e5be0e72597c6fc8d438f20e38087d900c16427 +commit: f41d0c9332078cb2ef07b749081d94915255ada5 require: - $(this-folder)/../../readme.azure.noprofile.md input-file: - - $(repo)/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2024-05-20-preview/HybridCompute.json - - $(repo)/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2024-05-20-preview/privateLinkScopes.json + - $(repo)/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/stable/2024-07-10/HybridCompute.json + - $(repo)/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/stable/2024-07-10/privateLinkScopes.json module-version: 0.1.0 title: ConnectedMachine @@ -175,42 +175,42 @@ directive: } } - # add 200 response to run-command delete - - from: swagger-document - where: $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/runCommands/{runCommandName}"].delete.responses - transform: >- - return { - "200": { - "description": "OK" - }, - "202": { - "description": "Accepted", - "headers": { - "Location": { - "description": "The URL of the resource used to check the status of the asynchronous operation.", - "type": "string" - }, - "Retry-After": { - "description": "The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation.", - "type": "integer", - "format": "int32" - }, - "Azure-AsyncOperation": { - "description": "The URI to poll for completion status.", - "type": "string" - } - } - }, - "204": { - "description": "No Content" - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - } + # add 200 response to run-command delete - comment out for stable release + # - from: swagger-document + # where: $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/runCommands/{runCommandName}"].delete.responses + # transform: >- + # return { + # "200": { + # "description": "OK" + # }, + # "202": { + # "description": "Accepted", + # "headers": { + # "Location": { + # "description": "The URL of the resource used to check the status of the asynchronous operation.", + # "type": "string" + # }, + # "Retry-After": { + # "description": "The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation.", + # "type": "integer", + # "format": "int32" + # }, + # "Azure-AsyncOperation": { + # "description": "The URI to poll for completion status.", + # "type": "string" + # } + # } + # }, + # "204": { + # "description": "No Content" + # }, + # "default": { + # "description": "Error response describing why the operation failed.", + # "schema": { + # "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + # } + # } + # } # GetViaIdentity isn't useful until Azure PowerShell supports piping of different subjects - where: @@ -333,14 +333,14 @@ directive: variant: Upgrade remove: true - # we will release gateway and setting commands in a seperate module - - where: - subject: Gateway - remove: true - # Remove when this API version is added - - where: - subject: Setting - remove: true + # we will release gateway and setting commands in a seperate module - comment out for stable release + # - where: + # subject: Gateway + # remove: true + # Remove when this API version is added - comment out for stable release + # - where: + # subject: Setting + # remove: true # We don't want user to send PATCH to the ESU license API - where: @@ -361,12 +361,6 @@ directive: subject: NetworkConfiguration remove: true - # Remove when this API is fixed - - where: - subject: ReconcileNetworkSecurityPerimeterConfiguration$ - verb: Invoke - remove: true - # becasue autorest.powershell is unable to transform IdentityType as the best practice design if it uses managed identity # we hide the original cmdlet and custom it under /custom folder - where: diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/UX/Microsoft.HybridCompute/licenses.json b/src/ConnectedMachine/ConnectedMachine.Autorest/UX/Microsoft.HybridCompute/licenses.json index 3a2414137386..8fb78011717e 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/UX/Microsoft.HybridCompute/licenses.json +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/UX/Microsoft.HybridCompute/licenses.json @@ -1,6 +1,6 @@ { "resourceType": "licenses", - "apiVersion": "2024-05-20-preview", + "apiVersion": "2024-07-10", "learnMore": { "url": "https://learn.microsoft.com/powershell/module/az.connectedmachine" }, diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/UX/Microsoft.HybridCompute/locations-publishers-extensionTypes-versions.json b/src/ConnectedMachine/ConnectedMachine.Autorest/UX/Microsoft.HybridCompute/locations-publishers-extensionTypes-versions.json index fe0be53a3ae4..c94a28b71bf2 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/UX/Microsoft.HybridCompute/locations-publishers-extensionTypes-versions.json +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/UX/Microsoft.HybridCompute/locations-publishers-extensionTypes-versions.json @@ -1,6 +1,6 @@ { "resourceType": "locations/publishers/extensionTypes/versions", - "apiVersion": "2024-05-20-preview", + "apiVersion": "2024-07-10", "learnMore": { "url": "https://learn.microsoft.com/powershell/module/az.connectedmachine" }, diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/UX/Microsoft.HybridCompute/machines-extensions.json b/src/ConnectedMachine/ConnectedMachine.Autorest/UX/Microsoft.HybridCompute/machines-extensions.json index 8edb26c70cd4..ae44509e593a 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/UX/Microsoft.HybridCompute/machines-extensions.json +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/UX/Microsoft.HybridCompute/machines-extensions.json @@ -1,6 +1,6 @@ { "resourceType": "machines/extensions", - "apiVersion": "2024-05-20-preview", + "apiVersion": "2024-07-10", "learnMore": { "url": "https://learn.microsoft.com/powershell/module/az.connectedmachine" }, diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/UX/Microsoft.HybridCompute/machines-runCommands.json b/src/ConnectedMachine/ConnectedMachine.Autorest/UX/Microsoft.HybridCompute/machines-runCommands.json deleted file mode 100644 index db77011154aa..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/UX/Microsoft.HybridCompute/machines-runCommands.json +++ /dev/null @@ -1,95 +0,0 @@ -{ - "resourceType": "machines/runCommands", - "apiVersion": "2024-05-20-preview", - "learnMore": { - "url": "https://learn.microsoft.com/powershell/module/az.connectedmachine" - }, - "commands": [ - { - "name": "Get-AzConnectedMachineRunCommand", - "description": "The operation to get a run command.", - "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/runCommands/{runCommandName}", - "help": { - "learnMore": { - "url": "https://learn.microsoft.com/powershell/module/az.connectedmachine/get-azconnectedmachineruncommand" - }, - "parameterSets": [ - { - "parameters": [ - "-MachineName ", - "-ResourceGroupName ", - "-RunCommandName ", - "[-SubscriptionId ]" - ] - } - ] - }, - "examples": [ - { - "description": "The operation to get a run command.", - "parameters": [ - { - "name": "-MachineName", - "value": "[Path.machineName]" - }, - { - "name": "-ResourceGroupName", - "value": "[Path.resourceGroupName]" - }, - { - "name": "-RunCommandName", - "value": "[Path.runCommandName]" - }, - { - "name": "-SubscriptionId", - "value": "[Path.subscriptionId]" - } - ] - } - ] - }, - { - "name": "Remove-AzConnectedMachineRunCommand", - "description": "The operation to delete a run command.", - "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/runCommands/{runCommandName}", - "help": { - "learnMore": { - "url": "https://learn.microsoft.com/powershell/module/az.connectedmachine/remove-azconnectedmachineruncommand" - }, - "parameterSets": [ - { - "parameters": [ - "-MachineName ", - "-ResourceGroupName ", - "-RunCommandName ", - "[-SubscriptionId ]" - ] - } - ] - }, - "examples": [ - { - "description": "The operation to delete a run command.", - "parameters": [ - { - "name": "-MachineName", - "value": "[Path.machineName]" - }, - { - "name": "-ResourceGroupName", - "value": "[Path.resourceGroupName]" - }, - { - "name": "-RunCommandName", - "value": "[Path.runCommandName]" - }, - { - "name": "-SubscriptionId", - "value": "[Path.subscriptionId]" - } - ] - } - ] - } - ] -} diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/UX/Microsoft.HybridCompute/machines.json b/src/ConnectedMachine/ConnectedMachine.Autorest/UX/Microsoft.HybridCompute/machines.json index 7c2156c0fdd0..16d3d724addb 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/UX/Microsoft.HybridCompute/machines.json +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/UX/Microsoft.HybridCompute/machines.json @@ -1,6 +1,6 @@ { "resourceType": "machines", - "apiVersion": "2024-05-20-preview", + "apiVersion": "2024-07-10", "learnMore": { "url": "https://learn.microsoft.com/powershell/module/az.connectedmachine" }, diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/UX/Microsoft.HybridCompute/privateLinkScopes-networkSecurityPerimeterConfigurations.json b/src/ConnectedMachine/ConnectedMachine.Autorest/UX/Microsoft.HybridCompute/privateLinkScopes-networkSecurityPerimeterConfigurations.json index ca605d81aebc..1634577946c8 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/UX/Microsoft.HybridCompute/privateLinkScopes-networkSecurityPerimeterConfigurations.json +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/UX/Microsoft.HybridCompute/privateLinkScopes-networkSecurityPerimeterConfigurations.json @@ -1,6 +1,6 @@ { "resourceType": "privateLinkScopes/networkSecurityPerimeterConfigurations", - "apiVersion": "2024-05-20-preview", + "apiVersion": "2024-07-10", "learnMore": { "url": "https://learn.microsoft.com/powershell/module/az.connectedmachine" }, @@ -47,6 +47,49 @@ ] } ] + }, + { + "name": "Invoke-AzConnectedReconcileNetworkSecurityPerimeterConfiguration", + "description": "Forces the network security perimeter configuration to refresh for a private link scope.", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/networkSecurityPerimeterConfigurations/{perimeterName}/reconcile", + "help": { + "learnMore": { + "url": "https://learn.microsoft.com/powershell/module/az.connectedmachine/invoke-azconnectedreconcilenetworksecurityperimeterconfiguration" + }, + "parameterSets": [ + { + "parameters": [ + "-PerimeterName ", + "-ResourceGroupName ", + "-ScopeName ", + "[-SubscriptionId ]" + ] + } + ] + }, + "examples": [ + { + "description": "Forces the network security perimeter configuration to refresh for a private link scope.", + "parameters": [ + { + "name": "-PerimeterName", + "value": "[Path.perimeterName]" + }, + { + "name": "-ResourceGroupName", + "value": "[Path.resourceGroupName]" + }, + { + "name": "-ScopeName", + "value": "[Path.scopeName]" + }, + { + "name": "-SubscriptionId", + "value": "[Path.subscriptionId]" + } + ] + } + ] } ] } diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/UX/Microsoft.HybridCompute/privateLinkScopes.json b/src/ConnectedMachine/ConnectedMachine.Autorest/UX/Microsoft.HybridCompute/privateLinkScopes.json index ccd146aa9636..2977054d7243 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/UX/Microsoft.HybridCompute/privateLinkScopes.json +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/UX/Microsoft.HybridCompute/privateLinkScopes.json @@ -1,6 +1,6 @@ { "resourceType": "privateLinkScopes", - "apiVersion": "2024-05-20-preview", + "apiVersion": "2024-07-10", "learnMore": { "url": "https://learn.microsoft.com/powershell/module/az.connectedmachine" }, diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/build-module.ps1 b/src/ConnectedMachine/ConnectedMachine.Autorest/build-module.ps1 index 40ddbf8f08df..c28a5ab60d42 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/build-module.ps1 +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/build-module.ps1 @@ -75,6 +75,8 @@ if(-not $NotIsolated -and -not $Debugger) { $binFolder = Join-Path $PSScriptRoot 'bin' $objFolder = Join-Path $PSScriptRoot 'obj' +$isAzure = [System.Convert]::ToBoolean('true') + if(-not $Debugger) { Write-Host -ForegroundColor Green 'Cleaning build folders...' $null = Remove-Item -Recurse -ErrorAction SilentlyContinue -Path $binFolder, $objFolder @@ -151,7 +153,7 @@ if($NoDocs) { $null = Get-ChildItem -Path $docsFolder -Recurse -Exclude 'README.md' | Remove-Item -Recurse -ErrorAction SilentlyContinue } $null = New-Item -ItemType Directory -Force -Path $docsFolder - $addComplexInterfaceInfo = ![System.Convert]::ToBoolean('true') + $addComplexInterfaceInfo = !$isAzure Export-ProxyCmdlet -ModuleName $moduleName -ModulePath $modulePaths -ExportsFolder $exportsFolder -InternalFolder $internalFolder -ModuleDescription $moduleDescription -DocsFolder $docsFolder -ExamplesFolder $examplesFolder -ModuleGuid $guid -AddComplexInterfaceInfo:$addComplexInterfaceInfo } @@ -186,5 +188,4 @@ if (-not $DisableAfterBuildTasks){ } } - -Write-Host -ForegroundColor Green '-------------Done-------------' +Write-Host -ForegroundColor Green '-------------Done-------------' \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/custom/MachineRunCommand.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/custom/MachineRunCommand.cs index b453a667b733..c50a71fadf01 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/custom/MachineRunCommand.cs +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/custom/MachineRunCommand.cs @@ -1,16 +1,18 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models -{ - using static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Extensions; +// comment out for stable release - public partial class MachineRunCommand - { - public string MachineName - { - get => (new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/machines/(?[^/]+)", - global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(this.Id).Success ? - new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/machines/(?[^/]+)", - global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(this.Id).Groups["machineName"].Value : null); - } - } +// namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models +// { +// using static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Extensions; -} \ No newline at end of file +// public partial class MachineRunCommand +// { +// public string MachineName +// { +// get => (new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/machines/(?[^/]+)", +// global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(this.Id).Success ? +// new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/machines/(?[^/]+)", +// global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(this.Id).Groups["machineName"].Value : null); +// } +// } + +// } \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/custom/New-AzConnectedMachineRunCommand_ScriptLocalPath.ps1 b/src/ConnectedMachine/ConnectedMachine.Autorest/custom/New-AzConnectedMachineRunCommand_ScriptLocalPath.ps1 index edacffd80289..bd10b26a3a9d 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/custom/New-AzConnectedMachineRunCommand_ScriptLocalPath.ps1 +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/custom/New-AzConnectedMachineRunCommand_ScriptLocalPath.ps1 @@ -13,288 +13,289 @@ # is regenerated. # ---------------------------------------------------------------------------------- -function New-AzConnectedMachineRunCommand_ScriptLocalPath { - [OutputType([Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand])] - [CmdletBinding(PositionalBinding = $false, SupportsShouldProcess, ConfirmImpact = 'Medium')] - param( - [Parameter(Mandatory)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Path')] - [System.String] - # The name of the hybrid machine. - ${MachineName}, - - [Parameter(Mandatory)] - [ArgumentCompleter({ Get-AzResourceGroup | Select-Object -ExpandProperty ResourceGroupName })] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Path')] - [System.String] - # The name of the resource group. - # The name is case insensitive. - ${ResourceGroupName}, - - [Parameter(Mandatory)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Path')] - [System.String] - # The name of the run command. - ${RunCommandName}, - - [Parameter(Mandatory)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Path')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.DefaultInfo(Script = '(Get-AzContext).Subscription.Id')] - [System.String] - # The ID of the target subscription. - ${SubscriptionId}, - - [Parameter(Mandatory)] - [ArgumentCompleter({ Get-AzLocation | Where-Object Providers -Contains "Microsoft.HybridCompute" | Select-Object -ExpandProperty Location })] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [System.String] - # The geo-location where the resource lives - ${Location}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [System.Management.Automation.SwitchParameter] - # Optional. - # If set to true, provisioning will complete as soon as script starts and will not wait for script to complete. - ${AsyncExecution}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [System.String] - # Client Id (GUID value) of the user-assigned managed identity. - # ObjectId should not be used if this is provided. - ${ErrorBlobManagedIdentityClientId}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [System.String] - # Object Id (GUID value) of the user-assigned managed identity. - # ClientId should not be used if this is provided. - ${ErrorBlobManagedIdentityObjectId}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [System.String] - # Specifies the Azure storage blob where script error stream will be uploaded. - # Use a SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob. - # Refer errorBlobManagedIdentity parameter. - ${ErrorBlobUri}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [System.String] - # Client Id (GUID value) of the user-assigned managed identity. - # ObjectId should not be used if this is provided. - ${OutputBlobManagedIdentityClientId}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [System.String] - # Object Id (GUID value) of the user-assigned managed identity. - # ClientId should not be used if this is provided. - ${OutputBlobManagedIdentityObjectId}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [System.String] - # Specifies the Azure storage blob where script output stream will be uploaded. - # Use a SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob. - # Refer outputBlobManagedIdentity parameter. - ${OutputBlobUri}, - - [Parameter()] - [AllowEmptyCollection()] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandInputParameter[]] - # The parameters used by the script. - # To construct, see NOTES section for PARAMETER properties and create a hash table. - ${Parameter}, - - [Parameter()] - [AllowEmptyCollection()] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandInputParameter[]] - # The parameters used by the script. - # To construct, see NOTES section for PROTECTEDPARAMETER properties and create a hash table. - ${ProtectedParameter}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [System.String] - # Specifies the user account password on the machine when executing the run command. - ${RunAsPassword}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [System.String] - # Specifies the user account on the machine when executing the run command. - ${RunAsUser}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [System.String] - # Client Id (GUID value) of the user-assigned managed identity. - # ObjectId should not be used if this is provided. - ${ScriptUriManagedIdentityClientId}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [System.String] - # Object Id (GUID value) of the user-assigned managed identity. - # ClientId should not be used if this is provided. - ${ScriptUriManagedIdentityObjectId}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [System.String] - # Specifies the commandId of predefined built-in script. - ${SourceCommandId}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [System.String] - # Specifies the script content to be executed on the machine. - ${SourceScript}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [System.String] - # Specifies the script download location. - # It can be either SAS URI of an Azure storage blob with read access or public URI. - ${SourceScriptUri}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [System.String] - # Specifies the commandId of predefined built-in script. - ${ScriptLocalPath}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info(PossibleTypes = ([Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceTags]))] - [System.Collections.Hashtable] - # Resource tags. - ${Tag}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [System.Int32] - # The timeout in seconds to execute the run command. - ${TimeoutInSecond}, - - [Parameter()] - [Alias('AzureRMContext', 'AzureCredential')] - [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Azure')] - [System.Management.Automation.PSObject] - # The DefaultProfile parameter is not functional. - # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. - ${DefaultProfile}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Runtime')] - [System.Management.Automation.SwitchParameter] - # Run the command as a job - ${AsJob}, - - [Parameter(DontShow)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Runtime')] - [System.Management.Automation.SwitchParameter] - # Wait for .NET debugger to attach - ${Break}, - - [Parameter(DontShow)] - [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Runtime')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SendAsyncStep[]] - # SendAsync Pipeline Steps to be appended to the front of the pipeline - ${HttpPipelineAppend}, - - [Parameter(DontShow)] - [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Runtime')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SendAsyncStep[]] - # SendAsync Pipeline Steps to be prepended to the front of the pipeline - ${HttpPipelinePrepend}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Runtime')] - [System.Management.Automation.SwitchParameter] - # Run the command asynchronously - ${NoWait}, - - [Parameter(DontShow)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Runtime')] - [System.Uri] - # The URI for the proxy server to use - ${Proxy}, - - [Parameter(DontShow)] - [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Runtime')] - [System.Management.Automation.PSCredential] - # Credentials for a proxy server to use for the remote call - ${ProxyCredential}, - - [Parameter(DontShow)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Runtime')] - [System.Management.Automation.SwitchParameter] - # Use the default credentials for the proxy - ${ProxyUseDefaultCredentials} - ) - - process { - if ($PSBoundParameters.ContainsKey("ScriptLocalPath")) - { - # Read Local File and add - $script = "" - if ((Get-ChildItem $scriptLocalPath | Select-Object Extension).Extension -eq ".sh"){ - foreach ($line in Get-Content -Path $scriptLocalPath){ - $words = $line.trim().split() - $commentFound = $false - foreach ($word in $words){ - if ($word[0] -eq "#" -and $commentFound -eq $false){ - $commentFound = $true - $script += "``" + $word + " " - } - else{ - $script += $word + " " - } - } - $script = $script.trim() - #close - if ($commentFound){ - $script += "``" - } - $script += ";" - } - } - else{ - foreach ($line in Get-Content -Path $scriptLocalPath){ - $words = $line.trim().split() - $commentFound = $false - foreach ($word in $words){ - if ($word[0] -eq "#" -and $commentFound -eq $false){ - $commentFound = $true - $script += "<" + $word + " " - } - else{ - $script += $word + " " - } - } - $script = $script.trim() - #close - if ($commentFound){ - $script += "#>" - } - $script += ";" - } - } +# comment out for stable release +# function New-AzConnectedMachineRunCommand_ScriptLocalPath { +# [OutputType([Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand])] +# [CmdletBinding(PositionalBinding = $false, SupportsShouldProcess, ConfirmImpact = 'Medium')] +# param( +# [Parameter(Mandatory)] +# [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Path')] +# [System.String] +# # The name of the hybrid machine. +# ${MachineName}, + +# [Parameter(Mandatory)] +# [ArgumentCompleter({ Get-AzResourceGroup | Select-Object -ExpandProperty ResourceGroupName })] +# [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Path')] +# [System.String] +# # The name of the resource group. +# # The name is case insensitive. +# ${ResourceGroupName}, + +# [Parameter(Mandatory)] +# [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Path')] +# [System.String] +# # The name of the run command. +# ${RunCommandName}, + +# [Parameter(Mandatory)] +# [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Path')] +# [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.DefaultInfo(Script = '(Get-AzContext).Subscription.Id')] +# [System.String] +# # The ID of the target subscription. +# ${SubscriptionId}, + +# [Parameter(Mandatory)] +# [ArgumentCompleter({ Get-AzLocation | Where-Object Providers -Contains "Microsoft.HybridCompute" | Select-Object -ExpandProperty Location })] +# [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] +# [System.String] +# # The geo-location where the resource lives +# ${Location}, + +# [Parameter()] +# [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] +# [System.Management.Automation.SwitchParameter] +# # Optional. +# # If set to true, provisioning will complete as soon as script starts and will not wait for script to complete. +# ${AsyncExecution}, + +# [Parameter()] +# [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] +# [System.String] +# # Client Id (GUID value) of the user-assigned managed identity. +# # ObjectId should not be used if this is provided. +# ${ErrorBlobManagedIdentityClientId}, + +# [Parameter()] +# [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] +# [System.String] +# # Object Id (GUID value) of the user-assigned managed identity. +# # ClientId should not be used if this is provided. +# ${ErrorBlobManagedIdentityObjectId}, + +# [Parameter()] +# [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] +# [System.String] +# # Specifies the Azure storage blob where script error stream will be uploaded. +# # Use a SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob. +# # Refer errorBlobManagedIdentity parameter. +# ${ErrorBlobUri}, + +# [Parameter()] +# [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] +# [System.String] +# # Client Id (GUID value) of the user-assigned managed identity. +# # ObjectId should not be used if this is provided. +# ${OutputBlobManagedIdentityClientId}, + +# [Parameter()] +# [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] +# [System.String] +# # Object Id (GUID value) of the user-assigned managed identity. +# # ClientId should not be used if this is provided. +# ${OutputBlobManagedIdentityObjectId}, + +# [Parameter()] +# [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] +# [System.String] +# # Specifies the Azure storage blob where script output stream will be uploaded. +# # Use a SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob. +# # Refer outputBlobManagedIdentity parameter. +# ${OutputBlobUri}, + +# [Parameter()] +# [AllowEmptyCollection()] +# [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] +# [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandInputParameter[]] +# # The parameters used by the script. +# # To construct, see NOTES section for PARAMETER properties and create a hash table. +# ${Parameter}, + +# [Parameter()] +# [AllowEmptyCollection()] +# [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] +# [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandInputParameter[]] +# # The parameters used by the script. +# # To construct, see NOTES section for PROTECTEDPARAMETER properties and create a hash table. +# ${ProtectedParameter}, + +# [Parameter()] +# [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] +# [System.String] +# # Specifies the user account password on the machine when executing the run command. +# ${RunAsPassword}, + +# [Parameter()] +# [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] +# [System.String] +# # Specifies the user account on the machine when executing the run command. +# ${RunAsUser}, + +# [Parameter()] +# [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] +# [System.String] +# # Client Id (GUID value) of the user-assigned managed identity. +# # ObjectId should not be used if this is provided. +# ${ScriptUriManagedIdentityClientId}, + +# [Parameter()] +# [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] +# [System.String] +# # Object Id (GUID value) of the user-assigned managed identity. +# # ClientId should not be used if this is provided. +# ${ScriptUriManagedIdentityObjectId}, + +# [Parameter()] +# [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] +# [System.String] +# # Specifies the commandId of predefined built-in script. +# ${SourceCommandId}, + +# [Parameter()] +# [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] +# [System.String] +# # Specifies the script content to be executed on the machine. +# ${SourceScript}, + +# [Parameter()] +# [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] +# [System.String] +# # Specifies the script download location. +# # It can be either SAS URI of an Azure storage blob with read access or public URI. +# ${SourceScriptUri}, + +# [Parameter()] +# [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] +# [System.String] +# # Specifies the commandId of predefined built-in script. +# ${ScriptLocalPath}, + +# [Parameter()] +# [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] +# [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info(PossibleTypes = ([Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceTags]))] +# [System.Collections.Hashtable] +# # Resource tags. +# ${Tag}, + +# [Parameter()] +# [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] +# [System.Int32] +# # The timeout in seconds to execute the run command. +# ${TimeoutInSecond}, + +# [Parameter()] +# [Alias('AzureRMContext', 'AzureCredential')] +# [ValidateNotNull()] +# [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Azure')] +# [System.Management.Automation.PSObject] +# # The DefaultProfile parameter is not functional. +# # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. +# ${DefaultProfile}, + +# [Parameter()] +# [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Runtime')] +# [System.Management.Automation.SwitchParameter] +# # Run the command as a job +# ${AsJob}, + +# [Parameter(DontShow)] +# [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Runtime')] +# [System.Management.Automation.SwitchParameter] +# # Wait for .NET debugger to attach +# ${Break}, + +# [Parameter(DontShow)] +# [ValidateNotNull()] +# [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Runtime')] +# [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SendAsyncStep[]] +# # SendAsync Pipeline Steps to be appended to the front of the pipeline +# ${HttpPipelineAppend}, + +# [Parameter(DontShow)] +# [ValidateNotNull()] +# [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Runtime')] +# [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SendAsyncStep[]] +# # SendAsync Pipeline Steps to be prepended to the front of the pipeline +# ${HttpPipelinePrepend}, + +# [Parameter()] +# [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Runtime')] +# [System.Management.Automation.SwitchParameter] +# # Run the command asynchronously +# ${NoWait}, + +# [Parameter(DontShow)] +# [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Runtime')] +# [System.Uri] +# # The URI for the proxy server to use +# ${Proxy}, + +# [Parameter(DontShow)] +# [ValidateNotNull()] +# [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Runtime')] +# [System.Management.Automation.PSCredential] +# # Credentials for a proxy server to use for the remote call +# ${ProxyCredential}, + +# [Parameter(DontShow)] +# [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Runtime')] +# [System.Management.Automation.SwitchParameter] +# # Use the default credentials for the proxy +# ${ProxyUseDefaultCredentials} +# ) + +# process { +# if ($PSBoundParameters.ContainsKey("ScriptLocalPath")) +# { +# # Read Local File and add +# $script = "" +# if ((Get-ChildItem $scriptLocalPath | Select-Object Extension).Extension -eq ".sh"){ +# foreach ($line in Get-Content -Path $scriptLocalPath){ +# $words = $line.trim().split() +# $commentFound = $false +# foreach ($word in $words){ +# if ($word[0] -eq "#" -and $commentFound -eq $false){ +# $commentFound = $true +# $script += "``" + $word + " " +# } +# else{ +# $script += $word + " " +# } +# } +# $script = $script.trim() +# #close +# if ($commentFound){ +# $script += "``" +# } +# $script += ";" +# } +# } +# else{ +# foreach ($line in Get-Content -Path $scriptLocalPath){ +# $words = $line.trim().split() +# $commentFound = $false +# foreach ($word in $words){ +# if ($word[0] -eq "#" -and $commentFound -eq $false){ +# $commentFound = $true +# $script += "<" + $word + " " +# } +# else{ +# $script += $word + " " +# } +# } +# $script = $script.trim() +# #close +# if ($commentFound){ +# $script += "#>" +# } +# $script += ";" +# } +# } - $PSBoundParameters.Add("SourceScript", $script) - # If necessary, remove the -ParameterA parameter from the dictionary of bound parameters - $null = $PSBoundParameters.Remove("ScriptLocalPath") - } - Az.ConnectedMachine\New-AzConnectedMachineRunCommand @PSBoundParameters - } -} \ No newline at end of file +# $PSBoundParameters.Add("SourceScript", $script) +# # If necessary, remove the -ParameterA parameter from the dictionary of bound parameters +# $null = $PSBoundParameters.Remove("ScriptLocalPath") +# } +# Az.ConnectedMachine\New-AzConnectedMachineRunCommand @PSBoundParameters +# } +# } \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/examples/Get-AzConnectedMachineRunCommand.md b/src/ConnectedMachine/ConnectedMachine.Autorest/examples/Get-AzConnectedMachineRunCommand.md deleted file mode 100644 index 5b2930b2f0b4..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/examples/Get-AzConnectedMachineRunCommand.md +++ /dev/null @@ -1,69 +0,0 @@ -### Example 1: List all run-commands for a machine -```powershell -Get-AzConnectedMachineRunCommand -ResourceGroupName "az-sdk-test" -MachineName "testmachine" -``` - -```output -Location Name SystemDataCreatedAt SystemDataCreatedBy SystemDataCreatedByType SystemDataLastModifiedAt Syst - emDa - taLa - stMo - difi - edBy --------- ---- ------------------- ------------------- ----------------------- ------------------------ ---- -eastus2euap myRunCommand2 -eastus2euap myRunCommand3 -``` - -Lists all run-commands for a specific machine. - -### Example 2: List a specific run-command for a machine -```powershell -Get-AzConnectedMachineRunCommand -ResourceGroupName "az-sdk-test" -RunCommandName "myRunCommand2" -MachineName "testmachine" -``` - -```output -AsyncExecution : False -ErrorBlobManagedIdentityClientId : -ErrorBlobManagedIdentityObjectId : -ErrorBlobUri : -Id : /subscriptions/********-****-****-****-**********/resourceGroups/az-sdk-test/prov - iders/Microsoft.HybridCompute/machines/testmachine/runcommands/myRunCommand2 -InstanceViewEndTime : 12/4/2023 6:16:55 PM -InstanceViewError : -InstanceViewExecutionMessage : RunCommand script execution completed -InstanceViewExecutionState : Succeeded -InstanceViewExitCode : 0 -InstanceViewOutput : Hello World! -InstanceViewStartTime : 12/4/2023 6:16:55 PM -InstanceViewStatuses : -Location : eastus2euap -Name : myRunCommand2 -OutputBlobManagedIdentityClientId : -OutputBlobManagedIdentityObjectId : -OutputBlobUri : -Parameter : -ProtectedParameter : -ProvisioningState : Succeeded -ResourceGroupName : az-sdk-test -RunAsPassword : -RunAsUser : -ScriptUriManagedIdentityClientId : -ScriptUriManagedIdentityObjectId : -SourceCommandId : -SourceScript : Write-Host Hello World! -SourceScriptUri : -SystemDataCreatedAt : -SystemDataCreatedBy : -SystemDataCreatedByType : -SystemDataLastModifiedAt : -SystemDataLastModifiedBy : -SystemDataLastModifiedByType : -Tag : { - "Tag1": "Value1" - } -TimeoutInSecond : 0 -Type : Microsoft.HybridCompute/machines/runcommands -``` - -List a specific run-command for a machine \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/examples/Invoke-AzConnectedReconcileNetworkSecurityPerimeterConfiguration.md b/src/ConnectedMachine/ConnectedMachine.Autorest/examples/Invoke-AzConnectedReconcileNetworkSecurityPerimeterConfiguration.md new file mode 100644 index 000000000000..35953858a1d4 --- /dev/null +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/examples/Invoke-AzConnectedReconcileNetworkSecurityPerimeterConfiguration.md @@ -0,0 +1,7 @@ +### Example 1: Invoke Network Security Perimeter Configuration +```powershell +Invoke-AzConnectedReconcileNetworkSecurityPerimeterConfiguration -PerimeterName $env.PerimeterName -ResourceGroupName $env.ResourceGroupNameNSP -ScopeName $env.PrivateLinkScopeNameNSP +``` + +Invoke Network Security Perimeter Configuration + diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/examples/New-AzConnectedMachineRunCommand.md b/src/ConnectedMachine/ConnectedMachine.Autorest/examples/New-AzConnectedMachineRunCommand.md deleted file mode 100644 index e2dd656897ab..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/examples/New-AzConnectedMachineRunCommand.md +++ /dev/null @@ -1,49 +0,0 @@ -### Example 1: Create a run-command for a machine -```powershell -New-AzConnectedMachineRunCommand -ResourceGroupName "az-sdk-test" -Location "eastus2euap" -SourceScript "Write-Host Hello World!" -RunCommandName "myRunCommand3" -MachineName "testmachine" -SubscriptionId ********-****-****-****-********** -``` - -```output -AsyncExecution : False -ErrorBlobManagedIdentityClientId : -ErrorBlobManagedIdentityObjectId : -ErrorBlobUri : -Id : /subscriptions/********-****-****-****-**********/resourceGroups/az-sdk-test/prov - iders/Microsoft.HybridCompute/machines/testmachine/runcommands/myRunCommand3 -InstanceViewEndTime : 12/5/2023 7:27:26 PM -InstanceViewError : -InstanceViewExecutionMessage : RunCommand script execution completed -InstanceViewExecutionState : Succeeded -InstanceViewExitCode : 0 -InstanceViewOutput : Hello World! -InstanceViewStartTime : 12/5/2023 7:27:24 PM -InstanceViewStatuses : -Location : eastus2euap -Name : myRunCommand3 -OutputBlobManagedIdentityClientId : -OutputBlobManagedIdentityObjectId : -OutputBlobUri : -Parameter : -ProtectedParameter : -ProvisioningState : Succeeded -ResourceGroupName : az-sdk-test -RunAsPassword : -RunAsUser : -ScriptUriManagedIdentityClientId : -ScriptUriManagedIdentityObjectId : -SourceCommandId : -SourceScript : Write-Host Hello World! -SourceScriptUri : -SystemDataCreatedAt : -SystemDataCreatedBy : -SystemDataCreatedByType : -SystemDataLastModifiedAt : -SystemDataLastModifiedBy : -SystemDataLastModifiedByType : -Tag : { - } -TimeoutInSecond : 0 -Type : Microsoft.HybridCompute/machines/runcommands -``` - -Create a run-command for a machine \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/examples/Remove-AzConnectedMachineRunCommand.md b/src/ConnectedMachine/ConnectedMachine.Autorest/examples/Remove-AzConnectedMachineRunCommand.md deleted file mode 100644 index bd10aa30cf71..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/examples/Remove-AzConnectedMachineRunCommand.md +++ /dev/null @@ -1,9 +0,0 @@ -### Example 1: Remove a run-command for a machine -```powershell -Remove-AzConnectedMachineRunCommand -ResourceGroupName "az-sdk-test" -RunCommandName "myRunCommand3" -MachineName "testmachine" -``` - -```output -``` - -Remove a run-command for a machine \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/examples/Update-AzConnectedMachineRunCommand.md b/src/ConnectedMachine/ConnectedMachine.Autorest/examples/Update-AzConnectedMachineRunCommand.md deleted file mode 100644 index abf984c812ad..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/examples/Update-AzConnectedMachineRunCommand.md +++ /dev/null @@ -1,52 +0,0 @@ -### Example 1: Update a run-command for a machine -```powershell -Update-AzConnectedMachineRunCommand -ResourceGroupName "az-sdk-test" -RunCommandName "myRunCommand3" -MachineName "testmachine" -SubscriptionId ********-****-****-****-********** -Tag @{Tag1="tag1"; Tag2="tag2"} - -``` - -```output -AsyncExecution : False -ErrorBlobManagedIdentityClientId : -ErrorBlobManagedIdentityObjectId : -ErrorBlobUri : -Id : /subscriptions/********-****-****-****-**********/resourceGroups/az-sdk-test/prov - iders/Microsoft.HybridCompute/machines/testmachine/runcommands/myRunCommand3 -InstanceViewEndTime : 12/5/2023 7:45:54 PM -InstanceViewError : -InstanceViewExecutionMessage : RunCommand script execution completed -InstanceViewExecutionState : Succeeded -InstanceViewExitCode : 0 -InstanceViewOutput : Hello World! -InstanceViewStartTime : 12/5/2023 7:45:53 PM -InstanceViewStatuses : -Location : eastus2euap -Name : myRunCommand3 -OutputBlobManagedIdentityClientId : -OutputBlobManagedIdentityObjectId : -OutputBlobUri : -Parameter : -ProtectedParameter : -ProvisioningState : Succeeded -ResourceGroupName : az-sdk-test -RunAsPassword : -RunAsUser : -ScriptUriManagedIdentityClientId : -ScriptUriManagedIdentityObjectId : -SourceCommandId : -SourceScript : Write-Host Hello World! -SourceScriptUri : -SystemDataCreatedAt : -SystemDataCreatedBy : -SystemDataCreatedByType : -SystemDataLastModifiedAt : -SystemDataLastModifiedBy : -SystemDataLastModifiedByType : -Tag : { - "Tag2": "tag2", - "Tag1": "tag1" - } -TimeoutInSecond : 0 -Type : Microsoft.HybridCompute/machines/runcommands -``` - -Update a run-command for a machine \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/exports/Get-AzConnectedMachineRunCommand.ps1 b/src/ConnectedMachine/ConnectedMachine.Autorest/exports/Get-AzConnectedMachineRunCommand.ps1 deleted file mode 100644 index b539431f8f8f..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/exports/Get-AzConnectedMachineRunCommand.ps1 +++ /dev/null @@ -1,204 +0,0 @@ - -# ---------------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# http://www.apache.org/licenses/LICENSE-2.0 -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code -# is regenerated. -# ---------------------------------------------------------------------------------- - -<# -.Synopsis -The operation to get a run command. -.Description -The operation to get a run command. -.Example -Get-AzConnectedMachineRunCommand -ResourceGroupName "az-sdk-test" -MachineName "testmachine" -.Example -Get-AzConnectedMachineRunCommand -ResourceGroupName "az-sdk-test" -RunCommandName "myRunCommand2" -MachineName "testmachine" - -.Outputs -Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand -.Link -https://learn.microsoft.com/powershell/module/az.connectedmachine/get-azconnectedmachineruncommand -#> -function Get-AzConnectedMachineRunCommand { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand])] -[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] -param( - [Parameter(Mandatory)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Path')] - [System.String] - # The name of the hybrid machine. - ${MachineName}, - - [Parameter(Mandatory)] - [ArgumentCompleter({Get-AzResourceGroup | Select-Object -ExpandProperty ResourceGroupName})] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Path')] - [System.String] - # The name of the resource group. - # The name is case insensitive. - ${ResourceGroupName}, - - [Parameter(ParameterSetName='Get', Mandatory)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Path')] - [System.String] - # The name of the run command. - ${RunCommandName}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Path')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] - [System.String[]] - # The ID of the target subscription. - ${SubscriptionId}, - - [Parameter(ParameterSetName='List')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Query')] - [System.String] - # The expand expression to apply on the operation. - ${Expand}, - - [Parameter()] - [Alias('AzureRMContext', 'AzureCredential')] - [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Azure')] - [System.Management.Automation.PSObject] - # The DefaultProfile parameter is not functional. - # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. - ${DefaultProfile}, - - [Parameter(DontShow)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Runtime')] - [System.Management.Automation.SwitchParameter] - # Wait for .NET debugger to attach - ${Break}, - - [Parameter(DontShow)] - [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Runtime')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SendAsyncStep[]] - # SendAsync Pipeline Steps to be appended to the front of the pipeline - ${HttpPipelineAppend}, - - [Parameter(DontShow)] - [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Runtime')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SendAsyncStep[]] - # SendAsync Pipeline Steps to be prepended to the front of the pipeline - ${HttpPipelinePrepend}, - - [Parameter(DontShow)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Runtime')] - [System.Uri] - # The URI for the proxy server to use - ${Proxy}, - - [Parameter(DontShow)] - [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Runtime')] - [System.Management.Automation.PSCredential] - # Credentials for a proxy server to use for the remote call - ${ProxyCredential}, - - [Parameter(DontShow)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Runtime')] - [System.Management.Automation.SwitchParameter] - # Use the default credentials for the proxy - ${ProxyUseDefaultCredentials} -) - -begin { - try { - $outBuffer = $null - if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { - $PSBoundParameters['OutBuffer'] = 1 - } - $parameterSet = $PSCmdlet.ParameterSetName - - if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) { - [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString() - } - $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId - if ($preTelemetryId -eq '') { - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId =(New-Guid).ToString() - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.module]::Instance.Telemetry.Invoke('Create', $MyInvocation, $parameterSet, $PSCmdlet) - } else { - $internalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets - if ($internalCalledCmdlets -eq '') { - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $MyInvocation.MyCommand.Name - } else { - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets += ',' + $MyInvocation.MyCommand.Name - } - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = 'internal' - } - - $mapping = @{ - Get = 'Az.ConnectedMachine.private\Get-AzConnectedMachineRunCommand_Get'; - List = 'Az.ConnectedMachine.private\Get-AzConnectedMachineRunCommand_List'; - } - if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { - $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } - if ($testPlayback) { - $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') - } else { - $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id - } - } - $cmdInfo = Get-Command -Name $mapping[$parameterSet] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) - if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) - [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) - } - $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) - $scriptCmd = {& $wrappedCmd @PSBoundParameters} - $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) - $steppablePipeline.Begin($PSCmdlet) - } catch { - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() - throw - } -} - -process { - try { - $steppablePipeline.Process($_) - } catch { - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() - throw - } - - finally { - $backupTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId - $backupInternalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() - } - -} -end { - try { - $steppablePipeline.End() - - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $backupTelemetryId - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $backupInternalCalledCmdlets - if ($preTelemetryId -eq '') { - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.module]::Instance.Telemetry.Invoke('Send', $MyInvocation, $parameterSet, $PSCmdlet) - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() - } - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $preTelemetryId - - } catch { - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() - throw - } -} -} diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/exports/Install-AzConnectedMachinePatch.ps1 b/src/ConnectedMachine/ConnectedMachine.Autorest/exports/Install-AzConnectedMachinePatch.ps1 index 399b49efe7c9..bcdd1f717891 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/exports/Install-AzConnectedMachinePatch.ps1 +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/exports/Install-AzConnectedMachinePatch.ps1 @@ -34,30 +34,21 @@ COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. INPUTOBJECT : Identity Parameter - [BaseProvider ]: The name of the base Resource Provider. - [BaseResourceName ]: The name of the base resource. - [BaseResourceType ]: The name of the base Resource Type. [ExtensionName ]: The name of the machine extension. [ExtensionType ]: The extensionType of the Extension being received. - [GatewayName ]: The name of the Gateway. [GroupName ]: The name of the private link resource. [Id ]: Resource identity path [LicenseName ]: The name of the license. [LicenseProfileName ]: The name of the license profile. [Location ]: The location of the Extension being received. [MachineName ]: The name of the hybrid machine. - [MetadataName ]: Name of the HybridIdentityMetadata. [Name ]: The name of the hybrid machine. - [OSType ]: Defines the os type. [PerimeterName ]: The name, in the format {perimeterGuid}.{associationName}, of the Network Security Perimeter resource. [PrivateEndpointConnectionName ]: The name of the private endpoint connection. [PrivateLinkScopeId ]: The id (Guid) of the Azure Arc PrivateLinkScope resource. [Publisher ]: The publisher of the Extension being received. [ResourceGroupName ]: The name of the resource group. The name is case insensitive. - [ResourceUri ]: The fully qualified Azure Resource manager identifier of the resource to be connected. - [RunCommandName ]: The name of the run command. [ScopeName ]: The name of the Azure Arc PrivateLinkScope resource. - [SettingsResourceName ]: The name of the settings resource. [SubscriptionId ]: The ID of the target subscription. [Version ]: The version of the Extension being received. diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/exports/Invoke-AzConnectedAssessMachinePatch.ps1 b/src/ConnectedMachine/ConnectedMachine.Autorest/exports/Invoke-AzConnectedAssessMachinePatch.ps1 index 8eb12c408eb1..52a8ce6f723c 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/exports/Invoke-AzConnectedAssessMachinePatch.ps1 +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/exports/Invoke-AzConnectedAssessMachinePatch.ps1 @@ -32,30 +32,21 @@ COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. INPUTOBJECT : Identity Parameter - [BaseProvider ]: The name of the base Resource Provider. - [BaseResourceName ]: The name of the base resource. - [BaseResourceType ]: The name of the base Resource Type. [ExtensionName ]: The name of the machine extension. [ExtensionType ]: The extensionType of the Extension being received. - [GatewayName ]: The name of the Gateway. [GroupName ]: The name of the private link resource. [Id ]: Resource identity path [LicenseName ]: The name of the license. [LicenseProfileName ]: The name of the license profile. [Location ]: The location of the Extension being received. [MachineName ]: The name of the hybrid machine. - [MetadataName ]: Name of the HybridIdentityMetadata. [Name ]: The name of the hybrid machine. - [OSType ]: Defines the os type. [PerimeterName ]: The name, in the format {perimeterGuid}.{associationName}, of the Network Security Perimeter resource. [PrivateEndpointConnectionName ]: The name of the private endpoint connection. [PrivateLinkScopeId ]: The id (Guid) of the Azure Arc PrivateLinkScope resource. [Publisher ]: The publisher of the Extension being received. [ResourceGroupName ]: The name of the resource group. The name is case insensitive. - [ResourceUri ]: The fully qualified Azure Resource manager identifier of the resource to be connected. - [RunCommandName ]: The name of the run command. [ScopeName ]: The name of the Azure Arc PrivateLinkScope resource. - [SettingsResourceName ]: The name of the settings resource. [SubscriptionId ]: The ID of the target subscription. [Version ]: The version of the Extension being received. .Link diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/exports/Remove-AzConnectedMachineRunCommand.ps1 b/src/ConnectedMachine/ConnectedMachine.Autorest/exports/Invoke-AzConnectedReconcileNetworkSecurityPerimeterConfiguration.ps1 similarity index 80% rename from src/ConnectedMachine/ConnectedMachine.Autorest/exports/Remove-AzConnectedMachineRunCommand.ps1 rename to src/ConnectedMachine/ConnectedMachine.Autorest/exports/Invoke-AzConnectedReconcileNetworkSecurityPerimeterConfiguration.ps1 index 45996e74784f..11ae73048345 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/exports/Remove-AzConnectedMachineRunCommand.ps1 +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/exports/Invoke-AzConnectedReconcileNetworkSecurityPerimeterConfiguration.ps1 @@ -16,90 +16,73 @@ <# .Synopsis -The operation to delete a run command. +Forces the network security perimeter configuration to refresh for a private link scope. .Description -The operation to delete a run command. +Forces the network security perimeter configuration to refresh for a private link scope. .Example -Remove-AzConnectedMachineRunCommand -ResourceGroupName "az-sdk-test" -RunCommandName "myRunCommand3" -MachineName "testmachine" +Invoke-AzConnectedReconcileNetworkSecurityPerimeterConfiguration -PerimeterName $env.PerimeterName -ResourceGroupName $env.ResourceGroupNameNSP -ScopeName $env.PrivateLinkScopeNameNSP .Inputs Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentity .Outputs -System.Boolean +Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationReconcileResult .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. INPUTOBJECT : Identity Parameter - [BaseProvider ]: The name of the base Resource Provider. - [BaseResourceName ]: The name of the base resource. - [BaseResourceType ]: The name of the base Resource Type. [ExtensionName ]: The name of the machine extension. [ExtensionType ]: The extensionType of the Extension being received. - [GatewayName ]: The name of the Gateway. [GroupName ]: The name of the private link resource. [Id ]: Resource identity path [LicenseName ]: The name of the license. [LicenseProfileName ]: The name of the license profile. [Location ]: The location of the Extension being received. [MachineName ]: The name of the hybrid machine. - [MetadataName ]: Name of the HybridIdentityMetadata. [Name ]: The name of the hybrid machine. - [OSType ]: Defines the os type. [PerimeterName ]: The name, in the format {perimeterGuid}.{associationName}, of the Network Security Perimeter resource. [PrivateEndpointConnectionName ]: The name of the private endpoint connection. [PrivateLinkScopeId ]: The id (Guid) of the Azure Arc PrivateLinkScope resource. [Publisher ]: The publisher of the Extension being received. [ResourceGroupName ]: The name of the resource group. The name is case insensitive. - [ResourceUri ]: The fully qualified Azure Resource manager identifier of the resource to be connected. - [RunCommandName ]: The name of the run command. [ScopeName ]: The name of the Azure Arc PrivateLinkScope resource. - [SettingsResourceName ]: The name of the settings resource. [SubscriptionId ]: The ID of the target subscription. [Version ]: The version of the Extension being received. -MACHINEINPUTOBJECT : Identity Parameter - [BaseProvider ]: The name of the base Resource Provider. - [BaseResourceName ]: The name of the base resource. - [BaseResourceType ]: The name of the base Resource Type. +PRIVATELINKSCOPEINPUTOBJECT : Identity Parameter [ExtensionName ]: The name of the machine extension. [ExtensionType ]: The extensionType of the Extension being received. - [GatewayName ]: The name of the Gateway. [GroupName ]: The name of the private link resource. [Id ]: Resource identity path [LicenseName ]: The name of the license. [LicenseProfileName ]: The name of the license profile. [Location ]: The location of the Extension being received. [MachineName ]: The name of the hybrid machine. - [MetadataName ]: Name of the HybridIdentityMetadata. [Name ]: The name of the hybrid machine. - [OSType ]: Defines the os type. [PerimeterName ]: The name, in the format {perimeterGuid}.{associationName}, of the Network Security Perimeter resource. [PrivateEndpointConnectionName ]: The name of the private endpoint connection. [PrivateLinkScopeId ]: The id (Guid) of the Azure Arc PrivateLinkScope resource. [Publisher ]: The publisher of the Extension being received. [ResourceGroupName ]: The name of the resource group. The name is case insensitive. - [ResourceUri ]: The fully qualified Azure Resource manager identifier of the resource to be connected. - [RunCommandName ]: The name of the run command. [ScopeName ]: The name of the Azure Arc PrivateLinkScope resource. - [SettingsResourceName ]: The name of the settings resource. [SubscriptionId ]: The ID of the target subscription. [Version ]: The version of the Extension being received. .Link -https://learn.microsoft.com/powershell/module/az.connectedmachine/remove-azconnectedmachineruncommand +https://learn.microsoft.com/powershell/module/az.connectedmachine/invoke-azconnectedreconcilenetworksecurityperimeterconfiguration #> -function Remove-AzConnectedMachineRunCommand { -[OutputType([System.Boolean])] -[CmdletBinding(DefaultParameterSetName='Delete', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] +function Invoke-AzConnectedReconcileNetworkSecurityPerimeterConfiguration { +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationReconcileResult])] +[CmdletBinding(DefaultParameterSetName='Reconcile', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( - [Parameter(ParameterSetName='Delete', Mandatory)] + [Parameter(ParameterSetName='Reconcile', Mandatory)] + [Parameter(ParameterSetName='ReconcileViaIdentityPrivateLinkScope', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Path')] [System.String] - # The name of the hybrid machine. - ${MachineName}, + # The name, in the format {perimeterGuid}.{associationName}, of the Network Security Perimeter resource. + ${PerimeterName}, - [Parameter(ParameterSetName='Delete', Mandatory)] + [Parameter(ParameterSetName='Reconcile', Mandatory)] [ArgumentCompleter({Get-AzResourceGroup | Select-Object -ExpandProperty ResourceGroupName})] [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Path')] [System.String] @@ -107,31 +90,30 @@ param( # The name is case insensitive. ${ResourceGroupName}, - [Parameter(ParameterSetName='Delete', Mandatory)] - [Parameter(ParameterSetName='DeleteViaIdentityMachine', Mandatory)] + [Parameter(ParameterSetName='Reconcile', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Path')] [System.String] - # The name of the run command. - ${RunCommandName}, + # The name of the Azure Arc PrivateLinkScope resource. + ${ScopeName}, - [Parameter(ParameterSetName='Delete')] + [Parameter(ParameterSetName='Reconcile')] [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # The ID of the target subscription. ${SubscriptionId}, - [Parameter(ParameterSetName='DeleteViaIdentity', Mandatory, ValueFromPipeline)] + [Parameter(ParameterSetName='ReconcileViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentity] # Identity Parameter ${InputObject}, - [Parameter(ParameterSetName='DeleteViaIdentityMachine', Mandatory, ValueFromPipeline)] + [Parameter(ParameterSetName='ReconcileViaIdentityPrivateLinkScope', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentity] # Identity Parameter - ${MachineInputObject}, + ${PrivateLinkScopeInputObject}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] @@ -174,12 +156,6 @@ param( # Run the command asynchronously ${NoWait}, - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Runtime')] - [System.Management.Automation.SwitchParameter] - # Returns true when the command succeeds - ${PassThru}, - [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Runtime')] [System.Uri] @@ -226,11 +202,11 @@ begin { } $mapping = @{ - Delete = 'Az.ConnectedMachine.private\Remove-AzConnectedMachineRunCommand_Delete'; - DeleteViaIdentity = 'Az.ConnectedMachine.private\Remove-AzConnectedMachineRunCommand_DeleteViaIdentity'; - DeleteViaIdentityMachine = 'Az.ConnectedMachine.private\Remove-AzConnectedMachineRunCommand_DeleteViaIdentityMachine'; + Reconcile = 'Az.ConnectedMachine.private\Invoke-AzConnectedReconcileNetworkSecurityPerimeterConfiguration_Reconcile'; + ReconcileViaIdentity = 'Az.ConnectedMachine.private\Invoke-AzConnectedReconcileNetworkSecurityPerimeterConfiguration_ReconcileViaIdentity'; + ReconcileViaIdentityPrivateLinkScope = 'Az.ConnectedMachine.private\Invoke-AzConnectedReconcileNetworkSecurityPerimeterConfiguration_ReconcileViaIdentityPrivateLinkScope'; } - if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { + if (('Reconcile') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { $testPlayback = $false $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/exports/New-AzConnectedLicense.ps1 b/src/ConnectedMachine/ConnectedMachine.Autorest/exports/New-AzConnectedLicense.ps1 index fb3fd8c7a153..32391614093e 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/exports/New-AzConnectedLicense.ps1 +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/exports/New-AzConnectedLicense.ps1 @@ -34,30 +34,21 @@ COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. INPUTOBJECT : Identity Parameter - [BaseProvider ]: The name of the base Resource Provider. - [BaseResourceName ]: The name of the base resource. - [BaseResourceType ]: The name of the base Resource Type. [ExtensionName ]: The name of the machine extension. [ExtensionType ]: The extensionType of the Extension being received. - [GatewayName ]: The name of the Gateway. [GroupName ]: The name of the private link resource. [Id ]: Resource identity path [LicenseName ]: The name of the license. [LicenseProfileName ]: The name of the license profile. [Location ]: The location of the Extension being received. [MachineName ]: The name of the hybrid machine. - [MetadataName ]: Name of the HybridIdentityMetadata. [Name ]: The name of the hybrid machine. - [OSType ]: Defines the os type. [PerimeterName ]: The name, in the format {perimeterGuid}.{associationName}, of the Network Security Perimeter resource. [PrivateEndpointConnectionName ]: The name of the private endpoint connection. [PrivateLinkScopeId ]: The id (Guid) of the Azure Arc PrivateLinkScope resource. [Publisher ]: The publisher of the Extension being received. [ResourceGroupName ]: The name of the resource group. The name is case insensitive. - [ResourceUri ]: The fully qualified Azure Resource manager identifier of the resource to be connected. - [RunCommandName ]: The name of the run command. [ScopeName ]: The name of the Azure Arc PrivateLinkScope resource. - [SettingsResourceName ]: The name of the settings resource. [SubscriptionId ]: The ID of the target subscription. [Version ]: The version of the Extension being received. diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/exports/New-AzConnectedMachineExtension.ps1 b/src/ConnectedMachine/ConnectedMachine.Autorest/exports/New-AzConnectedMachineExtension.ps1 index c0f6c43a0695..35a384b56de3 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/exports/New-AzConnectedMachineExtension.ps1 +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/exports/New-AzConnectedMachineExtension.ps1 @@ -70,58 +70,40 @@ EXTENSIONPARAMETER : Describes a Machine Extension. [TypeHandlerVersion ]: Specifies the version of the script handler. INPUTOBJECT : Identity Parameter - [BaseProvider ]: The name of the base Resource Provider. - [BaseResourceName ]: The name of the base resource. - [BaseResourceType ]: The name of the base Resource Type. [ExtensionName ]: The name of the machine extension. [ExtensionType ]: The extensionType of the Extension being received. - [GatewayName ]: The name of the Gateway. [GroupName ]: The name of the private link resource. [Id ]: Resource identity path [LicenseName ]: The name of the license. [LicenseProfileName ]: The name of the license profile. [Location ]: The location of the Extension being received. [MachineName ]: The name of the hybrid machine. - [MetadataName ]: Name of the HybridIdentityMetadata. [Name ]: The name of the hybrid machine. - [OSType ]: Defines the os type. [PerimeterName ]: The name, in the format {perimeterGuid}.{associationName}, of the Network Security Perimeter resource. [PrivateEndpointConnectionName ]: The name of the private endpoint connection. [PrivateLinkScopeId ]: The id (Guid) of the Azure Arc PrivateLinkScope resource. [Publisher ]: The publisher of the Extension being received. [ResourceGroupName ]: The name of the resource group. The name is case insensitive. - [ResourceUri ]: The fully qualified Azure Resource manager identifier of the resource to be connected. - [RunCommandName ]: The name of the run command. [ScopeName ]: The name of the Azure Arc PrivateLinkScope resource. - [SettingsResourceName ]: The name of the settings resource. [SubscriptionId ]: The ID of the target subscription. [Version ]: The version of the Extension being received. MACHINEINPUTOBJECT : Identity Parameter - [BaseProvider ]: The name of the base Resource Provider. - [BaseResourceName ]: The name of the base resource. - [BaseResourceType ]: The name of the base Resource Type. [ExtensionName ]: The name of the machine extension. [ExtensionType ]: The extensionType of the Extension being received. - [GatewayName ]: The name of the Gateway. [GroupName ]: The name of the private link resource. [Id ]: Resource identity path [LicenseName ]: The name of the license. [LicenseProfileName ]: The name of the license profile. [Location ]: The location of the Extension being received. [MachineName ]: The name of the hybrid machine. - [MetadataName ]: Name of the HybridIdentityMetadata. [Name ]: The name of the hybrid machine. - [OSType ]: Defines the os type. [PerimeterName ]: The name, in the format {perimeterGuid}.{associationName}, of the Network Security Perimeter resource. [PrivateEndpointConnectionName ]: The name of the private endpoint connection. [PrivateLinkScopeId ]: The id (Guid) of the Azure Arc PrivateLinkScope resource. [Publisher ]: The publisher of the Extension being received. [ResourceGroupName ]: The name of the resource group. The name is case insensitive. - [ResourceUri ]: The fully qualified Azure Resource manager identifier of the resource to be connected. - [RunCommandName ]: The name of the run command. [ScopeName ]: The name of the Azure Arc PrivateLinkScope resource. - [SettingsResourceName ]: The name of the settings resource. [SubscriptionId ]: The ID of the target subscription. [Version ]: The version of the Extension being received. .Link diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/exports/New-AzConnectedMachineRunCommand.ps1 b/src/ConnectedMachine/ConnectedMachine.Autorest/exports/New-AzConnectedMachineRunCommand.ps1 deleted file mode 100644 index 97031c154684..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/exports/New-AzConnectedMachineRunCommand.ps1 +++ /dev/null @@ -1,555 +0,0 @@ - -# ---------------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# http://www.apache.org/licenses/LICENSE-2.0 -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code -# is regenerated. -# ---------------------------------------------------------------------------------- - -<# -.Synopsis -The operation to create a run command. -.Description -The operation to create a run command. -.Example -New-AzConnectedMachineRunCommand -ResourceGroupName "az-sdk-test" -Location "eastus2euap" -SourceScript "Write-Host Hello World!" -RunCommandName "myRunCommand3" -MachineName "testmachine" -SubscriptionId ********-****-****-****-********** - -.Inputs -Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentity -.Inputs -Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand -.Outputs -Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand -.Notes -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - -INPUTOBJECT : Identity Parameter - [BaseProvider ]: The name of the base Resource Provider. - [BaseResourceName ]: The name of the base resource. - [BaseResourceType ]: The name of the base Resource Type. - [ExtensionName ]: The name of the machine extension. - [ExtensionType ]: The extensionType of the Extension being received. - [GatewayName ]: The name of the Gateway. - [GroupName ]: The name of the private link resource. - [Id ]: Resource identity path - [LicenseName ]: The name of the license. - [LicenseProfileName ]: The name of the license profile. - [Location ]: The location of the Extension being received. - [MachineName ]: The name of the hybrid machine. - [MetadataName ]: Name of the HybridIdentityMetadata. - [Name ]: The name of the hybrid machine. - [OSType ]: Defines the os type. - [PerimeterName ]: The name, in the format {perimeterGuid}.{associationName}, of the Network Security Perimeter resource. - [PrivateEndpointConnectionName ]: The name of the private endpoint connection. - [PrivateLinkScopeId ]: The id (Guid) of the Azure Arc PrivateLinkScope resource. - [Publisher ]: The publisher of the Extension being received. - [ResourceGroupName ]: The name of the resource group. The name is case insensitive. - [ResourceUri ]: The fully qualified Azure Resource manager identifier of the resource to be connected. - [RunCommandName ]: The name of the run command. - [ScopeName ]: The name of the Azure Arc PrivateLinkScope resource. - [SettingsResourceName ]: The name of the settings resource. - [SubscriptionId ]: The ID of the target subscription. - [Version ]: The version of the Extension being received. - -MACHINEINPUTOBJECT : Identity Parameter - [BaseProvider ]: The name of the base Resource Provider. - [BaseResourceName ]: The name of the base resource. - [BaseResourceType ]: The name of the base Resource Type. - [ExtensionName ]: The name of the machine extension. - [ExtensionType ]: The extensionType of the Extension being received. - [GatewayName ]: The name of the Gateway. - [GroupName ]: The name of the private link resource. - [Id ]: Resource identity path - [LicenseName ]: The name of the license. - [LicenseProfileName ]: The name of the license profile. - [Location ]: The location of the Extension being received. - [MachineName ]: The name of the hybrid machine. - [MetadataName ]: Name of the HybridIdentityMetadata. - [Name ]: The name of the hybrid machine. - [OSType ]: Defines the os type. - [PerimeterName ]: The name, in the format {perimeterGuid}.{associationName}, of the Network Security Perimeter resource. - [PrivateEndpointConnectionName ]: The name of the private endpoint connection. - [PrivateLinkScopeId ]: The id (Guid) of the Azure Arc PrivateLinkScope resource. - [Publisher ]: The publisher of the Extension being received. - [ResourceGroupName ]: The name of the resource group. The name is case insensitive. - [ResourceUri ]: The fully qualified Azure Resource manager identifier of the resource to be connected. - [RunCommandName ]: The name of the run command. - [ScopeName ]: The name of the Azure Arc PrivateLinkScope resource. - [SettingsResourceName ]: The name of the settings resource. - [SubscriptionId ]: The ID of the target subscription. - [Version ]: The version of the Extension being received. - -PARAMETER : The parameters used by the script. - Name : The run command parameter name. - Value : The run command parameter value. - -PROTECTEDPARAMETER : The parameters used by the script. - Name : The run command parameter name. - Value : The run command parameter value. - -RUNCOMMANDPROPERTY : Describes a Run Command - Location : The geo-location where the resource lives - [Tags ]: Resource tags. - [(Any) ]: This indicates any property can be added to this object. - [AsyncExecution ]: Optional. If set to true, provisioning will complete as soon as script starts and will not wait for script to complete. - [ErrorBlobManagedIdentityClientId ]: Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided. - [ErrorBlobManagedIdentityObjectId ]: Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided. - [ErrorBlobUri ]: Specifies the Azure storage blob where script error stream will be uploaded. Use a SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob. Refer errorBlobManagedIdentity parameter. - [OutputBlobManagedIdentityClientId ]: Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided. - [OutputBlobManagedIdentityObjectId ]: Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided. - [OutputBlobUri ]: Specifies the Azure storage blob where script output stream will be uploaded. Use a SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob. Refer outputBlobManagedIdentity parameter. - [Parameter >]: The parameters used by the script. - Name : The run command parameter name. - Value : The run command parameter value. - [ProtectedParameter >]: The parameters used by the script. - [RunAsPassword ]: Specifies the user account password on the machine when executing the run command. - [RunAsUser ]: Specifies the user account on the machine when executing the run command. - [ScriptUriManagedIdentityClientId ]: Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided. - [ScriptUriManagedIdentityObjectId ]: Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided. - [SourceCommandId ]: Specifies the commandId of predefined built-in script. - [SourceScript ]: Specifies the script content to be executed on the machine. - [SourceScriptUri ]: Specifies the script download location. It can be either SAS URI of an Azure storage blob with read access or public URI. - [TimeoutInSecond ]: The timeout in seconds to execute the run command. -.Link -https://learn.microsoft.com/powershell/module/az.connectedmachine/new-azconnectedmachineruncommand -#> -function New-AzConnectedMachineRunCommand { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand])] -[CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] -param( - [Parameter(ParameterSetName='Create', Mandatory)] - [Parameter(ParameterSetName='CreateExpanded', Mandatory)] - [Parameter(ParameterSetName='CreateViaJsonFilePath', Mandatory)] - [Parameter(ParameterSetName='CreateViaJsonString', Mandatory)] - [Parameter(ParameterSetName='ScriptLocalPath', Mandatory)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Path')] - [System.String] - # The name of the hybrid machine. - ${MachineName}, - - [Parameter(ParameterSetName='Create', Mandatory)] - [Parameter(ParameterSetName='CreateExpanded', Mandatory)] - [Parameter(ParameterSetName='CreateViaJsonFilePath', Mandatory)] - [Parameter(ParameterSetName='CreateViaJsonString', Mandatory)] - [Parameter(ParameterSetName='ScriptLocalPath', Mandatory)] - [ArgumentCompleter({Get-AzResourceGroup | Select-Object -ExpandProperty ResourceGroupName})] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Path')] - [System.String] - # The name of the resource group. - # The name is case insensitive. - ${ResourceGroupName}, - - [Parameter(ParameterSetName='Create', Mandatory)] - [Parameter(ParameterSetName='CreateExpanded', Mandatory)] - [Parameter(ParameterSetName='CreateViaIdentityMachine', Mandatory)] - [Parameter(ParameterSetName='CreateViaIdentityMachineExpanded', Mandatory)] - [Parameter(ParameterSetName='CreateViaJsonFilePath', Mandatory)] - [Parameter(ParameterSetName='CreateViaJsonString', Mandatory)] - [Parameter(ParameterSetName='ScriptLocalPath', Mandatory)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Path')] - [System.String] - # The name of the run command. - ${RunCommandName}, - - [Parameter(ParameterSetName='Create')] - [Parameter(ParameterSetName='CreateExpanded')] - [Parameter(ParameterSetName='CreateViaJsonFilePath')] - [Parameter(ParameterSetName='CreateViaJsonString')] - [Parameter(ParameterSetName='ScriptLocalPath')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Path')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] - [System.String] - # The ID of the target subscription. - ${SubscriptionId}, - - [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)] - [Parameter(ParameterSetName='CreateViaIdentityExpanded', Mandatory, ValueFromPipeline)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Path')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentity] - # Identity Parameter - ${InputObject}, - - [Parameter(ParameterSetName='CreateViaIdentityMachine', Mandatory, ValueFromPipeline)] - [Parameter(ParameterSetName='CreateViaIdentityMachineExpanded', Mandatory, ValueFromPipeline)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Path')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentity] - # Identity Parameter - ${MachineInputObject}, - - [Parameter(ParameterSetName='Create', Mandatory, ValueFromPipeline)] - [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)] - [Parameter(ParameterSetName='CreateViaIdentityMachine', Mandatory, ValueFromPipeline)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand] - # Describes a Run Command - ${RunCommandProperty}, - - [Parameter(ParameterSetName='CreateExpanded', Mandatory)] - [Parameter(ParameterSetName='CreateViaIdentityExpanded', Mandatory)] - [Parameter(ParameterSetName='CreateViaIdentityMachineExpanded', Mandatory)] - [Parameter(ParameterSetName='ScriptLocalPath', Mandatory)] - [ArgumentCompleter({Get-AzLocation | Where-Object Providers -Contains "Microsoft.HybridCompute" | Select-Object -ExpandProperty Location})] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [System.String] - # The geo-location where the resource lives - ${Location}, - - [Parameter(ParameterSetName='CreateExpanded')] - [Parameter(ParameterSetName='CreateViaIdentityExpanded')] - [Parameter(ParameterSetName='CreateViaIdentityMachineExpanded')] - [Parameter(ParameterSetName='ScriptLocalPath')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [System.Management.Automation.SwitchParameter] - # Optional. - # If set to true, provisioning will complete as soon as script starts and will not wait for script to complete. - ${AsyncExecution}, - - [Parameter(ParameterSetName='CreateExpanded')] - [Parameter(ParameterSetName='CreateViaIdentityExpanded')] - [Parameter(ParameterSetName='CreateViaIdentityMachineExpanded')] - [Parameter(ParameterSetName='ScriptLocalPath')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [System.String] - # Client Id (GUID value) of the user-assigned managed identity. - # ObjectId should not be used if this is provided. - ${ErrorBlobManagedIdentityClientId}, - - [Parameter(ParameterSetName='CreateExpanded')] - [Parameter(ParameterSetName='CreateViaIdentityExpanded')] - [Parameter(ParameterSetName='CreateViaIdentityMachineExpanded')] - [Parameter(ParameterSetName='ScriptLocalPath')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [System.String] - # Object Id (GUID value) of the user-assigned managed identity. - # ClientId should not be used if this is provided. - ${ErrorBlobManagedIdentityObjectId}, - - [Parameter(ParameterSetName='CreateExpanded')] - [Parameter(ParameterSetName='CreateViaIdentityExpanded')] - [Parameter(ParameterSetName='CreateViaIdentityMachineExpanded')] - [Parameter(ParameterSetName='ScriptLocalPath')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [System.String] - # Specifies the Azure storage blob where script error stream will be uploaded. - # Use a SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob. - # Refer errorBlobManagedIdentity parameter. - ${ErrorBlobUri}, - - [Parameter(ParameterSetName='CreateExpanded')] - [Parameter(ParameterSetName='CreateViaIdentityExpanded')] - [Parameter(ParameterSetName='CreateViaIdentityMachineExpanded')] - [Parameter(ParameterSetName='ScriptLocalPath')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [System.String] - # Client Id (GUID value) of the user-assigned managed identity. - # ObjectId should not be used if this is provided. - ${OutputBlobManagedIdentityClientId}, - - [Parameter(ParameterSetName='CreateExpanded')] - [Parameter(ParameterSetName='CreateViaIdentityExpanded')] - [Parameter(ParameterSetName='CreateViaIdentityMachineExpanded')] - [Parameter(ParameterSetName='ScriptLocalPath')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [System.String] - # Object Id (GUID value) of the user-assigned managed identity. - # ClientId should not be used if this is provided. - ${OutputBlobManagedIdentityObjectId}, - - [Parameter(ParameterSetName='CreateExpanded')] - [Parameter(ParameterSetName='CreateViaIdentityExpanded')] - [Parameter(ParameterSetName='CreateViaIdentityMachineExpanded')] - [Parameter(ParameterSetName='ScriptLocalPath')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [System.String] - # Specifies the Azure storage blob where script output stream will be uploaded. - # Use a SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob. - # Refer outputBlobManagedIdentity parameter. - ${OutputBlobUri}, - - [Parameter(ParameterSetName='CreateExpanded')] - [Parameter(ParameterSetName='CreateViaIdentityExpanded')] - [Parameter(ParameterSetName='CreateViaIdentityMachineExpanded')] - [Parameter(ParameterSetName='ScriptLocalPath')] - [AllowEmptyCollection()] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandInputParameter[]] - # The parameters used by the script. - ${Parameter}, - - [Parameter(ParameterSetName='CreateExpanded')] - [Parameter(ParameterSetName='CreateViaIdentityExpanded')] - [Parameter(ParameterSetName='CreateViaIdentityMachineExpanded')] - [Parameter(ParameterSetName='ScriptLocalPath')] - [AllowEmptyCollection()] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandInputParameter[]] - # The parameters used by the script. - ${ProtectedParameter}, - - [Parameter(ParameterSetName='CreateExpanded')] - [Parameter(ParameterSetName='CreateViaIdentityExpanded')] - [Parameter(ParameterSetName='CreateViaIdentityMachineExpanded')] - [Parameter(ParameterSetName='ScriptLocalPath')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [System.String] - # Specifies the user account password on the machine when executing the run command. - ${RunAsPassword}, - - [Parameter(ParameterSetName='CreateExpanded')] - [Parameter(ParameterSetName='CreateViaIdentityExpanded')] - [Parameter(ParameterSetName='CreateViaIdentityMachineExpanded')] - [Parameter(ParameterSetName='ScriptLocalPath')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [System.String] - # Specifies the user account on the machine when executing the run command. - ${RunAsUser}, - - [Parameter(ParameterSetName='CreateExpanded')] - [Parameter(ParameterSetName='CreateViaIdentityExpanded')] - [Parameter(ParameterSetName='CreateViaIdentityMachineExpanded')] - [Parameter(ParameterSetName='ScriptLocalPath')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [System.String] - # Client Id (GUID value) of the user-assigned managed identity. - # ObjectId should not be used if this is provided. - ${ScriptUriManagedIdentityClientId}, - - [Parameter(ParameterSetName='CreateExpanded')] - [Parameter(ParameterSetName='CreateViaIdentityExpanded')] - [Parameter(ParameterSetName='CreateViaIdentityMachineExpanded')] - [Parameter(ParameterSetName='ScriptLocalPath')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [System.String] - # Object Id (GUID value) of the user-assigned managed identity. - # ClientId should not be used if this is provided. - ${ScriptUriManagedIdentityObjectId}, - - [Parameter(ParameterSetName='CreateExpanded')] - [Parameter(ParameterSetName='CreateViaIdentityExpanded')] - [Parameter(ParameterSetName='CreateViaIdentityMachineExpanded')] - [Parameter(ParameterSetName='ScriptLocalPath')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [System.String] - # Specifies the commandId of predefined built-in script. - ${SourceCommandId}, - - [Parameter(ParameterSetName='CreateExpanded')] - [Parameter(ParameterSetName='CreateViaIdentityExpanded')] - [Parameter(ParameterSetName='CreateViaIdentityMachineExpanded')] - [Parameter(ParameterSetName='ScriptLocalPath')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [System.String] - # Specifies the script content to be executed on the machine. - ${SourceScript}, - - [Parameter(ParameterSetName='CreateExpanded')] - [Parameter(ParameterSetName='CreateViaIdentityExpanded')] - [Parameter(ParameterSetName='CreateViaIdentityMachineExpanded')] - [Parameter(ParameterSetName='ScriptLocalPath')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [System.String] - # Specifies the script download location. - # It can be either SAS URI of an Azure storage blob with read access or public URI. - ${SourceScriptUri}, - - [Parameter(ParameterSetName='CreateExpanded')] - [Parameter(ParameterSetName='CreateViaIdentityExpanded')] - [Parameter(ParameterSetName='CreateViaIdentityMachineExpanded')] - [Parameter(ParameterSetName='ScriptLocalPath')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceTags]))] - [System.Collections.Hashtable] - # Resource tags. - ${Tag}, - - [Parameter(ParameterSetName='CreateExpanded')] - [Parameter(ParameterSetName='CreateViaIdentityExpanded')] - [Parameter(ParameterSetName='CreateViaIdentityMachineExpanded')] - [Parameter(ParameterSetName='ScriptLocalPath')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [System.Int32] - # The timeout in seconds to execute the run command. - ${TimeoutInSecond}, - - [Parameter(ParameterSetName='CreateViaJsonFilePath', Mandatory)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [System.String] - # Path of Json file supplied to the Create operation - ${JsonFilePath}, - - [Parameter(ParameterSetName='CreateViaJsonString', Mandatory)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [System.String] - # Json string supplied to the Create operation - ${JsonString}, - - [Parameter(ParameterSetName='ScriptLocalPath')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [System.String] - ${ScriptLocalPath}, - - [Parameter()] - [Alias('AzureRMContext', 'AzureCredential')] - [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Azure')] - [System.Management.Automation.PSObject] - # The DefaultProfile parameter is not functional. - # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. - ${DefaultProfile}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Runtime')] - [System.Management.Automation.SwitchParameter] - # Run the command as a job - ${AsJob}, - - [Parameter(DontShow)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Runtime')] - [System.Management.Automation.SwitchParameter] - # Wait for .NET debugger to attach - ${Break}, - - [Parameter(DontShow)] - [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Runtime')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SendAsyncStep[]] - # SendAsync Pipeline Steps to be appended to the front of the pipeline - ${HttpPipelineAppend}, - - [Parameter(DontShow)] - [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Runtime')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SendAsyncStep[]] - # SendAsync Pipeline Steps to be prepended to the front of the pipeline - ${HttpPipelinePrepend}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Runtime')] - [System.Management.Automation.SwitchParameter] - # Run the command asynchronously - ${NoWait}, - - [Parameter(DontShow)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Runtime')] - [System.Uri] - # The URI for the proxy server to use - ${Proxy}, - - [Parameter(DontShow)] - [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Runtime')] - [System.Management.Automation.PSCredential] - # Credentials for a proxy server to use for the remote call - ${ProxyCredential}, - - [Parameter(DontShow)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Runtime')] - [System.Management.Automation.SwitchParameter] - # Use the default credentials for the proxy - ${ProxyUseDefaultCredentials} -) - -begin { - try { - $outBuffer = $null - if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { - $PSBoundParameters['OutBuffer'] = 1 - } - $parameterSet = $PSCmdlet.ParameterSetName - - if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) { - [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString() - } - $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId - if ($preTelemetryId -eq '') { - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId =(New-Guid).ToString() - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.module]::Instance.Telemetry.Invoke('Create', $MyInvocation, $parameterSet, $PSCmdlet) - } else { - $internalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets - if ($internalCalledCmdlets -eq '') { - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $MyInvocation.MyCommand.Name - } else { - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets += ',' + $MyInvocation.MyCommand.Name - } - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = 'internal' - } - - $mapping = @{ - Create = 'Az.ConnectedMachine.private\New-AzConnectedMachineRunCommand_Create'; - CreateExpanded = 'Az.ConnectedMachine.private\New-AzConnectedMachineRunCommand_CreateExpanded'; - CreateViaIdentity = 'Az.ConnectedMachine.private\New-AzConnectedMachineRunCommand_CreateViaIdentity'; - CreateViaIdentityExpanded = 'Az.ConnectedMachine.private\New-AzConnectedMachineRunCommand_CreateViaIdentityExpanded'; - CreateViaIdentityMachine = 'Az.ConnectedMachine.private\New-AzConnectedMachineRunCommand_CreateViaIdentityMachine'; - CreateViaIdentityMachineExpanded = 'Az.ConnectedMachine.private\New-AzConnectedMachineRunCommand_CreateViaIdentityMachineExpanded'; - CreateViaJsonFilePath = 'Az.ConnectedMachine.private\New-AzConnectedMachineRunCommand_CreateViaJsonFilePath'; - CreateViaJsonString = 'Az.ConnectedMachine.private\New-AzConnectedMachineRunCommand_CreateViaJsonString'; - ScriptLocalPath = 'Az.ConnectedMachine.custom\New-AzConnectedMachineRunCommand_ScriptLocalPath'; - } - if (('Create', 'CreateExpanded', 'CreateViaJsonFilePath', 'CreateViaJsonString', 'ScriptLocalPath') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { - $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } - if ($testPlayback) { - $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') - } else { - $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id - } - } - $cmdInfo = Get-Command -Name $mapping[$parameterSet] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) - if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) - [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) - } - $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) - $scriptCmd = {& $wrappedCmd @PSBoundParameters} - $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) - $steppablePipeline.Begin($PSCmdlet) - } catch { - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() - throw - } -} - -process { - try { - $steppablePipeline.Process($_) - } catch { - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() - throw - } - - finally { - $backupTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId - $backupInternalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() - } - -} -end { - try { - $steppablePipeline.End() - - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $backupTelemetryId - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $backupInternalCalledCmdlets - if ($preTelemetryId -eq '') { - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.module]::Instance.Telemetry.Invoke('Send', $MyInvocation, $parameterSet, $PSCmdlet) - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() - } - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $preTelemetryId - - } catch { - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() - throw - } -} -} diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/exports/New-AzConnectedPrivateLinkScope.ps1 b/src/ConnectedMachine/ConnectedMachine.Autorest/exports/New-AzConnectedPrivateLinkScope.ps1 index 0c0ab7c1a61d..f79cb8dd1c89 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/exports/New-AzConnectedPrivateLinkScope.ps1 +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/exports/New-AzConnectedPrivateLinkScope.ps1 @@ -36,30 +36,21 @@ COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. INPUTOBJECT : Identity Parameter - [BaseProvider ]: The name of the base Resource Provider. - [BaseResourceName ]: The name of the base resource. - [BaseResourceType ]: The name of the base Resource Type. [ExtensionName ]: The name of the machine extension. [ExtensionType ]: The extensionType of the Extension being received. - [GatewayName ]: The name of the Gateway. [GroupName ]: The name of the private link resource. [Id ]: Resource identity path [LicenseName ]: The name of the license. [LicenseProfileName ]: The name of the license profile. [Location ]: The location of the Extension being received. [MachineName ]: The name of the hybrid machine. - [MetadataName ]: Name of the HybridIdentityMetadata. [Name ]: The name of the hybrid machine. - [OSType ]: Defines the os type. [PerimeterName ]: The name, in the format {perimeterGuid}.{associationName}, of the Network Security Perimeter resource. [PrivateEndpointConnectionName ]: The name of the private endpoint connection. [PrivateLinkScopeId ]: The id (Guid) of the Azure Arc PrivateLinkScope resource. [Publisher ]: The publisher of the Extension being received. [ResourceGroupName ]: The name of the resource group. The name is case insensitive. - [ResourceUri ]: The fully qualified Azure Resource manager identifier of the resource to be connected. - [RunCommandName ]: The name of the run command. [ScopeName ]: The name of the Azure Arc PrivateLinkScope resource. - [SettingsResourceName ]: The name of the settings resource. [SubscriptionId ]: The ID of the target subscription. [Version ]: The version of the Extension being received. diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/exports/ProxyCmdletDefinitions.ps1 b/src/ConnectedMachine/ConnectedMachine.Autorest/exports/ProxyCmdletDefinitions.ps1 index 8ac9dcb1f852..b39539a5e0c0 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/exports/ProxyCmdletDefinitions.ps1 +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/exports/ProxyCmdletDefinitions.ps1 @@ -571,195 +571,6 @@ end { } } -<# -.Synopsis -The operation to get a run command. -.Description -The operation to get a run command. -.Example -Get-AzConnectedMachineRunCommand -ResourceGroupName "az-sdk-test" -MachineName "testmachine" -.Example -Get-AzConnectedMachineRunCommand -ResourceGroupName "az-sdk-test" -RunCommandName "myRunCommand2" -MachineName "testmachine" - -.Outputs -Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand -.Link -https://learn.microsoft.com/powershell/module/az.connectedmachine/get-azconnectedmachineruncommand -#> -function Get-AzConnectedMachineRunCommand { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand])] -[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] -param( - [Parameter(Mandatory)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Path')] - [System.String] - # The name of the hybrid machine. - ${MachineName}, - - [Parameter(Mandatory)] - [ArgumentCompleter({Get-AzResourceGroup | Select-Object -ExpandProperty ResourceGroupName})] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Path')] - [System.String] - # The name of the resource group. - # The name is case insensitive. - ${ResourceGroupName}, - - [Parameter(ParameterSetName='Get', Mandatory)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Path')] - [System.String] - # The name of the run command. - ${RunCommandName}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Path')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] - [System.String[]] - # The ID of the target subscription. - ${SubscriptionId}, - - [Parameter(ParameterSetName='List')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Query')] - [System.String] - # The expand expression to apply on the operation. - ${Expand}, - - [Parameter()] - [Alias('AzureRMContext', 'AzureCredential')] - [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Azure')] - [System.Management.Automation.PSObject] - # The DefaultProfile parameter is not functional. - # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. - ${DefaultProfile}, - - [Parameter(DontShow)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Runtime')] - [System.Management.Automation.SwitchParameter] - # Wait for .NET debugger to attach - ${Break}, - - [Parameter(DontShow)] - [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Runtime')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SendAsyncStep[]] - # SendAsync Pipeline Steps to be appended to the front of the pipeline - ${HttpPipelineAppend}, - - [Parameter(DontShow)] - [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Runtime')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SendAsyncStep[]] - # SendAsync Pipeline Steps to be prepended to the front of the pipeline - ${HttpPipelinePrepend}, - - [Parameter(DontShow)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Runtime')] - [System.Uri] - # The URI for the proxy server to use - ${Proxy}, - - [Parameter(DontShow)] - [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Runtime')] - [System.Management.Automation.PSCredential] - # Credentials for a proxy server to use for the remote call - ${ProxyCredential}, - - [Parameter(DontShow)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Runtime')] - [System.Management.Automation.SwitchParameter] - # Use the default credentials for the proxy - ${ProxyUseDefaultCredentials} -) - -begin { - try { - $outBuffer = $null - if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { - $PSBoundParameters['OutBuffer'] = 1 - } - $parameterSet = $PSCmdlet.ParameterSetName - - if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) { - [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString() - } - $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId - if ($preTelemetryId -eq '') { - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId =(New-Guid).ToString() - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.module]::Instance.Telemetry.Invoke('Create', $MyInvocation, $parameterSet, $PSCmdlet) - } else { - $internalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets - if ($internalCalledCmdlets -eq '') { - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $MyInvocation.MyCommand.Name - } else { - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets += ',' + $MyInvocation.MyCommand.Name - } - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = 'internal' - } - - $mapping = @{ - Get = 'Az.ConnectedMachine.private\Get-AzConnectedMachineRunCommand_Get'; - List = 'Az.ConnectedMachine.private\Get-AzConnectedMachineRunCommand_List'; - } - if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { - $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } - if ($testPlayback) { - $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') - } else { - $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id - } - } - $cmdInfo = Get-Command -Name $mapping[$parameterSet] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) - if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) - [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) - } - $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) - $scriptCmd = {& $wrappedCmd @PSBoundParameters} - $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) - $steppablePipeline.Begin($PSCmdlet) - } catch { - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() - throw - } -} - -process { - try { - $steppablePipeline.Process($_) - } catch { - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() - throw - } - - finally { - $backupTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId - $backupInternalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() - } - -} -end { - try { - $steppablePipeline.End() - - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $backupTelemetryId - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $backupInternalCalledCmdlets - if ($preTelemetryId -eq '') { - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.module]::Instance.Telemetry.Invoke('Send', $MyInvocation, $parameterSet, $PSCmdlet) - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() - } - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $preTelemetryId - - } catch { - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() - throw - } -} -} - <# .Synopsis Retrieves information about the model view or the instance view of a hybrid machine. @@ -1329,30 +1140,21 @@ COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. INPUTOBJECT : Identity Parameter - [BaseProvider ]: The name of the base Resource Provider. - [BaseResourceName ]: The name of the base resource. - [BaseResourceType ]: The name of the base Resource Type. [ExtensionName ]: The name of the machine extension. [ExtensionType ]: The extensionType of the Extension being received. - [GatewayName ]: The name of the Gateway. [GroupName ]: The name of the private link resource. [Id ]: Resource identity path [LicenseName ]: The name of the license. [LicenseProfileName ]: The name of the license profile. [Location ]: The location of the Extension being received. [MachineName ]: The name of the hybrid machine. - [MetadataName ]: Name of the HybridIdentityMetadata. [Name ]: The name of the hybrid machine. - [OSType ]: Defines the os type. [PerimeterName ]: The name, in the format {perimeterGuid}.{associationName}, of the Network Security Perimeter resource. [PrivateEndpointConnectionName ]: The name of the private endpoint connection. [PrivateLinkScopeId ]: The id (Guid) of the Azure Arc PrivateLinkScope resource. [Publisher ]: The publisher of the Extension being received. [ResourceGroupName ]: The name of the resource group. The name is case insensitive. - [ResourceUri ]: The fully qualified Azure Resource manager identifier of the resource to be connected. - [RunCommandName ]: The name of the run command. [ScopeName ]: The name of the Azure Arc PrivateLinkScope resource. - [SettingsResourceName ]: The name of the settings resource. [SubscriptionId ]: The ID of the target subscription. [Version ]: The version of the Extension being received. @@ -1682,30 +1484,21 @@ COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. INPUTOBJECT : Identity Parameter - [BaseProvider ]: The name of the base Resource Provider. - [BaseResourceName ]: The name of the base resource. - [BaseResourceType ]: The name of the base Resource Type. [ExtensionName ]: The name of the machine extension. [ExtensionType ]: The extensionType of the Extension being received. - [GatewayName ]: The name of the Gateway. [GroupName ]: The name of the private link resource. [Id ]: Resource identity path [LicenseName ]: The name of the license. [LicenseProfileName ]: The name of the license profile. [Location ]: The location of the Extension being received. [MachineName ]: The name of the hybrid machine. - [MetadataName ]: Name of the HybridIdentityMetadata. [Name ]: The name of the hybrid machine. - [OSType ]: Defines the os type. [PerimeterName ]: The name, in the format {perimeterGuid}.{associationName}, of the Network Security Perimeter resource. [PrivateEndpointConnectionName ]: The name of the private endpoint connection. [PrivateLinkScopeId ]: The id (Guid) of the Azure Arc PrivateLinkScope resource. [Publisher ]: The publisher of the Extension being received. [ResourceGroupName ]: The name of the resource group. The name is case insensitive. - [ResourceUri ]: The fully qualified Azure Resource manager identifier of the resource to be connected. - [RunCommandName ]: The name of the run command. [ScopeName ]: The name of the Azure Arc PrivateLinkScope resource. - [SettingsResourceName ]: The name of the settings resource. [SubscriptionId ]: The ID of the target subscription. [Version ]: The version of the Extension being received. .Link @@ -1892,90 +1685,73 @@ end { <# .Synopsis -The operation to create a license. +Forces the network security perimeter configuration to refresh for a private link scope. .Description -The operation to create a license. +Forces the network security perimeter configuration to refresh for a private link scope. .Example -New-AzConnectedLicense -Name 'myESULicense' -ResourceGroupName 'ytongtest' -Location 'eastus2euap' -LicenseType 'ESU' -LicenseDetailState 'Activated' -LicenseDetailTarget 'Windows Server 2012' -LicenseDetailEdition 'Datacenter' -LicenseDetailType 'pCore' -LicenseDetailProcessor 16 -SubscriptionId ********-****-****-****-********** +Invoke-AzConnectedReconcileNetworkSecurityPerimeterConfiguration -PerimeterName $env.PerimeterName -ResourceGroupName $env.ResourceGroupNameNSP -ScopeName $env.PrivateLinkScopeNameNSP .Inputs Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentity -.Inputs -Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicense .Outputs -Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicense +Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationReconcileResult .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. INPUTOBJECT : Identity Parameter - [BaseProvider ]: The name of the base Resource Provider. - [BaseResourceName ]: The name of the base resource. - [BaseResourceType ]: The name of the base Resource Type. [ExtensionName ]: The name of the machine extension. [ExtensionType ]: The extensionType of the Extension being received. - [GatewayName ]: The name of the Gateway. [GroupName ]: The name of the private link resource. [Id ]: Resource identity path [LicenseName ]: The name of the license. [LicenseProfileName ]: The name of the license profile. [Location ]: The location of the Extension being received. [MachineName ]: The name of the hybrid machine. - [MetadataName ]: Name of the HybridIdentityMetadata. [Name ]: The name of the hybrid machine. - [OSType ]: Defines the os type. [PerimeterName ]: The name, in the format {perimeterGuid}.{associationName}, of the Network Security Perimeter resource. [PrivateEndpointConnectionName ]: The name of the private endpoint connection. [PrivateLinkScopeId ]: The id (Guid) of the Azure Arc PrivateLinkScope resource. [Publisher ]: The publisher of the Extension being received. [ResourceGroupName ]: The name of the resource group. The name is case insensitive. - [ResourceUri ]: The fully qualified Azure Resource manager identifier of the resource to be connected. - [RunCommandName ]: The name of the run command. [ScopeName ]: The name of the Azure Arc PrivateLinkScope resource. - [SettingsResourceName ]: The name of the settings resource. [SubscriptionId ]: The ID of the target subscription. [Version ]: The version of the Extension being received. -LICENSEDETAILVOLUMELICENSEDETAIL : A list of volume license details. - [InvoiceId ]: The invoice id for the volume license. - [ProgramYear ]: Describes the program year the volume license is for. - -PARAMETER : Describes a license in a hybrid machine. - Location : The geo-location where the resource lives - [Tags ]: Resource tags. - [(Any) ]: This indicates any property can be added to this object. - [DetailEdition ]: Describes the edition of the license. The values are either Standard or Datacenter. - [DetailProcessor ]: Describes the number of processors. - [DetailState ]: Describes the state of the license. - [DetailTarget ]: Describes the license target server. - [DetailType ]: Describes the license core type (pCore or vCore). - [DetailVolumeLicenseDetail >]: A list of volume license details. - [InvoiceId ]: The invoice id for the volume license. - [ProgramYear ]: Describes the program year the volume license is for. - [LicenseType ]: The type of the license resource. - [TenantId ]: Describes the tenant id. +PRIVATELINKSCOPEINPUTOBJECT : Identity Parameter + [ExtensionName ]: The name of the machine extension. + [ExtensionType ]: The extensionType of the Extension being received. + [GroupName ]: The name of the private link resource. + [Id ]: Resource identity path + [LicenseName ]: The name of the license. + [LicenseProfileName ]: The name of the license profile. + [Location ]: The location of the Extension being received. + [MachineName ]: The name of the hybrid machine. + [Name ]: The name of the hybrid machine. + [PerimeterName ]: The name, in the format {perimeterGuid}.{associationName}, of the Network Security Perimeter resource. + [PrivateEndpointConnectionName ]: The name of the private endpoint connection. + [PrivateLinkScopeId ]: The id (Guid) of the Azure Arc PrivateLinkScope resource. + [Publisher ]: The publisher of the Extension being received. + [ResourceGroupName ]: The name of the resource group. The name is case insensitive. + [ScopeName ]: The name of the Azure Arc PrivateLinkScope resource. + [SubscriptionId ]: The ID of the target subscription. + [Version ]: The version of the Extension being received. .Link -https://learn.microsoft.com/powershell/module/az.connectedmachine/new-azconnectedlicense +https://learn.microsoft.com/powershell/module/az.connectedmachine/invoke-azconnectedreconcilenetworksecurityperimeterconfiguration #> -function New-AzConnectedLicense { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicense])] -[CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] +function Invoke-AzConnectedReconcileNetworkSecurityPerimeterConfiguration { +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationReconcileResult])] +[CmdletBinding(DefaultParameterSetName='Reconcile', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( - [Parameter(ParameterSetName='Create', Mandatory)] - [Parameter(ParameterSetName='CreateExpanded', Mandatory)] - [Parameter(ParameterSetName='CreateViaJsonFilePath', Mandatory)] - [Parameter(ParameterSetName='CreateViaJsonString', Mandatory)] - [Alias('LicenseName')] + [Parameter(ParameterSetName='Reconcile', Mandatory)] + [Parameter(ParameterSetName='ReconcileViaIdentityPrivateLinkScope', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Path')] [System.String] - # The name of the license. - ${Name}, + # The name, in the format {perimeterGuid}.{associationName}, of the Network Security Perimeter resource. + ${PerimeterName}, - [Parameter(ParameterSetName='Create', Mandatory)] - [Parameter(ParameterSetName='CreateExpanded', Mandatory)] - [Parameter(ParameterSetName='CreateViaJsonFilePath', Mandatory)] - [Parameter(ParameterSetName='CreateViaJsonString', Mandatory)] + [Parameter(ParameterSetName='Reconcile', Mandatory)] [ArgumentCompleter({Get-AzResourceGroup | Select-Object -ExpandProperty ResourceGroupName})] [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Path')] [System.String] @@ -1983,31 +1759,290 @@ param( # The name is case insensitive. ${ResourceGroupName}, - [Parameter(ParameterSetName='Create')] - [Parameter(ParameterSetName='CreateExpanded')] - [Parameter(ParameterSetName='CreateViaJsonFilePath')] - [Parameter(ParameterSetName='CreateViaJsonString')] + [Parameter(ParameterSetName='Reconcile', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Path')] + [System.String] + # The name of the Azure Arc PrivateLinkScope resource. + ${ScopeName}, + + [Parameter(ParameterSetName='Reconcile')] [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # The ID of the target subscription. ${SubscriptionId}, - [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)] - [Parameter(ParameterSetName='CreateViaIdentityExpanded', Mandatory, ValueFromPipeline)] + [Parameter(ParameterSetName='ReconcileViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentity] # Identity Parameter ${InputObject}, - [Parameter(ParameterSetName='Create', Mandatory, ValueFromPipeline)] - [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicense] - # Describes a license in a hybrid machine. - ${Parameter}, + [Parameter(ParameterSetName='ReconcileViaIdentityPrivateLinkScope', Mandatory, ValueFromPipeline)] + [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Path')] + [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentity] + # Identity Parameter + ${PrivateLinkScopeInputObject}, - [Parameter(ParameterSetName='CreateExpanded', Mandatory)] + [Parameter()] + [Alias('AzureRMContext', 'AzureCredential')] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Azure')] + [System.Management.Automation.PSObject] + # The DefaultProfile parameter is not functional. + # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + ${DefaultProfile}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Run the command as a job + ${AsJob}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Wait for .NET debugger to attach + ${Break}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be appended to the front of the pipeline + ${HttpPipelineAppend}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be prepended to the front of the pipeline + ${HttpPipelinePrepend}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Run the command asynchronously + ${NoWait}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Runtime')] + [System.Uri] + # The URI for the proxy server to use + ${Proxy}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Runtime')] + [System.Management.Automation.PSCredential] + # Credentials for a proxy server to use for the remote call + ${ProxyCredential}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Use the default credentials for the proxy + ${ProxyUseDefaultCredentials} +) + +begin { + try { + $outBuffer = $null + if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { + $PSBoundParameters['OutBuffer'] = 1 + } + $parameterSet = $PSCmdlet.ParameterSetName + + if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) { + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString() + } + $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId + if ($preTelemetryId -eq '') { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId =(New-Guid).ToString() + [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.module]::Instance.Telemetry.Invoke('Create', $MyInvocation, $parameterSet, $PSCmdlet) + } else { + $internalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets + if ($internalCalledCmdlets -eq '') { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $MyInvocation.MyCommand.Name + } else { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets += ',' + $MyInvocation.MyCommand.Name + } + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = 'internal' + } + + $mapping = @{ + Reconcile = 'Az.ConnectedMachine.private\Invoke-AzConnectedReconcileNetworkSecurityPerimeterConfiguration_Reconcile'; + ReconcileViaIdentity = 'Az.ConnectedMachine.private\Invoke-AzConnectedReconcileNetworkSecurityPerimeterConfiguration_ReconcileViaIdentity'; + ReconcileViaIdentityPrivateLinkScope = 'Az.ConnectedMachine.private\Invoke-AzConnectedReconcileNetworkSecurityPerimeterConfiguration_ReconcileViaIdentityPrivateLinkScope'; + } + if (('Reconcile') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { + $testPlayback = $false + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } + if ($testPlayback) { + $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') + } else { + $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id + } + } + $cmdInfo = Get-Command -Name $mapping[$parameterSet] + [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) + } + $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) + $scriptCmd = {& $wrappedCmd @PSBoundParameters} + $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) + $steppablePipeline.Begin($PSCmdlet) + } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() + throw + } +} + +process { + try { + $steppablePipeline.Process($_) + } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() + throw + } + + finally { + $backupTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId + $backupInternalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() + } + +} +end { + try { + $steppablePipeline.End() + + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $backupTelemetryId + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $backupInternalCalledCmdlets + if ($preTelemetryId -eq '') { + [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.module]::Instance.Telemetry.Invoke('Send', $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() + } + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $preTelemetryId + + } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() + throw + } +} +} + +<# +.Synopsis +The operation to create a license. +.Description +The operation to create a license. +.Example +New-AzConnectedLicense -Name 'myESULicense' -ResourceGroupName 'ytongtest' -Location 'eastus2euap' -LicenseType 'ESU' -LicenseDetailState 'Activated' -LicenseDetailTarget 'Windows Server 2012' -LicenseDetailEdition 'Datacenter' -LicenseDetailType 'pCore' -LicenseDetailProcessor 16 -SubscriptionId ********-****-****-****-********** + +.Inputs +Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentity +.Inputs +Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicense +.Outputs +Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicense +.Notes +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + +INPUTOBJECT : Identity Parameter + [ExtensionName ]: The name of the machine extension. + [ExtensionType ]: The extensionType of the Extension being received. + [GroupName ]: The name of the private link resource. + [Id ]: Resource identity path + [LicenseName ]: The name of the license. + [LicenseProfileName ]: The name of the license profile. + [Location ]: The location of the Extension being received. + [MachineName ]: The name of the hybrid machine. + [Name ]: The name of the hybrid machine. + [PerimeterName ]: The name, in the format {perimeterGuid}.{associationName}, of the Network Security Perimeter resource. + [PrivateEndpointConnectionName ]: The name of the private endpoint connection. + [PrivateLinkScopeId ]: The id (Guid) of the Azure Arc PrivateLinkScope resource. + [Publisher ]: The publisher of the Extension being received. + [ResourceGroupName ]: The name of the resource group. The name is case insensitive. + [ScopeName ]: The name of the Azure Arc PrivateLinkScope resource. + [SubscriptionId ]: The ID of the target subscription. + [Version ]: The version of the Extension being received. + +LICENSEDETAILVOLUMELICENSEDETAIL : A list of volume license details. + [InvoiceId ]: The invoice id for the volume license. + [ProgramYear ]: Describes the program year the volume license is for. + +PARAMETER : Describes a license in a hybrid machine. + Location : The geo-location where the resource lives + [Tags ]: Resource tags. + [(Any) ]: This indicates any property can be added to this object. + [DetailEdition ]: Describes the edition of the license. The values are either Standard or Datacenter. + [DetailProcessor ]: Describes the number of processors. + [DetailState ]: Describes the state of the license. + [DetailTarget ]: Describes the license target server. + [DetailType ]: Describes the license core type (pCore or vCore). + [DetailVolumeLicenseDetail >]: A list of volume license details. + [InvoiceId ]: The invoice id for the volume license. + [ProgramYear ]: Describes the program year the volume license is for. + [LicenseType ]: The type of the license resource. + [TenantId ]: Describes the tenant id. +.Link +https://learn.microsoft.com/powershell/module/az.connectedmachine/new-azconnectedlicense +#> +function New-AzConnectedLicense { +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicense])] +[CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] +param( + [Parameter(ParameterSetName='Create', Mandatory)] + [Parameter(ParameterSetName='CreateExpanded', Mandatory)] + [Parameter(ParameterSetName='CreateViaJsonFilePath', Mandatory)] + [Parameter(ParameterSetName='CreateViaJsonString', Mandatory)] + [Alias('LicenseName')] + [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Path')] + [System.String] + # The name of the license. + ${Name}, + + [Parameter(ParameterSetName='Create', Mandatory)] + [Parameter(ParameterSetName='CreateExpanded', Mandatory)] + [Parameter(ParameterSetName='CreateViaJsonFilePath', Mandatory)] + [Parameter(ParameterSetName='CreateViaJsonString', Mandatory)] + [ArgumentCompleter({Get-AzResourceGroup | Select-Object -ExpandProperty ResourceGroupName})] + [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Path')] + [System.String] + # The name of the resource group. + # The name is case insensitive. + ${ResourceGroupName}, + + [Parameter(ParameterSetName='Create')] + [Parameter(ParameterSetName='CreateExpanded')] + [Parameter(ParameterSetName='CreateViaJsonFilePath')] + [Parameter(ParameterSetName='CreateViaJsonString')] + [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Path')] + [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] + [System.String] + # The ID of the target subscription. + ${SubscriptionId}, + + [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)] + [Parameter(ParameterSetName='CreateViaIdentityExpanded', Mandatory, ValueFromPipeline)] + [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Path')] + [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentity] + # Identity Parameter + ${InputObject}, + + [Parameter(ParameterSetName='Create', Mandatory, ValueFromPipeline)] + [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)] + [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicense] + # Describes a license in a hybrid machine. + ${Parameter}, + + [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Parameter(ParameterSetName='CreateViaIdentityExpanded', Mandatory)] [ArgumentCompleter({Get-AzLocation | Where-Object Providers -Contains "Microsoft.HybridCompute" | Select-Object -ExpandProperty Location})] [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] @@ -2307,58 +2342,40 @@ EXTENSIONPARAMETER : Describes a Machine Extension. [TypeHandlerVersion ]: Specifies the version of the script handler. INPUTOBJECT : Identity Parameter - [BaseProvider ]: The name of the base Resource Provider. - [BaseResourceName ]: The name of the base resource. - [BaseResourceType ]: The name of the base Resource Type. [ExtensionName ]: The name of the machine extension. [ExtensionType ]: The extensionType of the Extension being received. - [GatewayName ]: The name of the Gateway. [GroupName ]: The name of the private link resource. [Id ]: Resource identity path [LicenseName ]: The name of the license. [LicenseProfileName ]: The name of the license profile. [Location ]: The location of the Extension being received. [MachineName ]: The name of the hybrid machine. - [MetadataName ]: Name of the HybridIdentityMetadata. [Name ]: The name of the hybrid machine. - [OSType ]: Defines the os type. [PerimeterName ]: The name, in the format {perimeterGuid}.{associationName}, of the Network Security Perimeter resource. [PrivateEndpointConnectionName ]: The name of the private endpoint connection. [PrivateLinkScopeId ]: The id (Guid) of the Azure Arc PrivateLinkScope resource. [Publisher ]: The publisher of the Extension being received. [ResourceGroupName ]: The name of the resource group. The name is case insensitive. - [ResourceUri ]: The fully qualified Azure Resource manager identifier of the resource to be connected. - [RunCommandName ]: The name of the run command. [ScopeName ]: The name of the Azure Arc PrivateLinkScope resource. - [SettingsResourceName ]: The name of the settings resource. [SubscriptionId ]: The ID of the target subscription. [Version ]: The version of the Extension being received. MACHINEINPUTOBJECT : Identity Parameter - [BaseProvider ]: The name of the base Resource Provider. - [BaseResourceName ]: The name of the base resource. - [BaseResourceType ]: The name of the base Resource Type. [ExtensionName ]: The name of the machine extension. [ExtensionType ]: The extensionType of the Extension being received. - [GatewayName ]: The name of the Gateway. [GroupName ]: The name of the private link resource. [Id ]: Resource identity path [LicenseName ]: The name of the license. [LicenseProfileName ]: The name of the license profile. [Location ]: The location of the Extension being received. [MachineName ]: The name of the hybrid machine. - [MetadataName ]: Name of the HybridIdentityMetadata. [Name ]: The name of the hybrid machine. - [OSType ]: Defines the os type. [PerimeterName ]: The name, in the format {perimeterGuid}.{associationName}, of the Network Security Perimeter resource. [PrivateEndpointConnectionName ]: The name of the private endpoint connection. [PrivateLinkScopeId ]: The id (Guid) of the Azure Arc PrivateLinkScope resource. [Publisher ]: The publisher of the Extension being received. [ResourceGroupName ]: The name of the resource group. The name is case insensitive. - [ResourceUri ]: The fully qualified Azure Resource manager identifier of the resource to be connected. - [RunCommandName ]: The name of the run command. [ScopeName ]: The name of the Azure Arc PrivateLinkScope resource. - [SettingsResourceName ]: The name of the settings resource. [SubscriptionId ]: The ID of the target subscription. [Version ]: The version of the Extension being received. .Link @@ -2752,132 +2769,60 @@ end { <# .Synopsis -The operation to create a run command. -.Description -The operation to create a run command. +create (or create a Azure Arc PrivateLinkScope. +Note: You cannot specify a different value for InstrumentationKey nor AppId in the Put operation. +.Description +create (or create a Azure Arc PrivateLinkScope. +Note: You cannot specify a different value for InstrumentationKey nor AppId in the Put operation. .Example -New-AzConnectedMachineRunCommand -ResourceGroupName "az-sdk-test" -Location "eastus2euap" -SourceScript "Write-Host Hello World!" -RunCommandName "myRunCommand3" -MachineName "testmachine" -SubscriptionId ********-****-****-****-********** +New-AzConnectedPrivateLinkScope -ResourceGroupName $resourceGroupName -ScopeName $scopeName -PublicNetworkAccess "Enabled" -Location $location .Inputs Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentity .Inputs -Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand +Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridComputePrivateLinkScope .Outputs -Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand +Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridComputePrivateLinkScope .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. INPUTOBJECT : Identity Parameter - [BaseProvider ]: The name of the base Resource Provider. - [BaseResourceName ]: The name of the base resource. - [BaseResourceType ]: The name of the base Resource Type. - [ExtensionName ]: The name of the machine extension. - [ExtensionType ]: The extensionType of the Extension being received. - [GatewayName ]: The name of the Gateway. - [GroupName ]: The name of the private link resource. - [Id ]: Resource identity path - [LicenseName ]: The name of the license. - [LicenseProfileName ]: The name of the license profile. - [Location ]: The location of the Extension being received. - [MachineName ]: The name of the hybrid machine. - [MetadataName ]: Name of the HybridIdentityMetadata. - [Name ]: The name of the hybrid machine. - [OSType ]: Defines the os type. - [PerimeterName ]: The name, in the format {perimeterGuid}.{associationName}, of the Network Security Perimeter resource. - [PrivateEndpointConnectionName ]: The name of the private endpoint connection. - [PrivateLinkScopeId ]: The id (Guid) of the Azure Arc PrivateLinkScope resource. - [Publisher ]: The publisher of the Extension being received. - [ResourceGroupName ]: The name of the resource group. The name is case insensitive. - [ResourceUri ]: The fully qualified Azure Resource manager identifier of the resource to be connected. - [RunCommandName ]: The name of the run command. - [ScopeName ]: The name of the Azure Arc PrivateLinkScope resource. - [SettingsResourceName ]: The name of the settings resource. - [SubscriptionId ]: The ID of the target subscription. - [Version ]: The version of the Extension being received. - -MACHINEINPUTOBJECT : Identity Parameter - [BaseProvider ]: The name of the base Resource Provider. - [BaseResourceName ]: The name of the base resource. - [BaseResourceType ]: The name of the base Resource Type. [ExtensionName ]: The name of the machine extension. [ExtensionType ]: The extensionType of the Extension being received. - [GatewayName ]: The name of the Gateway. [GroupName ]: The name of the private link resource. [Id ]: Resource identity path [LicenseName ]: The name of the license. [LicenseProfileName ]: The name of the license profile. [Location ]: The location of the Extension being received. [MachineName ]: The name of the hybrid machine. - [MetadataName ]: Name of the HybridIdentityMetadata. [Name ]: The name of the hybrid machine. - [OSType ]: Defines the os type. [PerimeterName ]: The name, in the format {perimeterGuid}.{associationName}, of the Network Security Perimeter resource. [PrivateEndpointConnectionName ]: The name of the private endpoint connection. [PrivateLinkScopeId ]: The id (Guid) of the Azure Arc PrivateLinkScope resource. [Publisher ]: The publisher of the Extension being received. [ResourceGroupName ]: The name of the resource group. The name is case insensitive. - [ResourceUri ]: The fully qualified Azure Resource manager identifier of the resource to be connected. - [RunCommandName ]: The name of the run command. [ScopeName ]: The name of the Azure Arc PrivateLinkScope resource. - [SettingsResourceName ]: The name of the settings resource. [SubscriptionId ]: The ID of the target subscription. [Version ]: The version of the Extension being received. -PARAMETER : The parameters used by the script. - Name : The run command parameter name. - Value : The run command parameter value. - -PROTECTEDPARAMETER : The parameters used by the script. - Name : The run command parameter name. - Value : The run command parameter value. - -RUNCOMMANDPROPERTY : Describes a Run Command - Location : The geo-location where the resource lives - [Tags ]: Resource tags. +PARAMETER : An Azure Arc PrivateLinkScope definition. + Location : Resource location + [Tags ]: Resource tags [(Any) ]: This indicates any property can be added to this object. - [AsyncExecution ]: Optional. If set to true, provisioning will complete as soon as script starts and will not wait for script to complete. - [ErrorBlobManagedIdentityClientId ]: Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided. - [ErrorBlobManagedIdentityObjectId ]: Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided. - [ErrorBlobUri ]: Specifies the Azure storage blob where script error stream will be uploaded. Use a SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob. Refer errorBlobManagedIdentity parameter. - [OutputBlobManagedIdentityClientId ]: Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided. - [OutputBlobManagedIdentityObjectId ]: Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided. - [OutputBlobUri ]: Specifies the Azure storage blob where script output stream will be uploaded. Use a SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob. Refer outputBlobManagedIdentity parameter. - [Parameter >]: The parameters used by the script. - Name : The run command parameter name. - Value : The run command parameter value. - [ProtectedParameter >]: The parameters used by the script. - [RunAsPassword ]: Specifies the user account password on the machine when executing the run command. - [RunAsUser ]: Specifies the user account on the machine when executing the run command. - [ScriptUriManagedIdentityClientId ]: Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided. - [ScriptUriManagedIdentityObjectId ]: Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided. - [SourceCommandId ]: Specifies the commandId of predefined built-in script. - [SourceScript ]: Specifies the script content to be executed on the machine. - [SourceScriptUri ]: Specifies the script download location. It can be either SAS URI of an Azure storage blob with read access or public URI. - [TimeoutInSecond ]: The timeout in seconds to execute the run command. + [PublicNetworkAccess ]: Indicates whether machines associated with the private link scope can also use public Azure Arc service endpoints. .Link -https://learn.microsoft.com/powershell/module/az.connectedmachine/new-azconnectedmachineruncommand +https://learn.microsoft.com/powershell/module/az.connectedmachine/new-azconnectedprivatelinkscope #> -function New-AzConnectedMachineRunCommand { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand])] +function New-AzConnectedPrivateLinkScope { +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridComputePrivateLinkScope])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Create', Mandatory)] [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Parameter(ParameterSetName='CreateViaJsonFilePath', Mandatory)] [Parameter(ParameterSetName='CreateViaJsonString', Mandatory)] - [Parameter(ParameterSetName='ScriptLocalPath', Mandatory)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Path')] - [System.String] - # The name of the hybrid machine. - ${MachineName}, - - [Parameter(ParameterSetName='Create', Mandatory)] - [Parameter(ParameterSetName='CreateExpanded', Mandatory)] - [Parameter(ParameterSetName='CreateViaJsonFilePath', Mandatory)] - [Parameter(ParameterSetName='CreateViaJsonString', Mandatory)] - [Parameter(ParameterSetName='ScriptLocalPath', Mandatory)] [ArgumentCompleter({Get-AzResourceGroup | Select-Object -ExpandProperty ResourceGroupName})] [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Path')] [System.String] @@ -2887,21 +2832,17 @@ param( [Parameter(ParameterSetName='Create', Mandatory)] [Parameter(ParameterSetName='CreateExpanded', Mandatory)] - [Parameter(ParameterSetName='CreateViaIdentityMachine', Mandatory)] - [Parameter(ParameterSetName='CreateViaIdentityMachineExpanded', Mandatory)] [Parameter(ParameterSetName='CreateViaJsonFilePath', Mandatory)] [Parameter(ParameterSetName='CreateViaJsonString', Mandatory)] - [Parameter(ParameterSetName='ScriptLocalPath', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Path')] [System.String] - # The name of the run command. - ${RunCommandName}, + # The name of the Azure Arc PrivateLinkScope resource. + ${ScopeName}, [Parameter(ParameterSetName='Create')] [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaJsonFilePath')] [Parameter(ParameterSetName='CreateViaJsonString')] - [Parameter(ParameterSetName='ScriptLocalPath')] [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] @@ -2915,208 +2856,37 @@ param( # Identity Parameter ${InputObject}, - [Parameter(ParameterSetName='CreateViaIdentityMachine', Mandatory, ValueFromPipeline)] - [Parameter(ParameterSetName='CreateViaIdentityMachineExpanded', Mandatory, ValueFromPipeline)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Path')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentity] - # Identity Parameter - ${MachineInputObject}, - [Parameter(ParameterSetName='Create', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)] - [Parameter(ParameterSetName='CreateViaIdentityMachine', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand] - # Describes a Run Command - ${RunCommandProperty}, + [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridComputePrivateLinkScope] + # An Azure Arc PrivateLinkScope definition. + ${Parameter}, [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Parameter(ParameterSetName='CreateViaIdentityExpanded', Mandatory)] - [Parameter(ParameterSetName='CreateViaIdentityMachineExpanded', Mandatory)] - [Parameter(ParameterSetName='ScriptLocalPath', Mandatory)] [ArgumentCompleter({Get-AzLocation | Where-Object Providers -Contains "Microsoft.HybridCompute" | Select-Object -ExpandProperty Location})] [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] [System.String] - # The geo-location where the resource lives + # Resource location ${Location}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] - [Parameter(ParameterSetName='CreateViaIdentityMachineExpanded')] - [Parameter(ParameterSetName='ScriptLocalPath')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [System.Management.Automation.SwitchParameter] - # Optional. - # If set to true, provisioning will complete as soon as script starts and will not wait for script to complete. - ${AsyncExecution}, - - [Parameter(ParameterSetName='CreateExpanded')] - [Parameter(ParameterSetName='CreateViaIdentityExpanded')] - [Parameter(ParameterSetName='CreateViaIdentityMachineExpanded')] - [Parameter(ParameterSetName='ScriptLocalPath')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [System.String] - # Client Id (GUID value) of the user-assigned managed identity. - # ObjectId should not be used if this is provided. - ${ErrorBlobManagedIdentityClientId}, - - [Parameter(ParameterSetName='CreateExpanded')] - [Parameter(ParameterSetName='CreateViaIdentityExpanded')] - [Parameter(ParameterSetName='CreateViaIdentityMachineExpanded')] - [Parameter(ParameterSetName='ScriptLocalPath')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [System.String] - # Object Id (GUID value) of the user-assigned managed identity. - # ClientId should not be used if this is provided. - ${ErrorBlobManagedIdentityObjectId}, - - [Parameter(ParameterSetName='CreateExpanded')] - [Parameter(ParameterSetName='CreateViaIdentityExpanded')] - [Parameter(ParameterSetName='CreateViaIdentityMachineExpanded')] - [Parameter(ParameterSetName='ScriptLocalPath')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [System.String] - # Specifies the Azure storage blob where script error stream will be uploaded. - # Use a SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob. - # Refer errorBlobManagedIdentity parameter. - ${ErrorBlobUri}, - - [Parameter(ParameterSetName='CreateExpanded')] - [Parameter(ParameterSetName='CreateViaIdentityExpanded')] - [Parameter(ParameterSetName='CreateViaIdentityMachineExpanded')] - [Parameter(ParameterSetName='ScriptLocalPath')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [System.String] - # Client Id (GUID value) of the user-assigned managed identity. - # ObjectId should not be used if this is provided. - ${OutputBlobManagedIdentityClientId}, - - [Parameter(ParameterSetName='CreateExpanded')] - [Parameter(ParameterSetName='CreateViaIdentityExpanded')] - [Parameter(ParameterSetName='CreateViaIdentityMachineExpanded')] - [Parameter(ParameterSetName='ScriptLocalPath')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [System.String] - # Object Id (GUID value) of the user-assigned managed identity. - # ClientId should not be used if this is provided. - ${OutputBlobManagedIdentityObjectId}, - - [Parameter(ParameterSetName='CreateExpanded')] - [Parameter(ParameterSetName='CreateViaIdentityExpanded')] - [Parameter(ParameterSetName='CreateViaIdentityMachineExpanded')] - [Parameter(ParameterSetName='ScriptLocalPath')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [System.String] - # Specifies the Azure storage blob where script output stream will be uploaded. - # Use a SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob. - # Refer outputBlobManagedIdentity parameter. - ${OutputBlobUri}, - - [Parameter(ParameterSetName='CreateExpanded')] - [Parameter(ParameterSetName='CreateViaIdentityExpanded')] - [Parameter(ParameterSetName='CreateViaIdentityMachineExpanded')] - [Parameter(ParameterSetName='ScriptLocalPath')] - [AllowEmptyCollection()] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandInputParameter[]] - # The parameters used by the script. - ${Parameter}, - - [Parameter(ParameterSetName='CreateExpanded')] - [Parameter(ParameterSetName='CreateViaIdentityExpanded')] - [Parameter(ParameterSetName='CreateViaIdentityMachineExpanded')] - [Parameter(ParameterSetName='ScriptLocalPath')] - [AllowEmptyCollection()] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandInputParameter[]] - # The parameters used by the script. - ${ProtectedParameter}, - - [Parameter(ParameterSetName='CreateExpanded')] - [Parameter(ParameterSetName='CreateViaIdentityExpanded')] - [Parameter(ParameterSetName='CreateViaIdentityMachineExpanded')] - [Parameter(ParameterSetName='ScriptLocalPath')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [System.String] - # Specifies the user account password on the machine when executing the run command. - ${RunAsPassword}, - - [Parameter(ParameterSetName='CreateExpanded')] - [Parameter(ParameterSetName='CreateViaIdentityExpanded')] - [Parameter(ParameterSetName='CreateViaIdentityMachineExpanded')] - [Parameter(ParameterSetName='ScriptLocalPath')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [System.String] - # Specifies the user account on the machine when executing the run command. - ${RunAsUser}, - - [Parameter(ParameterSetName='CreateExpanded')] - [Parameter(ParameterSetName='CreateViaIdentityExpanded')] - [Parameter(ParameterSetName='CreateViaIdentityMachineExpanded')] - [Parameter(ParameterSetName='ScriptLocalPath')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [System.String] - # Client Id (GUID value) of the user-assigned managed identity. - # ObjectId should not be used if this is provided. - ${ScriptUriManagedIdentityClientId}, - - [Parameter(ParameterSetName='CreateExpanded')] - [Parameter(ParameterSetName='CreateViaIdentityExpanded')] - [Parameter(ParameterSetName='CreateViaIdentityMachineExpanded')] - [Parameter(ParameterSetName='ScriptLocalPath')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [System.String] - # Object Id (GUID value) of the user-assigned managed identity. - # ClientId should not be used if this is provided. - ${ScriptUriManagedIdentityObjectId}, - - [Parameter(ParameterSetName='CreateExpanded')] - [Parameter(ParameterSetName='CreateViaIdentityExpanded')] - [Parameter(ParameterSetName='CreateViaIdentityMachineExpanded')] - [Parameter(ParameterSetName='ScriptLocalPath')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [System.String] - # Specifies the commandId of predefined built-in script. - ${SourceCommandId}, - - [Parameter(ParameterSetName='CreateExpanded')] - [Parameter(ParameterSetName='CreateViaIdentityExpanded')] - [Parameter(ParameterSetName='CreateViaIdentityMachineExpanded')] - [Parameter(ParameterSetName='ScriptLocalPath')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [System.String] - # Specifies the script content to be executed on the machine. - ${SourceScript}, - - [Parameter(ParameterSetName='CreateExpanded')] - [Parameter(ParameterSetName='CreateViaIdentityExpanded')] - [Parameter(ParameterSetName='CreateViaIdentityMachineExpanded')] - [Parameter(ParameterSetName='ScriptLocalPath')] + [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PSArgumentCompleterAttribute("Enabled", "Disabled", "SecuredByPerimeter")] [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] [System.String] - # Specifies the script download location. - # It can be either SAS URI of an Azure storage blob with read access or public URI. - ${SourceScriptUri}, + # Indicates whether machines associated with the private link scope can also use public Azure Arc service endpoints. + ${PublicNetworkAccess}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] - [Parameter(ParameterSetName='CreateViaIdentityMachineExpanded')] - [Parameter(ParameterSetName='ScriptLocalPath')] [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceTags]))] + [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IPrivateLinkScopesResourceTags]))] [System.Collections.Hashtable] - # Resource tags. + # Resource tags ${Tag}, - [Parameter(ParameterSetName='CreateExpanded')] - [Parameter(ParameterSetName='CreateViaIdentityExpanded')] - [Parameter(ParameterSetName='CreateViaIdentityMachineExpanded')] - [Parameter(ParameterSetName='ScriptLocalPath')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [System.Int32] - # The timeout in seconds to execute the run command. - ${TimeoutInSecond}, - [Parameter(ParameterSetName='CreateViaJsonFilePath', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] [System.String] @@ -3129,11 +2899,6 @@ param( # Json string supplied to the Create operation ${JsonString}, - [Parameter(ParameterSetName='ScriptLocalPath')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [System.String] - ${ScriptLocalPath}, - [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] @@ -3143,12 +2908,6 @@ param( # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Runtime')] - [System.Management.Automation.SwitchParameter] - # Run the command as a job - ${AsJob}, - [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Runtime')] [System.Management.Automation.SwitchParameter] @@ -3169,12 +2928,6 @@ param( # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Runtime')] - [System.Management.Automation.SwitchParameter] - # Run the command asynchronously - ${NoWait}, - [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Runtime')] [System.Uri] @@ -3221,17 +2974,14 @@ begin { } $mapping = @{ - Create = 'Az.ConnectedMachine.private\New-AzConnectedMachineRunCommand_Create'; - CreateExpanded = 'Az.ConnectedMachine.private\New-AzConnectedMachineRunCommand_CreateExpanded'; - CreateViaIdentity = 'Az.ConnectedMachine.private\New-AzConnectedMachineRunCommand_CreateViaIdentity'; - CreateViaIdentityExpanded = 'Az.ConnectedMachine.private\New-AzConnectedMachineRunCommand_CreateViaIdentityExpanded'; - CreateViaIdentityMachine = 'Az.ConnectedMachine.private\New-AzConnectedMachineRunCommand_CreateViaIdentityMachine'; - CreateViaIdentityMachineExpanded = 'Az.ConnectedMachine.private\New-AzConnectedMachineRunCommand_CreateViaIdentityMachineExpanded'; - CreateViaJsonFilePath = 'Az.ConnectedMachine.private\New-AzConnectedMachineRunCommand_CreateViaJsonFilePath'; - CreateViaJsonString = 'Az.ConnectedMachine.private\New-AzConnectedMachineRunCommand_CreateViaJsonString'; - ScriptLocalPath = 'Az.ConnectedMachine.custom\New-AzConnectedMachineRunCommand_ScriptLocalPath'; - } - if (('Create', 'CreateExpanded', 'CreateViaJsonFilePath', 'CreateViaJsonString', 'ScriptLocalPath') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { + Create = 'Az.ConnectedMachine.private\New-AzConnectedPrivateLinkScope_Create'; + CreateExpanded = 'Az.ConnectedMachine.private\New-AzConnectedPrivateLinkScope_CreateExpanded'; + CreateViaIdentity = 'Az.ConnectedMachine.private\New-AzConnectedPrivateLinkScope_CreateViaIdentity'; + CreateViaIdentityExpanded = 'Az.ConnectedMachine.private\New-AzConnectedPrivateLinkScope_CreateViaIdentityExpanded'; + CreateViaJsonFilePath = 'Az.ConnectedMachine.private\New-AzConnectedPrivateLinkScope_CreateViaJsonFilePath'; + CreateViaJsonString = 'Az.ConnectedMachine.private\New-AzConnectedPrivateLinkScope_CreateViaJsonString'; + } + if (('Create', 'CreateExpanded', 'CreateViaJsonFilePath', 'CreateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { $testPlayback = $false $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { @@ -3292,69 +3042,54 @@ end { <# .Synopsis -create (or create a Azure Arc PrivateLinkScope. -Note: You cannot specify a different value for InstrumentationKey nor AppId in the Put operation. +The operation to delete a license. .Description -create (or create a Azure Arc PrivateLinkScope. -Note: You cannot specify a different value for InstrumentationKey nor AppId in the Put operation. +The operation to delete a license. .Example -New-AzConnectedPrivateLinkScope -ResourceGroupName $resourceGroupName -ScopeName $scopeName -PublicNetworkAccess "Enabled" -Location $location +Remove-AzConnectedLicense -Name 'myESULicense' -ResourceGroupName 'ytongtest' -SubscriptionId ********-****-****-****-********** .Inputs Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentity -.Inputs -Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridComputePrivateLinkScope .Outputs -Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridComputePrivateLinkScope +System.Boolean .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. INPUTOBJECT : Identity Parameter - [BaseProvider ]: The name of the base Resource Provider. - [BaseResourceName ]: The name of the base resource. - [BaseResourceType ]: The name of the base Resource Type. [ExtensionName ]: The name of the machine extension. [ExtensionType ]: The extensionType of the Extension being received. - [GatewayName ]: The name of the Gateway. [GroupName ]: The name of the private link resource. [Id ]: Resource identity path [LicenseName ]: The name of the license. [LicenseProfileName ]: The name of the license profile. [Location ]: The location of the Extension being received. [MachineName ]: The name of the hybrid machine. - [MetadataName ]: Name of the HybridIdentityMetadata. [Name ]: The name of the hybrid machine. - [OSType ]: Defines the os type. [PerimeterName ]: The name, in the format {perimeterGuid}.{associationName}, of the Network Security Perimeter resource. [PrivateEndpointConnectionName ]: The name of the private endpoint connection. [PrivateLinkScopeId ]: The id (Guid) of the Azure Arc PrivateLinkScope resource. [Publisher ]: The publisher of the Extension being received. [ResourceGroupName ]: The name of the resource group. The name is case insensitive. - [ResourceUri ]: The fully qualified Azure Resource manager identifier of the resource to be connected. - [RunCommandName ]: The name of the run command. [ScopeName ]: The name of the Azure Arc PrivateLinkScope resource. - [SettingsResourceName ]: The name of the settings resource. [SubscriptionId ]: The ID of the target subscription. [Version ]: The version of the Extension being received. - -PARAMETER : An Azure Arc PrivateLinkScope definition. - Location : Resource location - [Tags ]: Resource tags - [(Any) ]: This indicates any property can be added to this object. - [PublicNetworkAccess ]: Indicates whether machines associated with the private link scope can also use public Azure Arc service endpoints. .Link -https://learn.microsoft.com/powershell/module/az.connectedmachine/new-azconnectedprivatelinkscope +https://learn.microsoft.com/powershell/module/az.connectedmachine/remove-azconnectedlicense #> -function New-AzConnectedPrivateLinkScope { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridComputePrivateLinkScope])] -[CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] +function Remove-AzConnectedLicense { +[OutputType([System.Boolean])] +[CmdletBinding(DefaultParameterSetName='Delete', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( - [Parameter(ParameterSetName='Create', Mandatory)] - [Parameter(ParameterSetName='CreateExpanded', Mandatory)] - [Parameter(ParameterSetName='CreateViaJsonFilePath', Mandatory)] - [Parameter(ParameterSetName='CreateViaJsonString', Mandatory)] + [Parameter(ParameterSetName='Delete', Mandatory)] + [Alias('LicenseName')] + [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Path')] + [System.String] + # The name of the license. + ${Name}, + + [Parameter(ParameterSetName='Delete', Mandatory)] [ArgumentCompleter({Get-AzResourceGroup | Select-Object -ExpandProperty ResourceGroupName})] [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Path')] [System.String] @@ -3362,75 +3097,19 @@ param( # The name is case insensitive. ${ResourceGroupName}, - [Parameter(ParameterSetName='Create', Mandatory)] - [Parameter(ParameterSetName='CreateExpanded', Mandatory)] - [Parameter(ParameterSetName='CreateViaJsonFilePath', Mandatory)] - [Parameter(ParameterSetName='CreateViaJsonString', Mandatory)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Path')] - [System.String] - # The name of the Azure Arc PrivateLinkScope resource. - ${ScopeName}, - - [Parameter(ParameterSetName='Create')] - [Parameter(ParameterSetName='CreateExpanded')] - [Parameter(ParameterSetName='CreateViaJsonFilePath')] - [Parameter(ParameterSetName='CreateViaJsonString')] + [Parameter(ParameterSetName='Delete')] [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # The ID of the target subscription. ${SubscriptionId}, - [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)] - [Parameter(ParameterSetName='CreateViaIdentityExpanded', Mandatory, ValueFromPipeline)] + [Parameter(ParameterSetName='DeleteViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentity] # Identity Parameter ${InputObject}, - [Parameter(ParameterSetName='Create', Mandatory, ValueFromPipeline)] - [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridComputePrivateLinkScope] - # An Azure Arc PrivateLinkScope definition. - ${Parameter}, - - [Parameter(ParameterSetName='CreateExpanded', Mandatory)] - [Parameter(ParameterSetName='CreateViaIdentityExpanded', Mandatory)] - [ArgumentCompleter({Get-AzLocation | Where-Object Providers -Contains "Microsoft.HybridCompute" | Select-Object -ExpandProperty Location})] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [System.String] - # Resource location - ${Location}, - - [Parameter(ParameterSetName='CreateExpanded')] - [Parameter(ParameterSetName='CreateViaIdentityExpanded')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PSArgumentCompleterAttribute("Enabled", "Disabled", "SecuredByPerimeter")] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [System.String] - # Indicates whether machines associated with the private link scope can also use public Azure Arc service endpoints. - ${PublicNetworkAccess}, - - [Parameter(ParameterSetName='CreateExpanded')] - [Parameter(ParameterSetName='CreateViaIdentityExpanded')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IPrivateLinkScopesResourceTags]))] - [System.Collections.Hashtable] - # Resource tags - ${Tag}, - - [Parameter(ParameterSetName='CreateViaJsonFilePath', Mandatory)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [System.String] - # Path of Json file supplied to the Create operation - ${JsonFilePath}, - - [Parameter(ParameterSetName='CreateViaJsonString', Mandatory)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [System.String] - # Json string supplied to the Create operation - ${JsonString}, - [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] @@ -3440,6 +3119,12 @@ param( # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Run the command as a job + ${AsJob}, + [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Runtime')] [System.Management.Automation.SwitchParameter] @@ -3460,6 +3145,18 @@ param( # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Run the command asynchronously + ${NoWait}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Returns true when the command succeeds + ${PassThru}, + [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Runtime')] [System.Uri] @@ -3506,14 +3203,10 @@ begin { } $mapping = @{ - Create = 'Az.ConnectedMachine.private\New-AzConnectedPrivateLinkScope_Create'; - CreateExpanded = 'Az.ConnectedMachine.private\New-AzConnectedPrivateLinkScope_CreateExpanded'; - CreateViaIdentity = 'Az.ConnectedMachine.private\New-AzConnectedPrivateLinkScope_CreateViaIdentity'; - CreateViaIdentityExpanded = 'Az.ConnectedMachine.private\New-AzConnectedPrivateLinkScope_CreateViaIdentityExpanded'; - CreateViaJsonFilePath = 'Az.ConnectedMachine.private\New-AzConnectedPrivateLinkScope_CreateViaJsonFilePath'; - CreateViaJsonString = 'Az.ConnectedMachine.private\New-AzConnectedPrivateLinkScope_CreateViaJsonString'; + Delete = 'Az.ConnectedMachine.private\Remove-AzConnectedLicense_Delete'; + DeleteViaIdentity = 'Az.ConnectedMachine.private\Remove-AzConnectedLicense_DeleteViaIdentity'; } - if (('Create', 'CreateExpanded', 'CreateViaJsonFilePath', 'CreateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { + if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { $testPlayback = $false $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { @@ -3574,11 +3267,13 @@ end { <# .Synopsis -The operation to delete a license. +The operation to delete the extension. .Description -The operation to delete a license. +The operation to delete the extension. .Example -Remove-AzConnectedLicense -Name 'myESULicense' -ResourceGroupName 'ytongtest' -SubscriptionId ********-****-****-****-********** +Remove-AzConnectedMachineExtension -MachineName myMachine -ResourceGroupName myRG -Name custom +.Example +Get-AzConnectedMachineExtension -ResourceGroupName contoso-connected-machines -MachineName myMachine | Remove-AzConnectedMachineExtension .Inputs Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentity @@ -3590,44 +3285,60 @@ COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. INPUTOBJECT : Identity Parameter - [BaseProvider ]: The name of the base Resource Provider. - [BaseResourceName ]: The name of the base resource. - [BaseResourceType ]: The name of the base Resource Type. [ExtensionName ]: The name of the machine extension. [ExtensionType ]: The extensionType of the Extension being received. - [GatewayName ]: The name of the Gateway. [GroupName ]: The name of the private link resource. [Id ]: Resource identity path [LicenseName ]: The name of the license. [LicenseProfileName ]: The name of the license profile. [Location ]: The location of the Extension being received. [MachineName ]: The name of the hybrid machine. - [MetadataName ]: Name of the HybridIdentityMetadata. [Name ]: The name of the hybrid machine. - [OSType ]: Defines the os type. [PerimeterName ]: The name, in the format {perimeterGuid}.{associationName}, of the Network Security Perimeter resource. [PrivateEndpointConnectionName ]: The name of the private endpoint connection. [PrivateLinkScopeId ]: The id (Guid) of the Azure Arc PrivateLinkScope resource. [Publisher ]: The publisher of the Extension being received. [ResourceGroupName ]: The name of the resource group. The name is case insensitive. - [ResourceUri ]: The fully qualified Azure Resource manager identifier of the resource to be connected. - [RunCommandName ]: The name of the run command. [ScopeName ]: The name of the Azure Arc PrivateLinkScope resource. - [SettingsResourceName ]: The name of the settings resource. + [SubscriptionId ]: The ID of the target subscription. + [Version ]: The version of the Extension being received. + +MACHINEINPUTOBJECT : Identity Parameter + [ExtensionName ]: The name of the machine extension. + [ExtensionType ]: The extensionType of the Extension being received. + [GroupName ]: The name of the private link resource. + [Id ]: Resource identity path + [LicenseName ]: The name of the license. + [LicenseProfileName ]: The name of the license profile. + [Location ]: The location of the Extension being received. + [MachineName ]: The name of the hybrid machine. + [Name ]: The name of the hybrid machine. + [PerimeterName ]: The name, in the format {perimeterGuid}.{associationName}, of the Network Security Perimeter resource. + [PrivateEndpointConnectionName ]: The name of the private endpoint connection. + [PrivateLinkScopeId ]: The id (Guid) of the Azure Arc PrivateLinkScope resource. + [Publisher ]: The publisher of the Extension being received. + [ResourceGroupName ]: The name of the resource group. The name is case insensitive. + [ScopeName ]: The name of the Azure Arc PrivateLinkScope resource. [SubscriptionId ]: The ID of the target subscription. [Version ]: The version of the Extension being received. .Link -https://learn.microsoft.com/powershell/module/az.connectedmachine/remove-azconnectedlicense +https://learn.microsoft.com/powershell/module/az.connectedmachine/remove-azconnectedmachineextension #> -function Remove-AzConnectedLicense { +function Remove-AzConnectedMachineExtension { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='Delete', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Delete', Mandatory)] - [Alias('LicenseName')] [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Path')] [System.String] - # The name of the license. + # The name of the machine where the extension should be deleted. + ${MachineName}, + + [Parameter(ParameterSetName='Delete', Mandatory)] + [Parameter(ParameterSetName='DeleteViaIdentityMachine', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Path')] + [System.String] + # The name of the machine extension. ${Name}, [Parameter(ParameterSetName='Delete', Mandatory)] @@ -3651,6 +3362,12 @@ param( # Identity Parameter ${InputObject}, + [Parameter(ParameterSetName='DeleteViaIdentityMachine', Mandatory, ValueFromPipeline)] + [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Path')] + [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentity] + # Identity Parameter + ${MachineInputObject}, + [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] @@ -3744,8 +3461,9 @@ begin { } $mapping = @{ - Delete = 'Az.ConnectedMachine.private\Remove-AzConnectedLicense_Delete'; - DeleteViaIdentity = 'Az.ConnectedMachine.private\Remove-AzConnectedLicense_DeleteViaIdentity'; + Delete = 'Az.ConnectedMachine.private\Remove-AzConnectedMachineExtension_Delete'; + DeleteViaIdentity = 'Az.ConnectedMachine.private\Remove-AzConnectedMachineExtension_DeleteViaIdentity'; + DeleteViaIdentityMachine = 'Az.ConnectedMachine.private\Remove-AzConnectedMachineExtension_DeleteViaIdentityMachine'; } if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { $testPlayback = $false @@ -3808,13 +3526,13 @@ end { <# .Synopsis -The operation to delete the extension. +The operation to delete a hybrid machine. .Description -The operation to delete the extension. +The operation to delete a hybrid machine. .Example -Remove-AzConnectedMachineExtension -MachineName myMachine -ResourceGroupName myRG -Name custom +Remove-AzConnectedMachine -Name myMachine -ResourceGroupName myRG .Example -Get-AzConnectedMachineExtension -ResourceGroupName contoso-connected-machines -MachineName myMachine | Remove-AzConnectedMachineExtension +Get-AzConnectedMachine -ResourceGroupName contoso-connected-machines | Remove-AzConnectedMachine .Inputs Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentity @@ -3826,78 +3544,35 @@ COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. INPUTOBJECT : Identity Parameter - [BaseProvider ]: The name of the base Resource Provider. - [BaseResourceName ]: The name of the base resource. - [BaseResourceType ]: The name of the base Resource Type. - [ExtensionName ]: The name of the machine extension. - [ExtensionType ]: The extensionType of the Extension being received. - [GatewayName ]: The name of the Gateway. - [GroupName ]: The name of the private link resource. - [Id ]: Resource identity path - [LicenseName ]: The name of the license. - [LicenseProfileName ]: The name of the license profile. - [Location ]: The location of the Extension being received. - [MachineName ]: The name of the hybrid machine. - [MetadataName ]: Name of the HybridIdentityMetadata. - [Name ]: The name of the hybrid machine. - [OSType ]: Defines the os type. - [PerimeterName ]: The name, in the format {perimeterGuid}.{associationName}, of the Network Security Perimeter resource. - [PrivateEndpointConnectionName ]: The name of the private endpoint connection. - [PrivateLinkScopeId ]: The id (Guid) of the Azure Arc PrivateLinkScope resource. - [Publisher ]: The publisher of the Extension being received. - [ResourceGroupName ]: The name of the resource group. The name is case insensitive. - [ResourceUri ]: The fully qualified Azure Resource manager identifier of the resource to be connected. - [RunCommandName ]: The name of the run command. - [ScopeName ]: The name of the Azure Arc PrivateLinkScope resource. - [SettingsResourceName ]: The name of the settings resource. - [SubscriptionId ]: The ID of the target subscription. - [Version ]: The version of the Extension being received. - -MACHINEINPUTOBJECT : Identity Parameter - [BaseProvider ]: The name of the base Resource Provider. - [BaseResourceName ]: The name of the base resource. - [BaseResourceType ]: The name of the base Resource Type. [ExtensionName ]: The name of the machine extension. [ExtensionType ]: The extensionType of the Extension being received. - [GatewayName ]: The name of the Gateway. [GroupName ]: The name of the private link resource. [Id ]: Resource identity path [LicenseName ]: The name of the license. [LicenseProfileName ]: The name of the license profile. [Location ]: The location of the Extension being received. [MachineName ]: The name of the hybrid machine. - [MetadataName ]: Name of the HybridIdentityMetadata. [Name ]: The name of the hybrid machine. - [OSType ]: Defines the os type. [PerimeterName ]: The name, in the format {perimeterGuid}.{associationName}, of the Network Security Perimeter resource. [PrivateEndpointConnectionName ]: The name of the private endpoint connection. [PrivateLinkScopeId ]: The id (Guid) of the Azure Arc PrivateLinkScope resource. [Publisher ]: The publisher of the Extension being received. [ResourceGroupName ]: The name of the resource group. The name is case insensitive. - [ResourceUri ]: The fully qualified Azure Resource manager identifier of the resource to be connected. - [RunCommandName ]: The name of the run command. [ScopeName ]: The name of the Azure Arc PrivateLinkScope resource. - [SettingsResourceName ]: The name of the settings resource. [SubscriptionId ]: The ID of the target subscription. [Version ]: The version of the Extension being received. .Link -https://learn.microsoft.com/powershell/module/az.connectedmachine/remove-azconnectedmachineextension +https://learn.microsoft.com/powershell/module/az.connectedmachine/remove-azconnectedmachine #> -function Remove-AzConnectedMachineExtension { +function Remove-AzConnectedMachine { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='Delete', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Delete', Mandatory)] + [Alias('MachineName')] [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Path')] [System.String] - # The name of the machine where the extension should be deleted. - ${MachineName}, - - [Parameter(ParameterSetName='Delete', Mandatory)] - [Parameter(ParameterSetName='DeleteViaIdentityMachine', Mandatory)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Path')] - [System.String] - # The name of the machine extension. + # The name of the hybrid machine. ${Name}, [Parameter(ParameterSetName='Delete', Mandatory)] @@ -3921,12 +3596,6 @@ param( # Identity Parameter ${InputObject}, - [Parameter(ParameterSetName='DeleteViaIdentityMachine', Mandatory, ValueFromPipeline)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Path')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentity] - # Identity Parameter - ${MachineInputObject}, - [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] @@ -3936,12 +3605,6 @@ param( # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Runtime')] - [System.Management.Automation.SwitchParameter] - # Run the command as a job - ${AsJob}, - [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Runtime')] [System.Management.Automation.SwitchParameter] @@ -3962,12 +3625,6 @@ param( # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Runtime')] - [System.Management.Automation.SwitchParameter] - # Run the command asynchronously - ${NoWait}, - [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Runtime')] [System.Management.Automation.SwitchParameter] @@ -4020,9 +3677,8 @@ begin { } $mapping = @{ - Delete = 'Az.ConnectedMachine.private\Remove-AzConnectedMachineExtension_Delete'; - DeleteViaIdentity = 'Az.ConnectedMachine.private\Remove-AzConnectedMachineExtension_DeleteViaIdentity'; - DeleteViaIdentityMachine = 'Az.ConnectedMachine.private\Remove-AzConnectedMachineExtension_DeleteViaIdentityMachine'; + Delete = 'Az.ConnectedMachine.private\Remove-AzConnectedMachine_Delete'; + DeleteViaIdentity = 'Az.ConnectedMachine.private\Remove-AzConnectedMachine_DeleteViaIdentity'; } if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { $testPlayback = $false @@ -4085,11 +3741,11 @@ end { <# .Synopsis -The operation to delete a run command. +Deletes a Azure Arc PrivateLinkScope. .Description -The operation to delete a run command. +Deletes a Azure Arc PrivateLinkScope. .Example -Remove-AzConnectedMachineRunCommand -ResourceGroupName "az-sdk-test" -RunCommandName "myRunCommand3" -MachineName "testmachine" +Remove-AzConnectedPrivateLinkScope -ResourceGroupName $resourceGroupName -ScopeName $scopeName .Inputs Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentity @@ -4101,73 +3757,30 @@ COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. INPUTOBJECT : Identity Parameter - [BaseProvider ]: The name of the base Resource Provider. - [BaseResourceName ]: The name of the base resource. - [BaseResourceType ]: The name of the base Resource Type. - [ExtensionName ]: The name of the machine extension. - [ExtensionType ]: The extensionType of the Extension being received. - [GatewayName ]: The name of the Gateway. - [GroupName ]: The name of the private link resource. - [Id ]: Resource identity path - [LicenseName ]: The name of the license. - [LicenseProfileName ]: The name of the license profile. - [Location ]: The location of the Extension being received. - [MachineName ]: The name of the hybrid machine. - [MetadataName ]: Name of the HybridIdentityMetadata. - [Name ]: The name of the hybrid machine. - [OSType ]: Defines the os type. - [PerimeterName ]: The name, in the format {perimeterGuid}.{associationName}, of the Network Security Perimeter resource. - [PrivateEndpointConnectionName ]: The name of the private endpoint connection. - [PrivateLinkScopeId ]: The id (Guid) of the Azure Arc PrivateLinkScope resource. - [Publisher ]: The publisher of the Extension being received. - [ResourceGroupName ]: The name of the resource group. The name is case insensitive. - [ResourceUri ]: The fully qualified Azure Resource manager identifier of the resource to be connected. - [RunCommandName ]: The name of the run command. - [ScopeName ]: The name of the Azure Arc PrivateLinkScope resource. - [SettingsResourceName ]: The name of the settings resource. - [SubscriptionId ]: The ID of the target subscription. - [Version ]: The version of the Extension being received. - -MACHINEINPUTOBJECT : Identity Parameter - [BaseProvider ]: The name of the base Resource Provider. - [BaseResourceName ]: The name of the base resource. - [BaseResourceType ]: The name of the base Resource Type. [ExtensionName ]: The name of the machine extension. [ExtensionType ]: The extensionType of the Extension being received. - [GatewayName ]: The name of the Gateway. [GroupName ]: The name of the private link resource. [Id ]: Resource identity path [LicenseName ]: The name of the license. [LicenseProfileName ]: The name of the license profile. [Location ]: The location of the Extension being received. [MachineName ]: The name of the hybrid machine. - [MetadataName ]: Name of the HybridIdentityMetadata. [Name ]: The name of the hybrid machine. - [OSType ]: Defines the os type. [PerimeterName ]: The name, in the format {perimeterGuid}.{associationName}, of the Network Security Perimeter resource. [PrivateEndpointConnectionName ]: The name of the private endpoint connection. [PrivateLinkScopeId ]: The id (Guid) of the Azure Arc PrivateLinkScope resource. [Publisher ]: The publisher of the Extension being received. [ResourceGroupName ]: The name of the resource group. The name is case insensitive. - [ResourceUri ]: The fully qualified Azure Resource manager identifier of the resource to be connected. - [RunCommandName ]: The name of the run command. [ScopeName ]: The name of the Azure Arc PrivateLinkScope resource. - [SettingsResourceName ]: The name of the settings resource. [SubscriptionId ]: The ID of the target subscription. [Version ]: The version of the Extension being received. .Link -https://learn.microsoft.com/powershell/module/az.connectedmachine/remove-azconnectedmachineruncommand +https://learn.microsoft.com/powershell/module/az.connectedmachine/remove-azconnectedprivatelinkscope #> -function Remove-AzConnectedMachineRunCommand { +function Remove-AzConnectedPrivateLinkScope { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='Delete', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( - [Parameter(ParameterSetName='Delete', Mandatory)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Path')] - [System.String] - # The name of the hybrid machine. - ${MachineName}, - [Parameter(ParameterSetName='Delete', Mandatory)] [ArgumentCompleter({Get-AzResourceGroup | Select-Object -ExpandProperty ResourceGroupName})] [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Path')] @@ -4177,11 +3790,10 @@ param( ${ResourceGroupName}, [Parameter(ParameterSetName='Delete', Mandatory)] - [Parameter(ParameterSetName='DeleteViaIdentityMachine', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Path')] [System.String] - # The name of the run command. - ${RunCommandName}, + # The name of the Azure Arc PrivateLinkScope resource. + ${ScopeName}, [Parameter(ParameterSetName='Delete')] [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Path')] @@ -4196,12 +3808,6 @@ param( # Identity Parameter ${InputObject}, - [Parameter(ParameterSetName='DeleteViaIdentityMachine', Mandatory, ValueFromPipeline)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Path')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentity] - # Identity Parameter - ${MachineInputObject}, - [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] @@ -4295,9 +3901,8 @@ begin { } $mapping = @{ - Delete = 'Az.ConnectedMachine.private\Remove-AzConnectedMachineRunCommand_Delete'; - DeleteViaIdentity = 'Az.ConnectedMachine.private\Remove-AzConnectedMachineRunCommand_DeleteViaIdentity'; - DeleteViaIdentityMachine = 'Az.ConnectedMachine.private\Remove-AzConnectedMachineRunCommand_DeleteViaIdentityMachine'; + Delete = 'Az.ConnectedMachine.private\Remove-AzConnectedPrivateLinkScope_Delete'; + DeleteViaIdentity = 'Az.ConnectedMachine.private\Remove-AzConnectedPrivateLinkScope_DeleteViaIdentity'; } if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { $testPlayback = $false @@ -4360,473 +3965,16 @@ end { <# .Synopsis -The operation to delete a hybrid machine. +The operation to update a license. .Description -The operation to delete a hybrid machine. -.Example -Remove-AzConnectedMachine -Name myMachine -ResourceGroupName myRG +The operation to update a license. .Example -Get-AzConnectedMachine -ResourceGroupName contoso-connected-machines | Remove-AzConnectedMachine +Set-AzConnectedLicense -Name 'myESULicense' -ResourceGroupName 'ytongtest' -Location 'eastus2euap' -LicenseType 'ESU' -LicenseDetailState 'Deactivated' -LicenseDetailTarget 'Windows Server 2012' -LicenseDetailEdition 'Datacenter' -LicenseDetailType 'pCore' -LicenseDetailProcessor 16 -SubscriptionId ********-****-****-****-********** .Inputs -Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentity +Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicense .Outputs -System.Boolean -.Notes -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - -INPUTOBJECT : Identity Parameter - [BaseProvider ]: The name of the base Resource Provider. - [BaseResourceName ]: The name of the base resource. - [BaseResourceType ]: The name of the base Resource Type. - [ExtensionName ]: The name of the machine extension. - [ExtensionType ]: The extensionType of the Extension being received. - [GatewayName ]: The name of the Gateway. - [GroupName ]: The name of the private link resource. - [Id ]: Resource identity path - [LicenseName ]: The name of the license. - [LicenseProfileName ]: The name of the license profile. - [Location ]: The location of the Extension being received. - [MachineName ]: The name of the hybrid machine. - [MetadataName ]: Name of the HybridIdentityMetadata. - [Name ]: The name of the hybrid machine. - [OSType ]: Defines the os type. - [PerimeterName ]: The name, in the format {perimeterGuid}.{associationName}, of the Network Security Perimeter resource. - [PrivateEndpointConnectionName ]: The name of the private endpoint connection. - [PrivateLinkScopeId ]: The id (Guid) of the Azure Arc PrivateLinkScope resource. - [Publisher ]: The publisher of the Extension being received. - [ResourceGroupName ]: The name of the resource group. The name is case insensitive. - [ResourceUri ]: The fully qualified Azure Resource manager identifier of the resource to be connected. - [RunCommandName ]: The name of the run command. - [ScopeName ]: The name of the Azure Arc PrivateLinkScope resource. - [SettingsResourceName ]: The name of the settings resource. - [SubscriptionId ]: The ID of the target subscription. - [Version ]: The version of the Extension being received. -.Link -https://learn.microsoft.com/powershell/module/az.connectedmachine/remove-azconnectedmachine -#> -function Remove-AzConnectedMachine { -[OutputType([System.Boolean])] -[CmdletBinding(DefaultParameterSetName='Delete', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] -param( - [Parameter(ParameterSetName='Delete', Mandatory)] - [Alias('MachineName')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Path')] - [System.String] - # The name of the hybrid machine. - ${Name}, - - [Parameter(ParameterSetName='Delete', Mandatory)] - [ArgumentCompleter({Get-AzResourceGroup | Select-Object -ExpandProperty ResourceGroupName})] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Path')] - [System.String] - # The name of the resource group. - # The name is case insensitive. - ${ResourceGroupName}, - - [Parameter(ParameterSetName='Delete')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Path')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] - [System.String] - # The ID of the target subscription. - ${SubscriptionId}, - - [Parameter(ParameterSetName='DeleteViaIdentity', Mandatory, ValueFromPipeline)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Path')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentity] - # Identity Parameter - ${InputObject}, - - [Parameter()] - [Alias('AzureRMContext', 'AzureCredential')] - [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Azure')] - [System.Management.Automation.PSObject] - # The DefaultProfile parameter is not functional. - # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. - ${DefaultProfile}, - - [Parameter(DontShow)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Runtime')] - [System.Management.Automation.SwitchParameter] - # Wait for .NET debugger to attach - ${Break}, - - [Parameter(DontShow)] - [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Runtime')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SendAsyncStep[]] - # SendAsync Pipeline Steps to be appended to the front of the pipeline - ${HttpPipelineAppend}, - - [Parameter(DontShow)] - [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Runtime')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SendAsyncStep[]] - # SendAsync Pipeline Steps to be prepended to the front of the pipeline - ${HttpPipelinePrepend}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Runtime')] - [System.Management.Automation.SwitchParameter] - # Returns true when the command succeeds - ${PassThru}, - - [Parameter(DontShow)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Runtime')] - [System.Uri] - # The URI for the proxy server to use - ${Proxy}, - - [Parameter(DontShow)] - [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Runtime')] - [System.Management.Automation.PSCredential] - # Credentials for a proxy server to use for the remote call - ${ProxyCredential}, - - [Parameter(DontShow)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Runtime')] - [System.Management.Automation.SwitchParameter] - # Use the default credentials for the proxy - ${ProxyUseDefaultCredentials} -) - -begin { - try { - $outBuffer = $null - if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { - $PSBoundParameters['OutBuffer'] = 1 - } - $parameterSet = $PSCmdlet.ParameterSetName - - if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) { - [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString() - } - $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId - if ($preTelemetryId -eq '') { - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId =(New-Guid).ToString() - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.module]::Instance.Telemetry.Invoke('Create', $MyInvocation, $parameterSet, $PSCmdlet) - } else { - $internalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets - if ($internalCalledCmdlets -eq '') { - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $MyInvocation.MyCommand.Name - } else { - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets += ',' + $MyInvocation.MyCommand.Name - } - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = 'internal' - } - - $mapping = @{ - Delete = 'Az.ConnectedMachine.private\Remove-AzConnectedMachine_Delete'; - DeleteViaIdentity = 'Az.ConnectedMachine.private\Remove-AzConnectedMachine_DeleteViaIdentity'; - } - if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { - $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } - if ($testPlayback) { - $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') - } else { - $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id - } - } - $cmdInfo = Get-Command -Name $mapping[$parameterSet] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) - if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) - [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) - } - $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) - $scriptCmd = {& $wrappedCmd @PSBoundParameters} - $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) - $steppablePipeline.Begin($PSCmdlet) - } catch { - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() - throw - } -} - -process { - try { - $steppablePipeline.Process($_) - } catch { - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() - throw - } - - finally { - $backupTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId - $backupInternalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() - } - -} -end { - try { - $steppablePipeline.End() - - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $backupTelemetryId - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $backupInternalCalledCmdlets - if ($preTelemetryId -eq '') { - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.module]::Instance.Telemetry.Invoke('Send', $MyInvocation, $parameterSet, $PSCmdlet) - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() - } - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $preTelemetryId - - } catch { - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() - throw - } -} -} - -<# -.Synopsis -Deletes a Azure Arc PrivateLinkScope. -.Description -Deletes a Azure Arc PrivateLinkScope. -.Example -Remove-AzConnectedPrivateLinkScope -ResourceGroupName $resourceGroupName -ScopeName $scopeName - -.Inputs -Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentity -.Outputs -System.Boolean -.Notes -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - -INPUTOBJECT : Identity Parameter - [BaseProvider ]: The name of the base Resource Provider. - [BaseResourceName ]: The name of the base resource. - [BaseResourceType ]: The name of the base Resource Type. - [ExtensionName ]: The name of the machine extension. - [ExtensionType ]: The extensionType of the Extension being received. - [GatewayName ]: The name of the Gateway. - [GroupName ]: The name of the private link resource. - [Id ]: Resource identity path - [LicenseName ]: The name of the license. - [LicenseProfileName ]: The name of the license profile. - [Location ]: The location of the Extension being received. - [MachineName ]: The name of the hybrid machine. - [MetadataName ]: Name of the HybridIdentityMetadata. - [Name ]: The name of the hybrid machine. - [OSType ]: Defines the os type. - [PerimeterName ]: The name, in the format {perimeterGuid}.{associationName}, of the Network Security Perimeter resource. - [PrivateEndpointConnectionName ]: The name of the private endpoint connection. - [PrivateLinkScopeId ]: The id (Guid) of the Azure Arc PrivateLinkScope resource. - [Publisher ]: The publisher of the Extension being received. - [ResourceGroupName ]: The name of the resource group. The name is case insensitive. - [ResourceUri ]: The fully qualified Azure Resource manager identifier of the resource to be connected. - [RunCommandName ]: The name of the run command. - [ScopeName ]: The name of the Azure Arc PrivateLinkScope resource. - [SettingsResourceName ]: The name of the settings resource. - [SubscriptionId ]: The ID of the target subscription. - [Version ]: The version of the Extension being received. -.Link -https://learn.microsoft.com/powershell/module/az.connectedmachine/remove-azconnectedprivatelinkscope -#> -function Remove-AzConnectedPrivateLinkScope { -[OutputType([System.Boolean])] -[CmdletBinding(DefaultParameterSetName='Delete', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] -param( - [Parameter(ParameterSetName='Delete', Mandatory)] - [ArgumentCompleter({Get-AzResourceGroup | Select-Object -ExpandProperty ResourceGroupName})] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Path')] - [System.String] - # The name of the resource group. - # The name is case insensitive. - ${ResourceGroupName}, - - [Parameter(ParameterSetName='Delete', Mandatory)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Path')] - [System.String] - # The name of the Azure Arc PrivateLinkScope resource. - ${ScopeName}, - - [Parameter(ParameterSetName='Delete')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Path')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] - [System.String] - # The ID of the target subscription. - ${SubscriptionId}, - - [Parameter(ParameterSetName='DeleteViaIdentity', Mandatory, ValueFromPipeline)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Path')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentity] - # Identity Parameter - ${InputObject}, - - [Parameter()] - [Alias('AzureRMContext', 'AzureCredential')] - [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Azure')] - [System.Management.Automation.PSObject] - # The DefaultProfile parameter is not functional. - # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. - ${DefaultProfile}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Runtime')] - [System.Management.Automation.SwitchParameter] - # Run the command as a job - ${AsJob}, - - [Parameter(DontShow)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Runtime')] - [System.Management.Automation.SwitchParameter] - # Wait for .NET debugger to attach - ${Break}, - - [Parameter(DontShow)] - [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Runtime')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SendAsyncStep[]] - # SendAsync Pipeline Steps to be appended to the front of the pipeline - ${HttpPipelineAppend}, - - [Parameter(DontShow)] - [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Runtime')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SendAsyncStep[]] - # SendAsync Pipeline Steps to be prepended to the front of the pipeline - ${HttpPipelinePrepend}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Runtime')] - [System.Management.Automation.SwitchParameter] - # Run the command asynchronously - ${NoWait}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Runtime')] - [System.Management.Automation.SwitchParameter] - # Returns true when the command succeeds - ${PassThru}, - - [Parameter(DontShow)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Runtime')] - [System.Uri] - # The URI for the proxy server to use - ${Proxy}, - - [Parameter(DontShow)] - [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Runtime')] - [System.Management.Automation.PSCredential] - # Credentials for a proxy server to use for the remote call - ${ProxyCredential}, - - [Parameter(DontShow)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Runtime')] - [System.Management.Automation.SwitchParameter] - # Use the default credentials for the proxy - ${ProxyUseDefaultCredentials} -) - -begin { - try { - $outBuffer = $null - if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { - $PSBoundParameters['OutBuffer'] = 1 - } - $parameterSet = $PSCmdlet.ParameterSetName - - if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) { - [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString() - } - $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId - if ($preTelemetryId -eq '') { - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId =(New-Guid).ToString() - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.module]::Instance.Telemetry.Invoke('Create', $MyInvocation, $parameterSet, $PSCmdlet) - } else { - $internalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets - if ($internalCalledCmdlets -eq '') { - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $MyInvocation.MyCommand.Name - } else { - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets += ',' + $MyInvocation.MyCommand.Name - } - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = 'internal' - } - - $mapping = @{ - Delete = 'Az.ConnectedMachine.private\Remove-AzConnectedPrivateLinkScope_Delete'; - DeleteViaIdentity = 'Az.ConnectedMachine.private\Remove-AzConnectedPrivateLinkScope_DeleteViaIdentity'; - } - if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { - $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } - if ($testPlayback) { - $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') - } else { - $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id - } - } - $cmdInfo = Get-Command -Name $mapping[$parameterSet] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) - if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) - [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) - } - $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) - $scriptCmd = {& $wrappedCmd @PSBoundParameters} - $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) - $steppablePipeline.Begin($PSCmdlet) - } catch { - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() - throw - } -} - -process { - try { - $steppablePipeline.Process($_) - } catch { - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() - throw - } - - finally { - $backupTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId - $backupInternalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() - } - -} -end { - try { - $steppablePipeline.End() - - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $backupTelemetryId - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $backupInternalCalledCmdlets - if ($preTelemetryId -eq '') { - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.module]::Instance.Telemetry.Invoke('Send', $MyInvocation, $parameterSet, $PSCmdlet) - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() - } - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $preTelemetryId - - } catch { - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() - throw - } -} -} - -<# -.Synopsis -The operation to update a license. -.Description -The operation to update a license. -.Example -Set-AzConnectedLicense -Name 'myESULicense' -ResourceGroupName 'ytongtest' -Location 'eastus2euap' -LicenseType 'ESU' -LicenseDetailState 'Deactivated' -LicenseDetailTarget 'Windows Server 2012' -LicenseDetailEdition 'Datacenter' -LicenseDetailType 'pCore' -LicenseDetailProcessor 16 -SubscriptionId ********-****-****-****-********** - -.Inputs -Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicense -.Outputs -Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicense +Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicense .Notes COMPLEX PARAMETER PROPERTIES @@ -5538,293 +4686,36 @@ param( ${Parameter}, [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] - [ArgumentCompleter({Get-AzLocation | Where-Object Providers -Contains "Microsoft.HybridCompute" | Select-Object -ExpandProperty Location})] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [System.String] - # Resource location - ${Location}, - - [Parameter(ParameterSetName='UpdateExpanded')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PSArgumentCompleterAttribute("Enabled", "Disabled", "SecuredByPerimeter")] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [System.String] - # Indicates whether machines associated with the private link scope can also use public Azure Arc service endpoints. - ${PublicNetworkAccess}, - - [Parameter(ParameterSetName='UpdateExpanded')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IPrivateLinkScopesResourceTags]))] - [System.Collections.Hashtable] - # Resource tags - ${Tag}, - - [Parameter(ParameterSetName='UpdateViaJsonFilePath', Mandatory)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [System.String] - # Path of Json file supplied to the Update operation - ${JsonFilePath}, - - [Parameter(ParameterSetName='UpdateViaJsonString', Mandatory)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [System.String] - # Json string supplied to the Update operation - ${JsonString}, - - [Parameter()] - [Alias('AzureRMContext', 'AzureCredential')] - [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Azure')] - [System.Management.Automation.PSObject] - # The DefaultProfile parameter is not functional. - # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. - ${DefaultProfile}, - - [Parameter(DontShow)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Runtime')] - [System.Management.Automation.SwitchParameter] - # Wait for .NET debugger to attach - ${Break}, - - [Parameter(DontShow)] - [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Runtime')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SendAsyncStep[]] - # SendAsync Pipeline Steps to be appended to the front of the pipeline - ${HttpPipelineAppend}, - - [Parameter(DontShow)] - [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Runtime')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SendAsyncStep[]] - # SendAsync Pipeline Steps to be prepended to the front of the pipeline - ${HttpPipelinePrepend}, - - [Parameter(DontShow)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Runtime')] - [System.Uri] - # The URI for the proxy server to use - ${Proxy}, - - [Parameter(DontShow)] - [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Runtime')] - [System.Management.Automation.PSCredential] - # Credentials for a proxy server to use for the remote call - ${ProxyCredential}, - - [Parameter(DontShow)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Runtime')] - [System.Management.Automation.SwitchParameter] - # Use the default credentials for the proxy - ${ProxyUseDefaultCredentials} -) - -begin { - try { - $outBuffer = $null - if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { - $PSBoundParameters['OutBuffer'] = 1 - } - $parameterSet = $PSCmdlet.ParameterSetName - - if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) { - [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString() - } - $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId - if ($preTelemetryId -eq '') { - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId =(New-Guid).ToString() - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.module]::Instance.Telemetry.Invoke('Create', $MyInvocation, $parameterSet, $PSCmdlet) - } else { - $internalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets - if ($internalCalledCmdlets -eq '') { - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $MyInvocation.MyCommand.Name - } else { - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets += ',' + $MyInvocation.MyCommand.Name - } - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = 'internal' - } - - $mapping = @{ - Update = 'Az.ConnectedMachine.private\Set-AzConnectedPrivateLinkScope_Update'; - UpdateExpanded = 'Az.ConnectedMachine.private\Set-AzConnectedPrivateLinkScope_UpdateExpanded'; - UpdateViaJsonFilePath = 'Az.ConnectedMachine.private\Set-AzConnectedPrivateLinkScope_UpdateViaJsonFilePath'; - UpdateViaJsonString = 'Az.ConnectedMachine.private\Set-AzConnectedPrivateLinkScope_UpdateViaJsonString'; - } - if (('Update', 'UpdateExpanded', 'UpdateViaJsonFilePath', 'UpdateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { - $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } - if ($testPlayback) { - $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') - } else { - $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id - } - } - $cmdInfo = Get-Command -Name $mapping[$parameterSet] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) - if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) - [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) - } - $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) - $scriptCmd = {& $wrappedCmd @PSBoundParameters} - $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) - $steppablePipeline.Begin($PSCmdlet) - } catch { - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() - throw - } -} - -process { - try { - $steppablePipeline.Process($_) - } catch { - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() - throw - } - - finally { - $backupTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId - $backupInternalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() - } - -} -end { - try { - $steppablePipeline.End() - - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $backupTelemetryId - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $backupInternalCalledCmdlets - if ($preTelemetryId -eq '') { - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.module]::Instance.Telemetry.Invoke('Send', $MyInvocation, $parameterSet, $PSCmdlet) - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() - } - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $preTelemetryId - - } catch { - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() - throw - } -} -} - -<# -.Synopsis -The operation to Upgrade Machine Extensions. -.Description -The operation to Upgrade Machine Extensions. -.Example -$target = @{"Microsoft.Compute.CustomScriptExtension" = @{"targetVersion"="1.10.12"}} -Update-AzConnectedExtension -ResourceGroupName $env.ResourceGroupName -MachineName $machineName -ExtensionTarget $target - -.Inputs -Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentity -.Inputs -Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtensionUpgrade -.Outputs -System.Boolean -.Notes -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - -EXTENSIONUPGRADEPARAMETER : Describes the Machine Extension Upgrade Properties. - [ExtensionTarget ]: Describes the Extension Target Properties. - [(Any) ]: This indicates any property can be added to this object. - -INPUTOBJECT : Identity Parameter - [BaseProvider ]: The name of the base Resource Provider. - [BaseResourceName ]: The name of the base resource. - [BaseResourceType ]: The name of the base Resource Type. - [ExtensionName ]: The name of the machine extension. - [ExtensionType ]: The extensionType of the Extension being received. - [GatewayName ]: The name of the Gateway. - [GroupName ]: The name of the private link resource. - [Id ]: Resource identity path - [LicenseName ]: The name of the license. - [LicenseProfileName ]: The name of the license profile. - [Location ]: The location of the Extension being received. - [MachineName ]: The name of the hybrid machine. - [MetadataName ]: Name of the HybridIdentityMetadata. - [Name ]: The name of the hybrid machine. - [OSType ]: Defines the os type. - [PerimeterName ]: The name, in the format {perimeterGuid}.{associationName}, of the Network Security Perimeter resource. - [PrivateEndpointConnectionName ]: The name of the private endpoint connection. - [PrivateLinkScopeId ]: The id (Guid) of the Azure Arc PrivateLinkScope resource. - [Publisher ]: The publisher of the Extension being received. - [ResourceGroupName ]: The name of the resource group. The name is case insensitive. - [ResourceUri ]: The fully qualified Azure Resource manager identifier of the resource to be connected. - [RunCommandName ]: The name of the run command. - [ScopeName ]: The name of the Azure Arc PrivateLinkScope resource. - [SettingsResourceName ]: The name of the settings resource. - [SubscriptionId ]: The ID of the target subscription. - [Version ]: The version of the Extension being received. -.Link -https://learn.microsoft.com/powershell/module/az.connectedmachine/update-azconnectedextension -#> -function Update-AzConnectedExtension { -[OutputType([System.Boolean])] -[CmdletBinding(DefaultParameterSetName='UpgradeExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] -param( - [Parameter(ParameterSetName='UpgradeExpanded', Mandatory)] - [Parameter(ParameterSetName='UpgradeViaJsonFilePath', Mandatory)] - [Parameter(ParameterSetName='UpgradeViaJsonString', Mandatory)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Path')] - [System.String] - # The name of the hybrid machine. - ${MachineName}, - - [Parameter(ParameterSetName='UpgradeExpanded', Mandatory)] - [Parameter(ParameterSetName='UpgradeViaJsonFilePath', Mandatory)] - [Parameter(ParameterSetName='UpgradeViaJsonString', Mandatory)] - [ArgumentCompleter({Get-AzResourceGroup | Select-Object -ExpandProperty ResourceGroupName})] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Path')] - [System.String] - # The name of the resource group. - # The name is case insensitive. - ${ResourceGroupName}, - - [Parameter(ParameterSetName='UpgradeExpanded')] - [Parameter(ParameterSetName='UpgradeViaJsonFilePath')] - [Parameter(ParameterSetName='UpgradeViaJsonString')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Path')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] - [System.String] - # The ID of the target subscription. - ${SubscriptionId}, - - [Parameter(ParameterSetName='UpgradeViaIdentity', Mandatory, ValueFromPipeline)] - [Parameter(ParameterSetName='UpgradeViaIdentityExpanded', Mandatory, ValueFromPipeline)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Path')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentity] - # Identity Parameter - ${InputObject}, + [ArgumentCompleter({Get-AzLocation | Where-Object Providers -Contains "Microsoft.HybridCompute" | Select-Object -ExpandProperty Location})] + [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] + [System.String] + # Resource location + ${Location}, - [Parameter(ParameterSetName='UpgradeExpanded')] - [Parameter(ParameterSetName='UpgradeViaIdentityExpanded')] + [Parameter(ParameterSetName='UpdateExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PSArgumentCompleterAttribute("Enabled", "Disabled", "SecuredByPerimeter")] [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IExtensionTarget]))] - [System.Collections.Hashtable] - # Describes the Extension Target Properties. - ${ExtensionTarget}, + [System.String] + # Indicates whether machines associated with the private link scope can also use public Azure Arc service endpoints. + ${PublicNetworkAccess}, - [Parameter(ParameterSetName='UpgradeViaIdentity', Mandatory, ValueFromPipeline)] + [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtensionUpgrade] - # Describes the Machine Extension Upgrade Properties. - ${ExtensionUpgradeParameter}, + [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IPrivateLinkScopesResourceTags]))] + [System.Collections.Hashtable] + # Resource tags + ${Tag}, - [Parameter(ParameterSetName='UpgradeViaJsonFilePath', Mandatory)] + [Parameter(ParameterSetName='UpdateViaJsonFilePath', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] [System.String] - # Path of Json file supplied to the Upgrade operation + # Path of Json file supplied to the Update operation ${JsonFilePath}, - [Parameter(ParameterSetName='UpgradeViaJsonString', Mandatory)] + [Parameter(ParameterSetName='UpdateViaJsonString', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] [System.String] - # Json string supplied to the Upgrade operation + # Json string supplied to the Update operation ${JsonString}, [Parameter()] @@ -5836,12 +4727,6 @@ param( # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Runtime')] - [System.Management.Automation.SwitchParameter] - # Run the command as a job - ${AsJob}, - [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Runtime')] [System.Management.Automation.SwitchParameter] @@ -5862,18 +4747,6 @@ param( # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Runtime')] - [System.Management.Automation.SwitchParameter] - # Run the command asynchronously - ${NoWait}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Runtime')] - [System.Management.Automation.SwitchParameter] - # Returns true when the command succeeds - ${PassThru}, - [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Runtime')] [System.Uri] @@ -5920,13 +4793,12 @@ begin { } $mapping = @{ - UpgradeExpanded = 'Az.ConnectedMachine.private\Update-AzConnectedExtension_UpgradeExpanded'; - UpgradeViaIdentity = 'Az.ConnectedMachine.private\Update-AzConnectedExtension_UpgradeViaIdentity'; - UpgradeViaIdentityExpanded = 'Az.ConnectedMachine.private\Update-AzConnectedExtension_UpgradeViaIdentityExpanded'; - UpgradeViaJsonFilePath = 'Az.ConnectedMachine.private\Update-AzConnectedExtension_UpgradeViaJsonFilePath'; - UpgradeViaJsonString = 'Az.ConnectedMachine.private\Update-AzConnectedExtension_UpgradeViaJsonString'; + Update = 'Az.ConnectedMachine.private\Set-AzConnectedPrivateLinkScope_Update'; + UpdateExpanded = 'Az.ConnectedMachine.private\Set-AzConnectedPrivateLinkScope_UpdateExpanded'; + UpdateViaJsonFilePath = 'Az.ConnectedMachine.private\Set-AzConnectedPrivateLinkScope_UpdateViaJsonFilePath'; + UpdateViaJsonString = 'Az.ConnectedMachine.private\Set-AzConnectedPrivateLinkScope_UpdateViaJsonString'; } - if (('UpgradeExpanded', 'UpgradeViaJsonFilePath', 'UpgradeViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { + if (('Update', 'UpdateExpanded', 'UpdateViaJsonFilePath', 'UpdateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { $testPlayback = $false $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { @@ -5987,151 +4859,64 @@ end { <# .Synopsis -The operation to update the extension. +The operation to Upgrade Machine Extensions. .Description -The operation to update the extension. -.Example -$splat = @{ - ResourceGroupName = "connectedMachines" - MachineName = "linux-eastus1_1" - Name = "customScript" - Settings = @{ - commandToExecute = "ls -l" - } -} -Update-AzConnectedMachineExtension @splat -.Example -$extToUpdate = Get-AzConnectedMachineExtension -ResourceGroupName connectedMachines -MachineName linux-eastus1_1 -Name customScript -$extToUpdate | Update-AzConnectedMachineExtension -Settings @{ - commandToExecute = "ls -l" -} -.Example -$extToUpdate = Get-AzConnectedMachineExtension -ResourceGroupName connectedMachines -MachineName linux-eastus1_1 -Name customScript -# Update the settings on the object that will be used via the pipeline -$extToUpdate.Setting.commandToExecute = "ls -l" -$splat = @{ - ResourceGroupName = "connectedMachines" - MachineName = "linux-eastus1_1" - Name = "customScript" -} -$extToUpdate | Update-AzConnectedMachineExtension @splat +The operation to Upgrade Machine Extensions. .Example -$extToUpdate = Get-AzConnectedMachineExtension -ResourceGroupName connectedMachines -MachineName linux-eastus1_1 -Name customScript -# Update the settings on the object that will be used via the pipeline -$extToUpdate.Setting.commandToExecute = "ls -l" -$extToUpdate | Update-AzConnectedMachineExtension -ExtensionParameter $extToUpdate +$target = @{"Microsoft.Compute.CustomScriptExtension" = @{"targetVersion"="1.10.12"}} +Update-AzConnectedExtension -ResourceGroupName $env.ResourceGroupName -MachineName $machineName -ExtensionTarget $target .Inputs Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentity .Inputs -Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtensionUpdate +Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtensionUpgrade .Outputs -Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtension +System.Boolean .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. -EXTENSIONPARAMETER : Describes a Machine Extension Update. - [Tags ]: Resource tags - [(Any) ]: This indicates any property can be added to this object. - [AutoUpgradeMinorVersion ]: Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true. - [EnableAutomaticUpgrade ]: Indicates whether the extension should be automatically upgraded by the platform if there is a newer version available. - [ForceUpdateTag ]: How the extension handler should be forced to update even if the extension configuration has not changed. - [ProtectedSetting ]: The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all. - [(Any) ]: This indicates any property can be added to this object. - [Publisher ]: The name of the extension handler publisher. - [Setting ]: Json formatted public settings for the extension. - [(Any) ]: This indicates any property can be added to this object. - [Type ]: Specifies the type of the extension; an example is "CustomScriptExtension". - [TypeHandlerVersion ]: Specifies the version of the script handler. +EXTENSIONUPGRADEPARAMETER : Describes the Machine Extension Upgrade Properties. + [ExtensionTarget ]: Describes the Extension Target Properties. + [(Any) ]: This indicates any property can be added to this object. INPUTOBJECT : Identity Parameter - [BaseProvider ]: The name of the base Resource Provider. - [BaseResourceName ]: The name of the base resource. - [BaseResourceType ]: The name of the base Resource Type. - [ExtensionName ]: The name of the machine extension. - [ExtensionType ]: The extensionType of the Extension being received. - [GatewayName ]: The name of the Gateway. - [GroupName ]: The name of the private link resource. - [Id ]: Resource identity path - [LicenseName ]: The name of the license. - [LicenseProfileName ]: The name of the license profile. - [Location ]: The location of the Extension being received. - [MachineName ]: The name of the hybrid machine. - [MetadataName ]: Name of the HybridIdentityMetadata. - [Name ]: The name of the hybrid machine. - [OSType ]: Defines the os type. - [PerimeterName ]: The name, in the format {perimeterGuid}.{associationName}, of the Network Security Perimeter resource. - [PrivateEndpointConnectionName ]: The name of the private endpoint connection. - [PrivateLinkScopeId ]: The id (Guid) of the Azure Arc PrivateLinkScope resource. - [Publisher ]: The publisher of the Extension being received. - [ResourceGroupName ]: The name of the resource group. The name is case insensitive. - [ResourceUri ]: The fully qualified Azure Resource manager identifier of the resource to be connected. - [RunCommandName ]: The name of the run command. - [ScopeName ]: The name of the Azure Arc PrivateLinkScope resource. - [SettingsResourceName ]: The name of the settings resource. - [SubscriptionId ]: The ID of the target subscription. - [Version ]: The version of the Extension being received. - -MACHINEINPUTOBJECT : Identity Parameter - [BaseProvider ]: The name of the base Resource Provider. - [BaseResourceName ]: The name of the base resource. - [BaseResourceType ]: The name of the base Resource Type. [ExtensionName ]: The name of the machine extension. [ExtensionType ]: The extensionType of the Extension being received. - [GatewayName ]: The name of the Gateway. [GroupName ]: The name of the private link resource. [Id ]: Resource identity path [LicenseName ]: The name of the license. [LicenseProfileName ]: The name of the license profile. [Location ]: The location of the Extension being received. [MachineName ]: The name of the hybrid machine. - [MetadataName ]: Name of the HybridIdentityMetadata. [Name ]: The name of the hybrid machine. - [OSType ]: Defines the os type. [PerimeterName ]: The name, in the format {perimeterGuid}.{associationName}, of the Network Security Perimeter resource. [PrivateEndpointConnectionName ]: The name of the private endpoint connection. [PrivateLinkScopeId ]: The id (Guid) of the Azure Arc PrivateLinkScope resource. [Publisher ]: The publisher of the Extension being received. [ResourceGroupName ]: The name of the resource group. The name is case insensitive. - [ResourceUri ]: The fully qualified Azure Resource manager identifier of the resource to be connected. - [RunCommandName ]: The name of the run command. [ScopeName ]: The name of the Azure Arc PrivateLinkScope resource. - [SettingsResourceName ]: The name of the settings resource. [SubscriptionId ]: The ID of the target subscription. [Version ]: The version of the Extension being received. .Link -https://learn.microsoft.com/powershell/module/az.connectedmachine/update-azconnectedmachineextension +https://learn.microsoft.com/powershell/module/az.connectedmachine/update-azconnectedextension #> -function Update-AzConnectedMachineExtension { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtension])] -[CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] +function Update-AzConnectedExtension { +[OutputType([System.Boolean])] +[CmdletBinding(DefaultParameterSetName='UpgradeExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( - [Parameter(ParameterSetName='Update', Mandatory)] - [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] - [Parameter(ParameterSetName='UpdateViaJsonFilePath', Mandatory)] - [Parameter(ParameterSetName='UpdateViaJsonString', Mandatory)] + [Parameter(ParameterSetName='UpgradeExpanded', Mandatory)] + [Parameter(ParameterSetName='UpgradeViaJsonFilePath', Mandatory)] + [Parameter(ParameterSetName='UpgradeViaJsonString', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Path')] [System.String] - # The name of the machine where the extension should be created or updated. + # The name of the hybrid machine. ${MachineName}, - [Parameter(ParameterSetName='Update', Mandatory)] - [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] - [Parameter(ParameterSetName='UpdateViaIdentityMachine', Mandatory)] - [Parameter(ParameterSetName='UpdateViaIdentityMachineExpanded', Mandatory)] - [Parameter(ParameterSetName='UpdateViaJsonFilePath', Mandatory)] - [Parameter(ParameterSetName='UpdateViaJsonString', Mandatory)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Path')] - [System.String] - # The name of the machine extension. - ${Name}, - - [Parameter(ParameterSetName='Update', Mandatory)] - [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] - [Parameter(ParameterSetName='UpdateViaJsonFilePath', Mandatory)] - [Parameter(ParameterSetName='UpdateViaJsonString', Mandatory)] + [Parameter(ParameterSetName='UpgradeExpanded', Mandatory)] + [Parameter(ParameterSetName='UpgradeViaJsonFilePath', Mandatory)] + [Parameter(ParameterSetName='UpgradeViaJsonString', Mandatory)] [ArgumentCompleter({Get-AzResourceGroup | Select-Object -ExpandProperty ResourceGroupName})] [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Path')] [System.String] @@ -6139,126 +4924,46 @@ param( # The name is case insensitive. ${ResourceGroupName}, - [Parameter(ParameterSetName='Update')] - [Parameter(ParameterSetName='UpdateExpanded')] - [Parameter(ParameterSetName='UpdateViaJsonFilePath')] - [Parameter(ParameterSetName='UpdateViaJsonString')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Path')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] - [System.String] - # The ID of the target subscription. - ${SubscriptionId}, - - [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] - [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Path')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentity] - # Identity Parameter - ${InputObject}, - - [Parameter(ParameterSetName='UpdateViaIdentityMachine', Mandatory, ValueFromPipeline)] - [Parameter(ParameterSetName='UpdateViaIdentityMachineExpanded', Mandatory, ValueFromPipeline)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Path')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentity] - # Identity Parameter - ${MachineInputObject}, - - [Parameter(ParameterSetName='Update', Mandatory, ValueFromPipeline)] - [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] - [Parameter(ParameterSetName='UpdateViaIdentityMachine', Mandatory, ValueFromPipeline)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtensionUpdate] - # Describes a Machine Extension Update. - ${ExtensionParameter}, - - [Parameter(ParameterSetName='UpdateExpanded')] - [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] - [Parameter(ParameterSetName='UpdateViaIdentityMachineExpanded')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [System.Management.Automation.SwitchParameter] - # Indicates whether the extension should use a newer minor version if one is available at deployment time. - # Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true. - ${AutoUpgradeMinorVersion}, - - [Parameter(ParameterSetName='UpdateExpanded')] - [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] - [Parameter(ParameterSetName='UpdateViaIdentityMachineExpanded')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [System.Management.Automation.SwitchParameter] - # Indicates whether the extension should be automatically upgraded by the platform if there is a newer version available. - ${EnableAutomaticUpgrade}, - - [Parameter(ParameterSetName='UpdateExpanded')] - [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] - [Parameter(ParameterSetName='UpdateViaIdentityMachineExpanded')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [System.String] - # How the extension handler should be forced to update even if the extension configuration has not changed. - ${ForceRerun}, - - [Parameter(ParameterSetName='UpdateExpanded')] - [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] - [Parameter(ParameterSetName='UpdateViaIdentityMachineExpanded')] - [Alias('ProtectedSettings')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtensionUpdatePropertiesProtectedSettings]))] - [System.Collections.Hashtable] - # The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all. - ${ProtectedSetting}, - - [Parameter(ParameterSetName='UpdateExpanded')] - [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] - [Parameter(ParameterSetName='UpdateViaIdentityMachineExpanded')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [System.String] - # The name of the extension handler publisher. - ${Publisher}, - - [Parameter(ParameterSetName='UpdateExpanded')] - [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] - [Parameter(ParameterSetName='UpdateViaIdentityMachineExpanded')] - [Alias('Settings')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtensionUpdatePropertiesSettings]))] - [System.Collections.Hashtable] - # Json formatted public settings for the extension. - ${Setting}, + [Parameter(ParameterSetName='UpgradeExpanded')] + [Parameter(ParameterSetName='UpgradeViaJsonFilePath')] + [Parameter(ParameterSetName='UpgradeViaJsonString')] + [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Path')] + [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] + [System.String] + # The ID of the target subscription. + ${SubscriptionId}, - [Parameter(ParameterSetName='UpdateExpanded')] - [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] - [Parameter(ParameterSetName='UpdateViaIdentityMachineExpanded')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceUpdateTags]))] - [System.Collections.Hashtable] - # Resource tags - ${Tag}, + [Parameter(ParameterSetName='UpgradeViaIdentity', Mandatory, ValueFromPipeline)] + [Parameter(ParameterSetName='UpgradeViaIdentityExpanded', Mandatory, ValueFromPipeline)] + [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Path')] + [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentity] + # Identity Parameter + ${InputObject}, - [Parameter(ParameterSetName='UpdateExpanded')] - [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] - [Parameter(ParameterSetName='UpdateViaIdentityMachineExpanded')] + [Parameter(ParameterSetName='UpgradeExpanded')] + [Parameter(ParameterSetName='UpgradeViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [System.String] - # Specifies the type of the extension; an example is "CustomScriptExtension". - ${Type}, + [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IExtensionTarget]))] + [System.Collections.Hashtable] + # Describes the Extension Target Properties. + ${ExtensionTarget}, - [Parameter(ParameterSetName='UpdateExpanded')] - [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] - [Parameter(ParameterSetName='UpdateViaIdentityMachineExpanded')] + [Parameter(ParameterSetName='UpgradeViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [System.String] - # Specifies the version of the script handler. - ${TypeHandlerVersion}, + [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtensionUpgrade] + # Describes the Machine Extension Upgrade Properties. + ${ExtensionUpgradeParameter}, - [Parameter(ParameterSetName='UpdateViaJsonFilePath', Mandatory)] + [Parameter(ParameterSetName='UpgradeViaJsonFilePath', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] [System.String] - # Path of Json file supplied to the Update operation + # Path of Json file supplied to the Upgrade operation ${JsonFilePath}, - [Parameter(ParameterSetName='UpdateViaJsonString', Mandatory)] + [Parameter(ParameterSetName='UpgradeViaJsonString', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] [System.String] - # Json string supplied to the Update operation + # Json string supplied to the Upgrade operation ${JsonString}, [Parameter()] @@ -6302,6 +5007,12 @@ param( # Run the command asynchronously ${NoWait}, + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Returns true when the command succeeds + ${PassThru}, + [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Runtime')] [System.Uri] @@ -6348,16 +5059,13 @@ begin { } $mapping = @{ - Update = 'Az.ConnectedMachine.private\Update-AzConnectedMachineExtension_Update'; - UpdateExpanded = 'Az.ConnectedMachine.private\Update-AzConnectedMachineExtension_UpdateExpanded'; - UpdateViaIdentity = 'Az.ConnectedMachine.private\Update-AzConnectedMachineExtension_UpdateViaIdentity'; - UpdateViaIdentityExpanded = 'Az.ConnectedMachine.private\Update-AzConnectedMachineExtension_UpdateViaIdentityExpanded'; - UpdateViaIdentityMachine = 'Az.ConnectedMachine.private\Update-AzConnectedMachineExtension_UpdateViaIdentityMachine'; - UpdateViaIdentityMachineExpanded = 'Az.ConnectedMachine.private\Update-AzConnectedMachineExtension_UpdateViaIdentityMachineExpanded'; - UpdateViaJsonFilePath = 'Az.ConnectedMachine.private\Update-AzConnectedMachineExtension_UpdateViaJsonFilePath'; - UpdateViaJsonString = 'Az.ConnectedMachine.private\Update-AzConnectedMachineExtension_UpdateViaJsonString'; + UpgradeExpanded = 'Az.ConnectedMachine.private\Update-AzConnectedExtension_UpgradeExpanded'; + UpgradeViaIdentity = 'Az.ConnectedMachine.private\Update-AzConnectedExtension_UpgradeViaIdentity'; + UpgradeViaIdentityExpanded = 'Az.ConnectedMachine.private\Update-AzConnectedExtension_UpgradeViaIdentityExpanded'; + UpgradeViaJsonFilePath = 'Az.ConnectedMachine.private\Update-AzConnectedExtension_UpgradeViaJsonFilePath'; + UpgradeViaJsonString = 'Az.ConnectedMachine.private\Update-AzConnectedExtension_UpgradeViaJsonString'; } - if (('Update', 'UpdateExpanded', 'UpdateViaJsonFilePath', 'UpdateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { + if (('UpgradeExpanded', 'UpgradeViaJsonFilePath', 'UpgradeViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { $testPlayback = $false $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { @@ -6418,145 +5126,144 @@ end { <# .Synopsis -The operation to update a run command. +The operation to update the extension. .Description -The operation to update a run command. +The operation to update the extension. .Example -Update-AzConnectedMachineRunCommand -ResourceGroupName "az-sdk-test" -RunCommandName "myRunCommand3" -MachineName "testmachine" -SubscriptionId ********-****-****-****-********** -Tag @{Tag1="tag1"; Tag2="tag2"} - +$splat = @{ + ResourceGroupName = "connectedMachines" + MachineName = "linux-eastus1_1" + Name = "customScript" + Settings = @{ + commandToExecute = "ls -l" + } +} +Update-AzConnectedMachineExtension @splat +.Example +$extToUpdate = Get-AzConnectedMachineExtension -ResourceGroupName connectedMachines -MachineName linux-eastus1_1 -Name customScript +$extToUpdate | Update-AzConnectedMachineExtension -Settings @{ + commandToExecute = "ls -l" +} +.Example +$extToUpdate = Get-AzConnectedMachineExtension -ResourceGroupName connectedMachines -MachineName linux-eastus1_1 -Name customScript +# Update the settings on the object that will be used via the pipeline +$extToUpdate.Setting.commandToExecute = "ls -l" +$splat = @{ + ResourceGroupName = "connectedMachines" + MachineName = "linux-eastus1_1" + Name = "customScript" +} +$extToUpdate | Update-AzConnectedMachineExtension @splat +.Example +$extToUpdate = Get-AzConnectedMachineExtension -ResourceGroupName connectedMachines -MachineName linux-eastus1_1 -Name customScript +# Update the settings on the object that will be used via the pipeline +$extToUpdate.Setting.commandToExecute = "ls -l" +$extToUpdate | Update-AzConnectedMachineExtension -ExtensionParameter $extToUpdate .Inputs Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentity .Inputs -Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand +Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtensionUpdate .Outputs -Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand +Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtension .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. +EXTENSIONPARAMETER : Describes a Machine Extension Update. + [Tags ]: Resource tags + [(Any) ]: This indicates any property can be added to this object. + [AutoUpgradeMinorVersion ]: Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true. + [EnableAutomaticUpgrade ]: Indicates whether the extension should be automatically upgraded by the platform if there is a newer version available. + [ForceUpdateTag ]: How the extension handler should be forced to update even if the extension configuration has not changed. + [ProtectedSetting ]: The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all. + [(Any) ]: This indicates any property can be added to this object. + [Publisher ]: The name of the extension handler publisher. + [Setting ]: Json formatted public settings for the extension. + [(Any) ]: This indicates any property can be added to this object. + [Type ]: Specifies the type of the extension; an example is "CustomScriptExtension". + [TypeHandlerVersion ]: Specifies the version of the script handler. + INPUTOBJECT : Identity Parameter - [BaseProvider ]: The name of the base Resource Provider. - [BaseResourceName ]: The name of the base resource. - [BaseResourceType ]: The name of the base Resource Type. [ExtensionName ]: The name of the machine extension. [ExtensionType ]: The extensionType of the Extension being received. - [GatewayName ]: The name of the Gateway. [GroupName ]: The name of the private link resource. [Id ]: Resource identity path [LicenseName ]: The name of the license. [LicenseProfileName ]: The name of the license profile. [Location ]: The location of the Extension being received. [MachineName ]: The name of the hybrid machine. - [MetadataName ]: Name of the HybridIdentityMetadata. [Name ]: The name of the hybrid machine. - [OSType ]: Defines the os type. [PerimeterName ]: The name, in the format {perimeterGuid}.{associationName}, of the Network Security Perimeter resource. [PrivateEndpointConnectionName ]: The name of the private endpoint connection. [PrivateLinkScopeId ]: The id (Guid) of the Azure Arc PrivateLinkScope resource. [Publisher ]: The publisher of the Extension being received. [ResourceGroupName ]: The name of the resource group. The name is case insensitive. - [ResourceUri ]: The fully qualified Azure Resource manager identifier of the resource to be connected. - [RunCommandName ]: The name of the run command. [ScopeName ]: The name of the Azure Arc PrivateLinkScope resource. - [SettingsResourceName ]: The name of the settings resource. [SubscriptionId ]: The ID of the target subscription. [Version ]: The version of the Extension being received. MACHINEINPUTOBJECT : Identity Parameter - [BaseProvider ]: The name of the base Resource Provider. - [BaseResourceName ]: The name of the base resource. - [BaseResourceType ]: The name of the base Resource Type. [ExtensionName ]: The name of the machine extension. [ExtensionType ]: The extensionType of the Extension being received. - [GatewayName ]: The name of the Gateway. [GroupName ]: The name of the private link resource. [Id ]: Resource identity path [LicenseName ]: The name of the license. [LicenseProfileName ]: The name of the license profile. [Location ]: The location of the Extension being received. [MachineName ]: The name of the hybrid machine. - [MetadataName ]: Name of the HybridIdentityMetadata. [Name ]: The name of the hybrid machine. - [OSType ]: Defines the os type. [PerimeterName ]: The name, in the format {perimeterGuid}.{associationName}, of the Network Security Perimeter resource. [PrivateEndpointConnectionName ]: The name of the private endpoint connection. [PrivateLinkScopeId ]: The id (Guid) of the Azure Arc PrivateLinkScope resource. [Publisher ]: The publisher of the Extension being received. [ResourceGroupName ]: The name of the resource group. The name is case insensitive. - [ResourceUri ]: The fully qualified Azure Resource manager identifier of the resource to be connected. - [RunCommandName ]: The name of the run command. [ScopeName ]: The name of the Azure Arc PrivateLinkScope resource. - [SettingsResourceName ]: The name of the settings resource. [SubscriptionId ]: The ID of the target subscription. [Version ]: The version of the Extension being received. - -PARAMETER : The parameters used by the script. - Name : The run command parameter name. - Value : The run command parameter value. - -PROTECTEDPARAMETER : The parameters used by the script. - Name : The run command parameter name. - Value : The run command parameter value. - -RUNCOMMANDPROPERTY : Describes a Run Command - Location : The geo-location where the resource lives - [Tags ]: Resource tags. - [(Any) ]: This indicates any property can be added to this object. - [AsyncExecution ]: Optional. If set to true, provisioning will complete as soon as script starts and will not wait for script to complete. - [ErrorBlobManagedIdentityClientId ]: Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided. - [ErrorBlobManagedIdentityObjectId ]: Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided. - [ErrorBlobUri ]: Specifies the Azure storage blob where script error stream will be uploaded. Use a SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob. Refer errorBlobManagedIdentity parameter. - [OutputBlobManagedIdentityClientId ]: Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided. - [OutputBlobManagedIdentityObjectId ]: Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided. - [OutputBlobUri ]: Specifies the Azure storage blob where script output stream will be uploaded. Use a SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob. Refer outputBlobManagedIdentity parameter. - [Parameter >]: The parameters used by the script. - Name : The run command parameter name. - Value : The run command parameter value. - [ProtectedParameter >]: The parameters used by the script. - [RunAsPassword ]: Specifies the user account password on the machine when executing the run command. - [RunAsUser ]: Specifies the user account on the machine when executing the run command. - [ScriptUriManagedIdentityClientId ]: Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided. - [ScriptUriManagedIdentityObjectId ]: Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided. - [SourceCommandId ]: Specifies the commandId of predefined built-in script. - [SourceScript ]: Specifies the script content to be executed on the machine. - [SourceScriptUri ]: Specifies the script download location. It can be either SAS URI of an Azure storage blob with read access or public URI. - [TimeoutInSecond ]: The timeout in seconds to execute the run command. .Link -https://learn.microsoft.com/powershell/module/az.connectedmachine/update-azconnectedmachineruncommand +https://learn.microsoft.com/powershell/module/az.connectedmachine/update-azconnectedmachineextension #> -function Update-AzConnectedMachineRunCommand { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand])] +function Update-AzConnectedMachineExtension { +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtension])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] + [Parameter(ParameterSetName='UpdateViaJsonFilePath', Mandatory)] + [Parameter(ParameterSetName='UpdateViaJsonString', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Path')] [System.String] - # The name of the hybrid machine. + # The name of the machine where the extension should be created or updated. ${MachineName}, [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] - [ArgumentCompleter({Get-AzResourceGroup | Select-Object -ExpandProperty ResourceGroupName})] + [Parameter(ParameterSetName='UpdateViaIdentityMachine', Mandatory)] + [Parameter(ParameterSetName='UpdateViaIdentityMachineExpanded', Mandatory)] + [Parameter(ParameterSetName='UpdateViaJsonFilePath', Mandatory)] + [Parameter(ParameterSetName='UpdateViaJsonString', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Path')] [System.String] - # The name of the resource group. - # The name is case insensitive. - ${ResourceGroupName}, + # The name of the machine extension. + ${Name}, [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] - [Parameter(ParameterSetName='UpdateViaIdentityMachine', Mandatory)] - [Parameter(ParameterSetName='UpdateViaIdentityMachineExpanded', Mandatory)] + [Parameter(ParameterSetName='UpdateViaJsonFilePath', Mandatory)] + [Parameter(ParameterSetName='UpdateViaJsonString', Mandatory)] + [ArgumentCompleter({Get-AzResourceGroup | Select-Object -ExpandProperty ResourceGroupName})] [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Path')] [System.String] - # The name of the run command. - ${RunCommandName}, + # The name of the resource group. + # The name is case insensitive. + ${ResourceGroupName}, [Parameter(ParameterSetName='Update')] [Parameter(ParameterSetName='UpdateExpanded')] + [Parameter(ParameterSetName='UpdateViaJsonFilePath')] + [Parameter(ParameterSetName='UpdateViaJsonString')] [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] @@ -6581,168 +5288,99 @@ param( [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentityMachine', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand] - # Describes a Run Command - ${RunCommandProperty}, + [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtensionUpdate] + # Describes a Machine Extension Update. + ${ExtensionParameter}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityMachineExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] [System.Management.Automation.SwitchParameter] - # Optional. - # If set to true, provisioning will complete as soon as script starts and will not wait for script to complete. - ${AsyncExecution}, - - [Parameter(ParameterSetName='UpdateExpanded')] - [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] - [Parameter(ParameterSetName='UpdateViaIdentityMachineExpanded')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [System.String] - # Client Id (GUID value) of the user-assigned managed identity. - # ObjectId should not be used if this is provided. - ${ErrorBlobManagedIdentityClientId}, - - [Parameter(ParameterSetName='UpdateExpanded')] - [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] - [Parameter(ParameterSetName='UpdateViaIdentityMachineExpanded')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [System.String] - # Object Id (GUID value) of the user-assigned managed identity. - # ClientId should not be used if this is provided. - ${ErrorBlobManagedIdentityObjectId}, - - [Parameter(ParameterSetName='UpdateExpanded')] - [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] - [Parameter(ParameterSetName='UpdateViaIdentityMachineExpanded')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [System.String] - # Specifies the Azure storage blob where script error stream will be uploaded. - # Use a SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob. - # Refer errorBlobManagedIdentity parameter. - ${ErrorBlobUri}, - - [Parameter(ParameterSetName='UpdateExpanded')] - [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] - [Parameter(ParameterSetName='UpdateViaIdentityMachineExpanded')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [System.String] - # Client Id (GUID value) of the user-assigned managed identity. - # ObjectId should not be used if this is provided. - ${OutputBlobManagedIdentityClientId}, + # Indicates whether the extension should use a newer minor version if one is available at deployment time. + # Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true. + ${AutoUpgradeMinorVersion}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityMachineExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [System.String] - # Object Id (GUID value) of the user-assigned managed identity. - # ClientId should not be used if this is provided. - ${OutputBlobManagedIdentityObjectId}, + [System.Management.Automation.SwitchParameter] + # Indicates whether the extension should be automatically upgraded by the platform if there is a newer version available. + ${EnableAutomaticUpgrade}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityMachineExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] [System.String] - # Specifies the Azure storage blob where script output stream will be uploaded. - # Use a SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob. - # Refer outputBlobManagedIdentity parameter. - ${OutputBlobUri}, - - [Parameter(ParameterSetName='UpdateExpanded')] - [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] - [Parameter(ParameterSetName='UpdateViaIdentityMachineExpanded')] - [AllowEmptyCollection()] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandInputParameter[]] - # The parameters used by the script. - ${Parameter}, + # How the extension handler should be forced to update even if the extension configuration has not changed. + ${ForceRerun}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityMachineExpanded')] - [AllowEmptyCollection()] + [Alias('ProtectedSettings')] [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandInputParameter[]] - # The parameters used by the script. - ${ProtectedParameter}, + [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtensionUpdatePropertiesProtectedSettings]))] + [System.Collections.Hashtable] + # The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all. + ${ProtectedSetting}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityMachineExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] [System.String] - # Specifies the user account password on the machine when executing the run command. - ${RunAsPassword}, + # The name of the extension handler publisher. + ${Publisher}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityMachineExpanded')] + [Alias('Settings')] [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [System.String] - # Specifies the user account on the machine when executing the run command. - ${RunAsUser}, + [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtensionUpdatePropertiesSettings]))] + [System.Collections.Hashtable] + # Json formatted public settings for the extension. + ${Setting}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityMachineExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [System.String] - # Client Id (GUID value) of the user-assigned managed identity. - # ObjectId should not be used if this is provided. - ${ScriptUriManagedIdentityClientId}, + [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceUpdateTags]))] + [System.Collections.Hashtable] + # Resource tags + ${Tag}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityMachineExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] [System.String] - # Object Id (GUID value) of the user-assigned managed identity. - # ClientId should not be used if this is provided. - ${ScriptUriManagedIdentityObjectId}, + # Specifies the type of the extension; an example is "CustomScriptExtension". + ${Type}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityMachineExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] [System.String] - # Specifies the commandId of predefined built-in script. - ${SourceCommandId}, + # Specifies the version of the script handler. + ${TypeHandlerVersion}, - [Parameter(ParameterSetName='UpdateExpanded')] - [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] - [Parameter(ParameterSetName='UpdateViaIdentityMachineExpanded')] + [Parameter(ParameterSetName='UpdateViaJsonFilePath', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] [System.String] - # Specifies the script content to be executed on the machine. - ${SourceScript}, + # Path of Json file supplied to the Update operation + ${JsonFilePath}, - [Parameter(ParameterSetName='UpdateExpanded')] - [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] - [Parameter(ParameterSetName='UpdateViaIdentityMachineExpanded')] + [Parameter(ParameterSetName='UpdateViaJsonString', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] [System.String] - # Specifies the script download location. - # It can be either SAS URI of an Azure storage blob with read access or public URI. - ${SourceScriptUri}, - - [Parameter(ParameterSetName='UpdateExpanded')] - [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] - [Parameter(ParameterSetName='UpdateViaIdentityMachineExpanded')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceTags]))] - [System.Collections.Hashtable] - # Resource tags. - ${Tag}, - - [Parameter(ParameterSetName='UpdateExpanded')] - [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] - [Parameter(ParameterSetName='UpdateViaIdentityMachineExpanded')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [System.Int32] - # The timeout in seconds to execute the run command. - ${TimeoutInSecond}, + # Json string supplied to the Update operation + ${JsonString}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] @@ -6831,14 +5469,16 @@ begin { } $mapping = @{ - Update = 'Az.ConnectedMachine.private\Update-AzConnectedMachineRunCommand_Update'; - UpdateExpanded = 'Az.ConnectedMachine.private\Update-AzConnectedMachineRunCommand_UpdateExpanded'; - UpdateViaIdentity = 'Az.ConnectedMachine.private\Update-AzConnectedMachineRunCommand_UpdateViaIdentity'; - UpdateViaIdentityExpanded = 'Az.ConnectedMachine.private\Update-AzConnectedMachineRunCommand_UpdateViaIdentityExpanded'; - UpdateViaIdentityMachine = 'Az.ConnectedMachine.private\Update-AzConnectedMachineRunCommand_UpdateViaIdentityMachine'; - UpdateViaIdentityMachineExpanded = 'Az.ConnectedMachine.private\Update-AzConnectedMachineRunCommand_UpdateViaIdentityMachineExpanded'; - } - if (('Update', 'UpdateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { + Update = 'Az.ConnectedMachine.private\Update-AzConnectedMachineExtension_Update'; + UpdateExpanded = 'Az.ConnectedMachine.private\Update-AzConnectedMachineExtension_UpdateExpanded'; + UpdateViaIdentity = 'Az.ConnectedMachine.private\Update-AzConnectedMachineExtension_UpdateViaIdentity'; + UpdateViaIdentityExpanded = 'Az.ConnectedMachine.private\Update-AzConnectedMachineExtension_UpdateViaIdentityExpanded'; + UpdateViaIdentityMachine = 'Az.ConnectedMachine.private\Update-AzConnectedMachineExtension_UpdateViaIdentityMachine'; + UpdateViaIdentityMachineExpanded = 'Az.ConnectedMachine.private\Update-AzConnectedMachineExtension_UpdateViaIdentityMachineExpanded'; + UpdateViaJsonFilePath = 'Az.ConnectedMachine.private\Update-AzConnectedMachineExtension_UpdateViaJsonFilePath'; + UpdateViaJsonString = 'Az.ConnectedMachine.private\Update-AzConnectedMachineExtension_UpdateViaJsonString'; + } + if (('Update', 'UpdateExpanded', 'UpdateViaJsonFilePath', 'UpdateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { $testPlayback = $false $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { @@ -6920,30 +5560,21 @@ COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. INPUTOBJECT : Identity Parameter - [BaseProvider ]: The name of the base Resource Provider. - [BaseResourceName ]: The name of the base resource. - [BaseResourceType ]: The name of the base Resource Type. [ExtensionName ]: The name of the machine extension. [ExtensionType ]: The extensionType of the Extension being received. - [GatewayName ]: The name of the Gateway. [GroupName ]: The name of the private link resource. [Id ]: Resource identity path [LicenseName ]: The name of the license. [LicenseProfileName ]: The name of the license profile. [Location ]: The location of the Extension being received. [MachineName ]: The name of the hybrid machine. - [MetadataName ]: Name of the HybridIdentityMetadata. [Name ]: The name of the hybrid machine. - [OSType ]: Defines the os type. [PerimeterName ]: The name, in the format {perimeterGuid}.{associationName}, of the Network Security Perimeter resource. [PrivateEndpointConnectionName ]: The name of the private endpoint connection. [PrivateLinkScopeId ]: The id (Guid) of the Azure Arc PrivateLinkScope resource. [Publisher ]: The publisher of the Extension being received. [ResourceGroupName ]: The name of the resource group. The name is case insensitive. - [ResourceUri ]: The fully qualified Azure Resource manager identifier of the resource to be connected. - [RunCommandName ]: The name of the run command. [ScopeName ]: The name of the Azure Arc PrivateLinkScope resource. - [SettingsResourceName ]: The name of the settings resource. [SubscriptionId ]: The ID of the target subscription. [Version ]: The version of the Extension being received. @@ -7521,30 +6152,21 @@ COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. INPUTOBJECT : Identity Parameter - [BaseProvider ]: The name of the base Resource Provider. - [BaseResourceName ]: The name of the base resource. - [BaseResourceType ]: The name of the base Resource Type. [ExtensionName ]: The name of the machine extension. [ExtensionType ]: The extensionType of the Extension being received. - [GatewayName ]: The name of the Gateway. [GroupName ]: The name of the private link resource. [Id ]: Resource identity path [LicenseName ]: The name of the license. [LicenseProfileName ]: The name of the license profile. [Location ]: The location of the Extension being received. [MachineName ]: The name of the hybrid machine. - [MetadataName ]: Name of the HybridIdentityMetadata. [Name ]: The name of the hybrid machine. - [OSType ]: Defines the os type. [PerimeterName ]: The name, in the format {perimeterGuid}.{associationName}, of the Network Security Perimeter resource. [PrivateEndpointConnectionName ]: The name of the private endpoint connection. [PrivateLinkScopeId ]: The id (Guid) of the Azure Arc PrivateLinkScope resource. [Publisher ]: The publisher of the Extension being received. [ResourceGroupName ]: The name of the resource group. The name is case insensitive. - [ResourceUri ]: The fully qualified Azure Resource manager identifier of the resource to be connected. - [RunCommandName ]: The name of the run command. [ScopeName ]: The name of the Azure Arc PrivateLinkScope resource. - [SettingsResourceName ]: The name of the settings resource. [SubscriptionId ]: The ID of the target subscription. [Version ]: The version of the Extension being received. diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/exports/Remove-AzConnectedLicense.ps1 b/src/ConnectedMachine/ConnectedMachine.Autorest/exports/Remove-AzConnectedLicense.ps1 index 1d1db6be9b25..828ea2660e0c 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/exports/Remove-AzConnectedLicense.ps1 +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/exports/Remove-AzConnectedLicense.ps1 @@ -32,30 +32,21 @@ COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. INPUTOBJECT : Identity Parameter - [BaseProvider ]: The name of the base Resource Provider. - [BaseResourceName ]: The name of the base resource. - [BaseResourceType ]: The name of the base Resource Type. [ExtensionName ]: The name of the machine extension. [ExtensionType ]: The extensionType of the Extension being received. - [GatewayName ]: The name of the Gateway. [GroupName ]: The name of the private link resource. [Id ]: Resource identity path [LicenseName ]: The name of the license. [LicenseProfileName ]: The name of the license profile. [Location ]: The location of the Extension being received. [MachineName ]: The name of the hybrid machine. - [MetadataName ]: Name of the HybridIdentityMetadata. [Name ]: The name of the hybrid machine. - [OSType ]: Defines the os type. [PerimeterName ]: The name, in the format {perimeterGuid}.{associationName}, of the Network Security Perimeter resource. [PrivateEndpointConnectionName ]: The name of the private endpoint connection. [PrivateLinkScopeId ]: The id (Guid) of the Azure Arc PrivateLinkScope resource. [Publisher ]: The publisher of the Extension being received. [ResourceGroupName ]: The name of the resource group. The name is case insensitive. - [ResourceUri ]: The fully qualified Azure Resource manager identifier of the resource to be connected. - [RunCommandName ]: The name of the run command. [ScopeName ]: The name of the Azure Arc PrivateLinkScope resource. - [SettingsResourceName ]: The name of the settings resource. [SubscriptionId ]: The ID of the target subscription. [Version ]: The version of the Extension being received. .Link diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/exports/Remove-AzConnectedMachine.ps1 b/src/ConnectedMachine/ConnectedMachine.Autorest/exports/Remove-AzConnectedMachine.ps1 index 71586c602b87..6f56eb7ffb54 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/exports/Remove-AzConnectedMachine.ps1 +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/exports/Remove-AzConnectedMachine.ps1 @@ -34,30 +34,21 @@ COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. INPUTOBJECT : Identity Parameter - [BaseProvider ]: The name of the base Resource Provider. - [BaseResourceName ]: The name of the base resource. - [BaseResourceType ]: The name of the base Resource Type. [ExtensionName ]: The name of the machine extension. [ExtensionType ]: The extensionType of the Extension being received. - [GatewayName ]: The name of the Gateway. [GroupName ]: The name of the private link resource. [Id ]: Resource identity path [LicenseName ]: The name of the license. [LicenseProfileName ]: The name of the license profile. [Location ]: The location of the Extension being received. [MachineName ]: The name of the hybrid machine. - [MetadataName ]: Name of the HybridIdentityMetadata. [Name ]: The name of the hybrid machine. - [OSType ]: Defines the os type. [PerimeterName ]: The name, in the format {perimeterGuid}.{associationName}, of the Network Security Perimeter resource. [PrivateEndpointConnectionName ]: The name of the private endpoint connection. [PrivateLinkScopeId ]: The id (Guid) of the Azure Arc PrivateLinkScope resource. [Publisher ]: The publisher of the Extension being received. [ResourceGroupName ]: The name of the resource group. The name is case insensitive. - [ResourceUri ]: The fully qualified Azure Resource manager identifier of the resource to be connected. - [RunCommandName ]: The name of the run command. [ScopeName ]: The name of the Azure Arc PrivateLinkScope resource. - [SettingsResourceName ]: The name of the settings resource. [SubscriptionId ]: The ID of the target subscription. [Version ]: The version of the Extension being received. .Link diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/exports/Remove-AzConnectedMachineExtension.ps1 b/src/ConnectedMachine/ConnectedMachine.Autorest/exports/Remove-AzConnectedMachineExtension.ps1 index c9b192bf383b..0ab779176604 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/exports/Remove-AzConnectedMachineExtension.ps1 +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/exports/Remove-AzConnectedMachineExtension.ps1 @@ -34,58 +34,40 @@ COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. INPUTOBJECT : Identity Parameter - [BaseProvider ]: The name of the base Resource Provider. - [BaseResourceName ]: The name of the base resource. - [BaseResourceType ]: The name of the base Resource Type. [ExtensionName ]: The name of the machine extension. [ExtensionType ]: The extensionType of the Extension being received. - [GatewayName ]: The name of the Gateway. [GroupName ]: The name of the private link resource. [Id ]: Resource identity path [LicenseName ]: The name of the license. [LicenseProfileName ]: The name of the license profile. [Location ]: The location of the Extension being received. [MachineName ]: The name of the hybrid machine. - [MetadataName ]: Name of the HybridIdentityMetadata. [Name ]: The name of the hybrid machine. - [OSType ]: Defines the os type. [PerimeterName ]: The name, in the format {perimeterGuid}.{associationName}, of the Network Security Perimeter resource. [PrivateEndpointConnectionName ]: The name of the private endpoint connection. [PrivateLinkScopeId ]: The id (Guid) of the Azure Arc PrivateLinkScope resource. [Publisher ]: The publisher of the Extension being received. [ResourceGroupName ]: The name of the resource group. The name is case insensitive. - [ResourceUri ]: The fully qualified Azure Resource manager identifier of the resource to be connected. - [RunCommandName ]: The name of the run command. [ScopeName ]: The name of the Azure Arc PrivateLinkScope resource. - [SettingsResourceName ]: The name of the settings resource. [SubscriptionId ]: The ID of the target subscription. [Version ]: The version of the Extension being received. MACHINEINPUTOBJECT : Identity Parameter - [BaseProvider ]: The name of the base Resource Provider. - [BaseResourceName ]: The name of the base resource. - [BaseResourceType ]: The name of the base Resource Type. [ExtensionName ]: The name of the machine extension. [ExtensionType ]: The extensionType of the Extension being received. - [GatewayName ]: The name of the Gateway. [GroupName ]: The name of the private link resource. [Id ]: Resource identity path [LicenseName ]: The name of the license. [LicenseProfileName ]: The name of the license profile. [Location ]: The location of the Extension being received. [MachineName ]: The name of the hybrid machine. - [MetadataName ]: Name of the HybridIdentityMetadata. [Name ]: The name of the hybrid machine. - [OSType ]: Defines the os type. [PerimeterName ]: The name, in the format {perimeterGuid}.{associationName}, of the Network Security Perimeter resource. [PrivateEndpointConnectionName ]: The name of the private endpoint connection. [PrivateLinkScopeId ]: The id (Guid) of the Azure Arc PrivateLinkScope resource. [Publisher ]: The publisher of the Extension being received. [ResourceGroupName ]: The name of the resource group. The name is case insensitive. - [ResourceUri ]: The fully qualified Azure Resource manager identifier of the resource to be connected. - [RunCommandName ]: The name of the run command. [ScopeName ]: The name of the Azure Arc PrivateLinkScope resource. - [SettingsResourceName ]: The name of the settings resource. [SubscriptionId ]: The ID of the target subscription. [Version ]: The version of the Extension being received. .Link diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/exports/Remove-AzConnectedPrivateLinkScope.ps1 b/src/ConnectedMachine/ConnectedMachine.Autorest/exports/Remove-AzConnectedPrivateLinkScope.ps1 index 28d6e3cdcdc6..a66bc1affc57 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/exports/Remove-AzConnectedPrivateLinkScope.ps1 +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/exports/Remove-AzConnectedPrivateLinkScope.ps1 @@ -32,30 +32,21 @@ COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. INPUTOBJECT : Identity Parameter - [BaseProvider ]: The name of the base Resource Provider. - [BaseResourceName ]: The name of the base resource. - [BaseResourceType ]: The name of the base Resource Type. [ExtensionName ]: The name of the machine extension. [ExtensionType ]: The extensionType of the Extension being received. - [GatewayName ]: The name of the Gateway. [GroupName ]: The name of the private link resource. [Id ]: Resource identity path [LicenseName ]: The name of the license. [LicenseProfileName ]: The name of the license profile. [Location ]: The location of the Extension being received. [MachineName ]: The name of the hybrid machine. - [MetadataName ]: Name of the HybridIdentityMetadata. [Name ]: The name of the hybrid machine. - [OSType ]: Defines the os type. [PerimeterName ]: The name, in the format {perimeterGuid}.{associationName}, of the Network Security Perimeter resource. [PrivateEndpointConnectionName ]: The name of the private endpoint connection. [PrivateLinkScopeId ]: The id (Guid) of the Azure Arc PrivateLinkScope resource. [Publisher ]: The publisher of the Extension being received. [ResourceGroupName ]: The name of the resource group. The name is case insensitive. - [ResourceUri ]: The fully qualified Azure Resource manager identifier of the resource to be connected. - [RunCommandName ]: The name of the run command. [ScopeName ]: The name of the Azure Arc PrivateLinkScope resource. - [SettingsResourceName ]: The name of the settings resource. [SubscriptionId ]: The ID of the target subscription. [Version ]: The version of the Extension being received. .Link diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/exports/Update-AzConnectedExtension.ps1 b/src/ConnectedMachine/ConnectedMachine.Autorest/exports/Update-AzConnectedExtension.ps1 index 72433a2c3bfd..bf1c208b8e6c 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/exports/Update-AzConnectedExtension.ps1 +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/exports/Update-AzConnectedExtension.ps1 @@ -39,30 +39,21 @@ EXTENSIONUPGRADEPARAMETER : Describes the Machine Exte [(Any) ]: This indicates any property can be added to this object. INPUTOBJECT : Identity Parameter - [BaseProvider ]: The name of the base Resource Provider. - [BaseResourceName ]: The name of the base resource. - [BaseResourceType ]: The name of the base Resource Type. [ExtensionName ]: The name of the machine extension. [ExtensionType ]: The extensionType of the Extension being received. - [GatewayName ]: The name of the Gateway. [GroupName ]: The name of the private link resource. [Id ]: Resource identity path [LicenseName ]: The name of the license. [LicenseProfileName ]: The name of the license profile. [Location ]: The location of the Extension being received. [MachineName ]: The name of the hybrid machine. - [MetadataName ]: Name of the HybridIdentityMetadata. [Name ]: The name of the hybrid machine. - [OSType ]: Defines the os type. [PerimeterName ]: The name, in the format {perimeterGuid}.{associationName}, of the Network Security Perimeter resource. [PrivateEndpointConnectionName ]: The name of the private endpoint connection. [PrivateLinkScopeId ]: The id (Guid) of the Azure Arc PrivateLinkScope resource. [Publisher ]: The publisher of the Extension being received. [ResourceGroupName ]: The name of the resource group. The name is case insensitive. - [ResourceUri ]: The fully qualified Azure Resource manager identifier of the resource to be connected. - [RunCommandName ]: The name of the run command. [ScopeName ]: The name of the Azure Arc PrivateLinkScope resource. - [SettingsResourceName ]: The name of the settings resource. [SubscriptionId ]: The ID of the target subscription. [Version ]: The version of the Extension being received. .Link diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/exports/Update-AzConnectedMachine.ps1 b/src/ConnectedMachine/ConnectedMachine.Autorest/exports/Update-AzConnectedMachine.ps1 index 9aaa24b37319..d5719900882a 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/exports/Update-AzConnectedMachine.ps1 +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/exports/Update-AzConnectedMachine.ps1 @@ -34,30 +34,21 @@ COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. INPUTOBJECT : Identity Parameter - [BaseProvider ]: The name of the base Resource Provider. - [BaseResourceName ]: The name of the base resource. - [BaseResourceType ]: The name of the base Resource Type. [ExtensionName ]: The name of the machine extension. [ExtensionType ]: The extensionType of the Extension being received. - [GatewayName ]: The name of the Gateway. [GroupName ]: The name of the private link resource. [Id ]: Resource identity path [LicenseName ]: The name of the license. [LicenseProfileName ]: The name of the license profile. [Location ]: The location of the Extension being received. [MachineName ]: The name of the hybrid machine. - [MetadataName ]: Name of the HybridIdentityMetadata. [Name ]: The name of the hybrid machine. - [OSType ]: Defines the os type. [PerimeterName ]: The name, in the format {perimeterGuid}.{associationName}, of the Network Security Perimeter resource. [PrivateEndpointConnectionName ]: The name of the private endpoint connection. [PrivateLinkScopeId ]: The id (Guid) of the Azure Arc PrivateLinkScope resource. [Publisher ]: The publisher of the Extension being received. [ResourceGroupName ]: The name of the resource group. The name is case insensitive. - [ResourceUri ]: The fully qualified Azure Resource manager identifier of the resource to be connected. - [RunCommandName ]: The name of the run command. [ScopeName ]: The name of the Azure Arc PrivateLinkScope resource. - [SettingsResourceName ]: The name of the settings resource. [SubscriptionId ]: The ID of the target subscription. [Version ]: The version of the Extension being received. diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/exports/Update-AzConnectedMachineExtension.ps1 b/src/ConnectedMachine/ConnectedMachine.Autorest/exports/Update-AzConnectedMachineExtension.ps1 index 24b36a8503d5..35838addb8a3 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/exports/Update-AzConnectedMachineExtension.ps1 +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/exports/Update-AzConnectedMachineExtension.ps1 @@ -76,58 +76,40 @@ EXTENSIONPARAMETER : Describes a Machine Extension Upda [TypeHandlerVersion ]: Specifies the version of the script handler. INPUTOBJECT : Identity Parameter - [BaseProvider ]: The name of the base Resource Provider. - [BaseResourceName ]: The name of the base resource. - [BaseResourceType ]: The name of the base Resource Type. [ExtensionName ]: The name of the machine extension. [ExtensionType ]: The extensionType of the Extension being received. - [GatewayName ]: The name of the Gateway. [GroupName ]: The name of the private link resource. [Id ]: Resource identity path [LicenseName ]: The name of the license. [LicenseProfileName ]: The name of the license profile. [Location ]: The location of the Extension being received. [MachineName ]: The name of the hybrid machine. - [MetadataName ]: Name of the HybridIdentityMetadata. [Name ]: The name of the hybrid machine. - [OSType ]: Defines the os type. [PerimeterName ]: The name, in the format {perimeterGuid}.{associationName}, of the Network Security Perimeter resource. [PrivateEndpointConnectionName ]: The name of the private endpoint connection. [PrivateLinkScopeId ]: The id (Guid) of the Azure Arc PrivateLinkScope resource. [Publisher ]: The publisher of the Extension being received. [ResourceGroupName ]: The name of the resource group. The name is case insensitive. - [ResourceUri ]: The fully qualified Azure Resource manager identifier of the resource to be connected. - [RunCommandName ]: The name of the run command. [ScopeName ]: The name of the Azure Arc PrivateLinkScope resource. - [SettingsResourceName ]: The name of the settings resource. [SubscriptionId ]: The ID of the target subscription. [Version ]: The version of the Extension being received. MACHINEINPUTOBJECT : Identity Parameter - [BaseProvider ]: The name of the base Resource Provider. - [BaseResourceName ]: The name of the base resource. - [BaseResourceType ]: The name of the base Resource Type. [ExtensionName ]: The name of the machine extension. [ExtensionType ]: The extensionType of the Extension being received. - [GatewayName ]: The name of the Gateway. [GroupName ]: The name of the private link resource. [Id ]: Resource identity path [LicenseName ]: The name of the license. [LicenseProfileName ]: The name of the license profile. [Location ]: The location of the Extension being received. [MachineName ]: The name of the hybrid machine. - [MetadataName ]: Name of the HybridIdentityMetadata. [Name ]: The name of the hybrid machine. - [OSType ]: Defines the os type. [PerimeterName ]: The name, in the format {perimeterGuid}.{associationName}, of the Network Security Perimeter resource. [PrivateEndpointConnectionName ]: The name of the private endpoint connection. [PrivateLinkScopeId ]: The id (Guid) of the Azure Arc PrivateLinkScope resource. [Publisher ]: The publisher of the Extension being received. [ResourceGroupName ]: The name of the resource group. The name is case insensitive. - [ResourceUri ]: The fully qualified Azure Resource manager identifier of the resource to be connected. - [RunCommandName ]: The name of the run command. [ScopeName ]: The name of the Azure Arc PrivateLinkScope resource. - [SettingsResourceName ]: The name of the settings resource. [SubscriptionId ]: The ID of the target subscription. [Version ]: The version of the Extension being received. .Link diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/exports/Update-AzConnectedMachineRunCommand.ps1 b/src/ConnectedMachine/ConnectedMachine.Autorest/exports/Update-AzConnectedMachineRunCommand.ps1 deleted file mode 100644 index 4b5eb1e5acfa..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/exports/Update-AzConnectedMachineRunCommand.ps1 +++ /dev/null @@ -1,496 +0,0 @@ - -# ---------------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# http://www.apache.org/licenses/LICENSE-2.0 -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code -# is regenerated. -# ---------------------------------------------------------------------------------- - -<# -.Synopsis -The operation to update a run command. -.Description -The operation to update a run command. -.Example -Update-AzConnectedMachineRunCommand -ResourceGroupName "az-sdk-test" -RunCommandName "myRunCommand3" -MachineName "testmachine" -SubscriptionId ********-****-****-****-********** -Tag @{Tag1="tag1"; Tag2="tag2"} - - -.Inputs -Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentity -.Inputs -Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand -.Outputs -Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand -.Notes -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - -INPUTOBJECT : Identity Parameter - [BaseProvider ]: The name of the base Resource Provider. - [BaseResourceName ]: The name of the base resource. - [BaseResourceType ]: The name of the base Resource Type. - [ExtensionName ]: The name of the machine extension. - [ExtensionType ]: The extensionType of the Extension being received. - [GatewayName ]: The name of the Gateway. - [GroupName ]: The name of the private link resource. - [Id ]: Resource identity path - [LicenseName ]: The name of the license. - [LicenseProfileName ]: The name of the license profile. - [Location ]: The location of the Extension being received. - [MachineName ]: The name of the hybrid machine. - [MetadataName ]: Name of the HybridIdentityMetadata. - [Name ]: The name of the hybrid machine. - [OSType ]: Defines the os type. - [PerimeterName ]: The name, in the format {perimeterGuid}.{associationName}, of the Network Security Perimeter resource. - [PrivateEndpointConnectionName ]: The name of the private endpoint connection. - [PrivateLinkScopeId ]: The id (Guid) of the Azure Arc PrivateLinkScope resource. - [Publisher ]: The publisher of the Extension being received. - [ResourceGroupName ]: The name of the resource group. The name is case insensitive. - [ResourceUri ]: The fully qualified Azure Resource manager identifier of the resource to be connected. - [RunCommandName ]: The name of the run command. - [ScopeName ]: The name of the Azure Arc PrivateLinkScope resource. - [SettingsResourceName ]: The name of the settings resource. - [SubscriptionId ]: The ID of the target subscription. - [Version ]: The version of the Extension being received. - -MACHINEINPUTOBJECT : Identity Parameter - [BaseProvider ]: The name of the base Resource Provider. - [BaseResourceName ]: The name of the base resource. - [BaseResourceType ]: The name of the base Resource Type. - [ExtensionName ]: The name of the machine extension. - [ExtensionType ]: The extensionType of the Extension being received. - [GatewayName ]: The name of the Gateway. - [GroupName ]: The name of the private link resource. - [Id ]: Resource identity path - [LicenseName ]: The name of the license. - [LicenseProfileName ]: The name of the license profile. - [Location ]: The location of the Extension being received. - [MachineName ]: The name of the hybrid machine. - [MetadataName ]: Name of the HybridIdentityMetadata. - [Name ]: The name of the hybrid machine. - [OSType ]: Defines the os type. - [PerimeterName ]: The name, in the format {perimeterGuid}.{associationName}, of the Network Security Perimeter resource. - [PrivateEndpointConnectionName ]: The name of the private endpoint connection. - [PrivateLinkScopeId ]: The id (Guid) of the Azure Arc PrivateLinkScope resource. - [Publisher ]: The publisher of the Extension being received. - [ResourceGroupName ]: The name of the resource group. The name is case insensitive. - [ResourceUri ]: The fully qualified Azure Resource manager identifier of the resource to be connected. - [RunCommandName ]: The name of the run command. - [ScopeName ]: The name of the Azure Arc PrivateLinkScope resource. - [SettingsResourceName ]: The name of the settings resource. - [SubscriptionId ]: The ID of the target subscription. - [Version ]: The version of the Extension being received. - -PARAMETER : The parameters used by the script. - Name : The run command parameter name. - Value : The run command parameter value. - -PROTECTEDPARAMETER : The parameters used by the script. - Name : The run command parameter name. - Value : The run command parameter value. - -RUNCOMMANDPROPERTY : Describes a Run Command - Location : The geo-location where the resource lives - [Tags ]: Resource tags. - [(Any) ]: This indicates any property can be added to this object. - [AsyncExecution ]: Optional. If set to true, provisioning will complete as soon as script starts and will not wait for script to complete. - [ErrorBlobManagedIdentityClientId ]: Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided. - [ErrorBlobManagedIdentityObjectId ]: Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided. - [ErrorBlobUri ]: Specifies the Azure storage blob where script error stream will be uploaded. Use a SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob. Refer errorBlobManagedIdentity parameter. - [OutputBlobManagedIdentityClientId ]: Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided. - [OutputBlobManagedIdentityObjectId ]: Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided. - [OutputBlobUri ]: Specifies the Azure storage blob where script output stream will be uploaded. Use a SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob. Refer outputBlobManagedIdentity parameter. - [Parameter >]: The parameters used by the script. - Name : The run command parameter name. - Value : The run command parameter value. - [ProtectedParameter >]: The parameters used by the script. - [RunAsPassword ]: Specifies the user account password on the machine when executing the run command. - [RunAsUser ]: Specifies the user account on the machine when executing the run command. - [ScriptUriManagedIdentityClientId ]: Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided. - [ScriptUriManagedIdentityObjectId ]: Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided. - [SourceCommandId ]: Specifies the commandId of predefined built-in script. - [SourceScript ]: Specifies the script content to be executed on the machine. - [SourceScriptUri ]: Specifies the script download location. It can be either SAS URI of an Azure storage blob with read access or public URI. - [TimeoutInSecond ]: The timeout in seconds to execute the run command. -.Link -https://learn.microsoft.com/powershell/module/az.connectedmachine/update-azconnectedmachineruncommand -#> -function Update-AzConnectedMachineRunCommand { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand])] -[CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] -param( - [Parameter(ParameterSetName='Update', Mandatory)] - [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Path')] - [System.String] - # The name of the hybrid machine. - ${MachineName}, - - [Parameter(ParameterSetName='Update', Mandatory)] - [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] - [ArgumentCompleter({Get-AzResourceGroup | Select-Object -ExpandProperty ResourceGroupName})] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Path')] - [System.String] - # The name of the resource group. - # The name is case insensitive. - ${ResourceGroupName}, - - [Parameter(ParameterSetName='Update', Mandatory)] - [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] - [Parameter(ParameterSetName='UpdateViaIdentityMachine', Mandatory)] - [Parameter(ParameterSetName='UpdateViaIdentityMachineExpanded', Mandatory)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Path')] - [System.String] - # The name of the run command. - ${RunCommandName}, - - [Parameter(ParameterSetName='Update')] - [Parameter(ParameterSetName='UpdateExpanded')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Path')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] - [System.String] - # The ID of the target subscription. - ${SubscriptionId}, - - [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] - [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Path')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentity] - # Identity Parameter - ${InputObject}, - - [Parameter(ParameterSetName='UpdateViaIdentityMachine', Mandatory, ValueFromPipeline)] - [Parameter(ParameterSetName='UpdateViaIdentityMachineExpanded', Mandatory, ValueFromPipeline)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Path')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentity] - # Identity Parameter - ${MachineInputObject}, - - [Parameter(ParameterSetName='Update', Mandatory, ValueFromPipeline)] - [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] - [Parameter(ParameterSetName='UpdateViaIdentityMachine', Mandatory, ValueFromPipeline)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand] - # Describes a Run Command - ${RunCommandProperty}, - - [Parameter(ParameterSetName='UpdateExpanded')] - [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] - [Parameter(ParameterSetName='UpdateViaIdentityMachineExpanded')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [System.Management.Automation.SwitchParameter] - # Optional. - # If set to true, provisioning will complete as soon as script starts and will not wait for script to complete. - ${AsyncExecution}, - - [Parameter(ParameterSetName='UpdateExpanded')] - [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] - [Parameter(ParameterSetName='UpdateViaIdentityMachineExpanded')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [System.String] - # Client Id (GUID value) of the user-assigned managed identity. - # ObjectId should not be used if this is provided. - ${ErrorBlobManagedIdentityClientId}, - - [Parameter(ParameterSetName='UpdateExpanded')] - [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] - [Parameter(ParameterSetName='UpdateViaIdentityMachineExpanded')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [System.String] - # Object Id (GUID value) of the user-assigned managed identity. - # ClientId should not be used if this is provided. - ${ErrorBlobManagedIdentityObjectId}, - - [Parameter(ParameterSetName='UpdateExpanded')] - [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] - [Parameter(ParameterSetName='UpdateViaIdentityMachineExpanded')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [System.String] - # Specifies the Azure storage blob where script error stream will be uploaded. - # Use a SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob. - # Refer errorBlobManagedIdentity parameter. - ${ErrorBlobUri}, - - [Parameter(ParameterSetName='UpdateExpanded')] - [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] - [Parameter(ParameterSetName='UpdateViaIdentityMachineExpanded')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [System.String] - # Client Id (GUID value) of the user-assigned managed identity. - # ObjectId should not be used if this is provided. - ${OutputBlobManagedIdentityClientId}, - - [Parameter(ParameterSetName='UpdateExpanded')] - [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] - [Parameter(ParameterSetName='UpdateViaIdentityMachineExpanded')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [System.String] - # Object Id (GUID value) of the user-assigned managed identity. - # ClientId should not be used if this is provided. - ${OutputBlobManagedIdentityObjectId}, - - [Parameter(ParameterSetName='UpdateExpanded')] - [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] - [Parameter(ParameterSetName='UpdateViaIdentityMachineExpanded')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [System.String] - # Specifies the Azure storage blob where script output stream will be uploaded. - # Use a SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob. - # Refer outputBlobManagedIdentity parameter. - ${OutputBlobUri}, - - [Parameter(ParameterSetName='UpdateExpanded')] - [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] - [Parameter(ParameterSetName='UpdateViaIdentityMachineExpanded')] - [AllowEmptyCollection()] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandInputParameter[]] - # The parameters used by the script. - ${Parameter}, - - [Parameter(ParameterSetName='UpdateExpanded')] - [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] - [Parameter(ParameterSetName='UpdateViaIdentityMachineExpanded')] - [AllowEmptyCollection()] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandInputParameter[]] - # The parameters used by the script. - ${ProtectedParameter}, - - [Parameter(ParameterSetName='UpdateExpanded')] - [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] - [Parameter(ParameterSetName='UpdateViaIdentityMachineExpanded')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [System.String] - # Specifies the user account password on the machine when executing the run command. - ${RunAsPassword}, - - [Parameter(ParameterSetName='UpdateExpanded')] - [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] - [Parameter(ParameterSetName='UpdateViaIdentityMachineExpanded')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [System.String] - # Specifies the user account on the machine when executing the run command. - ${RunAsUser}, - - [Parameter(ParameterSetName='UpdateExpanded')] - [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] - [Parameter(ParameterSetName='UpdateViaIdentityMachineExpanded')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [System.String] - # Client Id (GUID value) of the user-assigned managed identity. - # ObjectId should not be used if this is provided. - ${ScriptUriManagedIdentityClientId}, - - [Parameter(ParameterSetName='UpdateExpanded')] - [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] - [Parameter(ParameterSetName='UpdateViaIdentityMachineExpanded')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [System.String] - # Object Id (GUID value) of the user-assigned managed identity. - # ClientId should not be used if this is provided. - ${ScriptUriManagedIdentityObjectId}, - - [Parameter(ParameterSetName='UpdateExpanded')] - [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] - [Parameter(ParameterSetName='UpdateViaIdentityMachineExpanded')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [System.String] - # Specifies the commandId of predefined built-in script. - ${SourceCommandId}, - - [Parameter(ParameterSetName='UpdateExpanded')] - [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] - [Parameter(ParameterSetName='UpdateViaIdentityMachineExpanded')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [System.String] - # Specifies the script content to be executed on the machine. - ${SourceScript}, - - [Parameter(ParameterSetName='UpdateExpanded')] - [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] - [Parameter(ParameterSetName='UpdateViaIdentityMachineExpanded')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [System.String] - # Specifies the script download location. - # It can be either SAS URI of an Azure storage blob with read access or public URI. - ${SourceScriptUri}, - - [Parameter(ParameterSetName='UpdateExpanded')] - [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] - [Parameter(ParameterSetName='UpdateViaIdentityMachineExpanded')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceTags]))] - [System.Collections.Hashtable] - # Resource tags. - ${Tag}, - - [Parameter(ParameterSetName='UpdateExpanded')] - [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] - [Parameter(ParameterSetName='UpdateViaIdentityMachineExpanded')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Body')] - [System.Int32] - # The timeout in seconds to execute the run command. - ${TimeoutInSecond}, - - [Parameter()] - [Alias('AzureRMContext', 'AzureCredential')] - [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Azure')] - [System.Management.Automation.PSObject] - # The DefaultProfile parameter is not functional. - # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. - ${DefaultProfile}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Runtime')] - [System.Management.Automation.SwitchParameter] - # Run the command as a job - ${AsJob}, - - [Parameter(DontShow)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Runtime')] - [System.Management.Automation.SwitchParameter] - # Wait for .NET debugger to attach - ${Break}, - - [Parameter(DontShow)] - [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Runtime')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SendAsyncStep[]] - # SendAsync Pipeline Steps to be appended to the front of the pipeline - ${HttpPipelineAppend}, - - [Parameter(DontShow)] - [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Runtime')] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SendAsyncStep[]] - # SendAsync Pipeline Steps to be prepended to the front of the pipeline - ${HttpPipelinePrepend}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Runtime')] - [System.Management.Automation.SwitchParameter] - # Run the command asynchronously - ${NoWait}, - - [Parameter(DontShow)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Runtime')] - [System.Uri] - # The URI for the proxy server to use - ${Proxy}, - - [Parameter(DontShow)] - [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Runtime')] - [System.Management.Automation.PSCredential] - # Credentials for a proxy server to use for the remote call - ${ProxyCredential}, - - [Parameter(DontShow)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category('Runtime')] - [System.Management.Automation.SwitchParameter] - # Use the default credentials for the proxy - ${ProxyUseDefaultCredentials} -) - -begin { - try { - $outBuffer = $null - if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { - $PSBoundParameters['OutBuffer'] = 1 - } - $parameterSet = $PSCmdlet.ParameterSetName - - if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) { - [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString() - } - $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId - if ($preTelemetryId -eq '') { - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId =(New-Guid).ToString() - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.module]::Instance.Telemetry.Invoke('Create', $MyInvocation, $parameterSet, $PSCmdlet) - } else { - $internalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets - if ($internalCalledCmdlets -eq '') { - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $MyInvocation.MyCommand.Name - } else { - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets += ',' + $MyInvocation.MyCommand.Name - } - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = 'internal' - } - - $mapping = @{ - Update = 'Az.ConnectedMachine.private\Update-AzConnectedMachineRunCommand_Update'; - UpdateExpanded = 'Az.ConnectedMachine.private\Update-AzConnectedMachineRunCommand_UpdateExpanded'; - UpdateViaIdentity = 'Az.ConnectedMachine.private\Update-AzConnectedMachineRunCommand_UpdateViaIdentity'; - UpdateViaIdentityExpanded = 'Az.ConnectedMachine.private\Update-AzConnectedMachineRunCommand_UpdateViaIdentityExpanded'; - UpdateViaIdentityMachine = 'Az.ConnectedMachine.private\Update-AzConnectedMachineRunCommand_UpdateViaIdentityMachine'; - UpdateViaIdentityMachineExpanded = 'Az.ConnectedMachine.private\Update-AzConnectedMachineRunCommand_UpdateViaIdentityMachineExpanded'; - } - if (('Update', 'UpdateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { - $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } - if ($testPlayback) { - $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') - } else { - $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id - } - } - $cmdInfo = Get-Command -Name $mapping[$parameterSet] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) - if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) - [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) - } - $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) - $scriptCmd = {& $wrappedCmd @PSBoundParameters} - $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) - $steppablePipeline.Begin($PSCmdlet) - } catch { - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() - throw - } -} - -process { - try { - $steppablePipeline.Process($_) - } catch { - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() - throw - } - - finally { - $backupTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId - $backupInternalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() - } - -} -end { - try { - $steppablePipeline.End() - - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $backupTelemetryId - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $backupInternalCalledCmdlets - if ($preTelemetryId -eq '') { - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.module]::Instance.Telemetry.Invoke('Send', $MyInvocation, $parameterSet, $PSCmdlet) - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() - } - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $preTelemetryId - - } catch { - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() - throw - } -} -} diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/exports/Update-AzConnectedPrivateLinkScopeTag.ps1 b/src/ConnectedMachine/ConnectedMachine.Autorest/exports/Update-AzConnectedPrivateLinkScopeTag.ps1 index 177ab8617b47..0cd9487b5c9f 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/exports/Update-AzConnectedPrivateLinkScopeTag.ps1 +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/exports/Update-AzConnectedPrivateLinkScopeTag.ps1 @@ -37,30 +37,21 @@ COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. INPUTOBJECT : Identity Parameter - [BaseProvider ]: The name of the base Resource Provider. - [BaseResourceName ]: The name of the base resource. - [BaseResourceType ]: The name of the base Resource Type. [ExtensionName ]: The name of the machine extension. [ExtensionType ]: The extensionType of the Extension being received. - [GatewayName ]: The name of the Gateway. [GroupName ]: The name of the private link resource. [Id ]: Resource identity path [LicenseName ]: The name of the license. [LicenseProfileName ]: The name of the license profile. [Location ]: The location of the Extension being received. [MachineName ]: The name of the hybrid machine. - [MetadataName ]: Name of the HybridIdentityMetadata. [Name ]: The name of the hybrid machine. - [OSType ]: Defines the os type. [PerimeterName ]: The name, in the format {perimeterGuid}.{associationName}, of the Network Security Perimeter resource. [PrivateEndpointConnectionName ]: The name of the private endpoint connection. [PrivateLinkScopeId ]: The id (Guid) of the Azure Arc PrivateLinkScope resource. [Publisher ]: The publisher of the Extension being received. [ResourceGroupName ]: The name of the resource group. The name is case insensitive. - [ResourceUri ]: The fully qualified Azure Resource manager identifier of the resource to be connected. - [RunCommandName ]: The name of the run command. [ScopeName ]: The name of the Azure Arc PrivateLinkScope resource. - [SettingsResourceName ]: The name of the settings resource. [SubscriptionId ]: The ID of the target subscription. [Version ]: The version of the Extension being received. diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/ConnectedMachine.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/ConnectedMachine.cs index 23b4fd884866..d781d4bf2e53 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/ConnectedMachine.cs +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/ConnectedMachine.cs @@ -14,9 +14,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine public partial class ConnectedMachine { - /// Gets an Agent Version along with the download link currently present. - /// Defines the os type - /// Defines the agent version. To get latest, use latest or else a specific agent version. + /// + /// Gets an Extension Metadata based on location, publisher, extensionType and version + /// + /// The ID of the target subscription. + /// The location of the Extension being received. + /// The publisher of the Extension being received. + /// The extensionType of the Extension being received. + /// The version of the Extension being received. /// 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). @@ -25,17 +30,23 @@ public partial class ConnectedMachine /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task AgentVersionGet(string osType, string version, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ExtensionMetadataGet(string subscriptionId, string location, string publisher, string extensionType, string version, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/providers/Microsoft.HybridCompute/osType/" - + global::System.Uri.EscapeDataString(osType) - + "/agentVersions/" + "/subscriptions/" + + global::System.Uri.EscapeDataString(subscriptionId) + + "/providers/Microsoft.HybridCompute/locations/" + + global::System.Uri.EscapeDataString(location) + + "/publishers/" + + global::System.Uri.EscapeDataString(publisher) + + "/extensionTypes/" + + global::System.Uri.EscapeDataString(extensionType) + + "/versions/" + global::System.Uri.EscapeDataString(version) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) @@ -50,11 +61,13 @@ public partial class ConnectedMachine await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.AgentVersionGet_Call (request, onOk,onDefault,eventListener,sender); + await this.ExtensionMetadataGet_Call (request, onOk,onDefault,eventListener,sender); } } - /// Gets an Agent Version along with the download link currently present. + /// + /// Gets an Extension Metadata based on location, publisher, extensionType and version + /// /// /// 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 @@ -64,28 +77,37 @@ public partial class ConnectedMachine /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task AgentVersionGetViaIdentity(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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ExtensionMetadataGetViaIdentity(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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/providers/Microsoft.HybridCompute/osType/(?[^/]+)/agentVersions/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/providers/Microsoft.HybridCompute/locations/(?[^/]+)/publishers/(?[^/]+)/extensionTypes/(?[^/]+)/versions/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/providers/Microsoft.HybridCompute/osType/{osType}/agentVersions/{version}'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/locations/{location}/publishers/{publisher}/extensionTypes/{extensionType}/versions/{version}'"); } // replace URI parameters with values from identity - var osType = _match.Groups["osType"].Value; + var subscriptionId = _match.Groups["subscriptionId"].Value; + var location = _match.Groups["location"].Value; + var publisher = _match.Groups["publisher"].Value; + var extensionType = _match.Groups["extensionType"].Value; var version = _match.Groups["version"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/providers/Microsoft.HybridCompute/osType/" - + osType - + "/agentVersions/" + "/subscriptions/" + + subscriptionId + + "/providers/Microsoft.HybridCompute/locations/" + + location + + "/publishers/" + + publisher + + "/extensionTypes/" + + extensionType + + "/versions/" + version + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) @@ -100,40 +122,51 @@ public partial class ConnectedMachine await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.AgentVersionGet_Call (request, onOk,onDefault,eventListener,sender); + await this.ExtensionMetadataGet_Call (request, onOk,onDefault,eventListener,sender); } } - /// Gets an Agent Version along with the download link currently present. + /// + /// Gets an Extension Metadata based on location, publisher, extensionType and version + /// /// /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 AgentVersionGetViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ExtensionMetadataGetViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/providers/Microsoft.HybridCompute/osType/(?[^/]+)/agentVersions/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/providers/Microsoft.HybridCompute/locations/(?[^/]+)/publishers/(?[^/]+)/extensionTypes/(?[^/]+)/versions/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/providers/Microsoft.HybridCompute/osType/{osType}/agentVersions/{version}'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/locations/{location}/publishers/{publisher}/extensionTypes/{extensionType}/versions/{version}'"); } // replace URI parameters with values from identity - var osType = _match.Groups["osType"].Value; + var subscriptionId = _match.Groups["subscriptionId"].Value; + var location = _match.Groups["location"].Value; + var publisher = _match.Groups["publisher"].Value; + var extensionType = _match.Groups["extensionType"].Value; var version = _match.Groups["version"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/providers/Microsoft.HybridCompute/osType/" - + osType - + "/agentVersions/" + "/subscriptions/" + + subscriptionId + + "/providers/Microsoft.HybridCompute/locations/" + + location + + "/publishers/" + + publisher + + "/extensionTypes/" + + extensionType + + "/versions/" + version + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) @@ -148,30 +181,41 @@ public partial class ConnectedMachine await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.AgentVersionGetWithResult_Call (request, eventListener,sender); + return await this.ExtensionMetadataGetWithResult_Call (request, eventListener,sender); } } - /// Gets an Agent Version along with the download link currently present. - /// Defines the os type - /// Defines the agent version. To get latest, use latest or else a specific agent version. + /// + /// Gets an Extension Metadata based on location, publisher, extensionType and version + /// + /// The ID of the target subscription. + /// The location of the Extension being received. + /// The publisher of the Extension being received. + /// The extensionType of the Extension being received. + /// The version of the Extension being received. /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 AgentVersionGetWithResult(string osType, string version, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ExtensionMetadataGetWithResult(string subscriptionId, string location, string publisher, string extensionType, string version, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/providers/Microsoft.HybridCompute/osType/" - + global::System.Uri.EscapeDataString(osType) - + "/agentVersions/" + "/subscriptions/" + + global::System.Uri.EscapeDataString(subscriptionId) + + "/providers/Microsoft.HybridCompute/locations/" + + global::System.Uri.EscapeDataString(location) + + "/publishers/" + + global::System.Uri.EscapeDataString(publisher) + + "/extensionTypes/" + + global::System.Uri.EscapeDataString(extensionType) + + "/versions/" + global::System.Uri.EscapeDataString(version) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) @@ -186,19 +230,19 @@ public partial class ConnectedMachine await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.AgentVersionGetWithResult_Call (request, eventListener,sender); + return await this.ExtensionMetadataGetWithResult_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.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. /// - /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task AgentVersionGetWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task ExtensionMetadataGetWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -217,7 +261,7 @@ public partial class ConnectedMachine case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.AgentVersion.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); + var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ExtensionValue.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); return await _result; } default: @@ -250,7 +294,7 @@ public partial class ConnectedMachine } } - /// 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 @@ -260,7 +304,7 @@ public partial class ConnectedMachine /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task AgentVersionGet_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task ExtensionMetadataGet_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -279,7 +323,7 @@ public partial class ConnectedMachine case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.AgentVersion.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ExtensionValue.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -301,26 +345,36 @@ public partial class ConnectedMachine } /// - /// 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. /// - /// Defines the os type - /// Defines the agent version. To get latest, use latest or else a specific agent version. + /// The ID of the target subscription. + /// The location of the Extension being received. + /// The publisher of the Extension being received. + /// The extensionType of the Extension being received. + /// The version of the Extension being received. /// an instance that will receive events. /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task AgentVersionGet_Validate(string osType, string version, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task ExtensionMetadataGet_Validate(string subscriptionId, string location, string publisher, string extensionType, string version, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { - await eventListener.AssertNotNull(nameof(osType),osType); + await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); + await eventListener.AssertMinimumLength(nameof(subscriptionId),subscriptionId,1); + await eventListener.AssertNotNull(nameof(location),location); + await eventListener.AssertNotNull(nameof(publisher),publisher); + await eventListener.AssertNotNull(nameof(extensionType),extensionType); await eventListener.AssertNotNull(nameof(version),version); } } - /// Gets all Agent Versions along with the download link currently present. - /// Defines the os type. + /// Gets all Extension versions based on location, publisher, extensionType + /// The ID of the target subscription. + /// The location of the Extension being received. + /// The publisher of the Extension being received. + /// The extensionType of the Extension being received. /// 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). @@ -329,17 +383,23 @@ public partial class ConnectedMachine /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task AgentVersionList(string osType, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ExtensionMetadataList(string subscriptionId, string location, string publisher, string extensionType, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/providers/Microsoft.HybridCompute/osType/" - + global::System.Uri.EscapeDataString(osType) - + "/agentVersions" + "/subscriptions/" + + global::System.Uri.EscapeDataString(subscriptionId) + + "/providers/Microsoft.HybridCompute/locations/" + + global::System.Uri.EscapeDataString(location) + + "/publishers/" + + global::System.Uri.EscapeDataString(publisher) + + "/extensionTypes/" + + global::System.Uri.EscapeDataString(extensionType) + + "/versions" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -353,11 +413,11 @@ public partial class ConnectedMachine await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.AgentVersionList_Call (request, onOk,onDefault,eventListener,sender); + await this.ExtensionMetadataList_Call (request, onOk,onDefault,eventListener,sender); } } - /// Gets all Agent Versions along with the download link currently present. + /// Gets all Extension versions based on location, publisher, extensionType /// /// 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 @@ -367,27 +427,36 @@ public partial class ConnectedMachine /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task AgentVersionListViaIdentity(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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ExtensionMetadataListViaIdentity(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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/providers/Microsoft.HybridCompute/osType/(?[^/]+)/agentVersions$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/providers/Microsoft.HybridCompute/locations/(?[^/]+)/publishers/(?[^/]+)/extensionTypes/(?[^/]+)/versions$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/providers/Microsoft.HybridCompute/osType/{osType}/agentVersions'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/locations/{location}/publishers/{publisher}/extensionTypes/{extensionType}/versions'"); } // replace URI parameters with values from identity - var osType = _match.Groups["osType"].Value; + var subscriptionId = _match.Groups["subscriptionId"].Value; + var location = _match.Groups["location"].Value; + var publisher = _match.Groups["publisher"].Value; + var extensionType = _match.Groups["extensionType"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/providers/Microsoft.HybridCompute/osType/" - + osType - + "/agentVersions" + "/subscriptions/" + + subscriptionId + + "/providers/Microsoft.HybridCompute/locations/" + + location + + "/publishers/" + + publisher + + "/extensionTypes/" + + extensionType + + "/versions" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -401,39 +470,48 @@ public partial class ConnectedMachine await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.AgentVersionList_Call (request, onOk,onDefault,eventListener,sender); + await this.ExtensionMetadataList_Call (request, onOk,onDefault,eventListener,sender); } } - /// Gets all Agent Versions along with the download link currently present. + /// Gets all Extension versions based on location, publisher, extensionType /// /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 AgentVersionListViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ExtensionMetadataListViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/providers/Microsoft.HybridCompute/osType/(?[^/]+)/agentVersions$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/providers/Microsoft.HybridCompute/locations/(?[^/]+)/publishers/(?[^/]+)/extensionTypes/(?[^/]+)/versions$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/providers/Microsoft.HybridCompute/osType/{osType}/agentVersions'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/locations/{location}/publishers/{publisher}/extensionTypes/{extensionType}/versions'"); } // replace URI parameters with values from identity - var osType = _match.Groups["osType"].Value; + var subscriptionId = _match.Groups["subscriptionId"].Value; + var location = _match.Groups["location"].Value; + var publisher = _match.Groups["publisher"].Value; + var extensionType = _match.Groups["extensionType"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/providers/Microsoft.HybridCompute/osType/" - + osType - + "/agentVersions" + "/subscriptions/" + + subscriptionId + + "/providers/Microsoft.HybridCompute/locations/" + + location + + "/publishers/" + + publisher + + "/extensionTypes/" + + extensionType + + "/versions" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -447,29 +525,38 @@ public partial class ConnectedMachine await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.AgentVersionListWithResult_Call (request, eventListener,sender); + return await this.ExtensionMetadataListWithResult_Call (request, eventListener,sender); } } - /// Gets all Agent Versions along with the download link currently present. - /// Defines the os type. + /// Gets all Extension versions based on location, publisher, extensionType + /// The ID of the target subscription. + /// The location of the Extension being received. + /// The publisher of the Extension being received. + /// The extensionType of the Extension being received. /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 AgentVersionListWithResult(string osType, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ExtensionMetadataListWithResult(string subscriptionId, string location, string publisher, string extensionType, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/providers/Microsoft.HybridCompute/osType/" - + global::System.Uri.EscapeDataString(osType) - + "/agentVersions" + "/subscriptions/" + + global::System.Uri.EscapeDataString(subscriptionId) + + "/providers/Microsoft.HybridCompute/locations/" + + global::System.Uri.EscapeDataString(location) + + "/publishers/" + + global::System.Uri.EscapeDataString(publisher) + + "/extensionTypes/" + + global::System.Uri.EscapeDataString(extensionType) + + "/versions" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -483,19 +570,19 @@ public partial class ConnectedMachine await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.AgentVersionListWithResult_Call (request, eventListener,sender); + return await this.ExtensionMetadataListWithResult_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.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. /// - /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task AgentVersionListWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task ExtensionMetadataListWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -514,7 +601,7 @@ public partial class ConnectedMachine case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.AgentVersionsList.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); + var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ExtensionValueListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); return await _result; } default: @@ -547,7 +634,7 @@ public partial class ConnectedMachine } } - /// 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 @@ -557,7 +644,7 @@ public partial class ConnectedMachine /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task AgentVersionList_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task ExtensionMetadataList_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -576,7 +663,7 @@ public partial class ConnectedMachine case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.AgentVersionsList.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ExtensionValueListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -598,41 +685,47 @@ public partial class ConnectedMachine } /// - /// 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. /// - /// Defines the os type. + /// The ID of the target subscription. + /// The location of the Extension being received. + /// The publisher of the Extension being received. + /// The extensionType of the Extension being received. /// an instance that will receive events. /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task AgentVersionList_Validate(string osType, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task ExtensionMetadataList_Validate(string subscriptionId, string location, string publisher, string extensionType, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { - await eventListener.AssertNotNull(nameof(osType),osType); + await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); + await eventListener.AssertMinimumLength(nameof(subscriptionId),subscriptionId,1); + await eventListener.AssertNotNull(nameof(location),location); + await eventListener.AssertNotNull(nameof(publisher),publisher); + await eventListener.AssertNotNull(nameof(extensionType),extensionType); } } - /// - /// Gets an Extension Metadata based on location, publisher, extensionType and version - /// + /// The operation to update a license profile. /// The ID of the target subscription. - /// The location of the Extension being received. - /// The publisher of the Extension being received. - /// The extensionType of the Extension being received. - /// The version of the Extension being received. + /// The name of the resource group. The name is case insensitive. + /// The name of the hybrid machine. + /// Parameters supplied to the Create or Update license profile 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). /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. + /// Allows the caller to choose the depth of the serialization. See . /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ExtensionMetadataGet(string subscriptionId, string location, string publisher, string extensionType, string version, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task LicenseProfilesCreateOrUpdate(string subscriptionId, string resourceGroupName, string machineName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfile body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) { - var apiVersion = @"2024-05-20-preview"; + var licenseProfileName = @"default"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { @@ -640,14 +733,12 @@ public partial class ConnectedMachine var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) - + "/providers/Microsoft.HybridCompute/locations/" - + global::System.Uri.EscapeDataString(location) - + "/publishers/" - + global::System.Uri.EscapeDataString(publisher) - + "/extensionTypes/" - + global::System.Uri.EscapeDataString(extensionType) - + "/versions/" - + global::System.Uri.EscapeDataString(version) + + "/resourceGroups/" + + global::System.Uri.EscapeDataString(resourceGroupName) + + "/providers/Microsoft.HybridCompute/machines/" + + global::System.Uri.EscapeDataString(machineName) + + "/licenseProfiles/" + + global::System.Uri.EscapeDataString(licenseProfileName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -656,118 +747,120 @@ public partial class ConnectedMachine // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Put, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // set body content + request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.ExtensionMetadataGet_Call (request, onOk,onDefault,eventListener,sender); + await this.LicenseProfilesCreateOrUpdate_Call (request, onOk,onDefault,eventListener,sender); } } - /// - /// Gets an Extension Metadata based on location, publisher, extensionType and version - /// + /// The operation to update a license profile. /// + /// Parameters supplied to the Create or Update license profile 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). /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. + /// Allows the caller to choose the depth of the serialization. See . /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ExtensionMetadataGetViaIdentity(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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task LicenseProfilesCreateOrUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfile body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/providers/Microsoft.HybridCompute/locations/(?[^/]+)/publishers/(?[^/]+)/extensionTypes/(?[^/]+)/versions/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/machines/(?[^/]+)/licenseProfiles/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/locations/{location}/publishers/{publisher}/extensionTypes/{extensionType}/versions/{version}'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/licenseProfiles/{licenseProfileName}'"); } // replace URI parameters with values from identity var subscriptionId = _match.Groups["subscriptionId"].Value; - var location = _match.Groups["location"].Value; - var publisher = _match.Groups["publisher"].Value; - var extensionType = _match.Groups["extensionType"].Value; - var version = _match.Groups["version"].Value; + var resourceGroupName = _match.Groups["resourceGroupName"].Value; + var machineName = _match.Groups["machineName"].Value; + var licenseProfileName = _match.Groups["licenseProfileName"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" + subscriptionId - + "/providers/Microsoft.HybridCompute/locations/" - + location - + "/publishers/" - + publisher - + "/extensionTypes/" - + extensionType - + "/versions/" - + version - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + "/resourceGroups/" + + resourceGroupName + + "/providers/Microsoft.HybridCompute/machines/" + + machineName + + "/licenseProfiles/" + + licenseProfileName + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Put, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // set body content + request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.ExtensionMetadataGet_Call (request, onOk,onDefault,eventListener,sender); + await this.LicenseProfilesCreateOrUpdate_Call (request, onOk,onDefault,eventListener,sender); } } - /// - /// Gets an Extension Metadata based on location, publisher, extensionType and version - /// + /// The operation to update a license profile. /// + /// Parameters supplied to the Create or Update license profile operation. /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. + /// Allows the caller to choose the depth of the serialization. See . /// - /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ExtensionMetadataGetViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task LicenseProfilesCreateOrUpdateViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfile body, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/providers/Microsoft.HybridCompute/locations/(?[^/]+)/publishers/(?[^/]+)/extensionTypes/(?[^/]+)/versions/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/machines/(?[^/]+)/licenseProfiles/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/locations/{location}/publishers/{publisher}/extensionTypes/{extensionType}/versions/{version}'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/licenseProfiles/{licenseProfileName}'"); } // replace URI parameters with values from identity var subscriptionId = _match.Groups["subscriptionId"].Value; - var location = _match.Groups["location"].Value; - var publisher = _match.Groups["publisher"].Value; - var extensionType = _match.Groups["extensionType"].Value; - var version = _match.Groups["version"].Value; + var resourceGroupName = _match.Groups["resourceGroupName"].Value; + var machineName = _match.Groups["machineName"].Value; + var licenseProfileName = _match.Groups["licenseProfileName"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" + subscriptionId - + "/providers/Microsoft.HybridCompute/locations/" - + location - + "/publishers/" - + publisher - + "/extensionTypes/" - + extensionType - + "/versions/" - + version + + "/resourceGroups/" + + resourceGroupName + + "/providers/Microsoft.HybridCompute/machines/" + + machineName + + "/licenseProfiles/" + + licenseProfileName + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -776,32 +869,85 @@ public partial class ConnectedMachine // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Put, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } + // set body content + request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.ExtensionMetadataGetWithResult_Call (request, eventListener,sender); + return await this.LicenseProfilesCreateOrUpdateWithResult_Call (request, eventListener,sender); } } - /// - /// Gets an Extension Metadata based on location, publisher, extensionType and version - /// + /// The operation to update a license profile. /// The ID of the target subscription. - /// The location of the Extension being received. - /// The publisher of the Extension being received. - /// The extensionType of the Extension being received. - /// The version of the Extension being received. + /// The name of the resource group. The name is case insensitive. + /// The name of the hybrid machine. + /// Json string supplied to the LicenseProfilesCreateOrUpdate 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). /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 LicenseProfilesCreateOrUpdateViaJsonString(string subscriptionId, string resourceGroupName, string machineName, 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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + { + var licenseProfileName = @"default"; + var apiVersion = @"2024-07-10"; + // Constant Parameters + using( NoSynchronizationContext ) + { + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + global::System.Uri.EscapeDataString(subscriptionId) + + "/resourceGroups/" + + global::System.Uri.EscapeDataString(resourceGroupName) + + "/providers/Microsoft.HybridCompute/machines/" + + global::System.Uri.EscapeDataString(machineName) + + "/licenseProfiles/" + + global::System.Uri.EscapeDataString(licenseProfileName) + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Put, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // set body content + request.Content = new global::System.Net.Http.StringContent(jsonString, global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } + // make the call + await this.LicenseProfilesCreateOrUpdate_Call (request, onOk,onDefault,eventListener,sender); + } + } + + /// The operation to update a license profile. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. + /// The name of the hybrid machine. + /// Json string supplied to the LicenseProfilesCreateOrUpdate operation + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 ExtensionMetadataGetWithResult(string subscriptionId, string location, string publisher, string extensionType, string version, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task LicenseProfilesCreateOrUpdateViaJsonStringWithResult(string subscriptionId, string resourceGroupName, string machineName, global::System.String jsonString, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var licenseProfileName = @"default"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { @@ -809,14 +955,12 @@ public partial class ConnectedMachine var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) - + "/providers/Microsoft.HybridCompute/locations/" - + global::System.Uri.EscapeDataString(location) - + "/publishers/" - + global::System.Uri.EscapeDataString(publisher) - + "/extensionTypes/" - + global::System.Uri.EscapeDataString(extensionType) - + "/versions/" - + global::System.Uri.EscapeDataString(version) + + "/resourceGroups/" + + global::System.Uri.EscapeDataString(resourceGroupName) + + "/providers/Microsoft.HybridCompute/machines/" + + global::System.Uri.EscapeDataString(machineName) + + "/licenseProfiles/" + + global::System.Uri.EscapeDataString(licenseProfileName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -825,86 +969,80 @@ public partial class ConnectedMachine // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Put, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } + // set body content + request.Content = new global::System.Net.Http.StringContent(jsonString, global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.ExtensionMetadataGetWithResult_Call (request, eventListener,sender); + return await this.LicenseProfilesCreateOrUpdateWithResult_Call (request, eventListener,sender); } } - /// Actual wire call for method. - /// the prepared HttpRequestMessage to send. + /// The operation to update a license profile. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. + /// The name of the hybrid machine. + /// Parameters supplied to the Create or Update license profile operation. /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. + /// Allows the caller to choose the depth of the serialization. See . /// - /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ExtensionMetadataGetWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task LicenseProfilesCreateOrUpdateWithResult(string subscriptionId, string resourceGroupName, string machineName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfile body, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) { + var licenseProfileName = @"default"; + var apiVersion = @"2024-07-10"; + // Constant Parameters using( NoSynchronizationContext ) { - global::System.Net.Http.HttpResponseMessage _response = null; - try - { - var sendTask = sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; } - _response = await sendTask; - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _contentType = _response.Content.Headers.ContentType?.MediaType; + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + global::System.Uri.EscapeDataString(subscriptionId) + + "/resourceGroups/" + + global::System.Uri.EscapeDataString(resourceGroupName) + + "/providers/Microsoft.HybridCompute/machines/" + + global::System.Uri.EscapeDataString(machineName) + + "/licenseProfiles/" + + global::System.Uri.EscapeDataString(licenseProfileName) + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - switch ( _response.StatusCode ) - { - case global::System.Net.HttpStatusCode.OK: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ExtensionValue.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); - return await _result; - } - default: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ErrorResponse.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); - // Error Response : default - var code = (await _result)?.Code; - var message = (await _result)?.Message; - if ((null == code || null == message)) - { - // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.RestException(_response, await _result); - throw ex; - } - else - { - throw new global::System.Exception($"[{code}] : {message}"); - } - } - } - } - finally - { - // finally statements - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Finally, request, _response); - _response?.Dispose(); - request?.Dispose(); - } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } + + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Put, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } + // set body content + request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } + // make the call + return await this.LicenseProfilesCreateOrUpdateWithResult_Call (request, 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 default (any response code not handled - /// elsewhere). /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. /// - /// A that will be complete when handling of the response is completed. + /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ExtensionMetadataGet_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task LicenseProfilesCreateOrUpdateWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -912,8397 +1050,13 @@ public partial class ConnectedMachine try { var sendTask = sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sendTask; - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return; } - var _contentType = _response.Content.Headers.ContentType?.MediaType; - - switch ( _response.StatusCode ) - { - case global::System.Net.HttpStatusCode.OK: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ExtensionValue.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); - break; - } - default: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ErrorResponse.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); - break; - } - } - } - finally - { - // finally statements - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Finally, request, _response); - _response?.Dispose(); - request?.Dispose(); - } - } - } - - /// - /// Validation method for method. Call this like the actual call, but you will get validation - /// events back. - /// - /// The ID of the target subscription. - /// The location of the Extension being received. - /// The publisher of the Extension being received. - /// The extensionType of the Extension being received. - /// The version of the Extension being received. - /// an instance that will receive events. - /// - /// A that will be complete when handling of the response is completed. - /// - internal async global::System.Threading.Tasks.Task ExtensionMetadataGet_Validate(string subscriptionId, string location, string publisher, string extensionType, string version, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) - { - using( NoSynchronizationContext ) - { - await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); - await eventListener.AssertMinimumLength(nameof(subscriptionId),subscriptionId,1); - await eventListener.AssertNotNull(nameof(location),location); - await eventListener.AssertNotNull(nameof(publisher),publisher); - await eventListener.AssertNotNull(nameof(extensionType),extensionType); - await eventListener.AssertNotNull(nameof(version),version); - } - } - - /// Gets all Extension versions based on location, publisher, extensionType - /// The ID of the target subscription. - /// The location of the Extension being received. - /// The publisher of the Extension being received. - /// The extensionType of the Extension being received. - /// 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). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 ExtensionMetadataList(string subscriptionId, string location, string publisher, string extensionType, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + global::System.Uri.EscapeDataString(subscriptionId) - + "/providers/Microsoft.HybridCompute/locations/" - + global::System.Uri.EscapeDataString(location) - + "/publishers/" - + global::System.Uri.EscapeDataString(publisher) - + "/extensionTypes/" - + global::System.Uri.EscapeDataString(extensionType) - + "/versions" - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // make the call - await this.ExtensionMetadataList_Call (request, onOk,onDefault,eventListener,sender); - } - } - - /// Gets all Extension versions based on location, publisher, extensionType - /// - /// 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). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 ExtensionMetadataListViaIdentity(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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // verify that Identity format is an exact match for uri - - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/providers/Microsoft.HybridCompute/locations/(?[^/]+)/publishers/(?[^/]+)/extensionTypes/(?[^/]+)/versions$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); - if (!_match.Success) - { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/locations/{location}/publishers/{publisher}/extensionTypes/{extensionType}/versions'"); - } - - // replace URI parameters with values from identity - var subscriptionId = _match.Groups["subscriptionId"].Value; - var location = _match.Groups["location"].Value; - var publisher = _match.Groups["publisher"].Value; - var extensionType = _match.Groups["extensionType"].Value; - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + subscriptionId - + "/providers/Microsoft.HybridCompute/locations/" - + location - + "/publishers/" - + publisher - + "/extensionTypes/" - + extensionType - + "/versions" - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // make the call - await this.ExtensionMetadataList_Call (request, onOk,onDefault,eventListener,sender); - } - } - - /// Gets all Extension versions based on location, publisher, extensionType - /// - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 ExtensionMetadataListViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // verify that Identity format is an exact match for uri - - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/providers/Microsoft.HybridCompute/locations/(?[^/]+)/publishers/(?[^/]+)/extensionTypes/(?[^/]+)/versions$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); - if (!_match.Success) - { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/locations/{location}/publishers/{publisher}/extensionTypes/{extensionType}/versions'"); - } - - // replace URI parameters with values from identity - var subscriptionId = _match.Groups["subscriptionId"].Value; - var location = _match.Groups["location"].Value; - var publisher = _match.Groups["publisher"].Value; - var extensionType = _match.Groups["extensionType"].Value; - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + subscriptionId - + "/providers/Microsoft.HybridCompute/locations/" - + location - + "/publishers/" - + publisher - + "/extensionTypes/" - + extensionType - + "/versions" - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } - // make the call - return await this.ExtensionMetadataListWithResult_Call (request, eventListener,sender); - } - } - - /// Gets all Extension versions based on location, publisher, extensionType - /// The ID of the target subscription. - /// The location of the Extension being received. - /// The publisher of the Extension being received. - /// The extensionType of the Extension being received. - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 ExtensionMetadataListWithResult(string subscriptionId, string location, string publisher, string extensionType, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + global::System.Uri.EscapeDataString(subscriptionId) - + "/providers/Microsoft.HybridCompute/locations/" - + global::System.Uri.EscapeDataString(location) - + "/publishers/" - + global::System.Uri.EscapeDataString(publisher) - + "/extensionTypes/" - + global::System.Uri.EscapeDataString(extensionType) - + "/versions" - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } - // make the call - return await this.ExtensionMetadataListWithResult_Call (request, eventListener,sender); - } - } - - /// Actual wire call for method. - /// the prepared HttpRequestMessage to send. - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// - /// A that will be complete when handling of the response is completed. - /// - internal async global::System.Threading.Tasks.Task ExtensionMetadataListWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - using( NoSynchronizationContext ) - { - global::System.Net.Http.HttpResponseMessage _response = null; - try - { - var sendTask = sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; } - _response = await sendTask; - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _contentType = _response.Content.Headers.ContentType?.MediaType; - - switch ( _response.StatusCode ) - { - case global::System.Net.HttpStatusCode.OK: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ExtensionValueListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); - return await _result; - } - default: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ErrorResponse.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); - // Error Response : default - var code = (await _result)?.Code; - var message = (await _result)?.Message; - if ((null == code || null == message)) - { - // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.RestException(_response, await _result); - throw ex; - } - else - { - throw new global::System.Exception($"[{code}] : {message}"); - } - } - } - } - finally - { - // finally statements - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Finally, request, _response); - _response?.Dispose(); - request?.Dispose(); - } - } - } - - /// 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 - /// elsewhere). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// - /// A that will be complete when handling of the response is completed. - /// - internal async global::System.Threading.Tasks.Task ExtensionMetadataList_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - using( NoSynchronizationContext ) - { - global::System.Net.Http.HttpResponseMessage _response = null; - try - { - var sendTask = sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sendTask; - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return; } - var _contentType = _response.Content.Headers.ContentType?.MediaType; - - switch ( _response.StatusCode ) - { - case global::System.Net.HttpStatusCode.OK: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ExtensionValueListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); - break; - } - default: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ErrorResponse.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); - break; - } - } - } - finally - { - // finally statements - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Finally, request, _response); - _response?.Dispose(); - request?.Dispose(); - } - } - } - - /// - /// Validation method for method. Call this like the actual call, but you will get validation - /// events back. - /// - /// The ID of the target subscription. - /// The location of the Extension being received. - /// The publisher of the Extension being received. - /// The extensionType of the Extension being received. - /// an instance that will receive events. - /// - /// A that will be complete when handling of the response is completed. - /// - internal async global::System.Threading.Tasks.Task ExtensionMetadataList_Validate(string subscriptionId, string location, string publisher, string extensionType, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) - { - using( NoSynchronizationContext ) - { - await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); - await eventListener.AssertMinimumLength(nameof(subscriptionId),subscriptionId,1); - await eventListener.AssertNotNull(nameof(location),location); - await eventListener.AssertNotNull(nameof(publisher),publisher); - await eventListener.AssertNotNull(nameof(extensionType),extensionType); - } - } - - /// The operation to update a gateway. - /// The ID of the target subscription. - /// The name of the resource group. The name is case insensitive. - /// The name of the Gateway. - /// Parameters supplied to the Create gateway 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). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// Allows the caller to choose the depth of the serialization. See . - /// - /// A that will be complete when handling of the response is completed. - /// - public async global::System.Threading.Tasks.Task GatewaysCreateOrUpdate(string subscriptionId, string resourceGroupName, string gatewayName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGateway body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + global::System.Uri.EscapeDataString(subscriptionId) - + "/resourceGroups/" - + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.HybridCompute/gateways/" - + global::System.Uri.EscapeDataString(gatewayName) - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Put, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // set body content - request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } - // make the call - await this.GatewaysCreateOrUpdate_Call (request, onOk,onDefault,eventListener,sender); - } - } - - /// The operation to update a gateway. - /// - /// Parameters supplied to the Create gateway 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). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// Allows the caller to choose the depth of the serialization. See . - /// - /// A that will be complete when handling of the response is completed. - /// - public async global::System.Threading.Tasks.Task GatewaysCreateOrUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGateway body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // verify that Identity format is an exact match for uri - - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/gateways/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); - if (!_match.Success) - { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/gateways/{gatewayName}'"); - } - - // replace URI parameters with values from identity - var subscriptionId = _match.Groups["subscriptionId"].Value; - var resourceGroupName = _match.Groups["resourceGroupName"].Value; - var gatewayName = _match.Groups["gatewayName"].Value; - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + subscriptionId - + "/resourceGroups/" - + resourceGroupName - + "/providers/Microsoft.HybridCompute/gateways/" - + gatewayName - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Put, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // set body content - request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } - // make the call - await this.GatewaysCreateOrUpdate_Call (request, onOk,onDefault,eventListener,sender); - } - } - - /// The operation to update a gateway. - /// - /// Parameters supplied to the Create gateway operation. - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// Allows the caller to choose the depth of the serialization. See . - /// - /// A that will be complete when handling of the response is completed. - /// - public async global::System.Threading.Tasks.Task GatewaysCreateOrUpdateViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGateway body, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // verify that Identity format is an exact match for uri - - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/gateways/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); - if (!_match.Success) - { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/gateways/{gatewayName}'"); - } - - // replace URI parameters with values from identity - var subscriptionId = _match.Groups["subscriptionId"].Value; - var resourceGroupName = _match.Groups["resourceGroupName"].Value; - var gatewayName = _match.Groups["gatewayName"].Value; - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + subscriptionId - + "/resourceGroups/" - + resourceGroupName - + "/providers/Microsoft.HybridCompute/gateways/" - + gatewayName - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Put, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } - // set body content - request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } - // make the call - return await this.GatewaysCreateOrUpdateWithResult_Call (request, eventListener,sender); - } - } - - /// The operation to update a gateway. - /// The ID of the target subscription. - /// The name of the resource group. The name is case insensitive. - /// The name of the Gateway. - /// Json string supplied to the GatewaysCreateOrUpdate 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). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 GatewaysCreateOrUpdateViaJsonString(string subscriptionId, string resourceGroupName, string gatewayName, 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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + global::System.Uri.EscapeDataString(subscriptionId) - + "/resourceGroups/" - + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.HybridCompute/gateways/" - + global::System.Uri.EscapeDataString(gatewayName) - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Put, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // set body content - request.Content = new global::System.Net.Http.StringContent(jsonString, global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } - // make the call - await this.GatewaysCreateOrUpdate_Call (request, onOk,onDefault,eventListener,sender); - } - } - - /// The operation to update a gateway. - /// The ID of the target subscription. - /// The name of the resource group. The name is case insensitive. - /// The name of the Gateway. - /// Json string supplied to the GatewaysCreateOrUpdate operation - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 GatewaysCreateOrUpdateViaJsonStringWithResult(string subscriptionId, string resourceGroupName, string gatewayName, global::System.String jsonString, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + global::System.Uri.EscapeDataString(subscriptionId) - + "/resourceGroups/" - + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.HybridCompute/gateways/" - + global::System.Uri.EscapeDataString(gatewayName) - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Put, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } - // set body content - request.Content = new global::System.Net.Http.StringContent(jsonString, global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } - // make the call - return await this.GatewaysCreateOrUpdateWithResult_Call (request, eventListener,sender); - } - } - - /// The operation to update a gateway. - /// The ID of the target subscription. - /// The name of the resource group. The name is case insensitive. - /// The name of the Gateway. - /// Parameters supplied to the Create gateway operation. - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// Allows the caller to choose the depth of the serialization. See . - /// - /// A that will be complete when handling of the response is completed. - /// - public async global::System.Threading.Tasks.Task GatewaysCreateOrUpdateWithResult(string subscriptionId, string resourceGroupName, string gatewayName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGateway body, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + global::System.Uri.EscapeDataString(subscriptionId) - + "/resourceGroups/" - + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.HybridCompute/gateways/" - + global::System.Uri.EscapeDataString(gatewayName) - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Put, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } - // set body content - request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } - // make the call - return await this.GatewaysCreateOrUpdateWithResult_Call (request, eventListener,sender); - } - } - - /// Actual wire call for method. - /// the prepared HttpRequestMessage to send. - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// - /// A that will be complete when handling of the response is completed. - /// - internal async global::System.Threading.Tasks.Task GatewaysCreateOrUpdateWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - using( NoSynchronizationContext ) - { - global::System.Net.Http.HttpResponseMessage _response = null; - try - { - var sendTask = sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; } - _response = await sendTask; - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - // this operation supports x-ms-long-running-operation - var _originalUri = request.RequestUri.AbsoluteUri; - // declared final-state-via: default - var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); - var location = _response.GetFirstHeader(@"Location"); - var operationLocation = _response.GetFirstHeader(@"Operation-Location"); - while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) - { - // delay before making the next polling request - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.DelayBeforePolling, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - - // while we wait, let's grab the headers and get ready to poll. - if (!System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Azure-AsyncOperation"))) { - asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); - } - if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Location"))) { - location = _response.GetFirstHeader(@"Location"); - } - if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Operation-Location"))) { - operationLocation = _response.GetFirstHeader(@"Operation-Location"); - } - var _uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? global::System.String.IsNullOrEmpty(operationLocation) ? _originalUri : operationLocation : location : asyncOperation; - request = request.CloneAndDispose(new global::System.Uri(_uri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); - - // and let's look at the current response body and see if we have some information we can give back to the listener - var content = await _response.Content.ReadAsStringAsync(); - - // drop the old response - _response?.Dispose(); - - // make the polling call - _response = await sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - - // if we got back an OK, take a peek inside and see if it's done - if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) - { - var error = false; - try { - if( Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json) - { - var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); - if( state is null ) - { - // the body doesn't contain any information that has the state of the LRO - // we're going to just get out, and let the consumer have the result - break; - } - - switch( state?.ToString()?.ToLower() ) - { - case "failed": - error = true; - break; - case "succeeded": - case "canceled": - // we're done polling. - break; - - default: - // need to keep polling! - _response.StatusCode = global::System.Net.HttpStatusCode.Created; - continue; - } - } - } catch { - // if we run into a problem peeking into the result, - // we really don't want to do anything special. - } - if (error) { - throw new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.UndeclaredResponseException(_response); - } - } - - // check for terminal status code - if (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) - { - continue; - } - // we are done polling, do a request on final target? - if (!string.IsNullOrWhiteSpace(_originalUri)) - { - // create a new request with the final uri - request = request.CloneAndDispose(new global::System.Uri(_originalUri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); - - // drop the old response - _response?.Dispose(); - - // make the final call - _response = await sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - break; - } - } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _contentType = _response.Content.Headers.ContentType?.MediaType; - - switch ( _response.StatusCode ) - { - case global::System.Net.HttpStatusCode.OK: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.Gateway.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); - return await _result; - } - default: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ErrorResponseAutoGenerated.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); - // Error Response : default - var code = (await _result)?.Code; - var message = (await _result)?.Message; - if ((null == code || null == message)) - { - // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.RestException(_response, await _result); - throw ex; - } - else - { - throw new global::System.Exception($"[{code}] : {message}"); - } - } - } - } - finally - { - // finally statements - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Finally, request, _response); - _response?.Dispose(); - request?.Dispose(); - } - } - } - - /// 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 - /// elsewhere). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// - /// A that will be complete when handling of the response is completed. - /// - internal async global::System.Threading.Tasks.Task GatewaysCreateOrUpdate_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - using( NoSynchronizationContext ) - { - global::System.Net.Http.HttpResponseMessage _response = null; - try - { - var sendTask = sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sendTask; - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - // this operation supports x-ms-long-running-operation - var _originalUri = request.RequestUri.AbsoluteUri; - // declared final-state-via: default - var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); - var location = _response.GetFirstHeader(@"Location"); - var operationLocation = _response.GetFirstHeader(@"Operation-Location"); - while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) - { - // delay before making the next polling request - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.DelayBeforePolling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - - // while we wait, let's grab the headers and get ready to poll. - if (!System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Azure-AsyncOperation"))) { - asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); - } - if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Location"))) { - location = _response.GetFirstHeader(@"Location"); - } - if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Operation-Location"))) { - operationLocation = _response.GetFirstHeader(@"Operation-Location"); - } - var _uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? global::System.String.IsNullOrEmpty(operationLocation) ? _originalUri : operationLocation : location : asyncOperation; - request = request.CloneAndDispose(new global::System.Uri(_uri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); - - // and let's look at the current response body and see if we have some information we can give back to the listener - var content = await _response.Content.ReadAsStringAsync(); - - // drop the old response - _response?.Dispose(); - - // make the polling call - _response = await sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - - // if we got back an OK, take a peek inside and see if it's done - if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) - { - var error = false; - try { - if( Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json) - { - var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); - if( state is null ) - { - // the body doesn't contain any information that has the state of the LRO - // we're going to just get out, and let the consumer have the result - break; - } - - switch( state?.ToString()?.ToLower() ) - { - case "failed": - error = true; - break; - case "succeeded": - case "canceled": - // we're done polling. - break; - - default: - // need to keep polling! - _response.StatusCode = global::System.Net.HttpStatusCode.Created; - continue; - } - } - } catch { - // if we run into a problem peeking into the result, - // we really don't want to do anything special. - } - if (error) { - throw new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.UndeclaredResponseException(_response); - } - } - - // check for terminal status code - if (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) - { - continue; - } - // we are done polling, do a request on final target? - if (!string.IsNullOrWhiteSpace(_originalUri)) - { - // create a new request with the final uri - request = request.CloneAndDispose(new global::System.Uri(_originalUri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); - - // drop the old response - _response?.Dispose(); - - // make the final call - _response = await sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - break; - } - } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return; } - var _contentType = _response.Content.Headers.ContentType?.MediaType; - - switch ( _response.StatusCode ) - { - case global::System.Net.HttpStatusCode.OK: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.Gateway.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); - break; - } - default: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ErrorResponseAutoGenerated.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); - break; - } - } - } - finally - { - // finally statements - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Finally, request, _response); - _response?.Dispose(); - request?.Dispose(); - } - } - } - - /// - /// Validation method for method. Call this like the actual call, but you will get validation - /// events back. - /// - /// The ID of the target subscription. - /// The name of the resource group. The name is case insensitive. - /// The name of the Gateway. - /// Parameters supplied to the Create gateway operation. - /// an instance that will receive events. - /// - /// A that will be complete when handling of the response is completed. - /// - internal async global::System.Threading.Tasks.Task GatewaysCreateOrUpdate_Validate(string subscriptionId, string resourceGroupName, string gatewayName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGateway body, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) - { - using( NoSynchronizationContext ) - { - await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); - await eventListener.AssertMinimumLength(nameof(subscriptionId),subscriptionId,1); - await eventListener.AssertNotNull(nameof(resourceGroupName),resourceGroupName); - await eventListener.AssertMinimumLength(nameof(resourceGroupName),resourceGroupName,1); - await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); - await eventListener.AssertNotNull(nameof(gatewayName),gatewayName); - await eventListener.AssertRegEx(nameof(gatewayName), gatewayName, @"[a-zA-Z0-9-_\.]+"); - await eventListener.AssertNotNull(nameof(body), body); - await eventListener.AssertObjectIsValid(nameof(body), body); - } - } - - /// The operation to delete a gateway. - /// The ID of the target subscription. - /// The name of the resource group. The name is case insensitive. - /// The name of the Gateway. - /// a delegate that is called when the remote service returns 204 (NoContent). - /// 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). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 GatewaysDelete(string subscriptionId, string resourceGroupName, string gatewayName, global::System.Func onNoContent, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + global::System.Uri.EscapeDataString(subscriptionId) - + "/resourceGroups/" - + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.HybridCompute/gateways/" - + global::System.Uri.EscapeDataString(gatewayName) - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Delete, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // make the call - await this.GatewaysDelete_Call (request, onNoContent,onOk,onDefault,eventListener,sender); - } - } - - /// The operation to delete a gateway. - /// - /// a delegate that is called when the remote service returns 204 (NoContent). - /// 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). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 GatewaysDeleteViaIdentity(global::System.String viaIdentity, global::System.Func onNoContent, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // verify that Identity format is an exact match for uri - - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/gateways/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); - if (!_match.Success) - { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/gateways/{gatewayName}'"); - } - - // replace URI parameters with values from identity - var subscriptionId = _match.Groups["subscriptionId"].Value; - var resourceGroupName = _match.Groups["resourceGroupName"].Value; - var gatewayName = _match.Groups["gatewayName"].Value; - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + subscriptionId - + "/resourceGroups/" - + resourceGroupName - + "/providers/Microsoft.HybridCompute/gateways/" - + gatewayName - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Delete, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // make the call - await this.GatewaysDelete_Call (request, onNoContent,onOk,onDefault,eventListener,sender); - } - } - - /// Actual wire call for method. - /// the prepared HttpRequestMessage to send. - /// a delegate that is called when the remote service returns 204 (NoContent). - /// 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). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// - /// A that will be complete when handling of the response is completed. - /// - internal async global::System.Threading.Tasks.Task GatewaysDelete_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func onNoContent, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - using( NoSynchronizationContext ) - { - global::System.Net.Http.HttpResponseMessage _response = null; - try - { - var sendTask = sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sendTask; - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - // this operation supports x-ms-long-running-operation - var _originalUri = request.RequestUri.AbsoluteUri; - // declared final-state-via: default - var _finalUri = _response.GetFirstHeader(@"Location"); - var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); - var location = _response.GetFirstHeader(@"Location"); - var operationLocation = _response.GetFirstHeader(@"Operation-Location"); - while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) - { - // delay before making the next polling request - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.DelayBeforePolling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - - // while we wait, let's grab the headers and get ready to poll. - if (!System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Azure-AsyncOperation"))) { - asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); - } - if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Location"))) { - location = _response.GetFirstHeader(@"Location"); - } - if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Operation-Location"))) { - operationLocation = _response.GetFirstHeader(@"Operation-Location"); - } - var _uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? global::System.String.IsNullOrEmpty(operationLocation) ? _originalUri : operationLocation : location : asyncOperation; - request = request.CloneAndDispose(new global::System.Uri(_uri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); - - // and let's look at the current response body and see if we have some information we can give back to the listener - var content = await _response.Content.ReadAsStringAsync(); - - // drop the old response - _response?.Dispose(); - - // make the polling call - _response = await sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - - // if we got back an OK, take a peek inside and see if it's done - if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) - { - var error = false; - try { - if( Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json) - { - var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); - if( state is null ) - { - // the body doesn't contain any information that has the state of the LRO - // we're going to just get out, and let the consumer have the result - break; - } - - switch( state?.ToString()?.ToLower() ) - { - case "failed": - error = true; - break; - case "succeeded": - case "canceled": - // we're done polling. - break; - - default: - // need to keep polling! - _response.StatusCode = global::System.Net.HttpStatusCode.Created; - continue; - } - } - } catch { - // if we run into a problem peeking into the result, - // we really don't want to do anything special. - } - if (error) { - throw new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.UndeclaredResponseException(_response); - } - } - - // check for terminal status code - if (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) - { - continue; - } - // we are done polling, do a request on final target? - if (!string.IsNullOrWhiteSpace(_finalUri)) - { - // create a new request with the final uri - request = request.CloneAndDispose(new global::System.Uri(_finalUri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); - - // drop the old response - _response?.Dispose(); - - // make the final call - _response = await sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - break; - } - } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return; } - var _contentType = _response.Content.Headers.ContentType?.MediaType; - - switch ( _response.StatusCode ) - { - case global::System.Net.HttpStatusCode.OK: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response); - break; - } - case global::System.Net.HttpStatusCode.NoContent: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onNoContent(_response); - break; - } - default: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ErrorResponseAutoGenerated.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); - break; - } - } - } - finally - { - // finally statements - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Finally, request, _response); - _response?.Dispose(); - request?.Dispose(); - } - } - } - - /// - /// Validation method for method. Call this like the actual call, but you will get validation - /// events back. - /// - /// The ID of the target subscription. - /// The name of the resource group. The name is case insensitive. - /// The name of the Gateway. - /// an instance that will receive events. - /// - /// A that will be complete when handling of the response is completed. - /// - internal async global::System.Threading.Tasks.Task GatewaysDelete_Validate(string subscriptionId, string resourceGroupName, string gatewayName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) - { - using( NoSynchronizationContext ) - { - await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); - await eventListener.AssertMinimumLength(nameof(subscriptionId),subscriptionId,1); - await eventListener.AssertNotNull(nameof(resourceGroupName),resourceGroupName); - await eventListener.AssertMinimumLength(nameof(resourceGroupName),resourceGroupName,1); - await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); - await eventListener.AssertNotNull(nameof(gatewayName),gatewayName); - await eventListener.AssertRegEx(nameof(gatewayName), gatewayName, @"[a-zA-Z0-9-_\.]+"); - } - } - - /// Retrieves information about the view of a gateway. - /// The ID of the target subscription. - /// The name of the resource group. The name is case insensitive. - /// The name of the Gateway. - /// 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). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 GatewaysGet(string subscriptionId, string resourceGroupName, string gatewayName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + global::System.Uri.EscapeDataString(subscriptionId) - + "/resourceGroups/" - + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.HybridCompute/gateways/" - + global::System.Uri.EscapeDataString(gatewayName) - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // make the call - await this.GatewaysGet_Call (request, onOk,onDefault,eventListener,sender); - } - } - - /// Retrieves information about the view of a gateway. - /// - /// 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). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 GatewaysGetViaIdentity(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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // verify that Identity format is an exact match for uri - - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/gateways/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); - if (!_match.Success) - { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/gateways/{gatewayName}'"); - } - - // replace URI parameters with values from identity - var subscriptionId = _match.Groups["subscriptionId"].Value; - var resourceGroupName = _match.Groups["resourceGroupName"].Value; - var gatewayName = _match.Groups["gatewayName"].Value; - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + subscriptionId - + "/resourceGroups/" - + resourceGroupName - + "/providers/Microsoft.HybridCompute/gateways/" - + gatewayName - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // make the call - await this.GatewaysGet_Call (request, onOk,onDefault,eventListener,sender); - } - } - - /// Retrieves information about the view of a gateway. - /// - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 GatewaysGetViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // verify that Identity format is an exact match for uri - - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/gateways/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); - if (!_match.Success) - { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/gateways/{gatewayName}'"); - } - - // replace URI parameters with values from identity - var subscriptionId = _match.Groups["subscriptionId"].Value; - var resourceGroupName = _match.Groups["resourceGroupName"].Value; - var gatewayName = _match.Groups["gatewayName"].Value; - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + subscriptionId - + "/resourceGroups/" - + resourceGroupName - + "/providers/Microsoft.HybridCompute/gateways/" - + gatewayName - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } - // make the call - return await this.GatewaysGetWithResult_Call (request, eventListener,sender); - } - } - - /// Retrieves information about the view of a gateway. - /// The ID of the target subscription. - /// The name of the resource group. The name is case insensitive. - /// The name of the Gateway. - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 GatewaysGetWithResult(string subscriptionId, string resourceGroupName, string gatewayName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + global::System.Uri.EscapeDataString(subscriptionId) - + "/resourceGroups/" - + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.HybridCompute/gateways/" - + global::System.Uri.EscapeDataString(gatewayName) - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } - // make the call - return await this.GatewaysGetWithResult_Call (request, eventListener,sender); - } - } - - /// Actual wire call for method. - /// the prepared HttpRequestMessage to send. - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// - /// A that will be complete when handling of the response is completed. - /// - internal async global::System.Threading.Tasks.Task GatewaysGetWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - using( NoSynchronizationContext ) - { - global::System.Net.Http.HttpResponseMessage _response = null; - try - { - var sendTask = sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; } - _response = await sendTask; - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _contentType = _response.Content.Headers.ContentType?.MediaType; - - switch ( _response.StatusCode ) - { - case global::System.Net.HttpStatusCode.OK: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.Gateway.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); - return await _result; - } - default: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ErrorResponseAutoGenerated.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); - // Error Response : default - var code = (await _result)?.Code; - var message = (await _result)?.Message; - if ((null == code || null == message)) - { - // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.RestException(_response, await _result); - throw ex; - } - else - { - throw new global::System.Exception($"[{code}] : {message}"); - } - } - } - } - finally - { - // finally statements - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Finally, request, _response); - _response?.Dispose(); - request?.Dispose(); - } - } - } - - /// 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 - /// elsewhere). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// - /// A that will be complete when handling of the response is completed. - /// - internal async global::System.Threading.Tasks.Task GatewaysGet_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - using( NoSynchronizationContext ) - { - global::System.Net.Http.HttpResponseMessage _response = null; - try - { - var sendTask = sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sendTask; - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return; } - var _contentType = _response.Content.Headers.ContentType?.MediaType; - - switch ( _response.StatusCode ) - { - case global::System.Net.HttpStatusCode.OK: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.Gateway.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); - break; - } - default: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ErrorResponseAutoGenerated.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); - break; - } - } - } - finally - { - // finally statements - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Finally, request, _response); - _response?.Dispose(); - request?.Dispose(); - } - } - } - - /// - /// Validation method for method. Call this like the actual call, but you will get validation events - /// back. - /// - /// The ID of the target subscription. - /// The name of the resource group. The name is case insensitive. - /// The name of the Gateway. - /// an instance that will receive events. - /// - /// A that will be complete when handling of the response is completed. - /// - internal async global::System.Threading.Tasks.Task GatewaysGet_Validate(string subscriptionId, string resourceGroupName, string gatewayName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) - { - using( NoSynchronizationContext ) - { - await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); - await eventListener.AssertMinimumLength(nameof(subscriptionId),subscriptionId,1); - await eventListener.AssertNotNull(nameof(resourceGroupName),resourceGroupName); - await eventListener.AssertMinimumLength(nameof(resourceGroupName),resourceGroupName,1); - await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); - await eventListener.AssertNotNull(nameof(gatewayName),gatewayName); - await eventListener.AssertRegEx(nameof(gatewayName), gatewayName, @"[a-zA-Z0-9-_\.]+"); - } - } - - /// The operation to get all gateways of a non-Azure machine - /// The ID of the target subscription. - /// The name of the resource group. The name is case insensitive. - /// 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). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 GatewaysListByResourceGroup(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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + global::System.Uri.EscapeDataString(subscriptionId) - + "/resourceGroups/" - + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.HybridCompute/gateways" - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // make the call - await this.GatewaysListByResourceGroup_Call (request, onOk,onDefault,eventListener,sender); - } - } - - /// The operation to get all gateways of a non-Azure machine - /// - /// 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). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 GatewaysListByResourceGroupViaIdentity(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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // verify that Identity format is an exact match for uri - - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/gateways$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); - if (!_match.Success) - { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/gateways'"); - } - - // replace URI parameters with values from identity - var subscriptionId = _match.Groups["subscriptionId"].Value; - var resourceGroupName = _match.Groups["resourceGroupName"].Value; - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + subscriptionId - + "/resourceGroups/" - + resourceGroupName - + "/providers/Microsoft.HybridCompute/gateways" - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // make the call - await this.GatewaysListByResourceGroup_Call (request, onOk,onDefault,eventListener,sender); - } - } - - /// The operation to get all gateways of a non-Azure machine - /// - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 GatewaysListByResourceGroupViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // verify that Identity format is an exact match for uri - - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/gateways$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); - if (!_match.Success) - { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/gateways'"); - } - - // replace URI parameters with values from identity - var subscriptionId = _match.Groups["subscriptionId"].Value; - var resourceGroupName = _match.Groups["resourceGroupName"].Value; - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + subscriptionId - + "/resourceGroups/" - + resourceGroupName - + "/providers/Microsoft.HybridCompute/gateways" - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } - // make the call - return await this.GatewaysListByResourceGroupWithResult_Call (request, eventListener,sender); - } - } - - /// The operation to get all gateways of a non-Azure machine - /// The ID of the target subscription. - /// The name of the resource group. The name is case insensitive. - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 GatewaysListByResourceGroupWithResult(string subscriptionId, string resourceGroupName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + global::System.Uri.EscapeDataString(subscriptionId) - + "/resourceGroups/" - + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.HybridCompute/gateways" - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } - // make the call - return await this.GatewaysListByResourceGroupWithResult_Call (request, eventListener,sender); - } - } - - /// - /// Actual wire call for method. - /// - /// the prepared HttpRequestMessage to send. - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// - /// A that will be complete when handling of the response is completed. - /// - internal async global::System.Threading.Tasks.Task GatewaysListByResourceGroupWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - using( NoSynchronizationContext ) - { - global::System.Net.Http.HttpResponseMessage _response = null; - try - { - var sendTask = sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; } - _response = await sendTask; - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _contentType = _response.Content.Headers.ContentType?.MediaType; - - switch ( _response.StatusCode ) - { - case global::System.Net.HttpStatusCode.OK: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.GatewaysListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); - return await _result; - } - default: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ErrorResponseAutoGenerated.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); - // Error Response : default - var code = (await _result)?.Code; - var message = (await _result)?.Message; - if ((null == code || null == message)) - { - // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.RestException(_response, await _result); - throw ex; - } - else - { - throw new global::System.Exception($"[{code}] : {message}"); - } - } - } - } - finally - { - // finally statements - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Finally, request, _response); - _response?.Dispose(); - request?.Dispose(); - } - } - } - - /// 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 - /// elsewhere). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// - /// A that will be complete when handling of the response is completed. - /// - internal async global::System.Threading.Tasks.Task GatewaysListByResourceGroup_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - using( NoSynchronizationContext ) - { - global::System.Net.Http.HttpResponseMessage _response = null; - try - { - var sendTask = sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sendTask; - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return; } - var _contentType = _response.Content.Headers.ContentType?.MediaType; - - switch ( _response.StatusCode ) - { - case global::System.Net.HttpStatusCode.OK: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.GatewaysListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); - break; - } - default: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ErrorResponseAutoGenerated.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); - break; - } - } - } - finally - { - // finally statements - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Finally, request, _response); - _response?.Dispose(); - request?.Dispose(); - } - } - } - - /// - /// Validation method for method. Call this like the actual call, but you will - /// get validation events back. - /// - /// The ID of the target subscription. - /// The name of the resource group. The name is case insensitive. - /// an instance that will receive events. - /// - /// A that will be complete when handling of the response is completed. - /// - internal async global::System.Threading.Tasks.Task GatewaysListByResourceGroup_Validate(string subscriptionId, string resourceGroupName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) - { - using( NoSynchronizationContext ) - { - await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); - await eventListener.AssertMinimumLength(nameof(subscriptionId),subscriptionId,1); - await eventListener.AssertNotNull(nameof(resourceGroupName),resourceGroupName); - await eventListener.AssertMinimumLength(nameof(resourceGroupName),resourceGroupName,1); - await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); - } - } - - /// The operation to get all gateways of a non-Azure machine - /// The ID of the target subscription. - /// 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). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 GatewaysListBySubscription(string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + global::System.Uri.EscapeDataString(subscriptionId) - + "/providers/Microsoft.HybridCompute/gateways" - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // make the call - await this.GatewaysListBySubscription_Call (request, onOk,onDefault,eventListener,sender); - } - } - - /// The operation to get all gateways of a non-Azure machine - /// - /// 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). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 GatewaysListBySubscriptionViaIdentity(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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // verify that Identity format is an exact match for uri - - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/providers/Microsoft.HybridCompute/gateways$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); - if (!_match.Success) - { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/gateways'"); - } - - // replace URI parameters with values from identity - var subscriptionId = _match.Groups["subscriptionId"].Value; - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + subscriptionId - + "/providers/Microsoft.HybridCompute/gateways" - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // make the call - await this.GatewaysListBySubscription_Call (request, onOk,onDefault,eventListener,sender); - } - } - - /// The operation to get all gateways of a non-Azure machine - /// - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 GatewaysListBySubscriptionViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // verify that Identity format is an exact match for uri - - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/providers/Microsoft.HybridCompute/gateways$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); - if (!_match.Success) - { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/gateways'"); - } - - // replace URI parameters with values from identity - var subscriptionId = _match.Groups["subscriptionId"].Value; - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + subscriptionId - + "/providers/Microsoft.HybridCompute/gateways" - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } - // make the call - return await this.GatewaysListBySubscriptionWithResult_Call (request, eventListener,sender); - } - } - - /// The operation to get all gateways of a non-Azure machine - /// The ID of the target subscription. - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 GatewaysListBySubscriptionWithResult(string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + global::System.Uri.EscapeDataString(subscriptionId) - + "/providers/Microsoft.HybridCompute/gateways" - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } - // make the call - return await this.GatewaysListBySubscriptionWithResult_Call (request, eventListener,sender); - } - } - - /// - /// Actual wire call for method. - /// - /// the prepared HttpRequestMessage to send. - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// - /// A that will be complete when handling of the response is completed. - /// - internal async global::System.Threading.Tasks.Task GatewaysListBySubscriptionWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - using( NoSynchronizationContext ) - { - global::System.Net.Http.HttpResponseMessage _response = null; - try - { - var sendTask = sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; } - _response = await sendTask; - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _contentType = _response.Content.Headers.ContentType?.MediaType; - - switch ( _response.StatusCode ) - { - case global::System.Net.HttpStatusCode.OK: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.GatewaysListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); - return await _result; - } - default: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ErrorResponseAutoGenerated.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); - // Error Response : default - var code = (await _result)?.Code; - var message = (await _result)?.Message; - if ((null == code || null == message)) - { - // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.RestException(_response, await _result); - throw ex; - } - else - { - throw new global::System.Exception($"[{code}] : {message}"); - } - } - } - } - finally - { - // finally statements - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Finally, request, _response); - _response?.Dispose(); - request?.Dispose(); - } - } - } - - /// 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 - /// elsewhere). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// - /// A that will be complete when handling of the response is completed. - /// - internal async global::System.Threading.Tasks.Task GatewaysListBySubscription_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - using( NoSynchronizationContext ) - { - global::System.Net.Http.HttpResponseMessage _response = null; - try - { - var sendTask = sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sendTask; - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return; } - var _contentType = _response.Content.Headers.ContentType?.MediaType; - - switch ( _response.StatusCode ) - { - case global::System.Net.HttpStatusCode.OK: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.GatewaysListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); - break; - } - default: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ErrorResponseAutoGenerated.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); - break; - } - } - } - finally - { - // finally statements - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Finally, request, _response); - _response?.Dispose(); - request?.Dispose(); - } - } - } - - /// - /// Validation method for method. Call this like the actual call, but you will get - /// validation events back. - /// - /// The ID of the target subscription. - /// an instance that will receive events. - /// - /// A that will be complete when handling of the response is completed. - /// - internal async global::System.Threading.Tasks.Task GatewaysListBySubscription_Validate(string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) - { - using( NoSynchronizationContext ) - { - await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); - await eventListener.AssertMinimumLength(nameof(subscriptionId),subscriptionId,1); - } - } - - /// The operation to update a gateway. - /// The ID of the target subscription. - /// The name of the resource group. The name is case insensitive. - /// The name of the Gateway. - /// Parameters supplied to the Update gateway 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). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// Allows the caller to choose the depth of the serialization. See . - /// - /// A that will be complete when handling of the response is completed. - /// - public async global::System.Threading.Tasks.Task GatewaysUpdate(string subscriptionId, string resourceGroupName, string gatewayName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayUpdate body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + global::System.Uri.EscapeDataString(subscriptionId) - + "/resourceGroups/" - + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.HybridCompute/gateways/" - + global::System.Uri.EscapeDataString(gatewayName) - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Patch, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // set body content - request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } - // make the call - await this.GatewaysUpdate_Call (request, onOk,onDefault,eventListener,sender); - } - } - - /// The operation to update a gateway. - /// - /// Parameters supplied to the Update gateway 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). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// Allows the caller to choose the depth of the serialization. See . - /// - /// A that will be complete when handling of the response is completed. - /// - public async global::System.Threading.Tasks.Task GatewaysUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayUpdate body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // verify that Identity format is an exact match for uri - - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/gateways/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); - if (!_match.Success) - { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/gateways/{gatewayName}'"); - } - - // replace URI parameters with values from identity - var subscriptionId = _match.Groups["subscriptionId"].Value; - var resourceGroupName = _match.Groups["resourceGroupName"].Value; - var gatewayName = _match.Groups["gatewayName"].Value; - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + subscriptionId - + "/resourceGroups/" - + resourceGroupName - + "/providers/Microsoft.HybridCompute/gateways/" - + gatewayName - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Patch, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // set body content - request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } - // make the call - await this.GatewaysUpdate_Call (request, onOk,onDefault,eventListener,sender); - } - } - - /// The operation to update a gateway. - /// - /// Parameters supplied to the Update gateway operation. - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// Allows the caller to choose the depth of the serialization. See . - /// - /// A that will be complete when handling of the response is completed. - /// - public async global::System.Threading.Tasks.Task GatewaysUpdateViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayUpdate body, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // verify that Identity format is an exact match for uri - - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/gateways/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); - if (!_match.Success) - { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/gateways/{gatewayName}'"); - } - - // replace URI parameters with values from identity - var subscriptionId = _match.Groups["subscriptionId"].Value; - var resourceGroupName = _match.Groups["resourceGroupName"].Value; - var gatewayName = _match.Groups["gatewayName"].Value; - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + subscriptionId - + "/resourceGroups/" - + resourceGroupName - + "/providers/Microsoft.HybridCompute/gateways/" - + gatewayName - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Patch, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } - // set body content - request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } - // make the call - return await this.GatewaysUpdateWithResult_Call (request, eventListener,sender); - } - } - - /// The operation to update a gateway. - /// The ID of the target subscription. - /// The name of the resource group. The name is case insensitive. - /// The name of the Gateway. - /// Json string supplied to the GatewaysUpdate 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). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 GatewaysUpdateViaJsonString(string subscriptionId, string resourceGroupName, string gatewayName, 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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + global::System.Uri.EscapeDataString(subscriptionId) - + "/resourceGroups/" - + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.HybridCompute/gateways/" - + global::System.Uri.EscapeDataString(gatewayName) - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Patch, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // set body content - request.Content = new global::System.Net.Http.StringContent(jsonString, global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } - // make the call - await this.GatewaysUpdate_Call (request, onOk,onDefault,eventListener,sender); - } - } - - /// The operation to update a gateway. - /// The ID of the target subscription. - /// The name of the resource group. The name is case insensitive. - /// The name of the Gateway. - /// Json string supplied to the GatewaysUpdate operation - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 GatewaysUpdateViaJsonStringWithResult(string subscriptionId, string resourceGroupName, string gatewayName, global::System.String jsonString, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + global::System.Uri.EscapeDataString(subscriptionId) - + "/resourceGroups/" - + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.HybridCompute/gateways/" - + global::System.Uri.EscapeDataString(gatewayName) - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Patch, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } - // set body content - request.Content = new global::System.Net.Http.StringContent(jsonString, global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } - // make the call - return await this.GatewaysUpdateWithResult_Call (request, eventListener,sender); - } - } - - /// The operation to update a gateway. - /// The ID of the target subscription. - /// The name of the resource group. The name is case insensitive. - /// The name of the Gateway. - /// Parameters supplied to the Update gateway operation. - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// Allows the caller to choose the depth of the serialization. See . - /// - /// A that will be complete when handling of the response is completed. - /// - public async global::System.Threading.Tasks.Task GatewaysUpdateWithResult(string subscriptionId, string resourceGroupName, string gatewayName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayUpdate body, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + global::System.Uri.EscapeDataString(subscriptionId) - + "/resourceGroups/" - + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.HybridCompute/gateways/" - + global::System.Uri.EscapeDataString(gatewayName) - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Patch, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } - // set body content - request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } - // make the call - return await this.GatewaysUpdateWithResult_Call (request, eventListener,sender); - } - } - - /// Actual wire call for method. - /// the prepared HttpRequestMessage to send. - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// - /// A that will be complete when handling of the response is completed. - /// - internal async global::System.Threading.Tasks.Task GatewaysUpdateWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - using( NoSynchronizationContext ) - { - global::System.Net.Http.HttpResponseMessage _response = null; - try - { - var sendTask = sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; } - _response = await sendTask; - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _contentType = _response.Content.Headers.ContentType?.MediaType; - - switch ( _response.StatusCode ) - { - case global::System.Net.HttpStatusCode.OK: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.Gateway.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); - return await _result; - } - default: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ErrorResponseAutoGenerated.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); - // Error Response : default - var code = (await _result)?.Code; - var message = (await _result)?.Message; - if ((null == code || null == message)) - { - // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.RestException(_response, await _result); - throw ex; - } - else - { - throw new global::System.Exception($"[{code}] : {message}"); - } - } - } - } - finally - { - // finally statements - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Finally, request, _response); - _response?.Dispose(); - request?.Dispose(); - } - } - } - - /// 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 - /// elsewhere). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// - /// A that will be complete when handling of the response is completed. - /// - internal async global::System.Threading.Tasks.Task GatewaysUpdate_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - using( NoSynchronizationContext ) - { - global::System.Net.Http.HttpResponseMessage _response = null; - try - { - var sendTask = sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sendTask; - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return; } - var _contentType = _response.Content.Headers.ContentType?.MediaType; - - switch ( _response.StatusCode ) - { - case global::System.Net.HttpStatusCode.OK: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.Gateway.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); - break; - } - default: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ErrorResponseAutoGenerated.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); - break; - } - } - } - finally - { - // finally statements - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Finally, request, _response); - _response?.Dispose(); - request?.Dispose(); - } - } - } - - /// - /// Validation method for method. Call this like the actual call, but you will get validation - /// events back. - /// - /// The ID of the target subscription. - /// The name of the resource group. The name is case insensitive. - /// The name of the Gateway. - /// Parameters supplied to the Update gateway operation. - /// an instance that will receive events. - /// - /// A that will be complete when handling of the response is completed. - /// - internal async global::System.Threading.Tasks.Task GatewaysUpdate_Validate(string subscriptionId, string resourceGroupName, string gatewayName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayUpdate body, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) - { - using( NoSynchronizationContext ) - { - await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); - await eventListener.AssertMinimumLength(nameof(subscriptionId),subscriptionId,1); - await eventListener.AssertNotNull(nameof(resourceGroupName),resourceGroupName); - await eventListener.AssertMinimumLength(nameof(resourceGroupName),resourceGroupName,1); - await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); - await eventListener.AssertNotNull(nameof(gatewayName),gatewayName); - await eventListener.AssertRegEx(nameof(gatewayName), gatewayName, @"[a-zA-Z0-9-_\.]+"); - await eventListener.AssertNotNull(nameof(body), body); - await eventListener.AssertObjectIsValid(nameof(body), body); - } - } - - /// Implements HybridIdentityMetadata GET method. - /// The ID of the target subscription. - /// The name of the resource group. The name is case insensitive. - /// The name of the hybrid machine. - /// Name of the HybridIdentityMetadata. - /// 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). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 HybridIdentityMetadataGet(string subscriptionId, string resourceGroupName, string machineName, string metadataName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + global::System.Uri.EscapeDataString(subscriptionId) - + "/resourceGroups/" - + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.HybridCompute/machines/" - + global::System.Uri.EscapeDataString(machineName) - + "/hybridIdentityMetadata/" - + global::System.Uri.EscapeDataString(metadataName) - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // make the call - await this.HybridIdentityMetadataGet_Call (request, onOk,onDefault,eventListener,sender); - } - } - - /// Implements HybridIdentityMetadata GET method. - /// - /// 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). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 HybridIdentityMetadataGetViaIdentity(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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // verify that Identity format is an exact match for uri - - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/machines/(?[^/]+)/hybridIdentityMetadata/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); - if (!_match.Success) - { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/hybridIdentityMetadata/{metadataName}'"); - } - - // replace URI parameters with values from identity - var subscriptionId = _match.Groups["subscriptionId"].Value; - var resourceGroupName = _match.Groups["resourceGroupName"].Value; - var machineName = _match.Groups["machineName"].Value; - var metadataName = _match.Groups["metadataName"].Value; - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + subscriptionId - + "/resourceGroups/" - + resourceGroupName - + "/providers/Microsoft.HybridCompute/machines/" - + machineName - + "/hybridIdentityMetadata/" - + metadataName - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // make the call - await this.HybridIdentityMetadataGet_Call (request, onOk,onDefault,eventListener,sender); - } - } - - /// Implements HybridIdentityMetadata GET method. - /// - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 HybridIdentityMetadataGetViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // verify that Identity format is an exact match for uri - - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/machines/(?[^/]+)/hybridIdentityMetadata/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); - if (!_match.Success) - { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/hybridIdentityMetadata/{metadataName}'"); - } - - // replace URI parameters with values from identity - var subscriptionId = _match.Groups["subscriptionId"].Value; - var resourceGroupName = _match.Groups["resourceGroupName"].Value; - var machineName = _match.Groups["machineName"].Value; - var metadataName = _match.Groups["metadataName"].Value; - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + subscriptionId - + "/resourceGroups/" - + resourceGroupName - + "/providers/Microsoft.HybridCompute/machines/" - + machineName - + "/hybridIdentityMetadata/" - + metadataName - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } - // make the call - return await this.HybridIdentityMetadataGetWithResult_Call (request, eventListener,sender); - } - } - - /// Implements HybridIdentityMetadata GET method. - /// The ID of the target subscription. - /// The name of the resource group. The name is case insensitive. - /// The name of the hybrid machine. - /// Name of the HybridIdentityMetadata. - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 HybridIdentityMetadataGetWithResult(string subscriptionId, string resourceGroupName, string machineName, string metadataName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + global::System.Uri.EscapeDataString(subscriptionId) - + "/resourceGroups/" - + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.HybridCompute/machines/" - + global::System.Uri.EscapeDataString(machineName) - + "/hybridIdentityMetadata/" - + global::System.Uri.EscapeDataString(metadataName) - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } - // make the call - return await this.HybridIdentityMetadataGetWithResult_Call (request, eventListener,sender); - } - } - - /// - /// Actual wire call for method. - /// - /// the prepared HttpRequestMessage to send. - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// - /// A that will be complete when handling of the response is completed. - /// - internal async global::System.Threading.Tasks.Task HybridIdentityMetadataGetWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - using( NoSynchronizationContext ) - { - global::System.Net.Http.HttpResponseMessage _response = null; - try - { - var sendTask = sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; } - _response = await sendTask; - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _contentType = _response.Content.Headers.ContentType?.MediaType; - - switch ( _response.StatusCode ) - { - case global::System.Net.HttpStatusCode.OK: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.HybridIdentityMetadata.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); - return await _result; - } - default: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ErrorResponse.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); - // Error Response : default - var code = (await _result)?.Code; - var message = (await _result)?.Message; - if ((null == code || null == message)) - { - // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.RestException(_response, await _result); - throw ex; - } - else - { - throw new global::System.Exception($"[{code}] : {message}"); - } - } - } - } - finally - { - // finally statements - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Finally, request, _response); - _response?.Dispose(); - request?.Dispose(); - } - } - } - - /// 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 - /// elsewhere). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// - /// A that will be complete when handling of the response is completed. - /// - internal async global::System.Threading.Tasks.Task HybridIdentityMetadataGet_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - using( NoSynchronizationContext ) - { - global::System.Net.Http.HttpResponseMessage _response = null; - try - { - var sendTask = sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sendTask; - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return; } - var _contentType = _response.Content.Headers.ContentType?.MediaType; - - switch ( _response.StatusCode ) - { - case global::System.Net.HttpStatusCode.OK: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.HybridIdentityMetadata.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); - break; - } - default: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ErrorResponse.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); - break; - } - } - } - finally - { - // finally statements - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Finally, request, _response); - _response?.Dispose(); - request?.Dispose(); - } - } - } - - /// - /// Validation method for method. Call this like the actual call, but you will get - /// validation events back. - /// - /// The ID of the target subscription. - /// The name of the resource group. The name is case insensitive. - /// The name of the hybrid machine. - /// Name of the HybridIdentityMetadata. - /// an instance that will receive events. - /// - /// A that will be complete when handling of the response is completed. - /// - internal async global::System.Threading.Tasks.Task HybridIdentityMetadataGet_Validate(string subscriptionId, string resourceGroupName, string machineName, string metadataName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) - { - using( NoSynchronizationContext ) - { - await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); - await eventListener.AssertMinimumLength(nameof(subscriptionId),subscriptionId,1); - await eventListener.AssertNotNull(nameof(resourceGroupName),resourceGroupName); - await eventListener.AssertMinimumLength(nameof(resourceGroupName),resourceGroupName,1); - await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); - await eventListener.AssertNotNull(nameof(machineName),machineName); - await eventListener.AssertMinimumLength(nameof(machineName),machineName,1); - await eventListener.AssertMaximumLength(nameof(machineName),machineName,54); - await eventListener.AssertRegEx(nameof(machineName), machineName, @"^[a-zA-Z0-9-_\.]{1,54}$"); - await eventListener.AssertNotNull(nameof(metadataName),metadataName); - await eventListener.AssertRegEx(nameof(metadataName), metadataName, @"^[a-zA-Z0-9-_\.]{1,54}$"); - } - } - - /// Returns the list of HybridIdentityMetadata of the given machine. - /// The ID of the target subscription. - /// The name of the resource group. The name is case insensitive. - /// The name of the hybrid machine. - /// 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). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 HybridIdentityMetadataListByMachines(string subscriptionId, string resourceGroupName, string machineName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + global::System.Uri.EscapeDataString(subscriptionId) - + "/resourceGroups/" - + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.HybridCompute/machines/" - + global::System.Uri.EscapeDataString(machineName) - + "/hybridIdentityMetadata" - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // make the call - await this.HybridIdentityMetadataListByMachines_Call (request, onOk,onDefault,eventListener,sender); - } - } - - /// Returns the list of HybridIdentityMetadata of the given machine. - /// - /// 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). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 HybridIdentityMetadataListByMachinesViaIdentity(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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // verify that Identity format is an exact match for uri - - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/machines/(?[^/]+)/hybridIdentityMetadata$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); - if (!_match.Success) - { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/hybridIdentityMetadata'"); - } - - // replace URI parameters with values from identity - var subscriptionId = _match.Groups["subscriptionId"].Value; - var resourceGroupName = _match.Groups["resourceGroupName"].Value; - var machineName = _match.Groups["machineName"].Value; - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + subscriptionId - + "/resourceGroups/" - + resourceGroupName - + "/providers/Microsoft.HybridCompute/machines/" - + machineName - + "/hybridIdentityMetadata" - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // make the call - await this.HybridIdentityMetadataListByMachines_Call (request, onOk,onDefault,eventListener,sender); - } - } - - /// Returns the list of HybridIdentityMetadata of the given machine. - /// - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 HybridIdentityMetadataListByMachinesViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // verify that Identity format is an exact match for uri - - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/machines/(?[^/]+)/hybridIdentityMetadata$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); - if (!_match.Success) - { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/hybridIdentityMetadata'"); - } - - // replace URI parameters with values from identity - var subscriptionId = _match.Groups["subscriptionId"].Value; - var resourceGroupName = _match.Groups["resourceGroupName"].Value; - var machineName = _match.Groups["machineName"].Value; - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + subscriptionId - + "/resourceGroups/" - + resourceGroupName - + "/providers/Microsoft.HybridCompute/machines/" - + machineName - + "/hybridIdentityMetadata" - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } - // make the call - return await this.HybridIdentityMetadataListByMachinesWithResult_Call (request, eventListener,sender); - } - } - - /// Returns the list of HybridIdentityMetadata of the given machine. - /// The ID of the target subscription. - /// The name of the resource group. The name is case insensitive. - /// The name of the hybrid machine. - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 HybridIdentityMetadataListByMachinesWithResult(string subscriptionId, string resourceGroupName, string machineName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + global::System.Uri.EscapeDataString(subscriptionId) - + "/resourceGroups/" - + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.HybridCompute/machines/" - + global::System.Uri.EscapeDataString(machineName) - + "/hybridIdentityMetadata" - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } - // make the call - return await this.HybridIdentityMetadataListByMachinesWithResult_Call (request, eventListener,sender); - } - } - - /// - /// Actual wire call for method. - /// - /// the prepared HttpRequestMessage to send. - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// - /// A that will be complete when handling of the response is completed. - /// - internal async global::System.Threading.Tasks.Task HybridIdentityMetadataListByMachinesWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - using( NoSynchronizationContext ) - { - global::System.Net.Http.HttpResponseMessage _response = null; - try - { - var sendTask = sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; } - _response = await sendTask; - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _contentType = _response.Content.Headers.ContentType?.MediaType; - - switch ( _response.StatusCode ) - { - case global::System.Net.HttpStatusCode.OK: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.HybridIdentityMetadataList.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); - return await _result; - } - default: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ErrorResponse.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); - // Error Response : default - var code = (await _result)?.Code; - var message = (await _result)?.Message; - if ((null == code || null == message)) - { - // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.RestException(_response, await _result); - throw ex; - } - else - { - throw new global::System.Exception($"[{code}] : {message}"); - } - } - } - } - finally - { - // finally statements - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Finally, request, _response); - _response?.Dispose(); - request?.Dispose(); - } - } - } - - /// - /// 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 - /// elsewhere). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// - /// A that will be complete when handling of the response is completed. - /// - internal async global::System.Threading.Tasks.Task HybridIdentityMetadataListByMachines_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - using( NoSynchronizationContext ) - { - global::System.Net.Http.HttpResponseMessage _response = null; - try - { - var sendTask = sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sendTask; - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return; } - var _contentType = _response.Content.Headers.ContentType?.MediaType; - - switch ( _response.StatusCode ) - { - case global::System.Net.HttpStatusCode.OK: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.HybridIdentityMetadataList.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); - break; - } - default: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ErrorResponse.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); - break; - } - } - } - finally - { - // finally statements - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Finally, request, _response); - _response?.Dispose(); - request?.Dispose(); - } - } - } - - /// - /// Validation method for method. Call this like the actual call, but - /// you will get validation events back. - /// - /// The ID of the target subscription. - /// The name of the resource group. The name is case insensitive. - /// The name of the hybrid machine. - /// an instance that will receive events. - /// - /// A that will be complete when handling of the response is completed. - /// - internal async global::System.Threading.Tasks.Task HybridIdentityMetadataListByMachines_Validate(string subscriptionId, string resourceGroupName, string machineName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) - { - using( NoSynchronizationContext ) - { - await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); - await eventListener.AssertMinimumLength(nameof(subscriptionId),subscriptionId,1); - await eventListener.AssertNotNull(nameof(resourceGroupName),resourceGroupName); - await eventListener.AssertMinimumLength(nameof(resourceGroupName),resourceGroupName,1); - await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); - await eventListener.AssertNotNull(nameof(machineName),machineName); - await eventListener.AssertMinimumLength(nameof(machineName),machineName,1); - await eventListener.AssertMaximumLength(nameof(machineName),machineName,54); - await eventListener.AssertRegEx(nameof(machineName), machineName, @"^[a-zA-Z0-9-_\.]{1,54}$"); - } - } - - /// The operation to update a license profile. - /// The ID of the target subscription. - /// The name of the resource group. The name is case insensitive. - /// The name of the hybrid machine. - /// Parameters supplied to the Create or Update license profile 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). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// Allows the caller to choose the depth of the serialization. See . - /// - /// A that will be complete when handling of the response is completed. - /// - public async global::System.Threading.Tasks.Task LicenseProfilesCreateOrUpdate(string subscriptionId, string resourceGroupName, string machineName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfile body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) - { - var licenseProfileName = @"default"; - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + global::System.Uri.EscapeDataString(subscriptionId) - + "/resourceGroups/" - + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.HybridCompute/machines/" - + global::System.Uri.EscapeDataString(machineName) - + "/licenseProfiles/" - + global::System.Uri.EscapeDataString(licenseProfileName) - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Put, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // set body content - request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } - // make the call - await this.LicenseProfilesCreateOrUpdate_Call (request, onOk,onDefault,eventListener,sender); - } - } - - /// The operation to update a license profile. - /// - /// Parameters supplied to the Create or Update license profile 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). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// Allows the caller to choose the depth of the serialization. See . - /// - /// A that will be complete when handling of the response is completed. - /// - public async global::System.Threading.Tasks.Task LicenseProfilesCreateOrUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfile body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // verify that Identity format is an exact match for uri - - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/machines/(?[^/]+)/licenseProfiles/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); - if (!_match.Success) - { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/licenseProfiles/{licenseProfileName}'"); - } - - // replace URI parameters with values from identity - var subscriptionId = _match.Groups["subscriptionId"].Value; - var resourceGroupName = _match.Groups["resourceGroupName"].Value; - var machineName = _match.Groups["machineName"].Value; - var licenseProfileName = _match.Groups["licenseProfileName"].Value; - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + subscriptionId - + "/resourceGroups/" - + resourceGroupName - + "/providers/Microsoft.HybridCompute/machines/" - + machineName - + "/licenseProfiles/" - + licenseProfileName - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Put, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // set body content - request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } - // make the call - await this.LicenseProfilesCreateOrUpdate_Call (request, onOk,onDefault,eventListener,sender); - } - } - - /// The operation to update a license profile. - /// - /// Parameters supplied to the Create or Update license profile operation. - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// Allows the caller to choose the depth of the serialization. See . - /// - /// A that will be complete when handling of the response is completed. - /// - public async global::System.Threading.Tasks.Task LicenseProfilesCreateOrUpdateViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfile body, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // verify that Identity format is an exact match for uri - - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/machines/(?[^/]+)/licenseProfiles/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); - if (!_match.Success) - { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/licenseProfiles/{licenseProfileName}'"); - } - - // replace URI parameters with values from identity - var subscriptionId = _match.Groups["subscriptionId"].Value; - var resourceGroupName = _match.Groups["resourceGroupName"].Value; - var machineName = _match.Groups["machineName"].Value; - var licenseProfileName = _match.Groups["licenseProfileName"].Value; - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + subscriptionId - + "/resourceGroups/" - + resourceGroupName - + "/providers/Microsoft.HybridCompute/machines/" - + machineName - + "/licenseProfiles/" - + licenseProfileName - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Put, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } - // set body content - request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } - // make the call - return await this.LicenseProfilesCreateOrUpdateWithResult_Call (request, eventListener,sender); - } - } - - /// The operation to update a license profile. - /// The ID of the target subscription. - /// The name of the resource group. The name is case insensitive. - /// The name of the hybrid machine. - /// Json string supplied to the LicenseProfilesCreateOrUpdate 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). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 LicenseProfilesCreateOrUpdateViaJsonString(string subscriptionId, string resourceGroupName, string machineName, 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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - var licenseProfileName = @"default"; - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + global::System.Uri.EscapeDataString(subscriptionId) - + "/resourceGroups/" - + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.HybridCompute/machines/" - + global::System.Uri.EscapeDataString(machineName) - + "/licenseProfiles/" - + global::System.Uri.EscapeDataString(licenseProfileName) - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Put, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // set body content - request.Content = new global::System.Net.Http.StringContent(jsonString, global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } - // make the call - await this.LicenseProfilesCreateOrUpdate_Call (request, onOk,onDefault,eventListener,sender); - } - } - - /// The operation to update a license profile. - /// The ID of the target subscription. - /// The name of the resource group. The name is case insensitive. - /// The name of the hybrid machine. - /// Json string supplied to the LicenseProfilesCreateOrUpdate operation - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 LicenseProfilesCreateOrUpdateViaJsonStringWithResult(string subscriptionId, string resourceGroupName, string machineName, global::System.String jsonString, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - var licenseProfileName = @"default"; - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + global::System.Uri.EscapeDataString(subscriptionId) - + "/resourceGroups/" - + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.HybridCompute/machines/" - + global::System.Uri.EscapeDataString(machineName) - + "/licenseProfiles/" - + global::System.Uri.EscapeDataString(licenseProfileName) - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Put, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } - // set body content - request.Content = new global::System.Net.Http.StringContent(jsonString, global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } - // make the call - return await this.LicenseProfilesCreateOrUpdateWithResult_Call (request, eventListener,sender); - } - } - - /// The operation to update a license profile. - /// The ID of the target subscription. - /// The name of the resource group. The name is case insensitive. - /// The name of the hybrid machine. - /// Parameters supplied to the Create or Update license profile operation. - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// Allows the caller to choose the depth of the serialization. See . - /// - /// A that will be complete when handling of the response is completed. - /// - public async global::System.Threading.Tasks.Task LicenseProfilesCreateOrUpdateWithResult(string subscriptionId, string resourceGroupName, string machineName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfile body, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) - { - var licenseProfileName = @"default"; - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + global::System.Uri.EscapeDataString(subscriptionId) - + "/resourceGroups/" - + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.HybridCompute/machines/" - + global::System.Uri.EscapeDataString(machineName) - + "/licenseProfiles/" - + global::System.Uri.EscapeDataString(licenseProfileName) - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Put, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } - // set body content - request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } - // make the call - return await this.LicenseProfilesCreateOrUpdateWithResult_Call (request, eventListener,sender); - } - } - - /// - /// Actual wire call for method. - /// - /// the prepared HttpRequestMessage to send. - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// - /// A that will be complete when handling of the response is completed. - /// - internal async global::System.Threading.Tasks.Task LicenseProfilesCreateOrUpdateWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - using( NoSynchronizationContext ) - { - global::System.Net.Http.HttpResponseMessage _response = null; - try - { - var sendTask = sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; } - _response = await sendTask; - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - // this operation supports x-ms-long-running-operation - var _originalUri = request.RequestUri.AbsoluteUri; - // declared final-state-via: default - var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); - var location = _response.GetFirstHeader(@"Location"); - var operationLocation = _response.GetFirstHeader(@"Operation-Location"); - while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) - { - // delay before making the next polling request - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.DelayBeforePolling, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - - // while we wait, let's grab the headers and get ready to poll. - if (!System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Azure-AsyncOperation"))) { - asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); - } - if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Location"))) { - location = _response.GetFirstHeader(@"Location"); - } - if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Operation-Location"))) { - operationLocation = _response.GetFirstHeader(@"Operation-Location"); - } - var _uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? global::System.String.IsNullOrEmpty(operationLocation) ? _originalUri : operationLocation : location : asyncOperation; - request = request.CloneAndDispose(new global::System.Uri(_uri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); - - // and let's look at the current response body and see if we have some information we can give back to the listener - var content = await _response.Content.ReadAsStringAsync(); - - // drop the old response - _response?.Dispose(); - - // make the polling call - _response = await sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - - // if we got back an OK, take a peek inside and see if it's done - if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) - { - var error = false; - try { - if( Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json) - { - var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); - if( state is null ) - { - // the body doesn't contain any information that has the state of the LRO - // we're going to just get out, and let the consumer have the result - break; - } - - switch( state?.ToString()?.ToLower() ) - { - case "failed": - error = true; - break; - case "succeeded": - case "canceled": - // we're done polling. - break; - - default: - // need to keep polling! - _response.StatusCode = global::System.Net.HttpStatusCode.Created; - continue; - } - } - } catch { - // if we run into a problem peeking into the result, - // we really don't want to do anything special. - } - if (error) { - throw new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.UndeclaredResponseException(_response); - } - } - - // check for terminal status code - if (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) - { - continue; - } - // we are done polling, do a request on final target? - if (!string.IsNullOrWhiteSpace(_originalUri)) - { - // create a new request with the final uri - request = request.CloneAndDispose(new global::System.Uri(_originalUri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); - - // drop the old response - _response?.Dispose(); - - // make the final call - _response = await sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - break; - } - } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _contentType = _response.Content.Headers.ContentType?.MediaType; - - switch ( _response.StatusCode ) - { - case global::System.Net.HttpStatusCode.OK: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.LicenseProfile.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); - return await _result; - } - default: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ErrorResponse.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); - // Error Response : default - var code = (await _result)?.Code; - var message = (await _result)?.Message; - if ((null == code || null == message)) - { - // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.RestException(_response, await _result); - throw ex; - } - else - { - throw new global::System.Exception($"[{code}] : {message}"); - } - } - } - } - finally - { - // finally statements - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Finally, request, _response); - _response?.Dispose(); - request?.Dispose(); - } - } - } - - /// 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 - /// elsewhere). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// - /// A that will be complete when handling of the response is completed. - /// - internal async global::System.Threading.Tasks.Task LicenseProfilesCreateOrUpdate_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - using( NoSynchronizationContext ) - { - global::System.Net.Http.HttpResponseMessage _response = null; - try - { - var sendTask = sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sendTask; - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - // this operation supports x-ms-long-running-operation - var _originalUri = request.RequestUri.AbsoluteUri; - // declared final-state-via: default - var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); - var location = _response.GetFirstHeader(@"Location"); - var operationLocation = _response.GetFirstHeader(@"Operation-Location"); - while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) - { - // delay before making the next polling request - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.DelayBeforePolling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - - // while we wait, let's grab the headers and get ready to poll. - if (!System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Azure-AsyncOperation"))) { - asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); - } - if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Location"))) { - location = _response.GetFirstHeader(@"Location"); - } - if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Operation-Location"))) { - operationLocation = _response.GetFirstHeader(@"Operation-Location"); - } - var _uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? global::System.String.IsNullOrEmpty(operationLocation) ? _originalUri : operationLocation : location : asyncOperation; - request = request.CloneAndDispose(new global::System.Uri(_uri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); - - // and let's look at the current response body and see if we have some information we can give back to the listener - var content = await _response.Content.ReadAsStringAsync(); - - // drop the old response - _response?.Dispose(); - - // make the polling call - _response = await sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - - // if we got back an OK, take a peek inside and see if it's done - if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) - { - var error = false; - try { - if( Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json) - { - var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); - if( state is null ) - { - // the body doesn't contain any information that has the state of the LRO - // we're going to just get out, and let the consumer have the result - break; - } - - switch( state?.ToString()?.ToLower() ) - { - case "failed": - error = true; - break; - case "succeeded": - case "canceled": - // we're done polling. - break; - - default: - // need to keep polling! - _response.StatusCode = global::System.Net.HttpStatusCode.Created; - continue; - } - } - } catch { - // if we run into a problem peeking into the result, - // we really don't want to do anything special. - } - if (error) { - throw new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.UndeclaredResponseException(_response); - } - } - - // check for terminal status code - if (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) - { - continue; - } - // we are done polling, do a request on final target? - if (!string.IsNullOrWhiteSpace(_originalUri)) - { - // create a new request with the final uri - request = request.CloneAndDispose(new global::System.Uri(_originalUri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); - - // drop the old response - _response?.Dispose(); - - // make the final call - _response = await sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - break; - } - } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return; } - var _contentType = _response.Content.Headers.ContentType?.MediaType; - - switch ( _response.StatusCode ) - { - case global::System.Net.HttpStatusCode.OK: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.LicenseProfile.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); - break; - } - default: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ErrorResponse.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); - break; - } - } - } - finally - { - // finally statements - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Finally, request, _response); - _response?.Dispose(); - request?.Dispose(); - } - } - } - - /// - /// Validation method for method. Call this like the actual call, but you will - /// get validation events back. - /// - /// The ID of the target subscription. - /// The name of the resource group. The name is case insensitive. - /// The name of the hybrid machine. - /// Parameters supplied to the Create or Update license profile operation. - /// an instance that will receive events. - /// - /// A that will be complete when handling of the response is completed. - /// - internal async global::System.Threading.Tasks.Task LicenseProfilesCreateOrUpdate_Validate(string subscriptionId, string resourceGroupName, string machineName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfile body, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) - { - using( NoSynchronizationContext ) - { - await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); - await eventListener.AssertMinimumLength(nameof(subscriptionId),subscriptionId,1); - await eventListener.AssertNotNull(nameof(resourceGroupName),resourceGroupName); - await eventListener.AssertMinimumLength(nameof(resourceGroupName),resourceGroupName,1); - await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); - await eventListener.AssertNotNull(nameof(machineName),machineName); - await eventListener.AssertRegEx(nameof(machineName), machineName, @"[a-zA-Z0-9-_\.]+"); - await eventListener.AssertNotNull(nameof(body), body); - await eventListener.AssertObjectIsValid(nameof(body), body); - } - } - - /// The operation to delete a license profile. - /// The ID of the target subscription. - /// The name of the resource group. The name is case insensitive. - /// The name of the hybrid machine. - /// a delegate that is called when the remote service returns 204 (NoContent). - /// 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). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 LicenseProfilesDelete(string subscriptionId, string resourceGroupName, string machineName, global::System.Func onNoContent, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - var licenseProfileName = @"default"; - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + global::System.Uri.EscapeDataString(subscriptionId) - + "/resourceGroups/" - + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.HybridCompute/machines/" - + global::System.Uri.EscapeDataString(machineName) - + "/licenseProfiles/" - + global::System.Uri.EscapeDataString(licenseProfileName) - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Delete, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // make the call - await this.LicenseProfilesDelete_Call (request, onNoContent,onOk,onDefault,eventListener,sender); - } - } - - /// The operation to delete a license profile. - /// - /// a delegate that is called when the remote service returns 204 (NoContent). - /// 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). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 LicenseProfilesDeleteViaIdentity(global::System.String viaIdentity, global::System.Func onNoContent, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // verify that Identity format is an exact match for uri - - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/machines/(?[^/]+)/licenseProfiles/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); - if (!_match.Success) - { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/licenseProfiles/{licenseProfileName}'"); - } - - // replace URI parameters with values from identity - var subscriptionId = _match.Groups["subscriptionId"].Value; - var resourceGroupName = _match.Groups["resourceGroupName"].Value; - var machineName = _match.Groups["machineName"].Value; - var licenseProfileName = _match.Groups["licenseProfileName"].Value; - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + subscriptionId - + "/resourceGroups/" - + resourceGroupName - + "/providers/Microsoft.HybridCompute/machines/" - + machineName - + "/licenseProfiles/" - + licenseProfileName - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Delete, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // make the call - await this.LicenseProfilesDelete_Call (request, onNoContent,onOk,onDefault,eventListener,sender); - } - } - - /// Actual wire call for method. - /// the prepared HttpRequestMessage to send. - /// a delegate that is called when the remote service returns 204 (NoContent). - /// 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). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// - /// A that will be complete when handling of the response is completed. - /// - internal async global::System.Threading.Tasks.Task LicenseProfilesDelete_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func onNoContent, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - using( NoSynchronizationContext ) - { - global::System.Net.Http.HttpResponseMessage _response = null; - try - { - var sendTask = sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sendTask; - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - // this operation supports x-ms-long-running-operation - var _originalUri = request.RequestUri.AbsoluteUri; - // declared final-state-via: default - var _finalUri = _response.GetFirstHeader(@"Location"); - var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); - var location = _response.GetFirstHeader(@"Location"); - var operationLocation = _response.GetFirstHeader(@"Operation-Location"); - while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) - { - // delay before making the next polling request - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.DelayBeforePolling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - - // while we wait, let's grab the headers and get ready to poll. - if (!System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Azure-AsyncOperation"))) { - asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); - } - if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Location"))) { - location = _response.GetFirstHeader(@"Location"); - } - if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Operation-Location"))) { - operationLocation = _response.GetFirstHeader(@"Operation-Location"); - } - var _uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? global::System.String.IsNullOrEmpty(operationLocation) ? _originalUri : operationLocation : location : asyncOperation; - request = request.CloneAndDispose(new global::System.Uri(_uri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); - - // and let's look at the current response body and see if we have some information we can give back to the listener - var content = await _response.Content.ReadAsStringAsync(); - - // drop the old response - _response?.Dispose(); - - // make the polling call - _response = await sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - - // if we got back an OK, take a peek inside and see if it's done - if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) - { - var error = false; - try { - if( Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json) - { - var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); - if( state is null ) - { - // the body doesn't contain any information that has the state of the LRO - // we're going to just get out, and let the consumer have the result - break; - } - - switch( state?.ToString()?.ToLower() ) - { - case "failed": - error = true; - break; - case "succeeded": - case "canceled": - // we're done polling. - break; - - default: - // need to keep polling! - _response.StatusCode = global::System.Net.HttpStatusCode.Created; - continue; - } - } - } catch { - // if we run into a problem peeking into the result, - // we really don't want to do anything special. - } - if (error) { - throw new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.UndeclaredResponseException(_response); - } - } - - // check for terminal status code - if (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) - { - continue; - } - // we are done polling, do a request on final target? - if (!string.IsNullOrWhiteSpace(_finalUri)) - { - // create a new request with the final uri - request = request.CloneAndDispose(new global::System.Uri(_finalUri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); - - // drop the old response - _response?.Dispose(); - - // make the final call - _response = await sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - break; - } - } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return; } - var _contentType = _response.Content.Headers.ContentType?.MediaType; - - switch ( _response.StatusCode ) - { - case global::System.Net.HttpStatusCode.OK: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response); - break; - } - case global::System.Net.HttpStatusCode.NoContent: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onNoContent(_response); - break; - } - default: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ErrorResponse.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); - break; - } - } - } - finally - { - // finally statements - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Finally, request, _response); - _response?.Dispose(); - request?.Dispose(); - } - } - } - - /// - /// Validation method for method. Call this like the actual call, but you will get validation - /// events back. - /// - /// The ID of the target subscription. - /// The name of the resource group. The name is case insensitive. - /// The name of the hybrid machine. - /// an instance that will receive events. - /// - /// A that will be complete when handling of the response is completed. - /// - internal async global::System.Threading.Tasks.Task LicenseProfilesDelete_Validate(string subscriptionId, string resourceGroupName, string machineName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) - { - using( NoSynchronizationContext ) - { - await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); - await eventListener.AssertMinimumLength(nameof(subscriptionId),subscriptionId,1); - await eventListener.AssertNotNull(nameof(resourceGroupName),resourceGroupName); - await eventListener.AssertMinimumLength(nameof(resourceGroupName),resourceGroupName,1); - await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); - await eventListener.AssertNotNull(nameof(machineName),machineName); - await eventListener.AssertRegEx(nameof(machineName), machineName, @"[a-zA-Z0-9-_\.]+"); - } - } - - /// Retrieves information about the view of a license profile. - /// The ID of the target subscription. - /// The name of the resource group. The name is case insensitive. - /// The name of the hybrid machine. - /// 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). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 LicenseProfilesGet(string subscriptionId, string resourceGroupName, string machineName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - var licenseProfileName = @"default"; - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + global::System.Uri.EscapeDataString(subscriptionId) - + "/resourceGroups/" - + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.HybridCompute/machines/" - + global::System.Uri.EscapeDataString(machineName) - + "/licenseProfiles/" - + global::System.Uri.EscapeDataString(licenseProfileName) - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // make the call - await this.LicenseProfilesGet_Call (request, onOk,onDefault,eventListener,sender); - } - } - - /// Retrieves information about the view of a license profile. - /// - /// 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). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 LicenseProfilesGetViaIdentity(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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // verify that Identity format is an exact match for uri - - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/machines/(?[^/]+)/licenseProfiles/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); - if (!_match.Success) - { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/licenseProfiles/{licenseProfileName}'"); - } - - // replace URI parameters with values from identity - var subscriptionId = _match.Groups["subscriptionId"].Value; - var resourceGroupName = _match.Groups["resourceGroupName"].Value; - var machineName = _match.Groups["machineName"].Value; - var licenseProfileName = _match.Groups["licenseProfileName"].Value; - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + subscriptionId - + "/resourceGroups/" - + resourceGroupName - + "/providers/Microsoft.HybridCompute/machines/" - + machineName - + "/licenseProfiles/" - + licenseProfileName - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // make the call - await this.LicenseProfilesGet_Call (request, onOk,onDefault,eventListener,sender); - } - } - - /// Retrieves information about the view of a license profile. - /// - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 LicenseProfilesGetViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // verify that Identity format is an exact match for uri - - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/machines/(?[^/]+)/licenseProfiles/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); - if (!_match.Success) - { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/licenseProfiles/{licenseProfileName}'"); - } - - // replace URI parameters with values from identity - var subscriptionId = _match.Groups["subscriptionId"].Value; - var resourceGroupName = _match.Groups["resourceGroupName"].Value; - var machineName = _match.Groups["machineName"].Value; - var licenseProfileName = _match.Groups["licenseProfileName"].Value; - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + subscriptionId - + "/resourceGroups/" - + resourceGroupName - + "/providers/Microsoft.HybridCompute/machines/" - + machineName - + "/licenseProfiles/" - + licenseProfileName - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } - // make the call - return await this.LicenseProfilesGetWithResult_Call (request, eventListener,sender); - } - } - - /// Retrieves information about the view of a license profile. - /// The ID of the target subscription. - /// The name of the resource group. The name is case insensitive. - /// The name of the hybrid machine. - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 LicenseProfilesGetWithResult(string subscriptionId, string resourceGroupName, string machineName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - var licenseProfileName = @"default"; - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + global::System.Uri.EscapeDataString(subscriptionId) - + "/resourceGroups/" - + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.HybridCompute/machines/" - + global::System.Uri.EscapeDataString(machineName) - + "/licenseProfiles/" - + global::System.Uri.EscapeDataString(licenseProfileName) - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } - // make the call - return await this.LicenseProfilesGetWithResult_Call (request, eventListener,sender); - } - } - - /// Actual wire call for method. - /// the prepared HttpRequestMessage to send. - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// - /// A that will be complete when handling of the response is completed. - /// - internal async global::System.Threading.Tasks.Task LicenseProfilesGetWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - using( NoSynchronizationContext ) - { - global::System.Net.Http.HttpResponseMessage _response = null; - try - { - var sendTask = sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; } - _response = await sendTask; - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _contentType = _response.Content.Headers.ContentType?.MediaType; - - switch ( _response.StatusCode ) - { - case global::System.Net.HttpStatusCode.OK: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.LicenseProfile.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); - return await _result; - } - default: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ErrorResponse.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); - // Error Response : default - var code = (await _result)?.Code; - var message = (await _result)?.Message; - if ((null == code || null == message)) - { - // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.RestException(_response, await _result); - throw ex; - } - else - { - throw new global::System.Exception($"[{code}] : {message}"); - } - } - } - } - finally - { - // finally statements - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Finally, request, _response); - _response?.Dispose(); - request?.Dispose(); - } - } - } - - /// 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 - /// elsewhere). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// - /// A that will be complete when handling of the response is completed. - /// - internal async global::System.Threading.Tasks.Task LicenseProfilesGet_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - using( NoSynchronizationContext ) - { - global::System.Net.Http.HttpResponseMessage _response = null; - try - { - var sendTask = sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sendTask; - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return; } - var _contentType = _response.Content.Headers.ContentType?.MediaType; - - switch ( _response.StatusCode ) - { - case global::System.Net.HttpStatusCode.OK: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.LicenseProfile.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); - break; - } - default: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ErrorResponse.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); - break; - } - } - } - finally - { - // finally statements - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Finally, request, _response); - _response?.Dispose(); - request?.Dispose(); - } - } - } - - /// - /// Validation method for method. Call this like the actual call, but you will get validation - /// events back. - /// - /// The ID of the target subscription. - /// The name of the resource group. The name is case insensitive. - /// The name of the hybrid machine. - /// an instance that will receive events. - /// - /// A that will be complete when handling of the response is completed. - /// - internal async global::System.Threading.Tasks.Task LicenseProfilesGet_Validate(string subscriptionId, string resourceGroupName, string machineName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) - { - using( NoSynchronizationContext ) - { - await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); - await eventListener.AssertMinimumLength(nameof(subscriptionId),subscriptionId,1); - await eventListener.AssertNotNull(nameof(resourceGroupName),resourceGroupName); - await eventListener.AssertMinimumLength(nameof(resourceGroupName),resourceGroupName,1); - await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); - await eventListener.AssertNotNull(nameof(machineName),machineName); - await eventListener.AssertRegEx(nameof(machineName), machineName, @"[a-zA-Z0-9-_\.]+"); - } - } - - /// The operation to get all license profiles of a non-Azure machine - /// The ID of the target subscription. - /// The name of the resource group. The name is case insensitive. - /// The name of the machine. - /// 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). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 LicenseProfilesList(string subscriptionId, string resourceGroupName, string machineName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + global::System.Uri.EscapeDataString(subscriptionId) - + "/resourceGroups/" - + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.HybridCompute/machines/" - + global::System.Uri.EscapeDataString(machineName) - + "/licenseProfiles" - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // make the call - await this.LicenseProfilesList_Call (request, onOk,onDefault,eventListener,sender); - } - } - - /// The operation to get all license profiles of a non-Azure machine - /// - /// 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). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 LicenseProfilesListViaIdentity(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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // verify that Identity format is an exact match for uri - - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/machines/(?[^/]+)/licenseProfiles$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); - if (!_match.Success) - { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/licenseProfiles'"); - } - - // replace URI parameters with values from identity - var subscriptionId = _match.Groups["subscriptionId"].Value; - var resourceGroupName = _match.Groups["resourceGroupName"].Value; - var machineName = _match.Groups["machineName"].Value; - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + subscriptionId - + "/resourceGroups/" - + resourceGroupName - + "/providers/Microsoft.HybridCompute/machines/" - + machineName - + "/licenseProfiles" - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // make the call - await this.LicenseProfilesList_Call (request, onOk,onDefault,eventListener,sender); - } - } - - /// The operation to get all license profiles of a non-Azure machine - /// - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 LicenseProfilesListViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // verify that Identity format is an exact match for uri - - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/machines/(?[^/]+)/licenseProfiles$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); - if (!_match.Success) - { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/licenseProfiles'"); - } - - // replace URI parameters with values from identity - var subscriptionId = _match.Groups["subscriptionId"].Value; - var resourceGroupName = _match.Groups["resourceGroupName"].Value; - var machineName = _match.Groups["machineName"].Value; - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + subscriptionId - + "/resourceGroups/" - + resourceGroupName - + "/providers/Microsoft.HybridCompute/machines/" - + machineName - + "/licenseProfiles" - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } - // make the call - return await this.LicenseProfilesListWithResult_Call (request, eventListener,sender); - } - } - - /// The operation to get all license profiles of a non-Azure machine - /// The ID of the target subscription. - /// The name of the resource group. The name is case insensitive. - /// The name of the machine. - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 LicenseProfilesListWithResult(string subscriptionId, string resourceGroupName, string machineName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + global::System.Uri.EscapeDataString(subscriptionId) - + "/resourceGroups/" - + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.HybridCompute/machines/" - + global::System.Uri.EscapeDataString(machineName) - + "/licenseProfiles" - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } - // make the call - return await this.LicenseProfilesListWithResult_Call (request, eventListener,sender); - } - } - - /// Actual wire call for method. - /// the prepared HttpRequestMessage to send. - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// - /// A that will be complete when handling of the response is completed. - /// - internal async global::System.Threading.Tasks.Task LicenseProfilesListWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - using( NoSynchronizationContext ) - { - global::System.Net.Http.HttpResponseMessage _response = null; - try - { - var sendTask = sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; } - _response = await sendTask; - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _contentType = _response.Content.Headers.ContentType?.MediaType; - - switch ( _response.StatusCode ) - { - case global::System.Net.HttpStatusCode.OK: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.LicenseProfilesListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); - return await _result; - } - default: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ErrorResponse.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); - // Error Response : default - var code = (await _result)?.Code; - var message = (await _result)?.Message; - if ((null == code || null == message)) - { - // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.RestException(_response, await _result); - throw ex; - } - else - { - throw new global::System.Exception($"[{code}] : {message}"); - } - } - } - } - finally - { - // finally statements - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Finally, request, _response); - _response?.Dispose(); - request?.Dispose(); - } - } - } - - /// 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 - /// elsewhere). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// - /// A that will be complete when handling of the response is completed. - /// - internal async global::System.Threading.Tasks.Task LicenseProfilesList_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - using( NoSynchronizationContext ) - { - global::System.Net.Http.HttpResponseMessage _response = null; - try - { - var sendTask = sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sendTask; - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return; } - var _contentType = _response.Content.Headers.ContentType?.MediaType; - - switch ( _response.StatusCode ) - { - case global::System.Net.HttpStatusCode.OK: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.LicenseProfilesListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); - break; - } - default: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ErrorResponse.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); - break; - } - } - } - finally - { - // finally statements - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Finally, request, _response); - _response?.Dispose(); - request?.Dispose(); - } - } - } - - /// - /// Validation method for method. Call this like the actual call, but you will get validation - /// events back. - /// - /// The ID of the target subscription. - /// The name of the resource group. The name is case insensitive. - /// The name of the machine. - /// an instance that will receive events. - /// - /// A that will be complete when handling of the response is completed. - /// - internal async global::System.Threading.Tasks.Task LicenseProfilesList_Validate(string subscriptionId, string resourceGroupName, string machineName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) - { - using( NoSynchronizationContext ) - { - await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); - await eventListener.AssertMinimumLength(nameof(subscriptionId),subscriptionId,1); - await eventListener.AssertNotNull(nameof(resourceGroupName),resourceGroupName); - await eventListener.AssertMinimumLength(nameof(resourceGroupName),resourceGroupName,1); - await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); - await eventListener.AssertNotNull(nameof(machineName),machineName); - await eventListener.AssertMinimumLength(nameof(machineName),machineName,1); - await eventListener.AssertMaximumLength(nameof(machineName),machineName,54); - await eventListener.AssertRegEx(nameof(machineName), machineName, @"^[a-zA-Z0-9-_\.]{1,54}$"); - } - } - - /// The operation to update a license profile. - /// The ID of the target subscription. - /// The name of the resource group. The name is case insensitive. - /// The name of the hybrid machine. - /// Parameters supplied to the Update license profile 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). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// Allows the caller to choose the depth of the serialization. See . - /// - /// A that will be complete when handling of the response is completed. - /// - public async global::System.Threading.Tasks.Task LicenseProfilesUpdate(string subscriptionId, string resourceGroupName, string machineName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileUpdate body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) - { - var licenseProfileName = @"default"; - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + global::System.Uri.EscapeDataString(subscriptionId) - + "/resourceGroups/" - + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.HybridCompute/machines/" - + global::System.Uri.EscapeDataString(machineName) - + "/licenseProfiles/" - + global::System.Uri.EscapeDataString(licenseProfileName) - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Patch, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // set body content - request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } - // make the call - await this.LicenseProfilesUpdate_Call (request, onOk,onDefault,eventListener,sender); - } - } - - /// The operation to update a license profile. - /// - /// Parameters supplied to the Update license profile 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). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// Allows the caller to choose the depth of the serialization. See . - /// - /// A that will be complete when handling of the response is completed. - /// - public async global::System.Threading.Tasks.Task LicenseProfilesUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileUpdate body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // verify that Identity format is an exact match for uri - - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/machines/(?[^/]+)/licenseProfiles/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); - if (!_match.Success) - { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/licenseProfiles/{licenseProfileName}'"); - } - - // replace URI parameters with values from identity - var subscriptionId = _match.Groups["subscriptionId"].Value; - var resourceGroupName = _match.Groups["resourceGroupName"].Value; - var machineName = _match.Groups["machineName"].Value; - var licenseProfileName = _match.Groups["licenseProfileName"].Value; - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + subscriptionId - + "/resourceGroups/" - + resourceGroupName - + "/providers/Microsoft.HybridCompute/machines/" - + machineName - + "/licenseProfiles/" - + licenseProfileName - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Patch, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // set body content - request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } - // make the call - await this.LicenseProfilesUpdate_Call (request, onOk,onDefault,eventListener,sender); - } - } - - /// The operation to update a license profile. - /// - /// Parameters supplied to the Update license profile operation. - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// Allows the caller to choose the depth of the serialization. See . - /// - /// A that will be complete when handling of the response is completed. - /// - public async global::System.Threading.Tasks.Task LicenseProfilesUpdateViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileUpdate body, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // verify that Identity format is an exact match for uri - - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/machines/(?[^/]+)/licenseProfiles/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); - if (!_match.Success) - { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/licenseProfiles/{licenseProfileName}'"); - } - - // replace URI parameters with values from identity - var subscriptionId = _match.Groups["subscriptionId"].Value; - var resourceGroupName = _match.Groups["resourceGroupName"].Value; - var machineName = _match.Groups["machineName"].Value; - var licenseProfileName = _match.Groups["licenseProfileName"].Value; - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + subscriptionId - + "/resourceGroups/" - + resourceGroupName - + "/providers/Microsoft.HybridCompute/machines/" - + machineName - + "/licenseProfiles/" - + licenseProfileName - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Patch, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } - // set body content - request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } - // make the call - return await this.LicenseProfilesUpdateWithResult_Call (request, eventListener,sender); - } - } - - /// The operation to update a license profile. - /// The ID of the target subscription. - /// The name of the resource group. The name is case insensitive. - /// The name of the hybrid machine. - /// Json string supplied to the LicenseProfilesUpdate 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). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 LicenseProfilesUpdateViaJsonString(string subscriptionId, string resourceGroupName, string machineName, 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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - var licenseProfileName = @"default"; - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + global::System.Uri.EscapeDataString(subscriptionId) - + "/resourceGroups/" - + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.HybridCompute/machines/" - + global::System.Uri.EscapeDataString(machineName) - + "/licenseProfiles/" - + global::System.Uri.EscapeDataString(licenseProfileName) - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Patch, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // set body content - request.Content = new global::System.Net.Http.StringContent(jsonString, global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } - // make the call - await this.LicenseProfilesUpdate_Call (request, onOk,onDefault,eventListener,sender); - } - } - - /// The operation to update a license profile. - /// The ID of the target subscription. - /// The name of the resource group. The name is case insensitive. - /// The name of the hybrid machine. - /// Json string supplied to the LicenseProfilesUpdate operation - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 LicenseProfilesUpdateViaJsonStringWithResult(string subscriptionId, string resourceGroupName, string machineName, global::System.String jsonString, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - var licenseProfileName = @"default"; - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + global::System.Uri.EscapeDataString(subscriptionId) - + "/resourceGroups/" - + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.HybridCompute/machines/" - + global::System.Uri.EscapeDataString(machineName) - + "/licenseProfiles/" - + global::System.Uri.EscapeDataString(licenseProfileName) - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Patch, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } - // set body content - request.Content = new global::System.Net.Http.StringContent(jsonString, global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } - // make the call - return await this.LicenseProfilesUpdateWithResult_Call (request, eventListener,sender); - } - } - - /// The operation to update a license profile. - /// The ID of the target subscription. - /// The name of the resource group. The name is case insensitive. - /// The name of the hybrid machine. - /// Parameters supplied to the Update license profile operation. - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// Allows the caller to choose the depth of the serialization. See . - /// - /// A that will be complete when handling of the response is completed. - /// - public async global::System.Threading.Tasks.Task LicenseProfilesUpdateWithResult(string subscriptionId, string resourceGroupName, string machineName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileUpdate body, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) - { - var licenseProfileName = @"default"; - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + global::System.Uri.EscapeDataString(subscriptionId) - + "/resourceGroups/" - + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.HybridCompute/machines/" - + global::System.Uri.EscapeDataString(machineName) - + "/licenseProfiles/" - + global::System.Uri.EscapeDataString(licenseProfileName) - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Patch, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } - // set body content - request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } - // make the call - return await this.LicenseProfilesUpdateWithResult_Call (request, eventListener,sender); - } - } - - /// Actual wire call for method. - /// the prepared HttpRequestMessage to send. - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// - /// A that will be complete when handling of the response is completed. - /// - internal async global::System.Threading.Tasks.Task LicenseProfilesUpdateWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - using( NoSynchronizationContext ) - { - global::System.Net.Http.HttpResponseMessage _response = null; - try - { - var sendTask = sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; } - _response = await sendTask; - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - // this operation supports x-ms-long-running-operation - var _originalUri = request.RequestUri.AbsoluteUri; - // declared final-state-via: default - var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); - var location = _response.GetFirstHeader(@"Location"); - var operationLocation = _response.GetFirstHeader(@"Operation-Location"); - while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) - { - // delay before making the next polling request - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.DelayBeforePolling, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - - // while we wait, let's grab the headers and get ready to poll. - if (!System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Azure-AsyncOperation"))) { - asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); - } - if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Location"))) { - location = _response.GetFirstHeader(@"Location"); - } - if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Operation-Location"))) { - operationLocation = _response.GetFirstHeader(@"Operation-Location"); - } - var _uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? global::System.String.IsNullOrEmpty(operationLocation) ? _originalUri : operationLocation : location : asyncOperation; - request = request.CloneAndDispose(new global::System.Uri(_uri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); - - // and let's look at the current response body and see if we have some information we can give back to the listener - var content = await _response.Content.ReadAsStringAsync(); - - // drop the old response - _response?.Dispose(); - - // make the polling call - _response = await sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - - // if we got back an OK, take a peek inside and see if it's done - if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) - { - var error = false; - try { - if( Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json) - { - var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); - if( state is null ) - { - // the body doesn't contain any information that has the state of the LRO - // we're going to just get out, and let the consumer have the result - break; - } - - switch( state?.ToString()?.ToLower() ) - { - case "failed": - error = true; - break; - case "succeeded": - case "canceled": - // we're done polling. - break; - - default: - // need to keep polling! - _response.StatusCode = global::System.Net.HttpStatusCode.Created; - continue; - } - } - } catch { - // if we run into a problem peeking into the result, - // we really don't want to do anything special. - } - if (error) { - throw new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.UndeclaredResponseException(_response); - } - } - - // check for terminal status code - if (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) - { - continue; - } - // we are done polling, do a request on final target? - if (!string.IsNullOrWhiteSpace(_originalUri)) - { - // create a new request with the final uri - request = request.CloneAndDispose(new global::System.Uri(_originalUri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); - - // drop the old response - _response?.Dispose(); - - // make the final call - _response = await sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - break; - } - } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _contentType = _response.Content.Headers.ContentType?.MediaType; - - switch ( _response.StatusCode ) - { - case global::System.Net.HttpStatusCode.OK: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.LicenseProfile.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); - return await _result; - } - default: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ErrorResponse.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); - // Error Response : default - var code = (await _result)?.Code; - var message = (await _result)?.Message; - if ((null == code || null == message)) - { - // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.RestException(_response, await _result); - throw ex; - } - else - { - throw new global::System.Exception($"[{code}] : {message}"); - } - } - } - } - finally - { - // finally statements - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Finally, request, _response); - _response?.Dispose(); - request?.Dispose(); - } - } - } - - /// 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 - /// elsewhere). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// - /// A that will be complete when handling of the response is completed. - /// - internal async global::System.Threading.Tasks.Task LicenseProfilesUpdate_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - using( NoSynchronizationContext ) - { - global::System.Net.Http.HttpResponseMessage _response = null; - try - { - var sendTask = sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sendTask; - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - // this operation supports x-ms-long-running-operation - var _originalUri = request.RequestUri.AbsoluteUri; - // declared final-state-via: default - var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); - var location = _response.GetFirstHeader(@"Location"); - var operationLocation = _response.GetFirstHeader(@"Operation-Location"); - while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) - { - // delay before making the next polling request - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.DelayBeforePolling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - - // while we wait, let's grab the headers and get ready to poll. - if (!System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Azure-AsyncOperation"))) { - asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); - } - if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Location"))) { - location = _response.GetFirstHeader(@"Location"); - } - if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Operation-Location"))) { - operationLocation = _response.GetFirstHeader(@"Operation-Location"); - } - var _uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? global::System.String.IsNullOrEmpty(operationLocation) ? _originalUri : operationLocation : location : asyncOperation; - request = request.CloneAndDispose(new global::System.Uri(_uri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); - - // and let's look at the current response body and see if we have some information we can give back to the listener - var content = await _response.Content.ReadAsStringAsync(); - - // drop the old response - _response?.Dispose(); - - // make the polling call - _response = await sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - - // if we got back an OK, take a peek inside and see if it's done - if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) - { - var error = false; - try { - if( Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json) - { - var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); - if( state is null ) - { - // the body doesn't contain any information that has the state of the LRO - // we're going to just get out, and let the consumer have the result - break; - } - - switch( state?.ToString()?.ToLower() ) - { - case "failed": - error = true; - break; - case "succeeded": - case "canceled": - // we're done polling. - break; - - default: - // need to keep polling! - _response.StatusCode = global::System.Net.HttpStatusCode.Created; - continue; - } - } - } catch { - // if we run into a problem peeking into the result, - // we really don't want to do anything special. - } - if (error) { - throw new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.UndeclaredResponseException(_response); - } - } - - // check for terminal status code - if (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) - { - continue; - } - // we are done polling, do a request on final target? - if (!string.IsNullOrWhiteSpace(_originalUri)) - { - // create a new request with the final uri - request = request.CloneAndDispose(new global::System.Uri(_originalUri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); - - // drop the old response - _response?.Dispose(); - - // make the final call - _response = await sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - break; - } - } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return; } - var _contentType = _response.Content.Headers.ContentType?.MediaType; - - switch ( _response.StatusCode ) - { - case global::System.Net.HttpStatusCode.OK: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.LicenseProfile.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); - break; - } - default: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ErrorResponse.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); - break; - } - } - } - finally - { - // finally statements - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Finally, request, _response); - _response?.Dispose(); - request?.Dispose(); - } - } - } - - /// - /// Validation method for method. Call this like the actual call, but you will get validation - /// events back. - /// - /// The ID of the target subscription. - /// The name of the resource group. The name is case insensitive. - /// The name of the hybrid machine. - /// Parameters supplied to the Update license profile operation. - /// an instance that will receive events. - /// - /// A that will be complete when handling of the response is completed. - /// - internal async global::System.Threading.Tasks.Task LicenseProfilesUpdate_Validate(string subscriptionId, string resourceGroupName, string machineName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileUpdate body, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) - { - using( NoSynchronizationContext ) - { - await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); - await eventListener.AssertMinimumLength(nameof(subscriptionId),subscriptionId,1); - await eventListener.AssertNotNull(nameof(resourceGroupName),resourceGroupName); - await eventListener.AssertMinimumLength(nameof(resourceGroupName),resourceGroupName,1); - await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); - await eventListener.AssertNotNull(nameof(machineName),machineName); - await eventListener.AssertRegEx(nameof(machineName), machineName, @"[a-zA-Z0-9-_\.]+"); - await eventListener.AssertNotNull(nameof(body), body); - await eventListener.AssertObjectIsValid(nameof(body), body); - } - } - - /// The operation to update a license. - /// The ID of the target subscription. - /// The name of the resource group. The name is case insensitive. - /// The name of the license. - /// Parameters supplied to the Create license 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). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// Allows the caller to choose the depth of the serialization. See . - /// - /// A that will be complete when handling of the response is completed. - /// - public async global::System.Threading.Tasks.Task LicensesCreateOrUpdate(string subscriptionId, string resourceGroupName, string licenseName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicense body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + global::System.Uri.EscapeDataString(subscriptionId) - + "/resourceGroups/" - + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.HybridCompute/licenses/" - + global::System.Uri.EscapeDataString(licenseName) - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Put, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // set body content - request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } - // make the call - await this.LicensesCreateOrUpdate_Call (request, onOk,onDefault,eventListener,sender); - } - } - - /// The operation to update a license. - /// - /// Parameters supplied to the Create license 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). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// Allows the caller to choose the depth of the serialization. See . - /// - /// A that will be complete when handling of the response is completed. - /// - public async global::System.Threading.Tasks.Task LicensesCreateOrUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicense body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // verify that Identity format is an exact match for uri - - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/licenses/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); - if (!_match.Success) - { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/licenses/{licenseName}'"); - } - - // replace URI parameters with values from identity - var subscriptionId = _match.Groups["subscriptionId"].Value; - var resourceGroupName = _match.Groups["resourceGroupName"].Value; - var licenseName = _match.Groups["licenseName"].Value; - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + subscriptionId - + "/resourceGroups/" - + resourceGroupName - + "/providers/Microsoft.HybridCompute/licenses/" - + licenseName - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Put, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // set body content - request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } - // make the call - await this.LicensesCreateOrUpdate_Call (request, onOk,onDefault,eventListener,sender); - } - } - - /// The operation to update a license. - /// - /// Parameters supplied to the Create license operation. - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// Allows the caller to choose the depth of the serialization. See . - /// - /// A that will be complete when handling of the response is completed. - /// - public async global::System.Threading.Tasks.Task LicensesCreateOrUpdateViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicense body, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // verify that Identity format is an exact match for uri - - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/licenses/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); - if (!_match.Success) - { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/licenses/{licenseName}'"); - } - - // replace URI parameters with values from identity - var subscriptionId = _match.Groups["subscriptionId"].Value; - var resourceGroupName = _match.Groups["resourceGroupName"].Value; - var licenseName = _match.Groups["licenseName"].Value; - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + subscriptionId - + "/resourceGroups/" - + resourceGroupName - + "/providers/Microsoft.HybridCompute/licenses/" - + licenseName - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Put, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } - // set body content - request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } - // make the call - return await this.LicensesCreateOrUpdateWithResult_Call (request, eventListener,sender); - } - } - - /// The operation to update a license. - /// The ID of the target subscription. - /// The name of the resource group. The name is case insensitive. - /// The name of the license. - /// Json string supplied to the LicensesCreateOrUpdate 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). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 LicensesCreateOrUpdateViaJsonString(string subscriptionId, string resourceGroupName, string licenseName, 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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + global::System.Uri.EscapeDataString(subscriptionId) - + "/resourceGroups/" - + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.HybridCompute/licenses/" - + global::System.Uri.EscapeDataString(licenseName) - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Put, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // set body content - request.Content = new global::System.Net.Http.StringContent(jsonString, global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } - // make the call - await this.LicensesCreateOrUpdate_Call (request, onOk,onDefault,eventListener,sender); - } - } - - /// The operation to update a license. - /// The ID of the target subscription. - /// The name of the resource group. The name is case insensitive. - /// The name of the license. - /// Json string supplied to the LicensesCreateOrUpdate operation - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 LicensesCreateOrUpdateViaJsonStringWithResult(string subscriptionId, string resourceGroupName, string licenseName, global::System.String jsonString, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + global::System.Uri.EscapeDataString(subscriptionId) - + "/resourceGroups/" - + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.HybridCompute/licenses/" - + global::System.Uri.EscapeDataString(licenseName) - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Put, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } - // set body content - request.Content = new global::System.Net.Http.StringContent(jsonString, global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } - // make the call - return await this.LicensesCreateOrUpdateWithResult_Call (request, eventListener,sender); - } - } - - /// The operation to update a license. - /// The ID of the target subscription. - /// The name of the resource group. The name is case insensitive. - /// The name of the license. - /// Parameters supplied to the Create license operation. - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// Allows the caller to choose the depth of the serialization. See . - /// - /// A that will be complete when handling of the response is completed. - /// - public async global::System.Threading.Tasks.Task LicensesCreateOrUpdateWithResult(string subscriptionId, string resourceGroupName, string licenseName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicense body, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + global::System.Uri.EscapeDataString(subscriptionId) - + "/resourceGroups/" - + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.HybridCompute/licenses/" - + global::System.Uri.EscapeDataString(licenseName) - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Put, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } - // set body content - request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } - // make the call - return await this.LicensesCreateOrUpdateWithResult_Call (request, eventListener,sender); - } - } - - /// Actual wire call for method. - /// the prepared HttpRequestMessage to send. - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// - /// A that will be complete when handling of the response is completed. - /// - internal async global::System.Threading.Tasks.Task LicensesCreateOrUpdateWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - using( NoSynchronizationContext ) - { - global::System.Net.Http.HttpResponseMessage _response = null; - try - { - var sendTask = sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; } - _response = await sendTask; - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - // this operation supports x-ms-long-running-operation - var _originalUri = request.RequestUri.AbsoluteUri; - // declared final-state-via: default - var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); - var location = _response.GetFirstHeader(@"Location"); - var operationLocation = _response.GetFirstHeader(@"Operation-Location"); - while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) - { - // delay before making the next polling request - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.DelayBeforePolling, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - - // while we wait, let's grab the headers and get ready to poll. - if (!System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Azure-AsyncOperation"))) { - asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); - } - if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Location"))) { - location = _response.GetFirstHeader(@"Location"); - } - if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Operation-Location"))) { - operationLocation = _response.GetFirstHeader(@"Operation-Location"); - } - var _uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? global::System.String.IsNullOrEmpty(operationLocation) ? _originalUri : operationLocation : location : asyncOperation; - request = request.CloneAndDispose(new global::System.Uri(_uri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); - - // and let's look at the current response body and see if we have some information we can give back to the listener - var content = await _response.Content.ReadAsStringAsync(); - - // drop the old response - _response?.Dispose(); - - // make the polling call - _response = await sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - - // if we got back an OK, take a peek inside and see if it's done - if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) - { - var error = false; - try { - if( Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json) - { - var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); - if( state is null ) - { - // the body doesn't contain any information that has the state of the LRO - // we're going to just get out, and let the consumer have the result - break; - } - - switch( state?.ToString()?.ToLower() ) - { - case "failed": - error = true; - break; - case "succeeded": - case "canceled": - // we're done polling. - break; - - default: - // need to keep polling! - _response.StatusCode = global::System.Net.HttpStatusCode.Created; - continue; - } - } - } catch { - // if we run into a problem peeking into the result, - // we really don't want to do anything special. - } - if (error) { - throw new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.UndeclaredResponseException(_response); - } - } - - // check for terminal status code - if (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) - { - continue; - } - // we are done polling, do a request on final target? - if (!string.IsNullOrWhiteSpace(_originalUri)) - { - // create a new request with the final uri - request = request.CloneAndDispose(new global::System.Uri(_originalUri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); - - // drop the old response - _response?.Dispose(); - - // make the final call - _response = await sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - break; - } - } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _contentType = _response.Content.Headers.ContentType?.MediaType; - - switch ( _response.StatusCode ) - { - case global::System.Net.HttpStatusCode.OK: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.License.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); - return await _result; - } - default: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ErrorResponse.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); - // Error Response : default - var code = (await _result)?.Code; - var message = (await _result)?.Message; - if ((null == code || null == message)) - { - // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.RestException(_response, await _result); - throw ex; - } - else - { - throw new global::System.Exception($"[{code}] : {message}"); - } - } - } - } - finally - { - // finally statements - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Finally, request, _response); - _response?.Dispose(); - request?.Dispose(); - } - } - } - - /// 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 - /// elsewhere). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// - /// A that will be complete when handling of the response is completed. - /// - internal async global::System.Threading.Tasks.Task LicensesCreateOrUpdate_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - using( NoSynchronizationContext ) - { - global::System.Net.Http.HttpResponseMessage _response = null; - try - { - var sendTask = sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sendTask; - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - // this operation supports x-ms-long-running-operation - var _originalUri = request.RequestUri.AbsoluteUri; - // declared final-state-via: default - var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); - var location = _response.GetFirstHeader(@"Location"); - var operationLocation = _response.GetFirstHeader(@"Operation-Location"); - while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) - { - // delay before making the next polling request - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.DelayBeforePolling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - - // while we wait, let's grab the headers and get ready to poll. - if (!System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Azure-AsyncOperation"))) { - asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); - } - if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Location"))) { - location = _response.GetFirstHeader(@"Location"); - } - if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Operation-Location"))) { - operationLocation = _response.GetFirstHeader(@"Operation-Location"); - } - var _uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? global::System.String.IsNullOrEmpty(operationLocation) ? _originalUri : operationLocation : location : asyncOperation; - request = request.CloneAndDispose(new global::System.Uri(_uri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); - - // and let's look at the current response body and see if we have some information we can give back to the listener - var content = await _response.Content.ReadAsStringAsync(); - - // drop the old response - _response?.Dispose(); - - // make the polling call - _response = await sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - - // if we got back an OK, take a peek inside and see if it's done - if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) - { - var error = false; - try { - if( Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json) - { - var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); - if( state is null ) - { - // the body doesn't contain any information that has the state of the LRO - // we're going to just get out, and let the consumer have the result - break; - } - - switch( state?.ToString()?.ToLower() ) - { - case "failed": - error = true; - break; - case "succeeded": - case "canceled": - // we're done polling. - break; - - default: - // need to keep polling! - _response.StatusCode = global::System.Net.HttpStatusCode.Created; - continue; - } - } - } catch { - // if we run into a problem peeking into the result, - // we really don't want to do anything special. - } - if (error) { - throw new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.UndeclaredResponseException(_response); - } - } - - // check for terminal status code - if (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) - { - continue; - } - // we are done polling, do a request on final target? - if (!string.IsNullOrWhiteSpace(_originalUri)) - { - // create a new request with the final uri - request = request.CloneAndDispose(new global::System.Uri(_originalUri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); - - // drop the old response - _response?.Dispose(); - - // make the final call - _response = await sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - break; - } - } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return; } - var _contentType = _response.Content.Headers.ContentType?.MediaType; - - switch ( _response.StatusCode ) - { - case global::System.Net.HttpStatusCode.OK: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.License.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); - break; - } - default: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ErrorResponse.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); - break; - } - } - } - finally - { - // finally statements - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Finally, request, _response); - _response?.Dispose(); - request?.Dispose(); - } - } - } - - /// - /// Validation method for method. Call this like the actual call, but you will get validation - /// events back. - /// - /// The ID of the target subscription. - /// The name of the resource group. The name is case insensitive. - /// The name of the license. - /// Parameters supplied to the Create license operation. - /// an instance that will receive events. - /// - /// A that will be complete when handling of the response is completed. - /// - internal async global::System.Threading.Tasks.Task LicensesCreateOrUpdate_Validate(string subscriptionId, string resourceGroupName, string licenseName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicense body, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) - { - using( NoSynchronizationContext ) - { - await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); - await eventListener.AssertMinimumLength(nameof(subscriptionId),subscriptionId,1); - await eventListener.AssertNotNull(nameof(resourceGroupName),resourceGroupName); - await eventListener.AssertMinimumLength(nameof(resourceGroupName),resourceGroupName,1); - await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); - await eventListener.AssertNotNull(nameof(licenseName),licenseName); - await eventListener.AssertRegEx(nameof(licenseName), licenseName, @"[a-zA-Z0-9-_\.]+"); - await eventListener.AssertNotNull(nameof(body), body); - await eventListener.AssertObjectIsValid(nameof(body), body); - } - } - - /// The operation to delete a license. - /// The ID of the target subscription. - /// The name of the resource group. The name is case insensitive. - /// The name of the license. - /// a delegate that is called when the remote service returns 200 (OK). - /// a delegate that is called when the remote service returns 204 (NoContent). - /// a delegate that is called when the remote service returns default (any response code not handled - /// elsewhere). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 LicensesDelete(string subscriptionId, string resourceGroupName, string licenseName, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + global::System.Uri.EscapeDataString(subscriptionId) - + "/resourceGroups/" - + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.HybridCompute/licenses/" - + global::System.Uri.EscapeDataString(licenseName) - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Delete, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // make the call - await this.LicensesDelete_Call (request, onOk,onNoContent,onDefault,eventListener,sender); - } - } - - /// The operation to delete a license. - /// - /// a delegate that is called when the remote service returns 200 (OK). - /// a delegate that is called when the remote service returns 204 (NoContent). - /// a delegate that is called when the remote service returns default (any response code not handled - /// elsewhere). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 LicensesDeleteViaIdentity(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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // verify that Identity format is an exact match for uri - - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/licenses/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); - if (!_match.Success) - { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/licenses/{licenseName}'"); - } - - // replace URI parameters with values from identity - var subscriptionId = _match.Groups["subscriptionId"].Value; - var resourceGroupName = _match.Groups["resourceGroupName"].Value; - var licenseName = _match.Groups["licenseName"].Value; - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + subscriptionId - + "/resourceGroups/" - + resourceGroupName - + "/providers/Microsoft.HybridCompute/licenses/" - + licenseName - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Delete, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // make the call - await this.LicensesDelete_Call (request, onOk,onNoContent,onDefault,eventListener,sender); - } - } - - /// 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). - /// a delegate that is called when the remote service returns default (any response code not handled - /// elsewhere). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// - /// A that will be complete when handling of the response is completed. - /// - internal async global::System.Threading.Tasks.Task LicensesDelete_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - using( NoSynchronizationContext ) - { - global::System.Net.Http.HttpResponseMessage _response = null; - try - { - var sendTask = sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sendTask; - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - // this operation supports x-ms-long-running-operation - var _originalUri = request.RequestUri.AbsoluteUri; - // declared final-state-via: default - var _finalUri = _response.GetFirstHeader(@"Location"); - var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); - var location = _response.GetFirstHeader(@"Location"); - var operationLocation = _response.GetFirstHeader(@"Operation-Location"); - while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) - { - // delay before making the next polling request - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.DelayBeforePolling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - - // while we wait, let's grab the headers and get ready to poll. - if (!System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Azure-AsyncOperation"))) { - asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); - } - if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Location"))) { - location = _response.GetFirstHeader(@"Location"); - } - if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Operation-Location"))) { - operationLocation = _response.GetFirstHeader(@"Operation-Location"); - } - var _uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? global::System.String.IsNullOrEmpty(operationLocation) ? _originalUri : operationLocation : location : asyncOperation; - request = request.CloneAndDispose(new global::System.Uri(_uri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); - - // and let's look at the current response body and see if we have some information we can give back to the listener - var content = await _response.Content.ReadAsStringAsync(); - - // drop the old response - _response?.Dispose(); - - // make the polling call - _response = await sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - - // if we got back an OK, take a peek inside and see if it's done - if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) - { - var error = false; - try { - if( Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json) - { - var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); - if( state is null ) - { - // the body doesn't contain any information that has the state of the LRO - // we're going to just get out, and let the consumer have the result - break; - } - - switch( state?.ToString()?.ToLower() ) - { - case "failed": - error = true; - break; - case "succeeded": - case "canceled": - // we're done polling. - break; - - default: - // need to keep polling! - _response.StatusCode = global::System.Net.HttpStatusCode.Created; - continue; - } - } - } catch { - // if we run into a problem peeking into the result, - // we really don't want to do anything special. - } - if (error) { - throw new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.UndeclaredResponseException(_response); - } - } - - // check for terminal status code - if (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) - { - continue; - } - // we are done polling, do a request on final target? - if (!string.IsNullOrWhiteSpace(_finalUri)) - { - // create a new request with the final uri - request = request.CloneAndDispose(new global::System.Uri(_finalUri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); - - // drop the old response - _response?.Dispose(); - - // make the final call - _response = await sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - break; - } - } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return; } - var _contentType = _response.Content.Headers.ContentType?.MediaType; - - switch ( _response.StatusCode ) - { - case global::System.Net.HttpStatusCode.OK: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response); - break; - } - case global::System.Net.HttpStatusCode.NoContent: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onNoContent(_response); - break; - } - default: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ErrorResponse.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); - break; - } - } - } - finally - { - // finally statements - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Finally, request, _response); - _response?.Dispose(); - request?.Dispose(); - } - } - } - - /// - /// Validation method for method. Call this like the actual call, but you will get validation - /// events back. - /// - /// The ID of the target subscription. - /// The name of the resource group. The name is case insensitive. - /// The name of the license. - /// an instance that will receive events. - /// - /// A that will be complete when handling of the response is completed. - /// - internal async global::System.Threading.Tasks.Task LicensesDelete_Validate(string subscriptionId, string resourceGroupName, string licenseName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) - { - using( NoSynchronizationContext ) - { - await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); - await eventListener.AssertMinimumLength(nameof(subscriptionId),subscriptionId,1); - await eventListener.AssertNotNull(nameof(resourceGroupName),resourceGroupName); - await eventListener.AssertMinimumLength(nameof(resourceGroupName),resourceGroupName,1); - await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); - await eventListener.AssertNotNull(nameof(licenseName),licenseName); - await eventListener.AssertRegEx(nameof(licenseName), licenseName, @"[a-zA-Z0-9-_\.]+"); - } - } - - /// Retrieves information about the view of a license. - /// The ID of the target subscription. - /// The name of the resource group. The name is case insensitive. - /// The name of the license. - /// 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). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 LicensesGet(string subscriptionId, string resourceGroupName, string licenseName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + global::System.Uri.EscapeDataString(subscriptionId) - + "/resourceGroups/" - + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.HybridCompute/licenses/" - + global::System.Uri.EscapeDataString(licenseName) - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // make the call - await this.LicensesGet_Call (request, onOk,onDefault,eventListener,sender); - } - } - - /// Retrieves information about the view of a license. - /// - /// 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). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 LicensesGetViaIdentity(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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // verify that Identity format is an exact match for uri - - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/licenses/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); - if (!_match.Success) - { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/licenses/{licenseName}'"); - } - - // replace URI parameters with values from identity - var subscriptionId = _match.Groups["subscriptionId"].Value; - var resourceGroupName = _match.Groups["resourceGroupName"].Value; - var licenseName = _match.Groups["licenseName"].Value; - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + subscriptionId - + "/resourceGroups/" - + resourceGroupName - + "/providers/Microsoft.HybridCompute/licenses/" - + licenseName - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // make the call - await this.LicensesGet_Call (request, onOk,onDefault,eventListener,sender); - } - } - - /// Retrieves information about the view of a license. - /// - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 LicensesGetViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // verify that Identity format is an exact match for uri - - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/licenses/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); - if (!_match.Success) - { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/licenses/{licenseName}'"); - } - - // replace URI parameters with values from identity - var subscriptionId = _match.Groups["subscriptionId"].Value; - var resourceGroupName = _match.Groups["resourceGroupName"].Value; - var licenseName = _match.Groups["licenseName"].Value; - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + subscriptionId - + "/resourceGroups/" - + resourceGroupName - + "/providers/Microsoft.HybridCompute/licenses/" - + licenseName - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } - // make the call - return await this.LicensesGetWithResult_Call (request, eventListener,sender); - } - } - - /// Retrieves information about the view of a license. - /// The ID of the target subscription. - /// The name of the resource group. The name is case insensitive. - /// The name of the license. - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 LicensesGetWithResult(string subscriptionId, string resourceGroupName, string licenseName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + global::System.Uri.EscapeDataString(subscriptionId) - + "/resourceGroups/" - + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.HybridCompute/licenses/" - + global::System.Uri.EscapeDataString(licenseName) - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } - // make the call - return await this.LicensesGetWithResult_Call (request, eventListener,sender); - } - } - - /// Actual wire call for method. - /// the prepared HttpRequestMessage to send. - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// - /// A that will be complete when handling of the response is completed. - /// - internal async global::System.Threading.Tasks.Task LicensesGetWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - using( NoSynchronizationContext ) - { - global::System.Net.Http.HttpResponseMessage _response = null; - try - { - var sendTask = sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; } - _response = await sendTask; - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _contentType = _response.Content.Headers.ContentType?.MediaType; - - switch ( _response.StatusCode ) - { - case global::System.Net.HttpStatusCode.OK: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.License.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); - return await _result; - } - default: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ErrorResponse.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); - // Error Response : default - var code = (await _result)?.Code; - var message = (await _result)?.Message; - if ((null == code || null == message)) - { - // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.RestException(_response, await _result); - throw ex; - } - else - { - throw new global::System.Exception($"[{code}] : {message}"); - } - } - } - } - finally - { - // finally statements - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Finally, request, _response); - _response?.Dispose(); - request?.Dispose(); - } - } - } - - /// 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 - /// elsewhere). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// - /// A that will be complete when handling of the response is completed. - /// - internal async global::System.Threading.Tasks.Task LicensesGet_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - using( NoSynchronizationContext ) - { - global::System.Net.Http.HttpResponseMessage _response = null; - try - { - var sendTask = sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sendTask; - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return; } - var _contentType = _response.Content.Headers.ContentType?.MediaType; - - switch ( _response.StatusCode ) - { - case global::System.Net.HttpStatusCode.OK: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.License.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); - break; - } - default: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ErrorResponse.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); - break; - } - } - } - finally - { - // finally statements - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Finally, request, _response); - _response?.Dispose(); - request?.Dispose(); - } - } - } - - /// - /// Validation method for method. Call this like the actual call, but you will get validation events - /// back. - /// - /// The ID of the target subscription. - /// The name of the resource group. The name is case insensitive. - /// The name of the license. - /// an instance that will receive events. - /// - /// A that will be complete when handling of the response is completed. - /// - internal async global::System.Threading.Tasks.Task LicensesGet_Validate(string subscriptionId, string resourceGroupName, string licenseName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) - { - using( NoSynchronizationContext ) - { - await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); - await eventListener.AssertMinimumLength(nameof(subscriptionId),subscriptionId,1); - await eventListener.AssertNotNull(nameof(resourceGroupName),resourceGroupName); - await eventListener.AssertMinimumLength(nameof(resourceGroupName),resourceGroupName,1); - await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); - await eventListener.AssertNotNull(nameof(licenseName),licenseName); - await eventListener.AssertRegEx(nameof(licenseName), licenseName, @"[a-zA-Z0-9-_\.]+"); - } - } - - /// The operation to get all licenses of a non-Azure machine - /// The ID of the target subscription. - /// The name of the resource group. The name is case insensitive. - /// 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). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 LicensesListByResourceGroup(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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + global::System.Uri.EscapeDataString(subscriptionId) - + "/resourceGroups/" - + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.HybridCompute/licenses" - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // make the call - await this.LicensesListByResourceGroup_Call (request, onOk,onDefault,eventListener,sender); - } - } - - /// The operation to get all licenses of a non-Azure machine - /// - /// 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). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 LicensesListByResourceGroupViaIdentity(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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // verify that Identity format is an exact match for uri - - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/licenses$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); - if (!_match.Success) - { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/licenses'"); - } - - // replace URI parameters with values from identity - var subscriptionId = _match.Groups["subscriptionId"].Value; - var resourceGroupName = _match.Groups["resourceGroupName"].Value; - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + subscriptionId - + "/resourceGroups/" - + resourceGroupName - + "/providers/Microsoft.HybridCompute/licenses" - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // make the call - await this.LicensesListByResourceGroup_Call (request, onOk,onDefault,eventListener,sender); - } - } - - /// The operation to get all licenses of a non-Azure machine - /// - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 LicensesListByResourceGroupViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // verify that Identity format is an exact match for uri - - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/licenses$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); - if (!_match.Success) - { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/licenses'"); - } - - // replace URI parameters with values from identity - var subscriptionId = _match.Groups["subscriptionId"].Value; - var resourceGroupName = _match.Groups["resourceGroupName"].Value; - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + subscriptionId - + "/resourceGroups/" - + resourceGroupName - + "/providers/Microsoft.HybridCompute/licenses" - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } - // make the call - return await this.LicensesListByResourceGroupWithResult_Call (request, eventListener,sender); - } - } - - /// The operation to get all licenses of a non-Azure machine - /// The ID of the target subscription. - /// The name of the resource group. The name is case insensitive. - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 LicensesListByResourceGroupWithResult(string subscriptionId, string resourceGroupName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + global::System.Uri.EscapeDataString(subscriptionId) - + "/resourceGroups/" - + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.HybridCompute/licenses" - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } - // make the call - return await this.LicensesListByResourceGroupWithResult_Call (request, eventListener,sender); - } - } - - /// - /// Actual wire call for method. - /// - /// the prepared HttpRequestMessage to send. - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// - /// A that will be complete when handling of the response is completed. - /// - internal async global::System.Threading.Tasks.Task LicensesListByResourceGroupWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - using( NoSynchronizationContext ) - { - global::System.Net.Http.HttpResponseMessage _response = null; - try - { - var sendTask = sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; } - _response = await sendTask; - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _contentType = _response.Content.Headers.ContentType?.MediaType; - - switch ( _response.StatusCode ) - { - case global::System.Net.HttpStatusCode.OK: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.LicensesListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); - return await _result; - } - default: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ErrorResponse.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); - // Error Response : default - var code = (await _result)?.Code; - var message = (await _result)?.Message; - if ((null == code || null == message)) - { - // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.RestException(_response, await _result); - throw ex; - } - else - { - throw new global::System.Exception($"[{code}] : {message}"); - } - } - } - } - finally - { - // finally statements - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Finally, request, _response); - _response?.Dispose(); - request?.Dispose(); - } - } - } - - /// 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 - /// elsewhere). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// - /// A that will be complete when handling of the response is completed. - /// - internal async global::System.Threading.Tasks.Task LicensesListByResourceGroup_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - using( NoSynchronizationContext ) - { - global::System.Net.Http.HttpResponseMessage _response = null; - try - { - var sendTask = sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sendTask; - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return; } - var _contentType = _response.Content.Headers.ContentType?.MediaType; - - switch ( _response.StatusCode ) - { - case global::System.Net.HttpStatusCode.OK: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.LicensesListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); - break; - } - default: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ErrorResponse.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); - break; - } - } - } - finally - { - // finally statements - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Finally, request, _response); - _response?.Dispose(); - request?.Dispose(); - } - } - } - - /// - /// Validation method for method. Call this like the actual call, but you will - /// get validation events back. - /// - /// The ID of the target subscription. - /// The name of the resource group. The name is case insensitive. - /// an instance that will receive events. - /// - /// A that will be complete when handling of the response is completed. - /// - internal async global::System.Threading.Tasks.Task LicensesListByResourceGroup_Validate(string subscriptionId, string resourceGroupName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) - { - using( NoSynchronizationContext ) - { - await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); - await eventListener.AssertMinimumLength(nameof(subscriptionId),subscriptionId,1); - await eventListener.AssertNotNull(nameof(resourceGroupName),resourceGroupName); - await eventListener.AssertMinimumLength(nameof(resourceGroupName),resourceGroupName,1); - await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); - } - } - - /// The operation to get all licenses of a non-Azure machine - /// The ID of the target subscription. - /// 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). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 LicensesListBySubscription(string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + global::System.Uri.EscapeDataString(subscriptionId) - + "/providers/Microsoft.HybridCompute/licenses" - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // make the call - await this.LicensesListBySubscription_Call (request, onOk,onDefault,eventListener,sender); - } - } - - /// The operation to get all licenses of a non-Azure machine - /// - /// 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). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 LicensesListBySubscriptionViaIdentity(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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // verify that Identity format is an exact match for uri - - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/providers/Microsoft.HybridCompute/licenses$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); - if (!_match.Success) - { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/licenses'"); - } - - // replace URI parameters with values from identity - var subscriptionId = _match.Groups["subscriptionId"].Value; - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + subscriptionId - + "/providers/Microsoft.HybridCompute/licenses" - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // make the call - await this.LicensesListBySubscription_Call (request, onOk,onDefault,eventListener,sender); - } - } - - /// The operation to get all licenses of a non-Azure machine - /// - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 LicensesListBySubscriptionViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // verify that Identity format is an exact match for uri - - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/providers/Microsoft.HybridCompute/licenses$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); - if (!_match.Success) - { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/licenses'"); - } - - // replace URI parameters with values from identity - var subscriptionId = _match.Groups["subscriptionId"].Value; - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + subscriptionId - + "/providers/Microsoft.HybridCompute/licenses" - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } - // make the call - return await this.LicensesListBySubscriptionWithResult_Call (request, eventListener,sender); - } - } - - /// The operation to get all licenses of a non-Azure machine - /// The ID of the target subscription. - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 LicensesListBySubscriptionWithResult(string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + global::System.Uri.EscapeDataString(subscriptionId) - + "/providers/Microsoft.HybridCompute/licenses" - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } - // make the call - return await this.LicensesListBySubscriptionWithResult_Call (request, eventListener,sender); - } - } - - /// - /// Actual wire call for method. - /// - /// the prepared HttpRequestMessage to send. - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// - /// A that will be complete when handling of the response is completed. - /// - internal async global::System.Threading.Tasks.Task LicensesListBySubscriptionWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - using( NoSynchronizationContext ) - { - global::System.Net.Http.HttpResponseMessage _response = null; - try - { - var sendTask = sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; } - _response = await sendTask; - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _contentType = _response.Content.Headers.ContentType?.MediaType; - - switch ( _response.StatusCode ) - { - case global::System.Net.HttpStatusCode.OK: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.LicensesListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); - return await _result; - } - default: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ErrorResponse.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); - // Error Response : default - var code = (await _result)?.Code; - var message = (await _result)?.Message; - if ((null == code || null == message)) - { - // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.RestException(_response, await _result); - throw ex; - } - else - { - throw new global::System.Exception($"[{code}] : {message}"); - } - } - } - } - finally - { - // finally statements - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Finally, request, _response); - _response?.Dispose(); - request?.Dispose(); - } - } - } - - /// 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 - /// elsewhere). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// - /// A that will be complete when handling of the response is completed. - /// - internal async global::System.Threading.Tasks.Task LicensesListBySubscription_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - using( NoSynchronizationContext ) - { - global::System.Net.Http.HttpResponseMessage _response = null; - try - { - var sendTask = sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sendTask; - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return; } - var _contentType = _response.Content.Headers.ContentType?.MediaType; - - switch ( _response.StatusCode ) - { - case global::System.Net.HttpStatusCode.OK: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.LicensesListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); - break; - } - default: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ErrorResponse.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); - break; - } - } - } - finally - { - // finally statements - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Finally, request, _response); - _response?.Dispose(); - request?.Dispose(); - } - } - } - - /// - /// Validation method for method. Call this like the actual call, but you will get - /// validation events back. - /// - /// The ID of the target subscription. - /// an instance that will receive events. - /// - /// A that will be complete when handling of the response is completed. - /// - internal async global::System.Threading.Tasks.Task LicensesListBySubscription_Validate(string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) - { - using( NoSynchronizationContext ) - { - await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); - await eventListener.AssertMinimumLength(nameof(subscriptionId),subscriptionId,1); - } - } - - /// The operation to update a license. - /// The ID of the target subscription. - /// The name of the resource group. The name is case insensitive. - /// The name of the license. - /// Parameters supplied to the Update license 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). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// Allows the caller to choose the depth of the serialization. See . - /// - /// A that will be complete when handling of the response is completed. - /// - public async global::System.Threading.Tasks.Task LicensesUpdate(string subscriptionId, string resourceGroupName, string licenseName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseUpdate body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + global::System.Uri.EscapeDataString(subscriptionId) - + "/resourceGroups/" - + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.HybridCompute/licenses/" - + global::System.Uri.EscapeDataString(licenseName) - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Patch, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // set body content - request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } - // make the call - await this.LicensesUpdate_Call (request, onOk,onDefault,eventListener,sender); - } - } - - /// The operation to update a license. - /// - /// Parameters supplied to the Update license 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). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// Allows the caller to choose the depth of the serialization. See . - /// - /// A that will be complete when handling of the response is completed. - /// - public async global::System.Threading.Tasks.Task LicensesUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseUpdate body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // verify that Identity format is an exact match for uri - - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/licenses/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); - if (!_match.Success) - { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/licenses/{licenseName}'"); - } - - // replace URI parameters with values from identity - var subscriptionId = _match.Groups["subscriptionId"].Value; - var resourceGroupName = _match.Groups["resourceGroupName"].Value; - var licenseName = _match.Groups["licenseName"].Value; - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + subscriptionId - + "/resourceGroups/" - + resourceGroupName - + "/providers/Microsoft.HybridCompute/licenses/" - + licenseName - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Patch, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // set body content - request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } - // make the call - await this.LicensesUpdate_Call (request, onOk,onDefault,eventListener,sender); - } - } - - /// The operation to update a license. - /// - /// Parameters supplied to the Update license operation. - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// Allows the caller to choose the depth of the serialization. See . - /// - /// A that will be complete when handling of the response is completed. - /// - public async global::System.Threading.Tasks.Task LicensesUpdateViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseUpdate body, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // verify that Identity format is an exact match for uri - - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/licenses/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); - if (!_match.Success) - { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/licenses/{licenseName}'"); - } - - // replace URI parameters with values from identity - var subscriptionId = _match.Groups["subscriptionId"].Value; - var resourceGroupName = _match.Groups["resourceGroupName"].Value; - var licenseName = _match.Groups["licenseName"].Value; - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + subscriptionId - + "/resourceGroups/" - + resourceGroupName - + "/providers/Microsoft.HybridCompute/licenses/" - + licenseName - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Patch, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } - // set body content - request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } - // make the call - return await this.LicensesUpdateWithResult_Call (request, eventListener,sender); - } - } - - /// The operation to update a license. - /// The ID of the target subscription. - /// The name of the resource group. The name is case insensitive. - /// The name of the license. - /// Json string supplied to the LicensesUpdate 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). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 LicensesUpdateViaJsonString(string subscriptionId, string resourceGroupName, string licenseName, 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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + global::System.Uri.EscapeDataString(subscriptionId) - + "/resourceGroups/" - + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.HybridCompute/licenses/" - + global::System.Uri.EscapeDataString(licenseName) - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Patch, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // set body content - request.Content = new global::System.Net.Http.StringContent(jsonString, global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } - // make the call - await this.LicensesUpdate_Call (request, onOk,onDefault,eventListener,sender); - } - } - - /// The operation to update a license. - /// The ID of the target subscription. - /// The name of the resource group. The name is case insensitive. - /// The name of the license. - /// Json string supplied to the LicensesUpdate operation - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 LicensesUpdateViaJsonStringWithResult(string subscriptionId, string resourceGroupName, string licenseName, global::System.String jsonString, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + global::System.Uri.EscapeDataString(subscriptionId) - + "/resourceGroups/" - + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.HybridCompute/licenses/" - + global::System.Uri.EscapeDataString(licenseName) - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Patch, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } - // set body content - request.Content = new global::System.Net.Http.StringContent(jsonString, global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } - // make the call - return await this.LicensesUpdateWithResult_Call (request, eventListener,sender); - } - } - - /// The operation to update a license. - /// The ID of the target subscription. - /// The name of the resource group. The name is case insensitive. - /// The name of the license. - /// Parameters supplied to the Update license operation. - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// Allows the caller to choose the depth of the serialization. See . - /// - /// A that will be complete when handling of the response is completed. - /// - public async global::System.Threading.Tasks.Task LicensesUpdateWithResult(string subscriptionId, string resourceGroupName, string licenseName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseUpdate body, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + global::System.Uri.EscapeDataString(subscriptionId) - + "/resourceGroups/" - + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.HybridCompute/licenses/" - + global::System.Uri.EscapeDataString(licenseName) - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Patch, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } - // set body content - request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } - // make the call - return await this.LicensesUpdateWithResult_Call (request, eventListener,sender); - } - } - - /// Actual wire call for method. - /// the prepared HttpRequestMessage to send. - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// - /// A that will be complete when handling of the response is completed. - /// - internal async global::System.Threading.Tasks.Task LicensesUpdateWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - using( NoSynchronizationContext ) - { - global::System.Net.Http.HttpResponseMessage _response = null; - try - { - var sendTask = sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; } - _response = await sendTask; - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - // this operation supports x-ms-long-running-operation - var _originalUri = request.RequestUri.AbsoluteUri; - // declared final-state-via: default - var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); - var location = _response.GetFirstHeader(@"Location"); - var operationLocation = _response.GetFirstHeader(@"Operation-Location"); - while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) - { - // delay before making the next polling request - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.DelayBeforePolling, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - - // while we wait, let's grab the headers and get ready to poll. - if (!System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Azure-AsyncOperation"))) { - asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); - } - if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Location"))) { - location = _response.GetFirstHeader(@"Location"); - } - if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Operation-Location"))) { - operationLocation = _response.GetFirstHeader(@"Operation-Location"); - } - var _uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? global::System.String.IsNullOrEmpty(operationLocation) ? _originalUri : operationLocation : location : asyncOperation; - request = request.CloneAndDispose(new global::System.Uri(_uri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); - - // and let's look at the current response body and see if we have some information we can give back to the listener - var content = await _response.Content.ReadAsStringAsync(); - - // drop the old response - _response?.Dispose(); - - // make the polling call - _response = await sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - - // if we got back an OK, take a peek inside and see if it's done - if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) - { - var error = false; - try { - if( Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json) - { - var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); - if( state is null ) - { - // the body doesn't contain any information that has the state of the LRO - // we're going to just get out, and let the consumer have the result - break; - } - - switch( state?.ToString()?.ToLower() ) - { - case "failed": - error = true; - break; - case "succeeded": - case "canceled": - // we're done polling. - break; - - default: - // need to keep polling! - _response.StatusCode = global::System.Net.HttpStatusCode.Created; - continue; - } - } - } catch { - // if we run into a problem peeking into the result, - // we really don't want to do anything special. - } - if (error) { - throw new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.UndeclaredResponseException(_response); - } - } - - // check for terminal status code - if (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) - { - continue; - } - // we are done polling, do a request on final target? - if (!string.IsNullOrWhiteSpace(_originalUri)) - { - // create a new request with the final uri - request = request.CloneAndDispose(new global::System.Uri(_originalUri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); - - // drop the old response - _response?.Dispose(); - - // make the final call - _response = await sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - break; - } - } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _contentType = _response.Content.Headers.ContentType?.MediaType; - - switch ( _response.StatusCode ) - { - case global::System.Net.HttpStatusCode.OK: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.License.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); - return await _result; - } - default: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ErrorResponse.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); - // Error Response : default - var code = (await _result)?.Code; - var message = (await _result)?.Message; - if ((null == code || null == message)) - { - // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.RestException(_response, await _result); - throw ex; - } - else - { - throw new global::System.Exception($"[{code}] : {message}"); - } - } - } - } - finally - { - // finally statements - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Finally, request, _response); - _response?.Dispose(); - request?.Dispose(); - } - } - } - - /// 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 - /// elsewhere). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// - /// A that will be complete when handling of the response is completed. - /// - internal async global::System.Threading.Tasks.Task LicensesUpdate_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - using( NoSynchronizationContext ) - { - global::System.Net.Http.HttpResponseMessage _response = null; - try - { - var sendTask = sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sendTask; - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - // this operation supports x-ms-long-running-operation - var _originalUri = request.RequestUri.AbsoluteUri; - // declared final-state-via: default - var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); - var location = _response.GetFirstHeader(@"Location"); - var operationLocation = _response.GetFirstHeader(@"Operation-Location"); - while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) - { - // delay before making the next polling request - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.DelayBeforePolling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - - // while we wait, let's grab the headers and get ready to poll. - if (!System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Azure-AsyncOperation"))) { - asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); - } - if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Location"))) { - location = _response.GetFirstHeader(@"Location"); - } - if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Operation-Location"))) { - operationLocation = _response.GetFirstHeader(@"Operation-Location"); - } - var _uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? global::System.String.IsNullOrEmpty(operationLocation) ? _originalUri : operationLocation : location : asyncOperation; - request = request.CloneAndDispose(new global::System.Uri(_uri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); - - // and let's look at the current response body and see if we have some information we can give back to the listener - var content = await _response.Content.ReadAsStringAsync(); - - // drop the old response - _response?.Dispose(); - - // make the polling call - _response = await sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - - // if we got back an OK, take a peek inside and see if it's done - if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) - { - var error = false; - try { - if( Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json) - { - var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); - if( state is null ) - { - // the body doesn't contain any information that has the state of the LRO - // we're going to just get out, and let the consumer have the result - break; - } - - switch( state?.ToString()?.ToLower() ) - { - case "failed": - error = true; - break; - case "succeeded": - case "canceled": - // we're done polling. - break; - - default: - // need to keep polling! - _response.StatusCode = global::System.Net.HttpStatusCode.Created; - continue; - } - } - } catch { - // if we run into a problem peeking into the result, - // we really don't want to do anything special. - } - if (error) { - throw new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.UndeclaredResponseException(_response); - } - } - - // check for terminal status code - if (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) - { - continue; - } - // we are done polling, do a request on final target? - if (!string.IsNullOrWhiteSpace(_originalUri)) - { - // create a new request with the final uri - request = request.CloneAndDispose(new global::System.Uri(_originalUri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); - - // drop the old response - _response?.Dispose(); - - // make the final call - _response = await sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - break; - } - } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return; } - var _contentType = _response.Content.Headers.ContentType?.MediaType; - - switch ( _response.StatusCode ) - { - case global::System.Net.HttpStatusCode.OK: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.License.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); - break; - } - default: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ErrorResponse.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); - break; - } - } - } - finally - { - // finally statements - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Finally, request, _response); - _response?.Dispose(); - request?.Dispose(); - } - } - } - - /// - /// Validation method for method. Call this like the actual call, but you will get validation - /// events back. - /// - /// The ID of the target subscription. - /// The name of the resource group. The name is case insensitive. - /// The name of the license. - /// Parameters supplied to the Update license operation. - /// an instance that will receive events. - /// - /// A that will be complete when handling of the response is completed. - /// - internal async global::System.Threading.Tasks.Task LicensesUpdate_Validate(string subscriptionId, string resourceGroupName, string licenseName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseUpdate body, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) - { - using( NoSynchronizationContext ) - { - await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); - await eventListener.AssertMinimumLength(nameof(subscriptionId),subscriptionId,1); - await eventListener.AssertNotNull(nameof(resourceGroupName),resourceGroupName); - await eventListener.AssertMinimumLength(nameof(resourceGroupName),resourceGroupName,1); - await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); - await eventListener.AssertNotNull(nameof(licenseName),licenseName); - await eventListener.AssertRegEx(nameof(licenseName), licenseName, @"[a-zA-Z0-9-_\.]+"); - await eventListener.AssertNotNull(nameof(body), body); - await eventListener.AssertObjectIsValid(nameof(body), body); - } - } - - /// The operation to validate a license. - /// The ID of the target subscription. - /// Parameters supplied to the license validation 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). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// Allows the caller to choose the depth of the serialization. See . - /// - /// A that will be complete when handling of the response is completed. - /// - public async global::System.Threading.Tasks.Task LicensesValidateLicense(string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicense body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + global::System.Uri.EscapeDataString(subscriptionId) - + "/providers/Microsoft.HybridCompute/validateLicense" - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Post, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // set body content - request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } - // make the call - await this.LicensesValidateLicense_Call (request, onOk,onDefault,eventListener,sender); - } - } - - /// The operation to validate a license. - /// - /// Parameters supplied to the license validation 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). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// Allows the caller to choose the depth of the serialization. See . - /// - /// A that will be complete when handling of the response is completed. - /// - public async global::System.Threading.Tasks.Task LicensesValidateLicenseViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicense body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // verify that Identity format is an exact match for uri - - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/providers/Microsoft.HybridCompute$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); - if (!_match.Success) - { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute'"); - } - - // replace URI parameters with values from identity - var subscriptionId = _match.Groups["subscriptionId"].Value; - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + subscriptionId - + "/providers/Microsoft.HybridCompute/validateLicense" - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Post, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // set body content - request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } - // make the call - await this.LicensesValidateLicense_Call (request, onOk,onDefault,eventListener,sender); - } - } - - /// The operation to validate a license. - /// - /// Parameters supplied to the license validation operation. - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// Allows the caller to choose the depth of the serialization. See . - /// - /// A that will be complete when handling of the response is completed. - /// - public async global::System.Threading.Tasks.Task LicensesValidateLicenseViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicense body, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // verify that Identity format is an exact match for uri - - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/providers/Microsoft.HybridCompute$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); - if (!_match.Success) - { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute'"); - } - - // replace URI parameters with values from identity - var subscriptionId = _match.Groups["subscriptionId"].Value; - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + subscriptionId - + "/providers/Microsoft.HybridCompute/validateLicense" - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Post, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } - // set body content - request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } - // make the call - return await this.LicensesValidateLicenseWithResult_Call (request, eventListener,sender); - } - } - - /// The operation to validate a license. - /// The ID of the target subscription. - /// Json string supplied to the LicensesValidateLicense 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). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 LicensesValidateLicenseViaJsonString(string subscriptionId, 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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + global::System.Uri.EscapeDataString(subscriptionId) - + "/providers/Microsoft.HybridCompute/validateLicense" - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Post, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // set body content - request.Content = new global::System.Net.Http.StringContent(jsonString, global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } - // make the call - await this.LicensesValidateLicense_Call (request, onOk,onDefault,eventListener,sender); - } - } - - /// The operation to validate a license. - /// The ID of the target subscription. - /// Json string supplied to the LicensesValidateLicense operation - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 LicensesValidateLicenseViaJsonStringWithResult(string subscriptionId, global::System.String jsonString, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + global::System.Uri.EscapeDataString(subscriptionId) - + "/providers/Microsoft.HybridCompute/validateLicense" - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Post, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } - // set body content - request.Content = new global::System.Net.Http.StringContent(jsonString, global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } - // make the call - return await this.LicensesValidateLicenseWithResult_Call (request, eventListener,sender); - } - } - - /// The operation to validate a license. - /// The ID of the target subscription. - /// Parameters supplied to the license validation operation. - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// Allows the caller to choose the depth of the serialization. See . - /// - /// A that will be complete when handling of the response is completed. - /// - public async global::System.Threading.Tasks.Task LicensesValidateLicenseWithResult(string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicense body, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + global::System.Uri.EscapeDataString(subscriptionId) - + "/providers/Microsoft.HybridCompute/validateLicense" - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Post, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } - // set body content - request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } - // make the call - return await this.LicensesValidateLicenseWithResult_Call (request, eventListener,sender); - } - } - - /// Actual wire call for method. - /// the prepared HttpRequestMessage to send. - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// - /// A that will be complete when handling of the response is completed. - /// - internal async global::System.Threading.Tasks.Task LicensesValidateLicenseWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - using( NoSynchronizationContext ) - { - global::System.Net.Http.HttpResponseMessage _response = null; - try - { - var sendTask = sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; } _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } // this operation supports x-ms-long-running-operation var _originalUri = request.RequestUri.AbsoluteUri; // declared final-state-via: default - var _finalUri = _response.GetFirstHeader(@"Location"); var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); var location = _response.GetFirstHeader(@"Location"); var operationLocation = _response.GetFirstHeader(@"Operation-Location"); @@ -9380,10 +1134,10 @@ public partial class ConnectedMachine continue; } // we are done polling, do a request on final target? - if (!string.IsNullOrWhiteSpace(_finalUri)) + if (!string.IsNullOrWhiteSpace(_originalUri)) { // create a new request with the final uri - request = request.CloneAndDispose(new global::System.Uri(_finalUri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); + request = request.CloneAndDispose(new global::System.Uri(_originalUri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); // drop the old response _response?.Dispose(); @@ -9402,7 +1156,7 @@ public partial class ConnectedMachine case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.License.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); + var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.LicenseProfile.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); return await _result; } default: @@ -9427,16 +1181,294 @@ public partial class ConnectedMachine } finally { - // finally statements - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Finally, request, _response); - _response?.Dispose(); - request?.Dispose(); + // finally statements + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Finally, request, _response); + _response?.Dispose(); + request?.Dispose(); + } + } + } + + /// 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 + /// elsewhere). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + internal async global::System.Threading.Tasks.Task LicenseProfilesCreateOrUpdate_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + { + using( NoSynchronizationContext ) + { + global::System.Net.Http.HttpResponseMessage _response = null; + try + { + var sendTask = sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; } + _response = await sendTask; + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + // this operation supports x-ms-long-running-operation + var _originalUri = request.RequestUri.AbsoluteUri; + // declared final-state-via: default + var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); + var location = _response.GetFirstHeader(@"Location"); + var operationLocation = _response.GetFirstHeader(@"Operation-Location"); + while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + { + // delay before making the next polling request + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.DelayBeforePolling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + + // while we wait, let's grab the headers and get ready to poll. + if (!System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Azure-AsyncOperation"))) { + asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); + } + if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Location"))) { + location = _response.GetFirstHeader(@"Location"); + } + if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Operation-Location"))) { + operationLocation = _response.GetFirstHeader(@"Operation-Location"); + } + var _uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? global::System.String.IsNullOrEmpty(operationLocation) ? _originalUri : operationLocation : location : asyncOperation; + request = request.CloneAndDispose(new global::System.Uri(_uri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); + + // and let's look at the current response body and see if we have some information we can give back to the listener + var content = await _response.Content.ReadAsStringAsync(); + + // drop the old response + _response?.Dispose(); + + // make the polling call + _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + + // if we got back an OK, take a peek inside and see if it's done + if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) + { + var error = false; + try { + if( Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json) + { + var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); + if( state is null ) + { + // the body doesn't contain any information that has the state of the LRO + // we're going to just get out, and let the consumer have the result + break; + } + + switch( state?.ToString()?.ToLower() ) + { + case "failed": + error = true; + break; + case "succeeded": + case "canceled": + // we're done polling. + break; + + default: + // need to keep polling! + _response.StatusCode = global::System.Net.HttpStatusCode.Created; + continue; + } + } + } catch { + // if we run into a problem peeking into the result, + // we really don't want to do anything special. + } + if (error) { + throw new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.UndeclaredResponseException(_response); + } + } + + // check for terminal status code + if (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + { + continue; + } + // we are done polling, do a request on final target? + if (!string.IsNullOrWhiteSpace(_originalUri)) + { + // create a new request with the final uri + request = request.CloneAndDispose(new global::System.Uri(_originalUri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); + + // drop the old response + _response?.Dispose(); + + // make the final call + _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + break; + } + } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return; } + var _contentType = _response.Content.Headers.ContentType?.MediaType; + + switch ( _response.StatusCode ) + { + case global::System.Net.HttpStatusCode.OK: + { + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.LicenseProfile.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); + break; + } + default: + { + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ErrorResponse.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); + break; + } + } + } + finally + { + // finally statements + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Finally, request, _response); + _response?.Dispose(); + request?.Dispose(); + } + } + } + + /// + /// Validation method for method. Call this like the actual call, but you will + /// get validation events back. + /// + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. + /// The name of the hybrid machine. + /// Parameters supplied to the Create or Update license profile operation. + /// an instance that will receive events. + /// + /// A that will be complete when handling of the response is completed. + /// + internal async global::System.Threading.Tasks.Task LicenseProfilesCreateOrUpdate_Validate(string subscriptionId, string resourceGroupName, string machineName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfile body, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) + { + using( NoSynchronizationContext ) + { + await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); + await eventListener.AssertMinimumLength(nameof(subscriptionId),subscriptionId,1); + await eventListener.AssertNotNull(nameof(resourceGroupName),resourceGroupName); + await eventListener.AssertMinimumLength(nameof(resourceGroupName),resourceGroupName,1); + await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); + await eventListener.AssertNotNull(nameof(machineName),machineName); + await eventListener.AssertRegEx(nameof(machineName), machineName, @"[a-zA-Z0-9-_\.]+"); + await eventListener.AssertNotNull(nameof(body), body); + await eventListener.AssertObjectIsValid(nameof(body), body); + } + } + + /// The operation to delete a license profile. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. + /// The name of the hybrid machine. + /// a delegate that is called when the remote service returns 204 (NoContent). + /// 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). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 LicenseProfilesDelete(string subscriptionId, string resourceGroupName, string machineName, global::System.Func onNoContent, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + { + var licenseProfileName = @"default"; + var apiVersion = @"2024-07-10"; + // Constant Parameters + using( NoSynchronizationContext ) + { + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + global::System.Uri.EscapeDataString(subscriptionId) + + "/resourceGroups/" + + global::System.Uri.EscapeDataString(resourceGroupName) + + "/providers/Microsoft.HybridCompute/machines/" + + global::System.Uri.EscapeDataString(machineName) + + "/licenseProfiles/" + + global::System.Uri.EscapeDataString(licenseProfileName) + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Delete, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // make the call + await this.LicenseProfilesDelete_Call (request, onNoContent,onOk,onDefault,eventListener,sender); + } + } + + /// The operation to delete a license profile. + /// + /// a delegate that is called when the remote service returns 204 (NoContent). + /// 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). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 LicenseProfilesDeleteViaIdentity(global::System.String viaIdentity, global::System.Func onNoContent, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + { + var apiVersion = @"2024-07-10"; + // Constant Parameters + using( NoSynchronizationContext ) + { + // verify that Identity format is an exact match for uri + + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/machines/(?[^/]+)/licenseProfiles/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + if (!_match.Success) + { + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/licenseProfiles/{licenseProfileName}'"); } + + // replace URI parameters with values from identity + var subscriptionId = _match.Groups["subscriptionId"].Value; + var resourceGroupName = _match.Groups["resourceGroupName"].Value; + var machineName = _match.Groups["machineName"].Value; + var licenseProfileName = _match.Groups["licenseProfileName"].Value; + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + subscriptionId + + "/resourceGroups/" + + resourceGroupName + + "/providers/Microsoft.HybridCompute/machines/" + + machineName + + "/licenseProfiles/" + + licenseProfileName + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Delete, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // make the call + await this.LicenseProfilesDelete_Call (request, onNoContent,onOk,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 204 (NoContent). /// 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). @@ -9445,7 +1477,7 @@ public partial class ConnectedMachine /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task LicensesValidateLicense_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task LicenseProfilesDelete_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func onNoContent, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -9560,7 +1592,13 @@ public partial class ConnectedMachine case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.License.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response); + break; + } + case global::System.Net.HttpStatusCode.NoContent: + { + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + await onNoContent(_response); break; } default: @@ -9582,44 +1620,46 @@ public partial class ConnectedMachine } /// - /// 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. - /// Parameters supplied to the license validation operation. + /// The name of the resource group. The name is case insensitive. + /// The name of the hybrid machine. /// an instance that will receive events. /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task LicensesValidateLicense_Validate(string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicense body, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task LicenseProfilesDelete_Validate(string subscriptionId, string resourceGroupName, string machineName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); await eventListener.AssertMinimumLength(nameof(subscriptionId),subscriptionId,1); - await eventListener.AssertNotNull(nameof(body), body); - await eventListener.AssertObjectIsValid(nameof(body), body); + await eventListener.AssertNotNull(nameof(resourceGroupName),resourceGroupName); + await eventListener.AssertMinimumLength(nameof(resourceGroupName),resourceGroupName,1); + await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); + await eventListener.AssertNotNull(nameof(machineName),machineName); + await eventListener.AssertRegEx(nameof(machineName), machineName, @"[a-zA-Z0-9-_\.]+"); } } - /// The operation to update the extension. + /// Retrieves information about the view of a license profile. /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. - /// The name of the machine where the extension should be created or updated. - /// The name of the machine extension. - /// Parameters supplied to the Create Machine Extension operation. + /// The name of the hybrid machine. /// 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). /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// Allows the caller to choose the depth of the serialization. See . /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task MachineExtensionsCreateOrUpdate(string subscriptionId, string resourceGroupName, string machineName, string extensionName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtension body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) + public async global::System.Threading.Tasks.Task LicenseProfilesGet(string subscriptionId, string resourceGroupName, string machineName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var licenseProfileName = @"default"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { @@ -9631,8 +1671,8 @@ public partial class ConnectedMachine + global::System.Uri.EscapeDataString(resourceGroupName) + "/providers/Microsoft.HybridCompute/machines/" + global::System.Uri.EscapeDataString(machineName) - + "/extensions/" - + global::System.Uri.EscapeDataString(extensionName) + + "/licenseProfiles/" + + global::System.Uri.EscapeDataString(licenseProfileName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -9641,50 +1681,44 @@ public partial class ConnectedMachine // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Put, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // set body content - request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.MachineExtensionsCreateOrUpdate_Call (request, onOk,onDefault,eventListener,sender); + await this.LicenseProfilesGet_Call (request, onOk,onDefault,eventListener,sender); } } - /// The operation to update the extension. + /// Retrieves information about the view of a license profile. /// - /// Parameters supplied to the Create Machine Extension 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). /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// Allows the caller to choose the depth of the serialization. See . /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task MachineExtensionsCreateOrUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtension body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) + public async global::System.Threading.Tasks.Task LicenseProfilesGetViaIdentity(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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/machines/(?[^/]+)/extensions/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/machines/(?[^/]+)/licenseProfiles/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/licenseProfiles/{licenseProfileName}'"); } // replace URI parameters with values from identity var subscriptionId = _match.Groups["subscriptionId"].Value; var resourceGroupName = _match.Groups["resourceGroupName"].Value; var machineName = _match.Groups["machineName"].Value; - var extensionName = _match.Groups["extensionName"].Value; + var licenseProfileName = _match.Groups["licenseProfileName"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" @@ -9693,8 +1727,8 @@ public partial class ConnectedMachine + resourceGroupName + "/providers/Microsoft.HybridCompute/machines/" + machineName - + "/extensions/" - + extensionName + + "/licenseProfiles/" + + licenseProfileName + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -9703,48 +1737,42 @@ public partial class ConnectedMachine // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Put, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // set body content - request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.MachineExtensionsCreateOrUpdate_Call (request, onOk,onDefault,eventListener,sender); + await this.LicenseProfilesGet_Call (request, onOk,onDefault,eventListener,sender); } } - /// The operation to update the extension. + /// Retrieves information about the view of a license profile. /// - /// Parameters supplied to the Create Machine Extension operation. /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// Allows the caller to choose the depth of the serialization. See . /// - /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task MachineExtensionsCreateOrUpdateViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtension body, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) + public async global::System.Threading.Tasks.Task LicenseProfilesGetViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/machines/(?[^/]+)/extensions/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/machines/(?[^/]+)/licenseProfiles/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/licenseProfiles/{licenseProfileName}'"); } // replace URI parameters with values from identity var subscriptionId = _match.Groups["subscriptionId"].Value; var resourceGroupName = _match.Groups["resourceGroupName"].Value; var machineName = _match.Groups["machineName"].Value; - var extensionName = _match.Groups["extensionName"].Value; + var licenseProfileName = _match.Groups["licenseProfileName"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" @@ -9753,108 +1781,8 @@ public partial class ConnectedMachine + resourceGroupName + "/providers/Microsoft.HybridCompute/machines/" + machineName - + "/extensions/" - + extensionName - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Put, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } - // set body content - request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } - // make the call - return await this.MachineExtensionsCreateOrUpdateWithResult_Call (request, eventListener,sender); - } - } - - /// The operation to update the extension. - /// The ID of the target subscription. - /// The name of the resource group. The name is case insensitive. - /// The name of the machine where the extension should be created or updated. - /// The name of the machine extension. - /// Json string supplied to the MachineExtensionsCreateOrUpdate 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). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 MachineExtensionsCreateOrUpdateViaJsonString(string subscriptionId, string resourceGroupName, string machineName, string extensionName, 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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + global::System.Uri.EscapeDataString(subscriptionId) - + "/resourceGroups/" - + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.HybridCompute/machines/" - + global::System.Uri.EscapeDataString(machineName) - + "/extensions/" - + global::System.Uri.EscapeDataString(extensionName) - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Put, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // set body content - request.Content = new global::System.Net.Http.StringContent(jsonString, global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } - // make the call - await this.MachineExtensionsCreateOrUpdate_Call (request, onOk,onDefault,eventListener,sender); - } - } - - /// The operation to update the extension. - /// The ID of the target subscription. - /// The name of the resource group. The name is case insensitive. - /// The name of the machine where the extension should be created or updated. - /// The name of the machine extension. - /// Json string supplied to the MachineExtensionsCreateOrUpdate operation - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 MachineExtensionsCreateOrUpdateViaJsonStringWithResult(string subscriptionId, string resourceGroupName, string machineName, string extensionName, global::System.String jsonString, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + global::System.Uri.EscapeDataString(subscriptionId) - + "/resourceGroups/" - + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.HybridCompute/machines/" - + global::System.Uri.EscapeDataString(machineName) - + "/extensions/" - + global::System.Uri.EscapeDataString(extensionName) + + "/licenseProfiles/" + + licenseProfileName + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -9863,35 +1791,29 @@ public partial class ConnectedMachine // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Put, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } - // set body content - request.Content = new global::System.Net.Http.StringContent(jsonString, global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.MachineExtensionsCreateOrUpdateWithResult_Call (request, eventListener,sender); + return await this.LicenseProfilesGetWithResult_Call (request, eventListener,sender); } } - /// The operation to update the extension. + /// Retrieves information about the view of a license profile. /// The ID of the target subscription. - /// The name of the resource group. The name is case insensitive. - /// The name of the machine where the extension should be created or updated. - /// The name of the machine extension. - /// Parameters supplied to the Create Machine Extension operation. + /// The name of the resource group. The name is case insensitive. + /// The name of the hybrid machine. /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// Allows the caller to choose the depth of the serialization. See . /// - /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task MachineExtensionsCreateOrUpdateWithResult(string subscriptionId, string resourceGroupName, string machineName, string extensionName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtension body, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) + public async global::System.Threading.Tasks.Task LicenseProfilesGetWithResult(string subscriptionId, string resourceGroupName, string machineName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var licenseProfileName = @"default"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { @@ -9903,8 +1825,8 @@ public partial class ConnectedMachine + global::System.Uri.EscapeDataString(resourceGroupName) + "/providers/Microsoft.HybridCompute/machines/" + global::System.Uri.EscapeDataString(machineName) - + "/extensions/" - + global::System.Uri.EscapeDataString(extensionName) + + "/licenseProfiles/" + + global::System.Uri.EscapeDataString(licenseProfileName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -9913,30 +1835,24 @@ public partial class ConnectedMachine // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Put, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } - // set body content - request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.MachineExtensionsCreateOrUpdateWithResult_Call (request, eventListener,sender); + return await this.LicenseProfilesGetWithResult_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.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. /// - /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task MachineExtensionsCreateOrUpdateWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task LicenseProfilesGetWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -9945,103 +1861,8 @@ public partial class ConnectedMachine { var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; } _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - // this operation supports x-ms-long-running-operation - var _originalUri = request.RequestUri.AbsoluteUri; - // declared final-state-via: default - var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); - var location = _response.GetFirstHeader(@"Location"); - var operationLocation = _response.GetFirstHeader(@"Operation-Location"); - while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) - { - // delay before making the next polling request - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.DelayBeforePolling, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - - // while we wait, let's grab the headers and get ready to poll. - if (!System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Azure-AsyncOperation"))) { - asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); - } - if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Location"))) { - location = _response.GetFirstHeader(@"Location"); - } - if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Operation-Location"))) { - operationLocation = _response.GetFirstHeader(@"Operation-Location"); - } - var _uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? global::System.String.IsNullOrEmpty(operationLocation) ? _originalUri : operationLocation : location : asyncOperation; - request = request.CloneAndDispose(new global::System.Uri(_uri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); - - // and let's look at the current response body and see if we have some information we can give back to the listener - var content = await _response.Content.ReadAsStringAsync(); - - // drop the old response - _response?.Dispose(); - - // make the polling call - _response = await sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - - // if we got back an OK, take a peek inside and see if it's done - if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) - { - var error = false; - try { - if( Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json) - { - var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); - if( state is null ) - { - // the body doesn't contain any information that has the state of the LRO - // we're going to just get out, and let the consumer have the result - break; - } - - switch( state?.ToString()?.ToLower() ) - { - case "failed": - error = true; - break; - case "succeeded": - case "canceled": - // we're done polling. - break; - - default: - // need to keep polling! - _response.StatusCode = global::System.Net.HttpStatusCode.Created; - continue; - } - } - } catch { - // if we run into a problem peeking into the result, - // we really don't want to do anything special. - } - if (error) { - throw new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.UndeclaredResponseException(_response); - } - } - - // check for terminal status code - if (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) - { - continue; - } - // we are done polling, do a request on final target? - if (!string.IsNullOrWhiteSpace(_originalUri)) - { - // create a new request with the final uri - request = request.CloneAndDispose(new global::System.Uri(_originalUri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); - - // drop the old response - _response?.Dispose(); - - // make the final call - _response = await sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - break; - } - } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return null; } var _contentType = _response.Content.Headers.ContentType?.MediaType; @@ -10050,7 +1871,7 @@ public partial class ConnectedMachine case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.MachineExtension.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); + var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.LicenseProfile.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); return await _result; } default: @@ -10066,139 +1887,44 @@ public partial class ConnectedMachine var ex = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.RestException(_response, await _result); throw ex; } - else - { - throw new global::System.Exception($"[{code}] : {message}"); - } - } - } - } - finally - { - // finally statements - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Finally, request, _response); - _response?.Dispose(); - request?.Dispose(); - } - } - } - - /// 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 - /// elsewhere). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// - /// A that will be complete when handling of the response is completed. - /// - internal async global::System.Threading.Tasks.Task MachineExtensionsCreateOrUpdate_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - using( NoSynchronizationContext ) - { - global::System.Net.Http.HttpResponseMessage _response = null; - try - { - var sendTask = sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sendTask; - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - // this operation supports x-ms-long-running-operation - var _originalUri = request.RequestUri.AbsoluteUri; - // declared final-state-via: default - var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); - var location = _response.GetFirstHeader(@"Location"); - var operationLocation = _response.GetFirstHeader(@"Operation-Location"); - while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) - { - // delay before making the next polling request - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.DelayBeforePolling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - - // while we wait, let's grab the headers and get ready to poll. - if (!System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Azure-AsyncOperation"))) { - asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); - } - if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Location"))) { - location = _response.GetFirstHeader(@"Location"); - } - if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Operation-Location"))) { - operationLocation = _response.GetFirstHeader(@"Operation-Location"); - } - var _uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? global::System.String.IsNullOrEmpty(operationLocation) ? _originalUri : operationLocation : location : asyncOperation; - request = request.CloneAndDispose(new global::System.Uri(_uri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); - - // and let's look at the current response body and see if we have some information we can give back to the listener - var content = await _response.Content.ReadAsStringAsync(); - - // drop the old response - _response?.Dispose(); - - // make the polling call - _response = await sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - - // if we got back an OK, take a peek inside and see if it's done - if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) - { - var error = false; - try { - if( Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json) - { - var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); - if( state is null ) - { - // the body doesn't contain any information that has the state of the LRO - // we're going to just get out, and let the consumer have the result - break; - } - - switch( state?.ToString()?.ToLower() ) - { - case "failed": - error = true; - break; - case "succeeded": - case "canceled": - // we're done polling. - break; - - default: - // need to keep polling! - _response.StatusCode = global::System.Net.HttpStatusCode.Created; - continue; - } - } - } catch { - // if we run into a problem peeking into the result, - // we really don't want to do anything special. - } - if (error) { - throw new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.UndeclaredResponseException(_response); - } - } - - // check for terminal status code - if (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) - { - continue; - } - // we are done polling, do a request on final target? - if (!string.IsNullOrWhiteSpace(_originalUri)) - { - // create a new request with the final uri - request = request.CloneAndDispose(new global::System.Uri(_originalUri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); - - // drop the old response - _response?.Dispose(); - - // make the final call - _response = await sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - break; + else + { + throw new global::System.Exception($"[{code}] : {message}"); + } } } + } + finally + { + // finally statements + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Finally, request, _response); + _response?.Dispose(); + request?.Dispose(); + } + } + } + + /// 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 + /// elsewhere). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + internal async global::System.Threading.Tasks.Task LicenseProfilesGet_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + { + using( NoSynchronizationContext ) + { + global::System.Net.Http.HttpResponseMessage _response = null; + try + { + var sendTask = sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } + _response = await sendTask; + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return; } var _contentType = _response.Content.Headers.ContentType?.MediaType; @@ -10207,7 +1933,7 @@ public partial class ConnectedMachine case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.MachineExtension.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.LicenseProfile.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -10229,19 +1955,17 @@ public partial class ConnectedMachine } /// - /// 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 name of the resource group. The name is case insensitive. - /// The name of the machine where the extension should be created or updated. - /// The name of the machine extension. - /// Parameters supplied to the Create Machine Extension operation. + /// The name of the hybrid machine. /// an instance that will receive events. /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task MachineExtensionsCreateOrUpdate_Validate(string subscriptionId, string resourceGroupName, string machineName, string extensionName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtension body, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task LicenseProfilesGet_Validate(string subscriptionId, string resourceGroupName, string machineName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -10251,22 +1975,15 @@ public partial class ConnectedMachine await eventListener.AssertMinimumLength(nameof(resourceGroupName),resourceGroupName,1); await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); await eventListener.AssertNotNull(nameof(machineName),machineName); - await eventListener.AssertMinimumLength(nameof(machineName),machineName,1); - await eventListener.AssertMaximumLength(nameof(machineName),machineName,54); - await eventListener.AssertRegEx(nameof(machineName), machineName, @"^[a-zA-Z0-9-_\.]{1,54}$"); - await eventListener.AssertNotNull(nameof(extensionName),extensionName); - await eventListener.AssertNotNull(nameof(body), body); - await eventListener.AssertObjectIsValid(nameof(body), body); + await eventListener.AssertRegEx(nameof(machineName), machineName, @"[a-zA-Z0-9-_\.]+"); } } - /// The operation to delete the extension. + /// The operation to get all license profiles of a non-Azure machine /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. - /// The name of the machine where the extension should be deleted. - /// The name of the machine extension. + /// The name of the machine. /// a delegate that is called when the remote service returns 200 (OK). - /// a delegate that is called when the remote service returns 204 (NoContent). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). /// an instance that will receive events. @@ -10274,9 +1991,9 @@ public partial class ConnectedMachine /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task MachineExtensionsDelete(string subscriptionId, string resourceGroupName, string machineName, string extensionName, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task LicenseProfilesList(string subscriptionId, string resourceGroupName, string machineName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { @@ -10288,8 +2005,7 @@ public partial class ConnectedMachine + global::System.Uri.EscapeDataString(resourceGroupName) + "/providers/Microsoft.HybridCompute/machines/" + global::System.Uri.EscapeDataString(machineName) - + "/extensions/" - + global::System.Uri.EscapeDataString(extensionName) + + "/licenseProfiles" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -10298,19 +2014,18 @@ public partial class ConnectedMachine // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Delete, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.MachineExtensionsDelete_Call (request, onOk,onNoContent,onDefault,eventListener,sender); + await this.LicenseProfilesList_Call (request, onOk,onDefault,eventListener,sender); } } - /// The operation to delete the extension. + /// The operation to get all license profiles of a non-Azure machine /// /// a delegate that is called when the remote service returns 200 (OK). - /// a delegate that is called when the remote service returns 204 (NoContent). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). /// an instance that will receive events. @@ -10318,25 +2033,24 @@ public partial class ConnectedMachine /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task MachineExtensionsDeleteViaIdentity(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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task LicenseProfilesListViaIdentity(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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/machines/(?[^/]+)/extensions/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/machines/(?[^/]+)/licenseProfiles$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/licenseProfiles'"); } // replace URI parameters with values from identity var subscriptionId = _match.Groups["subscriptionId"].Value; var resourceGroupName = _match.Groups["resourceGroupName"].Value; var machineName = _match.Groups["machineName"].Value; - var extensionName = _match.Groups["extensionName"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" @@ -10345,8 +2059,7 @@ public partial class ConnectedMachine + resourceGroupName + "/providers/Microsoft.HybridCompute/machines/" + machineName - + "/extensions/" - + extensionName + + "/licenseProfiles" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -10355,133 +2068,190 @@ public partial class ConnectedMachine // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Delete, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.MachineExtensionsDelete_Call (request, onOk,onNoContent,onDefault,eventListener,sender); + await this.LicenseProfilesList_Call (request, onOk,onDefault,eventListener,sender); } } - /// 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). - /// a delegate that is called when the remote service returns default (any response code not handled - /// elsewhere). + /// The operation to get all license profiles of a non-Azure machine + /// /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. /// - /// A that will be complete when handling of the response is completed. + /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task MachineExtensionsDelete_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task LicenseProfilesListViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { + var apiVersion = @"2024-07-10"; + // Constant Parameters using( NoSynchronizationContext ) { - global::System.Net.Http.HttpResponseMessage _response = null; - try + // verify that Identity format is an exact match for uri + + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/machines/(?[^/]+)/licenseProfiles$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + if (!_match.Success) { - var sendTask = sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sendTask; - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - // this operation supports x-ms-long-running-operation - var _originalUri = request.RequestUri.AbsoluteUri; - // declared final-state-via: default - var _finalUri = _response.GetFirstHeader(@"Location"); - var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); - var location = _response.GetFirstHeader(@"Location"); - var operationLocation = _response.GetFirstHeader(@"Operation-Location"); - while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) - { - // delay before making the next polling request - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.DelayBeforePolling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/licenseProfiles'"); + } - // while we wait, let's grab the headers and get ready to poll. - if (!System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Azure-AsyncOperation"))) { - asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); - } - if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Location"))) { - location = _response.GetFirstHeader(@"Location"); - } - if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Operation-Location"))) { - operationLocation = _response.GetFirstHeader(@"Operation-Location"); - } - var _uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? global::System.String.IsNullOrEmpty(operationLocation) ? _originalUri : operationLocation : location : asyncOperation; - request = request.CloneAndDispose(new global::System.Uri(_uri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); + // replace URI parameters with values from identity + var subscriptionId = _match.Groups["subscriptionId"].Value; + var resourceGroupName = _match.Groups["resourceGroupName"].Value; + var machineName = _match.Groups["machineName"].Value; + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + subscriptionId + + "/resourceGroups/" + + resourceGroupName + + "/providers/Microsoft.HybridCompute/machines/" + + machineName + + "/licenseProfiles" + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - // and let's look at the current response body and see if we have some information we can give back to the listener - var content = await _response.Content.ReadAsStringAsync(); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - // drop the old response - _response?.Dispose(); + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - // make the polling call - _response = await sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } + // make the call + return await this.LicenseProfilesListWithResult_Call (request, eventListener,sender); + } + } - // if we got back an OK, take a peek inside and see if it's done - if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) - { - var error = false; - try { - if( Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json) - { - var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); - if( state is null ) - { - // the body doesn't contain any information that has the state of the LRO - // we're going to just get out, and let the consumer have the result - break; - } + /// The operation to get all license profiles of a non-Azure machine + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. + /// The name of the machine. + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 LicenseProfilesListWithResult(string subscriptionId, string resourceGroupName, string machineName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + { + var apiVersion = @"2024-07-10"; + // Constant Parameters + using( NoSynchronizationContext ) + { + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + global::System.Uri.EscapeDataString(subscriptionId) + + "/resourceGroups/" + + global::System.Uri.EscapeDataString(resourceGroupName) + + "/providers/Microsoft.HybridCompute/machines/" + + global::System.Uri.EscapeDataString(machineName) + + "/licenseProfiles" + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - switch( state?.ToString()?.ToLower() ) - { - case "failed": - error = true; - break; - case "succeeded": - case "canceled": - // we're done polling. - break; + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - default: - // need to keep polling! - _response.StatusCode = global::System.Net.HttpStatusCode.Created; - continue; - } - } - } catch { - // if we run into a problem peeking into the result, - // we really don't want to do anything special. - } - if (error) { - throw new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.UndeclaredResponseException(_response); - } - } + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } + // make the call + return await this.LicenseProfilesListWithResult_Call (request, eventListener,sender); + } + } + + /// Actual wire call for method. + /// the prepared HttpRequestMessage to send. + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + internal async global::System.Threading.Tasks.Task LicenseProfilesListWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + { + using( NoSynchronizationContext ) + { + global::System.Net.Http.HttpResponseMessage _response = null; + try + { + var sendTask = sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; } + _response = await sendTask; + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return null; } + var _contentType = _response.Content.Headers.ContentType?.MediaType; - // check for terminal status code - if (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + switch ( _response.StatusCode ) + { + case global::System.Net.HttpStatusCode.OK: { - continue; + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } + var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.LicenseProfilesListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); + return await _result; } - // we are done polling, do a request on final target? - if (!string.IsNullOrWhiteSpace(_finalUri)) + default: { - // create a new request with the final uri - request = request.CloneAndDispose(new global::System.Uri(_finalUri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); - - // drop the old response - _response?.Dispose(); - - // make the final call - _response = await sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - break; + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } + var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ErrorResponse.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); + // Error Response : default + var code = (await _result)?.Code; + var message = (await _result)?.Message; + if ((null == code || null == message)) + { + // Unrecognized Response. Create an error record based on what we have. + var ex = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.RestException(_response, await _result); + throw ex; + } + else + { + throw new global::System.Exception($"[{code}] : {message}"); + } } } + } + finally + { + // finally statements + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Finally, request, _response); + _response?.Dispose(); + request?.Dispose(); + } + } + } + + /// 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 + /// elsewhere). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + internal async global::System.Threading.Tasks.Task LicenseProfilesList_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + { + using( NoSynchronizationContext ) + { + global::System.Net.Http.HttpResponseMessage _response = null; + try + { + var sendTask = sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } + _response = await sendTask; + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return; } var _contentType = _response.Content.Headers.ContentType?.MediaType; @@ -10490,13 +2260,7 @@ public partial class ConnectedMachine case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response); - break; - } - case global::System.Net.HttpStatusCode.NoContent: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onNoContent(_response); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.LicenseProfilesListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -10518,18 +2282,17 @@ public partial class ConnectedMachine } /// - /// 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 name of the resource group. The name is case insensitive. - /// The name of the machine where the extension should be deleted. - /// The name of the machine extension. + /// The name of the machine. /// an instance that will receive events. /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task MachineExtensionsDelete_Validate(string subscriptionId, string resourceGroupName, string machineName, string extensionName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task LicenseProfilesList_Validate(string subscriptionId, string resourceGroupName, string machineName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -10542,26 +2305,27 @@ public partial class ConnectedMachine await eventListener.AssertMinimumLength(nameof(machineName),machineName,1); await eventListener.AssertMaximumLength(nameof(machineName),machineName,54); await eventListener.AssertRegEx(nameof(machineName), machineName, @"^[a-zA-Z0-9-_\.]{1,54}$"); - await eventListener.AssertNotNull(nameof(extensionName),extensionName); } } - /// The operation to get the extension. + /// The operation to update a license profile. /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. - /// The name of the machine containing the extension. - /// The name of the machine extension. + /// The name of the hybrid machine. + /// Parameters supplied to the Update license profile 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). /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. + /// Allows the caller to choose the depth of the serialization. See . /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task MachineExtensionsGet(string subscriptionId, string resourceGroupName, string machineName, string extensionName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task LicenseProfilesUpdate(string subscriptionId, string resourceGroupName, string machineName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileUpdate body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) { - var apiVersion = @"2024-05-20-preview"; + var licenseProfileName = @"default"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { @@ -10573,8 +2337,8 @@ public partial class ConnectedMachine + global::System.Uri.EscapeDataString(resourceGroupName) + "/providers/Microsoft.HybridCompute/machines/" + global::System.Uri.EscapeDataString(machineName) - + "/extensions/" - + global::System.Uri.EscapeDataString(extensionName) + + "/licenseProfiles/" + + global::System.Uri.EscapeDataString(licenseProfileName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -10583,44 +2347,50 @@ public partial class ConnectedMachine // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Patch, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // set body content + request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.MachineExtensionsGet_Call (request, onOk,onDefault,eventListener,sender); + await this.LicenseProfilesUpdate_Call (request, onOk,onDefault,eventListener,sender); } } - /// The operation to get the extension. + /// The operation to update a license profile. /// + /// Parameters supplied to the Update license profile 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). /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. + /// Allows the caller to choose the depth of the serialization. See . /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task MachineExtensionsGetViaIdentity(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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task LicenseProfilesUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileUpdate body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/machines/(?[^/]+)/extensions/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/machines/(?[^/]+)/licenseProfiles/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/licenseProfiles/{licenseProfileName}'"); } // replace URI parameters with values from identity var subscriptionId = _match.Groups["subscriptionId"].Value; var resourceGroupName = _match.Groups["resourceGroupName"].Value; var machineName = _match.Groups["machineName"].Value; - var extensionName = _match.Groups["extensionName"].Value; + var licenseProfileName = _match.Groups["licenseProfileName"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" @@ -10629,8 +2399,8 @@ public partial class ConnectedMachine + resourceGroupName + "/providers/Microsoft.HybridCompute/machines/" + machineName - + "/extensions/" - + extensionName + + "/licenseProfiles/" + + licenseProfileName + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -10639,52 +2409,158 @@ public partial class ConnectedMachine // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Patch, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // set body content + request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.MachineExtensionsGet_Call (request, onOk,onDefault,eventListener,sender); + await this.LicenseProfilesUpdate_Call (request, onOk,onDefault,eventListener,sender); } } - /// The operation to get the extension. + /// The operation to update a license profile. /// + /// Parameters supplied to the Update license profile operation. /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. + /// Allows the caller to choose the depth of the serialization. See . /// - /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task MachineExtensionsGetViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task LicenseProfilesUpdateViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileUpdate body, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/machines/(?[^/]+)/extensions/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/machines/(?[^/]+)/licenseProfiles/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/licenseProfiles/{licenseProfileName}'"); } // replace URI parameters with values from identity var subscriptionId = _match.Groups["subscriptionId"].Value; var resourceGroupName = _match.Groups["resourceGroupName"].Value; var machineName = _match.Groups["machineName"].Value; - var extensionName = _match.Groups["extensionName"].Value; + var licenseProfileName = _match.Groups["licenseProfileName"].Value; + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + subscriptionId + + "/resourceGroups/" + + resourceGroupName + + "/providers/Microsoft.HybridCompute/machines/" + + machineName + + "/licenseProfiles/" + + licenseProfileName + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } + + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Patch, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } + // set body content + request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } + // make the call + return await this.LicenseProfilesUpdateWithResult_Call (request, eventListener,sender); + } + } + + /// The operation to update a license profile. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. + /// The name of the hybrid machine. + /// Json string supplied to the LicenseProfilesUpdate 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). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 LicenseProfilesUpdateViaJsonString(string subscriptionId, string resourceGroupName, string machineName, 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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + { + var licenseProfileName = @"default"; + var apiVersion = @"2024-07-10"; + // Constant Parameters + using( NoSynchronizationContext ) + { + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + global::System.Uri.EscapeDataString(subscriptionId) + + "/resourceGroups/" + + global::System.Uri.EscapeDataString(resourceGroupName) + + "/providers/Microsoft.HybridCompute/machines/" + + global::System.Uri.EscapeDataString(machineName) + + "/licenseProfiles/" + + global::System.Uri.EscapeDataString(licenseProfileName) + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Patch, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // set body content + request.Content = new global::System.Net.Http.StringContent(jsonString, global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } + // make the call + await this.LicenseProfilesUpdate_Call (request, onOk,onDefault,eventListener,sender); + } + } + + /// The operation to update a license profile. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. + /// The name of the hybrid machine. + /// Json string supplied to the LicenseProfilesUpdate operation + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 LicenseProfilesUpdateViaJsonStringWithResult(string subscriptionId, string resourceGroupName, string machineName, global::System.String jsonString, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + { + var licenseProfileName = @"default"; + var apiVersion = @"2024-07-10"; + // Constant Parameters + using( NoSynchronizationContext ) + { // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" - + subscriptionId + + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" - + resourceGroupName + + global::System.Uri.EscapeDataString(resourceGroupName) + "/providers/Microsoft.HybridCompute/machines/" - + machineName - + "/extensions/" - + extensionName + + global::System.Uri.EscapeDataString(machineName) + + "/licenseProfiles/" + + global::System.Uri.EscapeDataString(licenseProfileName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -10693,29 +2569,35 @@ public partial class ConnectedMachine // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Patch, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } + // set body content + request.Content = new global::System.Net.Http.StringContent(jsonString, global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.MachineExtensionsGetWithResult_Call (request, eventListener,sender); + return await this.LicenseProfilesUpdateWithResult_Call (request, eventListener,sender); } } - /// The operation to get the extension. + /// The operation to update a license profile. /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. - /// The name of the machine containing the extension. - /// The name of the machine extension. + /// The name of the hybrid machine. + /// Parameters supplied to the Update license profile operation. /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. + /// Allows the caller to choose the depth of the serialization. See . /// - /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task MachineExtensionsGetWithResult(string subscriptionId, string resourceGroupName, string machineName, string extensionName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task LicenseProfilesUpdateWithResult(string subscriptionId, string resourceGroupName, string machineName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileUpdate body, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) { - var apiVersion = @"2024-05-20-preview"; + var licenseProfileName = @"default"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { @@ -10727,8 +2609,8 @@ public partial class ConnectedMachine + global::System.Uri.EscapeDataString(resourceGroupName) + "/providers/Microsoft.HybridCompute/machines/" + global::System.Uri.EscapeDataString(machineName) - + "/extensions/" - + global::System.Uri.EscapeDataString(extensionName) + + "/licenseProfiles/" + + global::System.Uri.EscapeDataString(licenseProfileName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -10737,24 +2619,28 @@ public partial class ConnectedMachine // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Patch, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } + // set body content + request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.MachineExtensionsGetWithResult_Call (request, eventListener,sender); + return await this.LicenseProfilesUpdateWithResult_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.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. /// - /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task MachineExtensionsGetWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task LicenseProfilesUpdateWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -10763,70 +2649,260 @@ public partial class ConnectedMachine { var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; } _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } + // this operation supports x-ms-long-running-operation + var _originalUri = request.RequestUri.AbsoluteUri; + // declared final-state-via: default + var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); + var location = _response.GetFirstHeader(@"Location"); + var operationLocation = _response.GetFirstHeader(@"Operation-Location"); + while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + { + // delay before making the next polling request + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.DelayBeforePolling, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } + + // while we wait, let's grab the headers and get ready to poll. + if (!System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Azure-AsyncOperation"))) { + asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); + } + if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Location"))) { + location = _response.GetFirstHeader(@"Location"); + } + if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Operation-Location"))) { + operationLocation = _response.GetFirstHeader(@"Operation-Location"); + } + var _uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? global::System.String.IsNullOrEmpty(operationLocation) ? _originalUri : operationLocation : location : asyncOperation; + request = request.CloneAndDispose(new global::System.Uri(_uri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); + + // and let's look at the current response body and see if we have some information we can give back to the listener + var content = await _response.Content.ReadAsStringAsync(); + + // drop the old response + _response?.Dispose(); + + // make the polling call + _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } + + // if we got back an OK, take a peek inside and see if it's done + if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) + { + var error = false; + try { + if( Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json) + { + var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); + if( state is null ) + { + // the body doesn't contain any information that has the state of the LRO + // we're going to just get out, and let the consumer have the result + break; + } + + switch( state?.ToString()?.ToLower() ) + { + case "failed": + error = true; + break; + case "succeeded": + case "canceled": + // we're done polling. + break; + + default: + // need to keep polling! + _response.StatusCode = global::System.Net.HttpStatusCode.Created; + continue; + } + } + } catch { + // if we run into a problem peeking into the result, + // we really don't want to do anything special. + } + if (error) { + throw new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.UndeclaredResponseException(_response); + } + } + + // check for terminal status code + if (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + { + continue; + } + // we are done polling, do a request on final target? + if (!string.IsNullOrWhiteSpace(_originalUri)) + { + // create a new request with the final uri + request = request.CloneAndDispose(new global::System.Uri(_originalUri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); + + // drop the old response + _response?.Dispose(); + + // make the final call + _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } + break; + } + } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return null; } var _contentType = _response.Content.Headers.ContentType?.MediaType; - switch ( _response.StatusCode ) - { - case global::System.Net.HttpStatusCode.OK: + switch ( _response.StatusCode ) + { + case global::System.Net.HttpStatusCode.OK: + { + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } + var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.LicenseProfile.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); + return await _result; + } + default: + { + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } + var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ErrorResponse.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); + // Error Response : default + var code = (await _result)?.Code; + var message = (await _result)?.Message; + if ((null == code || null == message)) + { + // Unrecognized Response. Create an error record based on what we have. + var ex = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.RestException(_response, await _result); + throw ex; + } + else + { + throw new global::System.Exception($"[{code}] : {message}"); + } + } + } + } + finally + { + // finally statements + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Finally, request, _response); + _response?.Dispose(); + request?.Dispose(); + } + } + } + + /// 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 + /// elsewhere). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + internal async global::System.Threading.Tasks.Task LicenseProfilesUpdate_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + { + using( NoSynchronizationContext ) + { + global::System.Net.Http.HttpResponseMessage _response = null; + try + { + var sendTask = sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; } + _response = await sendTask; + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + // this operation supports x-ms-long-running-operation + var _originalUri = request.RequestUri.AbsoluteUri; + // declared final-state-via: default + var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); + var location = _response.GetFirstHeader(@"Location"); + var operationLocation = _response.GetFirstHeader(@"Operation-Location"); + while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + { + // delay before making the next polling request + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.DelayBeforePolling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + + // while we wait, let's grab the headers and get ready to poll. + if (!System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Azure-AsyncOperation"))) { + asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); + } + if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Location"))) { + location = _response.GetFirstHeader(@"Location"); + } + if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Operation-Location"))) { + operationLocation = _response.GetFirstHeader(@"Operation-Location"); + } + var _uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? global::System.String.IsNullOrEmpty(operationLocation) ? _originalUri : operationLocation : location : asyncOperation; + request = request.CloneAndDispose(new global::System.Uri(_uri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); + + // and let's look at the current response body and see if we have some information we can give back to the listener + var content = await _response.Content.ReadAsStringAsync(); + + // drop the old response + _response?.Dispose(); + + // make the polling call + _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + + // if we got back an OK, take a peek inside and see if it's done + if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) + { + var error = false; + try { + if( Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json) + { + var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); + if( state is null ) + { + // the body doesn't contain any information that has the state of the LRO + // we're going to just get out, and let the consumer have the result + break; + } + + switch( state?.ToString()?.ToLower() ) + { + case "failed": + error = true; + break; + case "succeeded": + case "canceled": + // we're done polling. + break; + + default: + // need to keep polling! + _response.StatusCode = global::System.Net.HttpStatusCode.Created; + continue; + } + } + } catch { + // if we run into a problem peeking into the result, + // we really don't want to do anything special. + } + if (error) { + throw new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.UndeclaredResponseException(_response); + } + } + + // check for terminal status code + if (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.MachineExtension.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); - return await _result; + continue; } - default: + // we are done polling, do a request on final target? + if (!string.IsNullOrWhiteSpace(_originalUri)) { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ErrorResponse.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); - // Error Response : default - var code = (await _result)?.Code; - var message = (await _result)?.Message; - if ((null == code || null == message)) - { - // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.RestException(_response, await _result); - throw ex; - } - else - { - throw new global::System.Exception($"[{code}] : {message}"); - } + // create a new request with the final uri + request = request.CloneAndDispose(new global::System.Uri(_originalUri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); + + // drop the old response + _response?.Dispose(); + + // make the final call + _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + break; } } - } - finally - { - // finally statements - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Finally, request, _response); - _response?.Dispose(); - request?.Dispose(); - } - } - } - - /// 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 - /// elsewhere). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// - /// A that will be complete when handling of the response is completed. - /// - internal async global::System.Threading.Tasks.Task MachineExtensionsGet_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - using( NoSynchronizationContext ) - { - global::System.Net.Http.HttpResponseMessage _response = null; - try - { - var sendTask = sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sendTask; - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return; } var _contentType = _response.Content.Headers.ContentType?.MediaType; @@ -10835,7 +2911,7 @@ public partial class ConnectedMachine case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.MachineExtension.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.LicenseProfile.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -10857,18 +2933,18 @@ public partial class ConnectedMachine } /// - /// 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 name of the resource group. The name is case insensitive. - /// The name of the machine containing the extension. - /// The name of the machine extension. + /// The name of the hybrid machine. + /// Parameters supplied to the Update license profile operation. /// an instance that will receive events. /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task MachineExtensionsGet_Validate(string subscriptionId, string resourceGroupName, string machineName, string extensionName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task LicenseProfilesUpdate_Validate(string subscriptionId, string resourceGroupName, string machineName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileUpdate body, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -10878,29 +2954,29 @@ public partial class ConnectedMachine await eventListener.AssertMinimumLength(nameof(resourceGroupName),resourceGroupName,1); await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); await eventListener.AssertNotNull(nameof(machineName),machineName); - await eventListener.AssertMinimumLength(nameof(machineName),machineName,1); - await eventListener.AssertMaximumLength(nameof(machineName),machineName,54); - await eventListener.AssertRegEx(nameof(machineName), machineName, @"^[a-zA-Z0-9-_\.]{1,54}$"); - await eventListener.AssertNotNull(nameof(extensionName),extensionName); + await eventListener.AssertRegEx(nameof(machineName), machineName, @"[a-zA-Z0-9-_\.]+"); + await eventListener.AssertNotNull(nameof(body), body); + await eventListener.AssertObjectIsValid(nameof(body), body); } } - /// The operation to get all extensions of a non-Azure machine + /// The operation to update a license. /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. - /// The name of the machine containing the extension. - /// The expand expression to apply on the operation. + /// The name of the license. + /// Parameters supplied to the Create license 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). /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. + /// Allows the caller to choose the depth of the serialization. See . /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task MachineExtensionsList(string subscriptionId, string resourceGroupName, string machineName, string Expand, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task LicensesCreateOrUpdate(string subscriptionId, string resourceGroupName, string licenseName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicense body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { @@ -10910,12 +2986,9 @@ public partial class ConnectedMachine + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.HybridCompute/machines/" - + global::System.Uri.EscapeDataString(machineName) - + "/extensions" + + "/providers/Microsoft.HybridCompute/licenses/" + + global::System.Uri.EscapeDataString(licenseName) + "?" - + (string.IsNullOrEmpty(Expand) ? global::System.String.Empty : "$expand=" + global::System.Uri.EscapeDataString(Expand)) - + "&" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -10923,56 +2996,58 @@ public partial class ConnectedMachine // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Put, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // set body content + request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.MachineExtensionsList_Call (request, onOk,onDefault,eventListener,sender); + await this.LicensesCreateOrUpdate_Call (request, onOk,onDefault,eventListener,sender); } } - /// The operation to get all extensions of a non-Azure machine + /// The operation to update a license. /// - /// The expand expression to apply on the operation. + /// Parameters supplied to the Create license 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). /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. + /// Allows the caller to choose the depth of the serialization. See . /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task MachineExtensionsListViaIdentity(global::System.String viaIdentity, string Expand, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task LicensesCreateOrUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicense body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/machines/(?[^/]+)/extensions$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/licenses/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/licenses/{licenseName}'"); } // replace URI parameters with values from identity var subscriptionId = _match.Groups["subscriptionId"].Value; var resourceGroupName = _match.Groups["resourceGroupName"].Value; - var machineName = _match.Groups["machineName"].Value; + var licenseName = _match.Groups["licenseName"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName - + "/providers/Microsoft.HybridCompute/machines/" - + machineName - + "/extensions" + + "/providers/Microsoft.HybridCompute/licenses/" + + licenseName + "?" - + (string.IsNullOrEmpty(Expand) ? global::System.String.Empty : "$expand=" + global::System.Uri.EscapeDataString(Expand)) - + "&" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -10980,54 +3055,150 @@ public partial class ConnectedMachine // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Put, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // set body content + request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.MachineExtensionsList_Call (request, onOk,onDefault,eventListener,sender); + await this.LicensesCreateOrUpdate_Call (request, onOk,onDefault,eventListener,sender); } } - /// The operation to get all extensions of a non-Azure machine + /// The operation to update a license. /// - /// The expand expression to apply on the operation. + /// Parameters supplied to the Create license operation. /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. + /// Allows the caller to choose the depth of the serialization. See . /// - /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task MachineExtensionsListViaIdentityWithResult(global::System.String viaIdentity, string Expand, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task LicensesCreateOrUpdateViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicense body, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/machines/(?[^/]+)/extensions$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/licenses/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/licenses/{licenseName}'"); } // replace URI parameters with values from identity var subscriptionId = _match.Groups["subscriptionId"].Value; var resourceGroupName = _match.Groups["resourceGroupName"].Value; - var machineName = _match.Groups["machineName"].Value; + var licenseName = _match.Groups["licenseName"].Value; + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + subscriptionId + + "/resourceGroups/" + + resourceGroupName + + "/providers/Microsoft.HybridCompute/licenses/" + + licenseName + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } + + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Put, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } + // set body content + request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } + // make the call + return await this.LicensesCreateOrUpdateWithResult_Call (request, eventListener,sender); + } + } + + /// The operation to update a license. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. + /// The name of the license. + /// Json string supplied to the LicensesCreateOrUpdate 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). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 LicensesCreateOrUpdateViaJsonString(string subscriptionId, string resourceGroupName, string licenseName, 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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + { + var apiVersion = @"2024-07-10"; + // Constant Parameters + using( NoSynchronizationContext ) + { + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + global::System.Uri.EscapeDataString(subscriptionId) + + "/resourceGroups/" + + global::System.Uri.EscapeDataString(resourceGroupName) + + "/providers/Microsoft.HybridCompute/licenses/" + + global::System.Uri.EscapeDataString(licenseName) + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Put, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // set body content + request.Content = new global::System.Net.Http.StringContent(jsonString, global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } + // make the call + await this.LicensesCreateOrUpdate_Call (request, onOk,onDefault,eventListener,sender); + } + } + + /// The operation to update a license. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. + /// The name of the license. + /// Json string supplied to the LicensesCreateOrUpdate operation + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 LicensesCreateOrUpdateViaJsonStringWithResult(string subscriptionId, string resourceGroupName, string licenseName, global::System.String jsonString, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + { + var apiVersion = @"2024-07-10"; + // Constant Parameters + using( NoSynchronizationContext ) + { // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" - + subscriptionId + + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" - + resourceGroupName - + "/providers/Microsoft.HybridCompute/machines/" - + machineName - + "/extensions" + + global::System.Uri.EscapeDataString(resourceGroupName) + + "/providers/Microsoft.HybridCompute/licenses/" + + global::System.Uri.EscapeDataString(licenseName) + "?" - + (string.IsNullOrEmpty(Expand) ? global::System.String.Empty : "$expand=" + global::System.Uri.EscapeDataString(Expand)) - + "&" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -11035,29 +3206,34 @@ public partial class ConnectedMachine // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Put, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } + // set body content + request.Content = new global::System.Net.Http.StringContent(jsonString, global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.MachineExtensionsListWithResult_Call (request, eventListener,sender); + return await this.LicensesCreateOrUpdateWithResult_Call (request, eventListener,sender); } } - /// The operation to get all extensions of a non-Azure machine + /// The operation to update a license. /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. - /// The name of the machine containing the extension. - /// The expand expression to apply on the operation. + /// The name of the license. + /// Parameters supplied to the Create license operation. /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. + /// Allows the caller to choose the depth of the serialization. See . /// - /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task MachineExtensionsListWithResult(string subscriptionId, string resourceGroupName, string machineName, string Expand, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task LicensesCreateOrUpdateWithResult(string subscriptionId, string resourceGroupName, string licenseName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicense body, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { @@ -11067,12 +3243,9 @@ public partial class ConnectedMachine + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.HybridCompute/machines/" - + global::System.Uri.EscapeDataString(machineName) - + "/extensions" + + "/providers/Microsoft.HybridCompute/licenses/" + + global::System.Uri.EscapeDataString(licenseName) + "?" - + (string.IsNullOrEmpty(Expand) ? global::System.String.Empty : "$expand=" + global::System.Uri.EscapeDataString(Expand)) - + "&" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -11080,24 +3253,28 @@ public partial class ConnectedMachine // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Put, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } + // set body content + request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.MachineExtensionsListWithResult_Call (request, eventListener,sender); + return await this.LicensesCreateOrUpdateWithResult_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.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. /// - /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task MachineExtensionsListWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task LicensesCreateOrUpdateWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -11106,8 +3283,103 @@ public partial class ConnectedMachine { var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; } _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } + // this operation supports x-ms-long-running-operation + var _originalUri = request.RequestUri.AbsoluteUri; + // declared final-state-via: default + var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); + var location = _response.GetFirstHeader(@"Location"); + var operationLocation = _response.GetFirstHeader(@"Operation-Location"); + while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + { + // delay before making the next polling request + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.DelayBeforePolling, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } + + // while we wait, let's grab the headers and get ready to poll. + if (!System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Azure-AsyncOperation"))) { + asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); + } + if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Location"))) { + location = _response.GetFirstHeader(@"Location"); + } + if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Operation-Location"))) { + operationLocation = _response.GetFirstHeader(@"Operation-Location"); + } + var _uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? global::System.String.IsNullOrEmpty(operationLocation) ? _originalUri : operationLocation : location : asyncOperation; + request = request.CloneAndDispose(new global::System.Uri(_uri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); + + // and let's look at the current response body and see if we have some information we can give back to the listener + var content = await _response.Content.ReadAsStringAsync(); + + // drop the old response + _response?.Dispose(); + + // make the polling call + _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } + + // if we got back an OK, take a peek inside and see if it's done + if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) + { + var error = false; + try { + if( Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json) + { + var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); + if( state is null ) + { + // the body doesn't contain any information that has the state of the LRO + // we're going to just get out, and let the consumer have the result + break; + } + + switch( state?.ToString()?.ToLower() ) + { + case "failed": + error = true; + break; + case "succeeded": + case "canceled": + // we're done polling. + break; + + default: + // need to keep polling! + _response.StatusCode = global::System.Net.HttpStatusCode.Created; + continue; + } + } + } catch { + // if we run into a problem peeking into the result, + // we really don't want to do anything special. + } + if (error) { + throw new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.UndeclaredResponseException(_response); + } + } + + // check for terminal status code + if (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + { + continue; + } + // we are done polling, do a request on final target? + if (!string.IsNullOrWhiteSpace(_originalUri)) + { + // create a new request with the final uri + request = request.CloneAndDispose(new global::System.Uri(_originalUri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); + + // drop the old response + _response?.Dispose(); + + // make the final call + _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } + break; + } + } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return null; } var _contentType = _response.Content.Headers.ContentType?.MediaType; @@ -11116,7 +3388,7 @@ public partial class ConnectedMachine case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.MachineExtensionsListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); + var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.License.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); return await _result; } default: @@ -11149,7 +3421,7 @@ public partial class ConnectedMachine } } - /// 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 @@ -11159,7 +3431,7 @@ public partial class ConnectedMachine /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task MachineExtensionsList_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task LicensesCreateOrUpdate_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -11168,8 +3440,103 @@ public partial class ConnectedMachine { var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; } _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + // this operation supports x-ms-long-running-operation + var _originalUri = request.RequestUri.AbsoluteUri; + // declared final-state-via: default + var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); + var location = _response.GetFirstHeader(@"Location"); + var operationLocation = _response.GetFirstHeader(@"Operation-Location"); + while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + { + // delay before making the next polling request + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.DelayBeforePolling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + + // while we wait, let's grab the headers and get ready to poll. + if (!System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Azure-AsyncOperation"))) { + asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); + } + if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Location"))) { + location = _response.GetFirstHeader(@"Location"); + } + if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Operation-Location"))) { + operationLocation = _response.GetFirstHeader(@"Operation-Location"); + } + var _uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? global::System.String.IsNullOrEmpty(operationLocation) ? _originalUri : operationLocation : location : asyncOperation; + request = request.CloneAndDispose(new global::System.Uri(_uri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); + + // and let's look at the current response body and see if we have some information we can give back to the listener + var content = await _response.Content.ReadAsStringAsync(); + + // drop the old response + _response?.Dispose(); + + // make the polling call + _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + + // if we got back an OK, take a peek inside and see if it's done + if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) + { + var error = false; + try { + if( Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json) + { + var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); + if( state is null ) + { + // the body doesn't contain any information that has the state of the LRO + // we're going to just get out, and let the consumer have the result + break; + } + + switch( state?.ToString()?.ToLower() ) + { + case "failed": + error = true; + break; + case "succeeded": + case "canceled": + // we're done polling. + break; + + default: + // need to keep polling! + _response.StatusCode = global::System.Net.HttpStatusCode.Created; + continue; + } + } + } catch { + // if we run into a problem peeking into the result, + // we really don't want to do anything special. + } + if (error) { + throw new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.UndeclaredResponseException(_response); + } + } + + // check for terminal status code + if (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + { + continue; + } + // we are done polling, do a request on final target? + if (!string.IsNullOrWhiteSpace(_originalUri)) + { + // create a new request with the final uri + request = request.CloneAndDispose(new global::System.Uri(_originalUri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); + + // drop the old response + _response?.Dispose(); + + // make the final call + _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + break; + } + } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return; } var _contentType = _response.Content.Headers.ContentType?.MediaType; @@ -11178,7 +3545,7 @@ public partial class ConnectedMachine case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.MachineExtensionsListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.License.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -11200,18 +3567,18 @@ public partial class ConnectedMachine } /// - /// 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 name of the resource group. The name is case insensitive. - /// The name of the machine containing the extension. - /// The expand expression to apply on the operation. + /// The name of the license. + /// Parameters supplied to the Create license operation. /// an instance that will receive events. /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task MachineExtensionsList_Validate(string subscriptionId, string resourceGroupName, string machineName, string Expand, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task LicensesCreateOrUpdate_Validate(string subscriptionId, string resourceGroupName, string licenseName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicense body, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -11220,32 +3587,29 @@ public partial class ConnectedMachine await eventListener.AssertNotNull(nameof(resourceGroupName),resourceGroupName); await eventListener.AssertMinimumLength(nameof(resourceGroupName),resourceGroupName,1); await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); - await eventListener.AssertNotNull(nameof(machineName),machineName); - await eventListener.AssertMinimumLength(nameof(machineName),machineName,1); - await eventListener.AssertMaximumLength(nameof(machineName),machineName,54); - await eventListener.AssertRegEx(nameof(machineName), machineName, @"^[a-zA-Z0-9-_\.]{1,54}$"); - await eventListener.AssertNotNull(nameof(Expand),Expand); + await eventListener.AssertNotNull(nameof(licenseName),licenseName); + await eventListener.AssertRegEx(nameof(licenseName), licenseName, @"[a-zA-Z0-9-_\.]+"); + await eventListener.AssertNotNull(nameof(body), body); + await eventListener.AssertObjectIsValid(nameof(body), body); } } - /// The operation to update the extension. + /// The operation to delete a license. /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. - /// The name of the machine where the extension should be created or updated. - /// The name of the machine extension. - /// Parameters supplied to the Create Machine Extension operation. + /// The name of the license. /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns 204 (NoContent). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// Allows the caller to choose the depth of the serialization. See . /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task MachineExtensionsUpdate(string subscriptionId, string resourceGroupName, string machineName, string extensionName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtensionUpdate body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) + public async global::System.Threading.Tasks.Task LicensesDelete(string subscriptionId, string resourceGroupName, string licenseName, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { @@ -11255,10 +3619,8 @@ public partial class ConnectedMachine + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.HybridCompute/machines/" - + global::System.Uri.EscapeDataString(machineName) - + "/extensions/" - + global::System.Uri.EscapeDataString(extensionName) + + "/providers/Microsoft.HybridCompute/licenses/" + + global::System.Uri.EscapeDataString(licenseName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -11267,60 +3629,52 @@ public partial class ConnectedMachine // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Patch, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Delete, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // set body content - request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.MachineExtensionsUpdate_Call (request, onOk,onDefault,eventListener,sender); + await this.LicensesDelete_Call (request, onOk,onNoContent,onDefault,eventListener,sender); } } - /// The operation to update the extension. + /// The operation to delete a license. /// - /// Parameters supplied to the Create Machine Extension operation. /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns 204 (NoContent). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// Allows the caller to choose the depth of the serialization. See . /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task MachineExtensionsUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtensionUpdate body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) + public async global::System.Threading.Tasks.Task LicensesDeleteViaIdentity(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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/machines/(?[^/]+)/extensions/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/licenses/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/licenses/{licenseName}'"); } // replace URI parameters with values from identity var subscriptionId = _match.Groups["subscriptionId"].Value; var resourceGroupName = _match.Groups["resourceGroupName"].Value; - var machineName = _match.Groups["machineName"].Value; - var extensionName = _match.Groups["extensionName"].Value; + var licenseName = _match.Groups["licenseName"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName - + "/providers/Microsoft.HybridCompute/machines/" - + machineName - + "/extensions/" - + extensionName + + "/providers/Microsoft.HybridCompute/licenses/" + + licenseName + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -11329,85 +3683,238 @@ public partial class ConnectedMachine // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Patch, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Delete, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // set body content - request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.MachineExtensionsUpdate_Call (request, onOk,onDefault,eventListener,sender); + await this.LicensesDelete_Call (request, onOk,onNoContent,onDefault,eventListener,sender); } } - /// The operation to update the extension. - /// - /// Parameters supplied to the Create Machine Extension operation. + /// 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). + /// a delegate that is called when the remote service returns default (any response code not handled + /// elsewhere). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + internal async global::System.Threading.Tasks.Task LicensesDelete_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + { + using( NoSynchronizationContext ) + { + global::System.Net.Http.HttpResponseMessage _response = null; + try + { + var sendTask = sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; } + _response = await sendTask; + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + // this operation supports x-ms-long-running-operation + var _originalUri = request.RequestUri.AbsoluteUri; + // declared final-state-via: default + var _finalUri = _response.GetFirstHeader(@"Location"); + var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); + var location = _response.GetFirstHeader(@"Location"); + var operationLocation = _response.GetFirstHeader(@"Operation-Location"); + while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + { + // delay before making the next polling request + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.DelayBeforePolling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + + // while we wait, let's grab the headers and get ready to poll. + if (!System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Azure-AsyncOperation"))) { + asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); + } + if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Location"))) { + location = _response.GetFirstHeader(@"Location"); + } + if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Operation-Location"))) { + operationLocation = _response.GetFirstHeader(@"Operation-Location"); + } + var _uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? global::System.String.IsNullOrEmpty(operationLocation) ? _originalUri : operationLocation : location : asyncOperation; + request = request.CloneAndDispose(new global::System.Uri(_uri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); + + // and let's look at the current response body and see if we have some information we can give back to the listener + var content = await _response.Content.ReadAsStringAsync(); + + // drop the old response + _response?.Dispose(); + + // make the polling call + _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + + // if we got back an OK, take a peek inside and see if it's done + if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) + { + var error = false; + try { + if( Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json) + { + var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); + if( state is null ) + { + // the body doesn't contain any information that has the state of the LRO + // we're going to just get out, and let the consumer have the result + break; + } + + switch( state?.ToString()?.ToLower() ) + { + case "failed": + error = true; + break; + case "succeeded": + case "canceled": + // we're done polling. + break; + + default: + // need to keep polling! + _response.StatusCode = global::System.Net.HttpStatusCode.Created; + continue; + } + } + } catch { + // if we run into a problem peeking into the result, + // we really don't want to do anything special. + } + if (error) { + throw new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.UndeclaredResponseException(_response); + } + } + + // check for terminal status code + if (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + { + continue; + } + // we are done polling, do a request on final target? + if (!string.IsNullOrWhiteSpace(_finalUri)) + { + // create a new request with the final uri + request = request.CloneAndDispose(new global::System.Uri(_finalUri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); + + // drop the old response + _response?.Dispose(); + + // make the final call + _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + break; + } + } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return; } + var _contentType = _response.Content.Headers.ContentType?.MediaType; + + switch ( _response.StatusCode ) + { + case global::System.Net.HttpStatusCode.OK: + { + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + await onOk(_response); + break; + } + case global::System.Net.HttpStatusCode.NoContent: + { + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + await onNoContent(_response); + break; + } + default: + { + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ErrorResponse.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); + break; + } + } + } + finally + { + // finally statements + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Finally, request, _response); + _response?.Dispose(); + request?.Dispose(); + } + } + } + + /// + /// Validation method for method. Call this like the actual call, but you will get validation + /// events back. + /// + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. + /// The name of the license. + /// an instance that will receive events. + /// + /// A that will be complete when handling of the response is completed. + /// + internal async global::System.Threading.Tasks.Task LicensesDelete_Validate(string subscriptionId, string resourceGroupName, string licenseName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) + { + using( NoSynchronizationContext ) + { + await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); + await eventListener.AssertMinimumLength(nameof(subscriptionId),subscriptionId,1); + await eventListener.AssertNotNull(nameof(resourceGroupName),resourceGroupName); + await eventListener.AssertMinimumLength(nameof(resourceGroupName),resourceGroupName,1); + await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); + await eventListener.AssertNotNull(nameof(licenseName),licenseName); + await eventListener.AssertRegEx(nameof(licenseName), licenseName, @"[a-zA-Z0-9-_\.]+"); + } + } + + /// Retrieves information about the view of a license. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. + /// The name of the license. + /// 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). /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// Allows the caller to choose the depth of the serialization. See . /// - /// A that will be complete when handling of the response is completed. + /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task MachineExtensionsUpdateViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtensionUpdate body, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) + public async global::System.Threading.Tasks.Task LicensesGet(string subscriptionId, string resourceGroupName, string licenseName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { - // verify that Identity format is an exact match for uri - - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/machines/(?[^/]+)/extensions/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); - if (!_match.Success) - { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}'"); - } - - // replace URI parameters with values from identity - var subscriptionId = _match.Groups["subscriptionId"].Value; - var resourceGroupName = _match.Groups["resourceGroupName"].Value; - var machineName = _match.Groups["machineName"].Value; - var extensionName = _match.Groups["extensionName"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" - + subscriptionId + + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" - + resourceGroupName - + "/providers/Microsoft.HybridCompute/machines/" - + machineName - + "/extensions/" - + extensionName + + global::System.Uri.EscapeDataString(resourceGroupName) + + "/providers/Microsoft.HybridCompute/licenses/" + + global::System.Uri.EscapeDataString(licenseName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Patch, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } - // set body content - request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - return await this.MachineExtensionsUpdateWithResult_Call (request, eventListener,sender); + await this.LicensesGet_Call (request, onOk,onDefault,eventListener,sender); } } - /// The operation to update the extension. - /// The ID of the target subscription. - /// The name of the resource group. The name is case insensitive. - /// The name of the machine where the extension should be created or updated. - /// The name of the machine extension. - /// Json string supplied to the MachineExtensionsUpdate operation + /// Retrieves information about the view of a license. + /// /// 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). @@ -11416,22 +3923,32 @@ public partial class ConnectedMachine /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task MachineExtensionsUpdateViaJsonString(string subscriptionId, string resourceGroupName, string machineName, string extensionName, 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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task LicensesGetViaIdentity(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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { + // verify that Identity format is an exact match for uri + + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/licenses/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + if (!_match.Success) + { + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/licenses/{licenseName}'"); + } + + // replace URI parameters with values from identity + var subscriptionId = _match.Groups["subscriptionId"].Value; + var resourceGroupName = _match.Groups["resourceGroupName"].Value; + var licenseName = _match.Groups["licenseName"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" - + global::System.Uri.EscapeDataString(subscriptionId) + + subscriptionId + "/resourceGroups/" - + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.HybridCompute/machines/" - + global::System.Uri.EscapeDataString(machineName) - + "/extensions/" - + global::System.Uri.EscapeDataString(extensionName) + + resourceGroupName + + "/providers/Microsoft.HybridCompute/licenses/" + + licenseName + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -11440,47 +3957,49 @@ public partial class ConnectedMachine // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Patch, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // set body content - request.Content = new global::System.Net.Http.StringContent(jsonString, global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.MachineExtensionsUpdate_Call (request, onOk,onDefault,eventListener,sender); + await this.LicensesGet_Call (request, onOk,onDefault,eventListener,sender); } } - /// The operation to update the extension. - /// The ID of the target subscription. - /// The name of the resource group. The name is case insensitive. - /// The name of the machine where the extension should be created or updated. - /// The name of the machine extension. - /// Json string supplied to the MachineExtensionsUpdate operation + /// Retrieves information about the view of a license. + /// /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 MachineExtensionsUpdateViaJsonStringWithResult(string subscriptionId, string resourceGroupName, string machineName, string extensionName, global::System.String jsonString, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task LicensesGetViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { + // verify that Identity format is an exact match for uri + + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/licenses/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + if (!_match.Success) + { + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/licenses/{licenseName}'"); + } + + // replace URI parameters with values from identity + var subscriptionId = _match.Groups["subscriptionId"].Value; + var resourceGroupName = _match.Groups["resourceGroupName"].Value; + var licenseName = _match.Groups["licenseName"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" - + global::System.Uri.EscapeDataString(subscriptionId) + + subscriptionId + "/resourceGroups/" - + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.HybridCompute/machines/" - + global::System.Uri.EscapeDataString(machineName) - + "/extensions/" - + global::System.Uri.EscapeDataString(extensionName) + + resourceGroupName + + "/providers/Microsoft.HybridCompute/licenses/" + + licenseName + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -11489,35 +4008,28 @@ public partial class ConnectedMachine // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Patch, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } - // set body content - request.Content = new global::System.Net.Http.StringContent(jsonString, global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.MachineExtensionsUpdateWithResult_Call (request, eventListener,sender); + return await this.LicensesGetWithResult_Call (request, eventListener,sender); } } - /// The operation to update the extension. + /// Retrieves information about the view of a license. /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. - /// The name of the machine where the extension should be created or updated. - /// The name of the machine extension. - /// Parameters supplied to the Create Machine Extension operation. + /// The name of the license. /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// Allows the caller to choose the depth of the serialization. See . /// - /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task MachineExtensionsUpdateWithResult(string subscriptionId, string resourceGroupName, string machineName, string extensionName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtensionUpdate body, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) + public async global::System.Threading.Tasks.Task LicensesGetWithResult(string subscriptionId, string resourceGroupName, string licenseName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { @@ -11527,10 +4039,8 @@ public partial class ConnectedMachine + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.HybridCompute/machines/" - + global::System.Uri.EscapeDataString(machineName) - + "/extensions/" - + global::System.Uri.EscapeDataString(extensionName) + + "/providers/Microsoft.HybridCompute/licenses/" + + global::System.Uri.EscapeDataString(licenseName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -11539,28 +4049,24 @@ public partial class ConnectedMachine // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Patch, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } - // set body content - request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.MachineExtensionsUpdateWithResult_Call (request, eventListener,sender); + return await this.LicensesGetWithResult_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.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. /// - /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task MachineExtensionsUpdateWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task LicensesGetWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -11569,103 +4075,8 @@ public partial class ConnectedMachine { var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; } _response = await sendTask; - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - // this operation supports x-ms-long-running-operation - var _originalUri = request.RequestUri.AbsoluteUri; - // declared final-state-via: default - var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); - var location = _response.GetFirstHeader(@"Location"); - var operationLocation = _response.GetFirstHeader(@"Operation-Location"); - while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) - { - // delay before making the next polling request - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.DelayBeforePolling, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - - // while we wait, let's grab the headers and get ready to poll. - if (!System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Azure-AsyncOperation"))) { - asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); - } - if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Location"))) { - location = _response.GetFirstHeader(@"Location"); - } - if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Operation-Location"))) { - operationLocation = _response.GetFirstHeader(@"Operation-Location"); - } - var _uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? global::System.String.IsNullOrEmpty(operationLocation) ? _originalUri : operationLocation : location : asyncOperation; - request = request.CloneAndDispose(new global::System.Uri(_uri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); - - // and let's look at the current response body and see if we have some information we can give back to the listener - var content = await _response.Content.ReadAsStringAsync(); - - // drop the old response - _response?.Dispose(); - - // make the polling call - _response = await sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - - // if we got back an OK, take a peek inside and see if it's done - if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) - { - var error = false; - try { - if( Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json) - { - var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); - if( state is null ) - { - // the body doesn't contain any information that has the state of the LRO - // we're going to just get out, and let the consumer have the result - break; - } - - switch( state?.ToString()?.ToLower() ) - { - case "failed": - error = true; - break; - case "succeeded": - case "canceled": - // we're done polling. - break; - - default: - // need to keep polling! - _response.StatusCode = global::System.Net.HttpStatusCode.Created; - continue; - } - } - } catch { - // if we run into a problem peeking into the result, - // we really don't want to do anything special. - } - if (error) { - throw new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.UndeclaredResponseException(_response); - } - } - - // check for terminal status code - if (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) - { - continue; - } - // we are done polling, do a request on final target? - if (!string.IsNullOrWhiteSpace(_originalUri)) - { - // create a new request with the final uri - request = request.CloneAndDispose(new global::System.Uri(_originalUri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); - - // drop the old response - _response?.Dispose(); - - // make the final call - _response = await sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - break; - } - } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return null; } var _contentType = _response.Content.Headers.ContentType?.MediaType; @@ -11674,7 +4085,7 @@ public partial class ConnectedMachine case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.MachineExtension.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); + var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.License.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); return await _result; } default: @@ -11707,7 +4118,7 @@ public partial class ConnectedMachine } } - /// 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 @@ -11717,7 +4128,7 @@ public partial class ConnectedMachine /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task MachineExtensionsUpdate_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task LicensesGet_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -11726,103 +4137,8 @@ public partial class ConnectedMachine { var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; } _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - // this operation supports x-ms-long-running-operation - var _originalUri = request.RequestUri.AbsoluteUri; - // declared final-state-via: default - var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); - var location = _response.GetFirstHeader(@"Location"); - var operationLocation = _response.GetFirstHeader(@"Operation-Location"); - while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) - { - // delay before making the next polling request - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.DelayBeforePolling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - - // while we wait, let's grab the headers and get ready to poll. - if (!System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Azure-AsyncOperation"))) { - asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); - } - if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Location"))) { - location = _response.GetFirstHeader(@"Location"); - } - if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Operation-Location"))) { - operationLocation = _response.GetFirstHeader(@"Operation-Location"); - } - var _uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? global::System.String.IsNullOrEmpty(operationLocation) ? _originalUri : operationLocation : location : asyncOperation; - request = request.CloneAndDispose(new global::System.Uri(_uri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); - - // and let's look at the current response body and see if we have some information we can give back to the listener - var content = await _response.Content.ReadAsStringAsync(); - - // drop the old response - _response?.Dispose(); - - // make the polling call - _response = await sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - - // if we got back an OK, take a peek inside and see if it's done - if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) - { - var error = false; - try { - if( Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json) - { - var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); - if( state is null ) - { - // the body doesn't contain any information that has the state of the LRO - // we're going to just get out, and let the consumer have the result - break; - } - - switch( state?.ToString()?.ToLower() ) - { - case "failed": - error = true; - break; - case "succeeded": - case "canceled": - // we're done polling. - break; - - default: - // need to keep polling! - _response.StatusCode = global::System.Net.HttpStatusCode.Created; - continue; - } - } - } catch { - // if we run into a problem peeking into the result, - // we really don't want to do anything special. - } - if (error) { - throw new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.UndeclaredResponseException(_response); - } - } - - // check for terminal status code - if (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) - { - continue; - } - // we are done polling, do a request on final target? - if (!string.IsNullOrWhiteSpace(_originalUri)) - { - // create a new request with the final uri - request = request.CloneAndDispose(new global::System.Uri(_originalUri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); - - // drop the old response - _response?.Dispose(); - - // make the final call - _response = await sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - break; - } - } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return; } var _contentType = _response.Content.Headers.ContentType?.MediaType; @@ -11831,7 +4147,7 @@ public partial class ConnectedMachine case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.MachineExtension.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.License.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -11853,19 +4169,17 @@ public partial class ConnectedMachine } /// - /// 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 name of the resource group. The name is case insensitive. - /// The name of the machine where the extension should be created or updated. - /// The name of the machine extension. - /// Parameters supplied to the Create Machine Extension operation. + /// The name of the license. /// an instance that will receive events. /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task MachineExtensionsUpdate_Validate(string subscriptionId, string resourceGroupName, string machineName, string extensionName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtensionUpdate body, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task LicensesGet_Validate(string subscriptionId, string resourceGroupName, string licenseName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -11874,34 +4188,25 @@ public partial class ConnectedMachine await eventListener.AssertNotNull(nameof(resourceGroupName),resourceGroupName); await eventListener.AssertMinimumLength(nameof(resourceGroupName),resourceGroupName,1); await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); - await eventListener.AssertNotNull(nameof(machineName),machineName); - await eventListener.AssertMinimumLength(nameof(machineName),machineName,1); - await eventListener.AssertMaximumLength(nameof(machineName),machineName,54); - await eventListener.AssertRegEx(nameof(machineName), machineName, @"^[a-zA-Z0-9-_\.]{1,54}$"); - await eventListener.AssertNotNull(nameof(extensionName),extensionName); - await eventListener.AssertNotNull(nameof(body), body); - await eventListener.AssertObjectIsValid(nameof(body), body); + await eventListener.AssertNotNull(nameof(licenseName),licenseName); + await eventListener.AssertRegEx(nameof(licenseName), licenseName, @"[a-zA-Z0-9-_\.]+"); } } - /// The operation to update a run command. + /// The operation to get all licenses of a non-Azure machine /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. - /// The name of the hybrid machine. - /// The name of the run command. - /// Parameters supplied to the Create Run Command. /// 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). /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// Allows the caller to choose the depth of the serialization. See . /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task MachineRunCommandsCreateOrUpdate(string subscriptionId, string resourceGroupName, string machineName, string runCommandName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) + public async global::System.Threading.Tasks.Task LicensesListByResourceGroup(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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { @@ -11911,10 +4216,7 @@ public partial class ConnectedMachine + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.HybridCompute/machines/" - + global::System.Uri.EscapeDataString(machineName) - + "/runCommands/" - + global::System.Uri.EscapeDataString(runCommandName) + + "/providers/Microsoft.HybridCompute/licenses" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -11923,60 +4225,49 @@ public partial class ConnectedMachine // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Put, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // set body content - request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.MachineRunCommandsCreateOrUpdate_Call (request, onOk,onDefault,eventListener,sender); + await this.LicensesListByResourceGroup_Call (request, onOk,onDefault,eventListener,sender); } } - /// The operation to update a run command. + /// The operation to get all licenses of a non-Azure machine /// - /// Parameters supplied to the Create Run Command. /// 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). /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// Allows the caller to choose the depth of the serialization. See . /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task MachineRunCommandsCreateOrUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) + public async global::System.Threading.Tasks.Task LicensesListByResourceGroupViaIdentity(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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/machines/(?[^/]+)/runCommands/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/licenses$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/runCommands/{runCommandName}'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/licenses'"); } // replace URI parameters with values from identity var subscriptionId = _match.Groups["subscriptionId"].Value; var resourceGroupName = _match.Groups["resourceGroupName"].Value; - var machineName = _match.Groups["machineName"].Value; - var runCommandName = _match.Groups["runCommandName"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName - + "/providers/Microsoft.HybridCompute/machines/" - + machineName - + "/runCommands/" - + runCommandName + + "/providers/Microsoft.HybridCompute/licenses" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -11985,158 +4276,47 @@ public partial class ConnectedMachine // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Put, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // set body content - request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.MachineRunCommandsCreateOrUpdate_Call (request, onOk,onDefault,eventListener,sender); + await this.LicensesListByResourceGroup_Call (request, onOk,onDefault,eventListener,sender); } } - /// The operation to update a run command. + /// The operation to get all licenses of a non-Azure machine /// - /// Parameters supplied to the Create Run Command. /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// Allows the caller to choose the depth of the serialization. See . /// - /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task MachineRunCommandsCreateOrUpdateViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand body, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) + public async global::System.Threading.Tasks.Task LicensesListByResourceGroupViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/machines/(?[^/]+)/runCommands/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/licenses$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/runCommands/{runCommandName}'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/licenses'"); } // replace URI parameters with values from identity var subscriptionId = _match.Groups["subscriptionId"].Value; var resourceGroupName = _match.Groups["resourceGroupName"].Value; - var machineName = _match.Groups["machineName"].Value; - var runCommandName = _match.Groups["runCommandName"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName - + "/providers/Microsoft.HybridCompute/machines/" - + machineName - + "/runCommands/" - + runCommandName - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Put, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } - // set body content - request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } - // make the call - return await this.MachineRunCommandsCreateOrUpdateWithResult_Call (request, eventListener,sender); - } - } - - /// The operation to update a run command. - /// The ID of the target subscription. - /// The name of the resource group. The name is case insensitive. - /// The name of the hybrid machine. - /// The name of the run command. - /// Json string supplied to the MachineRunCommandsCreateOrUpdate 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). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 MachineRunCommandsCreateOrUpdateViaJsonString(string subscriptionId, string resourceGroupName, string machineName, string runCommandName, 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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + global::System.Uri.EscapeDataString(subscriptionId) - + "/resourceGroups/" - + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.HybridCompute/machines/" - + global::System.Uri.EscapeDataString(machineName) - + "/runCommands/" - + global::System.Uri.EscapeDataString(runCommandName) - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Put, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // set body content - request.Content = new global::System.Net.Http.StringContent(jsonString, global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } - // make the call - await this.MachineRunCommandsCreateOrUpdate_Call (request, onOk,onDefault,eventListener,sender); - } - } - - /// The operation to update a run command. - /// The ID of the target subscription. - /// The name of the resource group. The name is case insensitive. - /// The name of the hybrid machine. - /// The name of the run command. - /// Json string supplied to the MachineRunCommandsCreateOrUpdate operation - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 MachineRunCommandsCreateOrUpdateViaJsonStringWithResult(string subscriptionId, string resourceGroupName, string machineName, string runCommandName, global::System.String jsonString, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + global::System.Uri.EscapeDataString(subscriptionId) - + "/resourceGroups/" - + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.HybridCompute/machines/" - + global::System.Uri.EscapeDataString(machineName) - + "/runCommands/" - + global::System.Uri.EscapeDataString(runCommandName) + + "/providers/Microsoft.HybridCompute/licenses" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -12145,35 +4325,27 @@ public partial class ConnectedMachine // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Put, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } - // set body content - request.Content = new global::System.Net.Http.StringContent(jsonString, global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.MachineRunCommandsCreateOrUpdateWithResult_Call (request, eventListener,sender); + return await this.LicensesListByResourceGroupWithResult_Call (request, eventListener,sender); } } - /// The operation to update a run command. + /// The operation to get all licenses of a non-Azure machine /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. - /// The name of the hybrid machine. - /// The name of the run command. - /// Parameters supplied to the Create Run Command. /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// Allows the caller to choose the depth of the serialization. See . /// - /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task MachineRunCommandsCreateOrUpdateWithResult(string subscriptionId, string resourceGroupName, string machineName, string runCommandName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand body, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) + public async global::System.Threading.Tasks.Task LicensesListByResourceGroupWithResult(string subscriptionId, string resourceGroupName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { @@ -12183,10 +4355,7 @@ public partial class ConnectedMachine + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.HybridCompute/machines/" - + global::System.Uri.EscapeDataString(machineName) - + "/runCommands/" - + global::System.Uri.EscapeDataString(runCommandName) + + "/providers/Microsoft.HybridCompute/licenses" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -12195,30 +4364,26 @@ public partial class ConnectedMachine // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Put, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } - // set body content - request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.MachineRunCommandsCreateOrUpdateWithResult_Call (request, eventListener,sender); + return await this.LicensesListByResourceGroupWithResult_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.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. /// - /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task MachineRunCommandsCreateOrUpdateWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task LicensesListByResourceGroupWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -12227,100 +4392,8 @@ public partial class ConnectedMachine { var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; } _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - // this operation supports x-ms-long-running-operation - var _originalUri = request.RequestUri.AbsoluteUri; - // declared final-state-via: azure-async-operation - var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); - var location = _response.GetFirstHeader(@"Location"); - var operationLocation = _response.GetFirstHeader(@"Operation-Location"); - while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) - { - // delay before making the next polling request - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.DelayBeforePolling, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - - // while we wait, let's grab the headers and get ready to poll. - if (!System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Azure-AsyncOperation"))) { - asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); - } - if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Location"))) { - location = _response.GetFirstHeader(@"Location"); - } - if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Operation-Location"))) { - operationLocation = _response.GetFirstHeader(@"Operation-Location"); - } - var _uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? global::System.String.IsNullOrEmpty(operationLocation) ? _originalUri : operationLocation : location : asyncOperation; - request = request.CloneAndDispose(new global::System.Uri(_uri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); - - // and let's look at the current response body and see if we have some information we can give back to the listener - var content = await _response.Content.ReadAsStringAsync(); - - // drop the old response - _response?.Dispose(); - - // make the polling call - _response = await sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - - // if we got back an OK, take a peek inside and see if it's done - if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) - { - var error = false; - try { - if( Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json) - { - var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); - if( state is null ) - { - // the body doesn't contain any information that has the state of the LRO - // we're going to just get out, and let the consumer have the result - break; - } - - switch( state?.ToString()?.ToLower() ) - { - case "failed": - error = true; - break; - case "succeeded": - case "canceled": - // we're done polling. - break; - - default: - // need to keep polling! - _response.StatusCode = global::System.Net.HttpStatusCode.Created; - continue; - } - } - } catch { - // if we run into a problem peeking into the result, - // we really don't want to do anything special. - } - if (error) { - throw new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.UndeclaredResponseException(_response); - } - } - - // check for terminal status code - if (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) - { - continue; - } - // we are done polling, do a request on final target? - // create a new request with the final uri - request = request.CloneAndDispose(new global::System.Uri(_originalUri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); - - // drop the old response - _response?.Dispose(); - - // make the final call - _response = await sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - break; - } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return null; } var _contentType = _response.Content.Headers.ContentType?.MediaType; @@ -12329,7 +4402,7 @@ public partial class ConnectedMachine case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.MachineRunCommand.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); + var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.LicensesListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); return await _result; } default: @@ -12362,7 +4435,7 @@ public partial class ConnectedMachine } } - /// 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 @@ -12372,7 +4445,7 @@ public partial class ConnectedMachine /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task MachineRunCommandsCreateOrUpdate_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task LicensesListByResourceGroup_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -12381,100 +4454,8 @@ public partial class ConnectedMachine { var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; } _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - // this operation supports x-ms-long-running-operation - var _originalUri = request.RequestUri.AbsoluteUri; - // declared final-state-via: azure-async-operation - var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); - var location = _response.GetFirstHeader(@"Location"); - var operationLocation = _response.GetFirstHeader(@"Operation-Location"); - while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) - { - // delay before making the next polling request - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.DelayBeforePolling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - - // while we wait, let's grab the headers and get ready to poll. - if (!System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Azure-AsyncOperation"))) { - asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); - } - if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Location"))) { - location = _response.GetFirstHeader(@"Location"); - } - if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Operation-Location"))) { - operationLocation = _response.GetFirstHeader(@"Operation-Location"); - } - var _uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? global::System.String.IsNullOrEmpty(operationLocation) ? _originalUri : operationLocation : location : asyncOperation; - request = request.CloneAndDispose(new global::System.Uri(_uri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); - - // and let's look at the current response body and see if we have some information we can give back to the listener - var content = await _response.Content.ReadAsStringAsync(); - - // drop the old response - _response?.Dispose(); - - // make the polling call - _response = await sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - - // if we got back an OK, take a peek inside and see if it's done - if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) - { - var error = false; - try { - if( Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json) - { - var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); - if( state is null ) - { - // the body doesn't contain any information that has the state of the LRO - // we're going to just get out, and let the consumer have the result - break; - } - - switch( state?.ToString()?.ToLower() ) - { - case "failed": - error = true; - break; - case "succeeded": - case "canceled": - // we're done polling. - break; - - default: - // need to keep polling! - _response.StatusCode = global::System.Net.HttpStatusCode.Created; - continue; - } - } - } catch { - // if we run into a problem peeking into the result, - // we really don't want to do anything special. - } - if (error) { - throw new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.UndeclaredResponseException(_response); - } - } - - // check for terminal status code - if (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) - { - continue; - } - // we are done polling, do a request on final target? - // create a new request with the final uri - request = request.CloneAndDispose(new global::System.Uri(_originalUri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); - - // drop the old response - _response?.Dispose(); - - // make the final call - _response = await sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - break; - } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return; } var _contentType = _response.Content.Headers.ContentType?.MediaType; @@ -12483,7 +4464,7 @@ public partial class ConnectedMachine case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.MachineRunCommand.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.LicensesListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -12505,19 +4486,16 @@ public partial class ConnectedMachine } /// - /// 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 name of the resource group. The name is case insensitive. - /// The name of the hybrid machine. - /// The name of the run command. - /// Parameters supplied to the Create Run Command. /// an instance that will receive events. /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task MachineRunCommandsCreateOrUpdate_Validate(string subscriptionId, string resourceGroupName, string machineName, string runCommandName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand body, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task LicensesListByResourceGroup_Validate(string subscriptionId, string resourceGroupName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -12526,22 +4504,12 @@ public partial class ConnectedMachine await eventListener.AssertNotNull(nameof(resourceGroupName),resourceGroupName); await eventListener.AssertMinimumLength(nameof(resourceGroupName),resourceGroupName,1); await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); - await eventListener.AssertNotNull(nameof(machineName),machineName); - await eventListener.AssertRegEx(nameof(machineName), machineName, @"[a-zA-Z0-9-_\.]+"); - await eventListener.AssertNotNull(nameof(runCommandName),runCommandName); - await eventListener.AssertRegEx(nameof(runCommandName), runCommandName, @"[a-zA-Z0-9-_\.]+"); - await eventListener.AssertNotNull(nameof(body), body); - await eventListener.AssertObjectIsValid(nameof(body), body); } } - /// The operation to delete a run command. + /// The operation to get all licenses of a non-Azure machine /// The ID of the target subscription. - /// The name of the resource group. The name is case insensitive. - /// The name of the hybrid machine. - /// The name of the run command. /// a delegate that is called when the remote service returns 200 (OK). - /// a delegate that is called when the remote service returns 204 (NoContent). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). /// an instance that will receive events. @@ -12549,22 +4517,65 @@ public partial class ConnectedMachine /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task MachineRunCommandsDelete(string subscriptionId, string resourceGroupName, string machineName, string runCommandName, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task LicensesListBySubscription(string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + { + var apiVersion = @"2024-07-10"; + // Constant Parameters + using( NoSynchronizationContext ) + { + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + global::System.Uri.EscapeDataString(subscriptionId) + + "/providers/Microsoft.HybridCompute/licenses" + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // make the call + await this.LicensesListBySubscription_Call (request, onOk,onDefault,eventListener,sender); + } + } + + /// The operation to get all licenses of a non-Azure machine + /// + /// 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). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 LicensesListBySubscriptionViaIdentity(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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { + // verify that Identity format is an exact match for uri + + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/providers/Microsoft.HybridCompute/licenses$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + if (!_match.Success) + { + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/licenses'"); + } + + // replace URI parameters with values from identity + var subscriptionId = _match.Groups["subscriptionId"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" - + global::System.Uri.EscapeDataString(subscriptionId) - + "/resourceGroups/" - + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.HybridCompute/machines/" - + global::System.Uri.EscapeDataString(machineName) - + "/runCommands/" - + global::System.Uri.EscapeDataString(runCommandName) + + subscriptionId + + "/providers/Microsoft.HybridCompute/licenses" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -12573,76 +4584,162 @@ public partial class ConnectedMachine // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Delete, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.MachineRunCommandsDelete_Call (request, onOk,onNoContent,onDefault,eventListener,sender); + await this.LicensesListBySubscription_Call (request, onOk,onDefault,eventListener,sender); } } - /// The operation to delete a run command. + /// The operation to get all licenses of a non-Azure machine /// - /// a delegate that is called when the remote service returns 200 (OK). - /// a delegate that is called when the remote service returns 204 (NoContent). - /// a delegate that is called when the remote service returns default (any response code not handled - /// elsewhere). /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. /// - /// A that will be complete when handling of the response is completed. + /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task MachineRunCommandsDeleteViaIdentity(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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task LicensesListBySubscriptionViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/machines/(?[^/]+)/runCommands/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/providers/Microsoft.HybridCompute/licenses$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/runCommands/{runCommandName}'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/licenses'"); } // replace URI parameters with values from identity var subscriptionId = _match.Groups["subscriptionId"].Value; - var resourceGroupName = _match.Groups["resourceGroupName"].Value; - var machineName = _match.Groups["machineName"].Value; - var runCommandName = _match.Groups["runCommandName"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" + subscriptionId - + "/resourceGroups/" - + resourceGroupName - + "/providers/Microsoft.HybridCompute/machines/" - + machineName - + "/runCommands/" - + runCommandName + + "/providers/Microsoft.HybridCompute/licenses" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Delete, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } + // make the call + return await this.LicensesListBySubscriptionWithResult_Call (request, eventListener,sender); + } + } + + /// The operation to get all licenses of a non-Azure machine + /// The ID of the target subscription. + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 LicensesListBySubscriptionWithResult(string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + { + var apiVersion = @"2024-07-10"; + // Constant Parameters + using( NoSynchronizationContext ) + { + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + global::System.Uri.EscapeDataString(subscriptionId) + + "/providers/Microsoft.HybridCompute/licenses" + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } + + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - await this.MachineRunCommandsDelete_Call (request, onOk,onNoContent,onDefault,eventListener,sender); + return await this.LicensesListBySubscriptionWithResult_Call (request, eventListener,sender); + } + } + + /// + /// Actual wire call for method. + /// + /// the prepared HttpRequestMessage to send. + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + internal async global::System.Threading.Tasks.Task LicensesListBySubscriptionWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + { + using( NoSynchronizationContext ) + { + global::System.Net.Http.HttpResponseMessage _response = null; + try + { + var sendTask = sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; } + _response = await sendTask; + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return null; } + var _contentType = _response.Content.Headers.ContentType?.MediaType; + + switch ( _response.StatusCode ) + { + case global::System.Net.HttpStatusCode.OK: + { + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } + var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.LicensesListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); + return await _result; + } + default: + { + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } + var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ErrorResponse.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); + // Error Response : default + var code = (await _result)?.Code; + var message = (await _result)?.Message; + if ((null == code || null == message)) + { + // Unrecognized Response. Create an error record based on what we have. + var ex = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.RestException(_response, await _result); + throw ex; + } + else + { + throw new global::System.Exception($"[{code}] : {message}"); + } + } + } + } + finally + { + // finally statements + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Finally, request, _response); + _response?.Dispose(); + request?.Dispose(); + } } } - /// 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). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). /// an instance that will receive events. @@ -12650,7 +4747,7 @@ public partial class ConnectedMachine /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task MachineRunCommandsDelete_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task LicensesListBySubscription_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -12659,101 +4756,8 @@ public partial class ConnectedMachine { var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; } _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - // this operation supports x-ms-long-running-operation - var _originalUri = request.RequestUri.AbsoluteUri; - // declared final-state-via: location - var _finalUri = _response.GetFirstHeader(@"Location"); - var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); - var location = _response.GetFirstHeader(@"Location"); - var operationLocation = _response.GetFirstHeader(@"Operation-Location"); - while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) - { - // delay before making the next polling request - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.DelayBeforePolling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - - // while we wait, let's grab the headers and get ready to poll. - if (!System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Azure-AsyncOperation"))) { - asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); - } - if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Location"))) { - location = _response.GetFirstHeader(@"Location"); - } - if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Operation-Location"))) { - operationLocation = _response.GetFirstHeader(@"Operation-Location"); - } - var _uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? global::System.String.IsNullOrEmpty(operationLocation) ? _originalUri : operationLocation : location : asyncOperation; - request = request.CloneAndDispose(new global::System.Uri(_uri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); - - // and let's look at the current response body and see if we have some information we can give back to the listener - var content = await _response.Content.ReadAsStringAsync(); - - // drop the old response - _response?.Dispose(); - - // make the polling call - _response = await sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - - // if we got back an OK, take a peek inside and see if it's done - if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) - { - var error = false; - try { - if( Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json) - { - var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); - if( state is null ) - { - // the body doesn't contain any information that has the state of the LRO - // we're going to just get out, and let the consumer have the result - break; - } - - switch( state?.ToString()?.ToLower() ) - { - case "failed": - error = true; - break; - case "succeeded": - case "canceled": - // we're done polling. - break; - - default: - // need to keep polling! - _response.StatusCode = global::System.Net.HttpStatusCode.Created; - continue; - } - } - } catch { - // if we run into a problem peeking into the result, - // we really don't want to do anything special. - } - if (error) { - throw new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.UndeclaredResponseException(_response); - } - } - - // check for terminal status code - if (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) - { - continue; - } - // we are done polling, do a request on final target? - // create a new request with the final uri - request = request.CloneAndDispose(new global::System.Uri(_finalUri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); - - // drop the old response - _response?.Dispose(); - - // make the final call - _response = await sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - break; - } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return; } var _contentType = _response.Content.Headers.ContentType?.MediaType; @@ -12762,13 +4766,7 @@ public partial class ConnectedMachine case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response); - break; - } - case global::System.Net.HttpStatusCode.NoContent: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onNoContent(_response); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.LicensesListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -12790,49 +4788,40 @@ public partial class ConnectedMachine } /// - /// 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 name of the resource group. The name is case insensitive. - /// The name of the hybrid machine. - /// The name of the run command. /// an instance that will receive events. /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task MachineRunCommandsDelete_Validate(string subscriptionId, string resourceGroupName, string machineName, string runCommandName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task LicensesListBySubscription_Validate(string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); await eventListener.AssertMinimumLength(nameof(subscriptionId),subscriptionId,1); - await eventListener.AssertNotNull(nameof(resourceGroupName),resourceGroupName); - await eventListener.AssertMinimumLength(nameof(resourceGroupName),resourceGroupName,1); - await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); - await eventListener.AssertNotNull(nameof(machineName),machineName); - await eventListener.AssertRegEx(nameof(machineName), machineName, @"[a-zA-Z0-9-_\.]+"); - await eventListener.AssertNotNull(nameof(runCommandName),runCommandName); - await eventListener.AssertRegEx(nameof(runCommandName), runCommandName, @"[a-zA-Z0-9-_\.]+"); } } - /// The operation to get a run command. + /// The operation to update a license. /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. - /// The name of the hybrid machine. - /// The name of the run command. + /// The name of the license. + /// Parameters supplied to the Update license 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). /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. + /// Allows the caller to choose the depth of the serialization. See . /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task MachineRunCommandsGet(string subscriptionId, string resourceGroupName, string machineName, string runCommandName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task LicensesUpdate(string subscriptionId, string resourceGroupName, string licenseName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseUpdate body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { @@ -12842,10 +4831,8 @@ public partial class ConnectedMachine + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.HybridCompute/machines/" - + global::System.Uri.EscapeDataString(machineName) - + "/runCommands/" - + global::System.Uri.EscapeDataString(runCommandName) + + "/providers/Microsoft.HybridCompute/licenses/" + + global::System.Uri.EscapeDataString(licenseName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -12854,54 +4841,57 @@ public partial class ConnectedMachine // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Patch, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // set body content + request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.MachineRunCommandsGet_Call (request, onOk,onDefault,eventListener,sender); + await this.LicensesUpdate_Call (request, onOk,onDefault,eventListener,sender); } } - /// The operation to get a run command. + /// The operation to update a license. /// + /// Parameters supplied to the Update license 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). /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. + /// Allows the caller to choose the depth of the serialization. See . /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task MachineRunCommandsGetViaIdentity(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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task LicensesUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseUpdate body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/machines/(?[^/]+)/runCommands/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/licenses/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/runCommands/{runCommandName}'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/licenses/{licenseName}'"); } // replace URI parameters with values from identity var subscriptionId = _match.Groups["subscriptionId"].Value; var resourceGroupName = _match.Groups["resourceGroupName"].Value; - var machineName = _match.Groups["machineName"].Value; - var runCommandName = _match.Groups["runCommandName"].Value; + var licenseName = _match.Groups["licenseName"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName - + "/providers/Microsoft.HybridCompute/machines/" - + machineName - + "/runCommands/" - + runCommandName + + "/providers/Microsoft.HybridCompute/licenses/" + + licenseName + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -12910,52 +4900,55 @@ public partial class ConnectedMachine // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Patch, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // set body content + request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.MachineRunCommandsGet_Call (request, onOk,onDefault,eventListener,sender); + await this.LicensesUpdate_Call (request, onOk,onDefault,eventListener,sender); } } - /// The operation to get a run command. + /// The operation to update a license. /// + /// Parameters supplied to the Update license operation. /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. + /// Allows the caller to choose the depth of the serialization. See . /// - /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task MachineRunCommandsGetViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task LicensesUpdateViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseUpdate body, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/machines/(?[^/]+)/runCommands/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/licenses/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/runCommands/{runCommandName}'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/licenses/{licenseName}'"); } // replace URI parameters with values from identity var subscriptionId = _match.Groups["subscriptionId"].Value; var resourceGroupName = _match.Groups["resourceGroupName"].Value; - var machineName = _match.Groups["machineName"].Value; - var runCommandName = _match.Groups["runCommandName"].Value; + var licenseName = _match.Groups["licenseName"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName - + "/providers/Microsoft.HybridCompute/machines/" - + machineName - + "/runCommands/" - + runCommandName + + "/providers/Microsoft.HybridCompute/licenses/" + + licenseName + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -12964,29 +4957,81 @@ public partial class ConnectedMachine // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Patch, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } + // set body content + request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.MachineRunCommandsGetWithResult_Call (request, eventListener,sender); + return await this.LicensesUpdateWithResult_Call (request, eventListener,sender); } } - /// The operation to get a run command. + /// The operation to update a license. /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. - /// The name of the hybrid machine. - /// The name of the run command. + /// The name of the license. + /// Json string supplied to the LicensesUpdate 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). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 LicensesUpdateViaJsonString(string subscriptionId, string resourceGroupName, string licenseName, 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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + { + var apiVersion = @"2024-07-10"; + // Constant Parameters + using( NoSynchronizationContext ) + { + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + global::System.Uri.EscapeDataString(subscriptionId) + + "/resourceGroups/" + + global::System.Uri.EscapeDataString(resourceGroupName) + + "/providers/Microsoft.HybridCompute/licenses/" + + global::System.Uri.EscapeDataString(licenseName) + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Patch, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // set body content + request.Content = new global::System.Net.Http.StringContent(jsonString, global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } + // make the call + await this.LicensesUpdate_Call (request, onOk,onDefault,eventListener,sender); + } + } + + /// The operation to update a license. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. + /// The name of the license. + /// Json string supplied to the LicensesUpdate operation /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 MachineRunCommandsGetWithResult(string subscriptionId, string resourceGroupName, string machineName, string runCommandName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task LicensesUpdateViaJsonStringWithResult(string subscriptionId, string resourceGroupName, string licenseName, global::System.String jsonString, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { @@ -12996,10 +5041,8 @@ public partial class ConnectedMachine + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.HybridCompute/machines/" - + global::System.Uri.EscapeDataString(machineName) - + "/runCommands/" - + global::System.Uri.EscapeDataString(runCommandName) + + "/providers/Microsoft.HybridCompute/licenses/" + + global::System.Uri.EscapeDataString(licenseName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -13008,24 +5051,75 @@ public partial class ConnectedMachine // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Patch, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } + // set body content + request.Content = new global::System.Net.Http.StringContent(jsonString, global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } + // make the call + return await this.LicensesUpdateWithResult_Call (request, eventListener,sender); + } + } + + /// The operation to update a license. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. + /// The name of the license. + /// Parameters supplied to the Update license operation. + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. + /// Allows the caller to choose the depth of the serialization. See . + /// + /// A that will be complete when handling of the response is completed. + /// + public async global::System.Threading.Tasks.Task LicensesUpdateWithResult(string subscriptionId, string resourceGroupName, string licenseName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseUpdate body, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) + { + var apiVersion = @"2024-07-10"; + // Constant Parameters + using( NoSynchronizationContext ) + { + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + global::System.Uri.EscapeDataString(subscriptionId) + + "/resourceGroups/" + + global::System.Uri.EscapeDataString(resourceGroupName) + + "/providers/Microsoft.HybridCompute/licenses/" + + global::System.Uri.EscapeDataString(licenseName) + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } + + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Patch, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } + // set body content + request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.MachineRunCommandsGetWithResult_Call (request, eventListener,sender); + return await this.LicensesUpdateWithResult_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.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. /// - /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task MachineRunCommandsGetWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task LicensesUpdateWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -13034,8 +5128,103 @@ public partial class ConnectedMachine { var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; } _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } + // this operation supports x-ms-long-running-operation + var _originalUri = request.RequestUri.AbsoluteUri; + // declared final-state-via: default + var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); + var location = _response.GetFirstHeader(@"Location"); + var operationLocation = _response.GetFirstHeader(@"Operation-Location"); + while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + { + // delay before making the next polling request + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.DelayBeforePolling, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } + + // while we wait, let's grab the headers and get ready to poll. + if (!System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Azure-AsyncOperation"))) { + asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); + } + if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Location"))) { + location = _response.GetFirstHeader(@"Location"); + } + if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Operation-Location"))) { + operationLocation = _response.GetFirstHeader(@"Operation-Location"); + } + var _uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? global::System.String.IsNullOrEmpty(operationLocation) ? _originalUri : operationLocation : location : asyncOperation; + request = request.CloneAndDispose(new global::System.Uri(_uri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); + + // and let's look at the current response body and see if we have some information we can give back to the listener + var content = await _response.Content.ReadAsStringAsync(); + + // drop the old response + _response?.Dispose(); + + // make the polling call + _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } + + // if we got back an OK, take a peek inside and see if it's done + if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) + { + var error = false; + try { + if( Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json) + { + var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); + if( state is null ) + { + // the body doesn't contain any information that has the state of the LRO + // we're going to just get out, and let the consumer have the result + break; + } + + switch( state?.ToString()?.ToLower() ) + { + case "failed": + error = true; + break; + case "succeeded": + case "canceled": + // we're done polling. + break; + + default: + // need to keep polling! + _response.StatusCode = global::System.Net.HttpStatusCode.Created; + continue; + } + } + } catch { + // if we run into a problem peeking into the result, + // we really don't want to do anything special. + } + if (error) { + throw new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.UndeclaredResponseException(_response); + } + } + + // check for terminal status code + if (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + { + continue; + } + // we are done polling, do a request on final target? + if (!string.IsNullOrWhiteSpace(_originalUri)) + { + // create a new request with the final uri + request = request.CloneAndDispose(new global::System.Uri(_originalUri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); + + // drop the old response + _response?.Dispose(); + + // make the final call + _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } + break; + } + } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return null; } var _contentType = _response.Content.Headers.ContentType?.MediaType; @@ -13044,7 +5233,7 @@ public partial class ConnectedMachine case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.MachineRunCommand.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); + var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.License.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); return await _result; } default: @@ -13077,7 +5266,7 @@ public partial class ConnectedMachine } } - /// 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 @@ -13087,7 +5276,7 @@ public partial class ConnectedMachine /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task MachineRunCommandsGet_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task LicensesUpdate_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -13096,8 +5285,103 @@ public partial class ConnectedMachine { var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; } _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + // this operation supports x-ms-long-running-operation + var _originalUri = request.RequestUri.AbsoluteUri; + // declared final-state-via: default + var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); + var location = _response.GetFirstHeader(@"Location"); + var operationLocation = _response.GetFirstHeader(@"Operation-Location"); + while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + { + // delay before making the next polling request + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.DelayBeforePolling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + + // while we wait, let's grab the headers and get ready to poll. + if (!System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Azure-AsyncOperation"))) { + asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); + } + if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Location"))) { + location = _response.GetFirstHeader(@"Location"); + } + if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Operation-Location"))) { + operationLocation = _response.GetFirstHeader(@"Operation-Location"); + } + var _uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? global::System.String.IsNullOrEmpty(operationLocation) ? _originalUri : operationLocation : location : asyncOperation; + request = request.CloneAndDispose(new global::System.Uri(_uri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); + + // and let's look at the current response body and see if we have some information we can give back to the listener + var content = await _response.Content.ReadAsStringAsync(); + + // drop the old response + _response?.Dispose(); + + // make the polling call + _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + + // if we got back an OK, take a peek inside and see if it's done + if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) + { + var error = false; + try { + if( Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json) + { + var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); + if( state is null ) + { + // the body doesn't contain any information that has the state of the LRO + // we're going to just get out, and let the consumer have the result + break; + } + + switch( state?.ToString()?.ToLower() ) + { + case "failed": + error = true; + break; + case "succeeded": + case "canceled": + // we're done polling. + break; + + default: + // need to keep polling! + _response.StatusCode = global::System.Net.HttpStatusCode.Created; + continue; + } + } + } catch { + // if we run into a problem peeking into the result, + // we really don't want to do anything special. + } + if (error) { + throw new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.UndeclaredResponseException(_response); + } + } + + // check for terminal status code + if (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + { + continue; + } + // we are done polling, do a request on final target? + if (!string.IsNullOrWhiteSpace(_originalUri)) + { + // create a new request with the final uri + request = request.CloneAndDispose(new global::System.Uri(_originalUri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); + + // drop the old response + _response?.Dispose(); + + // make the final call + _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + break; + } + } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return; } var _contentType = _response.Content.Headers.ContentType?.MediaType; @@ -13106,7 +5390,7 @@ public partial class ConnectedMachine case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.MachineRunCommand.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.License.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -13128,18 +5412,18 @@ public partial class ConnectedMachine } /// - /// 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 name of the resource group. The name is case insensitive. - /// The name of the hybrid machine. - /// The name of the run command. + /// The name of the license. + /// Parameters supplied to the Update license operation. /// an instance that will receive events. /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task MachineRunCommandsGet_Validate(string subscriptionId, string resourceGroupName, string machineName, string runCommandName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task LicensesUpdate_Validate(string subscriptionId, string resourceGroupName, string licenseName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseUpdate body, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -13148,29 +5432,28 @@ public partial class ConnectedMachine await eventListener.AssertNotNull(nameof(resourceGroupName),resourceGroupName); await eventListener.AssertMinimumLength(nameof(resourceGroupName),resourceGroupName,1); await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); - await eventListener.AssertNotNull(nameof(machineName),machineName); - await eventListener.AssertRegEx(nameof(machineName), machineName, @"[a-zA-Z0-9-_\.]+"); - await eventListener.AssertNotNull(nameof(runCommandName),runCommandName); - await eventListener.AssertRegEx(nameof(runCommandName), runCommandName, @"[a-zA-Z0-9-_\.]+"); + await eventListener.AssertNotNull(nameof(licenseName),licenseName); + await eventListener.AssertRegEx(nameof(licenseName), licenseName, @"[a-zA-Z0-9-_\.]+"); + await eventListener.AssertNotNull(nameof(body), body); + await eventListener.AssertObjectIsValid(nameof(body), body); } } - /// The operation to get all the run commands of a non-Azure machine. + /// The operation to validate a license. /// The ID of the target subscription. - /// The name of the resource group. The name is case insensitive. - /// The name of the hybrid machine. - /// The expand expression to apply on the operation. + /// Parameters supplied to the license validation 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). /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. + /// Allows the caller to choose the depth of the serialization. See . /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task MachineRunCommandsList(string subscriptionId, string resourceGroupName, string machineName, string Expand, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task LicensesValidateLicense(string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicense body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { @@ -13178,14 +5461,8 @@ public partial class ConnectedMachine var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) - + "/resourceGroups/" - + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.HybridCompute/machines/" - + global::System.Uri.EscapeDataString(machineName) - + "/runCommands" + + "/providers/Microsoft.HybridCompute/validateLicense" + "?" - + (string.IsNullOrEmpty(Expand) ? global::System.String.Empty : "$expand=" + global::System.Uri.EscapeDataString(Expand)) - + "&" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -13193,56 +5470,53 @@ public partial class ConnectedMachine // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Post, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // set body content + request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.MachineRunCommandsList_Call (request, onOk,onDefault,eventListener,sender); + await this.LicensesValidateLicense_Call (request, onOk,onDefault,eventListener,sender); } } - /// The operation to get all the run commands of a non-Azure machine. + /// The operation to validate a license. /// - /// The expand expression to apply on the operation. + /// Parameters supplied to the license validation 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). /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. + /// Allows the caller to choose the depth of the serialization. See . /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task MachineRunCommandsListViaIdentity(global::System.String viaIdentity, string Expand, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task LicensesValidateLicenseViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicense body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/machines/(?[^/]+)/runCommands$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/providers/Microsoft.HybridCompute$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/runCommands'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute'"); } // replace URI parameters with values from identity var subscriptionId = _match.Groups["subscriptionId"].Value; - var resourceGroupName = _match.Groups["resourceGroupName"].Value; - var machineName = _match.Groups["machineName"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" + subscriptionId - + "/resourceGroups/" - + resourceGroupName - + "/providers/Microsoft.HybridCompute/machines/" - + machineName - + "/runCommands" + + "/providers/Microsoft.HybridCompute/validateLicense" + "?" - + (string.IsNullOrEmpty(Expand) ? global::System.String.Empty : "$expand=" + global::System.Uri.EscapeDataString(Expand)) - + "&" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -13250,54 +5524,135 @@ public partial class ConnectedMachine // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Post, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // set body content + request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.MachineRunCommandsList_Call (request, onOk,onDefault,eventListener,sender); + await this.LicensesValidateLicense_Call (request, onOk,onDefault,eventListener,sender); } } - /// The operation to get all the run commands of a non-Azure machine. + /// The operation to validate a license. /// - /// The expand expression to apply on the operation. + /// Parameters supplied to the license validation operation. /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. + /// Allows the caller to choose the depth of the serialization. See . /// - /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task MachineRunCommandsListViaIdentityWithResult(global::System.String viaIdentity, string Expand, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task LicensesValidateLicenseViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicense body, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/machines/(?[^/]+)/runCommands$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/providers/Microsoft.HybridCompute$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/runCommands'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute'"); } // replace URI parameters with values from identity var subscriptionId = _match.Groups["subscriptionId"].Value; - var resourceGroupName = _match.Groups["resourceGroupName"].Value; - var machineName = _match.Groups["machineName"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" + subscriptionId - + "/resourceGroups/" - + resourceGroupName - + "/providers/Microsoft.HybridCompute/machines/" - + machineName - + "/runCommands" + + "/providers/Microsoft.HybridCompute/validateLicense" + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } + + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Post, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } + // set body content + request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } + // make the call + return await this.LicensesValidateLicenseWithResult_Call (request, eventListener,sender); + } + } + + /// The operation to validate a license. + /// The ID of the target subscription. + /// Json string supplied to the LicensesValidateLicense 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). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 LicensesValidateLicenseViaJsonString(string subscriptionId, 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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + { + var apiVersion = @"2024-07-10"; + // Constant Parameters + using( NoSynchronizationContext ) + { + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + global::System.Uri.EscapeDataString(subscriptionId) + + "/providers/Microsoft.HybridCompute/validateLicense" + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Post, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // set body content + request.Content = new global::System.Net.Http.StringContent(jsonString, global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } + // make the call + await this.LicensesValidateLicense_Call (request, onOk,onDefault,eventListener,sender); + } + } + + /// The operation to validate a license. + /// The ID of the target subscription. + /// Json string supplied to the LicensesValidateLicense operation + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 LicensesValidateLicenseViaJsonStringWithResult(string subscriptionId, global::System.String jsonString, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + { + var apiVersion = @"2024-07-10"; + // Constant Parameters + using( NoSynchronizationContext ) + { + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + global::System.Uri.EscapeDataString(subscriptionId) + + "/providers/Microsoft.HybridCompute/validateLicense" + "?" - + (string.IsNullOrEmpty(Expand) ? global::System.String.Empty : "$expand=" + global::System.Uri.EscapeDataString(Expand)) - + "&" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -13305,29 +5660,32 @@ public partial class ConnectedMachine // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Post, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } + // set body content + request.Content = new global::System.Net.Http.StringContent(jsonString, global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.MachineRunCommandsListWithResult_Call (request, eventListener,sender); + return await this.LicensesValidateLicenseWithResult_Call (request, eventListener,sender); } } - /// The operation to get all the run commands of a non-Azure machine. + /// The operation to validate a license. /// The ID of the target subscription. - /// The name of the resource group. The name is case insensitive. - /// The name of the hybrid machine. - /// The expand expression to apply on the operation. + /// Parameters supplied to the license validation operation. /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. + /// Allows the caller to choose the depth of the serialization. See . /// - /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task MachineRunCommandsListWithResult(string subscriptionId, string resourceGroupName, string machineName, string Expand, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task LicensesValidateLicenseWithResult(string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicense body, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { @@ -13335,14 +5693,8 @@ public partial class ConnectedMachine var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) - + "/resourceGroups/" - + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.HybridCompute/machines/" - + global::System.Uri.EscapeDataString(machineName) - + "/runCommands" + + "/providers/Microsoft.HybridCompute/validateLicense" + "?" - + (string.IsNullOrEmpty(Expand) ? global::System.String.Empty : "$expand=" + global::System.Uri.EscapeDataString(Expand)) - + "&" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -13350,24 +5702,28 @@ public partial class ConnectedMachine // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Post, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } + // set body content + request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.MachineRunCommandsListWithResult_Call (request, eventListener,sender); + return await this.LicensesValidateLicenseWithResult_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.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. /// - /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task MachineRunCommandsListWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task LicensesValidateLicenseWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -13376,70 +5732,262 @@ public partial class ConnectedMachine { var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; } _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } + // this operation supports x-ms-long-running-operation + var _originalUri = request.RequestUri.AbsoluteUri; + // declared final-state-via: default + var _finalUri = _response.GetFirstHeader(@"Location"); + var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); + var location = _response.GetFirstHeader(@"Location"); + var operationLocation = _response.GetFirstHeader(@"Operation-Location"); + while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + { + // delay before making the next polling request + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.DelayBeforePolling, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } + + // while we wait, let's grab the headers and get ready to poll. + if (!System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Azure-AsyncOperation"))) { + asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); + } + if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Location"))) { + location = _response.GetFirstHeader(@"Location"); + } + if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Operation-Location"))) { + operationLocation = _response.GetFirstHeader(@"Operation-Location"); + } + var _uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? global::System.String.IsNullOrEmpty(operationLocation) ? _originalUri : operationLocation : location : asyncOperation; + request = request.CloneAndDispose(new global::System.Uri(_uri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); + + // and let's look at the current response body and see if we have some information we can give back to the listener + var content = await _response.Content.ReadAsStringAsync(); + + // drop the old response + _response?.Dispose(); + + // make the polling call + _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } + + // if we got back an OK, take a peek inside and see if it's done + if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) + { + var error = false; + try { + if( Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json) + { + var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); + if( state is null ) + { + // the body doesn't contain any information that has the state of the LRO + // we're going to just get out, and let the consumer have the result + break; + } + + switch( state?.ToString()?.ToLower() ) + { + case "failed": + error = true; + break; + case "succeeded": + case "canceled": + // we're done polling. + break; + + default: + // need to keep polling! + _response.StatusCode = global::System.Net.HttpStatusCode.Created; + continue; + } + } + } catch { + // if we run into a problem peeking into the result, + // we really don't want to do anything special. + } + if (error) { + throw new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.UndeclaredResponseException(_response); + } + } + + // check for terminal status code + if (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + { + continue; + } + // we are done polling, do a request on final target? + if (!string.IsNullOrWhiteSpace(_finalUri)) + { + // create a new request with the final uri + request = request.CloneAndDispose(new global::System.Uri(_finalUri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); + + // drop the old response + _response?.Dispose(); + + // make the final call + _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } + break; + } + } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return null; } var _contentType = _response.Content.Headers.ContentType?.MediaType; - switch ( _response.StatusCode ) - { - case global::System.Net.HttpStatusCode.OK: + switch ( _response.StatusCode ) + { + case global::System.Net.HttpStatusCode.OK: + { + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } + var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.License.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); + return await _result; + } + default: + { + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } + var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ErrorResponse.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); + // Error Response : default + var code = (await _result)?.Code; + var message = (await _result)?.Message; + if ((null == code || null == message)) + { + // Unrecognized Response. Create an error record based on what we have. + var ex = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.RestException(_response, await _result); + throw ex; + } + else + { + throw new global::System.Exception($"[{code}] : {message}"); + } + } + } + } + finally + { + // finally statements + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Finally, request, _response); + _response?.Dispose(); + request?.Dispose(); + } + } + } + + /// 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 + /// elsewhere). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + internal async global::System.Threading.Tasks.Task LicensesValidateLicense_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + { + using( NoSynchronizationContext ) + { + global::System.Net.Http.HttpResponseMessage _response = null; + try + { + var sendTask = sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; } + _response = await sendTask; + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + // this operation supports x-ms-long-running-operation + var _originalUri = request.RequestUri.AbsoluteUri; + // declared final-state-via: default + var _finalUri = _response.GetFirstHeader(@"Location"); + var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); + var location = _response.GetFirstHeader(@"Location"); + var operationLocation = _response.GetFirstHeader(@"Operation-Location"); + while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + { + // delay before making the next polling request + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.DelayBeforePolling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + + // while we wait, let's grab the headers and get ready to poll. + if (!System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Azure-AsyncOperation"))) { + asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); + } + if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Location"))) { + location = _response.GetFirstHeader(@"Location"); + } + if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Operation-Location"))) { + operationLocation = _response.GetFirstHeader(@"Operation-Location"); + } + var _uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? global::System.String.IsNullOrEmpty(operationLocation) ? _originalUri : operationLocation : location : asyncOperation; + request = request.CloneAndDispose(new global::System.Uri(_uri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); + + // and let's look at the current response body and see if we have some information we can give back to the listener + var content = await _response.Content.ReadAsStringAsync(); + + // drop the old response + _response?.Dispose(); + + // make the polling call + _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + + // if we got back an OK, take a peek inside and see if it's done + if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) + { + var error = false; + try { + if( Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json) + { + var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); + if( state is null ) + { + // the body doesn't contain any information that has the state of the LRO + // we're going to just get out, and let the consumer have the result + break; + } + + switch( state?.ToString()?.ToLower() ) + { + case "failed": + error = true; + break; + case "succeeded": + case "canceled": + // we're done polling. + break; + + default: + // need to keep polling! + _response.StatusCode = global::System.Net.HttpStatusCode.Created; + continue; + } + } + } catch { + // if we run into a problem peeking into the result, + // we really don't want to do anything special. + } + if (error) { + throw new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.UndeclaredResponseException(_response); + } + } + + // check for terminal status code + if (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.MachineRunCommandsListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); - return await _result; + continue; } - default: + // we are done polling, do a request on final target? + if (!string.IsNullOrWhiteSpace(_finalUri)) { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ErrorResponse.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); - // Error Response : default - var code = (await _result)?.Code; - var message = (await _result)?.Message; - if ((null == code || null == message)) - { - // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.RestException(_response, await _result); - throw ex; - } - else - { - throw new global::System.Exception($"[{code}] : {message}"); - } + // create a new request with the final uri + request = request.CloneAndDispose(new global::System.Uri(_finalUri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); + + // drop the old response + _response?.Dispose(); + + // make the final call + _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + break; } } - } - finally - { - // finally statements - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Finally, request, _response); - _response?.Dispose(); - request?.Dispose(); - } - } - } - - /// 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 - /// elsewhere). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// - /// A that will be complete when handling of the response is completed. - /// - internal async global::System.Threading.Tasks.Task MachineRunCommandsList_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - using( NoSynchronizationContext ) - { - global::System.Net.Http.HttpResponseMessage _response = null; - try - { - var sendTask = sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sendTask; - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return; } var _contentType = _response.Content.Headers.ContentType?.MediaType; @@ -13448,7 +5996,7 @@ public partial class ConnectedMachine case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.MachineRunCommandsListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.License.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -13470,47 +6018,44 @@ public partial class ConnectedMachine } /// - /// 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 name of the resource group. The name is case insensitive. - /// The name of the hybrid machine. - /// The expand expression to apply on the operation. + /// Parameters supplied to the license validation operation. /// an instance that will receive events. /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task MachineRunCommandsList_Validate(string subscriptionId, string resourceGroupName, string machineName, string Expand, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task LicensesValidateLicense_Validate(string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicense body, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); await eventListener.AssertMinimumLength(nameof(subscriptionId),subscriptionId,1); - await eventListener.AssertNotNull(nameof(resourceGroupName),resourceGroupName); - await eventListener.AssertMinimumLength(nameof(resourceGroupName),resourceGroupName,1); - await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); - await eventListener.AssertNotNull(nameof(machineName),machineName); - await eventListener.AssertRegEx(nameof(machineName), machineName, @"[a-zA-Z0-9-_\.]+"); - await eventListener.AssertNotNull(nameof(Expand),Expand); + await eventListener.AssertNotNull(nameof(body), body); + await eventListener.AssertObjectIsValid(nameof(body), body); } } - /// The operation to assess patches on a hybrid machine identity in Azure. + /// The operation to update the extension. /// The ID of the target subscription. - /// The name of the resource group. - /// The name of the hybrid machine. + /// The name of the resource group. The name is case insensitive. + /// The name of the machine where the extension should be created or updated. + /// The name of the machine extension. + /// Parameters supplied to the Create Machine Extension 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). /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. + /// Allows the caller to choose the depth of the serialization. See . /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task MachinesAssessPatches(string subscriptionId, string resourceGroupName, string name, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task MachineExtensionsCreateOrUpdate(string subscriptionId, string resourceGroupName, string machineName, string extensionName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtension body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { @@ -13521,8 +6066,9 @@ public partial class ConnectedMachine + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) + "/providers/Microsoft.HybridCompute/machines/" - + global::System.Uri.EscapeDataString(name) - + "/assessPatches" + + global::System.Uri.EscapeDataString(machineName) + + "/extensions/" + + global::System.Uri.EscapeDataString(extensionName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -13531,43 +6077,50 @@ public partial class ConnectedMachine // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Post, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Put, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // set body content + request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.MachinesAssessPatches_Call (request, onOk,onDefault,eventListener,sender); + await this.MachineExtensionsCreateOrUpdate_Call (request, onOk,onDefault,eventListener,sender); } } - /// The operation to assess patches on a hybrid machine identity in Azure. + /// The operation to update the extension. /// + /// Parameters supplied to the Create Machine Extension 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). /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. + /// Allows the caller to choose the depth of the serialization. See . /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task MachinesAssessPatchesViaIdentity(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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task MachineExtensionsCreateOrUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtension body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/machines/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/machines/(?[^/]+)/extensions/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{name}'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}'"); } // replace URI parameters with values from identity var subscriptionId = _match.Groups["subscriptionId"].Value; var resourceGroupName = _match.Groups["resourceGroupName"].Value; - var name = _match.Groups["name"].Value; + var machineName = _match.Groups["machineName"].Value; + var extensionName = _match.Groups["extensionName"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" @@ -13575,8 +6128,9 @@ public partial class ConnectedMachine + "/resourceGroups/" + resourceGroupName + "/providers/Microsoft.HybridCompute/machines/" - + name - + "/assessPatches" + + machineName + + "/extensions/" + + extensionName + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -13585,41 +6139,48 @@ public partial class ConnectedMachine // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Post, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Put, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // set body content + request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.MachinesAssessPatches_Call (request, onOk,onDefault,eventListener,sender); + await this.MachineExtensionsCreateOrUpdate_Call (request, onOk,onDefault,eventListener,sender); } } - /// The operation to assess patches on a hybrid machine identity in Azure. + /// The operation to update the extension. /// + /// Parameters supplied to the Create Machine Extension operation. /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. + /// Allows the caller to choose the depth of the serialization. See . /// - /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task MachinesAssessPatchesViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task MachineExtensionsCreateOrUpdateViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtension body, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/machines/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/machines/(?[^/]+)/extensions/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{name}'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}'"); } // replace URI parameters with values from identity var subscriptionId = _match.Groups["subscriptionId"].Value; var resourceGroupName = _match.Groups["resourceGroupName"].Value; - var name = _match.Groups["name"].Value; + var machineName = _match.Groups["machineName"].Value; + var extensionName = _match.Groups["extensionName"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" @@ -13627,8 +6188,109 @@ public partial class ConnectedMachine + "/resourceGroups/" + resourceGroupName + "/providers/Microsoft.HybridCompute/machines/" - + name - + "/assessPatches" + + machineName + + "/extensions/" + + extensionName + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } + + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Put, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } + // set body content + request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } + // make the call + return await this.MachineExtensionsCreateOrUpdateWithResult_Call (request, eventListener,sender); + } + } + + /// The operation to update the extension. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. + /// The name of the machine where the extension should be created or updated. + /// The name of the machine extension. + /// Json string supplied to the MachineExtensionsCreateOrUpdate 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). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 MachineExtensionsCreateOrUpdateViaJsonString(string subscriptionId, string resourceGroupName, string machineName, string extensionName, 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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + { + var apiVersion = @"2024-07-10"; + // Constant Parameters + using( NoSynchronizationContext ) + { + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + global::System.Uri.EscapeDataString(subscriptionId) + + "/resourceGroups/" + + global::System.Uri.EscapeDataString(resourceGroupName) + + "/providers/Microsoft.HybridCompute/machines/" + + global::System.Uri.EscapeDataString(machineName) + + "/extensions/" + + global::System.Uri.EscapeDataString(extensionName) + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Put, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // set body content + request.Content = new global::System.Net.Http.StringContent(jsonString, global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } + // make the call + await this.MachineExtensionsCreateOrUpdate_Call (request, onOk,onDefault,eventListener,sender); + } + } + + /// The operation to update the extension. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. + /// The name of the machine where the extension should be created or updated. + /// The name of the machine extension. + /// Json string supplied to the MachineExtensionsCreateOrUpdate operation + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 MachineExtensionsCreateOrUpdateViaJsonStringWithResult(string subscriptionId, string resourceGroupName, string machineName, string extensionName, global::System.String jsonString, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + { + var apiVersion = @"2024-07-10"; + // Constant Parameters + using( NoSynchronizationContext ) + { + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + global::System.Uri.EscapeDataString(subscriptionId) + + "/resourceGroups/" + + global::System.Uri.EscapeDataString(resourceGroupName) + + "/providers/Microsoft.HybridCompute/machines/" + + global::System.Uri.EscapeDataString(machineName) + + "/extensions/" + + global::System.Uri.EscapeDataString(extensionName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -13637,28 +6299,35 @@ public partial class ConnectedMachine // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Post, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Put, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } + // set body content + request.Content = new global::System.Net.Http.StringContent(jsonString, global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.MachinesAssessPatchesWithResult_Call (request, eventListener,sender); + return await this.MachineExtensionsCreateOrUpdateWithResult_Call (request, eventListener,sender); } } - /// The operation to assess patches on a hybrid machine identity in Azure. + /// The operation to update the extension. /// The ID of the target subscription. - /// The name of the resource group. - /// The name of the hybrid machine. + /// The name of the resource group. The name is case insensitive. + /// The name of the machine where the extension should be created or updated. + /// The name of the machine extension. + /// Parameters supplied to the Create Machine Extension operation. /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. + /// Allows the caller to choose the depth of the serialization. See . /// - /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task MachinesAssessPatchesWithResult(string subscriptionId, string resourceGroupName, string name, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task MachineExtensionsCreateOrUpdateWithResult(string subscriptionId, string resourceGroupName, string machineName, string extensionName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtension body, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { @@ -13669,8 +6338,9 @@ public partial class ConnectedMachine + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) + "/providers/Microsoft.HybridCompute/machines/" - + global::System.Uri.EscapeDataString(name) - + "/assessPatches" + + global::System.Uri.EscapeDataString(machineName) + + "/extensions/" + + global::System.Uri.EscapeDataString(extensionName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -13679,24 +6349,30 @@ public partial class ConnectedMachine // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Post, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Put, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } + // set body content + request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.MachinesAssessPatchesWithResult_Call (request, eventListener,sender); + return await this.MachineExtensionsCreateOrUpdateWithResult_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.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. /// - /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task MachinesAssessPatchesWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task MachineExtensionsCreateOrUpdateWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -13710,8 +6386,7 @@ public partial class ConnectedMachine await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } // this operation supports x-ms-long-running-operation var _originalUri = request.RequestUri.AbsoluteUri; - // declared final-state-via: location - var _finalUri = _response.GetFirstHeader(@"Location"); + // declared final-state-via: default var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); var location = _response.GetFirstHeader(@"Location"); var operationLocation = _response.GetFirstHeader(@"Operation-Location"); @@ -13789,16 +6464,19 @@ public partial class ConnectedMachine continue; } // we are done polling, do a request on final target? - // create a new request with the final uri - request = request.CloneAndDispose(new global::System.Uri(_finalUri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); + if (!string.IsNullOrWhiteSpace(_originalUri)) + { + // create a new request with the final uri + request = request.CloneAndDispose(new global::System.Uri(_originalUri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); - // drop the old response - _response?.Dispose(); + // drop the old response + _response?.Dispose(); - // make the final call - _response = await sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - break; + // make the final call + _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } + break; + } } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return null; } var _contentType = _response.Content.Headers.ContentType?.MediaType; @@ -13808,7 +6486,7 @@ public partial class ConnectedMachine case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.MachineAssessPatchesResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); + var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.MachineExtension.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); return await _result; } default: @@ -13841,7 +6519,7 @@ public partial class ConnectedMachine } } - /// 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 @@ -13851,7 +6529,7 @@ public partial class ConnectedMachine /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task MachinesAssessPatches_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task MachineExtensionsCreateOrUpdate_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -13865,8 +6543,7 @@ public partial class ConnectedMachine await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // this operation supports x-ms-long-running-operation var _originalUri = request.RequestUri.AbsoluteUri; - // declared final-state-via: location - var _finalUri = _response.GetFirstHeader(@"Location"); + // declared final-state-via: default var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); var location = _response.GetFirstHeader(@"Location"); var operationLocation = _response.GetFirstHeader(@"Operation-Location"); @@ -13943,189 +6620,21 @@ public partial class ConnectedMachine { continue; } - // we are done polling, do a request on final target? - // create a new request with the final uri - request = request.CloneAndDispose(new global::System.Uri(_finalUri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); - - // drop the old response - _response?.Dispose(); - - // make the final call - _response = await sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - break; - } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return; } - var _contentType = _response.Content.Headers.ContentType?.MediaType; - - switch ( _response.StatusCode ) - { - case global::System.Net.HttpStatusCode.OK: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.MachineAssessPatchesResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); - break; - } - default: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ErrorResponse.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); - break; - } - } - } - finally - { - // finally statements - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Finally, request, _response); - _response?.Dispose(); - request?.Dispose(); - } - } - } - - /// - /// Validation method for method. Call this like the actual call, but you will get validation - /// events back. - /// - /// The ID of the target subscription. - /// The name of the resource group. - /// The name of the hybrid machine. - /// an instance that will receive events. - /// - /// A that will be complete when handling of the response is completed. - /// - internal async global::System.Threading.Tasks.Task MachinesAssessPatches_Validate(string subscriptionId, string resourceGroupName, string name, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) - { - using( NoSynchronizationContext ) - { - await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); - await eventListener.AssertMinimumLength(nameof(subscriptionId),subscriptionId,1); - await eventListener.AssertNotNull(nameof(resourceGroupName),resourceGroupName); - await eventListener.AssertNotNull(nameof(name),name); - } - } - - /// The operation to delete a hybrid machine. - /// The ID of the target subscription. - /// The name of the resource group. The name is case insensitive. - /// The name of the hybrid machine. - /// a delegate that is called when the remote service returns 200 (OK). - /// a delegate that is called when the remote service returns 204 (NoContent). - /// a delegate that is called when the remote service returns default (any response code not handled - /// elsewhere). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 MachinesDelete(string subscriptionId, string resourceGroupName, string machineName, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + global::System.Uri.EscapeDataString(subscriptionId) - + "/resourceGroups/" - + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.HybridCompute/machines/" - + global::System.Uri.EscapeDataString(machineName) - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Delete, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // make the call - await this.MachinesDelete_Call (request, onOk,onNoContent,onDefault,eventListener,sender); - } - } - - /// The operation to delete a hybrid machine. - /// - /// a delegate that is called when the remote service returns 200 (OK). - /// a delegate that is called when the remote service returns 204 (NoContent). - /// a delegate that is called when the remote service returns default (any response code not handled - /// elsewhere). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 MachinesDeleteViaIdentity(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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // verify that Identity format is an exact match for uri - - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/machines/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); - if (!_match.Success) - { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}'"); - } - - // replace URI parameters with values from identity - var subscriptionId = _match.Groups["subscriptionId"].Value; - var resourceGroupName = _match.Groups["resourceGroupName"].Value; - var machineName = _match.Groups["machineName"].Value; - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + subscriptionId - + "/resourceGroups/" - + resourceGroupName - + "/providers/Microsoft.HybridCompute/machines/" - + machineName - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Delete, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // make the call - await this.MachinesDelete_Call (request, onOk,onNoContent,onDefault,eventListener,sender); - } - } - - /// 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). - /// a delegate that is called when the remote service returns default (any response code not handled - /// elsewhere). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// - /// A that will be complete when handling of the response is completed. - /// - internal async global::System.Threading.Tasks.Task MachinesDelete_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - using( NoSynchronizationContext ) - { - global::System.Net.Http.HttpResponseMessage _response = null; - try - { - var sendTask = sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sendTask; - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + // we are done polling, do a request on final target? + if (!string.IsNullOrWhiteSpace(_originalUri)) + { + // create a new request with the final uri + request = request.CloneAndDispose(new global::System.Uri(_originalUri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); + + // drop the old response + _response?.Dispose(); + + // make the final call + _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + break; + } + } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return; } var _contentType = _response.Content.Headers.ContentType?.MediaType; @@ -14134,13 +6643,7 @@ public partial class ConnectedMachine case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response); - break; - } - case global::System.Net.HttpStatusCode.NoContent: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onNoContent(_response); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.MachineExtension.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -14162,17 +6665,19 @@ public partial class ConnectedMachine } /// - /// 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 name of the resource group. The name is case insensitive. - /// The name of the hybrid machine. + /// The name of the machine where the extension should be created or updated. + /// The name of the machine extension. + /// Parameters supplied to the Create Machine Extension operation. /// an instance that will receive events. /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task MachinesDelete_Validate(string subscriptionId, string resourceGroupName, string machineName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task MachineExtensionsCreateOrUpdate_Validate(string subscriptionId, string resourceGroupName, string machineName, string extensionName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtension body, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -14185,17 +6690,19 @@ public partial class ConnectedMachine await eventListener.AssertMinimumLength(nameof(machineName),machineName,1); await eventListener.AssertMaximumLength(nameof(machineName),machineName,54); await eventListener.AssertRegEx(nameof(machineName), machineName, @"^[a-zA-Z0-9-_\.]{1,54}$"); + await eventListener.AssertNotNull(nameof(extensionName),extensionName); + await eventListener.AssertNotNull(nameof(body), body); + await eventListener.AssertObjectIsValid(nameof(body), body); } } - /// - /// Retrieves information about the model view or the instance view of a hybrid machine. - /// + /// The operation to delete the extension. /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. - /// The name of the hybrid machine. - /// The expand expression to apply on the operation. + /// The name of the machine where the extension should be deleted. + /// The name of the machine extension. /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns 204 (NoContent). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). /// an instance that will receive events. @@ -14203,9 +6710,9 @@ public partial class ConnectedMachine /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task MachinesGet(string subscriptionId, string resourceGroupName, string machineName, string Expand, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task MachineExtensionsDelete(string subscriptionId, string resourceGroupName, string machineName, string extensionName, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { @@ -14217,31 +6724,29 @@ public partial class ConnectedMachine + global::System.Uri.EscapeDataString(resourceGroupName) + "/providers/Microsoft.HybridCompute/machines/" + global::System.Uri.EscapeDataString(machineName) + + "/extensions/" + + global::System.Uri.EscapeDataString(extensionName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - + "&" - + (string.IsNullOrEmpty(Expand) ? global::System.String.Empty : "$expand=" + global::System.Uri.EscapeDataString(Expand)) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Delete, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.MachinesGet_Call (request, onOk,onDefault,eventListener,sender); + await this.MachineExtensionsDelete_Call (request, onOk,onNoContent,onDefault,eventListener,sender); } } - /// - /// Retrieves information about the model view or the instance view of a hybrid machine. - /// + /// The operation to delete the extension. /// - /// The expand expression to apply on the operation. /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns 204 (NoContent). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). /// an instance that will receive events. @@ -14249,24 +6754,25 @@ public partial class ConnectedMachine /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task MachinesGetViaIdentity(global::System.String viaIdentity, string Expand, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task MachineExtensionsDeleteViaIdentity(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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/machines/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/machines/(?[^/]+)/extensions/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}'"); } // replace URI parameters with values from identity var subscriptionId = _match.Groups["subscriptionId"].Value; var resourceGroupName = _match.Groups["resourceGroupName"].Value; var machineName = _match.Groups["machineName"].Value; + var extensionName = _match.Groups["extensionName"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" @@ -14275,208 +6781,143 @@ public partial class ConnectedMachine + resourceGroupName + "/providers/Microsoft.HybridCompute/machines/" + machineName + + "/extensions/" + + extensionName + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - + "&" - + (string.IsNullOrEmpty(Expand) ? global::System.String.Empty : "$expand=" + global::System.Uri.EscapeDataString(Expand)) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Delete, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.MachinesGet_Call (request, onOk,onDefault,eventListener,sender); + await this.MachineExtensionsDelete_Call (request, onOk,onNoContent,onDefault,eventListener,sender); } } - /// - /// Retrieves information about the model view or the instance view of a hybrid machine. - /// - /// - /// The expand expression to apply on the operation. + /// 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). + /// a delegate that is called when the remote service returns default (any response code not handled + /// elsewhere). /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. /// - /// A that will be complete when handling of the response is completed. + /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task MachinesGetViaIdentityWithResult(global::System.String viaIdentity, string Expand, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task MachineExtensionsDelete_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters using( NoSynchronizationContext ) { - // verify that Identity format is an exact match for uri - - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/machines/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); - if (!_match.Success) + global::System.Net.Http.HttpResponseMessage _response = null; + try { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}'"); - } - - // replace URI parameters with values from identity - var subscriptionId = _match.Groups["subscriptionId"].Value; - var resourceGroupName = _match.Groups["resourceGroupName"].Value; - var machineName = _match.Groups["machineName"].Value; - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + subscriptionId - + "/resourceGroups/" - + resourceGroupName - + "/providers/Microsoft.HybridCompute/machines/" - + machineName - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - + "&" - + (string.IsNullOrEmpty(Expand) ? global::System.String.Empty : "$expand=" + global::System.Uri.EscapeDataString(Expand)) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } + var sendTask = sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; } + _response = await sendTask; + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + // this operation supports x-ms-long-running-operation + var _originalUri = request.RequestUri.AbsoluteUri; + // declared final-state-via: default + var _finalUri = _response.GetFirstHeader(@"Location"); + var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); + var location = _response.GetFirstHeader(@"Location"); + var operationLocation = _response.GetFirstHeader(@"Operation-Location"); + while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + { + // delay before making the next polling request + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.DelayBeforePolling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } + // while we wait, let's grab the headers and get ready to poll. + if (!System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Azure-AsyncOperation"))) { + asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); + } + if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Location"))) { + location = _response.GetFirstHeader(@"Location"); + } + if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Operation-Location"))) { + operationLocation = _response.GetFirstHeader(@"Operation-Location"); + } + var _uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? global::System.String.IsNullOrEmpty(operationLocation) ? _originalUri : operationLocation : location : asyncOperation; + request = request.CloneAndDispose(new global::System.Uri(_uri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } - // make the call - return await this.MachinesGetWithResult_Call (request, eventListener,sender); - } - } + // and let's look at the current response body and see if we have some information we can give back to the listener + var content = await _response.Content.ReadAsStringAsync(); - /// - /// Retrieves information about the model view or the instance view of a hybrid machine. - /// - /// The ID of the target subscription. - /// The name of the resource group. The name is case insensitive. - /// The name of the hybrid machine. - /// The expand expression to apply on the operation. - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 MachinesGetWithResult(string subscriptionId, string resourceGroupName, string machineName, string Expand, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + global::System.Uri.EscapeDataString(subscriptionId) - + "/resourceGroups/" - + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.HybridCompute/machines/" - + global::System.Uri.EscapeDataString(machineName) - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - + "&" - + (string.IsNullOrEmpty(Expand) ? global::System.String.Empty : "$expand=" + global::System.Uri.EscapeDataString(Expand)) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + // drop the old response + _response?.Dispose(); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } + // make the polling call + _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } + // if we got back an OK, take a peek inside and see if it's done + if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) + { + var error = false; + try { + if( Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json) + { + var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); + if( state is null ) + { + // the body doesn't contain any information that has the state of the LRO + // we're going to just get out, and let the consumer have the result + break; + } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } - // make the call - return await this.MachinesGetWithResult_Call (request, eventListener,sender); - } - } + switch( state?.ToString()?.ToLower() ) + { + case "failed": + error = true; + break; + case "succeeded": + case "canceled": + // we're done polling. + break; - /// Actual wire call for method. - /// the prepared HttpRequestMessage to send. - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// - /// A that will be complete when handling of the response is completed. - /// - internal async global::System.Threading.Tasks.Task MachinesGetWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - using( NoSynchronizationContext ) - { - global::System.Net.Http.HttpResponseMessage _response = null; - try - { - var sendTask = sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; } - _response = await sendTask; - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _contentType = _response.Content.Headers.ContentType?.MediaType; + default: + // need to keep polling! + _response.StatusCode = global::System.Net.HttpStatusCode.Created; + continue; + } + } + } catch { + // if we run into a problem peeking into the result, + // we really don't want to do anything special. + } + if (error) { + throw new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.UndeclaredResponseException(_response); + } + } - switch ( _response.StatusCode ) - { - case global::System.Net.HttpStatusCode.OK: + // check for terminal status code + if (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.Machine.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); - return await _result; + continue; } - default: + // we are done polling, do a request on final target? + if (!string.IsNullOrWhiteSpace(_finalUri)) { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ErrorResponse.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); - // Error Response : default - var code = (await _result)?.Code; - var message = (await _result)?.Message; - if ((null == code || null == message)) - { - // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.RestException(_response, await _result); - throw ex; - } - else - { - throw new global::System.Exception($"[{code}] : {message}"); - } + // create a new request with the final uri + request = request.CloneAndDispose(new global::System.Uri(_finalUri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); + + // drop the old response + _response?.Dispose(); + + // make the final call + _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + break; } } - } - finally - { - // finally statements - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Finally, request, _response); - _response?.Dispose(); - request?.Dispose(); - } - } - } - - /// 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 - /// elsewhere). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// - /// A that will be complete when handling of the response is completed. - /// - internal async global::System.Threading.Tasks.Task MachinesGet_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - using( NoSynchronizationContext ) - { - global::System.Net.Http.HttpResponseMessage _response = null; - try - { - var sendTask = sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sendTask; - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return; } var _contentType = _response.Content.Headers.ContentType?.MediaType; @@ -14485,7 +6926,13 @@ public partial class ConnectedMachine case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.Machine.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response); + break; + } + case global::System.Net.HttpStatusCode.NoContent: + { + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + await onNoContent(_response); break; } default: @@ -14507,18 +6954,18 @@ public partial class ConnectedMachine } /// - /// 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 name of the resource group. The name is case insensitive. - /// The name of the hybrid machine. - /// The expand expression to apply on the operation. + /// The name of the machine where the extension should be deleted. + /// The name of the machine extension. /// an instance that will receive events. /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task MachinesGet_Validate(string subscriptionId, string resourceGroupName, string machineName, string Expand, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task MachineExtensionsDelete_Validate(string subscriptionId, string resourceGroupName, string machineName, string extensionName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -14531,27 +6978,26 @@ public partial class ConnectedMachine await eventListener.AssertMinimumLength(nameof(machineName),machineName,1); await eventListener.AssertMaximumLength(nameof(machineName),machineName,54); await eventListener.AssertRegEx(nameof(machineName), machineName, @"^[a-zA-Z0-9-_\.]{1,54}$"); - await eventListener.AssertNotNull(nameof(Expand),Expand); + await eventListener.AssertNotNull(nameof(extensionName),extensionName); } } - /// The operation to install patches on a hybrid machine identity in Azure. + /// The operation to get the extension. /// The ID of the target subscription. - /// The name of the resource group. - /// The name of the hybrid machine. - /// Input for InstallPatches as directly received by the API + /// The name of the resource group. The name is case insensitive. + /// The name of the machine containing the extension. + /// The name of the machine extension. /// 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). /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// Allows the caller to choose the depth of the serialization. See . /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task MachinesInstallPatches(string subscriptionId, string resourceGroupName, string name, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInstallPatchesParameters body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) + public async global::System.Threading.Tasks.Task MachineExtensionsGet(string subscriptionId, string resourceGroupName, string machineName, string extensionName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { @@ -14562,8 +7008,9 @@ public partial class ConnectedMachine + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) + "/providers/Microsoft.HybridCompute/machines/" - + global::System.Uri.EscapeDataString(name) - + "/installPatches" + + global::System.Uri.EscapeDataString(machineName) + + "/extensions/" + + global::System.Uri.EscapeDataString(extensionName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -14572,49 +7019,44 @@ public partial class ConnectedMachine // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Post, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // set body content - request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.MachinesInstallPatches_Call (request, onOk,onDefault,eventListener,sender); + await this.MachineExtensionsGet_Call (request, onOk,onDefault,eventListener,sender); } } - /// The operation to install patches on a hybrid machine identity in Azure. + /// The operation to get the extension. /// - /// Input for InstallPatches as directly received by the API /// 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). /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// Allows the caller to choose the depth of the serialization. See . /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task MachinesInstallPatchesViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInstallPatchesParameters body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) + public async global::System.Threading.Tasks.Task MachineExtensionsGetViaIdentity(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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/machines/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/machines/(?[^/]+)/extensions/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{name}'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}'"); } // replace URI parameters with values from identity var subscriptionId = _match.Groups["subscriptionId"].Value; var resourceGroupName = _match.Groups["resourceGroupName"].Value; - var name = _match.Groups["name"].Value; + var machineName = _match.Groups["machineName"].Value; + var extensionName = _match.Groups["extensionName"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" @@ -14622,8 +7064,9 @@ public partial class ConnectedMachine + "/resourceGroups/" + resourceGroupName + "/providers/Microsoft.HybridCompute/machines/" - + name - + "/installPatches" + + machineName + + "/extensions/" + + extensionName + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -14632,152 +7075,52 @@ public partial class ConnectedMachine // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Post, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // set body content - request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.MachinesInstallPatches_Call (request, onOk,onDefault,eventListener,sender); + await this.MachineExtensionsGet_Call (request, onOk,onDefault,eventListener,sender); } } - /// The operation to install patches on a hybrid machine identity in Azure. + /// The operation to get the extension. /// - /// Input for InstallPatches as directly received by the API /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// Allows the caller to choose the depth of the serialization. See . /// - /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task MachinesInstallPatchesViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInstallPatchesParameters body, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) + public async global::System.Threading.Tasks.Task MachineExtensionsGetViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/machines/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/machines/(?[^/]+)/extensions/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{name}'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}'"); } // replace URI parameters with values from identity var subscriptionId = _match.Groups["subscriptionId"].Value; var resourceGroupName = _match.Groups["resourceGroupName"].Value; - var name = _match.Groups["name"].Value; + var machineName = _match.Groups["machineName"].Value; + var extensionName = _match.Groups["extensionName"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" + subscriptionId + "/resourceGroups/" - + resourceGroupName - + "/providers/Microsoft.HybridCompute/machines/" - + name - + "/installPatches" - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Post, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } - // set body content - request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } - // make the call - return await this.MachinesInstallPatchesWithResult_Call (request, eventListener,sender); - } - } - - /// The operation to install patches on a hybrid machine identity in Azure. - /// The ID of the target subscription. - /// The name of the resource group. - /// The name of the hybrid machine. - /// Json string supplied to the MachinesInstallPatches 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). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 MachinesInstallPatchesViaJsonString(string subscriptionId, string resourceGroupName, string name, 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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + global::System.Uri.EscapeDataString(subscriptionId) - + "/resourceGroups/" - + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.HybridCompute/machines/" - + global::System.Uri.EscapeDataString(name) - + "/installPatches" - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Post, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // set body content - request.Content = new global::System.Net.Http.StringContent(jsonString, global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } - // make the call - await this.MachinesInstallPatches_Call (request, onOk,onDefault,eventListener,sender); - } - } - - /// The operation to install patches on a hybrid machine identity in Azure. - /// The ID of the target subscription. - /// The name of the resource group. - /// The name of the hybrid machine. - /// Json string supplied to the MachinesInstallPatches operation - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 MachinesInstallPatchesViaJsonStringWithResult(string subscriptionId, string resourceGroupName, string name, global::System.String jsonString, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + global::System.Uri.EscapeDataString(subscriptionId) - + "/resourceGroups/" - + global::System.Uri.EscapeDataString(resourceGroupName) + + resourceGroupName + "/providers/Microsoft.HybridCompute/machines/" - + global::System.Uri.EscapeDataString(name) - + "/installPatches" + + machineName + + "/extensions/" + + extensionName + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -14786,34 +7129,29 @@ public partial class ConnectedMachine // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Post, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } - // set body content - request.Content = new global::System.Net.Http.StringContent(jsonString, global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.MachinesInstallPatchesWithResult_Call (request, eventListener,sender); + return await this.MachineExtensionsGetWithResult_Call (request, eventListener,sender); } } - /// The operation to install patches on a hybrid machine identity in Azure. + /// The operation to get the extension. /// The ID of the target subscription. - /// The name of the resource group. - /// The name of the hybrid machine. - /// Input for InstallPatches as directly received by the API + /// The name of the resource group. The name is case insensitive. + /// The name of the machine containing the extension. + /// The name of the machine extension. /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// Allows the caller to choose the depth of the serialization. See . /// - /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task MachinesInstallPatchesWithResult(string subscriptionId, string resourceGroupName, string name, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInstallPatchesParameters body, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) + public async global::System.Threading.Tasks.Task MachineExtensionsGetWithResult(string subscriptionId, string resourceGroupName, string machineName, string extensionName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { @@ -14824,8 +7162,9 @@ public partial class ConnectedMachine + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) + "/providers/Microsoft.HybridCompute/machines/" - + global::System.Uri.EscapeDataString(name) - + "/installPatches" + + global::System.Uri.EscapeDataString(machineName) + + "/extensions/" + + global::System.Uri.EscapeDataString(extensionName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -14834,28 +7173,24 @@ public partial class ConnectedMachine // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Post, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } - // set body content - request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.MachinesInstallPatchesWithResult_Call (request, eventListener,sender); + return await this.MachineExtensionsGetWithResult_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.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. /// - /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task MachinesInstallPatchesWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task MachineExtensionsGetWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -14864,101 +7199,8 @@ public partial class ConnectedMachine { var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; } _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - // this operation supports x-ms-long-running-operation - var _originalUri = request.RequestUri.AbsoluteUri; - // declared final-state-via: location - var _finalUri = _response.GetFirstHeader(@"Location"); - var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); - var location = _response.GetFirstHeader(@"Location"); - var operationLocation = _response.GetFirstHeader(@"Operation-Location"); - while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) - { - // delay before making the next polling request - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.DelayBeforePolling, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - - // while we wait, let's grab the headers and get ready to poll. - if (!System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Azure-AsyncOperation"))) { - asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); - } - if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Location"))) { - location = _response.GetFirstHeader(@"Location"); - } - if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Operation-Location"))) { - operationLocation = _response.GetFirstHeader(@"Operation-Location"); - } - var _uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? global::System.String.IsNullOrEmpty(operationLocation) ? _originalUri : operationLocation : location : asyncOperation; - request = request.CloneAndDispose(new global::System.Uri(_uri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); - - // and let's look at the current response body and see if we have some information we can give back to the listener - var content = await _response.Content.ReadAsStringAsync(); - - // drop the old response - _response?.Dispose(); - - // make the polling call - _response = await sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - - // if we got back an OK, take a peek inside and see if it's done - if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) - { - var error = false; - try { - if( Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json) - { - var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); - if( state is null ) - { - // the body doesn't contain any information that has the state of the LRO - // we're going to just get out, and let the consumer have the result - break; - } - - switch( state?.ToString()?.ToLower() ) - { - case "failed": - error = true; - break; - case "succeeded": - case "canceled": - // we're done polling. - break; - - default: - // need to keep polling! - _response.StatusCode = global::System.Net.HttpStatusCode.Created; - continue; - } - } - } catch { - // if we run into a problem peeking into the result, - // we really don't want to do anything special. - } - if (error) { - throw new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.UndeclaredResponseException(_response); - } - } - - // check for terminal status code - if (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) - { - continue; - } - // we are done polling, do a request on final target? - // create a new request with the final uri - request = request.CloneAndDispose(new global::System.Uri(_finalUri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); - - // drop the old response - _response?.Dispose(); - - // make the final call - _response = await sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - break; - } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return null; } var _contentType = _response.Content.Headers.ContentType?.MediaType; @@ -14967,7 +7209,7 @@ public partial class ConnectedMachine case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.MachineInstallPatchesResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); + var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.MachineExtension.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); return await _result; } default: @@ -15000,7 +7242,7 @@ public partial class ConnectedMachine } } - /// 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 @@ -15010,7 +7252,7 @@ public partial class ConnectedMachine /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task MachinesInstallPatches_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task MachineExtensionsGet_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -15019,101 +7261,8 @@ public partial class ConnectedMachine { var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; } _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - // this operation supports x-ms-long-running-operation - var _originalUri = request.RequestUri.AbsoluteUri; - // declared final-state-via: location - var _finalUri = _response.GetFirstHeader(@"Location"); - var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); - var location = _response.GetFirstHeader(@"Location"); - var operationLocation = _response.GetFirstHeader(@"Operation-Location"); - while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) - { - // delay before making the next polling request - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.DelayBeforePolling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - - // while we wait, let's grab the headers and get ready to poll. - if (!System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Azure-AsyncOperation"))) { - asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); - } - if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Location"))) { - location = _response.GetFirstHeader(@"Location"); - } - if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Operation-Location"))) { - operationLocation = _response.GetFirstHeader(@"Operation-Location"); - } - var _uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? global::System.String.IsNullOrEmpty(operationLocation) ? _originalUri : operationLocation : location : asyncOperation; - request = request.CloneAndDispose(new global::System.Uri(_uri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); - - // and let's look at the current response body and see if we have some information we can give back to the listener - var content = await _response.Content.ReadAsStringAsync(); - - // drop the old response - _response?.Dispose(); - - // make the polling call - _response = await sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - - // if we got back an OK, take a peek inside and see if it's done - if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) - { - var error = false; - try { - if( Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json) - { - var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); - if( state is null ) - { - // the body doesn't contain any information that has the state of the LRO - // we're going to just get out, and let the consumer have the result - break; - } - - switch( state?.ToString()?.ToLower() ) - { - case "failed": - error = true; - break; - case "succeeded": - case "canceled": - // we're done polling. - break; - - default: - // need to keep polling! - _response.StatusCode = global::System.Net.HttpStatusCode.Created; - continue; - } - } - } catch { - // if we run into a problem peeking into the result, - // we really don't want to do anything special. - } - if (error) { - throw new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.UndeclaredResponseException(_response); - } - } - - // check for terminal status code - if (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) - { - continue; - } - // we are done polling, do a request on final target? - // create a new request with the final uri - request = request.CloneAndDispose(new global::System.Uri(_finalUri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); - - // drop the old response - _response?.Dispose(); - - // make the final call - _response = await sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - break; - } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return; } var _contentType = _response.Content.Headers.ContentType?.MediaType; @@ -15122,7 +7271,7 @@ public partial class ConnectedMachine case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.MachineInstallPatchesResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.MachineExtension.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -15144,37 +7293,39 @@ public partial class ConnectedMachine } /// - /// 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 name of the resource group. - /// The name of the hybrid machine. - /// Input for InstallPatches as directly received by the API + /// The name of the resource group. The name is case insensitive. + /// The name of the machine containing the extension. + /// The name of the machine extension. /// an instance that will receive events. /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task MachinesInstallPatches_Validate(string subscriptionId, string resourceGroupName, string name, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInstallPatchesParameters body, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task MachineExtensionsGet_Validate(string subscriptionId, string resourceGroupName, string machineName, string extensionName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); - await eventListener.AssertMinimumLength(nameof(subscriptionId),subscriptionId,1); - await eventListener.AssertNotNull(nameof(resourceGroupName),resourceGroupName); - await eventListener.AssertNotNull(nameof(name),name); - await eventListener.AssertNotNull(nameof(body), body); - await eventListener.AssertObjectIsValid(nameof(body), body); + await eventListener.AssertMinimumLength(nameof(subscriptionId),subscriptionId,1); + await eventListener.AssertNotNull(nameof(resourceGroupName),resourceGroupName); + await eventListener.AssertMinimumLength(nameof(resourceGroupName),resourceGroupName,1); + await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); + await eventListener.AssertNotNull(nameof(machineName),machineName); + await eventListener.AssertMinimumLength(nameof(machineName),machineName,1); + await eventListener.AssertMaximumLength(nameof(machineName),machineName,54); + await eventListener.AssertRegEx(nameof(machineName), machineName, @"^[a-zA-Z0-9-_\.]{1,54}$"); + await eventListener.AssertNotNull(nameof(extensionName),extensionName); } } - /// - /// Lists all the hybrid machines in the specified resource group. Use the nextLink property in the response to get the next - /// page of hybrid machines. - /// + /// The operation to get all extensions of a non-Azure machine /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. - /// Expands referenced resources. + /// The name of the machine containing the extension. + /// The expand expression to apply on the 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). @@ -15183,9 +7334,9 @@ public partial class ConnectedMachine /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task MachinesListByResourceGroup(string subscriptionId, string resourceGroupName, string Expand, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task MachineExtensionsList(string subscriptionId, string resourceGroupName, string machineName, string Expand, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { @@ -15195,11 +7346,13 @@ public partial class ConnectedMachine + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.HybridCompute/machines" + + "/providers/Microsoft.HybridCompute/machines/" + + global::System.Uri.EscapeDataString(machineName) + + "/extensions" + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - + "&" + (string.IsNullOrEmpty(Expand) ? global::System.String.Empty : "$expand=" + global::System.Uri.EscapeDataString(Expand)) + + "&" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } @@ -15211,16 +7364,13 @@ public partial class ConnectedMachine await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.MachinesListByResourceGroup_Call (request, onOk,onDefault,eventListener,sender); + await this.MachineExtensionsList_Call (request, onOk,onDefault,eventListener,sender); } } - /// - /// Lists all the hybrid machines in the specified resource group. Use the nextLink property in the response to get the next - /// page of hybrid machines. - /// + /// The operation to get all extensions of a non-Azure machine /// - /// Expands referenced resources. + /// The expand expression to apply on the 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). @@ -15229,34 +7379,37 @@ public partial class ConnectedMachine /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task MachinesListByResourceGroupViaIdentity(global::System.String viaIdentity, string Expand, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task MachineExtensionsListViaIdentity(global::System.String viaIdentity, string Expand, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/machines$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/machines/(?[^/]+)/extensions$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions'"); } // replace URI parameters with values from identity var subscriptionId = _match.Groups["subscriptionId"].Value; var resourceGroupName = _match.Groups["resourceGroupName"].Value; + var machineName = _match.Groups["machineName"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName - + "/providers/Microsoft.HybridCompute/machines" + + "/providers/Microsoft.HybridCompute/machines/" + + machineName + + "/extensions" + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - + "&" + (string.IsNullOrEmpty(Expand) ? global::System.String.Empty : "$expand=" + global::System.Uri.EscapeDataString(Expand)) + + "&" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } @@ -15268,50 +7421,50 @@ public partial class ConnectedMachine await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.MachinesListByResourceGroup_Call (request, onOk,onDefault,eventListener,sender); + await this.MachineExtensionsList_Call (request, onOk,onDefault,eventListener,sender); } } - /// - /// Lists all the hybrid machines in the specified resource group. Use the nextLink property in the response to get the next - /// page of hybrid machines. - /// + /// The operation to get all extensions of a non-Azure machine /// - /// Expands referenced resources. + /// The expand expression to apply on the operation. /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 MachinesListByResourceGroupViaIdentityWithResult(global::System.String viaIdentity, string Expand, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task MachineExtensionsListViaIdentityWithResult(global::System.String viaIdentity, string Expand, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/machines$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/machines/(?[^/]+)/extensions$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions'"); } // replace URI parameters with values from identity var subscriptionId = _match.Groups["subscriptionId"].Value; var resourceGroupName = _match.Groups["resourceGroupName"].Value; + var machineName = _match.Groups["machineName"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName - + "/providers/Microsoft.HybridCompute/machines" + + "/providers/Microsoft.HybridCompute/machines/" + + machineName + + "/extensions" + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - + "&" + (string.IsNullOrEmpty(Expand) ? global::System.String.Empty : "$expand=" + global::System.Uri.EscapeDataString(Expand)) + + "&" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } @@ -15323,26 +7476,24 @@ public partial class ConnectedMachine await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.MachinesListByResourceGroupWithResult_Call (request, eventListener,sender); + return await this.MachineExtensionsListWithResult_Call (request, eventListener,sender); } } - /// - /// Lists all the hybrid machines in the specified resource group. Use the nextLink property in the response to get the next - /// page of hybrid machines. - /// + /// The operation to get all extensions of a non-Azure machine /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. - /// Expands referenced resources. + /// The name of the machine containing the extension. + /// The expand expression to apply on the operation. /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 MachinesListByResourceGroupWithResult(string subscriptionId, string resourceGroupName, string Expand, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task MachineExtensionsListWithResult(string subscriptionId, string resourceGroupName, string machineName, string Expand, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { @@ -15352,11 +7503,13 @@ public partial class ConnectedMachine + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.HybridCompute/machines" + + "/providers/Microsoft.HybridCompute/machines/" + + global::System.Uri.EscapeDataString(machineName) + + "/extensions" + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - + "&" + (string.IsNullOrEmpty(Expand) ? global::System.String.Empty : "$expand=" + global::System.Uri.EscapeDataString(Expand)) + + "&" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } @@ -15368,21 +7521,19 @@ public partial class ConnectedMachine await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.MachinesListByResourceGroupWithResult_Call (request, eventListener,sender); + return await this.MachineExtensionsListWithResult_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.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. /// - /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task MachinesListByResourceGroupWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task MachineExtensionsListWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -15401,7 +7552,7 @@ public partial class ConnectedMachine case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.MachineListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); + var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.MachineExtensionsListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); return await _result; } default: @@ -15434,7 +7585,7 @@ public partial class ConnectedMachine } } - /// 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 @@ -15444,7 +7595,7 @@ public partial class ConnectedMachine /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task MachinesListByResourceGroup_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task MachineExtensionsList_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -15463,7 +7614,7 @@ public partial class ConnectedMachine case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.MachineListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.MachineExtensionsListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -15484,35 +7635,215 @@ public partial class ConnectedMachine } } - /// - /// Validation method for method. Call this like the actual call, but you will - /// get validation events back. - /// - /// The ID of the target subscription. - /// The name of the resource group. The name is case insensitive. - /// Expands referenced resources. + /// + /// Validation method for method. Call this like the actual call, but you will get validation + /// events back. + /// + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. + /// The name of the machine containing the extension. + /// The expand expression to apply on the operation. + /// an instance that will receive events. + /// + /// A that will be complete when handling of the response is completed. + /// + internal async global::System.Threading.Tasks.Task MachineExtensionsList_Validate(string subscriptionId, string resourceGroupName, string machineName, string Expand, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) + { + using( NoSynchronizationContext ) + { + await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); + await eventListener.AssertMinimumLength(nameof(subscriptionId),subscriptionId,1); + await eventListener.AssertNotNull(nameof(resourceGroupName),resourceGroupName); + await eventListener.AssertMinimumLength(nameof(resourceGroupName),resourceGroupName,1); + await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); + await eventListener.AssertNotNull(nameof(machineName),machineName); + await eventListener.AssertMinimumLength(nameof(machineName),machineName,1); + await eventListener.AssertMaximumLength(nameof(machineName),machineName,54); + await eventListener.AssertRegEx(nameof(machineName), machineName, @"^[a-zA-Z0-9-_\.]{1,54}$"); + await eventListener.AssertNotNull(nameof(Expand),Expand); + } + } + + /// The operation to update the extension. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. + /// The name of the machine where the extension should be created or updated. + /// The name of the machine extension. + /// Parameters supplied to the Create Machine Extension 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). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. + /// Allows the caller to choose the depth of the serialization. See . + /// + /// A that will be complete when handling of the response is completed. + /// + public async global::System.Threading.Tasks.Task MachineExtensionsUpdate(string subscriptionId, string resourceGroupName, string machineName, string extensionName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtensionUpdate body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) + { + var apiVersion = @"2024-07-10"; + // Constant Parameters + using( NoSynchronizationContext ) + { + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + global::System.Uri.EscapeDataString(subscriptionId) + + "/resourceGroups/" + + global::System.Uri.EscapeDataString(resourceGroupName) + + "/providers/Microsoft.HybridCompute/machines/" + + global::System.Uri.EscapeDataString(machineName) + + "/extensions/" + + global::System.Uri.EscapeDataString(extensionName) + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Patch, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // set body content + request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } + // make the call + await this.MachineExtensionsUpdate_Call (request, onOk,onDefault,eventListener,sender); + } + } + + /// The operation to update the extension. + /// + /// Parameters supplied to the Create Machine Extension 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). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. + /// Allows the caller to choose the depth of the serialization. See . + /// + /// A that will be complete when handling of the response is completed. + /// + public async global::System.Threading.Tasks.Task MachineExtensionsUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtensionUpdate body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) + { + var apiVersion = @"2024-07-10"; + // Constant Parameters + using( NoSynchronizationContext ) + { + // verify that Identity format is an exact match for uri + + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/machines/(?[^/]+)/extensions/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + if (!_match.Success) + { + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}'"); + } + + // replace URI parameters with values from identity + var subscriptionId = _match.Groups["subscriptionId"].Value; + var resourceGroupName = _match.Groups["resourceGroupName"].Value; + var machineName = _match.Groups["machineName"].Value; + var extensionName = _match.Groups["extensionName"].Value; + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + subscriptionId + + "/resourceGroups/" + + resourceGroupName + + "/providers/Microsoft.HybridCompute/machines/" + + machineName + + "/extensions/" + + extensionName + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Patch, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // set body content + request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } + // make the call + await this.MachineExtensionsUpdate_Call (request, onOk,onDefault,eventListener,sender); + } + } + + /// The operation to update the extension. + /// + /// Parameters supplied to the Create Machine Extension operation. /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. + /// Allows the caller to choose the depth of the serialization. See . /// - /// A that will be complete when handling of the response is completed. + /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task MachinesListByResourceGroup_Validate(string subscriptionId, string resourceGroupName, string Expand, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) + public async global::System.Threading.Tasks.Task MachineExtensionsUpdateViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtensionUpdate body, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) { + var apiVersion = @"2024-07-10"; + // Constant Parameters using( NoSynchronizationContext ) { - await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); - await eventListener.AssertMinimumLength(nameof(subscriptionId),subscriptionId,1); - await eventListener.AssertNotNull(nameof(resourceGroupName),resourceGroupName); - await eventListener.AssertMinimumLength(nameof(resourceGroupName),resourceGroupName,1); - await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); - await eventListener.AssertNotNull(nameof(Expand),Expand); + // verify that Identity format is an exact match for uri + + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/machines/(?[^/]+)/extensions/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + if (!_match.Success) + { + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}'"); + } + + // replace URI parameters with values from identity + var subscriptionId = _match.Groups["subscriptionId"].Value; + var resourceGroupName = _match.Groups["resourceGroupName"].Value; + var machineName = _match.Groups["machineName"].Value; + var extensionName = _match.Groups["extensionName"].Value; + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + subscriptionId + + "/resourceGroups/" + + resourceGroupName + + "/providers/Microsoft.HybridCompute/machines/" + + machineName + + "/extensions/" + + extensionName + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } + + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Patch, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } + // set body content + request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } + // make the call + return await this.MachineExtensionsUpdateWithResult_Call (request, eventListener,sender); } } - /// - /// Lists all the hybrid machines in the specified subscription. Use the nextLink property in the response to get the next - /// page of hybrid machines. - /// + /// The operation to update the extension. /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. + /// The name of the machine where the extension should be created or updated. + /// The name of the machine extension. + /// Json string supplied to the MachineExtensionsUpdate 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). @@ -15521,9 +7852,9 @@ public partial class ConnectedMachine /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task MachinesListBySubscription(string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task MachineExtensionsUpdateViaJsonString(string subscriptionId, string resourceGroupName, string machineName, string extensionName, 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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { @@ -15531,7 +7862,12 @@ public partial class ConnectedMachine var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) - + "/providers/Microsoft.HybridCompute/machines" + + "/resourceGroups/" + + global::System.Uri.EscapeDataString(resourceGroupName) + + "/providers/Microsoft.HybridCompute/machines/" + + global::System.Uri.EscapeDataString(machineName) + + "/extensions/" + + global::System.Uri.EscapeDataString(extensionName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -15540,98 +7876,97 @@ public partial class ConnectedMachine // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Patch, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // set body content + request.Content = new global::System.Net.Http.StringContent(jsonString, global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.MachinesListBySubscription_Call (request, onOk,onDefault,eventListener,sender); + await this.MachineExtensionsUpdate_Call (request, onOk,onDefault,eventListener,sender); } } - /// - /// Lists all the hybrid machines in the specified subscription. Use the nextLink property in the response to get the next - /// page of hybrid machines. - /// - /// - /// 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). + /// The operation to update the extension. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. + /// The name of the machine where the extension should be created or updated. + /// The name of the machine extension. + /// Json string supplied to the MachineExtensionsUpdate operation /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. /// - /// A that will be complete when handling of the response is completed. + /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task MachinesListBySubscriptionViaIdentity(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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task MachineExtensionsUpdateViaJsonStringWithResult(string subscriptionId, string resourceGroupName, string machineName, string extensionName, global::System.String jsonString, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { - // verify that Identity format is an exact match for uri - - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/providers/Microsoft.HybridCompute/machines$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); - if (!_match.Success) - { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/machines'"); - } - - // replace URI parameters with values from identity - var subscriptionId = _match.Groups["subscriptionId"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" - + subscriptionId - + "/providers/Microsoft.HybridCompute/machines" + + global::System.Uri.EscapeDataString(subscriptionId) + + "/resourceGroups/" + + global::System.Uri.EscapeDataString(resourceGroupName) + + "/providers/Microsoft.HybridCompute/machines/" + + global::System.Uri.EscapeDataString(machineName) + + "/extensions/" + + global::System.Uri.EscapeDataString(extensionName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Patch, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } + // set body content + request.Content = new global::System.Net.Http.StringContent(jsonString, global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - await this.MachinesListBySubscription_Call (request, onOk,onDefault,eventListener,sender); + return await this.MachineExtensionsUpdateWithResult_Call (request, eventListener,sender); } } - /// - /// Lists all the hybrid machines in the specified subscription. Use the nextLink property in the response to get the next - /// page of hybrid machines. - /// - /// + /// The operation to update the extension. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. + /// The name of the machine where the extension should be created or updated. + /// The name of the machine extension. + /// Parameters supplied to the Create Machine Extension operation. /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. + /// Allows the caller to choose the depth of the serialization. See . /// - /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task MachinesListBySubscriptionViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task MachineExtensionsUpdateWithResult(string subscriptionId, string resourceGroupName, string machineName, string extensionName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtensionUpdate body, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { - // verify that Identity format is an exact match for uri - - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/providers/Microsoft.HybridCompute/machines$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); - if (!_match.Success) - { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/machines'"); - } - - // replace URI parameters with values from identity - var subscriptionId = _match.Groups["subscriptionId"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" - + subscriptionId - + "/providers/Microsoft.HybridCompute/machines" + + global::System.Uri.EscapeDataString(subscriptionId) + + "/resourceGroups/" + + global::System.Uri.EscapeDataString(resourceGroupName) + + "/providers/Microsoft.HybridCompute/machines/" + + global::System.Uri.EscapeDataString(machineName) + + "/extensions/" + + global::System.Uri.EscapeDataString(extensionName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -15640,75 +7975,133 @@ public partial class ConnectedMachine // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Patch, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } + // set body content + request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.MachinesListBySubscriptionWithResult_Call (request, eventListener,sender); + return await this.MachineExtensionsUpdateWithResult_Call (request, eventListener,sender); } } - /// - /// Lists all the hybrid machines in the specified subscription. Use the nextLink property in the response to get the next - /// page of hybrid machines. - /// - /// The ID of the target subscription. + /// Actual wire call for method. + /// the prepared HttpRequestMessage to send. /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 MachinesListBySubscriptionWithResult(string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task MachineExtensionsUpdateWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters using( NoSynchronizationContext ) { - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + global::System.Uri.EscapeDataString(subscriptionId) - + "/providers/Microsoft.HybridCompute/machines" - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + global::System.Net.Http.HttpResponseMessage _response = null; + try + { + var sendTask = sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; } + _response = await sendTask; + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } + // this operation supports x-ms-long-running-operation + var _originalUri = request.RequestUri.AbsoluteUri; + // declared final-state-via: default + var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); + var location = _response.GetFirstHeader(@"Location"); + var operationLocation = _response.GetFirstHeader(@"Operation-Location"); + while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + { + // delay before making the next polling request + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.DelayBeforePolling, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } + + // while we wait, let's grab the headers and get ready to poll. + if (!System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Azure-AsyncOperation"))) { + asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); + } + if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Location"))) { + location = _response.GetFirstHeader(@"Location"); + } + if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Operation-Location"))) { + operationLocation = _response.GetFirstHeader(@"Operation-Location"); + } + var _uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? global::System.String.IsNullOrEmpty(operationLocation) ? _originalUri : operationLocation : location : asyncOperation; + request = request.CloneAndDispose(new global::System.Uri(_uri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); + + // and let's look at the current response body and see if we have some information we can give back to the listener + var content = await _response.Content.ReadAsStringAsync(); + + // drop the old response + _response?.Dispose(); + + // make the polling call + _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } + + // if we got back an OK, take a peek inside and see if it's done + if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) + { + var error = false; + try { + if( Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json) + { + var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); + if( state is null ) + { + // the body doesn't contain any information that has the state of the LRO + // we're going to just get out, and let the consumer have the result + break; + } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } + switch( state?.ToString()?.ToLower() ) + { + case "failed": + error = true; + break; + case "succeeded": + case "canceled": + // we're done polling. + break; - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } + default: + // need to keep polling! + _response.StatusCode = global::System.Net.HttpStatusCode.Created; + continue; + } + } + } catch { + // if we run into a problem peeking into the result, + // we really don't want to do anything special. + } + if (error) { + throw new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.UndeclaredResponseException(_response); + } + } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } - // make the call - return await this.MachinesListBySubscriptionWithResult_Call (request, eventListener,sender); - } - } + // check for terminal status code + if (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + { + continue; + } + // we are done polling, do a request on final target? + if (!string.IsNullOrWhiteSpace(_originalUri)) + { + // create a new request with the final uri + request = request.CloneAndDispose(new global::System.Uri(_originalUri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); - /// - /// Actual wire call for method. - /// - /// the prepared HttpRequestMessage to send. - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// - /// A that will be complete when handling of the response is completed. - /// - internal async global::System.Threading.Tasks.Task MachinesListBySubscriptionWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - using( NoSynchronizationContext ) - { - global::System.Net.Http.HttpResponseMessage _response = null; - try - { - var sendTask = sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; } - _response = await sendTask; - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } + // drop the old response + _response?.Dispose(); + + // make the final call + _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } + break; + } + } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return null; } var _contentType = _response.Content.Headers.ContentType?.MediaType; @@ -15717,7 +8110,7 @@ public partial class ConnectedMachine case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.MachineListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); + var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.MachineExtension.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); return await _result; } default: @@ -15750,7 +8143,7 @@ public partial class ConnectedMachine } } - /// 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 @@ -15760,7 +8153,7 @@ public partial class ConnectedMachine /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task MachinesListBySubscription_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task MachineExtensionsUpdate_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -15769,8 +8162,103 @@ public partial class ConnectedMachine { var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; } _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + // this operation supports x-ms-long-running-operation + var _originalUri = request.RequestUri.AbsoluteUri; + // declared final-state-via: default + var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); + var location = _response.GetFirstHeader(@"Location"); + var operationLocation = _response.GetFirstHeader(@"Operation-Location"); + while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + { + // delay before making the next polling request + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.DelayBeforePolling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + + // while we wait, let's grab the headers and get ready to poll. + if (!System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Azure-AsyncOperation"))) { + asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); + } + if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Location"))) { + location = _response.GetFirstHeader(@"Location"); + } + if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Operation-Location"))) { + operationLocation = _response.GetFirstHeader(@"Operation-Location"); + } + var _uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? global::System.String.IsNullOrEmpty(operationLocation) ? _originalUri : operationLocation : location : asyncOperation; + request = request.CloneAndDispose(new global::System.Uri(_uri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); + + // and let's look at the current response body and see if we have some information we can give back to the listener + var content = await _response.Content.ReadAsStringAsync(); + + // drop the old response + _response?.Dispose(); + + // make the polling call + _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + + // if we got back an OK, take a peek inside and see if it's done + if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) + { + var error = false; + try { + if( Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json) + { + var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); + if( state is null ) + { + // the body doesn't contain any information that has the state of the LRO + // we're going to just get out, and let the consumer have the result + break; + } + + switch( state?.ToString()?.ToLower() ) + { + case "failed": + error = true; + break; + case "succeeded": + case "canceled": + // we're done polling. + break; + + default: + // need to keep polling! + _response.StatusCode = global::System.Net.HttpStatusCode.Created; + continue; + } + } + } catch { + // if we run into a problem peeking into the result, + // we really don't want to do anything special. + } + if (error) { + throw new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.UndeclaredResponseException(_response); + } + } + + // check for terminal status code + if (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + { + continue; + } + // we are done polling, do a request on final target? + if (!string.IsNullOrWhiteSpace(_originalUri)) + { + // create a new request with the final uri + request = request.CloneAndDispose(new global::System.Uri(_originalUri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); + + // drop the old response + _response?.Dispose(); + + // make the final call + _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + break; + } + } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return; } var _contentType = _response.Content.Headers.ContentType?.MediaType; @@ -15779,7 +8267,7 @@ public partial class ConnectedMachine case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.MachineListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.MachineExtension.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -15801,110 +8289,64 @@ public partial class ConnectedMachine } /// - /// 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 name of the resource group. The name is case insensitive. + /// The name of the machine where the extension should be created or updated. + /// The name of the machine extension. + /// Parameters supplied to the Create Machine Extension operation. /// an instance that will receive events. /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task MachinesListBySubscription_Validate(string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task MachineExtensionsUpdate_Validate(string subscriptionId, string resourceGroupName, string machineName, string extensionName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtensionUpdate body, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); await eventListener.AssertMinimumLength(nameof(subscriptionId),subscriptionId,1); + await eventListener.AssertNotNull(nameof(resourceGroupName),resourceGroupName); + await eventListener.AssertMinimumLength(nameof(resourceGroupName),resourceGroupName,1); + await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); + await eventListener.AssertNotNull(nameof(machineName),machineName); + await eventListener.AssertMinimumLength(nameof(machineName),machineName,1); + await eventListener.AssertMaximumLength(nameof(machineName),machineName,54); + await eventListener.AssertRegEx(nameof(machineName), machineName, @"^[a-zA-Z0-9-_\.]{1,54}$"); + await eventListener.AssertNotNull(nameof(extensionName),extensionName); + await eventListener.AssertNotNull(nameof(body), body); + await eventListener.AssertObjectIsValid(nameof(body), body); } } - /// The operation to update a hybrid machine. + /// The operation to assess patches on a hybrid machine identity in Azure. /// The ID of the target subscription. - /// The name of the resource group. The name is case insensitive. - /// The name of the hybrid machine. - /// Parameters supplied to the Update hybrid machine 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). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// Allows the caller to choose the depth of the serialization. See . - /// - /// A that will be complete when handling of the response is completed. - /// - public async global::System.Threading.Tasks.Task MachinesUpdate(string subscriptionId, string resourceGroupName, string machineName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineUpdate body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + global::System.Uri.EscapeDataString(subscriptionId) - + "/resourceGroups/" - + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.HybridCompute/machines/" - + global::System.Uri.EscapeDataString(machineName) - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Patch, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // set body content - request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } - // make the call - await this.MachinesUpdate_Call (request, onOk,onDefault,eventListener,sender); - } - } - - /// The operation to update a hybrid machine. - /// - /// Parameters supplied to the Update hybrid machine operation. + /// The name of the resource group. + /// The name of the hybrid machine. /// 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). /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// Allows the caller to choose the depth of the serialization. See . /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task MachinesUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineUpdate body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) + public async global::System.Threading.Tasks.Task MachinesAssessPatches(string subscriptionId, string resourceGroupName, string name, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { - // verify that Identity format is an exact match for uri - - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/machines/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); - if (!_match.Success) - { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}'"); - } - - // replace URI parameters with values from identity - var subscriptionId = _match.Groups["subscriptionId"].Value; - var resourceGroupName = _match.Groups["resourceGroupName"].Value; - var machineName = _match.Groups["machineName"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" - + subscriptionId + + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" - + resourceGroupName + + global::System.Uri.EscapeDataString(resourceGroupName) + "/providers/Microsoft.HybridCompute/machines/" - + machineName + + global::System.Uri.EscapeDataString(name) + + "/assessPatches" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -15913,47 +8355,43 @@ public partial class ConnectedMachine // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Patch, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Post, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // set body content - request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.MachinesUpdate_Call (request, onOk,onDefault,eventListener,sender); + await this.MachinesAssessPatches_Call (request, onOk,onDefault,eventListener,sender); } } - /// The operation to update a hybrid machine. + /// The operation to assess patches on a hybrid machine identity in Azure. /// - /// Parameters supplied to the Update hybrid machine 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). /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// Allows the caller to choose the depth of the serialization. See . /// - /// A that will be complete when handling of the response is completed. + /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task MachinesUpdateViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineUpdate body, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) + public async global::System.Threading.Tasks.Task MachinesAssessPatchesViaIdentity(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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/machines/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/machines/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{name}'"); } // replace URI parameters with values from identity var subscriptionId = _match.Groups["subscriptionId"].Value; var resourceGroupName = _match.Groups["resourceGroupName"].Value; - var machineName = _match.Groups["machineName"].Value; + var name = _match.Groups["name"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" @@ -15961,55 +8399,8 @@ public partial class ConnectedMachine + "/resourceGroups/" + resourceGroupName + "/providers/Microsoft.HybridCompute/machines/" - + machineName - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Patch, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } - // set body content - request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } - // make the call - return await this.MachinesUpdateWithResult_Call (request, eventListener,sender); - } - } - - /// The operation to update a hybrid machine. - /// The ID of the target subscription. - /// The name of the resource group. The name is case insensitive. - /// The name of the hybrid machine. - /// Json string supplied to the MachinesUpdate 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). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 MachinesUpdateViaJsonString(string subscriptionId, string resourceGroupName, string machineName, 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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + global::System.Uri.EscapeDataString(subscriptionId) - + "/resourceGroups/" - + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.HybridCompute/machines/" - + global::System.Uri.EscapeDataString(machineName) + + name + + "/assessPatches" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -16018,44 +8409,50 @@ public partial class ConnectedMachine // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Patch, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Post, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // set body content - request.Content = new global::System.Net.Http.StringContent(jsonString, global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.MachinesUpdate_Call (request, onOk,onDefault,eventListener,sender); + await this.MachinesAssessPatches_Call (request, onOk,onDefault,eventListener,sender); } } - /// The operation to update a hybrid machine. - /// The ID of the target subscription. - /// The name of the resource group. The name is case insensitive. - /// The name of the hybrid machine. - /// Json string supplied to the MachinesUpdate operation + /// The operation to assess patches on a hybrid machine identity in Azure. + /// /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 MachinesUpdateViaJsonStringWithResult(string subscriptionId, string resourceGroupName, string machineName, global::System.String jsonString, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task MachinesAssessPatchesViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { + // verify that Identity format is an exact match for uri + + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/machines/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + if (!_match.Success) + { + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{name}'"); + } + + // replace URI parameters with values from identity + var subscriptionId = _match.Groups["subscriptionId"].Value; + var resourceGroupName = _match.Groups["resourceGroupName"].Value; + var name = _match.Groups["name"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" - + global::System.Uri.EscapeDataString(subscriptionId) + + subscriptionId + "/resourceGroups/" - + global::System.Uri.EscapeDataString(resourceGroupName) + + resourceGroupName + "/providers/Microsoft.HybridCompute/machines/" - + global::System.Uri.EscapeDataString(machineName) + + name + + "/assessPatches" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -16064,34 +8461,28 @@ public partial class ConnectedMachine // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Patch, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Post, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } - // set body content - request.Content = new global::System.Net.Http.StringContent(jsonString, global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.MachinesUpdateWithResult_Call (request, eventListener,sender); + return await this.MachinesAssessPatchesWithResult_Call (request, eventListener,sender); } } - /// The operation to update a hybrid machine. + /// The operation to assess patches on a hybrid machine identity in Azure. /// The ID of the target subscription. - /// The name of the resource group. The name is case insensitive. - /// The name of the hybrid machine. - /// Parameters supplied to the Update hybrid machine operation. + /// The name of the resource group. + /// The name of the hybrid machine. /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// Allows the caller to choose the depth of the serialization. See . /// - /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task MachinesUpdateWithResult(string subscriptionId, string resourceGroupName, string machineName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineUpdate body, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) + public async global::System.Threading.Tasks.Task MachinesAssessPatchesWithResult(string subscriptionId, string resourceGroupName, string name, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { @@ -16102,7 +8493,8 @@ public partial class ConnectedMachine + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) + "/providers/Microsoft.HybridCompute/machines/" - + global::System.Uri.EscapeDataString(machineName) + + global::System.Uri.EscapeDataString(name) + + "/assessPatches" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -16111,28 +8503,24 @@ public partial class ConnectedMachine // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Patch, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Post, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } - // set body content - request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.MachinesUpdateWithResult_Call (request, eventListener,sender); + return await this.MachinesAssessPatchesWithResult_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.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. /// - /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task MachinesUpdateWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task MachinesAssessPatchesWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -16141,8 +8529,101 @@ public partial class ConnectedMachine { var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; } _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } + // this operation supports x-ms-long-running-operation + var _originalUri = request.RequestUri.AbsoluteUri; + // declared final-state-via: location + var _finalUri = _response.GetFirstHeader(@"Location"); + var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); + var location = _response.GetFirstHeader(@"Location"); + var operationLocation = _response.GetFirstHeader(@"Operation-Location"); + while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + { + // delay before making the next polling request + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.DelayBeforePolling, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } + + // while we wait, let's grab the headers and get ready to poll. + if (!System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Azure-AsyncOperation"))) { + asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); + } + if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Location"))) { + location = _response.GetFirstHeader(@"Location"); + } + if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Operation-Location"))) { + operationLocation = _response.GetFirstHeader(@"Operation-Location"); + } + var _uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? global::System.String.IsNullOrEmpty(operationLocation) ? _originalUri : operationLocation : location : asyncOperation; + request = request.CloneAndDispose(new global::System.Uri(_uri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); + + // and let's look at the current response body and see if we have some information we can give back to the listener + var content = await _response.Content.ReadAsStringAsync(); + + // drop the old response + _response?.Dispose(); + + // make the polling call + _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } + + // if we got back an OK, take a peek inside and see if it's done + if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) + { + var error = false; + try { + if( Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json) + { + var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); + if( state is null ) + { + // the body doesn't contain any information that has the state of the LRO + // we're going to just get out, and let the consumer have the result + break; + } + + switch( state?.ToString()?.ToLower() ) + { + case "failed": + error = true; + break; + case "succeeded": + case "canceled": + // we're done polling. + break; + + default: + // need to keep polling! + _response.StatusCode = global::System.Net.HttpStatusCode.Created; + continue; + } + } + } catch { + // if we run into a problem peeking into the result, + // we really don't want to do anything special. + } + if (error) { + throw new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.UndeclaredResponseException(_response); + } + } + + // check for terminal status code + if (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + { + continue; + } + // we are done polling, do a request on final target? + // create a new request with the final uri + request = request.CloneAndDispose(new global::System.Uri(_finalUri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); + + // drop the old response + _response?.Dispose(); + + // make the final call + _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } + break; + } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return null; } var _contentType = _response.Content.Headers.ContentType?.MediaType; @@ -16151,7 +8632,7 @@ public partial class ConnectedMachine case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.Machine.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); + var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.MachineAssessPatchesResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); return await _result; } default: @@ -16184,7 +8665,7 @@ public partial class ConnectedMachine } } - /// 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 @@ -16194,7 +8675,7 @@ public partial class ConnectedMachine /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task MachinesUpdate_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task MachinesAssessPatches_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -16203,8 +8684,101 @@ public partial class ConnectedMachine { var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; } _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + // this operation supports x-ms-long-running-operation + var _originalUri = request.RequestUri.AbsoluteUri; + // declared final-state-via: location + var _finalUri = _response.GetFirstHeader(@"Location"); + var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); + var location = _response.GetFirstHeader(@"Location"); + var operationLocation = _response.GetFirstHeader(@"Operation-Location"); + while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + { + // delay before making the next polling request + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.DelayBeforePolling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + + // while we wait, let's grab the headers and get ready to poll. + if (!System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Azure-AsyncOperation"))) { + asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); + } + if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Location"))) { + location = _response.GetFirstHeader(@"Location"); + } + if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Operation-Location"))) { + operationLocation = _response.GetFirstHeader(@"Operation-Location"); + } + var _uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? global::System.String.IsNullOrEmpty(operationLocation) ? _originalUri : operationLocation : location : asyncOperation; + request = request.CloneAndDispose(new global::System.Uri(_uri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); + + // and let's look at the current response body and see if we have some information we can give back to the listener + var content = await _response.Content.ReadAsStringAsync(); + + // drop the old response + _response?.Dispose(); + + // make the polling call + _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + + // if we got back an OK, take a peek inside and see if it's done + if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) + { + var error = false; + try { + if( Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json) + { + var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); + if( state is null ) + { + // the body doesn't contain any information that has the state of the LRO + // we're going to just get out, and let the consumer have the result + break; + } + + switch( state?.ToString()?.ToLower() ) + { + case "failed": + error = true; + break; + case "succeeded": + case "canceled": + // we're done polling. + break; + + default: + // need to keep polling! + _response.StatusCode = global::System.Net.HttpStatusCode.Created; + continue; + } + } + } catch { + // if we run into a problem peeking into the result, + // we really don't want to do anything special. + } + if (error) { + throw new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.UndeclaredResponseException(_response); + } + } + + // check for terminal status code + if (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + { + continue; + } + // we are done polling, do a request on final target? + // create a new request with the final uri + request = request.CloneAndDispose(new global::System.Uri(_finalUri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); + + // drop the old response + _response?.Dispose(); + + // make the final call + _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + break; + } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return; } var _contentType = _response.Content.Headers.ContentType?.MediaType; @@ -16213,7 +8787,7 @@ public partial class ConnectedMachine case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.Machine.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.MachineAssessPatchesResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -16235,192 +8809,33 @@ public partial class ConnectedMachine } /// - /// Validation method for method. Call this like the actual call, but you will get validation - /// events back. - /// - /// The ID of the target subscription. - /// The name of the resource group. The name is case insensitive. - /// The name of the hybrid machine. - /// Parameters supplied to the Update hybrid machine operation. - /// an instance that will receive events. - /// - /// A that will be complete when handling of the response is completed. - /// - internal async global::System.Threading.Tasks.Task MachinesUpdate_Validate(string subscriptionId, string resourceGroupName, string machineName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineUpdate body, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) - { - using( NoSynchronizationContext ) - { - await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); - await eventListener.AssertMinimumLength(nameof(subscriptionId),subscriptionId,1); - await eventListener.AssertNotNull(nameof(resourceGroupName),resourceGroupName); - await eventListener.AssertMinimumLength(nameof(resourceGroupName),resourceGroupName,1); - await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); - await eventListener.AssertNotNull(nameof(machineName),machineName); - await eventListener.AssertMinimumLength(nameof(machineName),machineName,1); - await eventListener.AssertMaximumLength(nameof(machineName),machineName,54); - await eventListener.AssertRegEx(nameof(machineName), machineName, @"^[a-zA-Z0-9-_\.]{1,54}$"); - await eventListener.AssertNotNull(nameof(body), body); - await eventListener.AssertObjectIsValid(nameof(body), body); - } - } - - /// update the NetworkConfiguration of the target resource. - /// The fully qualified Azure Resource manager identifier of the resource to be connected. - /// Network Configuration details - /// 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 - /// elsewhere). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// Allows the caller to choose the depth of the serialization. See . - /// - /// A that will be complete when handling of the response is completed. - /// - public async global::System.Threading.Tasks.Task NetworkConfigurationsCreateOrUpdate(string resourceUri, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfiguration 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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/" - + (resourceUri) - + "/providers/Microsoft.HybridCompute/networkConfigurations/current" - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Put, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // set body content - request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } - // make the call - await this.NetworkConfigurationsCreateOrUpdate_Call (request, onOk,onCreated,onDefault,eventListener,sender); - } - } - - /// update the NetworkConfiguration of the target resource. - /// - /// Network Configuration details - /// 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 - /// elsewhere). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// Allows the caller to choose the depth of the serialization. See . - /// - /// A that will be complete when handling of the response is completed. - /// - public async global::System.Threading.Tasks.Task NetworkConfigurationsCreateOrUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfiguration 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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // verify that Identity format is an exact match for uri - - var _match = new global::System.Text.RegularExpressions.Regex("^/(?[^/]+)/providers/Microsoft.HybridCompute/networkConfigurations/current$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); - if (!_match.Success) - { - throw new global::System.Exception("Invalid identity for URI '/{resourceUri}/providers/Microsoft.HybridCompute/networkConfigurations/current'"); - } - - // replace URI parameters with values from identity - var resourceUri = _match.Groups["resourceUri"].Value; - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/" - + resourceUri - + "/providers/Microsoft.HybridCompute/networkConfigurations/current" - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Put, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // set body content - request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } - // make the call - await this.NetworkConfigurationsCreateOrUpdate_Call (request, onOk,onCreated,onDefault,eventListener,sender); - } - } - - /// update the NetworkConfiguration of the target resource. - /// - /// Network Configuration details - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// Allows the caller to choose the depth of the serialization. See . - /// - /// A that will be complete when handling of the response is completed. - /// - public async global::System.Threading.Tasks.Task NetworkConfigurationsCreateOrUpdateViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfiguration body, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // verify that Identity format is an exact match for uri - - var _match = new global::System.Text.RegularExpressions.Regex("^/(?[^/]+)/providers/Microsoft.HybridCompute/networkConfigurations/current$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); - if (!_match.Success) - { - throw new global::System.Exception("Invalid identity for URI '/{resourceUri}/providers/Microsoft.HybridCompute/networkConfigurations/current'"); - } - - // replace URI parameters with values from identity - var resourceUri = _match.Groups["resourceUri"].Value; - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/" - + resourceUri - + "/providers/Microsoft.HybridCompute/networkConfigurations/current" - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Put, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } - // set body content - request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } - // make the call - return await this.NetworkConfigurationsCreateOrUpdateWithResult_Call (request, eventListener,sender); + /// Validation method for method. Call this like the actual call, but you will get validation + /// events back. + /// + /// The ID of the target subscription. + /// The name of the resource group. + /// The name of the hybrid machine. + /// an instance that will receive events. + /// + /// A that will be complete when handling of the response is completed. + /// + internal async global::System.Threading.Tasks.Task MachinesAssessPatches_Validate(string subscriptionId, string resourceGroupName, string name, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) + { + using( NoSynchronizationContext ) + { + await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); + await eventListener.AssertMinimumLength(nameof(subscriptionId),subscriptionId,1); + await eventListener.AssertNotNull(nameof(resourceGroupName),resourceGroupName); + await eventListener.AssertNotNull(nameof(name),name); } } - /// update the NetworkConfiguration of the target resource. - /// The fully qualified Azure Resource manager identifier of the resource to be connected. - /// Json string supplied to the NetworkConfigurationsCreateOrUpdate operation + /// The operation to delete a hybrid machine. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. + /// The name of the hybrid machine. /// 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 204 (NoContent). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). /// an instance that will receive events. @@ -16428,17 +8843,20 @@ public partial class ConnectedMachine /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task NetworkConfigurationsCreateOrUpdateViaJsonString(string resourceUri, 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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task MachinesDelete(string subscriptionId, string resourceGroupName, string machineName, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/" - + (resourceUri) - + "/providers/Microsoft.HybridCompute/networkConfigurations/current" + "/subscriptions/" + + global::System.Uri.EscapeDataString(subscriptionId) + + "/resourceGroups/" + + global::System.Uri.EscapeDataString(resourceGroupName) + + "/providers/Microsoft.HybridCompute/machines/" + + global::System.Uri.EscapeDataString(machineName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -16447,176 +8865,73 @@ public partial class ConnectedMachine // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Put, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Delete, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // set body content - request.Content = new global::System.Net.Http.StringContent(jsonString, global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.NetworkConfigurationsCreateOrUpdate_Call (request, onOk,onCreated,onDefault,eventListener,sender); + await this.MachinesDelete_Call (request, onOk,onNoContent,onDefault,eventListener,sender); } } - /// update the NetworkConfiguration of the target resource. - /// The fully qualified Azure Resource manager identifier of the resource to be connected. - /// Json string supplied to the NetworkConfigurationsCreateOrUpdate operation + /// The operation to delete a hybrid machine. + /// + /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns 204 (NoContent). + /// a delegate that is called when the remote service returns default (any response code not handled + /// elsewhere). /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. /// - /// A that will be complete when handling of the response is completed. + /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task NetworkConfigurationsCreateOrUpdateViaJsonStringWithResult(string resourceUri, global::System.String jsonString, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task MachinesDeleteViaIdentity(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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/" - + (resourceUri) - + "/providers/Microsoft.HybridCompute/networkConfigurations/current" - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Put, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } + // verify that Identity format is an exact match for uri - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } - // set body content - request.Content = new global::System.Net.Http.StringContent(jsonString, global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } - // make the call - return await this.NetworkConfigurationsCreateOrUpdateWithResult_Call (request, eventListener,sender); - } - } + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/machines/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + if (!_match.Success) + { + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}'"); + } - /// update the NetworkConfiguration of the target resource. - /// The fully qualified Azure Resource manager identifier of the resource to be connected. - /// Network Configuration details - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// Allows the caller to choose the depth of the serialization. See . - /// - /// A that will be complete when handling of the response is completed. - /// - public async global::System.Threading.Tasks.Task NetworkConfigurationsCreateOrUpdateWithResult(string resourceUri, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfiguration body, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { + // replace URI parameters with values from identity + var subscriptionId = _match.Groups["subscriptionId"].Value; + var resourceGroupName = _match.Groups["resourceGroupName"].Value; + var machineName = _match.Groups["machineName"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/" - + (resourceUri) - + "/providers/Microsoft.HybridCompute/networkConfigurations/current" + "/subscriptions/" + + subscriptionId + + "/resourceGroups/" + + resourceGroupName + + "/providers/Microsoft.HybridCompute/machines/" + + machineName + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Put, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Delete, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } - // set body content - request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - return await this.NetworkConfigurationsCreateOrUpdateWithResult_Call (request, eventListener,sender); - } - } - - /// - /// Actual wire call for method. - /// - /// the prepared HttpRequestMessage to send. - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// - /// A that will be complete when handling of the response is completed. - /// - internal async global::System.Threading.Tasks.Task NetworkConfigurationsCreateOrUpdateWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - using( NoSynchronizationContext ) - { - global::System.Net.Http.HttpResponseMessage _response = null; - try - { - var sendTask = sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; } - _response = await sendTask; - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _contentType = _response.Content.Headers.ContentType?.MediaType; - - switch ( _response.StatusCode ) - { - case global::System.Net.HttpStatusCode.OK: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.NetworkConfiguration.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); - return await _result; - } - case global::System.Net.HttpStatusCode.Created: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.NetworkConfiguration.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); - return await _result; - } - default: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ErrorResponse.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); - // Error Response : default - var code = (await _result)?.Code; - var message = (await _result)?.Message; - if ((null == code || null == message)) - { - // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.RestException(_response, await _result); - throw ex; - } - else - { - throw new global::System.Exception($"[{code}] : {message}"); - } - } - } - } - finally - { - // finally statements - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Finally, request, _response); - _response?.Dispose(); - request?.Dispose(); - } + await this.MachinesDelete_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 201 (Created). + /// a delegate that is called when the remote service returns 204 (NoContent). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). /// an instance that will receive events. @@ -16624,7 +8939,7 @@ public partial class ConnectedMachine /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task NetworkConfigurationsCreateOrUpdate_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task MachinesDelete_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -16643,13 +8958,13 @@ public partial class ConnectedMachine case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.NetworkConfiguration.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response); break; } - case global::System.Net.HttpStatusCode.Created: + case global::System.Net.HttpStatusCode.NoContent: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onCreated(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.NetworkConfiguration.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onNoContent(_response); break; } default: @@ -16671,27 +8986,39 @@ public partial class ConnectedMachine } /// - /// 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 fully qualified Azure Resource manager identifier of the resource to be connected. - /// Network Configuration details + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. + /// The name of the hybrid machine. /// an instance that will receive events. /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task NetworkConfigurationsCreateOrUpdate_Validate(string resourceUri, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfiguration body, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task MachinesDelete_Validate(string subscriptionId, string resourceGroupName, string machineName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { - await eventListener.AssertNotNull(nameof(resourceUri),resourceUri); - await eventListener.AssertNotNull(nameof(body), body); - await eventListener.AssertObjectIsValid(nameof(body), body); + await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); + await eventListener.AssertMinimumLength(nameof(subscriptionId),subscriptionId,1); + await eventListener.AssertNotNull(nameof(resourceGroupName),resourceGroupName); + await eventListener.AssertMinimumLength(nameof(resourceGroupName),resourceGroupName,1); + await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); + await eventListener.AssertNotNull(nameof(machineName),machineName); + await eventListener.AssertMinimumLength(nameof(machineName),machineName,1); + await eventListener.AssertMaximumLength(nameof(machineName),machineName,54); + await eventListener.AssertRegEx(nameof(machineName), machineName, @"^[a-zA-Z0-9-_\.]{1,54}$"); } } - /// Returns a NetworkConfiguration for the target resource. - /// The fully qualified Azure Resource manager identifier of the resource to be connected. + /// + /// Retrieves information about the model view or the instance view of a hybrid machine. + /// + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. + /// The name of the hybrid machine. + /// The expand expression to apply on the 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). @@ -16700,19 +9027,24 @@ public partial class ConnectedMachine /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task NetworkConfigurationsGet(string resourceUri, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task MachinesGet(string subscriptionId, string resourceGroupName, string machineName, string Expand, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/" - + (resourceUri) - + "/providers/Microsoft.HybridCompute/networkConfigurations/current" + "/subscriptions/" + + global::System.Uri.EscapeDataString(subscriptionId) + + "/resourceGroups/" + + global::System.Uri.EscapeDataString(resourceGroupName) + + "/providers/Microsoft.HybridCompute/machines/" + + global::System.Uri.EscapeDataString(machineName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + + "&" + + (string.IsNullOrEmpty(Expand) ? global::System.String.Empty : "$expand=" + global::System.Uri.EscapeDataString(Expand)) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } @@ -16724,12 +9056,15 @@ public partial class ConnectedMachine await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.NetworkConfigurationsGet_Call (request, onOk,onDefault,eventListener,sender); + await this.MachinesGet_Call (request, onOk,onDefault,eventListener,sender); } } - /// Returns a NetworkConfiguration for the target resource. + /// + /// Retrieves information about the model view or the instance view of a hybrid machine. + /// /// + /// The expand expression to apply on the 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). @@ -16738,29 +9073,36 @@ public partial class ConnectedMachine /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task NetworkConfigurationsGetViaIdentity(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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task MachinesGetViaIdentity(global::System.String viaIdentity, string Expand, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/(?[^/]+)/providers/Microsoft.HybridCompute/networkConfigurations/current$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/machines/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/{resourceUri}/providers/Microsoft.HybridCompute/networkConfigurations/current'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}'"); } // replace URI parameters with values from identity - var resourceUri = _match.Groups["resourceUri"].Value; + var subscriptionId = _match.Groups["subscriptionId"].Value; + var resourceGroupName = _match.Groups["resourceGroupName"].Value; + var machineName = _match.Groups["machineName"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/" - + resourceUri - + "/providers/Microsoft.HybridCompute/networkConfigurations/current" + "/subscriptions/" + + subscriptionId + + "/resourceGroups/" + + resourceGroupName + + "/providers/Microsoft.HybridCompute/machines/" + + machineName + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + + "&" + + (string.IsNullOrEmpty(Expand) ? global::System.String.Empty : "$expand=" + global::System.Uri.EscapeDataString(Expand)) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } @@ -16772,41 +9114,51 @@ public partial class ConnectedMachine await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.NetworkConfigurationsGet_Call (request, onOk,onDefault,eventListener,sender); + await this.MachinesGet_Call (request, onOk,onDefault,eventListener,sender); } } - /// Returns a NetworkConfiguration for the target resource. + /// + /// Retrieves information about the model view or the instance view of a hybrid machine. + /// /// + /// The expand expression to apply on the operation. /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 NetworkConfigurationsGetViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task MachinesGetViaIdentityWithResult(global::System.String viaIdentity, string Expand, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/(?[^/]+)/providers/Microsoft.HybridCompute/networkConfigurations/current$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/machines/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/{resourceUri}/providers/Microsoft.HybridCompute/networkConfigurations/current'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}'"); } // replace URI parameters with values from identity - var resourceUri = _match.Groups["resourceUri"].Value; + var subscriptionId = _match.Groups["subscriptionId"].Value; + var resourceGroupName = _match.Groups["resourceGroupName"].Value; + var machineName = _match.Groups["machineName"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/" - + resourceUri - + "/providers/Microsoft.HybridCompute/networkConfigurations/current" + "/subscriptions/" + + subscriptionId + + "/resourceGroups/" + + resourceGroupName + + "/providers/Microsoft.HybridCompute/machines/" + + machineName + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + + "&" + + (string.IsNullOrEmpty(Expand) ? global::System.String.Empty : "$expand=" + global::System.Uri.EscapeDataString(Expand)) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } @@ -16818,31 +9170,41 @@ public partial class ConnectedMachine await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.NetworkConfigurationsGetWithResult_Call (request, eventListener,sender); + return await this.MachinesGetWithResult_Call (request, eventListener,sender); } } - /// Returns a NetworkConfiguration for the target resource. - /// The fully qualified Azure Resource manager identifier of the resource to be connected. + /// + /// Retrieves information about the model view or the instance view of a hybrid machine. + /// + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. + /// The name of the hybrid machine. + /// The expand expression to apply on the operation. /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 NetworkConfigurationsGetWithResult(string resourceUri, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task MachinesGetWithResult(string subscriptionId, string resourceGroupName, string machineName, string Expand, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/" - + (resourceUri) - + "/providers/Microsoft.HybridCompute/networkConfigurations/current" + "/subscriptions/" + + global::System.Uri.EscapeDataString(subscriptionId) + + "/resourceGroups/" + + global::System.Uri.EscapeDataString(resourceGroupName) + + "/providers/Microsoft.HybridCompute/machines/" + + global::System.Uri.EscapeDataString(machineName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + + "&" + + (string.IsNullOrEmpty(Expand) ? global::System.String.Empty : "$expand=" + global::System.Uri.EscapeDataString(Expand)) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } @@ -16854,19 +9216,19 @@ public partial class ConnectedMachine await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.NetworkConfigurationsGetWithResult_Call (request, eventListener,sender); + return await this.MachinesGetWithResult_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.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. /// - /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task NetworkConfigurationsGetWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task MachinesGetWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -16885,7 +9247,7 @@ public partial class ConnectedMachine case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.NetworkConfiguration.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); + var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.Machine.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); return await _result; } default: @@ -16918,7 +9280,7 @@ public partial class ConnectedMachine } } - /// 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 @@ -16928,7 +9290,7 @@ public partial class ConnectedMachine /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task NetworkConfigurationsGet_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task MachinesGet_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -16947,7 +9309,7 @@ public partial class ConnectedMachine case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.NetworkConfiguration.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.Machine.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -16969,25 +9331,39 @@ public partial class ConnectedMachine } /// - /// 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 fully qualified Azure Resource manager identifier of the resource to be connected. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. + /// The name of the hybrid machine. + /// The expand expression to apply on the operation. /// an instance that will receive events. /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task NetworkConfigurationsGet_Validate(string resourceUri, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task MachinesGet_Validate(string subscriptionId, string resourceGroupName, string machineName, string Expand, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { - await eventListener.AssertNotNull(nameof(resourceUri),resourceUri); + await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); + await eventListener.AssertMinimumLength(nameof(subscriptionId),subscriptionId,1); + await eventListener.AssertNotNull(nameof(resourceGroupName),resourceGroupName); + await eventListener.AssertMinimumLength(nameof(resourceGroupName),resourceGroupName,1); + await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); + await eventListener.AssertNotNull(nameof(machineName),machineName); + await eventListener.AssertMinimumLength(nameof(machineName),machineName,1); + await eventListener.AssertMaximumLength(nameof(machineName),machineName,54); + await eventListener.AssertRegEx(nameof(machineName), machineName, @"^[a-zA-Z0-9-_\.]{1,54}$"); + await eventListener.AssertNotNull(nameof(Expand),Expand); } } - /// update the endpoint to the target resource. - /// The fully qualified Azure Resource manager identifier of the resource to be connected. - /// Network Configuration details + /// The operation to install patches on a hybrid machine identity in Azure. + /// The ID of the target subscription. + /// The name of the resource group. + /// The name of the hybrid machine. + /// Input for InstallPatches as directly received by the API /// 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). @@ -16997,17 +9373,21 @@ public partial class ConnectedMachine /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task NetworkConfigurationsUpdate(string resourceUri, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfiguration body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) + public async global::System.Threading.Tasks.Task MachinesInstallPatches(string subscriptionId, string resourceGroupName, string name, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInstallPatchesParameters body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/" - + (resourceUri) - + "/providers/Microsoft.HybridCompute/networkConfigurations/current" + "/subscriptions/" + + global::System.Uri.EscapeDataString(subscriptionId) + + "/resourceGroups/" + + global::System.Uri.EscapeDataString(resourceGroupName) + + "/providers/Microsoft.HybridCompute/machines/" + + global::System.Uri.EscapeDataString(name) + + "/installPatches" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -17016,7 +9396,7 @@ public partial class ConnectedMachine // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Patch, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Post, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } @@ -17025,13 +9405,13 @@ public partial class ConnectedMachine request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.NetworkConfigurationsUpdate_Call (request, onOk,onDefault,eventListener,sender); + await this.MachinesInstallPatches_Call (request, onOk,onDefault,eventListener,sender); } } - /// update the endpoint to the target resource. + /// The operation to install patches on a hybrid machine identity in Azure. /// - /// Network Configuration details + /// Input for InstallPatches as directly received by the API /// 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). @@ -17041,27 +9421,33 @@ public partial class ConnectedMachine /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task NetworkConfigurationsUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfiguration body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) + public async global::System.Threading.Tasks.Task MachinesInstallPatchesViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInstallPatchesParameters body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/(?[^/]+)/providers/Microsoft.HybridCompute/networkConfigurations/current$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/machines/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/{resourceUri}/providers/Microsoft.HybridCompute/networkConfigurations/current'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{name}'"); } // replace URI parameters with values from identity - var resourceUri = _match.Groups["resourceUri"].Value; + var subscriptionId = _match.Groups["subscriptionId"].Value; + var resourceGroupName = _match.Groups["resourceGroupName"].Value; + var name = _match.Groups["name"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/" - + resourceUri - + "/providers/Microsoft.HybridCompute/networkConfigurations/current" + "/subscriptions/" + + subscriptionId + + "/resourceGroups/" + + resourceGroupName + + "/providers/Microsoft.HybridCompute/machines/" + + name + + "/installPatches" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -17070,7 +9456,7 @@ public partial class ConnectedMachine // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Patch, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Post, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } @@ -17079,41 +9465,47 @@ public partial class ConnectedMachine request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.NetworkConfigurationsUpdate_Call (request, onOk,onDefault,eventListener,sender); + await this.MachinesInstallPatches_Call (request, onOk,onDefault,eventListener,sender); } } - /// update the endpoint to the target resource. + /// The operation to install patches on a hybrid machine identity in Azure. /// - /// Network Configuration details + /// Input for InstallPatches as directly received by the API /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. /// Allows the caller to choose the depth of the serialization. See . /// - /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task NetworkConfigurationsUpdateViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfiguration body, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) + public async global::System.Threading.Tasks.Task MachinesInstallPatchesViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInstallPatchesParameters body, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/(?[^/]+)/providers/Microsoft.HybridCompute/networkConfigurations/current$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/machines/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/{resourceUri}/providers/Microsoft.HybridCompute/networkConfigurations/current'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{name}'"); } // replace URI parameters with values from identity - var resourceUri = _match.Groups["resourceUri"].Value; + var subscriptionId = _match.Groups["subscriptionId"].Value; + var resourceGroupName = _match.Groups["resourceGroupName"].Value; + var name = _match.Groups["name"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/" - + resourceUri - + "/providers/Microsoft.HybridCompute/networkConfigurations/current" + "/subscriptions/" + + subscriptionId + + "/resourceGroups/" + + resourceGroupName + + "/providers/Microsoft.HybridCompute/machines/" + + name + + "/installPatches" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -17122,7 +9514,7 @@ public partial class ConnectedMachine // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Patch, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Post, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } @@ -17131,13 +9523,15 @@ public partial class ConnectedMachine request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.NetworkConfigurationsUpdateWithResult_Call (request, eventListener,sender); + return await this.MachinesInstallPatchesWithResult_Call (request, eventListener,sender); } } - /// update the endpoint to the target resource. - /// The fully qualified Azure Resource manager identifier of the resource to be connected. - /// Json string supplied to the NetworkConfigurationsUpdate operation + /// The operation to install patches on a hybrid machine identity in Azure. + /// The ID of the target subscription. + /// The name of the resource group. + /// The name of the hybrid machine. + /// Json string supplied to the MachinesInstallPatches 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). @@ -17146,17 +9540,21 @@ public partial class ConnectedMachine /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task NetworkConfigurationsUpdateViaJsonString(string resourceUri, 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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task MachinesInstallPatchesViaJsonString(string subscriptionId, string resourceGroupName, string name, 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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/" - + (resourceUri) - + "/providers/Microsoft.HybridCompute/networkConfigurations/current" + "/subscriptions/" + + global::System.Uri.EscapeDataString(subscriptionId) + + "/resourceGroups/" + + global::System.Uri.EscapeDataString(resourceGroupName) + + "/providers/Microsoft.HybridCompute/machines/" + + global::System.Uri.EscapeDataString(name) + + "/installPatches" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -17165,7 +9563,7 @@ public partial class ConnectedMachine // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Patch, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Post, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } @@ -17174,30 +9572,36 @@ public partial class ConnectedMachine request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.NetworkConfigurationsUpdate_Call (request, onOk,onDefault,eventListener,sender); + await this.MachinesInstallPatches_Call (request, onOk,onDefault,eventListener,sender); } } - /// update the endpoint to the target resource. - /// The fully qualified Azure Resource manager identifier of the resource to be connected. - /// Json string supplied to the NetworkConfigurationsUpdate operation + /// The operation to install patches on a hybrid machine identity in Azure. + /// The ID of the target subscription. + /// The name of the resource group. + /// The name of the hybrid machine. + /// Json string supplied to the MachinesInstallPatches operation /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 NetworkConfigurationsUpdateViaJsonStringWithResult(string resourceUri, global::System.String jsonString, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task MachinesInstallPatchesViaJsonStringWithResult(string subscriptionId, string resourceGroupName, string name, global::System.String jsonString, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/" - + (resourceUri) - + "/providers/Microsoft.HybridCompute/networkConfigurations/current" + "/subscriptions/" + + global::System.Uri.EscapeDataString(subscriptionId) + + "/resourceGroups/" + + global::System.Uri.EscapeDataString(resourceGroupName) + + "/providers/Microsoft.HybridCompute/machines/" + + global::System.Uri.EscapeDataString(name) + + "/installPatches" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -17206,7 +9610,7 @@ public partial class ConnectedMachine // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Patch, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Post, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } @@ -17215,31 +9619,37 @@ public partial class ConnectedMachine request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.NetworkConfigurationsUpdateWithResult_Call (request, eventListener,sender); + return await this.MachinesInstallPatchesWithResult_Call (request, eventListener,sender); } } - /// update the endpoint to the target resource. - /// The fully qualified Azure Resource manager identifier of the resource to be connected. - /// Network Configuration details + /// The operation to install patches on a hybrid machine identity in Azure. + /// The ID of the target subscription. + /// The name of the resource group. + /// The name of the hybrid machine. + /// Input for InstallPatches as directly received by the API /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. /// Allows the caller to choose the depth of the serialization. See . /// - /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task NetworkConfigurationsUpdateWithResult(string resourceUri, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfiguration body, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) + public async global::System.Threading.Tasks.Task MachinesInstallPatchesWithResult(string subscriptionId, string resourceGroupName, string name, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInstallPatchesParameters body, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/" - + (resourceUri) - + "/providers/Microsoft.HybridCompute/networkConfigurations/current" + "/subscriptions/" + + global::System.Uri.EscapeDataString(subscriptionId) + + "/resourceGroups/" + + global::System.Uri.EscapeDataString(resourceGroupName) + + "/providers/Microsoft.HybridCompute/machines/" + + global::System.Uri.EscapeDataString(name) + + "/installPatches" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -17248,40 +9658,131 @@ public partial class ConnectedMachine // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Patch, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Post, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } - // set body content - request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } - // make the call - return await this.NetworkConfigurationsUpdateWithResult_Call (request, eventListener,sender); - } - } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } + // set body content + request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } + // make the call + return await this.MachinesInstallPatchesWithResult_Call (request, eventListener,sender); + } + } + + /// Actual wire call for method. + /// the prepared HttpRequestMessage to send. + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + internal async global::System.Threading.Tasks.Task MachinesInstallPatchesWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + { + using( NoSynchronizationContext ) + { + global::System.Net.Http.HttpResponseMessage _response = null; + try + { + var sendTask = sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; } + _response = await sendTask; + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } + // this operation supports x-ms-long-running-operation + var _originalUri = request.RequestUri.AbsoluteUri; + // declared final-state-via: location + var _finalUri = _response.GetFirstHeader(@"Location"); + var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); + var location = _response.GetFirstHeader(@"Location"); + var operationLocation = _response.GetFirstHeader(@"Operation-Location"); + while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + { + // delay before making the next polling request + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.DelayBeforePolling, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } + + // while we wait, let's grab the headers and get ready to poll. + if (!System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Azure-AsyncOperation"))) { + asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); + } + if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Location"))) { + location = _response.GetFirstHeader(@"Location"); + } + if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Operation-Location"))) { + operationLocation = _response.GetFirstHeader(@"Operation-Location"); + } + var _uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? global::System.String.IsNullOrEmpty(operationLocation) ? _originalUri : operationLocation : location : asyncOperation; + request = request.CloneAndDispose(new global::System.Uri(_uri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); + + // and let's look at the current response body and see if we have some information we can give back to the listener + var content = await _response.Content.ReadAsStringAsync(); + + // drop the old response + _response?.Dispose(); + + // make the polling call + _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } + + // if we got back an OK, take a peek inside and see if it's done + if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) + { + var error = false; + try { + if( Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json) + { + var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); + if( state is null ) + { + // the body doesn't contain any information that has the state of the LRO + // we're going to just get out, and let the consumer have the result + break; + } + + switch( state?.ToString()?.ToLower() ) + { + case "failed": + error = true; + break; + case "succeeded": + case "canceled": + // we're done polling. + break; + + default: + // need to keep polling! + _response.StatusCode = global::System.Net.HttpStatusCode.Created; + continue; + } + } + } catch { + // if we run into a problem peeking into the result, + // we really don't want to do anything special. + } + if (error) { + throw new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.UndeclaredResponseException(_response); + } + } + + // check for terminal status code + if (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + { + continue; + } + // we are done polling, do a request on final target? + // create a new request with the final uri + request = request.CloneAndDispose(new global::System.Uri(_finalUri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); + + // drop the old response + _response?.Dispose(); - /// - /// Actual wire call for method. - /// - /// the prepared HttpRequestMessage to send. - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// - /// A that will be complete when handling of the response is completed. - /// - internal async global::System.Threading.Tasks.Task NetworkConfigurationsUpdateWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - using( NoSynchronizationContext ) - { - global::System.Net.Http.HttpResponseMessage _response = null; - try - { - var sendTask = sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; } - _response = await sendTask; - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } + // make the final call + _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } + break; + } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return null; } var _contentType = _response.Content.Headers.ContentType?.MediaType; @@ -17290,7 +9791,7 @@ public partial class ConnectedMachine case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.NetworkConfiguration.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); + var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.MachineInstallPatchesResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); return await _result; } default: @@ -17323,7 +9824,7 @@ public partial class ConnectedMachine } } - /// 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 @@ -17333,7 +9834,7 @@ public partial class ConnectedMachine /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task NetworkConfigurationsUpdate_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task MachinesInstallPatches_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -17342,8 +9843,101 @@ public partial class ConnectedMachine { var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; } _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + // this operation supports x-ms-long-running-operation + var _originalUri = request.RequestUri.AbsoluteUri; + // declared final-state-via: location + var _finalUri = _response.GetFirstHeader(@"Location"); + var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); + var location = _response.GetFirstHeader(@"Location"); + var operationLocation = _response.GetFirstHeader(@"Operation-Location"); + while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + { + // delay before making the next polling request + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.DelayBeforePolling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + + // while we wait, let's grab the headers and get ready to poll. + if (!System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Azure-AsyncOperation"))) { + asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); + } + if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Location"))) { + location = _response.GetFirstHeader(@"Location"); + } + if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Operation-Location"))) { + operationLocation = _response.GetFirstHeader(@"Operation-Location"); + } + var _uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? global::System.String.IsNullOrEmpty(operationLocation) ? _originalUri : operationLocation : location : asyncOperation; + request = request.CloneAndDispose(new global::System.Uri(_uri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); + + // and let's look at the current response body and see if we have some information we can give back to the listener + var content = await _response.Content.ReadAsStringAsync(); + + // drop the old response + _response?.Dispose(); + + // make the polling call + _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + + // if we got back an OK, take a peek inside and see if it's done + if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) + { + var error = false; + try { + if( Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json) + { + var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); + if( state is null ) + { + // the body doesn't contain any information that has the state of the LRO + // we're going to just get out, and let the consumer have the result + break; + } + + switch( state?.ToString()?.ToLower() ) + { + case "failed": + error = true; + break; + case "succeeded": + case "canceled": + // we're done polling. + break; + + default: + // need to keep polling! + _response.StatusCode = global::System.Net.HttpStatusCode.Created; + continue; + } + } + } catch { + // if we run into a problem peeking into the result, + // we really don't want to do anything special. + } + if (error) { + throw new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.UndeclaredResponseException(_response); + } + } + + // check for terminal status code + if (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + { + continue; + } + // we are done polling, do a request on final target? + // create a new request with the final uri + request = request.CloneAndDispose(new global::System.Uri(_finalUri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); + + // drop the old response + _response?.Dispose(); + + // make the final call + _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + break; + } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return; } var _contentType = _response.Content.Headers.ContentType?.MediaType; @@ -17352,7 +9946,7 @@ public partial class ConnectedMachine case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.NetworkConfiguration.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.MachineInstallPatchesResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -17374,29 +9968,37 @@ public partial class ConnectedMachine } /// - /// 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 fully qualified Azure Resource manager identifier of the resource to be connected. - /// Network Configuration details + /// The ID of the target subscription. + /// The name of the resource group. + /// The name of the hybrid machine. + /// Input for InstallPatches as directly received by the API /// an instance that will receive events. /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task NetworkConfigurationsUpdate_Validate(string resourceUri, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfiguration body, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task MachinesInstallPatches_Validate(string subscriptionId, string resourceGroupName, string name, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInstallPatchesParameters body, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { - await eventListener.AssertNotNull(nameof(resourceUri),resourceUri); + await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); + await eventListener.AssertMinimumLength(nameof(subscriptionId),subscriptionId,1); + await eventListener.AssertNotNull(nameof(resourceGroupName),resourceGroupName); + await eventListener.AssertNotNull(nameof(name),name); await eventListener.AssertNotNull(nameof(body), body); await eventListener.AssertObjectIsValid(nameof(body), body); } } - /// The operation to get network information of hybrid machine + /// + /// Lists all the hybrid machines in the specified resource group. Use the nextLink property in the response to get the next + /// page of hybrid machines. + /// /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. - /// The name of the hybrid machine. + /// Expands referenced resources. /// 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). @@ -17405,9 +10007,9 @@ public partial class ConnectedMachine /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task NetworkProfileGet(string subscriptionId, string resourceGroupName, string machineName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task MachinesListByResourceGroup(string subscriptionId, string resourceGroupName, string Expand, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { @@ -17417,11 +10019,11 @@ public partial class ConnectedMachine + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.HybridCompute/machines/" - + global::System.Uri.EscapeDataString(machineName) - + "/networkProfile" + + "/providers/Microsoft.HybridCompute/machines" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + + "&" + + (string.IsNullOrEmpty(Expand) ? global::System.String.Empty : "$expand=" + global::System.Uri.EscapeDataString(Expand)) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } @@ -17433,12 +10035,16 @@ public partial class ConnectedMachine await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.NetworkProfileGet_Call (request, onOk,onDefault,eventListener,sender); + await this.MachinesListByResourceGroup_Call (request, onOk,onDefault,eventListener,sender); } } - /// The operation to get network information of hybrid machine + /// + /// Lists all the hybrid machines in the specified resource group. Use the nextLink property in the response to get the next + /// page of hybrid machines. + /// /// + /// Expands referenced resources. /// 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). @@ -17447,35 +10053,34 @@ public partial class ConnectedMachine /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task NetworkProfileGetViaIdentity(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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task MachinesListByResourceGroupViaIdentity(global::System.String viaIdentity, string Expand, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/machines/(?[^/]+)/networkProfile$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/machines$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/networkProfile'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines'"); } // replace URI parameters with values from identity var subscriptionId = _match.Groups["subscriptionId"].Value; var resourceGroupName = _match.Groups["resourceGroupName"].Value; - var machineName = _match.Groups["machineName"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName - + "/providers/Microsoft.HybridCompute/machines/" - + machineName - + "/networkProfile" + + "/providers/Microsoft.HybridCompute/machines" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + + "&" + + (string.IsNullOrEmpty(Expand) ? global::System.String.Empty : "$expand=" + global::System.Uri.EscapeDataString(Expand)) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } @@ -17487,47 +10092,50 @@ public partial class ConnectedMachine await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.NetworkProfileGet_Call (request, onOk,onDefault,eventListener,sender); + await this.MachinesListByResourceGroup_Call (request, onOk,onDefault,eventListener,sender); } } - /// The operation to get network information of hybrid machine + /// + /// Lists all the hybrid machines in the specified resource group. Use the nextLink property in the response to get the next + /// page of hybrid machines. + /// /// + /// Expands referenced resources. /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 NetworkProfileGetViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task MachinesListByResourceGroupViaIdentityWithResult(global::System.String viaIdentity, string Expand, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/machines/(?[^/]+)/networkProfile$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/machines$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/networkProfile'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines'"); } // replace URI parameters with values from identity var subscriptionId = _match.Groups["subscriptionId"].Value; var resourceGroupName = _match.Groups["resourceGroupName"].Value; - var machineName = _match.Groups["machineName"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName - + "/providers/Microsoft.HybridCompute/machines/" - + machineName - + "/networkProfile" + + "/providers/Microsoft.HybridCompute/machines" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + + "&" + + (string.IsNullOrEmpty(Expand) ? global::System.String.Empty : "$expand=" + global::System.Uri.EscapeDataString(Expand)) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } @@ -17539,23 +10147,26 @@ public partial class ConnectedMachine await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.NetworkProfileGetWithResult_Call (request, eventListener,sender); + return await this.MachinesListByResourceGroupWithResult_Call (request, eventListener,sender); } } - /// The operation to get network information of hybrid machine + /// + /// Lists all the hybrid machines in the specified resource group. Use the nextLink property in the response to get the next + /// page of hybrid machines. + /// /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. - /// The name of the hybrid machine. + /// Expands referenced resources. /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 NetworkProfileGetWithResult(string subscriptionId, string resourceGroupName, string machineName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task MachinesListByResourceGroupWithResult(string subscriptionId, string resourceGroupName, string Expand, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { @@ -17565,11 +10176,11 @@ public partial class ConnectedMachine + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.HybridCompute/machines/" - + global::System.Uri.EscapeDataString(machineName) - + "/networkProfile" + + "/providers/Microsoft.HybridCompute/machines" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + + "&" + + (string.IsNullOrEmpty(Expand) ? global::System.String.Empty : "$expand=" + global::System.Uri.EscapeDataString(Expand)) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } @@ -17581,19 +10192,21 @@ public partial class ConnectedMachine await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.NetworkProfileGetWithResult_Call (request, eventListener,sender); + return await this.MachinesListByResourceGroupWithResult_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.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. /// - /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task NetworkProfileGetWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task MachinesListByResourceGroupWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -17612,7 +10225,7 @@ public partial class ConnectedMachine case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.NetworkProfile.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); + var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.MachineListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); return await _result; } default: @@ -17645,7 +10258,7 @@ public partial class ConnectedMachine } } - /// 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 @@ -17655,7 +10268,7 @@ public partial class ConnectedMachine /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task NetworkProfileGet_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task MachinesListByResourceGroup_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -17674,7 +10287,7 @@ public partial class ConnectedMachine case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.NetworkProfile.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.MachineListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -17696,17 +10309,17 @@ public partial class ConnectedMachine } /// - /// 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 name of the resource group. The name is case insensitive. - /// The name of the hybrid machine. + /// Expands referenced resources. /// an instance that will receive events. /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task NetworkProfileGet_Validate(string subscriptionId, string resourceGroupName, string machineName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task MachinesListByResourceGroup_Validate(string subscriptionId, string resourceGroupName, string Expand, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -17715,19 +10328,15 @@ public partial class ConnectedMachine await eventListener.AssertNotNull(nameof(resourceGroupName),resourceGroupName); await eventListener.AssertMinimumLength(nameof(resourceGroupName),resourceGroupName,1); await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); - await eventListener.AssertNotNull(nameof(machineName),machineName); - await eventListener.AssertMinimumLength(nameof(machineName),machineName,1); - await eventListener.AssertMaximumLength(nameof(machineName),machineName,54); - await eventListener.AssertRegEx(nameof(machineName), machineName, @"^[a-zA-Z0-9-_\.]{1,54}$"); + await eventListener.AssertNotNull(nameof(Expand),Expand); } } - /// Gets the network security perimeter configuration for a private link scope. + /// + /// Lists all the hybrid machines in the specified subscription. Use the nextLink property in the response to get the next + /// page of hybrid machines. + /// /// The ID of the target subscription. - /// The name of the resource group. The name is case insensitive. - /// The name of the Azure Arc PrivateLinkScope resource. - /// The name, in the format {perimeterGuid}.{associationName}, of the Network Security Perimeter - /// resource. /// 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). @@ -17736,9 +10345,9 @@ public partial class ConnectedMachine /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task NetworkSecurityPerimeterConfigurationsGetByPrivateLinkScope(string subscriptionId, string resourceGroupName, string scopeName, string perimeterName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task MachinesListBySubscription(string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { @@ -17746,12 +10355,7 @@ public partial class ConnectedMachine var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) - + "/resourceGroups/" - + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.HybridCompute/privateLinkScopes/" - + global::System.Uri.EscapeDataString(scopeName) - + "/networkSecurityPerimeterConfigurations/" - + global::System.Uri.EscapeDataString(perimeterName) + + "/providers/Microsoft.HybridCompute/machines" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -17765,11 +10369,14 @@ public partial class ConnectedMachine await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.NetworkSecurityPerimeterConfigurationsGetByPrivateLinkScope_Call (request, onOk,onDefault,eventListener,sender); + await this.MachinesListBySubscription_Call (request, onOk,onDefault,eventListener,sender); } } - /// Gets the network security perimeter configuration for a private link scope. + /// + /// Lists all the hybrid machines in the specified subscription. Use the nextLink property in the response to get the next + /// page of hybrid machines. + /// /// /// 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 @@ -17779,35 +10386,27 @@ public partial class ConnectedMachine /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task NetworkSecurityPerimeterConfigurationsGetByPrivateLinkScopeViaIdentity(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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task MachinesListBySubscriptionViaIdentity(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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/privateLinkScopes/(?[^/]+)/networkSecurityPerimeterConfigurations/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/providers/Microsoft.HybridCompute/machines$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/networkSecurityPerimeterConfigurations/{perimeterName}'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/machines'"); } // replace URI parameters with values from identity var subscriptionId = _match.Groups["subscriptionId"].Value; - var resourceGroupName = _match.Groups["resourceGroupName"].Value; - var scopeName = _match.Groups["scopeName"].Value; - var perimeterName = _match.Groups["perimeterName"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" + subscriptionId - + "/resourceGroups/" - + resourceGroupName - + "/providers/Microsoft.HybridCompute/privateLinkScopes/" - + scopeName - + "/networkSecurityPerimeterConfigurations/" - + perimeterName + + "/providers/Microsoft.HybridCompute/machines" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -17821,47 +10420,42 @@ public partial class ConnectedMachine await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.NetworkSecurityPerimeterConfigurationsGetByPrivateLinkScope_Call (request, onOk,onDefault,eventListener,sender); + await this.MachinesListBySubscription_Call (request, onOk,onDefault,eventListener,sender); } } - /// Gets the network security perimeter configuration for a private link scope. + /// + /// Lists all the hybrid machines in the specified subscription. Use the nextLink property in the response to get the next + /// page of hybrid machines. + /// /// /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 NetworkSecurityPerimeterConfigurationsGetByPrivateLinkScopeViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task MachinesListBySubscriptionViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/privateLinkScopes/(?[^/]+)/networkSecurityPerimeterConfigurations/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/providers/Microsoft.HybridCompute/machines$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/networkSecurityPerimeterConfigurations/{perimeterName}'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/machines'"); } // replace URI parameters with values from identity var subscriptionId = _match.Groups["subscriptionId"].Value; - var resourceGroupName = _match.Groups["resourceGroupName"].Value; - var scopeName = _match.Groups["scopeName"].Value; - var perimeterName = _match.Groups["perimeterName"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" + subscriptionId - + "/resourceGroups/" - + resourceGroupName - + "/providers/Microsoft.HybridCompute/privateLinkScopes/" - + scopeName - + "/networkSecurityPerimeterConfigurations/" - + perimeterName + + "/providers/Microsoft.HybridCompute/machines" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -17875,25 +10469,24 @@ public partial class ConnectedMachine await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.NetworkSecurityPerimeterConfigurationsGetByPrivateLinkScopeWithResult_Call (request, eventListener,sender); + return await this.MachinesListBySubscriptionWithResult_Call (request, eventListener,sender); } } - /// Gets the network security perimeter configuration for a private link scope. + /// + /// Lists all the hybrid machines in the specified subscription. Use the nextLink property in the response to get the next + /// page of hybrid machines. + /// /// The ID of the target subscription. - /// The name of the resource group. The name is case insensitive. - /// The name of the Azure Arc PrivateLinkScope resource. - /// The name, in the format {perimeterGuid}.{associationName}, of the Network Security Perimeter - /// resource. /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 NetworkSecurityPerimeterConfigurationsGetByPrivateLinkScopeWithResult(string subscriptionId, string resourceGroupName, string scopeName, string perimeterName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task MachinesListBySubscriptionWithResult(string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { @@ -17901,12 +10494,7 @@ public partial class ConnectedMachine var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) - + "/resourceGroups/" - + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.HybridCompute/privateLinkScopes/" - + global::System.Uri.EscapeDataString(scopeName) - + "/networkSecurityPerimeterConfigurations/" - + global::System.Uri.EscapeDataString(perimeterName) + + "/providers/Microsoft.HybridCompute/machines" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -17920,21 +10508,21 @@ public partial class ConnectedMachine await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.NetworkSecurityPerimeterConfigurationsGetByPrivateLinkScopeWithResult_Call (request, eventListener,sender); + return await this.MachinesListBySubscriptionWithResult_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.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. /// - /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task NetworkSecurityPerimeterConfigurationsGetByPrivateLinkScopeWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task MachinesListBySubscriptionWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -17953,7 +10541,7 @@ public partial class ConnectedMachine case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.NetworkSecurityPerimeterConfiguration.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); + var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.MachineListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); return await _result; } default: @@ -17986,9 +10574,7 @@ public partial class ConnectedMachine } } - /// - /// 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 @@ -17998,7 +10584,7 @@ public partial class ConnectedMachine /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task NetworkSecurityPerimeterConfigurationsGetByPrivateLinkScope_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task MachinesListBySubscription_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -18017,7 +10603,7 @@ public partial class ConnectedMachine case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.NetworkSecurityPerimeterConfiguration.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.MachineListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -18039,49 +10625,40 @@ public partial class ConnectedMachine } /// - /// 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 name of the resource group. The name is case insensitive. - /// The name of the Azure Arc PrivateLinkScope resource. - /// The name, in the format {perimeterGuid}.{associationName}, of the Network Security Perimeter - /// resource. /// an instance that will receive events. /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task NetworkSecurityPerimeterConfigurationsGetByPrivateLinkScope_Validate(string subscriptionId, string resourceGroupName, string scopeName, string perimeterName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task MachinesListBySubscription_Validate(string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); await eventListener.AssertMinimumLength(nameof(subscriptionId),subscriptionId,1); - await eventListener.AssertNotNull(nameof(resourceGroupName),resourceGroupName); - await eventListener.AssertMinimumLength(nameof(resourceGroupName),resourceGroupName,1); - await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); - await eventListener.AssertNotNull(nameof(scopeName),scopeName); - await eventListener.AssertRegEx(nameof(scopeName), scopeName, @"[a-zA-Z0-9-_\.]+"); - await eventListener.AssertNotNull(nameof(perimeterName),perimeterName); - await eventListener.AssertRegEx(nameof(perimeterName), perimeterName, @"^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}[.]{1}.+$"); } } - /// Lists the network security perimeter configurations for a private link scope. + /// The operation to update a hybrid machine. /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. - /// The name of the Azure Arc PrivateLinkScope resource. + /// The name of the hybrid machine. + /// Parameters supplied to the Update hybrid machine 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). /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. + /// Allows the caller to choose the depth of the serialization. See . /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task NetworkSecurityPerimeterConfigurationsListByPrivateLinkScope(string subscriptionId, string resourceGroupName, string scopeName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task MachinesUpdate(string subscriptionId, string resourceGroupName, string machineName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineUpdate body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { @@ -18091,9 +10668,8 @@ public partial class ConnectedMachine + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.HybridCompute/privateLinkScopes/" - + global::System.Uri.EscapeDataString(scopeName) - + "/networkSecurityPerimeterConfigurations" + + "/providers/Microsoft.HybridCompute/machines/" + + global::System.Uri.EscapeDataString(machineName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -18102,17 +10678,140 @@ public partial class ConnectedMachine // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Patch, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // set body content + request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.NetworkSecurityPerimeterConfigurationsListByPrivateLinkScope_Call (request, onOk,onDefault,eventListener,sender); + await this.MachinesUpdate_Call (request, onOk,onDefault,eventListener,sender); } } - /// Lists the network security perimeter configurations for a private link scope. + /// The operation to update a hybrid machine. + /// + /// Parameters supplied to the Update hybrid machine 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). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. + /// Allows the caller to choose the depth of the serialization. See . + /// + /// A that will be complete when handling of the response is completed. + /// + public async global::System.Threading.Tasks.Task MachinesUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineUpdate body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) + { + var apiVersion = @"2024-07-10"; + // Constant Parameters + using( NoSynchronizationContext ) + { + // verify that Identity format is an exact match for uri + + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/machines/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + if (!_match.Success) + { + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}'"); + } + + // replace URI parameters with values from identity + var subscriptionId = _match.Groups["subscriptionId"].Value; + var resourceGroupName = _match.Groups["resourceGroupName"].Value; + var machineName = _match.Groups["machineName"].Value; + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + subscriptionId + + "/resourceGroups/" + + resourceGroupName + + "/providers/Microsoft.HybridCompute/machines/" + + machineName + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Patch, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // set body content + request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } + // make the call + await this.MachinesUpdate_Call (request, onOk,onDefault,eventListener,sender); + } + } + + /// The operation to update a hybrid machine. /// + /// Parameters supplied to the Update hybrid machine operation. + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. + /// Allows the caller to choose the depth of the serialization. See . + /// + /// A that will be complete when handling of the response is completed. + /// + public async global::System.Threading.Tasks.Task MachinesUpdateViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineUpdate body, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) + { + var apiVersion = @"2024-07-10"; + // Constant Parameters + using( NoSynchronizationContext ) + { + // verify that Identity format is an exact match for uri + + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/machines/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + if (!_match.Success) + { + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}'"); + } + + // replace URI parameters with values from identity + var subscriptionId = _match.Groups["subscriptionId"].Value; + var resourceGroupName = _match.Groups["resourceGroupName"].Value; + var machineName = _match.Groups["machineName"].Value; + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + subscriptionId + + "/resourceGroups/" + + resourceGroupName + + "/providers/Microsoft.HybridCompute/machines/" + + machineName + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } + + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Patch, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } + // set body content + request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } + // make the call + return await this.MachinesUpdateWithResult_Call (request, eventListener,sender); + } + } + + /// The operation to update a hybrid machine. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. + /// The name of the hybrid machine. + /// Json string supplied to the MachinesUpdate 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). @@ -18121,33 +10820,20 @@ public partial class ConnectedMachine /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task NetworkSecurityPerimeterConfigurationsListByPrivateLinkScopeViaIdentity(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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task MachinesUpdateViaJsonString(string subscriptionId, string resourceGroupName, string machineName, 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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { - // verify that Identity format is an exact match for uri - - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/privateLinkScopes/(?[^/]+)/networkSecurityPerimeterConfigurations$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); - if (!_match.Success) - { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/networkSecurityPerimeterConfigurations'"); - } - - // replace URI parameters with values from identity - var subscriptionId = _match.Groups["subscriptionId"].Value; - var resourceGroupName = _match.Groups["resourceGroupName"].Value; - var scopeName = _match.Groups["scopeName"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" - + subscriptionId + + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" - + resourceGroupName - + "/providers/Microsoft.HybridCompute/privateLinkScopes/" - + scopeName - + "/networkSecurityPerimeterConfigurations" + + global::System.Uri.EscapeDataString(resourceGroupName) + + "/providers/Microsoft.HybridCompute/machines/" + + global::System.Uri.EscapeDataString(machineName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -18156,50 +10842,44 @@ public partial class ConnectedMachine // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Patch, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // set body content + request.Content = new global::System.Net.Http.StringContent(jsonString, global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.NetworkSecurityPerimeterConfigurationsListByPrivateLinkScope_Call (request, onOk,onDefault,eventListener,sender); + await this.MachinesUpdate_Call (request, onOk,onDefault,eventListener,sender); } } - /// Lists the network security perimeter configurations for a private link scope. - /// + /// The operation to update a hybrid machine. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. + /// The name of the hybrid machine. + /// Json string supplied to the MachinesUpdate operation /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 NetworkSecurityPerimeterConfigurationsListByPrivateLinkScopeViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task MachinesUpdateViaJsonStringWithResult(string subscriptionId, string resourceGroupName, string machineName, global::System.String jsonString, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { - // verify that Identity format is an exact match for uri - - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/privateLinkScopes/(?[^/]+)/networkSecurityPerimeterConfigurations$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); - if (!_match.Success) - { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/networkSecurityPerimeterConfigurations'"); - } - - // replace URI parameters with values from identity - var subscriptionId = _match.Groups["subscriptionId"].Value; - var resourceGroupName = _match.Groups["resourceGroupName"].Value; - var scopeName = _match.Groups["scopeName"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" - + subscriptionId + + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" - + resourceGroupName - + "/providers/Microsoft.HybridCompute/privateLinkScopes/" - + scopeName - + "/networkSecurityPerimeterConfigurations" + + global::System.Uri.EscapeDataString(resourceGroupName) + + "/providers/Microsoft.HybridCompute/machines/" + + global::System.Uri.EscapeDataString(machineName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -18208,28 +10888,34 @@ public partial class ConnectedMachine // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Patch, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } + // set body content + request.Content = new global::System.Net.Http.StringContent(jsonString, global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.NetworkSecurityPerimeterConfigurationsListByPrivateLinkScopeWithResult_Call (request, eventListener,sender); + return await this.MachinesUpdateWithResult_Call (request, eventListener,sender); } } - /// Lists the network security perimeter configurations for a private link scope. + /// The operation to update a hybrid machine. /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. - /// The name of the Azure Arc PrivateLinkScope resource. + /// The name of the hybrid machine. + /// Parameters supplied to the Update hybrid machine operation. /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. + /// Allows the caller to choose the depth of the serialization. See . /// - /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task NetworkSecurityPerimeterConfigurationsListByPrivateLinkScopeWithResult(string subscriptionId, string resourceGroupName, string scopeName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task MachinesUpdateWithResult(string subscriptionId, string resourceGroupName, string machineName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineUpdate body, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { @@ -18239,9 +10925,8 @@ public partial class ConnectedMachine + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.HybridCompute/privateLinkScopes/" - + global::System.Uri.EscapeDataString(scopeName) - + "/networkSecurityPerimeterConfigurations" + + "/providers/Microsoft.HybridCompute/machines/" + + global::System.Uri.EscapeDataString(machineName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -18250,26 +10935,28 @@ public partial class ConnectedMachine // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Patch, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } + // set body content + request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.NetworkSecurityPerimeterConfigurationsListByPrivateLinkScopeWithResult_Call (request, eventListener,sender); + return await this.MachinesUpdateWithResult_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.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. /// - /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task NetworkSecurityPerimeterConfigurationsListByPrivateLinkScopeWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task MachinesUpdateWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -18288,7 +10975,7 @@ public partial class ConnectedMachine case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.NetworkSecurityPerimeterConfigurationListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); + var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.Machine.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); return await _result; } default: @@ -18321,9 +11008,7 @@ public partial class ConnectedMachine } } - /// - /// 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 @@ -18333,7 +11018,7 @@ public partial class ConnectedMachine /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task NetworkSecurityPerimeterConfigurationsListByPrivateLinkScope_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task MachinesUpdate_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -18352,7 +11037,7 @@ public partial class ConnectedMachine case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.NetworkSecurityPerimeterConfigurationListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.Machine.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -18374,17 +11059,18 @@ public partial class ConnectedMachine } /// - /// 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 name of the resource group. The name is case insensitive. - /// The name of the Azure Arc PrivateLinkScope resource. + /// The name of the hybrid machine. + /// Parameters supplied to the Update hybrid machine operation. /// an instance that will receive events. /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task NetworkSecurityPerimeterConfigurationsListByPrivateLinkScope_Validate(string subscriptionId, string resourceGroupName, string scopeName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task MachinesUpdate_Validate(string subscriptionId, string resourceGroupName, string machineName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineUpdate body, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -18393,19 +11079,20 @@ public partial class ConnectedMachine await eventListener.AssertNotNull(nameof(resourceGroupName),resourceGroupName); await eventListener.AssertMinimumLength(nameof(resourceGroupName),resourceGroupName,1); await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); - await eventListener.AssertNotNull(nameof(scopeName),scopeName); - await eventListener.AssertRegEx(nameof(scopeName), scopeName, @"[a-zA-Z0-9-_\.]+"); + await eventListener.AssertNotNull(nameof(machineName),machineName); + await eventListener.AssertMinimumLength(nameof(machineName),machineName,1); + await eventListener.AssertMaximumLength(nameof(machineName),machineName,54); + await eventListener.AssertRegEx(nameof(machineName), machineName, @"^[a-zA-Z0-9-_\.]{1,54}$"); + await eventListener.AssertNotNull(nameof(body), body); + await eventListener.AssertObjectIsValid(nameof(body), body); } } - /// - /// Forces the network security perimeter configuration to refresh for a private link scope. - /// + /// The operation to get network information of hybrid machine /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. - /// The name of the Azure Arc PrivateLinkScope resource. - /// The name, in the format {perimeterGuid}.{associationName}, of the Network Security Perimeter - /// resource. + /// The name of the hybrid machine. + /// 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). /// an instance that will receive events. @@ -18413,9 +11100,9 @@ public partial class ConnectedMachine /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task NetworkSecurityPerimeterConfigurationsReconcileForPrivateLinkScope(string subscriptionId, string resourceGroupName, string scopeName, string perimeterName, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task NetworkProfileGet(string subscriptionId, string resourceGroupName, string machineName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { @@ -18425,11 +11112,9 @@ public partial class ConnectedMachine + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.HybridCompute/privateLinkScopes/" - + global::System.Uri.EscapeDataString(scopeName) - + "/networkSecurityPerimeterConfigurations/" - + global::System.Uri.EscapeDataString(perimeterName) - + "/reconcile" + + "/providers/Microsoft.HybridCompute/machines/" + + global::System.Uri.EscapeDataString(machineName) + + "/networkProfile" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -18438,85 +11123,172 @@ public partial class ConnectedMachine // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Post, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.NetworkSecurityPerimeterConfigurationsReconcileForPrivateLinkScope_Call (request, onDefault,eventListener,sender); + await this.NetworkProfileGet_Call (request, onOk,onDefault,eventListener,sender); } } - /// - /// Forces the network security perimeter configuration to refresh for a private link scope. - /// + /// The operation to get network information of hybrid machine /// + /// 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). /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. /// - /// A that will be complete when handling of the response is completed. + /// A that will be complete when handling of the response is completed. + /// + public async global::System.Threading.Tasks.Task NetworkProfileGetViaIdentity(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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + { + var apiVersion = @"2024-07-10"; + // Constant Parameters + using( NoSynchronizationContext ) + { + // verify that Identity format is an exact match for uri + + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/machines/(?[^/]+)/networkProfile$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + if (!_match.Success) + { + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/networkProfile'"); + } + + // replace URI parameters with values from identity + var subscriptionId = _match.Groups["subscriptionId"].Value; + var resourceGroupName = _match.Groups["resourceGroupName"].Value; + var machineName = _match.Groups["machineName"].Value; + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + subscriptionId + + "/resourceGroups/" + + resourceGroupName + + "/providers/Microsoft.HybridCompute/machines/" + + machineName + + "/networkProfile" + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // make the call + await this.NetworkProfileGet_Call (request, onOk,onDefault,eventListener,sender); + } + } + + /// The operation to get network information of hybrid machine + /// + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 NetworkProfileGetViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + { + var apiVersion = @"2024-07-10"; + // Constant Parameters + using( NoSynchronizationContext ) + { + // verify that Identity format is an exact match for uri + + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/machines/(?[^/]+)/networkProfile$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + if (!_match.Success) + { + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/networkProfile'"); + } + + // replace URI parameters with values from identity + var subscriptionId = _match.Groups["subscriptionId"].Value; + var resourceGroupName = _match.Groups["resourceGroupName"].Value; + var machineName = _match.Groups["machineName"].Value; + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + subscriptionId + + "/resourceGroups/" + + resourceGroupName + + "/providers/Microsoft.HybridCompute/machines/" + + machineName + + "/networkProfile" + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } + + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } + // make the call + return await this.NetworkProfileGetWithResult_Call (request, eventListener,sender); + } + } + + /// The operation to get network information of hybrid machine + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. + /// The name of the hybrid machine. + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 NetworkSecurityPerimeterConfigurationsReconcileForPrivateLinkScopeViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task NetworkProfileGetWithResult(string subscriptionId, string resourceGroupName, string machineName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { - // verify that Identity format is an exact match for uri - - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/privateLinkScopes/(?[^/]+)/networkSecurityPerimeterConfigurations/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); - if (!_match.Success) - { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/networkSecurityPerimeterConfigurations/{perimeterName}'"); - } - - // replace URI parameters with values from identity - var subscriptionId = _match.Groups["subscriptionId"].Value; - var resourceGroupName = _match.Groups["resourceGroupName"].Value; - var scopeName = _match.Groups["scopeName"].Value; - var perimeterName = _match.Groups["perimeterName"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" - + subscriptionId + + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" - + resourceGroupName - + "/providers/Microsoft.HybridCompute/privateLinkScopes/" - + scopeName - + "/networkSecurityPerimeterConfigurations/" - + perimeterName - + "/reconcile" + + global::System.Uri.EscapeDataString(resourceGroupName) + + "/providers/Microsoft.HybridCompute/machines/" + + global::System.Uri.EscapeDataString(machineName) + + "/networkProfile" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Post, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - await this.NetworkSecurityPerimeterConfigurationsReconcileForPrivateLinkScope_Call (request, onDefault,eventListener,sender); + return await this.NetworkProfileGetWithResult_Call (request, 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 default (any response code not handled - /// elsewhere). /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. /// - /// A that will be complete when handling of the response is completed. + /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task NetworkSecurityPerimeterConfigurationsReconcileForPrivateLinkScope_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task NetworkProfileGetWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -18524,110 +11296,82 @@ public partial class ConnectedMachine try { var sendTask = sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; } _response = await sendTask; - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - // this operation supports x-ms-long-running-operation - var _originalUri = request.RequestUri.AbsoluteUri; - // declared final-state-via: default - var _finalUri = _response.GetFirstHeader(@"Location"); - var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); - var location = _response.GetFirstHeader(@"Location"); - var operationLocation = _response.GetFirstHeader(@"Operation-Location"); - while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) - { - // delay before making the next polling request - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.DelayBeforePolling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - - // while we wait, let's grab the headers and get ready to poll. - if (!System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Azure-AsyncOperation"))) { - asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); - } - if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Location"))) { - location = _response.GetFirstHeader(@"Location"); - } - if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Operation-Location"))) { - operationLocation = _response.GetFirstHeader(@"Operation-Location"); - } - var _uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? global::System.String.IsNullOrEmpty(operationLocation) ? _originalUri : operationLocation : location : asyncOperation; - request = request.CloneAndDispose(new global::System.Uri(_uri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); - - // and let's look at the current response body and see if we have some information we can give back to the listener - var content = await _response.Content.ReadAsStringAsync(); - - // drop the old response - _response?.Dispose(); - - // make the polling call - _response = await sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - - // if we got back an OK, take a peek inside and see if it's done - if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) - { - var error = false; - try { - if( Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json) - { - var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); - if( state is null ) - { - // the body doesn't contain any information that has the state of the LRO - // we're going to just get out, and let the consumer have the result - break; - } - - switch( state?.ToString()?.ToLower() ) - { - case "failed": - error = true; - break; - case "succeeded": - case "canceled": - // we're done polling. - break; - - default: - // need to keep polling! - _response.StatusCode = global::System.Net.HttpStatusCode.Created; - continue; - } - } - } catch { - // if we run into a problem peeking into the result, - // we really don't want to do anything special. - } - if (error) { - throw new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.UndeclaredResponseException(_response); - } - } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return null; } + var _contentType = _response.Content.Headers.ContentType?.MediaType; - // check for terminal status code - if (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + switch ( _response.StatusCode ) + { + case global::System.Net.HttpStatusCode.OK: { - continue; + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } + var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.NetworkProfile.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); + return await _result; } - // we are done polling, do a request on final target? - if (!string.IsNullOrWhiteSpace(_finalUri)) + default: { - // create a new request with the final uri - request = request.CloneAndDispose(new global::System.Uri(_finalUri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); - - // drop the old response - _response?.Dispose(); - - // make the final call - _response = await sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - break; + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } + var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ErrorResponse.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); + // Error Response : default + var code = (await _result)?.Code; + var message = (await _result)?.Message; + if ((null == code || null == message)) + { + // Unrecognized Response. Create an error record based on what we have. + var ex = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.RestException(_response, await _result); + throw ex; + } + else + { + throw new global::System.Exception($"[{code}] : {message}"); + } } } + } + finally + { + // finally statements + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Finally, request, _response); + _response?.Dispose(); + request?.Dispose(); + } + } + } + + /// 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 + /// elsewhere). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + internal async global::System.Threading.Tasks.Task NetworkProfileGet_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + { + using( NoSynchronizationContext ) + { + global::System.Net.Http.HttpResponseMessage _response = null; + try + { + var sendTask = sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } + _response = await sendTask; + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return; } var _contentType = _response.Content.Headers.ContentType?.MediaType; switch ( _response.StatusCode ) { + case global::System.Net.HttpStatusCode.OK: + { + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.NetworkProfile.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); + break; + } default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } @@ -18647,19 +11391,17 @@ public partial class ConnectedMachine } /// - /// 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 name of the resource group. The name is case insensitive. - /// The name of the Azure Arc PrivateLinkScope resource. - /// The name, in the format {perimeterGuid}.{associationName}, of the Network Security Perimeter - /// resource. + /// The name of the hybrid machine. /// an instance that will receive events. /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task NetworkSecurityPerimeterConfigurationsReconcileForPrivateLinkScope_Validate(string subscriptionId, string resourceGroupName, string scopeName, string perimeterName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task NetworkProfileGet_Validate(string subscriptionId, string resourceGroupName, string machineName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -18668,14 +11410,19 @@ public partial class ConnectedMachine await eventListener.AssertNotNull(nameof(resourceGroupName),resourceGroupName); await eventListener.AssertMinimumLength(nameof(resourceGroupName),resourceGroupName,1); await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); - await eventListener.AssertNotNull(nameof(scopeName),scopeName); - await eventListener.AssertRegEx(nameof(scopeName), scopeName, @"[a-zA-Z0-9-_\.]+"); - await eventListener.AssertNotNull(nameof(perimeterName),perimeterName); - await eventListener.AssertRegEx(nameof(perimeterName), perimeterName, @"^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}[.]{1}.+$"); + await eventListener.AssertNotNull(nameof(machineName),machineName); + await eventListener.AssertMinimumLength(nameof(machineName),machineName,1); + await eventListener.AssertMaximumLength(nameof(machineName),machineName,54); + await eventListener.AssertRegEx(nameof(machineName), machineName, @"^[a-zA-Z0-9-_\.]{1,54}$"); } } - /// Gets a list of hybrid compute operations. + /// Gets the network security perimeter configuration for a private link scope. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. + /// The name of the Azure Arc PrivateLinkScope resource. + /// The name, in the format {perimeterGuid}.{associationName}, of the Network Security Perimeter + /// resource. /// 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). @@ -18684,15 +11431,22 @@ public partial class ConnectedMachine /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task OperationsList(global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task NetworkSecurityPerimeterConfigurationsGetByPrivateLinkScope(string subscriptionId, string resourceGroupName, string scopeName, string perimeterName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/providers/Microsoft.HybridCompute/operations" + "/subscriptions/" + + global::System.Uri.EscapeDataString(subscriptionId) + + "/resourceGroups/" + + global::System.Uri.EscapeDataString(resourceGroupName) + + "/providers/Microsoft.HybridCompute/privateLinkScopes/" + + global::System.Uri.EscapeDataString(scopeName) + + "/networkSecurityPerimeterConfigurations/" + + global::System.Uri.EscapeDataString(perimeterName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -18706,11 +11460,11 @@ public partial class ConnectedMachine await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.OperationsList_Call (request, onOk,onDefault,eventListener,sender); + await this.NetworkSecurityPerimeterConfigurationsGetByPrivateLinkScope_Call (request, onOk,onDefault,eventListener,sender); } } - /// Gets a list of hybrid compute operations. + /// Gets the network security perimeter configuration for a private link scope. /// /// 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 @@ -18720,24 +11474,35 @@ public partial class ConnectedMachine /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task OperationsListViaIdentity(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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task NetworkSecurityPerimeterConfigurationsGetByPrivateLinkScopeViaIdentity(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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/providers/Microsoft.HybridCompute/operations$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/privateLinkScopes/(?[^/]+)/networkSecurityPerimeterConfigurations/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/providers/Microsoft.HybridCompute/operations'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/networkSecurityPerimeterConfigurations/{perimeterName}'"); } // replace URI parameters with values from identity + var subscriptionId = _match.Groups["subscriptionId"].Value; + var resourceGroupName = _match.Groups["resourceGroupName"].Value; + var scopeName = _match.Groups["scopeName"].Value; + var perimeterName = _match.Groups["perimeterName"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/providers/Microsoft.HybridCompute/operations" + "/subscriptions/" + + subscriptionId + + "/resourceGroups/" + + resourceGroupName + + "/providers/Microsoft.HybridCompute/privateLinkScopes/" + + scopeName + + "/networkSecurityPerimeterConfigurations/" + + perimeterName + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -18751,36 +11516,47 @@ public partial class ConnectedMachine await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.OperationsList_Call (request, onOk,onDefault,eventListener,sender); + await this.NetworkSecurityPerimeterConfigurationsGetByPrivateLinkScope_Call (request, onOk,onDefault,eventListener,sender); } } - /// Gets a list of hybrid compute operations. + /// Gets the network security perimeter configuration for a private link scope. /// /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 OperationsListViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task NetworkSecurityPerimeterConfigurationsGetByPrivateLinkScopeViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/providers/Microsoft.HybridCompute/operations$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/privateLinkScopes/(?[^/]+)/networkSecurityPerimeterConfigurations/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/providers/Microsoft.HybridCompute/operations'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/networkSecurityPerimeterConfigurations/{perimeterName}'"); } // replace URI parameters with values from identity + var subscriptionId = _match.Groups["subscriptionId"].Value; + var resourceGroupName = _match.Groups["resourceGroupName"].Value; + var scopeName = _match.Groups["scopeName"].Value; + var perimeterName = _match.Groups["perimeterName"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/providers/Microsoft.HybridCompute/operations" + "/subscriptions/" + + subscriptionId + + "/resourceGroups/" + + resourceGroupName + + "/providers/Microsoft.HybridCompute/privateLinkScopes/" + + scopeName + + "/networkSecurityPerimeterConfigurations/" + + perimeterName + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -18794,26 +11570,38 @@ public partial class ConnectedMachine await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.OperationsListWithResult_Call (request, eventListener,sender); + return await this.NetworkSecurityPerimeterConfigurationsGetByPrivateLinkScopeWithResult_Call (request, eventListener,sender); } } - /// Gets a list of hybrid compute operations. + /// Gets the network security perimeter configuration for a private link scope. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. + /// The name of the Azure Arc PrivateLinkScope resource. + /// The name, in the format {perimeterGuid}.{associationName}, of the Network Security Perimeter + /// resource. /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 OperationsListWithResult(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task NetworkSecurityPerimeterConfigurationsGetByPrivateLinkScopeWithResult(string subscriptionId, string resourceGroupName, string scopeName, string perimeterName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/providers/Microsoft.HybridCompute/operations" + "/subscriptions/" + + global::System.Uri.EscapeDataString(subscriptionId) + + "/resourceGroups/" + + global::System.Uri.EscapeDataString(resourceGroupName) + + "/providers/Microsoft.HybridCompute/privateLinkScopes/" + + global::System.Uri.EscapeDataString(scopeName) + + "/networkSecurityPerimeterConfigurations/" + + global::System.Uri.EscapeDataString(perimeterName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -18827,19 +11615,21 @@ public partial class ConnectedMachine await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.OperationsListWithResult_Call (request, eventListener,sender); + return await this.NetworkSecurityPerimeterConfigurationsGetByPrivateLinkScopeWithResult_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.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. /// - /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task OperationsListWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task NetworkSecurityPerimeterConfigurationsGetByPrivateLinkScopeWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -18858,7 +11648,7 @@ public partial class ConnectedMachine case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.OperationListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); + var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.NetworkSecurityPerimeterConfiguration.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); return await _result; } default: @@ -18891,7 +11681,9 @@ public partial class ConnectedMachine } } - /// 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 @@ -18901,7 +11693,7 @@ public partial class ConnectedMachine /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task OperationsList_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task NetworkSecurityPerimeterConfigurationsGetByPrivateLinkScope_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -18920,7 +11712,7 @@ public partial class ConnectedMachine case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.OperationListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.NetworkSecurityPerimeterConfiguration.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -18942,39 +11734,49 @@ public partial class ConnectedMachine } /// - /// 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 name of the resource group. The name is case insensitive. + /// The name of the Azure Arc PrivateLinkScope resource. + /// The name, in the format {perimeterGuid}.{associationName}, of the Network Security Perimeter + /// resource. /// an instance that will receive events. /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task OperationsList_Validate(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task NetworkSecurityPerimeterConfigurationsGetByPrivateLinkScope_Validate(string subscriptionId, string resourceGroupName, string scopeName, string perimeterName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { - + await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); + await eventListener.AssertMinimumLength(nameof(subscriptionId),subscriptionId,1); + await eventListener.AssertNotNull(nameof(resourceGroupName),resourceGroupName); + await eventListener.AssertMinimumLength(nameof(resourceGroupName),resourceGroupName,1); + await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); + await eventListener.AssertNotNull(nameof(scopeName),scopeName); + await eventListener.AssertRegEx(nameof(scopeName), scopeName, @"[a-zA-Z0-9-_\.]+"); + await eventListener.AssertNotNull(nameof(perimeterName),perimeterName); + await eventListener.AssertRegEx(nameof(perimeterName), perimeterName, @"^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}[.]{1}.+$"); } } - /// Approve or reject a private endpoint connection with a given name. + /// Lists the network security perimeter configurations for a private link scope. /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. /// The name of the Azure Arc PrivateLinkScope resource. - /// The name of the private endpoint connection. - /// A private endpoint connection /// 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). /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// Allows the caller to choose the depth of the serialization. See . /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task PrivateEndpointConnectionsCreateOrUpdate(string subscriptionId, string resourceGroupName, string scopeName, string privateEndpointConnectionName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IPrivateEndpointConnection body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) + public async global::System.Threading.Tasks.Task NetworkSecurityPerimeterConfigurationsListByPrivateLinkScope(string subscriptionId, string resourceGroupName, string scopeName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { @@ -18986,8 +11788,7 @@ public partial class ConnectedMachine + global::System.Uri.EscapeDataString(resourceGroupName) + "/providers/Microsoft.HybridCompute/privateLinkScopes/" + global::System.Uri.EscapeDataString(scopeName) - + "/privateEndpointConnections/" - + global::System.Uri.EscapeDataString(privateEndpointConnectionName) + + "/networkSecurityPerimeterConfigurations" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -18996,50 +11797,43 @@ public partial class ConnectedMachine // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Put, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // set body content - request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.PrivateEndpointConnectionsCreateOrUpdate_Call (request, onOk,onDefault,eventListener,sender); + await this.NetworkSecurityPerimeterConfigurationsListByPrivateLinkScope_Call (request, onOk,onDefault,eventListener,sender); } } - /// Approve or reject a private endpoint connection with a given name. + /// Lists the network security perimeter configurations for a private link scope. /// - /// A private endpoint connection /// 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). /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// Allows the caller to choose the depth of the serialization. See . /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task PrivateEndpointConnectionsCreateOrUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IPrivateEndpointConnection body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) + public async global::System.Threading.Tasks.Task NetworkSecurityPerimeterConfigurationsListByPrivateLinkScopeViaIdentity(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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/privateLinkScopes/(?[^/]+)/privateEndpointConnections/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/privateLinkScopes/(?[^/]+)/networkSecurityPerimeterConfigurations$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/privateEndpointConnections/{privateEndpointConnectionName}'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/networkSecurityPerimeterConfigurations'"); } // replace URI parameters with values from identity var subscriptionId = _match.Groups["subscriptionId"].Value; var resourceGroupName = _match.Groups["resourceGroupName"].Value; var scopeName = _match.Groups["scopeName"].Value; - var privateEndpointConnectionName = _match.Groups["privateEndpointConnectionName"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" @@ -19048,8 +11842,7 @@ public partial class ConnectedMachine + resourceGroupName + "/providers/Microsoft.HybridCompute/privateLinkScopes/" + scopeName - + "/privateEndpointConnections/" - + privateEndpointConnectionName + + "/networkSecurityPerimeterConfigurations" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -19058,158 +11851,50 @@ public partial class ConnectedMachine // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Put, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // set body content - request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.PrivateEndpointConnectionsCreateOrUpdate_Call (request, onOk,onDefault,eventListener,sender); + await this.NetworkSecurityPerimeterConfigurationsListByPrivateLinkScope_Call (request, onOk,onDefault,eventListener,sender); } } - /// Approve or reject a private endpoint connection with a given name. + /// Lists the network security perimeter configurations for a private link scope. /// - /// A private endpoint connection /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// Allows the caller to choose the depth of the serialization. See . /// - /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task PrivateEndpointConnectionsCreateOrUpdateViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IPrivateEndpointConnection body, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) + public async global::System.Threading.Tasks.Task NetworkSecurityPerimeterConfigurationsListByPrivateLinkScopeViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/privateLinkScopes/(?[^/]+)/privateEndpointConnections/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/privateLinkScopes/(?[^/]+)/networkSecurityPerimeterConfigurations$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) - { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/privateEndpointConnections/{privateEndpointConnectionName}'"); - } - - // replace URI parameters with values from identity - var subscriptionId = _match.Groups["subscriptionId"].Value; - var resourceGroupName = _match.Groups["resourceGroupName"].Value; - var scopeName = _match.Groups["scopeName"].Value; - var privateEndpointConnectionName = _match.Groups["privateEndpointConnectionName"].Value; - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + subscriptionId - + "/resourceGroups/" - + resourceGroupName - + "/providers/Microsoft.HybridCompute/privateLinkScopes/" - + scopeName - + "/privateEndpointConnections/" - + privateEndpointConnectionName - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Put, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } - // set body content - request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } - // make the call - return await this.PrivateEndpointConnectionsCreateOrUpdateWithResult_Call (request, eventListener,sender); - } - } - - /// Approve or reject a private endpoint connection with a given name. - /// The ID of the target subscription. - /// The name of the resource group. The name is case insensitive. - /// The name of the Azure Arc PrivateLinkScope resource. - /// The name of the private endpoint connection. - /// Json string supplied to the PrivateEndpointConnectionsCreateOrUpdate 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). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 PrivateEndpointConnectionsCreateOrUpdateViaJsonString(string subscriptionId, string resourceGroupName, string scopeName, string privateEndpointConnectionName, 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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + global::System.Uri.EscapeDataString(subscriptionId) - + "/resourceGroups/" - + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.HybridCompute/privateLinkScopes/" - + global::System.Uri.EscapeDataString(scopeName) - + "/privateEndpointConnections/" - + global::System.Uri.EscapeDataString(privateEndpointConnectionName) - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Put, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // set body content - request.Content = new global::System.Net.Http.StringContent(jsonString, global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } - // make the call - await this.PrivateEndpointConnectionsCreateOrUpdate_Call (request, onOk,onDefault,eventListener,sender); - } - } - - /// Approve or reject a private endpoint connection with a given name. - /// The ID of the target subscription. - /// The name of the resource group. The name is case insensitive. - /// The name of the Azure Arc PrivateLinkScope resource. - /// The name of the private endpoint connection. - /// Json string supplied to the PrivateEndpointConnectionsCreateOrUpdate operation - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 PrivateEndpointConnectionsCreateOrUpdateViaJsonStringWithResult(string subscriptionId, string resourceGroupName, string scopeName, string privateEndpointConnectionName, global::System.String jsonString, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { + { + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/networkSecurityPerimeterConfigurations'"); + } + + // replace URI parameters with values from identity + var subscriptionId = _match.Groups["subscriptionId"].Value; + var resourceGroupName = _match.Groups["resourceGroupName"].Value; + var scopeName = _match.Groups["scopeName"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" - + global::System.Uri.EscapeDataString(subscriptionId) + + subscriptionId + "/resourceGroups/" - + global::System.Uri.EscapeDataString(resourceGroupName) + + resourceGroupName + "/providers/Microsoft.HybridCompute/privateLinkScopes/" - + global::System.Uri.EscapeDataString(scopeName) - + "/privateEndpointConnections/" - + global::System.Uri.EscapeDataString(privateEndpointConnectionName) + + scopeName + + "/networkSecurityPerimeterConfigurations" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -19218,35 +11903,28 @@ public partial class ConnectedMachine // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Put, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } - // set body content - request.Content = new global::System.Net.Http.StringContent(jsonString, global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.PrivateEndpointConnectionsCreateOrUpdateWithResult_Call (request, eventListener,sender); + return await this.NetworkSecurityPerimeterConfigurationsListByPrivateLinkScopeWithResult_Call (request, eventListener,sender); } } - /// Approve or reject a private endpoint connection with a given name. + /// Lists the network security perimeter configurations for a private link scope. /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. /// The name of the Azure Arc PrivateLinkScope resource. - /// The name of the private endpoint connection. - /// A private endpoint connection /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// Allows the caller to choose the depth of the serialization. See . /// - /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task PrivateEndpointConnectionsCreateOrUpdateWithResult(string subscriptionId, string resourceGroupName, string scopeName, string privateEndpointConnectionName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IPrivateEndpointConnection body, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) + public async global::System.Threading.Tasks.Task NetworkSecurityPerimeterConfigurationsListByPrivateLinkScopeWithResult(string subscriptionId, string resourceGroupName, string scopeName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { @@ -19258,8 +11936,7 @@ public partial class ConnectedMachine + global::System.Uri.EscapeDataString(resourceGroupName) + "/providers/Microsoft.HybridCompute/privateLinkScopes/" + global::System.Uri.EscapeDataString(scopeName) - + "/privateEndpointConnections/" - + global::System.Uri.EscapeDataString(privateEndpointConnectionName) + + "/networkSecurityPerimeterConfigurations" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -19268,30 +11945,26 @@ public partial class ConnectedMachine // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Put, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } - // set body content - request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.PrivateEndpointConnectionsCreateOrUpdateWithResult_Call (request, eventListener,sender); + return await this.NetworkSecurityPerimeterConfigurationsListByPrivateLinkScopeWithResult_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.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. /// - /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task PrivateEndpointConnectionsCreateOrUpdateWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task NetworkSecurityPerimeterConfigurationsListByPrivateLinkScopeWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -19300,103 +11973,8 @@ public partial class ConnectedMachine { var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; } _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - // this operation supports x-ms-long-running-operation - var _originalUri = request.RequestUri.AbsoluteUri; - // declared final-state-via: default - var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); - var location = _response.GetFirstHeader(@"Location"); - var operationLocation = _response.GetFirstHeader(@"Operation-Location"); - while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) - { - // delay before making the next polling request - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.DelayBeforePolling, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - - // while we wait, let's grab the headers and get ready to poll. - if (!System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Azure-AsyncOperation"))) { - asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); - } - if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Location"))) { - location = _response.GetFirstHeader(@"Location"); - } - if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Operation-Location"))) { - operationLocation = _response.GetFirstHeader(@"Operation-Location"); - } - var _uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? global::System.String.IsNullOrEmpty(operationLocation) ? _originalUri : operationLocation : location : asyncOperation; - request = request.CloneAndDispose(new global::System.Uri(_uri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); - - // and let's look at the current response body and see if we have some information we can give back to the listener - var content = await _response.Content.ReadAsStringAsync(); - - // drop the old response - _response?.Dispose(); - - // make the polling call - _response = await sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - - // if we got back an OK, take a peek inside and see if it's done - if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) - { - var error = false; - try { - if( Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json) - { - var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); - if( state is null ) - { - // the body doesn't contain any information that has the state of the LRO - // we're going to just get out, and let the consumer have the result - break; - } - - switch( state?.ToString()?.ToLower() ) - { - case "failed": - error = true; - break; - case "succeeded": - case "canceled": - // we're done polling. - break; - - default: - // need to keep polling! - _response.StatusCode = global::System.Net.HttpStatusCode.Created; - continue; - } - } - } catch { - // if we run into a problem peeking into the result, - // we really don't want to do anything special. - } - if (error) { - throw new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.UndeclaredResponseException(_response); - } - } - - // check for terminal status code - if (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) - { - continue; - } - // we are done polling, do a request on final target? - if (!string.IsNullOrWhiteSpace(_originalUri)) - { - // create a new request with the final uri - request = request.CloneAndDispose(new global::System.Uri(_originalUri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); - - // drop the old response - _response?.Dispose(); - - // make the final call - _response = await sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - break; - } - } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return null; } var _contentType = _response.Content.Headers.ContentType?.MediaType; @@ -19405,7 +11983,7 @@ public partial class ConnectedMachine case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.PrivateEndpointConnection.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); + var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.NetworkSecurityPerimeterConfigurationListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); return await _result; } default: @@ -19439,7 +12017,7 @@ public partial class ConnectedMachine } /// - /// 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). @@ -19450,112 +12028,17 @@ public partial class ConnectedMachine /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task PrivateEndpointConnectionsCreateOrUpdate_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task NetworkSecurityPerimeterConfigurationsListByPrivateLinkScope_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - using( NoSynchronizationContext ) - { - global::System.Net.Http.HttpResponseMessage _response = null; - try - { - var sendTask = sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sendTask; - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - // this operation supports x-ms-long-running-operation - var _originalUri = request.RequestUri.AbsoluteUri; - // declared final-state-via: default - var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); - var location = _response.GetFirstHeader(@"Location"); - var operationLocation = _response.GetFirstHeader(@"Operation-Location"); - while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) - { - // delay before making the next polling request - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.DelayBeforePolling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - - // while we wait, let's grab the headers and get ready to poll. - if (!System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Azure-AsyncOperation"))) { - asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); - } - if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Location"))) { - location = _response.GetFirstHeader(@"Location"); - } - if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Operation-Location"))) { - operationLocation = _response.GetFirstHeader(@"Operation-Location"); - } - var _uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? global::System.String.IsNullOrEmpty(operationLocation) ? _originalUri : operationLocation : location : asyncOperation; - request = request.CloneAndDispose(new global::System.Uri(_uri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); - - // and let's look at the current response body and see if we have some information we can give back to the listener - var content = await _response.Content.ReadAsStringAsync(); - - // drop the old response - _response?.Dispose(); - - // make the polling call - _response = await sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - - // if we got back an OK, take a peek inside and see if it's done - if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) - { - var error = false; - try { - if( Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json) - { - var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); - if( state is null ) - { - // the body doesn't contain any information that has the state of the LRO - // we're going to just get out, and let the consumer have the result - break; - } - - switch( state?.ToString()?.ToLower() ) - { - case "failed": - error = true; - break; - case "succeeded": - case "canceled": - // we're done polling. - break; - - default: - // need to keep polling! - _response.StatusCode = global::System.Net.HttpStatusCode.Created; - continue; - } - } - } catch { - // if we run into a problem peeking into the result, - // we really don't want to do anything special. - } - if (error) { - throw new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.UndeclaredResponseException(_response); - } - } - - // check for terminal status code - if (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) - { - continue; - } - // we are done polling, do a request on final target? - if (!string.IsNullOrWhiteSpace(_originalUri)) - { - // create a new request with the final uri - request = request.CloneAndDispose(new global::System.Uri(_originalUri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); - - // drop the old response - _response?.Dispose(); - - // make the final call - _response = await sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - break; - } - } + using( NoSynchronizationContext ) + { + global::System.Net.Http.HttpResponseMessage _response = null; + try + { + var sendTask = sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } + _response = await sendTask; + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return; } var _contentType = _response.Content.Headers.ContentType?.MediaType; @@ -19564,7 +12047,7 @@ public partial class ConnectedMachine case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.PrivateEndpointConnection.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.NetworkSecurityPerimeterConfigurationListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -19586,19 +12069,17 @@ public partial class ConnectedMachine } /// - /// 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 name of the resource group. The name is case insensitive. /// The name of the Azure Arc PrivateLinkScope resource. - /// The name of the private endpoint connection. - /// A private endpoint connection /// an instance that will receive events. /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task PrivateEndpointConnectionsCreateOrUpdate_Validate(string subscriptionId, string resourceGroupName, string scopeName, string privateEndpointConnectionName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IPrivateEndpointConnection body, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task NetworkSecurityPerimeterConfigurationsListByPrivateLinkScope_Validate(string subscriptionId, string resourceGroupName, string scopeName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -19609,19 +12090,18 @@ public partial class ConnectedMachine await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); await eventListener.AssertNotNull(nameof(scopeName),scopeName); await eventListener.AssertRegEx(nameof(scopeName), scopeName, @"[a-zA-Z0-9-_\.]+"); - await eventListener.AssertNotNull(nameof(privateEndpointConnectionName),privateEndpointConnectionName); - await eventListener.AssertNotNull(nameof(body), body); - await eventListener.AssertObjectIsValid(nameof(body), body); } } - /// Deletes a private endpoint connection with a given name. + /// + /// Forces the network security perimeter configuration to refresh for a private link scope. + /// /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. /// The name of the Azure Arc PrivateLinkScope resource. - /// The name of the private endpoint connection. + /// The name, in the format {perimeterGuid}.{associationName}, of the Network Security Perimeter + /// resource. /// a delegate that is called when the remote service returns 200 (OK). - /// a delegate that is called when the remote service returns 204 (NoContent). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). /// an instance that will receive events. @@ -19629,9 +12109,9 @@ public partial class ConnectedMachine /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task PrivateEndpointConnectionsDelete(string subscriptionId, string resourceGroupName, string scopeName, string privateEndpointConnectionName, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task NetworkSecurityPerimeterConfigurationsReconcileForPrivateLinkScope(string subscriptionId, string resourceGroupName, string scopeName, string perimeterName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { @@ -19643,8 +12123,9 @@ public partial class ConnectedMachine + global::System.Uri.EscapeDataString(resourceGroupName) + "/providers/Microsoft.HybridCompute/privateLinkScopes/" + global::System.Uri.EscapeDataString(scopeName) - + "/privateEndpointConnections/" - + global::System.Uri.EscapeDataString(privateEndpointConnectionName) + + "/networkSecurityPerimeterConfigurations/" + + global::System.Uri.EscapeDataString(perimeterName) + + "/reconcile" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -19653,19 +12134,20 @@ public partial class ConnectedMachine // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Delete, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Post, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.PrivateEndpointConnectionsDelete_Call (request, onOk,onNoContent,onDefault,eventListener,sender); + await this.NetworkSecurityPerimeterConfigurationsReconcileForPrivateLinkScope_Call (request, onOk,onDefault,eventListener,sender); } } - /// Deletes a private endpoint connection with a given name. + /// + /// Forces the network security perimeter configuration to refresh for a private link scope. + /// /// /// a delegate that is called when the remote service returns 200 (OK). - /// a delegate that is called when the remote service returns 204 (NoContent). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). /// an instance that will receive events. @@ -19673,56 +12155,321 @@ public partial class ConnectedMachine /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task PrivateEndpointConnectionsDeleteViaIdentity(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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task NetworkSecurityPerimeterConfigurationsReconcileForPrivateLinkScopeViaIdentity(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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + { + var apiVersion = @"2024-07-10"; + // Constant Parameters + using( NoSynchronizationContext ) + { + // verify that Identity format is an exact match for uri + + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/privateLinkScopes/(?[^/]+)/networkSecurityPerimeterConfigurations/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + if (!_match.Success) + { + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/networkSecurityPerimeterConfigurations/{perimeterName}'"); + } + + // replace URI parameters with values from identity + var subscriptionId = _match.Groups["subscriptionId"].Value; + var resourceGroupName = _match.Groups["resourceGroupName"].Value; + var scopeName = _match.Groups["scopeName"].Value; + var perimeterName = _match.Groups["perimeterName"].Value; + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + subscriptionId + + "/resourceGroups/" + + resourceGroupName + + "/providers/Microsoft.HybridCompute/privateLinkScopes/" + + scopeName + + "/networkSecurityPerimeterConfigurations/" + + perimeterName + + "/reconcile" + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Post, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // make the call + await this.NetworkSecurityPerimeterConfigurationsReconcileForPrivateLinkScope_Call (request, onOk,onDefault,eventListener,sender); + } + } + + /// + /// Forces the network security perimeter configuration to refresh for a private link scope. + /// + /// + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 NetworkSecurityPerimeterConfigurationsReconcileForPrivateLinkScopeViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/privateLinkScopes/(?[^/]+)/privateEndpointConnections/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); - if (!_match.Success) - { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/privateEndpointConnections/{privateEndpointConnectionName}'"); - } + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/privateLinkScopes/(?[^/]+)/networkSecurityPerimeterConfigurations/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + if (!_match.Success) + { + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/networkSecurityPerimeterConfigurations/{perimeterName}'"); + } + + // replace URI parameters with values from identity + var subscriptionId = _match.Groups["subscriptionId"].Value; + var resourceGroupName = _match.Groups["resourceGroupName"].Value; + var scopeName = _match.Groups["scopeName"].Value; + var perimeterName = _match.Groups["perimeterName"].Value; + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + subscriptionId + + "/resourceGroups/" + + resourceGroupName + + "/providers/Microsoft.HybridCompute/privateLinkScopes/" + + scopeName + + "/networkSecurityPerimeterConfigurations/" + + perimeterName + + "/reconcile" + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } + + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Post, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } + // make the call + return await this.NetworkSecurityPerimeterConfigurationsReconcileForPrivateLinkScopeWithResult_Call (request, eventListener,sender); + } + } + + /// + /// Forces the network security perimeter configuration to refresh for a private link scope. + /// + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. + /// The name of the Azure Arc PrivateLinkScope resource. + /// The name, in the format {perimeterGuid}.{associationName}, of the Network Security Perimeter + /// resource. + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 NetworkSecurityPerimeterConfigurationsReconcileForPrivateLinkScopeWithResult(string subscriptionId, string resourceGroupName, string scopeName, string perimeterName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + { + var apiVersion = @"2024-07-10"; + // Constant Parameters + using( NoSynchronizationContext ) + { + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + global::System.Uri.EscapeDataString(subscriptionId) + + "/resourceGroups/" + + global::System.Uri.EscapeDataString(resourceGroupName) + + "/providers/Microsoft.HybridCompute/privateLinkScopes/" + + global::System.Uri.EscapeDataString(scopeName) + + "/networkSecurityPerimeterConfigurations/" + + global::System.Uri.EscapeDataString(perimeterName) + + "/reconcile" + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } + + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Post, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } + // make the call + return await this.NetworkSecurityPerimeterConfigurationsReconcileForPrivateLinkScopeWithResult_Call (request, eventListener,sender); + } + } + + /// + /// Actual wire call for method. + /// + /// the prepared HttpRequestMessage to send. + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + internal async global::System.Threading.Tasks.Task NetworkSecurityPerimeterConfigurationsReconcileForPrivateLinkScopeWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + { + using( NoSynchronizationContext ) + { + global::System.Net.Http.HttpResponseMessage _response = null; + try + { + var sendTask = sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; } + _response = await sendTask; + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } + // this operation supports x-ms-long-running-operation + var _originalUri = request.RequestUri.AbsoluteUri; + // declared final-state-via: default + var _finalUri = _response.GetFirstHeader(@"Location"); + var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); + var location = _response.GetFirstHeader(@"Location"); + var operationLocation = _response.GetFirstHeader(@"Operation-Location"); + while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + { + // delay before making the next polling request + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.DelayBeforePolling, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } + + // while we wait, let's grab the headers and get ready to poll. + if (!System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Azure-AsyncOperation"))) { + asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); + } + if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Location"))) { + location = _response.GetFirstHeader(@"Location"); + } + if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Operation-Location"))) { + operationLocation = _response.GetFirstHeader(@"Operation-Location"); + } + var _uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? global::System.String.IsNullOrEmpty(operationLocation) ? _originalUri : operationLocation : location : asyncOperation; + request = request.CloneAndDispose(new global::System.Uri(_uri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); + + // and let's look at the current response body and see if we have some information we can give back to the listener + var content = await _response.Content.ReadAsStringAsync(); + + // drop the old response + _response?.Dispose(); + + // make the polling call + _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } + + // if we got back an OK, take a peek inside and see if it's done + if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) + { + var error = false; + try { + if( Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json) + { + var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); + if( state is null ) + { + // the body doesn't contain any information that has the state of the LRO + // we're going to just get out, and let the consumer have the result + break; + } + + switch( state?.ToString()?.ToLower() ) + { + case "failed": + error = true; + break; + case "succeeded": + case "canceled": + // we're done polling. + break; + + default: + // need to keep polling! + _response.StatusCode = global::System.Net.HttpStatusCode.Created; + continue; + } + } + } catch { + // if we run into a problem peeking into the result, + // we really don't want to do anything special. + } + if (error) { + throw new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.UndeclaredResponseException(_response); + } + } - // replace URI parameters with values from identity - var subscriptionId = _match.Groups["subscriptionId"].Value; - var resourceGroupName = _match.Groups["resourceGroupName"].Value; - var scopeName = _match.Groups["scopeName"].Value; - var privateEndpointConnectionName = _match.Groups["privateEndpointConnectionName"].Value; - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + subscriptionId - + "/resourceGroups/" - + resourceGroupName - + "/providers/Microsoft.HybridCompute/privateLinkScopes/" - + scopeName - + "/privateEndpointConnections/" - + privateEndpointConnectionName - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + // check for terminal status code + if (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + { + continue; + } + // we are done polling, do a request on final target? + if (!string.IsNullOrWhiteSpace(_finalUri)) + { + // create a new request with the final uri + request = request.CloneAndDispose(new global::System.Uri(_finalUri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + // drop the old response + _response?.Dispose(); - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Delete, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + // make the final call + _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } + break; + } + } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return null; } + var _contentType = _response.Content.Headers.ContentType?.MediaType; - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // make the call - await this.PrivateEndpointConnectionsDelete_Call (request, onOk,onNoContent,onDefault,eventListener,sender); + switch ( _response.StatusCode ) + { + case global::System.Net.HttpStatusCode.OK: + { + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } + var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.NetworkSecurityPerimeterConfigurationReconcileResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); + return await _result; + } + default: + { + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } + var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ErrorResponse.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); + // Error Response : default + var code = (await _result)?.Code; + var message = (await _result)?.Message; + if ((null == code || null == message)) + { + // Unrecognized Response. Create an error record based on what we have. + var ex = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.RestException(_response, await _result); + throw ex; + } + else + { + throw new global::System.Exception($"[{code}] : {message}"); + } + } + } + } + finally + { + // finally statements + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Finally, request, _response); + _response?.Dispose(); + request?.Dispose(); + } } } - /// 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). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). /// an instance that will receive events. @@ -19730,7 +12477,7 @@ public partial class ConnectedMachine /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task PrivateEndpointConnectionsDelete_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task NetworkSecurityPerimeterConfigurationsReconcileForPrivateLinkScope_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -19845,13 +12592,7 @@ public partial class ConnectedMachine case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response); - break; - } - case global::System.Net.HttpStatusCode.NoContent: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onNoContent(_response); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.NetworkSecurityPerimeterConfigurationReconcileResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -19873,18 +12614,19 @@ public partial class ConnectedMachine } /// - /// 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 name of the resource group. The name is case insensitive. /// The name of the Azure Arc PrivateLinkScope resource. - /// The name of the private endpoint connection. + /// The name, in the format {perimeterGuid}.{associationName}, of the Network Security Perimeter + /// resource. /// an instance that will receive events. /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task PrivateEndpointConnectionsDelete_Validate(string subscriptionId, string resourceGroupName, string scopeName, string privateEndpointConnectionName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task NetworkSecurityPerimeterConfigurationsReconcileForPrivateLinkScope_Validate(string subscriptionId, string resourceGroupName, string scopeName, string perimeterName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -19895,15 +12637,12 @@ public partial class ConnectedMachine await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); await eventListener.AssertNotNull(nameof(scopeName),scopeName); await eventListener.AssertRegEx(nameof(scopeName), scopeName, @"[a-zA-Z0-9-_\.]+"); - await eventListener.AssertNotNull(nameof(privateEndpointConnectionName),privateEndpointConnectionName); + await eventListener.AssertNotNull(nameof(perimeterName),perimeterName); + await eventListener.AssertRegEx(nameof(perimeterName), perimeterName, @"^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}[.]{1}.+$"); } } - /// Gets a private endpoint connection. - /// The ID of the target subscription. - /// The name of the resource group. The name is case insensitive. - /// The name of the Azure Arc PrivateLinkScope resource. - /// The name of the private endpoint connection. + /// Gets a list of hybrid compute operations. /// 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). @@ -19912,22 +12651,15 @@ public partial class ConnectedMachine /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task PrivateEndpointConnectionsGet(string subscriptionId, string resourceGroupName, string scopeName, string privateEndpointConnectionName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task OperationsList(global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + global::System.Uri.EscapeDataString(subscriptionId) - + "/resourceGroups/" - + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.HybridCompute/privateLinkScopes/" - + global::System.Uri.EscapeDataString(scopeName) - + "/privateEndpointConnections/" - + global::System.Uri.EscapeDataString(privateEndpointConnectionName) + "/providers/Microsoft.HybridCompute/operations" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -19941,11 +12673,11 @@ public partial class ConnectedMachine await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.PrivateEndpointConnectionsGet_Call (request, onOk,onDefault,eventListener,sender); + await this.OperationsList_Call (request, onOk,onDefault,eventListener,sender); } } - /// Gets a private endpoint connection. + /// Gets a list of hybrid compute operations. /// /// 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 @@ -19955,35 +12687,24 @@ public partial class ConnectedMachine /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task PrivateEndpointConnectionsGetViaIdentity(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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task OperationsListViaIdentity(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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/privateLinkScopes/(?[^/]+)/privateEndpointConnections/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/providers/Microsoft.HybridCompute/operations$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/privateEndpointConnections/{privateEndpointConnectionName}'"); + throw new global::System.Exception("Invalid identity for URI '/providers/Microsoft.HybridCompute/operations'"); } // replace URI parameters with values from identity - var subscriptionId = _match.Groups["subscriptionId"].Value; - var resourceGroupName = _match.Groups["resourceGroupName"].Value; - var scopeName = _match.Groups["scopeName"].Value; - var privateEndpointConnectionName = _match.Groups["privateEndpointConnectionName"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + subscriptionId - + "/resourceGroups/" - + resourceGroupName - + "/providers/Microsoft.HybridCompute/privateLinkScopes/" - + scopeName - + "/privateEndpointConnections/" - + privateEndpointConnectionName + "/providers/Microsoft.HybridCompute/operations" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -19997,47 +12718,36 @@ public partial class ConnectedMachine await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.PrivateEndpointConnectionsGet_Call (request, onOk,onDefault,eventListener,sender); + await this.OperationsList_Call (request, onOk,onDefault,eventListener,sender); } } - /// Gets a private endpoint connection. + /// Gets a list of hybrid compute operations. /// /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 PrivateEndpointConnectionsGetViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task OperationsListViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/privateLinkScopes/(?[^/]+)/privateEndpointConnections/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/providers/Microsoft.HybridCompute/operations$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/privateEndpointConnections/{privateEndpointConnectionName}'"); + throw new global::System.Exception("Invalid identity for URI '/providers/Microsoft.HybridCompute/operations'"); } // replace URI parameters with values from identity - var subscriptionId = _match.Groups["subscriptionId"].Value; - var resourceGroupName = _match.Groups["resourceGroupName"].Value; - var scopeName = _match.Groups["scopeName"].Value; - var privateEndpointConnectionName = _match.Groups["privateEndpointConnectionName"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + subscriptionId - + "/resourceGroups/" - + resourceGroupName - + "/providers/Microsoft.HybridCompute/privateLinkScopes/" - + scopeName - + "/privateEndpointConnections/" - + privateEndpointConnectionName + "/providers/Microsoft.HybridCompute/operations" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -20051,37 +12761,26 @@ public partial class ConnectedMachine await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.PrivateEndpointConnectionsGetWithResult_Call (request, eventListener,sender); + return await this.OperationsListWithResult_Call (request, eventListener,sender); } } - /// Gets a private endpoint connection. - /// The ID of the target subscription. - /// The name of the resource group. The name is case insensitive. - /// The name of the Azure Arc PrivateLinkScope resource. - /// The name of the private endpoint connection. + /// Gets a list of hybrid compute operations. /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 PrivateEndpointConnectionsGetWithResult(string subscriptionId, string resourceGroupName, string scopeName, string privateEndpointConnectionName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task OperationsListWithResult(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + global::System.Uri.EscapeDataString(subscriptionId) - + "/resourceGroups/" - + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.HybridCompute/privateLinkScopes/" - + global::System.Uri.EscapeDataString(scopeName) - + "/privateEndpointConnections/" - + global::System.Uri.EscapeDataString(privateEndpointConnectionName) + "/providers/Microsoft.HybridCompute/operations" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -20095,21 +12794,19 @@ public partial class ConnectedMachine await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.PrivateEndpointConnectionsGetWithResult_Call (request, eventListener,sender); + return await this.OperationsListWithResult_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.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. /// - /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task PrivateEndpointConnectionsGetWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task OperationsListWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -20128,7 +12825,7 @@ public partial class ConnectedMachine case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.PrivateEndpointConnection.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); + var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.OperationListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); return await _result; } default: @@ -20161,7 +12858,7 @@ public partial class ConnectedMachine } } - /// 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 @@ -20171,7 +12868,7 @@ public partial class ConnectedMachine /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task PrivateEndpointConnectionsGet_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task OperationsList_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -20190,7 +12887,7 @@ public partial class ConnectedMachine case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.PrivateEndpointConnection.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.OperationListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -20212,47 +12909,39 @@ public partial class ConnectedMachine } /// - /// 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 name of the resource group. The name is case insensitive. - /// The name of the Azure Arc PrivateLinkScope resource. - /// The name of the private endpoint connection. /// an instance that will receive events. /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task PrivateEndpointConnectionsGet_Validate(string subscriptionId, string resourceGroupName, string scopeName, string privateEndpointConnectionName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task OperationsList_Validate(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { - await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); - await eventListener.AssertMinimumLength(nameof(subscriptionId),subscriptionId,1); - await eventListener.AssertNotNull(nameof(resourceGroupName),resourceGroupName); - await eventListener.AssertMinimumLength(nameof(resourceGroupName),resourceGroupName,1); - await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); - await eventListener.AssertNotNull(nameof(scopeName),scopeName); - await eventListener.AssertRegEx(nameof(scopeName), scopeName, @"[a-zA-Z0-9-_\.]+"); - await eventListener.AssertNotNull(nameof(privateEndpointConnectionName),privateEndpointConnectionName); + } } - /// Gets all private endpoint connections on a private link scope. + /// Approve or reject a private endpoint connection with a given name. /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. /// The name of the Azure Arc PrivateLinkScope resource. + /// The name of the private endpoint connection. + /// A private endpoint connection /// 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). /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. + /// Allows the caller to choose the depth of the serialization. See . /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task PrivateEndpointConnectionsListByPrivateLinkScope(string subscriptionId, string resourceGroupName, string scopeName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task PrivateEndpointConnectionsCreateOrUpdate(string subscriptionId, string resourceGroupName, string scopeName, string privateEndpointConnectionName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IPrivateEndpointConnection body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { @@ -20264,7 +12953,8 @@ public partial class ConnectedMachine + global::System.Uri.EscapeDataString(resourceGroupName) + "/providers/Microsoft.HybridCompute/privateLinkScopes/" + global::System.Uri.EscapeDataString(scopeName) - + "/privateEndpointConnections" + + "/privateEndpointConnections/" + + global::System.Uri.EscapeDataString(privateEndpointConnectionName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -20273,43 +12963,50 @@ public partial class ConnectedMachine // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Put, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // set body content + request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.PrivateEndpointConnectionsListByPrivateLinkScope_Call (request, onOk,onDefault,eventListener,sender); + await this.PrivateEndpointConnectionsCreateOrUpdate_Call (request, onOk,onDefault,eventListener,sender); } } - /// Gets all private endpoint connections on a private link scope. + /// Approve or reject a private endpoint connection with a given name. /// + /// A private endpoint connection /// 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). /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. + /// Allows the caller to choose the depth of the serialization. See . /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task PrivateEndpointConnectionsListByPrivateLinkScopeViaIdentity(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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task PrivateEndpointConnectionsCreateOrUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IPrivateEndpointConnection body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/privateLinkScopes/(?[^/]+)/privateEndpointConnections$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/privateLinkScopes/(?[^/]+)/privateEndpointConnections/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/privateEndpointConnections'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/privateEndpointConnections/{privateEndpointConnectionName}'"); } // replace URI parameters with values from identity var subscriptionId = _match.Groups["subscriptionId"].Value; var resourceGroupName = _match.Groups["resourceGroupName"].Value; var scopeName = _match.Groups["scopeName"].Value; + var privateEndpointConnectionName = _match.Groups["privateEndpointConnectionName"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" @@ -20318,7 +13015,8 @@ public partial class ConnectedMachine + resourceGroupName + "/providers/Microsoft.HybridCompute/privateLinkScopes/" + scopeName - + "/privateEndpointConnections" + + "/privateEndpointConnections/" + + privateEndpointConnectionName + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -20327,41 +13025,48 @@ public partial class ConnectedMachine // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Put, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // set body content + request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.PrivateEndpointConnectionsListByPrivateLinkScope_Call (request, onOk,onDefault,eventListener,sender); + await this.PrivateEndpointConnectionsCreateOrUpdate_Call (request, onOk,onDefault,eventListener,sender); } } - /// Gets all private endpoint connections on a private link scope. + /// Approve or reject a private endpoint connection with a given name. /// + /// A private endpoint connection /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. + /// Allows the caller to choose the depth of the serialization. See . /// - /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task PrivateEndpointConnectionsListByPrivateLinkScopeViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task PrivateEndpointConnectionsCreateOrUpdateViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IPrivateEndpointConnection body, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/privateLinkScopes/(?[^/]+)/privateEndpointConnections$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/privateLinkScopes/(?[^/]+)/privateEndpointConnections/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/privateEndpointConnections'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/privateEndpointConnections/{privateEndpointConnectionName}'"); } // replace URI parameters with values from identity var subscriptionId = _match.Groups["subscriptionId"].Value; var resourceGroupName = _match.Groups["resourceGroupName"].Value; var scopeName = _match.Groups["scopeName"].Value; + var privateEndpointConnectionName = _match.Groups["privateEndpointConnectionName"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" @@ -20370,7 +13075,8 @@ public partial class ConnectedMachine + resourceGroupName + "/providers/Microsoft.HybridCompute/privateLinkScopes/" + scopeName - + "/privateEndpointConnections" + + "/privateEndpointConnections/" + + privateEndpointConnectionName + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -20379,28 +13085,85 @@ public partial class ConnectedMachine // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Put, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } + // set body content + request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.PrivateEndpointConnectionsListByPrivateLinkScopeWithResult_Call (request, eventListener,sender); + return await this.PrivateEndpointConnectionsCreateOrUpdateWithResult_Call (request, eventListener,sender); } } - /// Gets all private endpoint connections on a private link scope. + /// Approve or reject a private endpoint connection with a given name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. + /// The name of the Azure Arc PrivateLinkScope resource. + /// The name of the private endpoint connection. + /// Json string supplied to the PrivateEndpointConnectionsCreateOrUpdate 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). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 PrivateEndpointConnectionsCreateOrUpdateViaJsonString(string subscriptionId, string resourceGroupName, string scopeName, string privateEndpointConnectionName, 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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + { + var apiVersion = @"2024-07-10"; + // Constant Parameters + using( NoSynchronizationContext ) + { + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + global::System.Uri.EscapeDataString(subscriptionId) + + "/resourceGroups/" + + global::System.Uri.EscapeDataString(resourceGroupName) + + "/providers/Microsoft.HybridCompute/privateLinkScopes/" + + global::System.Uri.EscapeDataString(scopeName) + + "/privateEndpointConnections/" + + global::System.Uri.EscapeDataString(privateEndpointConnectionName) + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Put, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // set body content + request.Content = new global::System.Net.Http.StringContent(jsonString, global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } + // make the call + await this.PrivateEndpointConnectionsCreateOrUpdate_Call (request, onOk,onDefault,eventListener,sender); + } + } + + /// Approve or reject a private endpoint connection with a given name. /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. /// The name of the Azure Arc PrivateLinkScope resource. + /// The name of the private endpoint connection. + /// Json string supplied to the PrivateEndpointConnectionsCreateOrUpdate operation /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 PrivateEndpointConnectionsListByPrivateLinkScopeWithResult(string subscriptionId, string resourceGroupName, string scopeName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task PrivateEndpointConnectionsCreateOrUpdateViaJsonStringWithResult(string subscriptionId, string resourceGroupName, string scopeName, string privateEndpointConnectionName, global::System.String jsonString, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { @@ -20412,45 +13175,195 @@ public partial class ConnectedMachine + global::System.Uri.EscapeDataString(resourceGroupName) + "/providers/Microsoft.HybridCompute/privateLinkScopes/" + global::System.Uri.EscapeDataString(scopeName) - + "/privateEndpointConnections" + + "/privateEndpointConnections/" + + global::System.Uri.EscapeDataString(privateEndpointConnectionName) + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } + + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Put, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } + // set body content + request.Content = new global::System.Net.Http.StringContent(jsonString, global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } + // make the call + return await this.PrivateEndpointConnectionsCreateOrUpdateWithResult_Call (request, eventListener,sender); + } + } + + /// Approve or reject a private endpoint connection with a given name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. + /// The name of the Azure Arc PrivateLinkScope resource. + /// The name of the private endpoint connection. + /// A private endpoint connection + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. + /// Allows the caller to choose the depth of the serialization. See . + /// + /// A that will be complete when handling of the response is completed. + /// + public async global::System.Threading.Tasks.Task PrivateEndpointConnectionsCreateOrUpdateWithResult(string subscriptionId, string resourceGroupName, string scopeName, string privateEndpointConnectionName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IPrivateEndpointConnection body, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) + { + var apiVersion = @"2024-07-10"; + // Constant Parameters + using( NoSynchronizationContext ) + { + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + global::System.Uri.EscapeDataString(subscriptionId) + + "/resourceGroups/" + + global::System.Uri.EscapeDataString(resourceGroupName) + + "/providers/Microsoft.HybridCompute/privateLinkScopes/" + + global::System.Uri.EscapeDataString(scopeName) + + "/privateEndpointConnections/" + + global::System.Uri.EscapeDataString(privateEndpointConnectionName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } + + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Put, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } + // set body content + request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } + // make the call + return await this.PrivateEndpointConnectionsCreateOrUpdateWithResult_Call (request, eventListener,sender); + } + } + + /// + /// Actual wire call for method. + /// + /// the prepared HttpRequestMessage to send. + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + internal async global::System.Threading.Tasks.Task PrivateEndpointConnectionsCreateOrUpdateWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + { + using( NoSynchronizationContext ) + { + global::System.Net.Http.HttpResponseMessage _response = null; + try + { + var sendTask = sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; } + _response = await sendTask; + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } + // this operation supports x-ms-long-running-operation + var _originalUri = request.RequestUri.AbsoluteUri; + // declared final-state-via: default + var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); + var location = _response.GetFirstHeader(@"Location"); + var operationLocation = _response.GetFirstHeader(@"Operation-Location"); + while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + { + // delay before making the next polling request + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.DelayBeforePolling, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } + + // while we wait, let's grab the headers and get ready to poll. + if (!System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Azure-AsyncOperation"))) { + asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); + } + if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Location"))) { + location = _response.GetFirstHeader(@"Location"); + } + if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Operation-Location"))) { + operationLocation = _response.GetFirstHeader(@"Operation-Location"); + } + var _uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? global::System.String.IsNullOrEmpty(operationLocation) ? _originalUri : operationLocation : location : asyncOperation; + request = request.CloneAndDispose(new global::System.Uri(_uri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); + + // and let's look at the current response body and see if we have some information we can give back to the listener + var content = await _response.Content.ReadAsStringAsync(); + + // drop the old response + _response?.Dispose(); + + // make the polling call + _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } + + // if we got back an OK, take a peek inside and see if it's done + if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) + { + var error = false; + try { + if( Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json) + { + var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); + if( state is null ) + { + // the body doesn't contain any information that has the state of the LRO + // we're going to just get out, and let the consumer have the result + break; + } + + switch( state?.ToString()?.ToLower() ) + { + case "failed": + error = true; + break; + case "succeeded": + case "canceled": + // we're done polling. + break; - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } + default: + // need to keep polling! + _response.StatusCode = global::System.Net.HttpStatusCode.Created; + continue; + } + } + } catch { + // if we run into a problem peeking into the result, + // we really don't want to do anything special. + } + if (error) { + throw new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.UndeclaredResponseException(_response); + } + } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } - // make the call - return await this.PrivateEndpointConnectionsListByPrivateLinkScopeWithResult_Call (request, eventListener,sender); - } - } + // check for terminal status code + if (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + { + continue; + } + // we are done polling, do a request on final target? + if (!string.IsNullOrWhiteSpace(_originalUri)) + { + // create a new request with the final uri + request = request.CloneAndDispose(new global::System.Uri(_originalUri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); - /// - /// Actual wire call for method. - /// - /// the prepared HttpRequestMessage to send. - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// - /// A that will be complete when handling of the response is completed. - /// - internal async global::System.Threading.Tasks.Task PrivateEndpointConnectionsListByPrivateLinkScopeWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - using( NoSynchronizationContext ) - { - global::System.Net.Http.HttpResponseMessage _response = null; - try - { - var sendTask = sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; } - _response = await sendTask; - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } + // drop the old response + _response?.Dispose(); + + // make the final call + _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } + break; + } + } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return null; } var _contentType = _response.Content.Headers.ContentType?.MediaType; @@ -20459,7 +13372,7 @@ public partial class ConnectedMachine case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.PrivateEndpointConnectionListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); + var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.PrivateEndpointConnection.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); return await _result; } default: @@ -20493,7 +13406,7 @@ public partial class ConnectedMachine } /// - /// 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). @@ -20504,7 +13417,7 @@ public partial class ConnectedMachine /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task PrivateEndpointConnectionsListByPrivateLinkScope_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task PrivateEndpointConnectionsCreateOrUpdate_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -20513,8 +13426,103 @@ public partial class ConnectedMachine { var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; } _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + // this operation supports x-ms-long-running-operation + var _originalUri = request.RequestUri.AbsoluteUri; + // declared final-state-via: default + var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); + var location = _response.GetFirstHeader(@"Location"); + var operationLocation = _response.GetFirstHeader(@"Operation-Location"); + while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + { + // delay before making the next polling request + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.DelayBeforePolling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + + // while we wait, let's grab the headers and get ready to poll. + if (!System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Azure-AsyncOperation"))) { + asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); + } + if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Location"))) { + location = _response.GetFirstHeader(@"Location"); + } + if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Operation-Location"))) { + operationLocation = _response.GetFirstHeader(@"Operation-Location"); + } + var _uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? global::System.String.IsNullOrEmpty(operationLocation) ? _originalUri : operationLocation : location : asyncOperation; + request = request.CloneAndDispose(new global::System.Uri(_uri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); + + // and let's look at the current response body and see if we have some information we can give back to the listener + var content = await _response.Content.ReadAsStringAsync(); + + // drop the old response + _response?.Dispose(); + + // make the polling call + _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + + // if we got back an OK, take a peek inside and see if it's done + if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) + { + var error = false; + try { + if( Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json) + { + var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); + if( state is null ) + { + // the body doesn't contain any information that has the state of the LRO + // we're going to just get out, and let the consumer have the result + break; + } + + switch( state?.ToString()?.ToLower() ) + { + case "failed": + error = true; + break; + case "succeeded": + case "canceled": + // we're done polling. + break; + + default: + // need to keep polling! + _response.StatusCode = global::System.Net.HttpStatusCode.Created; + continue; + } + } + } catch { + // if we run into a problem peeking into the result, + // we really don't want to do anything special. + } + if (error) { + throw new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.UndeclaredResponseException(_response); + } + } + + // check for terminal status code + if (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + { + continue; + } + // we are done polling, do a request on final target? + if (!string.IsNullOrWhiteSpace(_originalUri)) + { + // create a new request with the final uri + request = request.CloneAndDispose(new global::System.Uri(_originalUri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); + + // drop the old response + _response?.Dispose(); + + // make the final call + _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + break; + } + } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return; } var _contentType = _response.Content.Headers.ContentType?.MediaType; @@ -20523,7 +13531,7 @@ public partial class ConnectedMachine case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.PrivateEndpointConnectionListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.PrivateEndpointConnection.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -20545,17 +13553,19 @@ public partial class ConnectedMachine } /// - /// 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 name of the resource group. The name is case insensitive. /// The name of the Azure Arc PrivateLinkScope resource. + /// The name of the private endpoint connection. + /// A private endpoint connection /// an instance that will receive events. /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task PrivateEndpointConnectionsListByPrivateLinkScope_Validate(string subscriptionId, string resourceGroupName, string scopeName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task PrivateEndpointConnectionsCreateOrUpdate_Validate(string subscriptionId, string resourceGroupName, string scopeName, string privateEndpointConnectionName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IPrivateEndpointConnection body, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -20566,17 +13576,19 @@ public partial class ConnectedMachine await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); await eventListener.AssertNotNull(nameof(scopeName),scopeName); await eventListener.AssertRegEx(nameof(scopeName), scopeName, @"[a-zA-Z0-9-_\.]+"); + await eventListener.AssertNotNull(nameof(privateEndpointConnectionName),privateEndpointConnectionName); + await eventListener.AssertNotNull(nameof(body), body); + await eventListener.AssertObjectIsValid(nameof(body), body); } } - /// - /// Gets the private link resources that need to be created for a Azure Monitor PrivateLinkScope. - /// + /// Deletes a private endpoint connection with a given name. /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. /// The name of the Azure Arc PrivateLinkScope resource. - /// The name of the private link resource. + /// The name of the private endpoint connection. /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns 204 (NoContent). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). /// an instance that will receive events. @@ -20584,9 +13596,9 @@ public partial class ConnectedMachine /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task PrivateLinkResourcesGet(string subscriptionId, string resourceGroupName, string scopeName, string groupName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task PrivateEndpointConnectionsDelete(string subscriptionId, string resourceGroupName, string scopeName, string privateEndpointConnectionName, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { @@ -20598,66 +13610,8 @@ public partial class ConnectedMachine + global::System.Uri.EscapeDataString(resourceGroupName) + "/providers/Microsoft.HybridCompute/privateLinkScopes/" + global::System.Uri.EscapeDataString(scopeName) - + "/privateLinkResources/" - + global::System.Uri.EscapeDataString(groupName) - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // make the call - await this.PrivateLinkResourcesGet_Call (request, onOk,onDefault,eventListener,sender); - } - } - - /// - /// Gets the private link resources that need to be created for a Azure Monitor PrivateLinkScope. - /// - /// - /// 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). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 PrivateLinkResourcesGetViaIdentity(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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // verify that Identity format is an exact match for uri - - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/privateLinkScopes/(?[^/]+)/privateLinkResources/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); - if (!_match.Success) - { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/privateLinkResources/{groupName}'"); - } - - // replace URI parameters with values from identity - var subscriptionId = _match.Groups["subscriptionId"].Value; - var resourceGroupName = _match.Groups["resourceGroupName"].Value; - var scopeName = _match.Groups["scopeName"].Value; - var groupName = _match.Groups["groupName"].Value; - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + subscriptionId - + "/resourceGroups/" - + resourceGroupName - + "/providers/Microsoft.HybridCompute/privateLinkScopes/" - + scopeName - + "/privateLinkResources/" - + groupName + + "/privateEndpointConnections/" + + global::System.Uri.EscapeDataString(privateEndpointConnectionName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -20666,44 +13620,45 @@ public partial class ConnectedMachine // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Delete, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.PrivateLinkResourcesGet_Call (request, onOk,onDefault,eventListener,sender); + await this.PrivateEndpointConnectionsDelete_Call (request, onOk,onNoContent,onDefault,eventListener,sender); } } - /// - /// Gets the private link resources that need to be created for a Azure Monitor PrivateLinkScope. - /// + /// Deletes a private endpoint connection with a given name. /// + /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns 204 (NoContent). + /// a delegate that is called when the remote service returns default (any response code not handled + /// elsewhere). /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. /// - /// A that will be complete when handling of the response is completed. + /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task PrivateLinkResourcesGetViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task PrivateEndpointConnectionsDeleteViaIdentity(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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/privateLinkScopes/(?[^/]+)/privateLinkResources/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/privateLinkScopes/(?[^/]+)/privateEndpointConnections/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/privateLinkResources/{groupName}'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/privateEndpointConnections/{privateEndpointConnectionName}'"); } // replace URI parameters with values from identity var subscriptionId = _match.Groups["subscriptionId"].Value; var resourceGroupName = _match.Groups["resourceGroupName"].Value; var scopeName = _match.Groups["scopeName"].Value; - var groupName = _match.Groups["groupName"].Value; + var privateEndpointConnectionName = _match.Groups["privateEndpointConnectionName"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" @@ -20712,134 +13667,29 @@ public partial class ConnectedMachine + resourceGroupName + "/providers/Microsoft.HybridCompute/privateLinkScopes/" + scopeName - + "/privateLinkResources/" - + groupName - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } - // make the call - return await this.PrivateLinkResourcesGetWithResult_Call (request, eventListener,sender); - } - } - - /// - /// Gets the private link resources that need to be created for a Azure Monitor PrivateLinkScope. - /// - /// The ID of the target subscription. - /// The name of the resource group. The name is case insensitive. - /// The name of the Azure Arc PrivateLinkScope resource. - /// The name of the private link resource. - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 PrivateLinkResourcesGetWithResult(string subscriptionId, string resourceGroupName, string scopeName, string groupName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + global::System.Uri.EscapeDataString(subscriptionId) - + "/resourceGroups/" - + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.HybridCompute/privateLinkScopes/" - + global::System.Uri.EscapeDataString(scopeName) - + "/privateLinkResources/" - + global::System.Uri.EscapeDataString(groupName) + + "/privateEndpointConnections/" + + privateEndpointConnectionName + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Delete, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - return await this.PrivateLinkResourcesGetWithResult_Call (request, eventListener,sender); - } - } - - /// Actual wire call for method. - /// the prepared HttpRequestMessage to send. - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// - /// A that will be complete when handling of the response is completed. - /// - internal async global::System.Threading.Tasks.Task PrivateLinkResourcesGetWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - using( NoSynchronizationContext ) - { - global::System.Net.Http.HttpResponseMessage _response = null; - try - { - var sendTask = sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; } - _response = await sendTask; - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _contentType = _response.Content.Headers.ContentType?.MediaType; - - switch ( _response.StatusCode ) - { - case global::System.Net.HttpStatusCode.OK: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.PrivateLinkResource.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); - return await _result; - } - default: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ErrorResponse.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); - // Error Response : default - var code = (await _result)?.Code; - var message = (await _result)?.Message; - if ((null == code || null == message)) - { - // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.RestException(_response, await _result); - throw ex; - } - else - { - throw new global::System.Exception($"[{code}] : {message}"); - } - } - } - } - finally - { - // finally statements - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Finally, request, _response); - _response?.Dispose(); - request?.Dispose(); - } + await this.PrivateEndpointConnectionsDelete_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). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). /// an instance that will receive events. @@ -20847,7 +13697,7 @@ public partial class ConnectedMachine /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task PrivateLinkResourcesGet_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task PrivateEndpointConnectionsDelete_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -20856,8 +13706,104 @@ public partial class ConnectedMachine { var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; } _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + // this operation supports x-ms-long-running-operation + var _originalUri = request.RequestUri.AbsoluteUri; + // declared final-state-via: default + var _finalUri = _response.GetFirstHeader(@"Location"); + var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); + var location = _response.GetFirstHeader(@"Location"); + var operationLocation = _response.GetFirstHeader(@"Operation-Location"); + while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + { + // delay before making the next polling request + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.DelayBeforePolling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + + // while we wait, let's grab the headers and get ready to poll. + if (!System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Azure-AsyncOperation"))) { + asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); + } + if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Location"))) { + location = _response.GetFirstHeader(@"Location"); + } + if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Operation-Location"))) { + operationLocation = _response.GetFirstHeader(@"Operation-Location"); + } + var _uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? global::System.String.IsNullOrEmpty(operationLocation) ? _originalUri : operationLocation : location : asyncOperation; + request = request.CloneAndDispose(new global::System.Uri(_uri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); + + // and let's look at the current response body and see if we have some information we can give back to the listener + var content = await _response.Content.ReadAsStringAsync(); + + // drop the old response + _response?.Dispose(); + + // make the polling call + _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + + // if we got back an OK, take a peek inside and see if it's done + if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) + { + var error = false; + try { + if( Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json) + { + var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); + if( state is null ) + { + // the body doesn't contain any information that has the state of the LRO + // we're going to just get out, and let the consumer have the result + break; + } + + switch( state?.ToString()?.ToLower() ) + { + case "failed": + error = true; + break; + case "succeeded": + case "canceled": + // we're done polling. + break; + + default: + // need to keep polling! + _response.StatusCode = global::System.Net.HttpStatusCode.Created; + continue; + } + } + } catch { + // if we run into a problem peeking into the result, + // we really don't want to do anything special. + } + if (error) { + throw new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.UndeclaredResponseException(_response); + } + } + + // check for terminal status code + if (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + { + continue; + } + // we are done polling, do a request on final target? + if (!string.IsNullOrWhiteSpace(_finalUri)) + { + // create a new request with the final uri + request = request.CloneAndDispose(new global::System.Uri(_finalUri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); + + // drop the old response + _response?.Dispose(); + + // make the final call + _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + break; + } + } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return; } var _contentType = _response.Content.Headers.ContentType?.MediaType; @@ -20866,7 +13812,13 @@ public partial class ConnectedMachine case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.PrivateLinkResource.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response); + break; + } + case global::System.Net.HttpStatusCode.NoContent: + { + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + await onNoContent(_response); break; } default: @@ -20888,18 +13840,18 @@ public partial class ConnectedMachine } /// - /// 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 name of the resource group. The name is case insensitive. /// The name of the Azure Arc PrivateLinkScope resource. - /// The name of the private link resource. + /// The name of the private endpoint connection. /// an instance that will receive events. /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task PrivateLinkResourcesGet_Validate(string subscriptionId, string resourceGroupName, string scopeName, string groupName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task PrivateEndpointConnectionsDelete_Validate(string subscriptionId, string resourceGroupName, string scopeName, string privateEndpointConnectionName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -20910,16 +13862,15 @@ public partial class ConnectedMachine await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); await eventListener.AssertNotNull(nameof(scopeName),scopeName); await eventListener.AssertRegEx(nameof(scopeName), scopeName, @"[a-zA-Z0-9-_\.]+"); - await eventListener.AssertNotNull(nameof(groupName),groupName); + await eventListener.AssertNotNull(nameof(privateEndpointConnectionName),privateEndpointConnectionName); } } - /// - /// Gets the private link resources that need to be created for a Azure Monitor PrivateLinkScope. - /// + /// Gets a private endpoint connection. /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. /// The name of the Azure Arc PrivateLinkScope resource. + /// The name of the private endpoint connection. /// 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). @@ -20928,9 +13879,9 @@ public partial class ConnectedMachine /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task PrivateLinkResourcesListByPrivateLinkScope(string subscriptionId, string resourceGroupName, string scopeName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task PrivateEndpointConnectionsGet(string subscriptionId, string resourceGroupName, string scopeName, string privateEndpointConnectionName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { @@ -20942,7 +13893,8 @@ public partial class ConnectedMachine + global::System.Uri.EscapeDataString(resourceGroupName) + "/providers/Microsoft.HybridCompute/privateLinkScopes/" + global::System.Uri.EscapeDataString(scopeName) - + "/privateLinkResources" + + "/privateEndpointConnections/" + + global::System.Uri.EscapeDataString(privateEndpointConnectionName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -20956,13 +13908,11 @@ public partial class ConnectedMachine await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.PrivateLinkResourcesListByPrivateLinkScope_Call (request, onOk,onDefault,eventListener,sender); + await this.PrivateEndpointConnectionsGet_Call (request, onOk,onDefault,eventListener,sender); } } - /// - /// Gets the private link resources that need to be created for a Azure Monitor PrivateLinkScope. - /// + /// Gets a private endpoint connection. /// /// 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 @@ -20972,24 +13922,25 @@ public partial class ConnectedMachine /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task PrivateLinkResourcesListByPrivateLinkScopeViaIdentity(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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task PrivateEndpointConnectionsGetViaIdentity(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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/privateLinkScopes/(?[^/]+)/privateLinkResources$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/privateLinkScopes/(?[^/]+)/privateEndpointConnections/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/privateLinkResources'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/privateEndpointConnections/{privateEndpointConnectionName}'"); } // replace URI parameters with values from identity var subscriptionId = _match.Groups["subscriptionId"].Value; var resourceGroupName = _match.Groups["resourceGroupName"].Value; var scopeName = _match.Groups["scopeName"].Value; + var privateEndpointConnectionName = _match.Groups["privateEndpointConnectionName"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" @@ -20998,7 +13949,8 @@ public partial class ConnectedMachine + resourceGroupName + "/providers/Microsoft.HybridCompute/privateLinkScopes/" + scopeName - + "/privateLinkResources" + + "/privateEndpointConnections/" + + privateEndpointConnectionName + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -21012,38 +13964,37 @@ public partial class ConnectedMachine await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.PrivateLinkResourcesListByPrivateLinkScope_Call (request, onOk,onDefault,eventListener,sender); + await this.PrivateEndpointConnectionsGet_Call (request, onOk,onDefault,eventListener,sender); } } - /// - /// Gets the private link resources that need to be created for a Azure Monitor PrivateLinkScope. - /// + /// Gets a private endpoint connection. /// /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 PrivateLinkResourcesListByPrivateLinkScopeViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task PrivateEndpointConnectionsGetViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/privateLinkScopes/(?[^/]+)/privateLinkResources$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/privateLinkScopes/(?[^/]+)/privateEndpointConnections/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/privateLinkResources'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/privateEndpointConnections/{privateEndpointConnectionName}'"); } // replace URI parameters with values from identity var subscriptionId = _match.Groups["subscriptionId"].Value; var resourceGroupName = _match.Groups["resourceGroupName"].Value; var scopeName = _match.Groups["scopeName"].Value; + var privateEndpointConnectionName = _match.Groups["privateEndpointConnectionName"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" @@ -21052,7 +14003,8 @@ public partial class ConnectedMachine + resourceGroupName + "/providers/Microsoft.HybridCompute/privateLinkScopes/" + scopeName - + "/privateLinkResources" + + "/privateEndpointConnections/" + + privateEndpointConnectionName + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -21066,25 +14018,24 @@ public partial class ConnectedMachine await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.PrivateLinkResourcesListByPrivateLinkScopeWithResult_Call (request, eventListener,sender); + return await this.PrivateEndpointConnectionsGetWithResult_Call (request, eventListener,sender); } } - /// - /// Gets the private link resources that need to be created for a Azure Monitor PrivateLinkScope. - /// + /// Gets a private endpoint connection. /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. /// The name of the Azure Arc PrivateLinkScope resource. + /// The name of the private endpoint connection. /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 PrivateLinkResourcesListByPrivateLinkScopeWithResult(string subscriptionId, string resourceGroupName, string scopeName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task PrivateEndpointConnectionsGetWithResult(string subscriptionId, string resourceGroupName, string scopeName, string privateEndpointConnectionName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { @@ -21096,7 +14047,8 @@ public partial class ConnectedMachine + global::System.Uri.EscapeDataString(resourceGroupName) + "/providers/Microsoft.HybridCompute/privateLinkScopes/" + global::System.Uri.EscapeDataString(scopeName) - + "/privateLinkResources" + + "/privateEndpointConnections/" + + global::System.Uri.EscapeDataString(privateEndpointConnectionName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -21110,21 +14062,21 @@ public partial class ConnectedMachine await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.PrivateLinkResourcesListByPrivateLinkScopeWithResult_Call (request, eventListener,sender); + return await this.PrivateEndpointConnectionsGetWithResult_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.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. /// - /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task PrivateLinkResourcesListByPrivateLinkScopeWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task PrivateEndpointConnectionsGetWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -21143,7 +14095,7 @@ public partial class ConnectedMachine case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.PrivateLinkResourceListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); + var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.PrivateEndpointConnection.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); return await _result; } default: @@ -21176,9 +14128,7 @@ public partial class ConnectedMachine } } - /// - /// 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 @@ -21188,7 +14138,7 @@ public partial class ConnectedMachine /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task PrivateLinkResourcesListByPrivateLinkScope_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task PrivateEndpointConnectionsGet_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -21207,7 +14157,7 @@ public partial class ConnectedMachine case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.PrivateLinkResourceListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.PrivateEndpointConnection.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -21229,17 +14179,18 @@ public partial class ConnectedMachine } /// - /// 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 name of the resource group. The name is case insensitive. /// The name of the Azure Arc PrivateLinkScope resource. + /// The name of the private endpoint connection. /// an instance that will receive events. /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task PrivateLinkResourcesListByPrivateLinkScope_Validate(string subscriptionId, string resourceGroupName, string scopeName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task PrivateEndpointConnectionsGet_Validate(string subscriptionId, string resourceGroupName, string scopeName, string privateEndpointConnectionName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -21250,30 +14201,25 @@ public partial class ConnectedMachine await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); await eventListener.AssertNotNull(nameof(scopeName),scopeName); await eventListener.AssertRegEx(nameof(scopeName), scopeName, @"[a-zA-Z0-9-_\.]+"); + await eventListener.AssertNotNull(nameof(privateEndpointConnectionName),privateEndpointConnectionName); } } - /// - /// update (or update a Azure Arc PrivateLinkScope. Note: You cannot specify a different value for InstrumentationKey nor - /// AppId in the Put operation. - /// + /// Gets all private endpoint connections on a private link scope. /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. /// The name of the Azure Arc PrivateLinkScope resource. - /// Properties that need to be specified to create or update a Azure Arc for Servers and Clusters PrivateLinkScope. /// 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 /// elsewhere). /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// Allows the caller to choose the depth of the serialization. See . /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task PrivateLinkScopesCreateOrUpdate(string subscriptionId, string resourceGroupName, string scopeName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridComputePrivateLinkScope 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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) + public async global::System.Threading.Tasks.Task PrivateEndpointConnectionsListByPrivateLinkScope(string subscriptionId, string resourceGroupName, string scopeName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { @@ -21285,6 +14231,7 @@ public partial class ConnectedMachine + global::System.Uri.EscapeDataString(resourceGroupName) + "/providers/Microsoft.HybridCompute/privateLinkScopes/" + global::System.Uri.EscapeDataString(scopeName) + + "/privateEndpointConnections" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -21293,47 +14240,37 @@ public partial class ConnectedMachine // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Put, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // set body content - request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.PrivateLinkScopesCreateOrUpdate_Call (request, onOk,onCreated,onDefault,eventListener,sender); + await this.PrivateEndpointConnectionsListByPrivateLinkScope_Call (request, onOk,onDefault,eventListener,sender); } } - /// - /// update (or update a Azure Arc PrivateLinkScope. Note: You cannot specify a different value for InstrumentationKey nor - /// AppId in the Put operation. - /// + /// Gets all private endpoint connections on a private link scope. /// - /// Properties that need to be specified to create or update a Azure Arc for Servers and Clusters PrivateLinkScope. /// 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 /// elsewhere). /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// Allows the caller to choose the depth of the serialization. See . /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task PrivateLinkScopesCreateOrUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridComputePrivateLinkScope 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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) + public async global::System.Threading.Tasks.Task PrivateEndpointConnectionsListByPrivateLinkScopeViaIdentity(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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/privateLinkScopes/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/privateLinkScopes/(?[^/]+)/privateEndpointConnections$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/privateEndpointConnections'"); } // replace URI parameters with values from identity @@ -21348,6 +14285,7 @@ public partial class ConnectedMachine + resourceGroupName + "/providers/Microsoft.HybridCompute/privateLinkScopes/" + scopeName + + "/privateEndpointConnections" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -21356,44 +14294,35 @@ public partial class ConnectedMachine // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Put, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // set body content - request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.PrivateLinkScopesCreateOrUpdate_Call (request, onOk,onCreated,onDefault,eventListener,sender); + await this.PrivateEndpointConnectionsListByPrivateLinkScope_Call (request, onOk,onDefault,eventListener,sender); } } - /// - /// update (or update a Azure Arc PrivateLinkScope. Note: You cannot specify a different value for InstrumentationKey nor - /// AppId in the Put operation. - /// + /// Gets all private endpoint connections on a private link scope. /// - /// Properties that need to be specified to create or update a Azure Arc for Servers and Clusters PrivateLinkScope. /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// Allows the caller to choose the depth of the serialization. See . /// - /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task PrivateLinkScopesCreateOrUpdateViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridComputePrivateLinkScope body, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) + public async global::System.Threading.Tasks.Task PrivateEndpointConnectionsListByPrivateLinkScopeViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/privateLinkScopes/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/privateLinkScopes/(?[^/]+)/privateEndpointConnections$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/privateEndpointConnections'"); } // replace URI parameters with values from identity @@ -21408,6 +14337,7 @@ public partial class ConnectedMachine + resourceGroupName + "/providers/Microsoft.HybridCompute/privateLinkScopes/" + scopeName + + "/privateEndpointConnections" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -21416,138 +14346,28 @@ public partial class ConnectedMachine // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Put, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } - // set body content - request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } - // make the call - return await this.PrivateLinkScopesCreateOrUpdateWithResult_Call (request, eventListener,sender); - } - } - - /// - /// update (or update a Azure Arc PrivateLinkScope. Note: You cannot specify a different value for InstrumentationKey nor - /// AppId in the Put operation. - /// - /// The ID of the target subscription. - /// The name of the resource group. The name is case insensitive. - /// The name of the Azure Arc PrivateLinkScope resource. - /// Json string supplied to the PrivateLinkScopesCreateOrUpdate 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 - /// elsewhere). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 PrivateLinkScopesCreateOrUpdateViaJsonString(string subscriptionId, string resourceGroupName, string scopeName, 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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + global::System.Uri.EscapeDataString(subscriptionId) - + "/resourceGroups/" - + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.HybridCompute/privateLinkScopes/" - + global::System.Uri.EscapeDataString(scopeName) - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Put, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // set body content - request.Content = new global::System.Net.Http.StringContent(jsonString, global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } - // make the call - await this.PrivateLinkScopesCreateOrUpdate_Call (request, onOk,onCreated,onDefault,eventListener,sender); - } - } - - /// - /// update (or update a Azure Arc PrivateLinkScope. Note: You cannot specify a different value for InstrumentationKey nor - /// AppId in the Put operation. - /// - /// The ID of the target subscription. - /// The name of the resource group. The name is case insensitive. - /// The name of the Azure Arc PrivateLinkScope resource. - /// Json string supplied to the PrivateLinkScopesCreateOrUpdate operation - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 PrivateLinkScopesCreateOrUpdateViaJsonStringWithResult(string subscriptionId, string resourceGroupName, string scopeName, global::System.String jsonString, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + global::System.Uri.EscapeDataString(subscriptionId) - + "/resourceGroups/" - + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.HybridCompute/privateLinkScopes/" - + global::System.Uri.EscapeDataString(scopeName) - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Put, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } - // set body content - request.Content = new global::System.Net.Http.StringContent(jsonString, global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.PrivateLinkScopesCreateOrUpdateWithResult_Call (request, eventListener,sender); + return await this.PrivateEndpointConnectionsListByPrivateLinkScopeWithResult_Call (request, eventListener,sender); } } - /// - /// update (or update a Azure Arc PrivateLinkScope. Note: You cannot specify a different value for InstrumentationKey nor - /// AppId in the Put operation. - /// + /// Gets all private endpoint connections on a private link scope. /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. /// The name of the Azure Arc PrivateLinkScope resource. - /// Properties that need to be specified to create or update a Azure Arc for Servers and Clusters PrivateLinkScope. /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// Allows the caller to choose the depth of the serialization. See . /// - /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task PrivateLinkScopesCreateOrUpdateWithResult(string subscriptionId, string resourceGroupName, string scopeName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridComputePrivateLinkScope body, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) + public async global::System.Threading.Tasks.Task PrivateEndpointConnectionsListByPrivateLinkScopeWithResult(string subscriptionId, string resourceGroupName, string scopeName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { @@ -21559,6 +14379,7 @@ public partial class ConnectedMachine + global::System.Uri.EscapeDataString(resourceGroupName) + "/providers/Microsoft.HybridCompute/privateLinkScopes/" + global::System.Uri.EscapeDataString(scopeName) + + "/privateEndpointConnections" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -21567,30 +14388,26 @@ public partial class ConnectedMachine // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Put, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } - // set body content - request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.PrivateLinkScopesCreateOrUpdateWithResult_Call (request, eventListener,sender); + return await this.PrivateEndpointConnectionsListByPrivateLinkScopeWithResult_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.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. /// - /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task PrivateLinkScopesCreateOrUpdateWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task PrivateEndpointConnectionsListByPrivateLinkScopeWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -21609,13 +14426,7 @@ public partial class ConnectedMachine case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.HybridComputePrivateLinkScope.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); - return await _result; - } - case global::System.Net.HttpStatusCode.Created: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.HybridComputePrivateLinkScope.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); + var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.PrivateEndpointConnectionListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); return await _result; } default: @@ -21648,10 +14459,11 @@ public partial class ConnectedMachine } } - /// 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). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). /// an instance that will receive events. @@ -21659,7 +14471,7 @@ public partial class ConnectedMachine /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task PrivateLinkScopesCreateOrUpdate_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task PrivateEndpointConnectionsListByPrivateLinkScope_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -21678,13 +14490,7 @@ public partial class ConnectedMachine case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.HybridComputePrivateLinkScope.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); - break; - } - case global::System.Net.HttpStatusCode.Created: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onCreated(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.HybridComputePrivateLinkScope.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.PrivateEndpointConnectionListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -21706,18 +14512,17 @@ public partial class ConnectedMachine } /// - /// 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 name of the resource group. The name is case insensitive. /// The name of the Azure Arc PrivateLinkScope resource. - /// Properties that need to be specified to create or update a Azure Arc for Servers and Clusters PrivateLinkScope. /// an instance that will receive events. /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task PrivateLinkScopesCreateOrUpdate_Validate(string subscriptionId, string resourceGroupName, string scopeName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridComputePrivateLinkScope body, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task PrivateEndpointConnectionsListByPrivateLinkScope_Validate(string subscriptionId, string resourceGroupName, string scopeName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -21728,17 +14533,17 @@ public partial class ConnectedMachine await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); await eventListener.AssertNotNull(nameof(scopeName),scopeName); await eventListener.AssertRegEx(nameof(scopeName), scopeName, @"[a-zA-Z0-9-_\.]+"); - await eventListener.AssertNotNull(nameof(body), body); - await eventListener.AssertObjectIsValid(nameof(body), body); } } - /// Deletes a Azure Arc PrivateLinkScope. + /// + /// Gets the private link resources that need to be created for a Azure Monitor PrivateLinkScope. + /// /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. /// The name of the Azure Arc PrivateLinkScope resource. + /// The name of the private link resource. /// a delegate that is called when the remote service returns 200 (OK). - /// a delegate that is called when the remote service returns 204 (NoContent). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). /// an instance that will receive events. @@ -21746,9 +14551,9 @@ public partial class ConnectedMachine /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task PrivateLinkScopesDelete(string subscriptionId, string resourceGroupName, string scopeName, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task PrivateLinkResourcesGet(string subscriptionId, string resourceGroupName, string scopeName, string groupName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { @@ -21760,6 +14565,8 @@ public partial class ConnectedMachine + global::System.Uri.EscapeDataString(resourceGroupName) + "/providers/Microsoft.HybridCompute/privateLinkScopes/" + global::System.Uri.EscapeDataString(scopeName) + + "/privateLinkResources/" + + global::System.Uri.EscapeDataString(groupName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -21768,19 +14575,20 @@ public partial class ConnectedMachine // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Delete, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.PrivateLinkScopesDelete_Call (request, onOk,onNoContent,onDefault,eventListener,sender); + await this.PrivateLinkResourcesGet_Call (request, onOk,onDefault,eventListener,sender); } } - /// Deletes a Azure Arc PrivateLinkScope. + /// + /// Gets the private link resources that need to be created for a Azure Monitor PrivateLinkScope. + /// /// /// a delegate that is called when the remote service returns 200 (OK). - /// a delegate that is called when the remote service returns 204 (NoContent). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). /// an instance that will receive events. @@ -21788,53 +14596,217 @@ public partial class ConnectedMachine /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task PrivateLinkScopesDeleteViaIdentity(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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task PrivateLinkResourcesGetViaIdentity(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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/privateLinkScopes/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/privateLinkScopes/(?[^/]+)/privateLinkResources/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + if (!_match.Success) + { + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/privateLinkResources/{groupName}'"); + } + + // replace URI parameters with values from identity + var subscriptionId = _match.Groups["subscriptionId"].Value; + var resourceGroupName = _match.Groups["resourceGroupName"].Value; + var scopeName = _match.Groups["scopeName"].Value; + var groupName = _match.Groups["groupName"].Value; + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + subscriptionId + + "/resourceGroups/" + + resourceGroupName + + "/providers/Microsoft.HybridCompute/privateLinkScopes/" + + scopeName + + "/privateLinkResources/" + + groupName + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // make the call + await this.PrivateLinkResourcesGet_Call (request, onOk,onDefault,eventListener,sender); + } + } + + /// + /// Gets the private link resources that need to be created for a Azure Monitor PrivateLinkScope. + /// + /// + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 PrivateLinkResourcesGetViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + { + var apiVersion = @"2024-07-10"; + // Constant Parameters + using( NoSynchronizationContext ) + { + // verify that Identity format is an exact match for uri + + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/privateLinkScopes/(?[^/]+)/privateLinkResources/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/privateLinkResources/{groupName}'"); + } + + // replace URI parameters with values from identity + var subscriptionId = _match.Groups["subscriptionId"].Value; + var resourceGroupName = _match.Groups["resourceGroupName"].Value; + var scopeName = _match.Groups["scopeName"].Value; + var groupName = _match.Groups["groupName"].Value; + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + subscriptionId + + "/resourceGroups/" + + resourceGroupName + + "/providers/Microsoft.HybridCompute/privateLinkScopes/" + + scopeName + + "/privateLinkResources/" + + groupName + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } + + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } + // make the call + return await this.PrivateLinkResourcesGetWithResult_Call (request, eventListener,sender); + } + } + + /// + /// Gets the private link resources that need to be created for a Azure Monitor PrivateLinkScope. + /// + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. + /// The name of the Azure Arc PrivateLinkScope resource. + /// The name of the private link resource. + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 PrivateLinkResourcesGetWithResult(string subscriptionId, string resourceGroupName, string scopeName, string groupName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + { + var apiVersion = @"2024-07-10"; + // Constant Parameters + using( NoSynchronizationContext ) + { + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + global::System.Uri.EscapeDataString(subscriptionId) + + "/resourceGroups/" + + global::System.Uri.EscapeDataString(resourceGroupName) + + "/providers/Microsoft.HybridCompute/privateLinkScopes/" + + global::System.Uri.EscapeDataString(scopeName) + + "/privateLinkResources/" + + global::System.Uri.EscapeDataString(groupName) + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } + + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } + // make the call + return await this.PrivateLinkResourcesGetWithResult_Call (request, eventListener,sender); + } + } + + /// Actual wire call for method. + /// the prepared HttpRequestMessage to send. + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + internal async global::System.Threading.Tasks.Task PrivateLinkResourcesGetWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + { + using( NoSynchronizationContext ) + { + global::System.Net.Http.HttpResponseMessage _response = null; + try + { + var sendTask = sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; } + _response = await sendTask; + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return null; } + var _contentType = _response.Content.Headers.ContentType?.MediaType; + + switch ( _response.StatusCode ) + { + case global::System.Net.HttpStatusCode.OK: + { + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } + var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.PrivateLinkResource.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); + return await _result; + } + default: + { + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } + var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ErrorResponse.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); + // Error Response : default + var code = (await _result)?.Code; + var message = (await _result)?.Message; + if ((null == code || null == message)) + { + // Unrecognized Response. Create an error record based on what we have. + var ex = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.RestException(_response, await _result); + throw ex; + } + else + { + throw new global::System.Exception($"[{code}] : {message}"); + } + } + } + } + finally + { + // finally statements + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Finally, request, _response); + _response?.Dispose(); + request?.Dispose(); } - - // replace URI parameters with values from identity - var subscriptionId = _match.Groups["subscriptionId"].Value; - var resourceGroupName = _match.Groups["resourceGroupName"].Value; - var scopeName = _match.Groups["scopeName"].Value; - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + subscriptionId - + "/resourceGroups/" - + resourceGroupName - + "/providers/Microsoft.HybridCompute/privateLinkScopes/" - + scopeName - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Delete, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // make the call - await this.PrivateLinkScopesDelete_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). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). /// an instance that will receive events. @@ -21842,7 +14814,7 @@ public partial class ConnectedMachine /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task PrivateLinkScopesDelete_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task PrivateLinkResourcesGet_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -21851,104 +14823,8 @@ public partial class ConnectedMachine { var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; } _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - // this operation supports x-ms-long-running-operation - var _originalUri = request.RequestUri.AbsoluteUri; - // declared final-state-via: default - var _finalUri = _response.GetFirstHeader(@"Location"); - var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); - var location = _response.GetFirstHeader(@"Location"); - var operationLocation = _response.GetFirstHeader(@"Operation-Location"); - while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) - { - // delay before making the next polling request - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.DelayBeforePolling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - - // while we wait, let's grab the headers and get ready to poll. - if (!System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Azure-AsyncOperation"))) { - asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); - } - if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Location"))) { - location = _response.GetFirstHeader(@"Location"); - } - if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Operation-Location"))) { - operationLocation = _response.GetFirstHeader(@"Operation-Location"); - } - var _uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? global::System.String.IsNullOrEmpty(operationLocation) ? _originalUri : operationLocation : location : asyncOperation; - request = request.CloneAndDispose(new global::System.Uri(_uri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); - - // and let's look at the current response body and see if we have some information we can give back to the listener - var content = await _response.Content.ReadAsStringAsync(); - - // drop the old response - _response?.Dispose(); - - // make the polling call - _response = await sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - - // if we got back an OK, take a peek inside and see if it's done - if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) - { - var error = false; - try { - if( Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json) - { - var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); - if( state is null ) - { - // the body doesn't contain any information that has the state of the LRO - // we're going to just get out, and let the consumer have the result - break; - } - - switch( state?.ToString()?.ToLower() ) - { - case "failed": - error = true; - break; - case "succeeded": - case "canceled": - // we're done polling. - break; - - default: - // need to keep polling! - _response.StatusCode = global::System.Net.HttpStatusCode.Created; - continue; - } - } - } catch { - // if we run into a problem peeking into the result, - // we really don't want to do anything special. - } - if (error) { - throw new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.UndeclaredResponseException(_response); - } - } - - // check for terminal status code - if (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) - { - continue; - } - // we are done polling, do a request on final target? - if (!string.IsNullOrWhiteSpace(_finalUri)) - { - // create a new request with the final uri - request = request.CloneAndDispose(new global::System.Uri(_finalUri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); - - // drop the old response - _response?.Dispose(); - - // make the final call - _response = await sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - break; - } - } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return; } var _contentType = _response.Content.Headers.ContentType?.MediaType; @@ -21957,13 +14833,7 @@ public partial class ConnectedMachine case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response); - break; - } - case global::System.Net.HttpStatusCode.NoContent: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onNoContent(_response); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.PrivateLinkResource.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -21985,17 +14855,18 @@ public partial class ConnectedMachine } /// - /// 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 name of the resource group. The name is case insensitive. /// The name of the Azure Arc PrivateLinkScope resource. + /// The name of the private link resource. /// an instance that will receive events. /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task PrivateLinkScopesDelete_Validate(string subscriptionId, string resourceGroupName, string scopeName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task PrivateLinkResourcesGet_Validate(string subscriptionId, string resourceGroupName, string scopeName, string groupName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -22006,10 +14877,13 @@ public partial class ConnectedMachine await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); await eventListener.AssertNotNull(nameof(scopeName),scopeName); await eventListener.AssertRegEx(nameof(scopeName), scopeName, @"[a-zA-Z0-9-_\.]+"); + await eventListener.AssertNotNull(nameof(groupName),groupName); } } - /// Returns a Azure Arc PrivateLinkScope. + /// + /// Gets the private link resources that need to be created for a Azure Monitor PrivateLinkScope. + /// /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. /// The name of the Azure Arc PrivateLinkScope resource. @@ -22021,9 +14895,9 @@ public partial class ConnectedMachine /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task PrivateLinkScopesGet(string subscriptionId, string resourceGroupName, string scopeName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task PrivateLinkResourcesListByPrivateLinkScope(string subscriptionId, string resourceGroupName, string scopeName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { @@ -22035,6 +14909,7 @@ public partial class ConnectedMachine + global::System.Uri.EscapeDataString(resourceGroupName) + "/providers/Microsoft.HybridCompute/privateLinkScopes/" + global::System.Uri.EscapeDataString(scopeName) + + "/privateLinkResources" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -22048,98 +14923,13 @@ public partial class ConnectedMachine await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.PrivateLinkScopesGet_Call (request, onOk,onDefault,eventListener,sender); - } - } - - /// Returns a Azure Arc PrivateLinkScope's validation details. - /// The ID of the target subscription. - /// The location of the target resource. - /// The id (Guid) of the Azure Arc PrivateLinkScope resource. - /// 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). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 PrivateLinkScopesGetValidationDetails(string subscriptionId, string location, string privateLinkScopeId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + global::System.Uri.EscapeDataString(subscriptionId) - + "/providers/Microsoft.HybridCompute/locations/" - + global::System.Uri.EscapeDataString(location) - + "/privateLinkScopes/" - + global::System.Uri.EscapeDataString(privateLinkScopeId) - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // make the call - await this.PrivateLinkScopesGetValidationDetails_Call (request, onOk,onDefault,eventListener,sender); - } - } - - /// Returns a Azure Arc PrivateLinkScope's validation details for a given machine. - /// The ID of the target subscription. - /// The name of the resource group. The name is case insensitive. - /// The name of the target machine to get the private link scope validation details for. - /// 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). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 PrivateLinkScopesGetValidationDetailsForMachine(string subscriptionId, string resourceGroupName, string machineName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + global::System.Uri.EscapeDataString(subscriptionId) - + "/resourceGroups/" - + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.HybridCompute/machines/" - + global::System.Uri.EscapeDataString(machineName) - + "/privateLinkScopes/current" - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // make the call - await this.PrivateLinkScopesGetValidationDetailsForMachine_Call (request, onOk,onDefault,eventListener,sender); + await this.PrivateLinkResourcesListByPrivateLinkScope_Call (request, onOk,onDefault,eventListener,sender); } } - /// Returns a Azure Arc PrivateLinkScope's validation details for a given machine. + /// + /// Gets the private link resources that need to be created for a Azure Monitor PrivateLinkScope. + /// /// /// 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 @@ -22149,33 +14939,33 @@ public partial class ConnectedMachine /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task PrivateLinkScopesGetValidationDetailsForMachineViaIdentity(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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task PrivateLinkResourcesListByPrivateLinkScopeViaIdentity(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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/machines/(?[^/]+)/privateLinkScopes/current$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/privateLinkScopes/(?[^/]+)/privateLinkResources$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/privateLinkScopes/current'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/privateLinkResources'"); } // replace URI parameters with values from identity var subscriptionId = _match.Groups["subscriptionId"].Value; var resourceGroupName = _match.Groups["resourceGroupName"].Value; - var machineName = _match.Groups["machineName"].Value; + var scopeName = _match.Groups["scopeName"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName - + "/providers/Microsoft.HybridCompute/machines/" - + machineName - + "/privateLinkScopes/current" + + "/providers/Microsoft.HybridCompute/privateLinkScopes/" + + scopeName + + "/privateLinkResources" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -22189,45 +14979,47 @@ public partial class ConnectedMachine await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.PrivateLinkScopesGetValidationDetailsForMachine_Call (request, onOk,onDefault,eventListener,sender); + await this.PrivateLinkResourcesListByPrivateLinkScope_Call (request, onOk,onDefault,eventListener,sender); } } - /// Returns a Azure Arc PrivateLinkScope's validation details for a given machine. + /// + /// Gets the private link resources that need to be created for a Azure Monitor PrivateLinkScope. + /// /// /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 PrivateLinkScopesGetValidationDetailsForMachineViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task PrivateLinkResourcesListByPrivateLinkScopeViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/machines/(?[^/]+)/privateLinkScopes/current$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/privateLinkScopes/(?[^/]+)/privateLinkResources$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/privateLinkScopes/current'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/privateLinkResources'"); } // replace URI parameters with values from identity var subscriptionId = _match.Groups["subscriptionId"].Value; var resourceGroupName = _match.Groups["resourceGroupName"].Value; - var machineName = _match.Groups["machineName"].Value; + var scopeName = _match.Groups["scopeName"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName - + "/providers/Microsoft.HybridCompute/machines/" - + machineName - + "/privateLinkScopes/current" + + "/providers/Microsoft.HybridCompute/privateLinkScopes/" + + scopeName + + "/privateLinkResources" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -22241,23 +15033,25 @@ public partial class ConnectedMachine await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.PrivateLinkScopesGetValidationDetailsForMachineWithResult_Call (request, eventListener,sender); + return await this.PrivateLinkResourcesListByPrivateLinkScopeWithResult_Call (request, eventListener,sender); } } - /// Returns a Azure Arc PrivateLinkScope's validation details for a given machine. + /// + /// Gets the private link resources that need to be created for a Azure Monitor PrivateLinkScope. + /// /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. - /// The name of the target machine to get the private link scope validation details for. + /// The name of the Azure Arc PrivateLinkScope resource. /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 PrivateLinkScopesGetValidationDetailsForMachineWithResult(string subscriptionId, string resourceGroupName, string machineName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task PrivateLinkResourcesListByPrivateLinkScopeWithResult(string subscriptionId, string resourceGroupName, string scopeName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { @@ -22267,9 +15061,9 @@ public partial class ConnectedMachine + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.HybridCompute/machines/" - + global::System.Uri.EscapeDataString(machineName) - + "/privateLinkScopes/current" + + "/providers/Microsoft.HybridCompute/privateLinkScopes/" + + global::System.Uri.EscapeDataString(scopeName) + + "/privateLinkResources" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -22283,21 +15077,21 @@ public partial class ConnectedMachine await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.PrivateLinkScopesGetValidationDetailsForMachineWithResult_Call (request, eventListener,sender); + return await this.PrivateLinkResourcesListByPrivateLinkScopeWithResult_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.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. /// - /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task PrivateLinkScopesGetValidationDetailsForMachineWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task PrivateLinkResourcesListByPrivateLinkScopeWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -22316,7 +15110,7 @@ public partial class ConnectedMachine case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.PrivateLinkScopeValidationDetails.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); + var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.PrivateLinkResourceListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); return await _result; } default: @@ -22350,7 +15144,7 @@ public partial class ConnectedMachine } /// - /// 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). @@ -22361,7 +15155,7 @@ public partial class ConnectedMachine /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task PrivateLinkScopesGetValidationDetailsForMachine_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task PrivateLinkResourcesListByPrivateLinkScope_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -22380,7 +15174,7 @@ public partial class ConnectedMachine case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.PrivateLinkScopeValidationDetails.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.PrivateLinkResourceListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -22402,17 +15196,17 @@ public partial class ConnectedMachine } /// - /// 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 name of the resource group. The name is case insensitive. - /// The name of the target machine to get the private link scope validation details for. + /// The name of the Azure Arc PrivateLinkScope resource. /// an instance that will receive events. /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task PrivateLinkScopesGetValidationDetailsForMachine_Validate(string subscriptionId, string resourceGroupName, string machineName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task PrivateLinkResourcesListByPrivateLinkScope_Validate(string subscriptionId, string resourceGroupName, string scopeName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -22421,14 +15215,197 @@ public partial class ConnectedMachine await eventListener.AssertNotNull(nameof(resourceGroupName),resourceGroupName); await eventListener.AssertMinimumLength(nameof(resourceGroupName),resourceGroupName,1); await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); - await eventListener.AssertNotNull(nameof(machineName),machineName); - await eventListener.AssertMinimumLength(nameof(machineName),machineName,1); + await eventListener.AssertNotNull(nameof(scopeName),scopeName); + await eventListener.AssertRegEx(nameof(scopeName), scopeName, @"[a-zA-Z0-9-_\.]+"); + } + } + + /// + /// update (or update a Azure Arc PrivateLinkScope. Note: You cannot specify a different value for InstrumentationKey nor + /// AppId in the Put operation. + /// + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. + /// The name of the Azure Arc PrivateLinkScope resource. + /// Properties that need to be specified to create or update a Azure Arc for Servers and Clusters PrivateLinkScope. + /// 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 + /// elsewhere). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. + /// Allows the caller to choose the depth of the serialization. See . + /// + /// A that will be complete when handling of the response is completed. + /// + public async global::System.Threading.Tasks.Task PrivateLinkScopesCreateOrUpdate(string subscriptionId, string resourceGroupName, string scopeName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridComputePrivateLinkScope 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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) + { + var apiVersion = @"2024-07-10"; + // Constant Parameters + using( NoSynchronizationContext ) + { + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + global::System.Uri.EscapeDataString(subscriptionId) + + "/resourceGroups/" + + global::System.Uri.EscapeDataString(resourceGroupName) + + "/providers/Microsoft.HybridCompute/privateLinkScopes/" + + global::System.Uri.EscapeDataString(scopeName) + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Put, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // set body content + request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } + // make the call + await this.PrivateLinkScopesCreateOrUpdate_Call (request, onOk,onCreated,onDefault,eventListener,sender); + } + } + + /// + /// update (or update a Azure Arc PrivateLinkScope. Note: You cannot specify a different value for InstrumentationKey nor + /// AppId in the Put operation. + /// + /// + /// Properties that need to be specified to create or update a Azure Arc for Servers and Clusters PrivateLinkScope. + /// 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 + /// elsewhere). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. + /// Allows the caller to choose the depth of the serialization. See . + /// + /// A that will be complete when handling of the response is completed. + /// + public async global::System.Threading.Tasks.Task PrivateLinkScopesCreateOrUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridComputePrivateLinkScope 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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) + { + var apiVersion = @"2024-07-10"; + // Constant Parameters + using( NoSynchronizationContext ) + { + // verify that Identity format is an exact match for uri + + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/privateLinkScopes/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + if (!_match.Success) + { + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}'"); + } + + // replace URI parameters with values from identity + var subscriptionId = _match.Groups["subscriptionId"].Value; + var resourceGroupName = _match.Groups["resourceGroupName"].Value; + var scopeName = _match.Groups["scopeName"].Value; + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + subscriptionId + + "/resourceGroups/" + + resourceGroupName + + "/providers/Microsoft.HybridCompute/privateLinkScopes/" + + scopeName + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Put, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // set body content + request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } + // make the call + await this.PrivateLinkScopesCreateOrUpdate_Call (request, onOk,onCreated,onDefault,eventListener,sender); + } + } + + /// + /// update (or update a Azure Arc PrivateLinkScope. Note: You cannot specify a different value for InstrumentationKey nor + /// AppId in the Put operation. + /// + /// + /// Properties that need to be specified to create or update a Azure Arc for Servers and Clusters PrivateLinkScope. + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. + /// Allows the caller to choose the depth of the serialization. See . + /// + /// A that will be complete when handling of the response is completed. + /// + public async global::System.Threading.Tasks.Task PrivateLinkScopesCreateOrUpdateViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridComputePrivateLinkScope body, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) + { + var apiVersion = @"2024-07-10"; + // Constant Parameters + using( NoSynchronizationContext ) + { + // verify that Identity format is an exact match for uri + + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/privateLinkScopes/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + if (!_match.Success) + { + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}'"); + } + + // replace URI parameters with values from identity + var subscriptionId = _match.Groups["subscriptionId"].Value; + var resourceGroupName = _match.Groups["resourceGroupName"].Value; + var scopeName = _match.Groups["scopeName"].Value; + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + subscriptionId + + "/resourceGroups/" + + resourceGroupName + + "/providers/Microsoft.HybridCompute/privateLinkScopes/" + + scopeName + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } + + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Put, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } + // set body content + request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } + // make the call + return await this.PrivateLinkScopesCreateOrUpdateWithResult_Call (request, eventListener,sender); } } - /// Returns a Azure Arc PrivateLinkScope's validation details. - /// + /// + /// update (or update a Azure Arc PrivateLinkScope. Note: You cannot specify a different value for InstrumentationKey nor + /// AppId in the Put operation. + /// + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. + /// The name of the Azure Arc PrivateLinkScope resource. + /// Json string supplied to the PrivateLinkScopesCreateOrUpdate 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 /// elsewhere). /// an instance that will receive events. @@ -22436,32 +15413,20 @@ public partial class ConnectedMachine /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task PrivateLinkScopesGetValidationDetailsViaIdentity(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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task PrivateLinkScopesCreateOrUpdateViaJsonString(string subscriptionId, string resourceGroupName, string scopeName, 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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { - // verify that Identity format is an exact match for uri - - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/providers/Microsoft.HybridCompute/locations/(?[^/]+)/privateLinkScopes/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); - if (!_match.Success) - { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/locations/{location}/privateLinkScopes/{privateLinkScopeId}'"); - } - - // replace URI parameters with values from identity - var subscriptionId = _match.Groups["subscriptionId"].Value; - var location = _match.Groups["location"].Value; - var privateLinkScopeId = _match.Groups["privateLinkScopeId"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" - + subscriptionId - + "/providers/Microsoft.HybridCompute/locations/" - + location - + "/privateLinkScopes/" - + privateLinkScopeId + + global::System.Uri.EscapeDataString(subscriptionId) + + "/resourceGroups/" + + global::System.Uri.EscapeDataString(resourceGroupName) + + "/providers/Microsoft.HybridCompute/privateLinkScopes/" + + global::System.Uri.EscapeDataString(scopeName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -22470,49 +15435,47 @@ public partial class ConnectedMachine // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Put, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // set body content + request.Content = new global::System.Net.Http.StringContent(jsonString, global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.PrivateLinkScopesGetValidationDetails_Call (request, onOk,onDefault,eventListener,sender); + await this.PrivateLinkScopesCreateOrUpdate_Call (request, onOk,onCreated,onDefault,eventListener,sender); } } - /// Returns a Azure Arc PrivateLinkScope's validation details. - /// + /// + /// update (or update a Azure Arc PrivateLinkScope. Note: You cannot specify a different value for InstrumentationKey nor + /// AppId in the Put operation. + /// + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. + /// The name of the Azure Arc PrivateLinkScope resource. + /// Json string supplied to the PrivateLinkScopesCreateOrUpdate operation /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 PrivateLinkScopesGetValidationDetailsViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task PrivateLinkScopesCreateOrUpdateViaJsonStringWithResult(string subscriptionId, string resourceGroupName, string scopeName, global::System.String jsonString, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { - // verify that Identity format is an exact match for uri - - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/providers/Microsoft.HybridCompute/locations/(?[^/]+)/privateLinkScopes/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); - if (!_match.Success) - { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/locations/{location}/privateLinkScopes/{privateLinkScopeId}'"); - } - - // replace URI parameters with values from identity - var subscriptionId = _match.Groups["subscriptionId"].Value; - var location = _match.Groups["location"].Value; - var privateLinkScopeId = _match.Groups["privateLinkScopeId"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" - + subscriptionId - + "/providers/Microsoft.HybridCompute/locations/" - + location - + "/privateLinkScopes/" - + privateLinkScopeId + + global::System.Uri.EscapeDataString(subscriptionId) + + "/resourceGroups/" + + global::System.Uri.EscapeDataString(resourceGroupName) + + "/providers/Microsoft.HybridCompute/privateLinkScopes/" + + global::System.Uri.EscapeDataString(scopeName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -22521,28 +15484,37 @@ public partial class ConnectedMachine // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Put, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } + // set body content + request.Content = new global::System.Net.Http.StringContent(jsonString, global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.PrivateLinkScopesGetValidationDetailsWithResult_Call (request, eventListener,sender); + return await this.PrivateLinkScopesCreateOrUpdateWithResult_Call (request, eventListener,sender); } } - /// Returns a Azure Arc PrivateLinkScope's validation details. + /// + /// update (or update a Azure Arc PrivateLinkScope. Note: You cannot specify a different value for InstrumentationKey nor + /// AppId in the Put operation. + /// /// The ID of the target subscription. - /// The location of the target resource. - /// The id (Guid) of the Azure Arc PrivateLinkScope resource. + /// The name of the resource group. The name is case insensitive. + /// The name of the Azure Arc PrivateLinkScope resource. + /// Properties that need to be specified to create or update a Azure Arc for Servers and Clusters PrivateLinkScope. /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. + /// Allows the caller to choose the depth of the serialization. See . /// - /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task PrivateLinkScopesGetValidationDetailsWithResult(string subscriptionId, string location, string privateLinkScopeId, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task PrivateLinkScopesCreateOrUpdateWithResult(string subscriptionId, string resourceGroupName, string scopeName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridComputePrivateLinkScope body, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { @@ -22550,10 +15522,10 @@ public partial class ConnectedMachine var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) - + "/providers/Microsoft.HybridCompute/locations/" - + global::System.Uri.EscapeDataString(location) - + "/privateLinkScopes/" - + global::System.Uri.EscapeDataString(privateLinkScopeId) + + "/resourceGroups/" + + global::System.Uri.EscapeDataString(resourceGroupName) + + "/providers/Microsoft.HybridCompute/privateLinkScopes/" + + global::System.Uri.EscapeDataString(scopeName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -22562,26 +15534,30 @@ public partial class ConnectedMachine // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Put, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } + // set body content + request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.PrivateLinkScopesGetValidationDetailsWithResult_Call (request, eventListener,sender); + return await this.PrivateLinkScopesCreateOrUpdateWithResult_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.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. /// - /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task PrivateLinkScopesGetValidationDetailsWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task PrivateLinkScopesCreateOrUpdateWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -22600,7 +15576,13 @@ public partial class ConnectedMachine case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.PrivateLinkScopeValidationDetails.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); + var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.HybridComputePrivateLinkScope.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); + return await _result; + } + case global::System.Net.HttpStatusCode.Created: + { + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } + var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.HybridComputePrivateLinkScope.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); return await _result; } default: @@ -22633,11 +15615,10 @@ public partial class ConnectedMachine } } - /// - /// 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). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). /// an instance that will receive events. @@ -22645,7 +15626,7 @@ public partial class ConnectedMachine /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task PrivateLinkScopesGetValidationDetails_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task PrivateLinkScopesCreateOrUpdate_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -22664,7 +15645,13 @@ public partial class ConnectedMachine case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.PrivateLinkScopeValidationDetails.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.HybridComputePrivateLinkScope.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); + break; + } + case global::System.Net.HttpStatusCode.Created: + { + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + await onCreated(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.HybridComputePrivateLinkScope.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -22686,31 +15673,39 @@ public partial class ConnectedMachine } /// - /// 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 location of the target resource. - /// The id (Guid) of the Azure Arc PrivateLinkScope resource. + /// The name of the resource group. The name is case insensitive. + /// The name of the Azure Arc PrivateLinkScope resource. + /// Properties that need to be specified to create or update a Azure Arc for Servers and Clusters PrivateLinkScope. /// an instance that will receive events. /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task PrivateLinkScopesGetValidationDetails_Validate(string subscriptionId, string location, string privateLinkScopeId, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task PrivateLinkScopesCreateOrUpdate_Validate(string subscriptionId, string resourceGroupName, string scopeName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridComputePrivateLinkScope body, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); await eventListener.AssertMinimumLength(nameof(subscriptionId),subscriptionId,1); - await eventListener.AssertNotNull(nameof(location),location); - await eventListener.AssertMinimumLength(nameof(location),location,1); - await eventListener.AssertNotNull(nameof(privateLinkScopeId),privateLinkScopeId); + await eventListener.AssertNotNull(nameof(resourceGroupName),resourceGroupName); + await eventListener.AssertMinimumLength(nameof(resourceGroupName),resourceGroupName,1); + await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); + await eventListener.AssertNotNull(nameof(scopeName),scopeName); + await eventListener.AssertRegEx(nameof(scopeName), scopeName, @"[a-zA-Z0-9-_\.]+"); + await eventListener.AssertNotNull(nameof(body), body); + await eventListener.AssertObjectIsValid(nameof(body), body); } } - /// Returns a Azure Arc PrivateLinkScope. - /// + /// Deletes a Azure Arc PrivateLinkScope. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. + /// The name of the Azure Arc PrivateLinkScope resource. /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns 204 (NoContent). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). /// an instance that will receive events. @@ -22718,32 +15713,20 @@ public partial class ConnectedMachine /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task PrivateLinkScopesGetViaIdentity(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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task PrivateLinkScopesDelete(string subscriptionId, string resourceGroupName, string scopeName, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { - // verify that Identity format is an exact match for uri - - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/privateLinkScopes/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); - if (!_match.Success) - { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}'"); - } - - // replace URI parameters with values from identity - var subscriptionId = _match.Groups["subscriptionId"].Value; - var resourceGroupName = _match.Groups["resourceGroupName"].Value; - var scopeName = _match.Groups["scopeName"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" - + subscriptionId + + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" - + resourceGroupName + + global::System.Uri.EscapeDataString(resourceGroupName) + "/providers/Microsoft.HybridCompute/privateLinkScopes/" - + scopeName + + global::System.Uri.EscapeDataString(scopeName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -22752,26 +15735,29 @@ public partial class ConnectedMachine // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Delete, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.PrivateLinkScopesGet_Call (request, onOk,onDefault,eventListener,sender); + await this.PrivateLinkScopesDelete_Call (request, onOk,onNoContent,onDefault,eventListener,sender); } } - /// Returns a Azure Arc PrivateLinkScope. + /// Deletes a Azure Arc PrivateLinkScope. /// + /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns 204 (NoContent). + /// a delegate that is called when the remote service returns default (any response code not handled + /// elsewhere). /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. /// - /// A that will be complete when handling of the response is completed. + /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task PrivateLinkScopesGetViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task PrivateLinkScopesDeleteViaIdentity(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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { @@ -22799,123 +15785,23 @@ public partial class ConnectedMachine + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } - // make the call - return await this.PrivateLinkScopesGetWithResult_Call (request, eventListener,sender); - } - } - - /// Returns a Azure Arc PrivateLinkScope. - /// The ID of the target subscription. - /// The name of the resource group. The name is case insensitive. - /// The name of the Azure Arc PrivateLinkScope resource. - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 PrivateLinkScopesGetWithResult(string subscriptionId, string resourceGroupName, string scopeName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + global::System.Uri.EscapeDataString(subscriptionId) - + "/resourceGroups/" - + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.HybridCompute/privateLinkScopes/" - + global::System.Uri.EscapeDataString(scopeName) - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Delete, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - return await this.PrivateLinkScopesGetWithResult_Call (request, eventListener,sender); - } - } - - /// Actual wire call for method. - /// the prepared HttpRequestMessage to send. - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// - /// A that will be complete when handling of the response is completed. - /// - internal async global::System.Threading.Tasks.Task PrivateLinkScopesGetWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - using( NoSynchronizationContext ) - { - global::System.Net.Http.HttpResponseMessage _response = null; - try - { - var sendTask = sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; } - _response = await sendTask; - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _contentType = _response.Content.Headers.ContentType?.MediaType; - - switch ( _response.StatusCode ) - { - case global::System.Net.HttpStatusCode.OK: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.HybridComputePrivateLinkScope.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); - return await _result; - } - default: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ErrorResponse.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); - // Error Response : default - var code = (await _result)?.Code; - var message = (await _result)?.Message; - if ((null == code || null == message)) - { - // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.RestException(_response, await _result); - throw ex; - } - else - { - throw new global::System.Exception($"[{code}] : {message}"); - } - } - } - } - finally - { - // finally statements - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Finally, request, _response); - _response?.Dispose(); - request?.Dispose(); - } + await this.PrivateLinkScopesDelete_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). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). /// an instance that will receive events. @@ -22923,7 +15809,7 @@ public partial class ConnectedMachine /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task PrivateLinkScopesGet_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task PrivateLinkScopesDelete_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -22932,8 +15818,104 @@ public partial class ConnectedMachine { var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; } _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + // this operation supports x-ms-long-running-operation + var _originalUri = request.RequestUri.AbsoluteUri; + // declared final-state-via: default + var _finalUri = _response.GetFirstHeader(@"Location"); + var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); + var location = _response.GetFirstHeader(@"Location"); + var operationLocation = _response.GetFirstHeader(@"Operation-Location"); + while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + { + // delay before making the next polling request + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.DelayBeforePolling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + + // while we wait, let's grab the headers and get ready to poll. + if (!System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Azure-AsyncOperation"))) { + asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); + } + if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Location"))) { + location = _response.GetFirstHeader(@"Location"); + } + if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Operation-Location"))) { + operationLocation = _response.GetFirstHeader(@"Operation-Location"); + } + var _uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? global::System.String.IsNullOrEmpty(operationLocation) ? _originalUri : operationLocation : location : asyncOperation; + request = request.CloneAndDispose(new global::System.Uri(_uri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); + + // and let's look at the current response body and see if we have some information we can give back to the listener + var content = await _response.Content.ReadAsStringAsync(); + + // drop the old response + _response?.Dispose(); + + // make the polling call + _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + + // if we got back an OK, take a peek inside and see if it's done + if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) + { + var error = false; + try { + if( Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json) + { + var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); + if( state is null ) + { + // the body doesn't contain any information that has the state of the LRO + // we're going to just get out, and let the consumer have the result + break; + } + + switch( state?.ToString()?.ToLower() ) + { + case "failed": + error = true; + break; + case "succeeded": + case "canceled": + // we're done polling. + break; + + default: + // need to keep polling! + _response.StatusCode = global::System.Net.HttpStatusCode.Created; + continue; + } + } + } catch { + // if we run into a problem peeking into the result, + // we really don't want to do anything special. + } + if (error) { + throw new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.UndeclaredResponseException(_response); + } + } + + // check for terminal status code + if (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + { + continue; + } + // we are done polling, do a request on final target? + if (!string.IsNullOrWhiteSpace(_finalUri)) + { + // create a new request with the final uri + request = request.CloneAndDispose(new global::System.Uri(_finalUri), Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get); + + // drop the old response + _response?.Dispose(); + + // make the final call + _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + break; + } + } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return; } var _contentType = _response.Content.Headers.ContentType?.MediaType; @@ -22942,7 +15924,13 @@ public partial class ConnectedMachine case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.HybridComputePrivateLinkScope.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response); + break; + } + case global::System.Net.HttpStatusCode.NoContent: + { + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + await onNoContent(_response); break; } default: @@ -22964,8 +15952,8 @@ public partial class ConnectedMachine } /// - /// 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 name of the resource group. The name is case insensitive. @@ -22974,7 +15962,7 @@ public partial class ConnectedMachine /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task PrivateLinkScopesGet_Validate(string subscriptionId, string resourceGroupName, string scopeName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task PrivateLinkScopesDelete_Validate(string subscriptionId, string resourceGroupName, string scopeName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -22988,8 +15976,10 @@ public partial class ConnectedMachine } } - /// Gets a list of all Azure Arc PrivateLinkScopes within a subscription. + /// Returns a Azure Arc PrivateLinkScope. /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. + /// The name of the Azure Arc PrivateLinkScope resource. /// 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). @@ -22998,9 +15988,9 @@ public partial class ConnectedMachine /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task PrivateLinkScopesList(string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task PrivateLinkScopesGet(string subscriptionId, string resourceGroupName, string scopeName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { @@ -23008,7 +15998,10 @@ public partial class ConnectedMachine var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) - + "/providers/Microsoft.HybridCompute/privateLinkScopes" + + "/resourceGroups/" + + global::System.Uri.EscapeDataString(resourceGroupName) + + "/providers/Microsoft.HybridCompute/privateLinkScopes/" + + global::System.Uri.EscapeDataString(scopeName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -23022,13 +16015,57 @@ public partial class ConnectedMachine await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.PrivateLinkScopesList_Call (request, onOk,onDefault,eventListener,sender); + await this.PrivateLinkScopesGet_Call (request, onOk,onDefault,eventListener,sender); } } - /// Gets a list of Azure Arc PrivateLinkScopes within a resource group. + /// Returns a Azure Arc PrivateLinkScope's validation details. + /// The ID of the target subscription. + /// The location of the target resource. + /// The id (Guid) of the Azure Arc PrivateLinkScope resource. + /// 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). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 PrivateLinkScopesGetValidationDetails(string subscriptionId, string location, string privateLinkScopeId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + { + var apiVersion = @"2024-07-10"; + // Constant Parameters + using( NoSynchronizationContext ) + { + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + global::System.Uri.EscapeDataString(subscriptionId) + + "/providers/Microsoft.HybridCompute/locations/" + + global::System.Uri.EscapeDataString(location) + + "/privateLinkScopes/" + + global::System.Uri.EscapeDataString(privateLinkScopeId) + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // make the call + await this.PrivateLinkScopesGetValidationDetails_Call (request, onOk,onDefault,eventListener,sender); + } + } + + /// Returns a Azure Arc PrivateLinkScope's validation details for a given machine. /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. + /// The name of the target machine to get the private link scope validation details for. /// 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). @@ -23037,9 +16074,9 @@ public partial class ConnectedMachine /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task PrivateLinkScopesListByResourceGroup(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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task PrivateLinkScopesGetValidationDetailsForMachine(string subscriptionId, string resourceGroupName, string machineName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { @@ -23049,7 +16086,9 @@ public partial class ConnectedMachine + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.HybridCompute/privateLinkScopes" + + "/providers/Microsoft.HybridCompute/machines/" + + global::System.Uri.EscapeDataString(machineName) + + "/privateLinkScopes/current" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -23063,11 +16102,11 @@ public partial class ConnectedMachine await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.PrivateLinkScopesListByResourceGroup_Call (request, onOk,onDefault,eventListener,sender); + await this.PrivateLinkScopesGetValidationDetailsForMachine_Call (request, onOk,onDefault,eventListener,sender); } } - /// Gets a list of Azure Arc PrivateLinkScopes within a resource group. + /// Returns a Azure Arc PrivateLinkScope's validation details for a given machine. /// /// 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 @@ -23077,30 +16116,33 @@ public partial class ConnectedMachine /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task PrivateLinkScopesListByResourceGroupViaIdentity(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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task PrivateLinkScopesGetValidationDetailsForMachineViaIdentity(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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/privateLinkScopes$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/machines/(?[^/]+)/privateLinkScopes/current$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/privateLinkScopes/current'"); } // replace URI parameters with values from identity var subscriptionId = _match.Groups["subscriptionId"].Value; var resourceGroupName = _match.Groups["resourceGroupName"].Value; + var machineName = _match.Groups["machineName"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName - + "/providers/Microsoft.HybridCompute/privateLinkScopes" + + "/providers/Microsoft.HybridCompute/machines/" + + machineName + + "/privateLinkScopes/current" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -23114,42 +16156,45 @@ public partial class ConnectedMachine await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.PrivateLinkScopesListByResourceGroup_Call (request, onOk,onDefault,eventListener,sender); + await this.PrivateLinkScopesGetValidationDetailsForMachine_Call (request, onOk,onDefault,eventListener,sender); } } - /// Gets a list of Azure Arc PrivateLinkScopes within a resource group. + /// Returns a Azure Arc PrivateLinkScope's validation details for a given machine. /// /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 PrivateLinkScopesListByResourceGroupViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task PrivateLinkScopesGetValidationDetailsForMachineViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/privateLinkScopes$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/machines/(?[^/]+)/privateLinkScopes/current$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/privateLinkScopes/current'"); } // replace URI parameters with values from identity var subscriptionId = _match.Groups["subscriptionId"].Value; var resourceGroupName = _match.Groups["resourceGroupName"].Value; + var machineName = _match.Groups["machineName"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName - + "/providers/Microsoft.HybridCompute/privateLinkScopes" + + "/providers/Microsoft.HybridCompute/machines/" + + machineName + + "/privateLinkScopes/current" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -23163,22 +16208,23 @@ public partial class ConnectedMachine await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.PrivateLinkScopesListByResourceGroupWithResult_Call (request, eventListener,sender); + return await this.PrivateLinkScopesGetValidationDetailsForMachineWithResult_Call (request, eventListener,sender); } } - /// Gets a list of Azure Arc PrivateLinkScopes within a resource group. + /// Returns a Azure Arc PrivateLinkScope's validation details for a given machine. /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. + /// The name of the target machine to get the private link scope validation details for. /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 PrivateLinkScopesListByResourceGroupWithResult(string subscriptionId, string resourceGroupName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task PrivateLinkScopesGetValidationDetailsForMachineWithResult(string subscriptionId, string resourceGroupName, string machineName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { @@ -23188,7 +16234,9 @@ public partial class ConnectedMachine + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.HybridCompute/privateLinkScopes" + + "/providers/Microsoft.HybridCompute/machines/" + + global::System.Uri.EscapeDataString(machineName) + + "/privateLinkScopes/current" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -23202,21 +16250,21 @@ public partial class ConnectedMachine await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.PrivateLinkScopesListByResourceGroupWithResult_Call (request, eventListener,sender); + return await this.PrivateLinkScopesGetValidationDetailsForMachineWithResult_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.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. /// - /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task PrivateLinkScopesListByResourceGroupWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task PrivateLinkScopesGetValidationDetailsForMachineWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -23235,7 +16283,7 @@ public partial class ConnectedMachine case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.HybridComputePrivateLinkScopeListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); + var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.PrivateLinkScopeValidationDetails.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); return await _result; } default: @@ -23269,7 +16317,7 @@ public partial class ConnectedMachine } /// - /// 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). @@ -23280,7 +16328,7 @@ public partial class ConnectedMachine /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task PrivateLinkScopesListByResourceGroup_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task PrivateLinkScopesGetValidationDetailsForMachine_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -23299,7 +16347,7 @@ public partial class ConnectedMachine case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.HybridComputePrivateLinkScopeListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.PrivateLinkScopeValidationDetails.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -23321,16 +16369,17 @@ public partial class ConnectedMachine } /// - /// 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 name of the resource group. The name is case insensitive. + /// The name of the target machine to get the private link scope validation details for. /// an instance that will receive events. /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task PrivateLinkScopesListByResourceGroup_Validate(string subscriptionId, string resourceGroupName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task PrivateLinkScopesGetValidationDetailsForMachine_Validate(string subscriptionId, string resourceGroupName, string machineName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -23339,10 +16388,12 @@ public partial class ConnectedMachine await eventListener.AssertNotNull(nameof(resourceGroupName),resourceGroupName); await eventListener.AssertMinimumLength(nameof(resourceGroupName),resourceGroupName,1); await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); + await eventListener.AssertNotNull(nameof(machineName),machineName); + await eventListener.AssertMinimumLength(nameof(machineName),machineName,1); } } - /// Gets a list of all Azure Arc PrivateLinkScopes within a subscription. + /// Returns a Azure Arc PrivateLinkScope's validation details. /// /// 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 @@ -23352,27 +16403,32 @@ public partial class ConnectedMachine /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task PrivateLinkScopesListViaIdentity(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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task PrivateLinkScopesGetValidationDetailsViaIdentity(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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/providers/Microsoft.HybridCompute/privateLinkScopes$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/providers/Microsoft.HybridCompute/locations/(?[^/]+)/privateLinkScopes/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/privateLinkScopes'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/locations/{location}/privateLinkScopes/{privateLinkScopeId}'"); } // replace URI parameters with values from identity var subscriptionId = _match.Groups["subscriptionId"].Value; + var location = _match.Groups["location"].Value; + var privateLinkScopeId = _match.Groups["privateLinkScopeId"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" + subscriptionId - + "/providers/Microsoft.HybridCompute/privateLinkScopes" + + "/providers/Microsoft.HybridCompute/locations/" + + location + + "/privateLinkScopes/" + + privateLinkScopeId + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -23386,39 +16442,44 @@ public partial class ConnectedMachine await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.PrivateLinkScopesList_Call (request, onOk,onDefault,eventListener,sender); + await this.PrivateLinkScopesGetValidationDetails_Call (request, onOk,onDefault,eventListener,sender); } } - /// Gets a list of all Azure Arc PrivateLinkScopes within a subscription. + /// Returns a Azure Arc PrivateLinkScope's validation details. /// /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 PrivateLinkScopesListViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task PrivateLinkScopesGetValidationDetailsViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/providers/Microsoft.HybridCompute/privateLinkScopes$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/providers/Microsoft.HybridCompute/locations/(?[^/]+)/privateLinkScopes/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/privateLinkScopes'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/locations/{location}/privateLinkScopes/{privateLinkScopeId}'"); } // replace URI parameters with values from identity var subscriptionId = _match.Groups["subscriptionId"].Value; + var location = _match.Groups["location"].Value; + var privateLinkScopeId = _match.Groups["privateLinkScopeId"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" + subscriptionId - + "/providers/Microsoft.HybridCompute/privateLinkScopes" + + "/providers/Microsoft.HybridCompute/locations/" + + location + + "/privateLinkScopes/" + + privateLinkScopeId + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -23432,21 +16493,23 @@ public partial class ConnectedMachine await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.PrivateLinkScopesListWithResult_Call (request, eventListener,sender); + return await this.PrivateLinkScopesGetValidationDetailsWithResult_Call (request, eventListener,sender); } } - /// Gets a list of all Azure Arc PrivateLinkScopes within a subscription. + /// Returns a Azure Arc PrivateLinkScope's validation details. /// The ID of the target subscription. + /// The location of the target resource. + /// The id (Guid) of the Azure Arc PrivateLinkScope resource. /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 PrivateLinkScopesListWithResult(string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task PrivateLinkScopesGetValidationDetailsWithResult(string subscriptionId, string location, string privateLinkScopeId, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { @@ -23454,7 +16517,10 @@ public partial class ConnectedMachine var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) - + "/providers/Microsoft.HybridCompute/privateLinkScopes" + + "/providers/Microsoft.HybridCompute/locations/" + + global::System.Uri.EscapeDataString(location) + + "/privateLinkScopes/" + + global::System.Uri.EscapeDataString(privateLinkScopeId) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -23468,19 +16534,21 @@ public partial class ConnectedMachine await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.PrivateLinkScopesListWithResult_Call (request, eventListener,sender); + return await this.PrivateLinkScopesGetValidationDetailsWithResult_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.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. /// - /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task PrivateLinkScopesListWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task PrivateLinkScopesGetValidationDetailsWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -23499,7 +16567,7 @@ public partial class ConnectedMachine case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.HybridComputePrivateLinkScopeListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); + var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.PrivateLinkScopeValidationDetails.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); return await _result; } default: @@ -23532,7 +16600,9 @@ public partial class ConnectedMachine } } - /// 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 @@ -23542,7 +16612,7 @@ public partial class ConnectedMachine /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task PrivateLinkScopesList_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task PrivateLinkScopesGetValidationDetails_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -23561,7 +16631,7 @@ public partial class ConnectedMachine case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.HybridComputePrivateLinkScopeListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.PrivateLinkScopeValidationDetails.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -23583,150 +16653,41 @@ public partial class ConnectedMachine } /// - /// 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 location of the target resource. + /// The id (Guid) of the Azure Arc PrivateLinkScope resource. /// an instance that will receive events. /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task PrivateLinkScopesList_Validate(string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task PrivateLinkScopesGetValidationDetails_Validate(string subscriptionId, string location, string privateLinkScopeId, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); await eventListener.AssertMinimumLength(nameof(subscriptionId),subscriptionId,1); + await eventListener.AssertNotNull(nameof(location),location); + await eventListener.AssertMinimumLength(nameof(location),location,1); + await eventListener.AssertNotNull(nameof(privateLinkScopeId),privateLinkScopeId); } } - /// - /// update an existing PrivateLinkScope's tags. To update other fields use the CreateOrupdate method. - /// - /// The ID of the target subscription. - /// The name of the resource group. The name is case insensitive. - /// The name of the Azure Arc PrivateLinkScope resource. - /// Updated tag information to set into the PrivateLinkScope instance. - /// 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). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// Allows the caller to choose the depth of the serialization. See . - /// - /// A that will be complete when handling of the response is completed. - /// - public async global::System.Threading.Tasks.Task PrivateLinkScopesUpdateTags(string subscriptionId, string resourceGroupName, string scopeName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITagsResource body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + global::System.Uri.EscapeDataString(subscriptionId) - + "/resourceGroups/" - + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.HybridCompute/privateLinkScopes/" - + global::System.Uri.EscapeDataString(scopeName) - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Patch, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // set body content - request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } - // make the call - await this.PrivateLinkScopesUpdateTags_Call (request, onOk,onDefault,eventListener,sender); - } - } - - /// - /// update an existing PrivateLinkScope's tags. To update other fields use the CreateOrupdate method. - /// + /// Returns a Azure Arc PrivateLinkScope. /// - /// Updated tag information to set into the PrivateLinkScope instance. /// 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). /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// Allows the caller to choose the depth of the serialization. See . /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task PrivateLinkScopesUpdateTagsViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITagsResource body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // verify that Identity format is an exact match for uri - - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/privateLinkScopes/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); - if (!_match.Success) - { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}'"); - } - - // replace URI parameters with values from identity - var subscriptionId = _match.Groups["subscriptionId"].Value; - var resourceGroupName = _match.Groups["resourceGroupName"].Value; - var scopeName = _match.Groups["scopeName"].Value; - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + subscriptionId - + "/resourceGroups/" - + resourceGroupName - + "/providers/Microsoft.HybridCompute/privateLinkScopes/" - + scopeName - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Patch, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // set body content - request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } - // make the call - await this.PrivateLinkScopesUpdateTags_Call (request, onOk,onDefault,eventListener,sender); - } - } - - /// - /// update an existing PrivateLinkScope's tags. To update other fields use the CreateOrupdate method. - /// - /// - /// Updated tag information to set into the PrivateLinkScope instance. - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// Allows the caller to choose the depth of the serialization. See . - /// - /// A that will be complete when handling of the response is completed. - /// - public async global::System.Threading.Tasks.Task PrivateLinkScopesUpdateTagsViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITagsResource body, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) + public async global::System.Threading.Tasks.Task PrivateLinkScopesGetViaIdentity(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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { @@ -23754,100 +16715,53 @@ public partial class ConnectedMachine + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Patch, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } - // set body content - request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } - // make the call - return await this.PrivateLinkScopesUpdateTagsWithResult_Call (request, eventListener,sender); - } - } - - /// - /// update an existing PrivateLinkScope's tags. To update other fields use the CreateOrupdate method. - /// - /// The ID of the target subscription. - /// The name of the resource group. The name is case insensitive. - /// The name of the Azure Arc PrivateLinkScope resource. - /// Json string supplied to the PrivateLinkScopesUpdateTags 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). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 PrivateLinkScopesUpdateTagsViaJsonString(string subscriptionId, string resourceGroupName, string scopeName, 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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + global::System.Uri.EscapeDataString(subscriptionId) - + "/resourceGroups/" - + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.HybridCompute/privateLinkScopes/" - + global::System.Uri.EscapeDataString(scopeName) - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Patch, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // set body content - request.Content = new global::System.Net.Http.StringContent(jsonString, global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.PrivateLinkScopesUpdateTags_Call (request, onOk,onDefault,eventListener,sender); + await this.PrivateLinkScopesGet_Call (request, onOk,onDefault,eventListener,sender); } } - /// - /// update an existing PrivateLinkScope's tags. To update other fields use the CreateOrupdate method. - /// - /// The ID of the target subscription. - /// The name of the resource group. The name is case insensitive. - /// The name of the Azure Arc PrivateLinkScope resource. - /// Json string supplied to the PrivateLinkScopesUpdateTags operation + /// Returns a Azure Arc PrivateLinkScope. + /// /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 PrivateLinkScopesUpdateTagsViaJsonStringWithResult(string subscriptionId, string resourceGroupName, string scopeName, global::System.String jsonString, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task PrivateLinkScopesGetViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { + // verify that Identity format is an exact match for uri + + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/privateLinkScopes/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + if (!_match.Success) + { + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}'"); + } + + // replace URI parameters with values from identity + var subscriptionId = _match.Groups["subscriptionId"].Value; + var resourceGroupName = _match.Groups["resourceGroupName"].Value; + var scopeName = _match.Groups["scopeName"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" - + global::System.Uri.EscapeDataString(subscriptionId) + + subscriptionId + "/resourceGroups/" - + global::System.Uri.EscapeDataString(resourceGroupName) + + resourceGroupName + "/providers/Microsoft.HybridCompute/privateLinkScopes/" - + global::System.Uri.EscapeDataString(scopeName) + + scopeName + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -23856,36 +16770,28 @@ public partial class ConnectedMachine // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Patch, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } - // set body content - request.Content = new global::System.Net.Http.StringContent(jsonString, global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.PrivateLinkScopesUpdateTagsWithResult_Call (request, eventListener,sender); + return await this.PrivateLinkScopesGetWithResult_Call (request, eventListener,sender); } } - /// - /// update an existing PrivateLinkScope's tags. To update other fields use the CreateOrupdate method. - /// + /// Returns a Azure Arc PrivateLinkScope. /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. /// The name of the Azure Arc PrivateLinkScope resource. - /// Updated tag information to set into the PrivateLinkScope instance. /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// Allows the caller to choose the depth of the serialization. See . /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task PrivateLinkScopesUpdateTagsWithResult(string subscriptionId, string resourceGroupName, string scopeName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITagsResource body, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) + public async global::System.Threading.Tasks.Task PrivateLinkScopesGetWithResult(string subscriptionId, string resourceGroupName, string scopeName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { @@ -23905,22 +16811,16 @@ public partial class ConnectedMachine // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Patch, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } - // set body content - request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.PrivateLinkScopesUpdateTagsWithResult_Call (request, eventListener,sender); + return await this.PrivateLinkScopesGetWithResult_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.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. @@ -23928,7 +16828,7 @@ public partial class ConnectedMachine /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task PrivateLinkScopesUpdateTagsWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task PrivateLinkScopesGetWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -23980,7 +16880,7 @@ public partial class ConnectedMachine } } - /// 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 @@ -23990,7 +16890,7 @@ public partial class ConnectedMachine /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task PrivateLinkScopesUpdateTags_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task PrivateLinkScopesGet_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -24031,18 +16931,17 @@ public partial class ConnectedMachine } /// - /// 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 name of the resource group. The name is case insensitive. /// The name of the Azure Arc PrivateLinkScope resource. - /// Updated tag information to set into the PrivateLinkScope instance. /// an instance that will receive events. /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task PrivateLinkScopesUpdateTags_Validate(string subscriptionId, string resourceGroupName, string scopeName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITagsResource body, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task PrivateLinkScopesGet_Validate(string subscriptionId, string resourceGroupName, string scopeName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -24053,18 +16952,50 @@ public partial class ConnectedMachine await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); await eventListener.AssertNotNull(nameof(scopeName),scopeName); await eventListener.AssertRegEx(nameof(scopeName), scopeName, @"[a-zA-Z0-9-_\.]+"); - await eventListener.AssertNotNull(nameof(body), body); - await eventListener.AssertObjectIsValid(nameof(body), body); } } - /// Returns the base Settings for the target resource. + /// Gets a list of all Azure Arc PrivateLinkScopes within a subscription. + /// The ID of the target subscription. + /// 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). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 PrivateLinkScopesList(string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + { + var apiVersion = @"2024-07-10"; + // Constant Parameters + using( NoSynchronizationContext ) + { + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + global::System.Uri.EscapeDataString(subscriptionId) + + "/providers/Microsoft.HybridCompute/privateLinkScopes" + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // make the call + await this.PrivateLinkScopesList_Call (request, onOk,onDefault,eventListener,sender); + } + } + + /// Gets a list of Azure Arc PrivateLinkScopes within a resource group. /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. - /// The name of the base Resource Provider. - /// The name of the base Resource Type. - /// The name of the base resource. - /// The name of the settings resource. /// 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). @@ -24073,9 +17004,9 @@ public partial class ConnectedMachine /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task SettingsGet(string subscriptionId, string resourceGroupName, string baseProvider, string baseResourceType, string baseResourceName, string settingsResourceName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task PrivateLinkScopesListByResourceGroup(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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { @@ -24085,14 +17016,7 @@ public partial class ConnectedMachine + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/" - + global::System.Uri.EscapeDataString(baseProvider) - + "/" - + global::System.Uri.EscapeDataString(baseResourceType) - + "/" - + global::System.Uri.EscapeDataString(baseResourceName) - + "/providers/Microsoft.HybridCompute/settings/" - + global::System.Uri.EscapeDataString(settingsResourceName) + + "/providers/Microsoft.HybridCompute/privateLinkScopes" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -24106,11 +17030,11 @@ public partial class ConnectedMachine await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.SettingsGet_Call (request, onOk,onDefault,eventListener,sender); + await this.PrivateLinkScopesListByResourceGroup_Call (request, onOk,onDefault,eventListener,sender); } } - /// Returns the base Settings for the target resource. + /// Gets a list of Azure Arc PrivateLinkScopes within a resource group. /// /// 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 @@ -24120,41 +17044,30 @@ public partial class ConnectedMachine /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task SettingsGetViaIdentity(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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task PrivateLinkScopesListByResourceGroupViaIdentity(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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/(?[^/]+)/(?[^/]+)/(?[^/]+)/providers/Microsoft.HybridCompute/settings/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/privateLinkScopes$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{baseProvider}/{baseResourceType}/{baseResourceName}/providers/Microsoft.HybridCompute/settings/{settingsResourceName}'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes'"); } // replace URI parameters with values from identity var subscriptionId = _match.Groups["subscriptionId"].Value; var resourceGroupName = _match.Groups["resourceGroupName"].Value; - var baseProvider = _match.Groups["baseProvider"].Value; - var baseResourceType = _match.Groups["baseResourceType"].Value; - var baseResourceName = _match.Groups["baseResourceName"].Value; - var settingsResourceName = _match.Groups["settingsResourceName"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName - + "/providers/" - + baseProvider - + "/" - + baseResourceType - + "/" - + baseResourceName - + "/providers/Microsoft.HybridCompute/settings/" - + settingsResourceName + + "/providers/Microsoft.HybridCompute/privateLinkScopes" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -24168,53 +17081,42 @@ public partial class ConnectedMachine await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.SettingsGet_Call (request, onOk,onDefault,eventListener,sender); + await this.PrivateLinkScopesListByResourceGroup_Call (request, onOk,onDefault,eventListener,sender); } } - /// Returns the base Settings for the target resource. + /// Gets a list of Azure Arc PrivateLinkScopes within a resource group. /// /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 SettingsGetViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task PrivateLinkScopesListByResourceGroupViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/(?[^/]+)/(?[^/]+)/(?[^/]+)/providers/Microsoft.HybridCompute/settings/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/privateLinkScopes$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{baseProvider}/{baseResourceType}/{baseResourceName}/providers/Microsoft.HybridCompute/settings/{settingsResourceName}'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes'"); } // replace URI parameters with values from identity var subscriptionId = _match.Groups["subscriptionId"].Value; var resourceGroupName = _match.Groups["resourceGroupName"].Value; - var baseProvider = _match.Groups["baseProvider"].Value; - var baseResourceType = _match.Groups["baseResourceType"].Value; - var baseResourceName = _match.Groups["baseResourceName"].Value; - var settingsResourceName = _match.Groups["settingsResourceName"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName - + "/providers/" - + baseProvider - + "/" - + baseResourceType - + "/" - + baseResourceName - + "/providers/Microsoft.HybridCompute/settings/" - + settingsResourceName + + "/providers/Microsoft.HybridCompute/privateLinkScopes" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -24228,26 +17130,22 @@ public partial class ConnectedMachine await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.SettingsGetWithResult_Call (request, eventListener,sender); + return await this.PrivateLinkScopesListByResourceGroupWithResult_Call (request, eventListener,sender); } } - /// Returns the base Settings for the target resource. + /// Gets a list of Azure Arc PrivateLinkScopes within a resource group. /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. - /// The name of the base Resource Provider. - /// The name of the base Resource Type. - /// The name of the base resource. - /// The name of the settings resource. /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 SettingsGetWithResult(string subscriptionId, string resourceGroupName, string baseProvider, string baseResourceType, string baseResourceName, string settingsResourceName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task PrivateLinkScopesListByResourceGroupWithResult(string subscriptionId, string resourceGroupName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { @@ -24257,14 +17155,7 @@ public partial class ConnectedMachine + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/" - + global::System.Uri.EscapeDataString(baseProvider) - + "/" - + global::System.Uri.EscapeDataString(baseResourceType) - + "/" - + global::System.Uri.EscapeDataString(baseResourceName) - + "/providers/Microsoft.HybridCompute/settings/" - + global::System.Uri.EscapeDataString(settingsResourceName) + + "/providers/Microsoft.HybridCompute/privateLinkScopes" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -24278,19 +17169,21 @@ public partial class ConnectedMachine await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.SettingsGetWithResult_Call (request, eventListener,sender); + return await this.PrivateLinkScopesListByResourceGroupWithResult_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.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. /// - /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task SettingsGetWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task PrivateLinkScopesListByResourceGroupWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -24309,7 +17202,7 @@ public partial class ConnectedMachine case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.Settings.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); + var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.HybridComputePrivateLinkScopeListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); return await _result; } default: @@ -24342,7 +17235,9 @@ public partial class ConnectedMachine } } - /// 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 @@ -24352,7 +17247,7 @@ public partial class ConnectedMachine /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task SettingsGet_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task PrivateLinkScopesListByResourceGroup_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -24371,7 +17266,7 @@ public partial class ConnectedMachine case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.Settings.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.HybridComputePrivateLinkScopeListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -24393,144 +17288,58 @@ public partial class ConnectedMachine } /// - /// 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 name of the resource group. The name is case insensitive. - /// The name of the base Resource Provider. - /// The name of the base Resource Type. - /// The name of the base resource. - /// The name of the settings resource. - /// an instance that will receive events. - /// - /// A that will be complete when handling of the response is completed. - /// - internal async global::System.Threading.Tasks.Task SettingsGet_Validate(string subscriptionId, string resourceGroupName, string baseProvider, string baseResourceType, string baseResourceName, string settingsResourceName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) - { - using( NoSynchronizationContext ) - { - await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); - await eventListener.AssertMinimumLength(nameof(subscriptionId),subscriptionId,1); - await eventListener.AssertNotNull(nameof(resourceGroupName),resourceGroupName); - await eventListener.AssertMinimumLength(nameof(resourceGroupName),resourceGroupName,1); - await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); - await eventListener.AssertNotNull(nameof(baseProvider),baseProvider); - await eventListener.AssertRegEx(nameof(baseProvider), baseProvider, @"[a-zA-Z0-9-_\.]+"); - await eventListener.AssertNotNull(nameof(baseResourceType),baseResourceType); - await eventListener.AssertRegEx(nameof(baseResourceType), baseResourceType, @"[a-zA-Z0-9-_\.]+"); - await eventListener.AssertNotNull(nameof(baseResourceName),baseResourceName); - await eventListener.AssertRegEx(nameof(baseResourceName), baseResourceName, @"[a-zA-Z0-9-_\.]+"); - await eventListener.AssertNotNull(nameof(settingsResourceName),settingsResourceName); - await eventListener.AssertRegEx(nameof(settingsResourceName), settingsResourceName, @"default"); - } - } - - /// patch the base Settings of the target resource. - /// The ID of the target subscription. - /// The name of the resource group. The name is case insensitive. - /// The name of the base Resource Provider. - /// The name of the base Resource Type. - /// The name of the base resource. - /// The name of the settings resource. - /// Settings details - /// 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). /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// Allows the caller to choose the depth of the serialization. See . - /// - /// A that will be complete when handling of the response is completed. - /// - public async global::System.Threading.Tasks.Task SettingsPatch(string subscriptionId, string resourceGroupName, string baseProvider, string baseResourceType, string baseResourceName, string settingsResourceName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISettings body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + global::System.Uri.EscapeDataString(subscriptionId) - + "/resourceGroups/" - + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/" - + global::System.Uri.EscapeDataString(baseProvider) - + "/" - + global::System.Uri.EscapeDataString(baseResourceType) - + "/" - + global::System.Uri.EscapeDataString(baseResourceName) - + "/providers/Microsoft.HybridCompute/settings/" - + global::System.Uri.EscapeDataString(settingsResourceName) - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Patch, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // set body content - request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } - // make the call - await this.SettingsPatch_Call (request, onOk,onDefault,eventListener,sender); + /// + /// A that will be complete when handling of the response is completed. + /// + internal async global::System.Threading.Tasks.Task PrivateLinkScopesListByResourceGroup_Validate(string subscriptionId, string resourceGroupName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) + { + using( NoSynchronizationContext ) + { + await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); + await eventListener.AssertMinimumLength(nameof(subscriptionId),subscriptionId,1); + await eventListener.AssertNotNull(nameof(resourceGroupName),resourceGroupName); + await eventListener.AssertMinimumLength(nameof(resourceGroupName),resourceGroupName,1); + await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); } } - /// patch the base Settings of the target resource. + /// Gets a list of all Azure Arc PrivateLinkScopes within a subscription. /// - /// Settings details /// 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). /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// Allows the caller to choose the depth of the serialization. See . /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task SettingsPatchViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISettings body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) + public async global::System.Threading.Tasks.Task PrivateLinkScopesListViaIdentity(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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/(?[^/]+)/(?[^/]+)/(?[^/]+)/providers/Microsoft.HybridCompute/settings/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/providers/Microsoft.HybridCompute/privateLinkScopes$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{baseProvider}/{baseResourceType}/{baseResourceName}/providers/Microsoft.HybridCompute/settings/{settingsResourceName}'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/privateLinkScopes'"); } // replace URI parameters with values from identity var subscriptionId = _match.Groups["subscriptionId"].Value; - var resourceGroupName = _match.Groups["resourceGroupName"].Value; - var baseProvider = _match.Groups["baseProvider"].Value; - var baseResourceType = _match.Groups["baseResourceType"].Value; - var baseResourceName = _match.Groups["baseResourceName"].Value; - var settingsResourceName = _match.Groups["settingsResourceName"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" + subscriptionId - + "/resourceGroups/" - + resourceGroupName - + "/providers/" - + baseProvider - + "/" - + baseResourceType - + "/" - + baseResourceName - + "/providers/Microsoft.HybridCompute/settings/" - + settingsResourceName + + "/providers/Microsoft.HybridCompute/privateLinkScopes" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -24539,176 +17348,44 @@ public partial class ConnectedMachine // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Patch, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // set body content - request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.SettingsPatch_Call (request, onOk,onDefault,eventListener,sender); + await this.PrivateLinkScopesList_Call (request, onOk,onDefault,eventListener,sender); } } - /// patch the base Settings of the target resource. + /// Gets a list of all Azure Arc PrivateLinkScopes within a subscription. /// - /// Settings details /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// Allows the caller to choose the depth of the serialization. See . /// - /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task SettingsPatchViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISettings body, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) + public async global::System.Threading.Tasks.Task PrivateLinkScopesListViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/(?[^/]+)/(?[^/]+)/(?[^/]+)/providers/Microsoft.HybridCompute/settings/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/providers/Microsoft.HybridCompute/privateLinkScopes$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{baseProvider}/{baseResourceType}/{baseResourceName}/providers/Microsoft.HybridCompute/settings/{settingsResourceName}'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/privateLinkScopes'"); } // replace URI parameters with values from identity var subscriptionId = _match.Groups["subscriptionId"].Value; - var resourceGroupName = _match.Groups["resourceGroupName"].Value; - var baseProvider = _match.Groups["baseProvider"].Value; - var baseResourceType = _match.Groups["baseResourceType"].Value; - var baseResourceName = _match.Groups["baseResourceName"].Value; - var settingsResourceName = _match.Groups["settingsResourceName"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" + subscriptionId - + "/resourceGroups/" - + resourceGroupName - + "/providers/" - + baseProvider - + "/" - + baseResourceType - + "/" - + baseResourceName - + "/providers/Microsoft.HybridCompute/settings/" - + settingsResourceName - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Patch, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } - // set body content - request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } - // make the call - return await this.SettingsPatchWithResult_Call (request, eventListener,sender); - } - } - - /// patch the base Settings of the target resource. - /// The ID of the target subscription. - /// The name of the resource group. The name is case insensitive. - /// The name of the base Resource Provider. - /// The name of the base Resource Type. - /// The name of the base resource. - /// The name of the settings resource. - /// Json string supplied to the SettingsPatch 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). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 SettingsPatchViaJsonString(string subscriptionId, string resourceGroupName, string baseProvider, string baseResourceType, string baseResourceName, string settingsResourceName, 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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + global::System.Uri.EscapeDataString(subscriptionId) - + "/resourceGroups/" - + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/" - + global::System.Uri.EscapeDataString(baseProvider) - + "/" - + global::System.Uri.EscapeDataString(baseResourceType) - + "/" - + global::System.Uri.EscapeDataString(baseResourceName) - + "/providers/Microsoft.HybridCompute/settings/" - + global::System.Uri.EscapeDataString(settingsResourceName) - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Patch, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // set body content - request.Content = new global::System.Net.Http.StringContent(jsonString, global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } - // make the call - await this.SettingsPatch_Call (request, onOk,onDefault,eventListener,sender); - } - } - - /// patch the base Settings of the target resource. - /// The ID of the target subscription. - /// The name of the resource group. The name is case insensitive. - /// The name of the base Resource Provider. - /// The name of the base Resource Type. - /// The name of the base resource. - /// The name of the settings resource. - /// Json string supplied to the SettingsPatch operation - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 SettingsPatchViaJsonStringWithResult(string subscriptionId, string resourceGroupName, string baseProvider, string baseResourceType, string baseResourceName, string settingsResourceName, global::System.String jsonString, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) - { - var apiVersion = @"2024-05-20-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + global::System.Uri.EscapeDataString(subscriptionId) - + "/resourceGroups/" - + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/" - + global::System.Uri.EscapeDataString(baseProvider) - + "/" - + global::System.Uri.EscapeDataString(baseResourceType) - + "/" - + global::System.Uri.EscapeDataString(baseResourceName) - + "/providers/Microsoft.HybridCompute/settings/" - + global::System.Uri.EscapeDataString(settingsResourceName) + + "/providers/Microsoft.HybridCompute/privateLinkScopes" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -24717,37 +17394,26 @@ public partial class ConnectedMachine // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Patch, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } - // set body content - request.Content = new global::System.Net.Http.StringContent(jsonString, global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.SettingsPatchWithResult_Call (request, eventListener,sender); + return await this.PrivateLinkScopesListWithResult_Call (request, eventListener,sender); } } - /// patch the base Settings of the target resource. + /// Gets a list of all Azure Arc PrivateLinkScopes within a subscription. /// The ID of the target subscription. - /// The name of the resource group. The name is case insensitive. - /// The name of the base Resource Provider. - /// The name of the base Resource Type. - /// The name of the base resource. - /// The name of the settings resource. - /// Settings details /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. - /// Allows the caller to choose the depth of the serialization. See . /// - /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task SettingsPatchWithResult(string subscriptionId, string resourceGroupName, string baseProvider, string baseResourceType, string baseResourceName, string settingsResourceName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISettings body, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) + public async global::System.Threading.Tasks.Task PrivateLinkScopesListWithResult(string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { @@ -24755,16 +17421,7 @@ public partial class ConnectedMachine var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) - + "/resourceGroups/" - + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/" - + global::System.Uri.EscapeDataString(baseProvider) - + "/" - + global::System.Uri.EscapeDataString(baseResourceType) - + "/" - + global::System.Uri.EscapeDataString(baseResourceName) - + "/providers/Microsoft.HybridCompute/settings/" - + global::System.Uri.EscapeDataString(settingsResourceName) + + "/providers/Microsoft.HybridCompute/privateLinkScopes" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -24773,28 +17430,24 @@ public partial class ConnectedMachine // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Patch, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } - // set body content - request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.SettingsPatchWithResult_Call (request, eventListener,sender); + return await this.PrivateLinkScopesListWithResult_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.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. /// - /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task SettingsPatchWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task PrivateLinkScopesListWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -24813,7 +17466,7 @@ public partial class ConnectedMachine case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.Settings.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); + var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.HybridComputePrivateLinkScopeListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); return await _result; } default: @@ -24846,7 +17499,7 @@ public partial class ConnectedMachine } } - /// 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 @@ -24856,7 +17509,7 @@ public partial class ConnectedMachine /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task SettingsPatch_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task PrivateLinkScopesList_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -24875,7 +17528,7 @@ public partial class ConnectedMachine case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.Settings.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.HybridComputePrivateLinkScopeListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -24897,52 +17550,31 @@ public partial class ConnectedMachine } /// - /// 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 name of the resource group. The name is case insensitive. - /// The name of the base Resource Provider. - /// The name of the base Resource Type. - /// The name of the base resource. - /// The name of the settings resource. - /// Settings details /// an instance that will receive events. /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task SettingsPatch_Validate(string subscriptionId, string resourceGroupName, string baseProvider, string baseResourceType, string baseResourceName, string settingsResourceName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISettings body, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task PrivateLinkScopesList_Validate(string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); await eventListener.AssertMinimumLength(nameof(subscriptionId),subscriptionId,1); - await eventListener.AssertNotNull(nameof(resourceGroupName),resourceGroupName); - await eventListener.AssertMinimumLength(nameof(resourceGroupName),resourceGroupName,1); - await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); - await eventListener.AssertNotNull(nameof(baseProvider),baseProvider); - await eventListener.AssertRegEx(nameof(baseProvider), baseProvider, @"[a-zA-Z0-9-_\.]+"); - await eventListener.AssertNotNull(nameof(baseResourceType),baseResourceType); - await eventListener.AssertRegEx(nameof(baseResourceType), baseResourceType, @"[a-zA-Z0-9-_\.]+"); - await eventListener.AssertNotNull(nameof(baseResourceName),baseResourceName); - await eventListener.AssertRegEx(nameof(baseResourceName), baseResourceName, @"[a-zA-Z0-9-_\.]+"); - await eventListener.AssertNotNull(nameof(settingsResourceName),settingsResourceName); - await eventListener.AssertRegEx(nameof(settingsResourceName), settingsResourceName, @"default"); - await eventListener.AssertNotNull(nameof(body), body); - await eventListener.AssertObjectIsValid(nameof(body), body); } } - /// update the base Settings of the target resource. + /// + /// update an existing PrivateLinkScope's tags. To update other fields use the CreateOrupdate method. + /// /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. - /// The name of the base Resource Provider. - /// The name of the base Resource Type. - /// The name of the base resource. - /// The name of the settings resource. - /// Settings details + /// The name of the Azure Arc PrivateLinkScope resource. + /// Updated tag information to set into the PrivateLinkScope instance. /// 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 /// elsewhere). /// an instance that will receive events. @@ -24951,9 +17583,9 @@ public partial class ConnectedMachine /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task SettingsUpdate(string subscriptionId, string resourceGroupName, string baseProvider, string baseResourceType, string baseResourceName, string settingsResourceName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISettings 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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) + public async global::System.Threading.Tasks.Task PrivateLinkScopesUpdateTags(string subscriptionId, string resourceGroupName, string scopeName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITagsResource body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { @@ -24963,14 +17595,8 @@ public partial class ConnectedMachine + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/" - + global::System.Uri.EscapeDataString(baseProvider) - + "/" - + global::System.Uri.EscapeDataString(baseResourceType) - + "/" - + global::System.Uri.EscapeDataString(baseResourceName) - + "/providers/Microsoft.HybridCompute/settings/" - + global::System.Uri.EscapeDataString(settingsResourceName) + + "/providers/Microsoft.HybridCompute/privateLinkScopes/" + + global::System.Uri.EscapeDataString(scopeName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -24979,7 +17605,7 @@ public partial class ConnectedMachine // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Put, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Patch, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } @@ -24988,15 +17614,16 @@ public partial class ConnectedMachine request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.SettingsUpdate_Call (request, onOk,onCreated,onDefault,eventListener,sender); + await this.PrivateLinkScopesUpdateTags_Call (request, onOk,onDefault,eventListener,sender); } } - /// update the base Settings of the target resource. + /// + /// update an existing PrivateLinkScope's tags. To update other fields use the CreateOrupdate method. + /// /// - /// Settings details + /// Updated tag information to set into the PrivateLinkScope instance. /// 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 /// elsewhere). /// an instance that will receive events. @@ -25005,41 +17632,32 @@ public partial class ConnectedMachine /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task SettingsUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISettings 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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) + public async global::System.Threading.Tasks.Task PrivateLinkScopesUpdateTagsViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITagsResource body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/(?[^/]+)/(?[^/]+)/(?[^/]+)/providers/Microsoft.HybridCompute/settings/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/privateLinkScopes/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{baseProvider}/{baseResourceType}/{baseResourceName}/providers/Microsoft.HybridCompute/settings/{settingsResourceName}'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}'"); } // replace URI parameters with values from identity var subscriptionId = _match.Groups["subscriptionId"].Value; var resourceGroupName = _match.Groups["resourceGroupName"].Value; - var baseProvider = _match.Groups["baseProvider"].Value; - var baseResourceType = _match.Groups["baseResourceType"].Value; - var baseResourceName = _match.Groups["baseResourceName"].Value; - var settingsResourceName = _match.Groups["settingsResourceName"].Value; + var scopeName = _match.Groups["scopeName"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName - + "/providers/" - + baseProvider - + "/" - + baseResourceType - + "/" - + baseResourceName - + "/providers/Microsoft.HybridCompute/settings/" - + settingsResourceName + + "/providers/Microsoft.HybridCompute/privateLinkScopes/" + + scopeName + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -25048,7 +17666,7 @@ public partial class ConnectedMachine // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Put, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Patch, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } @@ -25057,55 +17675,48 @@ public partial class ConnectedMachine request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.SettingsUpdate_Call (request, onOk,onCreated,onDefault,eventListener,sender); + await this.PrivateLinkScopesUpdateTags_Call (request, onOk,onDefault,eventListener,sender); } } - /// update the base Settings of the target resource. + /// + /// update an existing PrivateLinkScope's tags. To update other fields use the CreateOrupdate method. + /// /// - /// Settings details + /// Updated tag information to set into the PrivateLinkScope instance. /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. /// Allows the caller to choose the depth of the serialization. See . /// - /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task SettingsUpdateViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISettings body, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) + public async global::System.Threading.Tasks.Task PrivateLinkScopesUpdateTagsViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITagsResource body, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/(?[^/]+)/(?[^/]+)/(?[^/]+)/providers/Microsoft.HybridCompute/settings/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HybridCompute/privateLinkScopes/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{baseProvider}/{baseResourceType}/{baseResourceName}/providers/Microsoft.HybridCompute/settings/{settingsResourceName}'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}'"); } // replace URI parameters with values from identity var subscriptionId = _match.Groups["subscriptionId"].Value; var resourceGroupName = _match.Groups["resourceGroupName"].Value; - var baseProvider = _match.Groups["baseProvider"].Value; - var baseResourceType = _match.Groups["baseResourceType"].Value; - var baseResourceName = _match.Groups["baseResourceName"].Value; - var settingsResourceName = _match.Groups["settingsResourceName"].Value; + var scopeName = _match.Groups["scopeName"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName - + "/providers/" - + baseProvider - + "/" - + baseResourceType - + "/" - + baseResourceName - + "/providers/Microsoft.HybridCompute/settings/" - + settingsResourceName + + "/providers/Microsoft.HybridCompute/privateLinkScopes/" + + scopeName + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -25114,7 +17725,7 @@ public partial class ConnectedMachine // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Put, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Patch, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } @@ -25123,20 +17734,18 @@ public partial class ConnectedMachine request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.SettingsUpdateWithResult_Call (request, eventListener,sender); + return await this.PrivateLinkScopesUpdateTagsWithResult_Call (request, eventListener,sender); } } - /// update the base Settings of the target resource. + /// + /// update an existing PrivateLinkScope's tags. To update other fields use the CreateOrupdate method. + /// /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. - /// The name of the base Resource Provider. - /// The name of the base Resource Type. - /// The name of the base resource. - /// The name of the settings resource. - /// Json string supplied to the SettingsUpdate operation + /// The name of the Azure Arc PrivateLinkScope resource. + /// Json string supplied to the PrivateLinkScopesUpdateTags 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 /// elsewhere). /// an instance that will receive events. @@ -25144,9 +17753,9 @@ public partial class ConnectedMachine /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task SettingsUpdateViaJsonString(string subscriptionId, string resourceGroupName, string baseProvider, string baseResourceType, string baseResourceName, string settingsResourceName, 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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task PrivateLinkScopesUpdateTagsViaJsonString(string subscriptionId, string resourceGroupName, string scopeName, 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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { @@ -25156,14 +17765,8 @@ public partial class ConnectedMachine + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/" - + global::System.Uri.EscapeDataString(baseProvider) - + "/" - + global::System.Uri.EscapeDataString(baseResourceType) - + "/" - + global::System.Uri.EscapeDataString(baseResourceName) - + "/providers/Microsoft.HybridCompute/settings/" - + global::System.Uri.EscapeDataString(settingsResourceName) + + "/providers/Microsoft.HybridCompute/privateLinkScopes/" + + global::System.Uri.EscapeDataString(scopeName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -25172,7 +17775,7 @@ public partial class ConnectedMachine // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Put, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Patch, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } @@ -25181,27 +17784,26 @@ public partial class ConnectedMachine request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.SettingsUpdate_Call (request, onOk,onCreated,onDefault,eventListener,sender); + await this.PrivateLinkScopesUpdateTags_Call (request, onOk,onDefault,eventListener,sender); } } - /// update the base Settings of the target resource. + /// + /// update an existing PrivateLinkScope's tags. To update other fields use the CreateOrupdate method. + /// /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. - /// The name of the base Resource Provider. - /// The name of the base Resource Type. - /// The name of the base resource. - /// The name of the settings resource. - /// Json string supplied to the SettingsUpdate operation + /// The name of the Azure Arc PrivateLinkScope resource. + /// Json string supplied to the PrivateLinkScopesUpdateTags operation /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 SettingsUpdateViaJsonStringWithResult(string subscriptionId, string resourceGroupName, string baseProvider, string baseResourceType, string baseResourceName, string settingsResourceName, global::System.String jsonString, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task PrivateLinkScopesUpdateTagsViaJsonStringWithResult(string subscriptionId, string resourceGroupName, string scopeName, global::System.String jsonString, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { @@ -25211,14 +17813,8 @@ public partial class ConnectedMachine + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/" - + global::System.Uri.EscapeDataString(baseProvider) - + "/" - + global::System.Uri.EscapeDataString(baseResourceType) - + "/" - + global::System.Uri.EscapeDataString(baseResourceName) - + "/providers/Microsoft.HybridCompute/settings/" - + global::System.Uri.EscapeDataString(settingsResourceName) + + "/providers/Microsoft.HybridCompute/privateLinkScopes/" + + global::System.Uri.EscapeDataString(scopeName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -25227,7 +17823,7 @@ public partial class ConnectedMachine // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Put, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Patch, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } @@ -25236,28 +17832,27 @@ public partial class ConnectedMachine request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.SettingsUpdateWithResult_Call (request, eventListener,sender); + return await this.PrivateLinkScopesUpdateTagsWithResult_Call (request, eventListener,sender); } } - /// update the base Settings of the target resource. + /// + /// update an existing PrivateLinkScope's tags. To update other fields use the CreateOrupdate method. + /// /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. - /// The name of the base Resource Provider. - /// The name of the base Resource Type. - /// The name of the base resource. - /// The name of the settings resource. - /// Settings details + /// The name of the Azure Arc PrivateLinkScope resource. + /// Updated tag information to set into the PrivateLinkScope instance. /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. /// Allows the caller to choose the depth of the serialization. See . /// - /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task SettingsUpdateWithResult(string subscriptionId, string resourceGroupName, string baseProvider, string baseResourceType, string baseResourceName, string settingsResourceName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISettings body, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) + public async global::System.Threading.Tasks.Task PrivateLinkScopesUpdateTagsWithResult(string subscriptionId, string resourceGroupName, string scopeName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITagsResource body, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { @@ -25267,14 +17862,8 @@ public partial class ConnectedMachine + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/" - + global::System.Uri.EscapeDataString(baseProvider) - + "/" - + global::System.Uri.EscapeDataString(baseResourceType) - + "/" - + global::System.Uri.EscapeDataString(baseResourceName) - + "/providers/Microsoft.HybridCompute/settings/" - + global::System.Uri.EscapeDataString(settingsResourceName) + + "/providers/Microsoft.HybridCompute/privateLinkScopes/" + + global::System.Uri.EscapeDataString(scopeName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -25283,7 +17872,7 @@ public partial class ConnectedMachine // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Put, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Patch, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } @@ -25292,19 +17881,21 @@ public partial class ConnectedMachine request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.SettingsUpdateWithResult_Call (request, eventListener,sender); + return await this.PrivateLinkScopesUpdateTagsWithResult_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.ConnectedMachine.Runtime.ISendAsync pipeline to use to make the request. /// - /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task SettingsUpdateWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task PrivateLinkScopesUpdateTagsWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -25323,13 +17914,7 @@ public partial class ConnectedMachine case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.Settings.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); - return await _result; - } - case global::System.Net.HttpStatusCode.Created: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.Settings.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); + var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.HybridComputePrivateLinkScope.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) ); return await _result; } default: @@ -25362,10 +17947,9 @@ public partial class ConnectedMachine } } - /// 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). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). /// an instance that will receive events. @@ -25373,7 +17957,7 @@ public partial class ConnectedMachine /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task SettingsUpdate_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task PrivateLinkScopesUpdateTags_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.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -25392,13 +17976,7 @@ public partial class ConnectedMachine case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.Settings.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); - break; - } - case global::System.Net.HttpStatusCode.Created: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onCreated(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.Settings.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.HybridComputePrivateLinkScope.FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -25420,21 +17998,18 @@ public partial class ConnectedMachine } /// - /// 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 name of the resource group. The name is case insensitive. - /// The name of the base Resource Provider. - /// The name of the base Resource Type. - /// The name of the base resource. - /// The name of the settings resource. - /// Settings details + /// The name of the Azure Arc PrivateLinkScope resource. + /// Updated tag information to set into the PrivateLinkScope instance. /// an instance that will receive events. /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task SettingsUpdate_Validate(string subscriptionId, string resourceGroupName, string baseProvider, string baseResourceType, string baseResourceName, string settingsResourceName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISettings body, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task PrivateLinkScopesUpdateTags_Validate(string subscriptionId, string resourceGroupName, string scopeName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITagsResource body, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -25443,14 +18018,8 @@ public partial class ConnectedMachine await eventListener.AssertNotNull(nameof(resourceGroupName),resourceGroupName); await eventListener.AssertMinimumLength(nameof(resourceGroupName),resourceGroupName,1); await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); - await eventListener.AssertNotNull(nameof(baseProvider),baseProvider); - await eventListener.AssertRegEx(nameof(baseProvider), baseProvider, @"[a-zA-Z0-9-_\.]+"); - await eventListener.AssertNotNull(nameof(baseResourceType),baseResourceType); - await eventListener.AssertRegEx(nameof(baseResourceType), baseResourceType, @"[a-zA-Z0-9-_\.]+"); - await eventListener.AssertNotNull(nameof(baseResourceName),baseResourceName); - await eventListener.AssertRegEx(nameof(baseResourceName), baseResourceName, @"[a-zA-Z0-9-_\.]+"); - await eventListener.AssertNotNull(nameof(settingsResourceName),settingsResourceName); - await eventListener.AssertRegEx(nameof(settingsResourceName), settingsResourceName, @"default"); + await eventListener.AssertNotNull(nameof(scopeName),scopeName); + await eventListener.AssertRegEx(nameof(scopeName), scopeName, @"[a-zA-Z0-9-_\.]+"); await eventListener.AssertNotNull(nameof(body), body); await eventListener.AssertObjectIsValid(nameof(body), body); } @@ -25472,7 +18041,7 @@ public partial class ConnectedMachine /// public async global::System.Threading.Tasks.Task UpgradeExtensions(string subscriptionId, string resourceGroupName, string machineName, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtensionUpgrade body, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { @@ -25520,7 +18089,7 @@ public partial class ConnectedMachine /// public async global::System.Threading.Tasks.Task UpgradeExtensionsViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtensionUpgrade body, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { @@ -25581,7 +18150,7 @@ public partial class ConnectedMachine /// public async global::System.Threading.Tasks.Task UpgradeExtensionsViaJsonString(string subscriptionId, string resourceGroupName, string machineName, global::System.String jsonString, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender) { - var apiVersion = @"2024-05-20-preview"; + var apiVersion = @"2024-07-10"; // Constant Parameters using( NoSynchronizationContext ) { diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/AgentVersion.PowerShell.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/AgentVersion.PowerShell.cs deleted file mode 100644 index 640c5275b44f..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/AgentVersion.PowerShell.cs +++ /dev/null @@ -1,180 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models -{ - using Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell; - - /// Describes properties of Agent Version. - [System.ComponentModel.TypeConverter(typeof(AgentVersionTypeConverter))] - public partial class AgentVersion - { - - /// - /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the - /// object before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The global::System.Collections.IDictionary content that should be used. - - partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); - - /// - /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object - /// before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The global::System.Management.Automation.PSObject content that should be used. - - partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); - - /// - /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization - /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output - /// parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The global::System.Collections.IDictionary content that should be used. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); - - /// - /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization - /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output - /// parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The global::System.Management.Automation.PSObject content that should be used. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); - - /// - /// OverrideToString will be called if it is implemented. Implement this method in a partial class to enable this behavior - /// - /// /// instance serialized to a string, normally it is a Json - /// /// set returnNow to true if you provide a customized OverrideToString function - - partial void OverrideToString(ref string stringResult, ref bool returnNow); - - /// - /// Deserializes a into a new instance of . - /// - /// The global::System.Collections.IDictionary content that should be used. - internal AgentVersion(global::System.Collections.IDictionary content) - { - bool returnNow = false; - BeforeDeserializeDictionary(content, ref returnNow); - if (returnNow) - { - return; - } - // actually deserialize - if (content.Contains("AgentVersion1")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentVersionInternal)this).AgentVersion1 = (string) content.GetValueForProperty("AgentVersion1",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentVersionInternal)this).AgentVersion1, global::System.Convert.ToString); - } - if (content.Contains("DownloadLink")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentVersionInternal)this).DownloadLink = (string) content.GetValueForProperty("DownloadLink",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentVersionInternal)this).DownloadLink, global::System.Convert.ToString); - } - if (content.Contains("OSType")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentVersionInternal)this).OSType = (string) content.GetValueForProperty("OSType",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentVersionInternal)this).OSType, global::System.Convert.ToString); - } - AfterDeserializeDictionary(content); - } - - /// - /// Deserializes a into a new instance of . - /// - /// The global::System.Management.Automation.PSObject content that should be used. - internal AgentVersion(global::System.Management.Automation.PSObject content) - { - bool returnNow = false; - BeforeDeserializePSObject(content, ref returnNow); - if (returnNow) - { - return; - } - // actually deserialize - if (content.Contains("AgentVersion1")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentVersionInternal)this).AgentVersion1 = (string) content.GetValueForProperty("AgentVersion1",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentVersionInternal)this).AgentVersion1, global::System.Convert.ToString); - } - if (content.Contains("DownloadLink")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentVersionInternal)this).DownloadLink = (string) content.GetValueForProperty("DownloadLink",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentVersionInternal)this).DownloadLink, global::System.Convert.ToString); - } - if (content.Contains("OSType")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentVersionInternal)this).OSType = (string) content.GetValueForProperty("OSType",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentVersionInternal)this).OSType, global::System.Convert.ToString); - } - AfterDeserializePSObject(content); - } - - /// - /// Deserializes a into an instance of . - /// - /// The global::System.Collections.IDictionary content that should be used. - /// - /// an instance of . - /// - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentVersion DeserializeFromDictionary(global::System.Collections.IDictionary content) - { - return new AgentVersion(content); - } - - /// - /// Deserializes a into an instance of . - /// - /// The global::System.Management.Automation.PSObject content that should be used. - /// - /// an instance of . - /// - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentVersion DeserializeFromPSObject(global::System.Management.Automation.PSObject content) - { - return new AgentVersion(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. - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentVersion FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(jsonText)); - - /// Serializes this instance to a json string. - - /// a containing this model serialized to JSON text. - public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeAll)?.ToString(); - - public override string ToString() - { - var returnNow = false; - var result = global::System.String.Empty; - OverrideToString(ref result, ref returnNow); - if (returnNow) - { - return result; - } - return ToJsonString(); - } - } - /// Describes properties of Agent Version. - [System.ComponentModel.TypeConverter(typeof(AgentVersionTypeConverter))] - public partial interface IAgentVersion - - { - - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/AgentVersion.TypeConverter.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/AgentVersion.TypeConverter.cs deleted file mode 100644 index 9d41b7e7f9b0..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/AgentVersion.TypeConverter.cs +++ /dev/null @@ -1,147 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models -{ - using Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell; - - /// - /// A PowerShell PSTypeConverter to support converting to an instance of - /// - public partial class AgentVersionTypeConverter : global::System.Management.Automation.PSTypeConverter - { - - /// - /// Determines if the converter can convert the parameter to the parameter. - /// - /// the to convert from - /// the to convert to - /// - /// true if the converter can convert the parameter to the parameter, otherwise false. - /// - public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); - - /// - /// Determines if the converter can convert the parameter to the - /// type. - /// - /// the instance to check if it can be converted to the type. - /// - /// true if the instance could be converted to a type, otherwise false - /// - public static bool CanConvertFrom(dynamic sourceValue) - { - if (null == sourceValue) - { - return true; - } - global::System.Type type = sourceValue.GetType(); - if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) - { - // we say yest to PSObjects - return true; - } - if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) - { - // we say yest to Hashtables/dictionaries - return true; - } - try - { - if (null != sourceValue.ToJsonString()) - { - return true; - } - } - catch - { - // Not one of our objects - } - try - { - string text = sourceValue.ToString()?.Trim(); - return true == text?.StartsWith("{") && true == text?.EndsWith("}") && Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(text).Type == Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonType.Object; - } - catch - { - // Doesn't look like it can be treated as JSON - } - return false; - } - - /// - /// Determines if the parameter can be converted to the - /// parameter - /// - /// the to convert from - /// the to convert to - /// - /// true if the converter can convert the parameter to the parameter, otherwise false - /// - public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; - - /// - /// Converts the parameter to the parameter using and - /// - /// the to convert from - /// the to convert to - /// 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. - /// - 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 - /// - /// the value to convert into an instance of . - /// - /// an instance of , or null if there is no suitable conversion. - /// - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentVersion ConvertFrom(dynamic sourceValue) - { - if (null == sourceValue) - { - return null; - } - global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentVersion).IsAssignableFrom(type)) - { - return sourceValue; - } - try - { - return AgentVersion.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; - } - catch - { - // Unable to use JSON pattern - } - if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) - { - return AgentVersion.DeserializeFromPSObject(sourceValue); - } - if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) - { - return AgentVersion.DeserializeFromDictionary(sourceValue); - } - return null; - } - - /// NotImplemented -- this will return null - /// the to convert from - /// the to convert to - /// not used by this TypeConverter. - /// when set to true, will ignore the case when converting. - /// will always return null. - public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null; - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/AgentVersion.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/AgentVersion.cs deleted file mode 100644 index fa7500072ce7..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/AgentVersion.cs +++ /dev/null @@ -1,94 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models -{ - using static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Extensions; - - /// Describes properties of Agent Version. - public partial class AgentVersion : - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentVersion, - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentVersionInternal - { - - /// Backing field for property. - private string _agentVersion1; - - /// Represents the agent version. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Owned)] - public string AgentVersion1 { get => this._agentVersion1; set => this._agentVersion1 = value; } - - /// Backing field for property. - private string _downloadLink; - - /// Represents the download link of specific agent version. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Owned)] - public string DownloadLink { get => this._downloadLink; set => this._downloadLink = value; } - - /// Backing field for property. - private string _oSType; - - /// Defines the os type. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Owned)] - public string OSType { get => this._oSType; set => this._oSType = value; } - - /// Creates an new instance. - public AgentVersion() - { - - } - } - /// Describes properties of Agent Version. - public partial interface IAgentVersion : - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IJsonSerializable - { - /// Represents the agent version. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Read = true, - Create = true, - Update = true, - Description = @"Represents the agent version.", - SerializedName = @"agentVersion", - PossibleTypes = new [] { typeof(string) })] - string AgentVersion1 { get; set; } - /// Represents the download link of specific agent version. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Read = true, - Create = true, - Update = true, - Description = @"Represents the download link of specific agent version.", - SerializedName = @"downloadLink", - PossibleTypes = new [] { typeof(string) })] - string DownloadLink { get; set; } - /// Defines the os type. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Read = true, - Create = true, - Update = true, - Description = @"Defines the os type.", - SerializedName = @"osType", - PossibleTypes = new [] { typeof(string) })] - string OSType { get; set; } - - } - /// Describes properties of Agent Version. - internal partial interface IAgentVersionInternal - - { - /// Represents the agent version. - string AgentVersion1 { get; set; } - /// Represents the download link of specific agent version. - string DownloadLink { get; set; } - /// Defines the os type. - string OSType { get; set; } - - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/AgentVersion.json.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/AgentVersion.json.cs deleted file mode 100644 index 849f66ec9621..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/AgentVersion.json.cs +++ /dev/null @@ -1,112 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models -{ - using static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Extensions; - - /// Describes properties of Agent Version. - public partial class AgentVersion - { - - /// - /// AfterFromJson will be called after the json deserialization has finished, allowing customization of the object - /// before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The JsonNode that should be deserialized into this object. - - partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json); - - /// - /// AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The JSON container that the serialization result will be placed in. - - partial void AfterToJson(ref Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject container); - - /// - /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of - /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the - /// output parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The JsonNode that should be deserialized into this object. - /// Determines if the rest of the deserialization should be processed, or if the method should return - /// instantly. - - partial void BeforeFromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json, ref bool returnNow); - - /// - /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the - /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output - /// parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The JSON container that the serialization result will be placed in. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject container, ref bool returnNow); - - /// - /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject into a new instance of . - /// - /// A Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject instance to deserialize from. - internal AgentVersion(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json) - { - bool returnNow = false; - BeforeFromJson(json, ref returnNow); - if (returnNow) - { - return; - } - {_agentVersion1 = If( json?.PropertyT("agentVersion"), out var __jsonAgentVersion) ? (string)__jsonAgentVersion : (string)_agentVersion1;} - {_downloadLink = If( json?.PropertyT("downloadLink"), out var __jsonDownloadLink) ? (string)__jsonDownloadLink : (string)_downloadLink;} - {_oSType = If( json?.PropertyT("osType"), out var __jsonOSType) ? (string)__jsonOSType : (string)_oSType;} - AfterFromJson(json); - } - - /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentVersion. - /// - /// a to deserialize from. - /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentVersion. - /// - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentVersion FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode node) - { - return node is Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json ? new AgentVersion(json) : null; - } - - /// - /// Serializes this instance of 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 . - /// - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode) - { - container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject(); - - bool returnNow = false; - BeforeToJson(ref container, ref returnNow); - if (returnNow) - { - return container; - } - AddIf( null != (((object)this._agentVersion1)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonString(this._agentVersion1.ToString()) : null, "agentVersion" ,container.Add ); - AddIf( null != (((object)this._downloadLink)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonString(this._downloadLink.ToString()) : null, "downloadLink" ,container.Add ); - AddIf( null != (((object)this._oSType)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonString(this._oSType.ToString()) : null, "osType" ,container.Add ); - AfterToJson(ref container); - return container; - } - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/AgentVersionsList.PowerShell.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/AgentVersionsList.PowerShell.cs deleted file mode 100644 index 41796f1f05de..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/AgentVersionsList.PowerShell.cs +++ /dev/null @@ -1,172 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models -{ - using Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell; - - /// Describes AgentVersions List. - [System.ComponentModel.TypeConverter(typeof(AgentVersionsListTypeConverter))] - public partial class AgentVersionsList - { - - /// - /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the - /// object before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The global::System.Collections.IDictionary content that should be used. - - partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); - - /// - /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object - /// before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The global::System.Management.Automation.PSObject content that should be used. - - partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); - - /// - /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization - /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output - /// parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The global::System.Collections.IDictionary content that should be used. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); - - /// - /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization - /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output - /// parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The global::System.Management.Automation.PSObject content that should be used. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); - - /// - /// OverrideToString will be called if it is implemented. Implement this method in a partial class to enable this behavior - /// - /// /// instance serialized to a string, normally it is a Json - /// /// set returnNow to true if you provide a customized OverrideToString function - - partial void OverrideToString(ref string stringResult, ref bool returnNow); - - /// - /// Deserializes a into a new instance of . - /// - /// The global::System.Collections.IDictionary content that should be used. - internal AgentVersionsList(global::System.Collections.IDictionary content) - { - bool returnNow = false; - BeforeDeserializeDictionary(content, ref returnNow); - if (returnNow) - { - return; - } - // actually deserialize - if (content.Contains("Value")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentVersionsListInternal)this).Value = (System.Collections.Generic.List) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentVersionsListInternal)this).Value, __y => TypeConverterExtensions.SelectToList(__y, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.AgentVersionTypeConverter.ConvertFrom)); - } - if (content.Contains("NextLink")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentVersionsListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentVersionsListInternal)this).NextLink, global::System.Convert.ToString); - } - AfterDeserializeDictionary(content); - } - - /// - /// Deserializes a into a new instance of . - /// - /// The global::System.Management.Automation.PSObject content that should be used. - internal AgentVersionsList(global::System.Management.Automation.PSObject content) - { - bool returnNow = false; - BeforeDeserializePSObject(content, ref returnNow); - if (returnNow) - { - return; - } - // actually deserialize - if (content.Contains("Value")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentVersionsListInternal)this).Value = (System.Collections.Generic.List) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentVersionsListInternal)this).Value, __y => TypeConverterExtensions.SelectToList(__y, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.AgentVersionTypeConverter.ConvertFrom)); - } - if (content.Contains("NextLink")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentVersionsListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentVersionsListInternal)this).NextLink, global::System.Convert.ToString); - } - AfterDeserializePSObject(content); - } - - /// - /// Deserializes a into an instance of . - /// - /// The global::System.Collections.IDictionary content that should be used. - /// - /// an instance of . - /// - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentVersionsList DeserializeFromDictionary(global::System.Collections.IDictionary content) - { - return new AgentVersionsList(content); - } - - /// - /// Deserializes a into an instance of . - /// - /// The global::System.Management.Automation.PSObject content that should be used. - /// - /// an instance of . - /// - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentVersionsList DeserializeFromPSObject(global::System.Management.Automation.PSObject content) - { - return new AgentVersionsList(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. - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentVersionsList FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(jsonText)); - - /// Serializes this instance to a json string. - - /// a containing this model serialized to JSON text. - public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeAll)?.ToString(); - - public override string ToString() - { - var returnNow = false; - var result = global::System.String.Empty; - OverrideToString(ref result, ref returnNow); - if (returnNow) - { - return result; - } - return ToJsonString(); - } - } - /// Describes AgentVersions List. - [System.ComponentModel.TypeConverter(typeof(AgentVersionsListTypeConverter))] - public partial interface IAgentVersionsList - - { - - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/AgentVersionsList.TypeConverter.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/AgentVersionsList.TypeConverter.cs deleted file mode 100644 index e4c33e73e792..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/AgentVersionsList.TypeConverter.cs +++ /dev/null @@ -1,147 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models -{ - using Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell; - - /// - /// A PowerShell PSTypeConverter to support converting to an instance of - /// - public partial class AgentVersionsListTypeConverter : global::System.Management.Automation.PSTypeConverter - { - - /// - /// Determines if the converter can convert the parameter to the parameter. - /// - /// the to convert from - /// the to convert to - /// - /// true if the converter can convert the parameter to the parameter, otherwise false. - /// - public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); - - /// - /// Determines if the converter can convert the parameter to the - /// type. - /// - /// the instance to check if it can be converted to the type. - /// - /// true if the instance could be converted to a type, otherwise false - /// - public static bool CanConvertFrom(dynamic sourceValue) - { - if (null == sourceValue) - { - return true; - } - global::System.Type type = sourceValue.GetType(); - if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) - { - // we say yest to PSObjects - return true; - } - if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) - { - // we say yest to Hashtables/dictionaries - return true; - } - try - { - if (null != sourceValue.ToJsonString()) - { - return true; - } - } - catch - { - // Not one of our objects - } - try - { - string text = sourceValue.ToString()?.Trim(); - return true == text?.StartsWith("{") && true == text?.EndsWith("}") && Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(text).Type == Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonType.Object; - } - catch - { - // Doesn't look like it can be treated as JSON - } - return false; - } - - /// - /// Determines if the parameter can be converted to the - /// parameter - /// - /// the to convert from - /// the to convert to - /// - /// true if the converter can convert the parameter to the parameter, otherwise false - /// - public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; - - /// - /// Converts the parameter to the parameter using and - /// - /// the to convert from - /// the to convert to - /// 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. - /// - 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 - /// - /// the value to convert into an instance of . - /// - /// an instance of , or null if there is no suitable conversion. - /// - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentVersionsList ConvertFrom(dynamic sourceValue) - { - if (null == sourceValue) - { - return null; - } - global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentVersionsList).IsAssignableFrom(type)) - { - return sourceValue; - } - try - { - return AgentVersionsList.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; - } - catch - { - // Unable to use JSON pattern - } - if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) - { - return AgentVersionsList.DeserializeFromPSObject(sourceValue); - } - if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) - { - return AgentVersionsList.DeserializeFromDictionary(sourceValue); - } - return null; - } - - /// NotImplemented -- this will return null - /// the to convert from - /// the to convert to - /// not used by this TypeConverter. - /// when set to true, will ignore the case when converting. - /// will always return null. - public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null; - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/AgentVersionsList.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/AgentVersionsList.cs deleted file mode 100644 index 13d71aae4e4e..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/AgentVersionsList.cs +++ /dev/null @@ -1,74 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models -{ - using static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Extensions; - - /// Describes AgentVersions List. - public partial class AgentVersionsList : - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentVersionsList, - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentVersionsListInternal - { - - /// Backing field for property. - private string _nextLink; - - /// The URI to fetch the next 10 available Agent Versions. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Owned)] - public string NextLink { get => this._nextLink; set => this._nextLink = value; } - - /// Backing field for property. - private System.Collections.Generic.List _value; - - /// The list of available Agent Versions. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Owned)] - public System.Collections.Generic.List Value { get => this._value; set => this._value = value; } - - /// Creates an new instance. - public AgentVersionsList() - { - - } - } - /// Describes AgentVersions List. - public partial interface IAgentVersionsList : - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IJsonSerializable - { - /// The URI to fetch the next 10 available Agent Versions. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Read = true, - Create = true, - Update = true, - Description = @"The URI to fetch the next 10 available Agent Versions.", - SerializedName = @"nextLink", - PossibleTypes = new [] { typeof(string) })] - string NextLink { get; set; } - /// The list of available Agent Versions. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Read = true, - Create = true, - Update = true, - Description = @"The list of available Agent Versions.", - SerializedName = @"value", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentVersion) })] - System.Collections.Generic.List Value { get; set; } - - } - /// Describes AgentVersions List. - internal partial interface IAgentVersionsListInternal - - { - /// The URI to fetch the next 10 available Agent Versions. - string NextLink { get; set; } - /// The list of available Agent Versions. - System.Collections.Generic.List Value { get; set; } - - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/AgentVersionsList.json.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/AgentVersionsList.json.cs deleted file mode 100644 index 307549f20344..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/AgentVersionsList.json.cs +++ /dev/null @@ -1,118 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models -{ - using static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Extensions; - - /// Describes AgentVersions List. - public partial class AgentVersionsList - { - - /// - /// AfterFromJson will be called after the json deserialization has finished, allowing customization of the object - /// before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The JsonNode that should be deserialized into this object. - - partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json); - - /// - /// AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The JSON container that the serialization result will be placed in. - - partial void AfterToJson(ref Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject container); - - /// - /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of - /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the - /// output parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The JsonNode that should be deserialized into this object. - /// Determines if the rest of the deserialization should be processed, or if the method should return - /// instantly. - - partial void BeforeFromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json, ref bool returnNow); - - /// - /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the - /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output - /// parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The JSON container that the serialization result will be placed in. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject container, ref bool returnNow); - - /// - /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject into a new instance of . - /// - /// A Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject instance to deserialize from. - internal AgentVersionsList(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json) - { - bool returnNow = false; - BeforeFromJson(json, ref returnNow); - if (returnNow) - { - return; - } - {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonArray, out var __v) ? new global::System.Func>(()=> global::System.Linq.Enumerable.ToList(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentVersion) (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.AgentVersion.FromJson(__u) )) ))() : null : _value;} - {_nextLink = If( json?.PropertyT("nextLink"), out var __jsonNextLink) ? (string)__jsonNextLink : (string)_nextLink;} - AfterFromJson(json); - } - - /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentVersionsList. - /// - /// a to deserialize from. - /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentVersionsList. - /// - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentVersionsList FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode node) - { - return node is Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json ? new AgentVersionsList(json) : null; - } - - /// - /// Serializes this instance of 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 . - /// - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode) - { - container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject(); - - bool returnNow = false; - BeforeToJson(ref container, ref returnNow); - if (returnNow) - { - return container; - } - if (null != this._value) - { - var __w = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.XNodeArray(); - foreach( var __x in this._value ) - { - AddIf(__x?.ToJson(null, serializationMode) ,__w.Add); - } - container.Add("value",__w); - } - AddIf( null != (((object)this._nextLink)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonString(this._nextLink.ToString()) : null, "nextLink" ,container.Add ); - AfterToJson(ref container); - return container; - } - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/ConnectedMachineIdentity.PowerShell.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/ConnectedMachineIdentity.PowerShell.cs index a27ba038f831..b151cde2ef24 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/ConnectedMachineIdentity.PowerShell.cs +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/ConnectedMachineIdentity.PowerShell.cs @@ -119,38 +119,6 @@ internal ConnectedMachineIdentity(global::System.Collections.IDictionary content { ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentityInternal)this).Version = (string) content.GetValueForProperty("Version",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentityInternal)this).Version, global::System.Convert.ToString); } - if (content.Contains("MetadataName")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentityInternal)this).MetadataName = (string) content.GetValueForProperty("MetadataName",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentityInternal)this).MetadataName, global::System.Convert.ToString); - } - if (content.Contains("OSType")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentityInternal)this).OSType = (string) content.GetValueForProperty("OSType",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentityInternal)this).OSType, global::System.Convert.ToString); - } - if (content.Contains("RunCommandName")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentityInternal)this).RunCommandName = (string) content.GetValueForProperty("RunCommandName",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentityInternal)this).RunCommandName, global::System.Convert.ToString); - } - if (content.Contains("GatewayName")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentityInternal)this).GatewayName = (string) content.GetValueForProperty("GatewayName",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentityInternal)this).GatewayName, global::System.Convert.ToString); - } - if (content.Contains("BaseProvider")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentityInternal)this).BaseProvider = (string) content.GetValueForProperty("BaseProvider",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentityInternal)this).BaseProvider, global::System.Convert.ToString); - } - if (content.Contains("BaseResourceType")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentityInternal)this).BaseResourceType = (string) content.GetValueForProperty("BaseResourceType",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentityInternal)this).BaseResourceType, global::System.Convert.ToString); - } - if (content.Contains("BaseResourceName")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentityInternal)this).BaseResourceName = (string) content.GetValueForProperty("BaseResourceName",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentityInternal)this).BaseResourceName, global::System.Convert.ToString); - } - if (content.Contains("SettingsResourceName")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentityInternal)this).SettingsResourceName = (string) content.GetValueForProperty("SettingsResourceName",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentityInternal)this).SettingsResourceName, global::System.Convert.ToString); - } if (content.Contains("ScopeName")) { ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentityInternal)this).ScopeName = (string) content.GetValueForProperty("ScopeName",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentityInternal)this).ScopeName, global::System.Convert.ToString); @@ -167,10 +135,6 @@ internal ConnectedMachineIdentity(global::System.Collections.IDictionary content { ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentityInternal)this).PrivateEndpointConnectionName = (string) content.GetValueForProperty("PrivateEndpointConnectionName",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentityInternal)this).PrivateEndpointConnectionName, global::System.Convert.ToString); } - if (content.Contains("ResourceUri")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentityInternal)this).ResourceUri = (string) content.GetValueForProperty("ResourceUri",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentityInternal)this).ResourceUri, global::System.Convert.ToString); - } if (content.Contains("PerimeterName")) { ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentityInternal)this).PerimeterName = (string) content.GetValueForProperty("PerimeterName",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentityInternal)this).PerimeterName, global::System.Convert.ToString); @@ -240,38 +204,6 @@ internal ConnectedMachineIdentity(global::System.Management.Automation.PSObject { ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentityInternal)this).Version = (string) content.GetValueForProperty("Version",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentityInternal)this).Version, global::System.Convert.ToString); } - if (content.Contains("MetadataName")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentityInternal)this).MetadataName = (string) content.GetValueForProperty("MetadataName",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentityInternal)this).MetadataName, global::System.Convert.ToString); - } - if (content.Contains("OSType")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentityInternal)this).OSType = (string) content.GetValueForProperty("OSType",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentityInternal)this).OSType, global::System.Convert.ToString); - } - if (content.Contains("RunCommandName")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentityInternal)this).RunCommandName = (string) content.GetValueForProperty("RunCommandName",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentityInternal)this).RunCommandName, global::System.Convert.ToString); - } - if (content.Contains("GatewayName")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentityInternal)this).GatewayName = (string) content.GetValueForProperty("GatewayName",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentityInternal)this).GatewayName, global::System.Convert.ToString); - } - if (content.Contains("BaseProvider")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentityInternal)this).BaseProvider = (string) content.GetValueForProperty("BaseProvider",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentityInternal)this).BaseProvider, global::System.Convert.ToString); - } - if (content.Contains("BaseResourceType")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentityInternal)this).BaseResourceType = (string) content.GetValueForProperty("BaseResourceType",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentityInternal)this).BaseResourceType, global::System.Convert.ToString); - } - if (content.Contains("BaseResourceName")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentityInternal)this).BaseResourceName = (string) content.GetValueForProperty("BaseResourceName",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentityInternal)this).BaseResourceName, global::System.Convert.ToString); - } - if (content.Contains("SettingsResourceName")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentityInternal)this).SettingsResourceName = (string) content.GetValueForProperty("SettingsResourceName",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentityInternal)this).SettingsResourceName, global::System.Convert.ToString); - } if (content.Contains("ScopeName")) { ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentityInternal)this).ScopeName = (string) content.GetValueForProperty("ScopeName",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentityInternal)this).ScopeName, global::System.Convert.ToString); @@ -288,10 +220,6 @@ internal ConnectedMachineIdentity(global::System.Management.Automation.PSObject { ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentityInternal)this).PrivateEndpointConnectionName = (string) content.GetValueForProperty("PrivateEndpointConnectionName",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentityInternal)this).PrivateEndpointConnectionName, global::System.Convert.ToString); } - if (content.Contains("ResourceUri")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentityInternal)this).ResourceUri = (string) content.GetValueForProperty("ResourceUri",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentityInternal)this).ResourceUri, global::System.Convert.ToString); - } if (content.Contains("PerimeterName")) { ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentityInternal)this).PerimeterName = (string) content.GetValueForProperty("PerimeterName",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentityInternal)this).PerimeterName, global::System.Convert.ToString); diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/ConnectedMachineIdentity.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/ConnectedMachineIdentity.cs index 2ec54421bc62..98e3ed7d5115 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/ConnectedMachineIdentity.cs +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/ConnectedMachineIdentity.cs @@ -12,27 +12,6 @@ public partial class ConnectedMachineIdentity : Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentityInternal { - /// Backing field for property. - private string _baseProvider; - - /// The name of the base Resource Provider. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Owned)] - public string BaseProvider { get => this._baseProvider; set => this._baseProvider = value; } - - /// Backing field for property. - private string _baseResourceName; - - /// The name of the base resource. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Owned)] - public string BaseResourceName { get => this._baseResourceName; set => this._baseResourceName = value; } - - /// Backing field for property. - private string _baseResourceType; - - /// The name of the base Resource Type. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Owned)] - public string BaseResourceType { get => this._baseResourceType; set => this._baseResourceType = value; } - /// Backing field for property. private string _extensionName; @@ -47,13 +26,6 @@ public partial class ConnectedMachineIdentity : [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Owned)] public string ExtensionType { get => this._extensionType; set => this._extensionType = value; } - /// Backing field for property. - private string _gatewayName; - - /// The name of the Gateway. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Owned)] - public string GatewayName { get => this._gatewayName; set => this._gatewayName = value; } - /// Backing field for property. private string _groupName; @@ -96,13 +68,6 @@ public partial class ConnectedMachineIdentity : [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Owned)] public string MachineName { get => this._machineName; set => this._machineName = value; } - /// Backing field for property. - private string _metadataName; - - /// Name of the HybridIdentityMetadata. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Owned)] - public string MetadataName { get => this._metadataName; set => this._metadataName = value; } - /// Backing field for property. private string _name; @@ -110,13 +75,6 @@ public partial class ConnectedMachineIdentity : [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Owned)] public string Name { get => this._name; set => this._name = value; } - /// Backing field for property. - private string _oSType; - - /// Defines the os type. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Owned)] - public string OSType { get => this._oSType; set => this._oSType = value; } - /// Backing field for property. private string _perimeterName; @@ -154,22 +112,6 @@ public partial class ConnectedMachineIdentity : [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Owned)] public string ResourceGroupName { get => this._resourceGroupName; set => this._resourceGroupName = value; } - /// Backing field for property. - private string _resourceUri; - - /// - /// The fully qualified Azure Resource manager identifier of the resource to be connected. - /// - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Owned)] - public string ResourceUri { get => this._resourceUri; set => this._resourceUri = value; } - - /// Backing field for property. - private string _runCommandName; - - /// The name of the run command. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Owned)] - public string RunCommandName { get => this._runCommandName; set => this._runCommandName = value; } - /// Backing field for property. private string _scopeName; @@ -177,13 +119,6 @@ public partial class ConnectedMachineIdentity : [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Owned)] public string ScopeName { get => this._scopeName; set => this._scopeName = value; } - /// Backing field for property. - private string _settingsResourceName; - - /// The name of the settings resource. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Owned)] - public string SettingsResourceName { get => this._settingsResourceName; set => this._settingsResourceName = value; } - /// Backing field for property. private string _subscriptionId; @@ -207,39 +142,6 @@ public ConnectedMachineIdentity() public partial interface IConnectedMachineIdentity : Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IJsonSerializable { - /// The name of the base Resource Provider. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Read = true, - Create = true, - Update = true, - Description = @"The name of the base Resource Provider.", - SerializedName = @"baseProvider", - PossibleTypes = new [] { typeof(string) })] - string BaseProvider { get; set; } - /// The name of the base resource. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Read = true, - Create = true, - Update = true, - Description = @"The name of the base resource.", - SerializedName = @"baseResourceName", - PossibleTypes = new [] { typeof(string) })] - string BaseResourceName { get; set; } - /// The name of the base Resource Type. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Read = true, - Create = true, - Update = true, - Description = @"The name of the base Resource Type.", - SerializedName = @"baseResourceType", - PossibleTypes = new [] { typeof(string) })] - string BaseResourceType { get; set; } /// The name of the machine extension. [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( Required = false, @@ -262,17 +164,6 @@ public partial interface IConnectedMachineIdentity : SerializedName = @"extensionType", PossibleTypes = new [] { typeof(string) })] string ExtensionType { get; set; } - /// The name of the Gateway. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Read = true, - Create = true, - Update = true, - Description = @"The name of the Gateway.", - SerializedName = @"gatewayName", - PossibleTypes = new [] { typeof(string) })] - string GatewayName { get; set; } /// The name of the private link resource. [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( Required = false, @@ -340,17 +231,6 @@ public partial interface IConnectedMachineIdentity : SerializedName = @"machineName", PossibleTypes = new [] { typeof(string) })] string MachineName { get; set; } - /// Name of the HybridIdentityMetadata. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Read = true, - Create = true, - Update = true, - Description = @"Name of the HybridIdentityMetadata.", - SerializedName = @"metadataName", - PossibleTypes = new [] { typeof(string) })] - string MetadataName { get; set; } /// The name of the hybrid machine. [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( Required = false, @@ -362,17 +242,6 @@ public partial interface IConnectedMachineIdentity : SerializedName = @"name", PossibleTypes = new [] { typeof(string) })] string Name { get; set; } - /// Defines the os type. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Read = true, - Create = true, - Update = true, - Description = @"Defines the os type.", - SerializedName = @"osType", - PossibleTypes = new [] { typeof(string) })] - string OSType { get; set; } /// /// The name, in the format {perimeterGuid}.{associationName}, of the Network Security Perimeter resource. /// @@ -430,30 +299,6 @@ public partial interface IConnectedMachineIdentity : SerializedName = @"resourceGroupName", PossibleTypes = new [] { typeof(string) })] string ResourceGroupName { get; set; } - /// - /// The fully qualified Azure Resource manager identifier of the resource to be connected. - /// - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Read = true, - Create = true, - Update = true, - Description = @"The fully qualified Azure Resource manager identifier of the resource to be connected.", - SerializedName = @"resourceUri", - PossibleTypes = new [] { typeof(string) })] - string ResourceUri { get; set; } - /// The name of the run command. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Read = true, - Create = true, - Update = true, - Description = @"The name of the run command.", - SerializedName = @"runCommandName", - PossibleTypes = new [] { typeof(string) })] - string RunCommandName { get; set; } /// The name of the Azure Arc PrivateLinkScope resource. [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( Required = false, @@ -465,17 +310,6 @@ public partial interface IConnectedMachineIdentity : SerializedName = @"scopeName", PossibleTypes = new [] { typeof(string) })] string ScopeName { get; set; } - /// The name of the settings resource. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Read = true, - Create = true, - Update = true, - Description = @"The name of the settings resource.", - SerializedName = @"settingsResourceName", - PossibleTypes = new [] { typeof(string) })] - string SettingsResourceName { get; set; } /// The ID of the target subscription. [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( Required = false, @@ -503,18 +337,10 @@ public partial interface IConnectedMachineIdentity : internal partial interface IConnectedMachineIdentityInternal { - /// The name of the base Resource Provider. - string BaseProvider { get; set; } - /// The name of the base resource. - string BaseResourceName { get; set; } - /// The name of the base Resource Type. - string BaseResourceType { get; set; } /// The name of the machine extension. string ExtensionName { get; set; } /// The extensionType of the Extension being received. string ExtensionType { get; set; } - /// The name of the Gateway. - string GatewayName { get; set; } /// The name of the private link resource. string GroupName { get; set; } /// Resource identity path @@ -528,12 +354,8 @@ internal partial interface IConnectedMachineIdentityInternal string Location { get; set; } /// The name of the hybrid machine. string MachineName { get; set; } - /// Name of the HybridIdentityMetadata. - string MetadataName { get; set; } /// The name of the hybrid machine. string Name { get; set; } - /// Defines the os type. - string OSType { get; set; } /// /// The name, in the format {perimeterGuid}.{associationName}, of the Network Security Perimeter resource. /// @@ -546,16 +368,8 @@ internal partial interface IConnectedMachineIdentityInternal string Publisher { get; set; } /// The name of the resource group. The name is case insensitive. string ResourceGroupName { get; set; } - /// - /// The fully qualified Azure Resource manager identifier of the resource to be connected. - /// - string ResourceUri { get; set; } - /// The name of the run command. - string RunCommandName { get; set; } /// The name of the Azure Arc PrivateLinkScope resource. string ScopeName { get; set; } - /// The name of the settings resource. - string SettingsResourceName { get; set; } /// The ID of the target subscription. string SubscriptionId { get; set; } /// The version of the Extension being received. diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/ConnectedMachineIdentity.json.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/ConnectedMachineIdentity.json.cs index 9412bdcd6f09..f9d178169a0f 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/ConnectedMachineIdentity.json.cs +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/ConnectedMachineIdentity.json.cs @@ -75,19 +75,10 @@ internal ConnectedMachineIdentity(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMa {_publisher = If( json?.PropertyT("publisher"), out var __jsonPublisher) ? (string)__jsonPublisher : (string)_publisher;} {_extensionType = If( json?.PropertyT("extensionType"), out var __jsonExtensionType) ? (string)__jsonExtensionType : (string)_extensionType;} {_version = If( json?.PropertyT("version"), out var __jsonVersion) ? (string)__jsonVersion : (string)_version;} - {_metadataName = If( json?.PropertyT("metadataName"), out var __jsonMetadataName) ? (string)__jsonMetadataName : (string)_metadataName;} - {_oSType = If( json?.PropertyT("osType"), out var __jsonOSType) ? (string)__jsonOSType : (string)_oSType;} - {_runCommandName = If( json?.PropertyT("runCommandName"), out var __jsonRunCommandName) ? (string)__jsonRunCommandName : (string)_runCommandName;} - {_gatewayName = If( json?.PropertyT("gatewayName"), out var __jsonGatewayName) ? (string)__jsonGatewayName : (string)_gatewayName;} - {_baseProvider = If( json?.PropertyT("baseProvider"), out var __jsonBaseProvider) ? (string)__jsonBaseProvider : (string)_baseProvider;} - {_baseResourceType = If( json?.PropertyT("baseResourceType"), out var __jsonBaseResourceType) ? (string)__jsonBaseResourceType : (string)_baseResourceType;} - {_baseResourceName = If( json?.PropertyT("baseResourceName"), out var __jsonBaseResourceName) ? (string)__jsonBaseResourceName : (string)_baseResourceName;} - {_settingsResourceName = If( json?.PropertyT("settingsResourceName"), out var __jsonSettingsResourceName) ? (string)__jsonSettingsResourceName : (string)_settingsResourceName;} {_scopeName = If( json?.PropertyT("scopeName"), out var __jsonScopeName) ? (string)__jsonScopeName : (string)_scopeName;} {_privateLinkScopeId = If( json?.PropertyT("privateLinkScopeId"), out var __jsonPrivateLinkScopeId) ? (string)__jsonPrivateLinkScopeId : (string)_privateLinkScopeId;} {_groupName = If( json?.PropertyT("groupName"), out var __jsonGroupName) ? (string)__jsonGroupName : (string)_groupName;} {_privateEndpointConnectionName = If( json?.PropertyT("privateEndpointConnectionName"), out var __jsonPrivateEndpointConnectionName) ? (string)__jsonPrivateEndpointConnectionName : (string)_privateEndpointConnectionName;} - {_resourceUri = If( json?.PropertyT("resourceUri"), out var __jsonResourceUri) ? (string)__jsonResourceUri : (string)_resourceUri;} {_perimeterName = If( json?.PropertyT("perimeterName"), out var __jsonPerimeterName) ? (string)__jsonPerimeterName : (string)_perimeterName;} {_id = If( json?.PropertyT("id"), out var __jsonId) ? (string)__jsonId : (string)_id;} AfterFromJson(json); @@ -135,19 +126,10 @@ public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode AddIf( null != (((object)this._publisher)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonString(this._publisher.ToString()) : null, "publisher" ,container.Add ); AddIf( null != (((object)this._extensionType)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonString(this._extensionType.ToString()) : null, "extensionType" ,container.Add ); AddIf( null != (((object)this._version)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonString(this._version.ToString()) : null, "version" ,container.Add ); - AddIf( null != (((object)this._metadataName)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonString(this._metadataName.ToString()) : null, "metadataName" ,container.Add ); - AddIf( null != (((object)this._oSType)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonString(this._oSType.ToString()) : null, "osType" ,container.Add ); - AddIf( null != (((object)this._runCommandName)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonString(this._runCommandName.ToString()) : null, "runCommandName" ,container.Add ); - AddIf( null != (((object)this._gatewayName)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonString(this._gatewayName.ToString()) : null, "gatewayName" ,container.Add ); - AddIf( null != (((object)this._baseProvider)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonString(this._baseProvider.ToString()) : null, "baseProvider" ,container.Add ); - AddIf( null != (((object)this._baseResourceType)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonString(this._baseResourceType.ToString()) : null, "baseResourceType" ,container.Add ); - AddIf( null != (((object)this._baseResourceName)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonString(this._baseResourceName.ToString()) : null, "baseResourceName" ,container.Add ); - AddIf( null != (((object)this._settingsResourceName)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonString(this._settingsResourceName.ToString()) : null, "settingsResourceName" ,container.Add ); AddIf( null != (((object)this._scopeName)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonString(this._scopeName.ToString()) : null, "scopeName" ,container.Add ); AddIf( null != (((object)this._privateLinkScopeId)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonString(this._privateLinkScopeId.ToString()) : null, "privateLinkScopeId" ,container.Add ); AddIf( null != (((object)this._groupName)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonString(this._groupName.ToString()) : null, "groupName" ,container.Add ); AddIf( null != (((object)this._privateEndpointConnectionName)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonString(this._privateEndpointConnectionName.ToString()) : null, "privateEndpointConnectionName" ,container.Add ); - AddIf( null != (((object)this._resourceUri)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonString(this._resourceUri.ToString()) : null, "resourceUri" ,container.Add ); AddIf( null != (((object)this._perimeterName)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonString(this._perimeterName.ToString()) : null, "perimeterName" ,container.Add ); AddIf( null != (((object)this._id)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonString(this._id.ToString()) : null, "id" ,container.Add ); AfterToJson(ref container); diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/ErrorDetailAutoGenerated.PowerShell.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/ErrorDetailAutoGenerated.PowerShell.cs deleted file mode 100644 index e9e205cab7e4..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/ErrorDetailAutoGenerated.PowerShell.cs +++ /dev/null @@ -1,196 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models -{ - using Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell; - - /// The error detail. - [System.ComponentModel.TypeConverter(typeof(ErrorDetailAutoGeneratedTypeConverter))] - public partial class ErrorDetailAutoGenerated - { - - /// - /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the - /// object before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The global::System.Collections.IDictionary content that should be used. - - partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); - - /// - /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object - /// before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The global::System.Management.Automation.PSObject content that should be used. - - partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); - - /// - /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization - /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output - /// parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The global::System.Collections.IDictionary content that should be used. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); - - /// - /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization - /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output - /// parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The global::System.Management.Automation.PSObject content that should be used. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); - - /// - /// OverrideToString will be called if it is implemented. Implement this method in a partial class to enable this behavior - /// - /// /// instance serialized to a string, normally it is a Json - /// /// set returnNow to true if you provide a customized OverrideToString function - - partial void OverrideToString(ref string stringResult, ref bool returnNow); - - /// - /// Deserializes a into an instance of . - /// - /// The global::System.Collections.IDictionary content that should be used. - /// - /// an instance of . - /// - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailAutoGenerated DeserializeFromDictionary(global::System.Collections.IDictionary content) - { - return new ErrorDetailAutoGenerated(content); - } - - /// - /// Deserializes a into an instance of . - /// - /// The global::System.Management.Automation.PSObject content that should be used. - /// - /// an instance of . - /// - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailAutoGenerated DeserializeFromPSObject(global::System.Management.Automation.PSObject content) - { - return new ErrorDetailAutoGenerated(content); - } - - /// - /// Deserializes a into a new instance of . - /// - /// The global::System.Collections.IDictionary content that should be used. - internal ErrorDetailAutoGenerated(global::System.Collections.IDictionary content) - { - bool returnNow = false; - BeforeDeserializeDictionary(content, ref returnNow); - if (returnNow) - { - return; - } - // actually deserialize - if (content.Contains("Code")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailAutoGeneratedInternal)this).Code = (string) content.GetValueForProperty("Code",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailAutoGeneratedInternal)this).Code, global::System.Convert.ToString); - } - if (content.Contains("Message")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailAutoGeneratedInternal)this).Message = (string) content.GetValueForProperty("Message",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailAutoGeneratedInternal)this).Message, global::System.Convert.ToString); - } - if (content.Contains("Target")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailAutoGeneratedInternal)this).Target = (string) content.GetValueForProperty("Target",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailAutoGeneratedInternal)this).Target, global::System.Convert.ToString); - } - if (content.Contains("Detail")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailAutoGeneratedInternal)this).Detail = (System.Collections.Generic.List) content.GetValueForProperty("Detail",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailAutoGeneratedInternal)this).Detail, __y => TypeConverterExtensions.SelectToList(__y, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ErrorDetailAutoGeneratedTypeConverter.ConvertFrom)); - } - if (content.Contains("AdditionalInfo")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailAutoGeneratedInternal)this).AdditionalInfo = (System.Collections.Generic.List) content.GetValueForProperty("AdditionalInfo",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailAutoGeneratedInternal)this).AdditionalInfo, __y => TypeConverterExtensions.SelectToList(__y, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ErrorAdditionalInfoTypeConverter.ConvertFrom)); - } - AfterDeserializeDictionary(content); - } - - /// - /// Deserializes a into a new instance of . - /// - /// The global::System.Management.Automation.PSObject content that should be used. - internal ErrorDetailAutoGenerated(global::System.Management.Automation.PSObject content) - { - bool returnNow = false; - BeforeDeserializePSObject(content, ref returnNow); - if (returnNow) - { - return; - } - // actually deserialize - if (content.Contains("Code")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailAutoGeneratedInternal)this).Code = (string) content.GetValueForProperty("Code",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailAutoGeneratedInternal)this).Code, global::System.Convert.ToString); - } - if (content.Contains("Message")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailAutoGeneratedInternal)this).Message = (string) content.GetValueForProperty("Message",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailAutoGeneratedInternal)this).Message, global::System.Convert.ToString); - } - if (content.Contains("Target")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailAutoGeneratedInternal)this).Target = (string) content.GetValueForProperty("Target",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailAutoGeneratedInternal)this).Target, global::System.Convert.ToString); - } - if (content.Contains("Detail")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailAutoGeneratedInternal)this).Detail = (System.Collections.Generic.List) content.GetValueForProperty("Detail",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailAutoGeneratedInternal)this).Detail, __y => TypeConverterExtensions.SelectToList(__y, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ErrorDetailAutoGeneratedTypeConverter.ConvertFrom)); - } - if (content.Contains("AdditionalInfo")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailAutoGeneratedInternal)this).AdditionalInfo = (System.Collections.Generic.List) content.GetValueForProperty("AdditionalInfo",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailAutoGeneratedInternal)this).AdditionalInfo, __y => TypeConverterExtensions.SelectToList(__y, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ErrorAdditionalInfoTypeConverter.ConvertFrom)); - } - AfterDeserializePSObject(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. - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailAutoGenerated FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(jsonText)); - - /// Serializes this instance to a json string. - - /// a containing this model serialized to JSON text. - public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeAll)?.ToString(); - - public override string ToString() - { - var returnNow = false; - var result = global::System.String.Empty; - OverrideToString(ref result, ref returnNow); - if (returnNow) - { - return result; - } - return ToJsonString(); - } - } - /// The error detail. - [System.ComponentModel.TypeConverter(typeof(ErrorDetailAutoGeneratedTypeConverter))] - public partial interface IErrorDetailAutoGenerated - - { - - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/ErrorDetailAutoGenerated.TypeConverter.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/ErrorDetailAutoGenerated.TypeConverter.cs deleted file mode 100644 index 7098663e5c0e..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/ErrorDetailAutoGenerated.TypeConverter.cs +++ /dev/null @@ -1,147 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models -{ - using Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell; - - /// - /// A PowerShell PSTypeConverter to support converting to an instance of - /// - public partial class ErrorDetailAutoGeneratedTypeConverter : global::System.Management.Automation.PSTypeConverter - { - - /// - /// Determines if the converter can convert the parameter to the parameter. - /// - /// the to convert from - /// the to convert to - /// - /// true if the converter can convert the parameter to the parameter, otherwise false. - /// - public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); - - /// - /// Determines if the converter can convert the parameter to the - /// type. - /// - /// the instance to check if it can be converted to the type. - /// - /// true if the instance could be converted to a type, otherwise false - /// - public static bool CanConvertFrom(dynamic sourceValue) - { - if (null == sourceValue) - { - return true; - } - global::System.Type type = sourceValue.GetType(); - if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) - { - // we say yest to PSObjects - return true; - } - if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) - { - // we say yest to Hashtables/dictionaries - return true; - } - try - { - if (null != sourceValue.ToJsonString()) - { - return true; - } - } - catch - { - // Not one of our objects - } - try - { - string text = sourceValue.ToString()?.Trim(); - return true == text?.StartsWith("{") && true == text?.EndsWith("}") && Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(text).Type == Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonType.Object; - } - catch - { - // Doesn't look like it can be treated as JSON - } - return false; - } - - /// - /// Determines if the parameter can be converted to the - /// parameter - /// - /// the to convert from - /// the to convert to - /// - /// true if the converter can convert the parameter to the parameter, otherwise false - /// - public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; - - /// - /// Converts the parameter to the parameter using and - /// - /// the to convert from - /// the to convert to - /// 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. - /// - 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 - /// - /// the value to convert into an instance of . - /// - /// an instance of , or null if there is no suitable conversion. - /// - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailAutoGenerated ConvertFrom(dynamic sourceValue) - { - if (null == sourceValue) - { - return null; - } - global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailAutoGenerated).IsAssignableFrom(type)) - { - return sourceValue; - } - try - { - return ErrorDetailAutoGenerated.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; - } - catch - { - // Unable to use JSON pattern - } - if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) - { - return ErrorDetailAutoGenerated.DeserializeFromPSObject(sourceValue); - } - if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) - { - return ErrorDetailAutoGenerated.DeserializeFromDictionary(sourceValue); - } - return null; - } - - /// NotImplemented -- this will return null - /// the to convert from - /// the to convert to - /// not used by this TypeConverter. - /// when set to true, will ignore the case when converting. - /// will always return null. - public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null; - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/ErrorDetailAutoGenerated.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/ErrorDetailAutoGenerated.cs deleted file mode 100644 index d1a95867d2e5..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/ErrorDetailAutoGenerated.cs +++ /dev/null @@ -1,149 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models -{ - using static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Extensions; - - /// The error detail. - public partial class ErrorDetailAutoGenerated : - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailAutoGenerated, - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailAutoGeneratedInternal - { - - /// Backing field for property. - private System.Collections.Generic.List _additionalInfo; - - /// The error additional info. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Owned)] - public System.Collections.Generic.List AdditionalInfo { get => this._additionalInfo; } - - /// Backing field for property. - private string _code; - - /// The error code. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Owned)] - public string Code { get => this._code; } - - /// Backing field for property. - private System.Collections.Generic.List _detail; - - /// The error details. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Owned)] - public System.Collections.Generic.List Detail { get => this._detail; } - - /// Backing field for property. - private string _message; - - /// The error message. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Owned)] - public string Message { get => this._message; } - - /// Internal Acessors for AdditionalInfo - System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailAutoGeneratedInternal.AdditionalInfo { get => this._additionalInfo; set { {_additionalInfo = value;} } } - - /// Internal Acessors for Code - string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailAutoGeneratedInternal.Code { get => this._code; set { {_code = value;} } } - - /// Internal Acessors for Detail - System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailAutoGeneratedInternal.Detail { get => this._detail; set { {_detail = value;} } } - - /// Internal Acessors for Message - string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailAutoGeneratedInternal.Message { get => this._message; set { {_message = value;} } } - - /// Internal Acessors for Target - string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailAutoGeneratedInternal.Target { get => this._target; set { {_target = value;} } } - - /// Backing field for property. - private string _target; - - /// The error target. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Owned)] - public string Target { get => this._target; } - - /// Creates an new instance. - public ErrorDetailAutoGenerated() - { - - } - } - /// The error detail. - public partial interface IErrorDetailAutoGenerated : - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IJsonSerializable - { - /// The error additional info. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = true, - Read = true, - Create = false, - Update = false, - Description = @"The error additional info.", - SerializedName = @"additionalInfo", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorAdditionalInfo) })] - System.Collections.Generic.List AdditionalInfo { get; } - /// The error code. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = true, - Read = true, - Create = false, - Update = false, - Description = @"The error code.", - SerializedName = @"code", - PossibleTypes = new [] { typeof(string) })] - string Code { get; } - /// The error details. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = true, - Read = true, - Create = false, - Update = false, - Description = @"The error details.", - SerializedName = @"details", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailAutoGenerated) })] - System.Collections.Generic.List Detail { get; } - /// The error message. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = true, - Read = true, - Create = false, - Update = false, - Description = @"The error message.", - SerializedName = @"message", - PossibleTypes = new [] { typeof(string) })] - string Message { get; } - /// The error target. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = true, - Read = true, - Create = false, - Update = false, - Description = @"The error target.", - SerializedName = @"target", - PossibleTypes = new [] { typeof(string) })] - string Target { get; } - - } - /// The error detail. - internal partial interface IErrorDetailAutoGeneratedInternal - - { - /// The error additional info. - System.Collections.Generic.List AdditionalInfo { get; set; } - /// The error code. - string Code { get; set; } - /// The error details. - System.Collections.Generic.List Detail { get; set; } - /// The error message. - string Message { get; set; } - /// The error target. - string Target { get; set; } - - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/ErrorDetailAutoGenerated.json.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/ErrorDetailAutoGenerated.json.cs deleted file mode 100644 index 08fb7cfbf3b0..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/ErrorDetailAutoGenerated.json.cs +++ /dev/null @@ -1,147 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models -{ - using static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Extensions; - - /// The error detail. - public partial class ErrorDetailAutoGenerated - { - - /// - /// AfterFromJson will be called after the json deserialization has finished, allowing customization of the object - /// before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The JsonNode that should be deserialized into this object. - - partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json); - - /// - /// AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The JSON container that the serialization result will be placed in. - - partial void AfterToJson(ref Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject container); - - /// - /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of - /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the - /// output parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The JsonNode that should be deserialized into this object. - /// Determines if the rest of the deserialization should be processed, or if the method should return - /// instantly. - - partial void BeforeFromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json, ref bool returnNow); - - /// - /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the - /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output - /// parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The JSON container that the serialization result will be placed in. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject container, ref bool returnNow); - - /// - /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject into a new instance of . - /// - /// A Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject instance to deserialize from. - internal ErrorDetailAutoGenerated(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json) - { - bool returnNow = false; - BeforeFromJson(json, ref returnNow); - if (returnNow) - { - return; - } - {_code = If( json?.PropertyT("code"), out var __jsonCode) ? (string)__jsonCode : (string)_code;} - {_message = If( json?.PropertyT("message"), out var __jsonMessage) ? (string)__jsonMessage : (string)_message;} - {_target = If( json?.PropertyT("target"), out var __jsonTarget) ? (string)__jsonTarget : (string)_target;} - {_detail = If( json?.PropertyT("details"), out var __jsonDetails) ? If( __jsonDetails as Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonArray, out var __v) ? new global::System.Func>(()=> global::System.Linq.Enumerable.ToList(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailAutoGenerated) (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ErrorDetailAutoGenerated.FromJson(__u) )) ))() : null : _detail;} - {_additionalInfo = If( json?.PropertyT("additionalInfo"), out var __jsonAdditionalInfo) ? If( __jsonAdditionalInfo as Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonArray, out var __q) ? new global::System.Func>(()=> global::System.Linq.Enumerable.ToList(global::System.Linq.Enumerable.Select(__q, (__p)=>(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorAdditionalInfo) (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ErrorAdditionalInfo.FromJson(__p) )) ))() : null : _additionalInfo;} - AfterFromJson(json); - } - - /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailAutoGenerated. - /// - /// a to deserialize from. - /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailAutoGenerated. - /// - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailAutoGenerated FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode node) - { - return node is Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json ? new ErrorDetailAutoGenerated(json) : null; - } - - /// - /// Serializes this instance of 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 . - /// - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode) - { - container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject(); - - bool returnNow = false; - BeforeToJson(ref container, ref returnNow); - if (returnNow) - { - return container; - } - if (serializationMode.HasFlag(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeRead)) - { - AddIf( null != (((object)this._code)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonString(this._code.ToString()) : null, "code" ,container.Add ); - } - if (serializationMode.HasFlag(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeRead)) - { - AddIf( null != (((object)this._message)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonString(this._message.ToString()) : null, "message" ,container.Add ); - } - if (serializationMode.HasFlag(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeRead)) - { - AddIf( null != (((object)this._target)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonString(this._target.ToString()) : null, "target" ,container.Add ); - } - if (serializationMode.HasFlag(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeRead)) - { - if (null != this._detail) - { - var __w = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.XNodeArray(); - foreach( var __x in this._detail ) - { - AddIf(__x?.ToJson(null, serializationMode) ,__w.Add); - } - container.Add("details",__w); - } - } - if (serializationMode.HasFlag(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeRead)) - { - if (null != this._additionalInfo) - { - var __r = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.XNodeArray(); - foreach( var __s in this._additionalInfo ) - { - AddIf(__s?.ToJson(null, serializationMode) ,__r.Add); - } - container.Add("additionalInfo",__r); - } - } - AfterToJson(ref container); - return container; - } - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/ErrorResponseAutoGenerated.PowerShell.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/ErrorResponseAutoGenerated.PowerShell.cs deleted file mode 100644 index d914aeb0f6a1..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/ErrorResponseAutoGenerated.PowerShell.cs +++ /dev/null @@ -1,208 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models -{ - using Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell; - - /// - /// Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows - /// the OData error response format.). - /// - [System.ComponentModel.TypeConverter(typeof(ErrorResponseAutoGeneratedTypeConverter))] - public partial class ErrorResponseAutoGenerated - { - - /// - /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the - /// object before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The global::System.Collections.IDictionary content that should be used. - - partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); - - /// - /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object - /// before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The global::System.Management.Automation.PSObject content that should be used. - - partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); - - /// - /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization - /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output - /// parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The global::System.Collections.IDictionary content that should be used. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); - - /// - /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization - /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output - /// parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The global::System.Management.Automation.PSObject content that should be used. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); - - /// - /// OverrideToString will be called if it is implemented. Implement this method in a partial class to enable this behavior - /// - /// /// instance serialized to a string, normally it is a Json - /// /// set returnNow to true if you provide a customized OverrideToString function - - partial void OverrideToString(ref string stringResult, ref bool returnNow); - - /// - /// Deserializes a into an instance of . - /// - /// The global::System.Collections.IDictionary content that should be used. - /// - /// an instance of . - /// - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorResponseAutoGenerated DeserializeFromDictionary(global::System.Collections.IDictionary content) - { - return new ErrorResponseAutoGenerated(content); - } - - /// - /// Deserializes a into an instance of . - /// - /// The global::System.Management.Automation.PSObject content that should be used. - /// - /// an instance of . - /// - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorResponseAutoGenerated DeserializeFromPSObject(global::System.Management.Automation.PSObject content) - { - return new ErrorResponseAutoGenerated(content); - } - - /// - /// Deserializes a into a new instance of . - /// - /// The global::System.Collections.IDictionary content that should be used. - internal ErrorResponseAutoGenerated(global::System.Collections.IDictionary content) - { - bool returnNow = false; - BeforeDeserializeDictionary(content, ref returnNow); - if (returnNow) - { - return; - } - // actually deserialize - if (content.Contains("Error")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorResponseAutoGeneratedInternal)this).Error = (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailAutoGenerated) content.GetValueForProperty("Error",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorResponseAutoGeneratedInternal)this).Error, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ErrorDetailAutoGeneratedTypeConverter.ConvertFrom); - } - if (content.Contains("Code")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorResponseAutoGeneratedInternal)this).Code = (string) content.GetValueForProperty("Code",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorResponseAutoGeneratedInternal)this).Code, global::System.Convert.ToString); - } - if (content.Contains("Message")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorResponseAutoGeneratedInternal)this).Message = (string) content.GetValueForProperty("Message",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorResponseAutoGeneratedInternal)this).Message, global::System.Convert.ToString); - } - if (content.Contains("Target")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorResponseAutoGeneratedInternal)this).Target = (string) content.GetValueForProperty("Target",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorResponseAutoGeneratedInternal)this).Target, global::System.Convert.ToString); - } - if (content.Contains("Detail")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorResponseAutoGeneratedInternal)this).Detail = (System.Collections.Generic.List) content.GetValueForProperty("Detail",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorResponseAutoGeneratedInternal)this).Detail, __y => TypeConverterExtensions.SelectToList(__y, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ErrorDetailAutoGeneratedTypeConverter.ConvertFrom)); - } - if (content.Contains("AdditionalInfo")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorResponseAutoGeneratedInternal)this).AdditionalInfo = (System.Collections.Generic.List) content.GetValueForProperty("AdditionalInfo",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorResponseAutoGeneratedInternal)this).AdditionalInfo, __y => TypeConverterExtensions.SelectToList(__y, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ErrorAdditionalInfoTypeConverter.ConvertFrom)); - } - AfterDeserializeDictionary(content); - } - - /// - /// Deserializes a into a new instance of . - /// - /// The global::System.Management.Automation.PSObject content that should be used. - internal ErrorResponseAutoGenerated(global::System.Management.Automation.PSObject content) - { - bool returnNow = false; - BeforeDeserializePSObject(content, ref returnNow); - if (returnNow) - { - return; - } - // actually deserialize - if (content.Contains("Error")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorResponseAutoGeneratedInternal)this).Error = (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailAutoGenerated) content.GetValueForProperty("Error",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorResponseAutoGeneratedInternal)this).Error, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ErrorDetailAutoGeneratedTypeConverter.ConvertFrom); - } - if (content.Contains("Code")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorResponseAutoGeneratedInternal)this).Code = (string) content.GetValueForProperty("Code",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorResponseAutoGeneratedInternal)this).Code, global::System.Convert.ToString); - } - if (content.Contains("Message")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorResponseAutoGeneratedInternal)this).Message = (string) content.GetValueForProperty("Message",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorResponseAutoGeneratedInternal)this).Message, global::System.Convert.ToString); - } - if (content.Contains("Target")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorResponseAutoGeneratedInternal)this).Target = (string) content.GetValueForProperty("Target",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorResponseAutoGeneratedInternal)this).Target, global::System.Convert.ToString); - } - if (content.Contains("Detail")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorResponseAutoGeneratedInternal)this).Detail = (System.Collections.Generic.List) content.GetValueForProperty("Detail",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorResponseAutoGeneratedInternal)this).Detail, __y => TypeConverterExtensions.SelectToList(__y, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ErrorDetailAutoGeneratedTypeConverter.ConvertFrom)); - } - if (content.Contains("AdditionalInfo")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorResponseAutoGeneratedInternal)this).AdditionalInfo = (System.Collections.Generic.List) content.GetValueForProperty("AdditionalInfo",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorResponseAutoGeneratedInternal)this).AdditionalInfo, __y => TypeConverterExtensions.SelectToList(__y, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ErrorAdditionalInfoTypeConverter.ConvertFrom)); - } - AfterDeserializePSObject(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. - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorResponseAutoGenerated FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(jsonText)); - - /// Serializes this instance to a json string. - - /// a containing this model serialized to JSON text. - public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeAll)?.ToString(); - - public override string ToString() - { - var returnNow = false; - var result = global::System.String.Empty; - OverrideToString(ref result, ref returnNow); - if (returnNow) - { - return result; - } - return ToJsonString(); - } - } - /// Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows - /// the OData error response format.). - [System.ComponentModel.TypeConverter(typeof(ErrorResponseAutoGeneratedTypeConverter))] - public partial interface IErrorResponseAutoGenerated - - { - - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/ErrorResponseAutoGenerated.TypeConverter.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/ErrorResponseAutoGenerated.TypeConverter.cs deleted file mode 100644 index 1b5891d5fb9a..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/ErrorResponseAutoGenerated.TypeConverter.cs +++ /dev/null @@ -1,147 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models -{ - using Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell; - - /// - /// A PowerShell PSTypeConverter to support converting to an instance of - /// - public partial class ErrorResponseAutoGeneratedTypeConverter : global::System.Management.Automation.PSTypeConverter - { - - /// - /// Determines if the converter can convert the parameter to the parameter. - /// - /// the to convert from - /// the to convert to - /// - /// true if the converter can convert the parameter to the parameter, otherwise false. - /// - public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); - - /// - /// Determines if the converter can convert the parameter to the - /// type. - /// - /// the instance to check if it can be converted to the type. - /// - /// true if the instance could be converted to a type, otherwise false - /// - public static bool CanConvertFrom(dynamic sourceValue) - { - if (null == sourceValue) - { - return true; - } - global::System.Type type = sourceValue.GetType(); - if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) - { - // we say yest to PSObjects - return true; - } - if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) - { - // we say yest to Hashtables/dictionaries - return true; - } - try - { - if (null != sourceValue.ToJsonString()) - { - return true; - } - } - catch - { - // Not one of our objects - } - try - { - string text = sourceValue.ToString()?.Trim(); - return true == text?.StartsWith("{") && true == text?.EndsWith("}") && Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(text).Type == Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonType.Object; - } - catch - { - // Doesn't look like it can be treated as JSON - } - return false; - } - - /// - /// Determines if the parameter can be converted to the - /// parameter - /// - /// the to convert from - /// the to convert to - /// - /// true if the converter can convert the parameter to the parameter, otherwise false - /// - public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; - - /// - /// Converts the parameter to the parameter using and - /// - /// the to convert from - /// the to convert to - /// 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. - /// - 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 - /// - /// the value to convert into an instance of . - /// - /// an instance of , or null if there is no suitable conversion. - /// - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorResponseAutoGenerated ConvertFrom(dynamic sourceValue) - { - if (null == sourceValue) - { - return null; - } - global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorResponseAutoGenerated).IsAssignableFrom(type)) - { - return sourceValue; - } - try - { - return ErrorResponseAutoGenerated.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; - } - catch - { - // Unable to use JSON pattern - } - if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) - { - return ErrorResponseAutoGenerated.DeserializeFromPSObject(sourceValue); - } - if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) - { - return ErrorResponseAutoGenerated.DeserializeFromDictionary(sourceValue); - } - return null; - } - - /// NotImplemented -- this will return null - /// the to convert from - /// the to convert to - /// not used by this TypeConverter. - /// when set to true, will ignore the case when converting. - /// will always return null. - public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null; - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/ErrorResponseAutoGenerated.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/ErrorResponseAutoGenerated.cs deleted file mode 100644 index df7cba0bfce2..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/ErrorResponseAutoGenerated.cs +++ /dev/null @@ -1,151 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models -{ - using static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Extensions; - - /// - /// Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows - /// the OData error response format.). - /// - public partial class ErrorResponseAutoGenerated : - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorResponseAutoGenerated, - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorResponseAutoGeneratedInternal - { - - /// The error additional info. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)] - public System.Collections.Generic.List AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailAutoGeneratedInternal)Error).AdditionalInfo; } - - /// The error code. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)] - public string Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailAutoGeneratedInternal)Error).Code; } - - /// The error details. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)] - public System.Collections.Generic.List Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailAutoGeneratedInternal)Error).Detail; } - - /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailAutoGenerated _error; - - /// The error object. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailAutoGenerated Error { get => (this._error = this._error ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ErrorDetailAutoGenerated()); set => this._error = value; } - - /// The error message. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)] - public string Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailAutoGeneratedInternal)Error).Message; } - - /// Internal Acessors for AdditionalInfo - System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorResponseAutoGeneratedInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailAutoGeneratedInternal)Error).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailAutoGeneratedInternal)Error).AdditionalInfo = value; } - - /// Internal Acessors for Code - string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorResponseAutoGeneratedInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailAutoGeneratedInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailAutoGeneratedInternal)Error).Code = value; } - - /// Internal Acessors for Detail - System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorResponseAutoGeneratedInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailAutoGeneratedInternal)Error).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailAutoGeneratedInternal)Error).Detail = value; } - - /// Internal Acessors for Error - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailAutoGenerated Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorResponseAutoGeneratedInternal.Error { get => (this._error = this._error ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ErrorDetailAutoGenerated()); set { {_error = value;} } } - - /// Internal Acessors for Message - string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorResponseAutoGeneratedInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailAutoGeneratedInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailAutoGeneratedInternal)Error).Message = value; } - - /// Internal Acessors for Target - string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorResponseAutoGeneratedInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailAutoGeneratedInternal)Error).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailAutoGeneratedInternal)Error).Target = value; } - - /// The error target. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)] - public string Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailAutoGeneratedInternal)Error).Target; } - - /// Creates an new instance. - public ErrorResponseAutoGenerated() - { - - } - } - /// Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows - /// the OData error response format.). - public partial interface IErrorResponseAutoGenerated : - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IJsonSerializable - { - /// The error additional info. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = true, - Read = true, - Create = false, - Update = false, - Description = @"The error additional info.", - SerializedName = @"additionalInfo", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorAdditionalInfo) })] - System.Collections.Generic.List AdditionalInfo { get; } - /// The error code. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = true, - Read = true, - Create = false, - Update = false, - Description = @"The error code.", - SerializedName = @"code", - PossibleTypes = new [] { typeof(string) })] - string Code { get; } - /// The error details. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = true, - Read = true, - Create = false, - Update = false, - Description = @"The error details.", - SerializedName = @"details", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailAutoGenerated) })] - System.Collections.Generic.List Detail { get; } - /// The error message. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = true, - Read = true, - Create = false, - Update = false, - Description = @"The error message.", - SerializedName = @"message", - PossibleTypes = new [] { typeof(string) })] - string Message { get; } - /// The error target. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = true, - Read = true, - Create = false, - Update = false, - Description = @"The error target.", - SerializedName = @"target", - PossibleTypes = new [] { typeof(string) })] - string Target { get; } - - } - /// Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows - /// the OData error response format.). - internal partial interface IErrorResponseAutoGeneratedInternal - - { - /// The error additional info. - System.Collections.Generic.List AdditionalInfo { get; set; } - /// The error code. - string Code { get; set; } - /// The error details. - System.Collections.Generic.List Detail { get; set; } - /// The error object. - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailAutoGenerated Error { get; set; } - /// The error message. - string Message { get; set; } - /// The error target. - string Target { get; set; } - - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/ErrorResponseAutoGenerated.json.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/ErrorResponseAutoGenerated.json.cs deleted file mode 100644 index 8b6cb4fadd85..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/ErrorResponseAutoGenerated.json.cs +++ /dev/null @@ -1,111 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models -{ - using static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Extensions; - - /// - /// Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows - /// the OData error response format.). - /// - public partial class ErrorResponseAutoGenerated - { - - /// - /// AfterFromJson will be called after the json deserialization has finished, allowing customization of the object - /// before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The JsonNode that should be deserialized into this object. - - partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json); - - /// - /// AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The JSON container that the serialization result will be placed in. - - partial void AfterToJson(ref Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject container); - - /// - /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of - /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the - /// output parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The JsonNode that should be deserialized into this object. - /// Determines if the rest of the deserialization should be processed, or if the method should return - /// instantly. - - partial void BeforeFromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json, ref bool returnNow); - - /// - /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the - /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output - /// parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The JSON container that the serialization result will be placed in. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject container, ref bool returnNow); - - /// - /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject into a new instance of . - /// - /// A Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject instance to deserialize from. - internal ErrorResponseAutoGenerated(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json) - { - bool returnNow = false; - BeforeFromJson(json, ref returnNow); - if (returnNow) - { - return; - } - {_error = If( json?.PropertyT("error"), out var __jsonError) ? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ErrorDetailAutoGenerated.FromJson(__jsonError) : _error;} - AfterFromJson(json); - } - - /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorResponseAutoGenerated. - /// - /// a to deserialize from. - /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorResponseAutoGenerated. - /// - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorResponseAutoGenerated FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode node) - { - return node is Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json ? new ErrorResponseAutoGenerated(json) : null; - } - - /// - /// Serializes this instance of 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 . - /// - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode) - { - container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject(); - - bool returnNow = false; - BeforeToJson(ref container, ref returnNow); - if (returnNow) - { - return container; - } - AddIf( null != this._error ? (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode) this._error.ToJson(null,serializationMode) : null, "error" ,container.Add ); - AfterToJson(ref container); - return container; - } - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/Gateway.PowerShell.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/Gateway.PowerShell.cs deleted file mode 100644 index 5efbbdbe4ef8..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/Gateway.PowerShell.cs +++ /dev/null @@ -1,300 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models -{ - using Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell; - - /// Describes an Arc Gateway. - [System.ComponentModel.TypeConverter(typeof(GatewayTypeConverter))] - public partial class Gateway - { - - /// - /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the - /// object before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The global::System.Collections.IDictionary content that should be used. - - partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); - - /// - /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object - /// before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The global::System.Management.Automation.PSObject content that should be used. - - partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); - - /// - /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization - /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output - /// parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The global::System.Collections.IDictionary content that should be used. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); - - /// - /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization - /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output - /// parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The global::System.Management.Automation.PSObject content that should be used. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); - - /// - /// OverrideToString will be called if it is implemented. Implement this method in a partial class to enable this behavior - /// - /// /// instance serialized to a string, normally it is a Json - /// /// set returnNow to true if you provide a customized OverrideToString function - - partial void OverrideToString(ref string stringResult, ref bool returnNow); - - /// - /// Deserializes a into an instance of . - /// - /// The global::System.Collections.IDictionary content that should be used. - /// - /// an instance of . - /// - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGateway DeserializeFromDictionary(global::System.Collections.IDictionary content) - { - return new Gateway(content); - } - - /// - /// Deserializes a into an instance of . - /// - /// The global::System.Management.Automation.PSObject content that should be used. - /// - /// an instance of . - /// - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGateway DeserializeFromPSObject(global::System.Management.Automation.PSObject content) - { - return new Gateway(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. - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGateway FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(jsonText)); - - /// - /// Deserializes a into a new instance of . - /// - /// The global::System.Collections.IDictionary content that should be used. - internal Gateway(global::System.Collections.IDictionary content) - { - bool returnNow = false; - BeforeDeserializeDictionary(content, ref returnNow); - if (returnNow) - { - return; - } - // actually deserialize - if (content.Contains("Property")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.GatewayPropertiesTypeConverter.ConvertFrom); - } - if (content.Contains("SystemDataCreatedBy")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)this).SystemDataCreatedBy = (string) content.GetValueForProperty("SystemDataCreatedBy",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)this).SystemDataCreatedBy, global::System.Convert.ToString); - } - if (content.Contains("SystemDataCreatedAt")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)this).SystemDataCreatedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataCreatedAt",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)this).SystemDataCreatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); - } - if (content.Contains("SystemDataCreatedByType")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)this).SystemDataCreatedByType = (string) content.GetValueForProperty("SystemDataCreatedByType",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)this).SystemDataCreatedByType, global::System.Convert.ToString); - } - if (content.Contains("SystemDataLastModifiedBy")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)this).SystemDataLastModifiedBy = (string) content.GetValueForProperty("SystemDataLastModifiedBy",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)this).SystemDataLastModifiedBy, global::System.Convert.ToString); - } - if (content.Contains("SystemDataLastModifiedByType")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)this).SystemDataLastModifiedByType = (string) content.GetValueForProperty("SystemDataLastModifiedByType",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)this).SystemDataLastModifiedByType, global::System.Convert.ToString); - } - if (content.Contains("SystemDataLastModifiedAt")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)this).SystemDataLastModifiedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataLastModifiedAt",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)this).SystemDataLastModifiedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); - } - if (content.Contains("SystemData")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.SystemDataTypeConverter.ConvertFrom); - } - if (content.Contains("Id")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)this).Id, global::System.Convert.ToString); - } - if (content.Contains("Name")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)this).Name, global::System.Convert.ToString); - } - if (content.Contains("Type")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)this).Type, global::System.Convert.ToString); - } - if (content.Contains("Tags")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceAutoGeneratedInternal)this).Tags = (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceTags) content.GetValueForProperty("Tags",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceAutoGeneratedInternal)this).Tags, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.TrackedResourceTagsTypeConverter.ConvertFrom); - } - if (content.Contains("Location")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceAutoGeneratedInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceAutoGeneratedInternal)this).Location, global::System.Convert.ToString); - } - if (content.Contains("ProvisioningState")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayInternal)this).ProvisioningState = (string) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayInternal)this).ProvisioningState, global::System.Convert.ToString); - } - if (content.Contains("GatewayType")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayInternal)this).GatewayType = (string) content.GetValueForProperty("GatewayType",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayInternal)this).GatewayType, global::System.Convert.ToString); - } - if (content.Contains("GatewayId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayInternal)this).GatewayId = (string) content.GetValueForProperty("GatewayId",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayInternal)this).GatewayId, global::System.Convert.ToString); - } - if (content.Contains("Endpoint")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayInternal)this).Endpoint = (string) content.GetValueForProperty("Endpoint",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayInternal)this).Endpoint, global::System.Convert.ToString); - } - if (content.Contains("AllowedFeature")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayInternal)this).AllowedFeature = (System.Collections.Generic.List) content.GetValueForProperty("AllowedFeature",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayInternal)this).AllowedFeature, __y => TypeConverterExtensions.SelectToList(__y, global::System.Convert.ToString)); - } - AfterDeserializeDictionary(content); - } - - /// - /// Deserializes a into a new instance of . - /// - /// The global::System.Management.Automation.PSObject content that should be used. - internal Gateway(global::System.Management.Automation.PSObject content) - { - bool returnNow = false; - BeforeDeserializePSObject(content, ref returnNow); - if (returnNow) - { - return; - } - // actually deserialize - if (content.Contains("Property")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.GatewayPropertiesTypeConverter.ConvertFrom); - } - if (content.Contains("SystemDataCreatedBy")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)this).SystemDataCreatedBy = (string) content.GetValueForProperty("SystemDataCreatedBy",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)this).SystemDataCreatedBy, global::System.Convert.ToString); - } - if (content.Contains("SystemDataCreatedAt")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)this).SystemDataCreatedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataCreatedAt",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)this).SystemDataCreatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); - } - if (content.Contains("SystemDataCreatedByType")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)this).SystemDataCreatedByType = (string) content.GetValueForProperty("SystemDataCreatedByType",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)this).SystemDataCreatedByType, global::System.Convert.ToString); - } - if (content.Contains("SystemDataLastModifiedBy")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)this).SystemDataLastModifiedBy = (string) content.GetValueForProperty("SystemDataLastModifiedBy",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)this).SystemDataLastModifiedBy, global::System.Convert.ToString); - } - if (content.Contains("SystemDataLastModifiedByType")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)this).SystemDataLastModifiedByType = (string) content.GetValueForProperty("SystemDataLastModifiedByType",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)this).SystemDataLastModifiedByType, global::System.Convert.ToString); - } - if (content.Contains("SystemDataLastModifiedAt")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)this).SystemDataLastModifiedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataLastModifiedAt",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)this).SystemDataLastModifiedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); - } - if (content.Contains("SystemData")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.SystemDataTypeConverter.ConvertFrom); - } - if (content.Contains("Id")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)this).Id, global::System.Convert.ToString); - } - if (content.Contains("Name")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)this).Name, global::System.Convert.ToString); - } - if (content.Contains("Type")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)this).Type, global::System.Convert.ToString); - } - if (content.Contains("Tags")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceAutoGeneratedInternal)this).Tags = (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceTags) content.GetValueForProperty("Tags",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceAutoGeneratedInternal)this).Tags, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.TrackedResourceTagsTypeConverter.ConvertFrom); - } - if (content.Contains("Location")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceAutoGeneratedInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceAutoGeneratedInternal)this).Location, global::System.Convert.ToString); - } - if (content.Contains("ProvisioningState")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayInternal)this).ProvisioningState = (string) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayInternal)this).ProvisioningState, global::System.Convert.ToString); - } - if (content.Contains("GatewayType")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayInternal)this).GatewayType = (string) content.GetValueForProperty("GatewayType",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayInternal)this).GatewayType, global::System.Convert.ToString); - } - if (content.Contains("GatewayId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayInternal)this).GatewayId = (string) content.GetValueForProperty("GatewayId",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayInternal)this).GatewayId, global::System.Convert.ToString); - } - if (content.Contains("Endpoint")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayInternal)this).Endpoint = (string) content.GetValueForProperty("Endpoint",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayInternal)this).Endpoint, global::System.Convert.ToString); - } - if (content.Contains("AllowedFeature")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayInternal)this).AllowedFeature = (System.Collections.Generic.List) content.GetValueForProperty("AllowedFeature",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayInternal)this).AllowedFeature, __y => TypeConverterExtensions.SelectToList(__y, global::System.Convert.ToString)); - } - AfterDeserializePSObject(content); - } - - /// Serializes this instance to a json string. - - /// a containing this model serialized to JSON text. - public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeAll)?.ToString(); - - public override string ToString() - { - var returnNow = false; - var result = global::System.String.Empty; - OverrideToString(ref result, ref returnNow); - if (returnNow) - { - return result; - } - return ToJsonString(); - } - } - /// Describes an Arc Gateway. - [System.ComponentModel.TypeConverter(typeof(GatewayTypeConverter))] - public partial interface IGateway - - { - - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/Gateway.TypeConverter.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/Gateway.TypeConverter.cs deleted file mode 100644 index bd78eef7f161..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/Gateway.TypeConverter.cs +++ /dev/null @@ -1,146 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models -{ - using Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell; - - /// - /// A PowerShell PSTypeConverter to support converting to an instance of - /// - public partial class GatewayTypeConverter : global::System.Management.Automation.PSTypeConverter - { - - /// - /// Determines if the converter can convert the parameter to the parameter. - /// - /// the to convert from - /// the to convert to - /// - /// true if the converter can convert the parameter to the parameter, otherwise false. - /// - public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); - - /// - /// Determines if the converter can convert the parameter to the type. - /// - /// the instance to check if it can be converted to the type. - /// - /// true if the instance could be converted to a type, otherwise false - /// - public static bool CanConvertFrom(dynamic sourceValue) - { - if (null == sourceValue) - { - return true; - } - global::System.Type type = sourceValue.GetType(); - if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) - { - // we say yest to PSObjects - return true; - } - if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) - { - // we say yest to Hashtables/dictionaries - return true; - } - try - { - if (null != sourceValue.ToJsonString()) - { - return true; - } - } - catch - { - // Not one of our objects - } - try - { - string text = sourceValue.ToString()?.Trim(); - return true == text?.StartsWith("{") && true == text?.EndsWith("}") && Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(text).Type == Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonType.Object; - } - catch - { - // Doesn't look like it can be treated as JSON - } - return false; - } - - /// - /// Determines if the parameter can be converted to the - /// parameter - /// - /// the to convert from - /// the to convert to - /// - /// true if the converter can convert the parameter to the parameter, otherwise false - /// - public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; - - /// - /// Converts the parameter to the parameter using and - /// - /// the to convert from - /// the to convert to - /// 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. - /// - 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 - /// - /// the value to convert into an instance of . - /// - /// an instance of , or null if there is no suitable conversion. - /// - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGateway ConvertFrom(dynamic sourceValue) - { - if (null == sourceValue) - { - return null; - } - global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGateway).IsAssignableFrom(type)) - { - return sourceValue; - } - try - { - return Gateway.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; - } - catch - { - // Unable to use JSON pattern - } - if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) - { - return Gateway.DeserializeFromPSObject(sourceValue); - } - if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) - { - return Gateway.DeserializeFromDictionary(sourceValue); - } - return null; - } - - /// NotImplemented -- this will return null - /// the to convert from - /// the to convert to - /// not used by this TypeConverter. - /// when set to true, will ignore the case when converting. - /// will always return null. - public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null; - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/Gateway.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/Gateway.cs deleted file mode 100644 index 8dbc99573de1..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/Gateway.cs +++ /dev/null @@ -1,233 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models -{ - using static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Extensions; - - /// Describes an Arc Gateway. - public partial class Gateway : - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGateway, - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayInternal, - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IValidates - { - /// - /// Backing field for Inherited model - /// - private Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceAutoGenerated __trackedResourceAutoGenerated = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.TrackedResourceAutoGenerated(); - - /// Specifies the list of features that are enabled for this Gateway. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)] - public System.Collections.Generic.List AllowedFeature { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayPropertiesInternal)Property).AllowedFeature; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayPropertiesInternal)Property).AllowedFeature = value ?? null /* arrayOf */; } - - /// The endpoint fqdn for the Gateway. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)] - public string Endpoint { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayPropertiesInternal)Property).GatewayEndpoint; } - - /// A unique, immutable, identifier for the Gateway. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)] - public string GatewayId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayPropertiesInternal)Property).GatewayId; } - - /// The type of the Gateway resource. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)] - public string GatewayType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayPropertiesInternal)Property).GatewayType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayPropertiesInternal)Property).GatewayType = value ?? null; } - - /// - /// Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" - /// - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)] - public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).Id; } - - /// The geo-location where the resource lives - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)] - public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).Location = value ; } - - /// Internal Acessors for Endpoint - string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayInternal.Endpoint { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayPropertiesInternal)Property).GatewayEndpoint; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayPropertiesInternal)Property).GatewayEndpoint = value; } - - /// Internal Acessors for GatewayId - string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayInternal.GatewayId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayPropertiesInternal)Property).GatewayId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayPropertiesInternal)Property).GatewayId = value; } - - /// Internal Acessors for Property - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayProperties Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.GatewayProperties()); set { {_property = value;} } } - - /// Internal Acessors for ProvisioningState - string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayPropertiesInternal)Property).ProvisioningState = value; } - - /// Internal Acessors for Id - string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).Id = value; } - - /// Internal Acessors for Name - string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).Name = value; } - - /// Internal Acessors for SystemData - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).SystemData = value; } - - /// Internal Acessors for Type - string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).Type = value; } - - /// The name of the resource - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)] - public string Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).Name; } - - /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayProperties _property; - - /// Hybrid Compute Gateway properties - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayProperties Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.GatewayProperties()); set => this._property = value; } - - /// The provisioning state, which only appears in the response. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)] - public string ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayPropertiesInternal)Property).ProvisioningState; } - - /// Gets the resource group name - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Owned)] - public string ResourceGroupName { get => (new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(this.Id).Success ? new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(this.Id).Groups["resourceGroupName"].Value : null); } - - /// - /// Azure Resource Manager metadata containing createdBy and modifiedBy information. - /// - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)] - internal Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).SystemData; } - - /// The timestamp of resource creation (UTC). - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)] - public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).SystemDataCreatedAt = value ?? default(global::System.DateTime); } - - /// The identity that created the resource. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)] - public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).SystemDataCreatedBy = value ?? null; } - - /// The type of identity that created the resource. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)] - public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).SystemDataCreatedByType = value ?? null; } - - /// The timestamp of resource last modification (UTC) - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)] - public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); } - - /// The identity that last modified the resource. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)] - public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).SystemDataLastModifiedBy = value ?? null; } - - /// The type of identity that last modified the resource. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)] - public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).SystemDataLastModifiedByType = value ?? null; } - - /// Resource tags. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)] - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceTags Tags { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).Tags; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).Tags = value ?? null /* model class */; } - - /// - /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - /// - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)] - public string Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).Type; } - - /// Creates an new instance. - public Gateway() - { - - } - - /// Validates that this object meets the validation criteria. - /// an instance that will receive validation - /// events. - /// - /// A that will be complete when validation is completed. - /// - public async global::System.Threading.Tasks.Task Validate(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) - { - await eventListener.AssertNotNull(nameof(__trackedResourceAutoGenerated), __trackedResourceAutoGenerated); - await eventListener.AssertObjectIsValid(nameof(__trackedResourceAutoGenerated), __trackedResourceAutoGenerated); - } - } - /// Describes an Arc Gateway. - public partial interface IGateway : - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IJsonSerializable, - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceAutoGenerated - { - /// Specifies the list of features that are enabled for this Gateway. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Read = true, - Create = true, - Update = true, - Description = @"Specifies the list of features that are enabled for this Gateway.", - SerializedName = @"allowedFeatures", - PossibleTypes = new [] { typeof(string) })] - System.Collections.Generic.List AllowedFeature { get; set; } - /// The endpoint fqdn for the Gateway. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = true, - Read = true, - Create = false, - Update = false, - Description = @"The endpoint fqdn for the Gateway.", - SerializedName = @"gatewayEndpoint", - PossibleTypes = new [] { typeof(string) })] - string Endpoint { get; } - /// A unique, immutable, identifier for the Gateway. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = true, - Read = true, - Create = false, - Update = false, - Description = @"A unique, immutable, identifier for the Gateway.", - SerializedName = @"gatewayId", - PossibleTypes = new [] { typeof(string) })] - string GatewayId { get; } - /// The type of the Gateway resource. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Read = true, - Create = true, - Update = true, - Description = @"The type of the Gateway resource.", - SerializedName = @"gatewayType", - PossibleTypes = new [] { typeof(string) })] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PSArgumentCompleterAttribute("Public")] - string GatewayType { get; set; } - /// The provisioning state, which only appears in the response. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = true, - Read = true, - Create = false, - Update = false, - Description = @"The provisioning state, which only appears in the response.", - SerializedName = @"provisioningState", - PossibleTypes = new [] { typeof(string) })] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PSArgumentCompleterAttribute("Creating", "Updating", "Deleting", "Succeeded", "Failed", "Accepted", "Canceled", "Deleted")] - string ProvisioningState { get; } - - } - /// Describes an Arc Gateway. - internal partial interface IGatewayInternal : - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceAutoGeneratedInternal - { - /// Specifies the list of features that are enabled for this Gateway. - System.Collections.Generic.List AllowedFeature { get; set; } - /// The endpoint fqdn for the Gateway. - string Endpoint { get; set; } - /// A unique, immutable, identifier for the Gateway. - string GatewayId { get; set; } - /// The type of the Gateway resource. - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PSArgumentCompleterAttribute("Public")] - string GatewayType { get; set; } - /// Hybrid Compute Gateway properties - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayProperties Property { get; set; } - /// The provisioning state, which only appears in the response. - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PSArgumentCompleterAttribute("Creating", "Updating", "Deleting", "Succeeded", "Failed", "Accepted", "Canceled", "Deleted")] - string ProvisioningState { get; set; } - - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/Gateway.json.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/Gateway.json.cs deleted file mode 100644 index 439e3e685d6a..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/Gateway.json.cs +++ /dev/null @@ -1,110 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models -{ - using static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Extensions; - - /// Describes an Arc Gateway. - public partial class Gateway - { - - /// - /// AfterFromJson will be called after the json deserialization has finished, allowing customization of the object - /// before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The JsonNode that should be deserialized into this object. - - partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json); - - /// - /// AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The JSON container that the serialization result will be placed in. - - partial void AfterToJson(ref Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject container); - - /// - /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of - /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the - /// output parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The JsonNode that should be deserialized into this object. - /// Determines if the rest of the deserialization should be processed, or if the method should return - /// instantly. - - partial void BeforeFromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json, ref bool returnNow); - - /// - /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the - /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output - /// parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The JSON container that the serialization result will be placed in. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject container, ref bool returnNow); - - /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGateway. - /// - /// a to deserialize from. - /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGateway. - /// - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGateway FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode node) - { - return node is Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json ? new Gateway(json) : null; - } - - /// - /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject into a new instance of . - /// - /// A Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject instance to deserialize from. - internal Gateway(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json) - { - bool returnNow = false; - BeforeFromJson(json, ref returnNow); - if (returnNow) - { - return; - } - __trackedResourceAutoGenerated = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.TrackedResourceAutoGenerated(json); - {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.GatewayProperties.FromJson(__jsonProperties) : _property;} - AfterFromJson(json); - } - - /// - /// Serializes this instance of 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 . - /// - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode) - { - container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject(); - - bool returnNow = false; - BeforeToJson(ref container, ref returnNow); - if (returnNow) - { - return container; - } - __trackedResourceAutoGenerated?.ToJson(container, serializationMode); - AddIf( null != this._property ? (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode) this._property.ToJson(null,serializationMode) : null, "properties" ,container.Add ); - AfterToJson(ref container); - return container; - } - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/GatewayProperties.PowerShell.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/GatewayProperties.PowerShell.cs deleted file mode 100644 index 7a2b081cda70..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/GatewayProperties.PowerShell.cs +++ /dev/null @@ -1,196 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models -{ - using Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell; - - /// Describes the properties of a Gateway Profile. - [System.ComponentModel.TypeConverter(typeof(GatewayPropertiesTypeConverter))] - public partial class GatewayProperties - { - - /// - /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the - /// object before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The global::System.Collections.IDictionary content that should be used. - - partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); - - /// - /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object - /// before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The global::System.Management.Automation.PSObject content that should be used. - - partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); - - /// - /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization - /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output - /// parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The global::System.Collections.IDictionary content that should be used. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); - - /// - /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization - /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output - /// parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The global::System.Management.Automation.PSObject content that should be used. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); - - /// - /// OverrideToString will be called if it is implemented. Implement this method in a partial class to enable this behavior - /// - /// /// instance serialized to a string, normally it is a Json - /// /// set returnNow to true if you provide a customized OverrideToString function - - partial void OverrideToString(ref string stringResult, ref bool returnNow); - - /// - /// Deserializes a into an instance of . - /// - /// The global::System.Collections.IDictionary content that should be used. - /// - /// an instance of . - /// - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) - { - return new GatewayProperties(content); - } - - /// - /// Deserializes a into an instance of . - /// - /// The global::System.Management.Automation.PSObject content that should be used. - /// - /// an instance of . - /// - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) - { - return new GatewayProperties(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. - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(jsonText)); - - /// - /// Deserializes a into a new instance of . - /// - /// The global::System.Collections.IDictionary content that should be used. - internal GatewayProperties(global::System.Collections.IDictionary content) - { - bool returnNow = false; - BeforeDeserializeDictionary(content, ref returnNow); - if (returnNow) - { - return; - } - // actually deserialize - if (content.Contains("ProvisioningState")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayPropertiesInternal)this).ProvisioningState = (string) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayPropertiesInternal)this).ProvisioningState, global::System.Convert.ToString); - } - if (content.Contains("GatewayId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayPropertiesInternal)this).GatewayId = (string) content.GetValueForProperty("GatewayId",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayPropertiesInternal)this).GatewayId, global::System.Convert.ToString); - } - if (content.Contains("GatewayType")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayPropertiesInternal)this).GatewayType = (string) content.GetValueForProperty("GatewayType",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayPropertiesInternal)this).GatewayType, global::System.Convert.ToString); - } - if (content.Contains("GatewayEndpoint")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayPropertiesInternal)this).GatewayEndpoint = (string) content.GetValueForProperty("GatewayEndpoint",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayPropertiesInternal)this).GatewayEndpoint, global::System.Convert.ToString); - } - if (content.Contains("AllowedFeature")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayPropertiesInternal)this).AllowedFeature = (System.Collections.Generic.List) content.GetValueForProperty("AllowedFeature",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayPropertiesInternal)this).AllowedFeature, __y => TypeConverterExtensions.SelectToList(__y, global::System.Convert.ToString)); - } - AfterDeserializeDictionary(content); - } - - /// - /// Deserializes a into a new instance of . - /// - /// The global::System.Management.Automation.PSObject content that should be used. - internal GatewayProperties(global::System.Management.Automation.PSObject content) - { - bool returnNow = false; - BeforeDeserializePSObject(content, ref returnNow); - if (returnNow) - { - return; - } - // actually deserialize - if (content.Contains("ProvisioningState")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayPropertiesInternal)this).ProvisioningState = (string) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayPropertiesInternal)this).ProvisioningState, global::System.Convert.ToString); - } - if (content.Contains("GatewayId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayPropertiesInternal)this).GatewayId = (string) content.GetValueForProperty("GatewayId",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayPropertiesInternal)this).GatewayId, global::System.Convert.ToString); - } - if (content.Contains("GatewayType")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayPropertiesInternal)this).GatewayType = (string) content.GetValueForProperty("GatewayType",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayPropertiesInternal)this).GatewayType, global::System.Convert.ToString); - } - if (content.Contains("GatewayEndpoint")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayPropertiesInternal)this).GatewayEndpoint = (string) content.GetValueForProperty("GatewayEndpoint",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayPropertiesInternal)this).GatewayEndpoint, global::System.Convert.ToString); - } - if (content.Contains("AllowedFeature")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayPropertiesInternal)this).AllowedFeature = (System.Collections.Generic.List) content.GetValueForProperty("AllowedFeature",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayPropertiesInternal)this).AllowedFeature, __y => TypeConverterExtensions.SelectToList(__y, global::System.Convert.ToString)); - } - AfterDeserializePSObject(content); - } - - /// Serializes this instance to a json string. - - /// a containing this model serialized to JSON text. - public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeAll)?.ToString(); - - public override string ToString() - { - var returnNow = false; - var result = global::System.String.Empty; - OverrideToString(ref result, ref returnNow); - if (returnNow) - { - return result; - } - return ToJsonString(); - } - } - /// Describes the properties of a Gateway Profile. - [System.ComponentModel.TypeConverter(typeof(GatewayPropertiesTypeConverter))] - public partial interface IGatewayProperties - - { - - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/GatewayProperties.TypeConverter.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/GatewayProperties.TypeConverter.cs deleted file mode 100644 index 0764571cdd91..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/GatewayProperties.TypeConverter.cs +++ /dev/null @@ -1,147 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models -{ - using Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell; - - /// - /// A PowerShell PSTypeConverter to support converting to an instance of - /// - public partial class GatewayPropertiesTypeConverter : global::System.Management.Automation.PSTypeConverter - { - - /// - /// Determines if the converter can convert the parameter to the parameter. - /// - /// the to convert from - /// the to convert to - /// - /// true if the converter can convert the parameter to the parameter, otherwise false. - /// - public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); - - /// - /// Determines if the converter can convert the parameter to the - /// type. - /// - /// the instance to check if it can be converted to the type. - /// - /// true if the instance could be converted to a type, otherwise false - /// - public static bool CanConvertFrom(dynamic sourceValue) - { - if (null == sourceValue) - { - return true; - } - global::System.Type type = sourceValue.GetType(); - if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) - { - // we say yest to PSObjects - return true; - } - if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) - { - // we say yest to Hashtables/dictionaries - return true; - } - try - { - if (null != sourceValue.ToJsonString()) - { - return true; - } - } - catch - { - // Not one of our objects - } - try - { - string text = sourceValue.ToString()?.Trim(); - return true == text?.StartsWith("{") && true == text?.EndsWith("}") && Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(text).Type == Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonType.Object; - } - catch - { - // Doesn't look like it can be treated as JSON - } - return false; - } - - /// - /// Determines if the parameter can be converted to the - /// parameter - /// - /// the to convert from - /// the to convert to - /// - /// true if the converter can convert the parameter to the parameter, otherwise false - /// - public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; - - /// - /// Converts the parameter to the parameter using and - /// - /// the to convert from - /// the to convert to - /// 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. - /// - 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 - /// - /// the value to convert into an instance of . - /// - /// an instance of , or null if there is no suitable conversion. - /// - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayProperties ConvertFrom(dynamic sourceValue) - { - if (null == sourceValue) - { - return null; - } - global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayProperties).IsAssignableFrom(type)) - { - return sourceValue; - } - try - { - return GatewayProperties.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; - } - catch - { - // Unable to use JSON pattern - } - if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) - { - return GatewayProperties.DeserializeFromPSObject(sourceValue); - } - if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) - { - return GatewayProperties.DeserializeFromDictionary(sourceValue); - } - return null; - } - - /// NotImplemented -- this will return null - /// the to convert from - /// the to convert to - /// not used by this TypeConverter. - /// when set to true, will ignore the case when converting. - /// will always return null. - public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null; - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/GatewayProperties.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/GatewayProperties.cs deleted file mode 100644 index 7c66014eece1..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/GatewayProperties.cs +++ /dev/null @@ -1,147 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models -{ - using static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Extensions; - - /// Describes the properties of a Gateway Profile. - public partial class GatewayProperties : - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayProperties, - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayPropertiesInternal - { - - /// Backing field for property. - private System.Collections.Generic.List _allowedFeature; - - /// Specifies the list of features that are enabled for this Gateway. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Owned)] - public System.Collections.Generic.List AllowedFeature { get => this._allowedFeature; set => this._allowedFeature = value; } - - /// Backing field for property. - private string _gatewayEndpoint; - - /// The endpoint fqdn for the Gateway. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Owned)] - public string GatewayEndpoint { get => this._gatewayEndpoint; } - - /// Backing field for property. - private string _gatewayId; - - /// A unique, immutable, identifier for the Gateway. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Owned)] - public string GatewayId { get => this._gatewayId; } - - /// Backing field for property. - private string _gatewayType; - - /// The type of the Gateway resource. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Owned)] - public string GatewayType { get => this._gatewayType; set => this._gatewayType = value; } - - /// Internal Acessors for GatewayEndpoint - string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayPropertiesInternal.GatewayEndpoint { get => this._gatewayEndpoint; set { {_gatewayEndpoint = value;} } } - - /// Internal Acessors for GatewayId - string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayPropertiesInternal.GatewayId { get => this._gatewayId; set { {_gatewayId = value;} } } - - /// Internal Acessors for ProvisioningState - string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayPropertiesInternal.ProvisioningState { get => this._provisioningState; set { {_provisioningState = value;} } } - - /// Backing field for property. - private string _provisioningState; - - /// The provisioning state, which only appears in the response. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Owned)] - public string ProvisioningState { get => this._provisioningState; } - - /// Creates an new instance. - public GatewayProperties() - { - - } - } - /// Describes the properties of a Gateway Profile. - public partial interface IGatewayProperties : - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IJsonSerializable - { - /// Specifies the list of features that are enabled for this Gateway. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Read = true, - Create = true, - Update = true, - Description = @"Specifies the list of features that are enabled for this Gateway.", - SerializedName = @"allowedFeatures", - PossibleTypes = new [] { typeof(string) })] - System.Collections.Generic.List AllowedFeature { get; set; } - /// The endpoint fqdn for the Gateway. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = true, - Read = true, - Create = false, - Update = false, - Description = @"The endpoint fqdn for the Gateway.", - SerializedName = @"gatewayEndpoint", - PossibleTypes = new [] { typeof(string) })] - string GatewayEndpoint { get; } - /// A unique, immutable, identifier for the Gateway. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = true, - Read = true, - Create = false, - Update = false, - Description = @"A unique, immutable, identifier for the Gateway.", - SerializedName = @"gatewayId", - PossibleTypes = new [] { typeof(string) })] - string GatewayId { get; } - /// The type of the Gateway resource. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Read = true, - Create = true, - Update = true, - Description = @"The type of the Gateway resource.", - SerializedName = @"gatewayType", - PossibleTypes = new [] { typeof(string) })] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PSArgumentCompleterAttribute("Public")] - string GatewayType { get; set; } - /// The provisioning state, which only appears in the response. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = true, - Read = true, - Create = false, - Update = false, - Description = @"The provisioning state, which only appears in the response.", - SerializedName = @"provisioningState", - PossibleTypes = new [] { typeof(string) })] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PSArgumentCompleterAttribute("Creating", "Updating", "Deleting", "Succeeded", "Failed", "Accepted", "Canceled", "Deleted")] - string ProvisioningState { get; } - - } - /// Describes the properties of a Gateway Profile. - internal partial interface IGatewayPropertiesInternal - - { - /// Specifies the list of features that are enabled for this Gateway. - System.Collections.Generic.List AllowedFeature { get; set; } - /// The endpoint fqdn for the Gateway. - string GatewayEndpoint { get; set; } - /// A unique, immutable, identifier for the Gateway. - string GatewayId { get; set; } - /// The type of the Gateway resource. - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PSArgumentCompleterAttribute("Public")] - string GatewayType { get; set; } - /// The provisioning state, which only appears in the response. - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PSArgumentCompleterAttribute("Creating", "Updating", "Deleting", "Succeeded", "Failed", "Accepted", "Canceled", "Deleted")] - string ProvisioningState { get; set; } - - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/GatewayProperties.json.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/GatewayProperties.json.cs deleted file mode 100644 index 1d1973de220d..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/GatewayProperties.json.cs +++ /dev/null @@ -1,133 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models -{ - using static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Extensions; - - /// Describes the properties of a Gateway Profile. - public partial class GatewayProperties - { - - /// - /// AfterFromJson will be called after the json deserialization has finished, allowing customization of the object - /// before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The JsonNode that should be deserialized into this object. - - partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json); - - /// - /// AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The JSON container that the serialization result will be placed in. - - partial void AfterToJson(ref Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject container); - - /// - /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of - /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the - /// output parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The JsonNode that should be deserialized into this object. - /// Determines if the rest of the deserialization should be processed, or if the method should return - /// instantly. - - partial void BeforeFromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json, ref bool returnNow); - - /// - /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the - /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output - /// parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The JSON container that the serialization result will be placed in. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject container, ref bool returnNow); - - /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayProperties. - /// - /// a to deserialize from. - /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayProperties. - /// - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode node) - { - return node is Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json ? new GatewayProperties(json) : null; - } - - /// - /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject into a new instance of . - /// - /// A Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject instance to deserialize from. - internal GatewayProperties(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json) - { - bool returnNow = false; - BeforeFromJson(json, ref returnNow); - if (returnNow) - { - return; - } - {_provisioningState = If( json?.PropertyT("provisioningState"), out var __jsonProvisioningState) ? (string)__jsonProvisioningState : (string)_provisioningState;} - {_gatewayId = If( json?.PropertyT("gatewayId"), out var __jsonGatewayId) ? (string)__jsonGatewayId : (string)_gatewayId;} - {_gatewayType = If( json?.PropertyT("gatewayType"), out var __jsonGatewayType) ? (string)__jsonGatewayType : (string)_gatewayType;} - {_gatewayEndpoint = If( json?.PropertyT("gatewayEndpoint"), out var __jsonGatewayEndpoint) ? (string)__jsonGatewayEndpoint : (string)_gatewayEndpoint;} - {_allowedFeature = If( json?.PropertyT("allowedFeatures"), out var __jsonAllowedFeatures) ? If( __jsonAllowedFeatures as Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonArray, out var __v) ? new global::System.Func>(()=> global::System.Linq.Enumerable.ToList(global::System.Linq.Enumerable.Select(__v, (__u)=>(string) (__u is Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonString __t ? (string)(__t.ToString()) : null)) ))() : null : _allowedFeature;} - AfterFromJson(json); - } - - /// - /// Serializes this instance of 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 . - /// - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode) - { - container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject(); - - bool returnNow = false; - BeforeToJson(ref container, ref returnNow); - if (returnNow) - { - return container; - } - if (serializationMode.HasFlag(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeRead)) - { - AddIf( null != (((object)this._provisioningState)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonString(this._provisioningState.ToString()) : null, "provisioningState" ,container.Add ); - } - if (serializationMode.HasFlag(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeRead)) - { - AddIf( null != (((object)this._gatewayId)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonString(this._gatewayId.ToString()) : null, "gatewayId" ,container.Add ); - } - AddIf( null != (((object)this._gatewayType)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonString(this._gatewayType.ToString()) : null, "gatewayType" ,container.Add ); - if (serializationMode.HasFlag(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeRead)) - { - AddIf( null != (((object)this._gatewayEndpoint)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonString(this._gatewayEndpoint.ToString()) : null, "gatewayEndpoint" ,container.Add ); - } - if (null != this._allowedFeature) - { - var __w = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.XNodeArray(); - foreach( var __x in this._allowedFeature ) - { - AddIf(null != (((object)__x)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonString(__x.ToString()) : null ,__w.Add); - } - container.Add("allowedFeatures",__w); - } - AfterToJson(ref container); - return container; - } - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/GatewayUpdate.PowerShell.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/GatewayUpdate.PowerShell.cs deleted file mode 100644 index fbe85a0d030c..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/GatewayUpdate.PowerShell.cs +++ /dev/null @@ -1,180 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models -{ - using Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell; - - /// Describes a License Update. - [System.ComponentModel.TypeConverter(typeof(GatewayUpdateTypeConverter))] - public partial class GatewayUpdate - { - - /// - /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the - /// object before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The global::System.Collections.IDictionary content that should be used. - - partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); - - /// - /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object - /// before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The global::System.Management.Automation.PSObject content that should be used. - - partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); - - /// - /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization - /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output - /// parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The global::System.Collections.IDictionary content that should be used. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); - - /// - /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization - /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output - /// parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The global::System.Management.Automation.PSObject content that should be used. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); - - /// - /// OverrideToString will be called if it is implemented. Implement this method in a partial class to enable this behavior - /// - /// /// instance serialized to a string, normally it is a Json - /// /// set returnNow to true if you provide a customized OverrideToString function - - partial void OverrideToString(ref string stringResult, ref bool returnNow); - - /// - /// Deserializes a into an instance of . - /// - /// The global::System.Collections.IDictionary content that should be used. - /// - /// an instance of . - /// - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayUpdate DeserializeFromDictionary(global::System.Collections.IDictionary content) - { - return new GatewayUpdate(content); - } - - /// - /// Deserializes a into an instance of . - /// - /// The global::System.Management.Automation.PSObject content that should be used. - /// - /// an instance of . - /// - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayUpdate DeserializeFromPSObject(global::System.Management.Automation.PSObject content) - { - return new GatewayUpdate(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. - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayUpdate FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(jsonText)); - - /// - /// Deserializes a into a new instance of . - /// - /// The global::System.Collections.IDictionary content that should be used. - internal GatewayUpdate(global::System.Collections.IDictionary content) - { - bool returnNow = false; - BeforeDeserializeDictionary(content, ref returnNow); - if (returnNow) - { - return; - } - // actually deserialize - if (content.Contains("Property")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayUpdateInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayUpdateProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayUpdateInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.GatewayUpdatePropertiesTypeConverter.ConvertFrom); - } - if (content.Contains("Tags")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceUpdateInternal)this).Tags = (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceUpdateTags) content.GetValueForProperty("Tags",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceUpdateInternal)this).Tags, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ResourceUpdateTagsTypeConverter.ConvertFrom); - } - if (content.Contains("AllowedFeature")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayUpdateInternal)this).AllowedFeature = (System.Collections.Generic.List) content.GetValueForProperty("AllowedFeature",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayUpdateInternal)this).AllowedFeature, __y => TypeConverterExtensions.SelectToList(__y, global::System.Convert.ToString)); - } - AfterDeserializeDictionary(content); - } - - /// - /// Deserializes a into a new instance of . - /// - /// The global::System.Management.Automation.PSObject content that should be used. - internal GatewayUpdate(global::System.Management.Automation.PSObject content) - { - bool returnNow = false; - BeforeDeserializePSObject(content, ref returnNow); - if (returnNow) - { - return; - } - // actually deserialize - if (content.Contains("Property")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayUpdateInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayUpdateProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayUpdateInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.GatewayUpdatePropertiesTypeConverter.ConvertFrom); - } - if (content.Contains("Tags")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceUpdateInternal)this).Tags = (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceUpdateTags) content.GetValueForProperty("Tags",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceUpdateInternal)this).Tags, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ResourceUpdateTagsTypeConverter.ConvertFrom); - } - if (content.Contains("AllowedFeature")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayUpdateInternal)this).AllowedFeature = (System.Collections.Generic.List) content.GetValueForProperty("AllowedFeature",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayUpdateInternal)this).AllowedFeature, __y => TypeConverterExtensions.SelectToList(__y, global::System.Convert.ToString)); - } - AfterDeserializePSObject(content); - } - - /// Serializes this instance to a json string. - - /// a containing this model serialized to JSON text. - public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeAll)?.ToString(); - - public override string ToString() - { - var returnNow = false; - var result = global::System.String.Empty; - OverrideToString(ref result, ref returnNow); - if (returnNow) - { - return result; - } - return ToJsonString(); - } - } - /// Describes a License Update. - [System.ComponentModel.TypeConverter(typeof(GatewayUpdateTypeConverter))] - public partial interface IGatewayUpdate - - { - - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/GatewayUpdate.TypeConverter.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/GatewayUpdate.TypeConverter.cs deleted file mode 100644 index 32e5ed7699f7..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/GatewayUpdate.TypeConverter.cs +++ /dev/null @@ -1,147 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models -{ - using Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell; - - /// - /// A PowerShell PSTypeConverter to support converting to an instance of - /// - public partial class GatewayUpdateTypeConverter : global::System.Management.Automation.PSTypeConverter - { - - /// - /// Determines if the converter can convert the parameter to the parameter. - /// - /// the to convert from - /// the to convert to - /// - /// true if the converter can convert the parameter to the parameter, otherwise false. - /// - public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); - - /// - /// Determines if the converter can convert the parameter to the - /// type. - /// - /// the instance to check if it can be converted to the type. - /// - /// true if the instance could be converted to a type, otherwise false - /// - public static bool CanConvertFrom(dynamic sourceValue) - { - if (null == sourceValue) - { - return true; - } - global::System.Type type = sourceValue.GetType(); - if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) - { - // we say yest to PSObjects - return true; - } - if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) - { - // we say yest to Hashtables/dictionaries - return true; - } - try - { - if (null != sourceValue.ToJsonString()) - { - return true; - } - } - catch - { - // Not one of our objects - } - try - { - string text = sourceValue.ToString()?.Trim(); - return true == text?.StartsWith("{") && true == text?.EndsWith("}") && Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(text).Type == Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonType.Object; - } - catch - { - // Doesn't look like it can be treated as JSON - } - return false; - } - - /// - /// Determines if the parameter can be converted to the - /// parameter - /// - /// the to convert from - /// the to convert to - /// - /// true if the converter can convert the parameter to the parameter, otherwise false - /// - public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; - - /// - /// Converts the parameter to the parameter using and - /// - /// the to convert from - /// the to convert to - /// 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. - /// - 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 - /// - /// the value to convert into an instance of . - /// - /// an instance of , or null if there is no suitable conversion. - /// - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayUpdate ConvertFrom(dynamic sourceValue) - { - if (null == sourceValue) - { - return null; - } - global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayUpdate).IsAssignableFrom(type)) - { - return sourceValue; - } - try - { - return GatewayUpdate.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; - } - catch - { - // Unable to use JSON pattern - } - if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) - { - return GatewayUpdate.DeserializeFromPSObject(sourceValue); - } - if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) - { - return GatewayUpdate.DeserializeFromDictionary(sourceValue); - } - return null; - } - - /// NotImplemented -- this will return null - /// the to convert from - /// the to convert to - /// not used by this TypeConverter. - /// when set to true, will ignore the case when converting. - /// will always return null. - public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null; - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/GatewayUpdate.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/GatewayUpdate.cs deleted file mode 100644 index eee8aad181e3..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/GatewayUpdate.cs +++ /dev/null @@ -1,86 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models -{ - using static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Extensions; - - /// Describes a License Update. - public partial class GatewayUpdate : - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayUpdate, - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayUpdateInternal, - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IValidates - { - /// - /// Backing field for Inherited model - /// - private Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceUpdate __resourceUpdate = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ResourceUpdate(); - - /// Specifies the list of features that are enabled for this Gateway. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)] - public System.Collections.Generic.List AllowedFeature { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayUpdatePropertiesInternal)Property).AllowedFeature; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayUpdatePropertiesInternal)Property).AllowedFeature = value ?? null /* arrayOf */; } - - /// Internal Acessors for Property - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayUpdateProperties Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayUpdateInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.GatewayUpdateProperties()); set { {_property = value;} } } - - /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayUpdateProperties _property; - - /// Gateway Update properties - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayUpdateProperties Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.GatewayUpdateProperties()); set => this._property = value; } - - /// Resource tags - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)] - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceUpdateTags Tags { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceUpdateInternal)__resourceUpdate).Tags; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceUpdateInternal)__resourceUpdate).Tags = value ?? null /* model class */; } - - /// Creates an new instance. - public GatewayUpdate() - { - - } - - /// Validates that this object meets the validation criteria. - /// an instance that will receive validation - /// events. - /// - /// A that will be complete when validation is completed. - /// - public async global::System.Threading.Tasks.Task Validate(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) - { - await eventListener.AssertNotNull(nameof(__resourceUpdate), __resourceUpdate); - await eventListener.AssertObjectIsValid(nameof(__resourceUpdate), __resourceUpdate); - } - } - /// Describes a License Update. - public partial interface IGatewayUpdate : - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IJsonSerializable, - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceUpdate - { - /// Specifies the list of features that are enabled for this Gateway. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Read = true, - Create = true, - Update = true, - Description = @"Specifies the list of features that are enabled for this Gateway.", - SerializedName = @"allowedFeatures", - PossibleTypes = new [] { typeof(string) })] - System.Collections.Generic.List AllowedFeature { get; set; } - - } - /// Describes a License Update. - internal partial interface IGatewayUpdateInternal : - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceUpdateInternal - { - /// Specifies the list of features that are enabled for this Gateway. - System.Collections.Generic.List AllowedFeature { get; set; } - /// Gateway Update properties - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayUpdateProperties Property { get; set; } - - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/GatewayUpdateProperties.PowerShell.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/GatewayUpdateProperties.PowerShell.cs deleted file mode 100644 index 4d710410e827..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/GatewayUpdateProperties.PowerShell.cs +++ /dev/null @@ -1,164 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models -{ - using Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell; - - /// Describes the Update properties of a Gateway Profile. - [System.ComponentModel.TypeConverter(typeof(GatewayUpdatePropertiesTypeConverter))] - public partial class GatewayUpdateProperties - { - - /// - /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the - /// object before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The global::System.Collections.IDictionary content that should be used. - - partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); - - /// - /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object - /// before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The global::System.Management.Automation.PSObject content that should be used. - - partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); - - /// - /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization - /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output - /// parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The global::System.Collections.IDictionary content that should be used. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); - - /// - /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization - /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output - /// parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The global::System.Management.Automation.PSObject content that should be used. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); - - /// - /// OverrideToString will be called if it is implemented. Implement this method in a partial class to enable this behavior - /// - /// /// instance serialized to a string, normally it is a Json - /// /// set returnNow to true if you provide a customized OverrideToString function - - partial void OverrideToString(ref string stringResult, ref bool returnNow); - - /// - /// Deserializes a into an instance of . - /// - /// The global::System.Collections.IDictionary content that should be used. - /// - /// an instance of . - /// - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayUpdateProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) - { - return new GatewayUpdateProperties(content); - } - - /// - /// Deserializes a into an instance of . - /// - /// The global::System.Management.Automation.PSObject content that should be used. - /// - /// an instance of . - /// - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayUpdateProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) - { - return new GatewayUpdateProperties(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. - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayUpdateProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(jsonText)); - - /// - /// Deserializes a into a new instance of . - /// - /// The global::System.Collections.IDictionary content that should be used. - internal GatewayUpdateProperties(global::System.Collections.IDictionary content) - { - bool returnNow = false; - BeforeDeserializeDictionary(content, ref returnNow); - if (returnNow) - { - return; - } - // actually deserialize - if (content.Contains("AllowedFeature")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayUpdatePropertiesInternal)this).AllowedFeature = (System.Collections.Generic.List) content.GetValueForProperty("AllowedFeature",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayUpdatePropertiesInternal)this).AllowedFeature, __y => TypeConverterExtensions.SelectToList(__y, global::System.Convert.ToString)); - } - AfterDeserializeDictionary(content); - } - - /// - /// Deserializes a into a new instance of . - /// - /// The global::System.Management.Automation.PSObject content that should be used. - internal GatewayUpdateProperties(global::System.Management.Automation.PSObject content) - { - bool returnNow = false; - BeforeDeserializePSObject(content, ref returnNow); - if (returnNow) - { - return; - } - // actually deserialize - if (content.Contains("AllowedFeature")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayUpdatePropertiesInternal)this).AllowedFeature = (System.Collections.Generic.List) content.GetValueForProperty("AllowedFeature",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayUpdatePropertiesInternal)this).AllowedFeature, __y => TypeConverterExtensions.SelectToList(__y, global::System.Convert.ToString)); - } - AfterDeserializePSObject(content); - } - - /// Serializes this instance to a json string. - - /// a containing this model serialized to JSON text. - public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeAll)?.ToString(); - - public override string ToString() - { - var returnNow = false; - var result = global::System.String.Empty; - OverrideToString(ref result, ref returnNow); - if (returnNow) - { - return result; - } - return ToJsonString(); - } - } - /// Describes the Update properties of a Gateway Profile. - [System.ComponentModel.TypeConverter(typeof(GatewayUpdatePropertiesTypeConverter))] - public partial interface IGatewayUpdateProperties - - { - - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/GatewayUpdateProperties.TypeConverter.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/GatewayUpdateProperties.TypeConverter.cs deleted file mode 100644 index e61c48696409..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/GatewayUpdateProperties.TypeConverter.cs +++ /dev/null @@ -1,147 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models -{ - using Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell; - - /// - /// A PowerShell PSTypeConverter to support converting to an instance of - /// - public partial class GatewayUpdatePropertiesTypeConverter : global::System.Management.Automation.PSTypeConverter - { - - /// - /// Determines if the converter can convert the parameter to the parameter. - /// - /// the to convert from - /// the to convert to - /// - /// true if the converter can convert the parameter to the parameter, otherwise false. - /// - public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); - - /// - /// Determines if the converter can convert the parameter to the - /// type. - /// - /// the instance to check if it can be converted to the type. - /// - /// true if the instance could be converted to a type, otherwise false - /// - public static bool CanConvertFrom(dynamic sourceValue) - { - if (null == sourceValue) - { - return true; - } - global::System.Type type = sourceValue.GetType(); - if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) - { - // we say yest to PSObjects - return true; - } - if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) - { - // we say yest to Hashtables/dictionaries - return true; - } - try - { - if (null != sourceValue.ToJsonString()) - { - return true; - } - } - catch - { - // Not one of our objects - } - try - { - string text = sourceValue.ToString()?.Trim(); - return true == text?.StartsWith("{") && true == text?.EndsWith("}") && Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(text).Type == Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonType.Object; - } - catch - { - // Doesn't look like it can be treated as JSON - } - return false; - } - - /// - /// Determines if the parameter can be converted to the - /// parameter - /// - /// the to convert from - /// the to convert to - /// - /// true if the converter can convert the parameter to the parameter, otherwise false - /// - public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; - - /// - /// Converts the parameter to the parameter using and - /// - /// the to convert from - /// the to convert to - /// 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. - /// - 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 - /// - /// the value to convert into an instance of . - /// - /// an instance of , or null if there is no suitable conversion. - /// - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayUpdateProperties ConvertFrom(dynamic sourceValue) - { - if (null == sourceValue) - { - return null; - } - global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayUpdateProperties).IsAssignableFrom(type)) - { - return sourceValue; - } - try - { - return GatewayUpdateProperties.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; - } - catch - { - // Unable to use JSON pattern - } - if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) - { - return GatewayUpdateProperties.DeserializeFromPSObject(sourceValue); - } - if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) - { - return GatewayUpdateProperties.DeserializeFromDictionary(sourceValue); - } - return null; - } - - /// NotImplemented -- this will return null - /// the to convert from - /// the to convert to - /// not used by this TypeConverter. - /// when set to true, will ignore the case when converting. - /// will always return null. - public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null; - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/GatewayUpdateProperties.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/GatewayUpdateProperties.cs deleted file mode 100644 index 6f345b616f37..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/GatewayUpdateProperties.cs +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models -{ - using static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Extensions; - - /// Describes the Update properties of a Gateway Profile. - public partial class GatewayUpdateProperties : - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayUpdateProperties, - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayUpdatePropertiesInternal - { - - /// Backing field for property. - private System.Collections.Generic.List _allowedFeature; - - /// Specifies the list of features that are enabled for this Gateway. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Owned)] - public System.Collections.Generic.List AllowedFeature { get => this._allowedFeature; set => this._allowedFeature = value; } - - /// Creates an new instance. - public GatewayUpdateProperties() - { - - } - } - /// Describes the Update properties of a Gateway Profile. - public partial interface IGatewayUpdateProperties : - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IJsonSerializable - { - /// Specifies the list of features that are enabled for this Gateway. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Read = true, - Create = true, - Update = true, - Description = @"Specifies the list of features that are enabled for this Gateway.", - SerializedName = @"allowedFeatures", - PossibleTypes = new [] { typeof(string) })] - System.Collections.Generic.List AllowedFeature { get; set; } - - } - /// Describes the Update properties of a Gateway Profile. - internal partial interface IGatewayUpdatePropertiesInternal - - { - /// Specifies the list of features that are enabled for this Gateway. - System.Collections.Generic.List AllowedFeature { get; set; } - - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/GatewayUpdateProperties.json.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/GatewayUpdateProperties.json.cs deleted file mode 100644 index a8f807066c4a..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/GatewayUpdateProperties.json.cs +++ /dev/null @@ -1,116 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models -{ - using static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Extensions; - - /// Describes the Update properties of a Gateway Profile. - public partial class GatewayUpdateProperties - { - - /// - /// AfterFromJson will be called after the json deserialization has finished, allowing customization of the object - /// before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The JsonNode that should be deserialized into this object. - - partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json); - - /// - /// AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The JSON container that the serialization result will be placed in. - - partial void AfterToJson(ref Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject container); - - /// - /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of - /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the - /// output parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The JsonNode that should be deserialized into this object. - /// Determines if the rest of the deserialization should be processed, or if the method should return - /// instantly. - - partial void BeforeFromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json, ref bool returnNow); - - /// - /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the - /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output - /// parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The JSON container that the serialization result will be placed in. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject container, ref bool returnNow); - - /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayUpdateProperties. - /// - /// a to deserialize from. - /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayUpdateProperties. - /// - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayUpdateProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode node) - { - return node is Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json ? new GatewayUpdateProperties(json) : null; - } - - /// - /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject into a new instance of . - /// - /// A Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject instance to deserialize from. - internal GatewayUpdateProperties(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json) - { - bool returnNow = false; - BeforeFromJson(json, ref returnNow); - if (returnNow) - { - return; - } - {_allowedFeature = If( json?.PropertyT("allowedFeatures"), out var __jsonAllowedFeatures) ? If( __jsonAllowedFeatures as Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonArray, out var __v) ? new global::System.Func>(()=> global::System.Linq.Enumerable.ToList(global::System.Linq.Enumerable.Select(__v, (__u)=>(string) (__u is Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonString __t ? (string)(__t.ToString()) : null)) ))() : null : _allowedFeature;} - AfterFromJson(json); - } - - /// - /// Serializes this instance of 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 . - /// - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode) - { - container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject(); - - bool returnNow = false; - BeforeToJson(ref container, ref returnNow); - if (returnNow) - { - return container; - } - if (null != this._allowedFeature) - { - var __w = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.XNodeArray(); - foreach( var __x in this._allowedFeature ) - { - AddIf(null != (((object)__x)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonString(__x.ToString()) : null ,__w.Add); - } - container.Add("allowedFeatures",__w); - } - AfterToJson(ref container); - return container; - } - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/GatewaysListResult.PowerShell.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/GatewaysListResult.PowerShell.cs deleted file mode 100644 index 88eac52d5ef8..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/GatewaysListResult.PowerShell.cs +++ /dev/null @@ -1,172 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models -{ - using Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell; - - /// The List license operation response. - [System.ComponentModel.TypeConverter(typeof(GatewaysListResultTypeConverter))] - public partial class GatewaysListResult - { - - /// - /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the - /// object before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The global::System.Collections.IDictionary content that should be used. - - partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); - - /// - /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object - /// before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The global::System.Management.Automation.PSObject content that should be used. - - partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); - - /// - /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization - /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output - /// parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The global::System.Collections.IDictionary content that should be used. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); - - /// - /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization - /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output - /// parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The global::System.Management.Automation.PSObject content that should be used. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); - - /// - /// OverrideToString will be called if it is implemented. Implement this method in a partial class to enable this behavior - /// - /// /// instance serialized to a string, normally it is a Json - /// /// set returnNow to true if you provide a customized OverrideToString function - - partial void OverrideToString(ref string stringResult, ref bool returnNow); - - /// - /// Deserializes a into an instance of . - /// - /// The global::System.Collections.IDictionary content that should be used. - /// - /// an instance of . - /// - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewaysListResult DeserializeFromDictionary(global::System.Collections.IDictionary content) - { - return new GatewaysListResult(content); - } - - /// - /// Deserializes a into an instance of . - /// - /// The global::System.Management.Automation.PSObject content that should be used. - /// - /// an instance of . - /// - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewaysListResult DeserializeFromPSObject(global::System.Management.Automation.PSObject content) - { - return new GatewaysListResult(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. - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewaysListResult FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(jsonText)); - - /// - /// Deserializes a into a new instance of . - /// - /// The global::System.Collections.IDictionary content that should be used. - internal GatewaysListResult(global::System.Collections.IDictionary content) - { - bool returnNow = false; - BeforeDeserializeDictionary(content, ref returnNow); - if (returnNow) - { - return; - } - // actually deserialize - if (content.Contains("Value")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewaysListResultInternal)this).Value = (System.Collections.Generic.List) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewaysListResultInternal)this).Value, __y => TypeConverterExtensions.SelectToList(__y, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.GatewayTypeConverter.ConvertFrom)); - } - if (content.Contains("NextLink")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewaysListResultInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewaysListResultInternal)this).NextLink, global::System.Convert.ToString); - } - AfterDeserializeDictionary(content); - } - - /// - /// Deserializes a into a new instance of . - /// - /// The global::System.Management.Automation.PSObject content that should be used. - internal GatewaysListResult(global::System.Management.Automation.PSObject content) - { - bool returnNow = false; - BeforeDeserializePSObject(content, ref returnNow); - if (returnNow) - { - return; - } - // actually deserialize - if (content.Contains("Value")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewaysListResultInternal)this).Value = (System.Collections.Generic.List) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewaysListResultInternal)this).Value, __y => TypeConverterExtensions.SelectToList(__y, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.GatewayTypeConverter.ConvertFrom)); - } - if (content.Contains("NextLink")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewaysListResultInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewaysListResultInternal)this).NextLink, global::System.Convert.ToString); - } - AfterDeserializePSObject(content); - } - - /// Serializes this instance to a json string. - - /// a containing this model serialized to JSON text. - public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeAll)?.ToString(); - - public override string ToString() - { - var returnNow = false; - var result = global::System.String.Empty; - OverrideToString(ref result, ref returnNow); - if (returnNow) - { - return result; - } - return ToJsonString(); - } - } - /// The List license operation response. - [System.ComponentModel.TypeConverter(typeof(GatewaysListResultTypeConverter))] - public partial interface IGatewaysListResult - - { - - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/GatewaysListResult.TypeConverter.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/GatewaysListResult.TypeConverter.cs deleted file mode 100644 index 8dd5b784178c..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/GatewaysListResult.TypeConverter.cs +++ /dev/null @@ -1,147 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models -{ - using Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell; - - /// - /// A PowerShell PSTypeConverter to support converting to an instance of - /// - public partial class GatewaysListResultTypeConverter : global::System.Management.Automation.PSTypeConverter - { - - /// - /// Determines if the converter can convert the parameter to the parameter. - /// - /// the to convert from - /// the to convert to - /// - /// true if the converter can convert the parameter to the parameter, otherwise false. - /// - public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); - - /// - /// Determines if the converter can convert the parameter to the - /// type. - /// - /// the instance to check if it can be converted to the type. - /// - /// true if the instance could be converted to a type, otherwise false - /// - public static bool CanConvertFrom(dynamic sourceValue) - { - if (null == sourceValue) - { - return true; - } - global::System.Type type = sourceValue.GetType(); - if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) - { - // we say yest to PSObjects - return true; - } - if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) - { - // we say yest to Hashtables/dictionaries - return true; - } - try - { - if (null != sourceValue.ToJsonString()) - { - return true; - } - } - catch - { - // Not one of our objects - } - try - { - string text = sourceValue.ToString()?.Trim(); - return true == text?.StartsWith("{") && true == text?.EndsWith("}") && Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(text).Type == Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonType.Object; - } - catch - { - // Doesn't look like it can be treated as JSON - } - return false; - } - - /// - /// Determines if the parameter can be converted to the - /// parameter - /// - /// the to convert from - /// the to convert to - /// - /// true if the converter can convert the parameter to the parameter, otherwise false - /// - public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; - - /// - /// Converts the parameter to the parameter using and - /// - /// the to convert from - /// the to convert to - /// 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. - /// - 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 - /// - /// the value to convert into an instance of . - /// - /// an instance of , or null if there is no suitable conversion. - /// - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewaysListResult ConvertFrom(dynamic sourceValue) - { - if (null == sourceValue) - { - return null; - } - global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewaysListResult).IsAssignableFrom(type)) - { - return sourceValue; - } - try - { - return GatewaysListResult.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; - } - catch - { - // Unable to use JSON pattern - } - if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) - { - return GatewaysListResult.DeserializeFromPSObject(sourceValue); - } - if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) - { - return GatewaysListResult.DeserializeFromDictionary(sourceValue); - } - return null; - } - - /// NotImplemented -- this will return null - /// the to convert from - /// the to convert to - /// not used by this TypeConverter. - /// when set to true, will ignore the case when converting. - /// will always return null. - public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null; - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/GatewaysListResult.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/GatewaysListResult.cs deleted file mode 100644 index 20210a999d9b..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/GatewaysListResult.cs +++ /dev/null @@ -1,80 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models -{ - using static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Extensions; - - /// The List license operation response. - public partial class GatewaysListResult : - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewaysListResult, - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewaysListResultInternal - { - - /// Backing field for property. - private string _nextLink; - - /// - /// The URI to fetch the next page of Gateways. Call ListNext() with this URI to fetch the next page of Gateways. - /// - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Owned)] - public string NextLink { get => this._nextLink; set => this._nextLink = value; } - - /// Backing field for property. - private System.Collections.Generic.List _value; - - /// The list of Gateways. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Owned)] - public System.Collections.Generic.List Value { get => this._value; set => this._value = value; } - - /// Creates an new instance. - public GatewaysListResult() - { - - } - } - /// The List license operation response. - public partial interface IGatewaysListResult : - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IJsonSerializable - { - /// - /// The URI to fetch the next page of Gateways. Call ListNext() with this URI to fetch the next page of Gateways. - /// - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Read = true, - Create = true, - Update = true, - Description = @"The URI to fetch the next page of Gateways. Call ListNext() with this URI to fetch the next page of Gateways.", - SerializedName = @"nextLink", - PossibleTypes = new [] { typeof(string) })] - string NextLink { get; set; } - /// The list of Gateways. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = true, - ReadOnly = false, - Read = true, - Create = true, - Update = true, - Description = @"The list of Gateways.", - SerializedName = @"value", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGateway) })] - System.Collections.Generic.List Value { get; set; } - - } - /// The List license operation response. - internal partial interface IGatewaysListResultInternal - - { - /// - /// The URI to fetch the next page of Gateways. Call ListNext() with this URI to fetch the next page of Gateways. - /// - string NextLink { get; set; } - /// The list of Gateways. - System.Collections.Generic.List Value { get; set; } - - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/GatewaysListResult.json.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/GatewaysListResult.json.cs deleted file mode 100644 index ab7ab59c4c00..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/GatewaysListResult.json.cs +++ /dev/null @@ -1,118 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models -{ - using static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Extensions; - - /// The List license operation response. - public partial class GatewaysListResult - { - - /// - /// AfterFromJson will be called after the json deserialization has finished, allowing customization of the object - /// before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The JsonNode that should be deserialized into this object. - - partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json); - - /// - /// AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The JSON container that the serialization result will be placed in. - - partial void AfterToJson(ref Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject container); - - /// - /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of - /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the - /// output parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The JsonNode that should be deserialized into this object. - /// Determines if the rest of the deserialization should be processed, or if the method should return - /// instantly. - - partial void BeforeFromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json, ref bool returnNow); - - /// - /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the - /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output - /// parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The JSON container that the serialization result will be placed in. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject container, ref bool returnNow); - - /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewaysListResult. - /// - /// a to deserialize from. - /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewaysListResult. - /// - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewaysListResult FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode node) - { - return node is Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json ? new GatewaysListResult(json) : null; - } - - /// - /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject into a new instance of . - /// - /// A Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject instance to deserialize from. - internal GatewaysListResult(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json) - { - bool returnNow = false; - BeforeFromJson(json, ref returnNow); - if (returnNow) - { - return; - } - {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonArray, out var __v) ? new global::System.Func>(()=> global::System.Linq.Enumerable.ToList(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGateway) (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.Gateway.FromJson(__u) )) ))() : null : _value;} - {_nextLink = If( json?.PropertyT("nextLink"), out var __jsonNextLink) ? (string)__jsonNextLink : (string)_nextLink;} - AfterFromJson(json); - } - - /// - /// Serializes this instance of 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 . - /// - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode) - { - container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject(); - - bool returnNow = false; - BeforeToJson(ref container, ref returnNow); - if (returnNow) - { - return container; - } - if (null != this._value) - { - var __w = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.XNodeArray(); - foreach( var __x in this._value ) - { - AddIf(__x?.ToJson(null, serializationMode) ,__w.Add); - } - container.Add("value",__w); - } - AddIf( null != (((object)this._nextLink)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonString(this._nextLink.ToString()) : null, "nextLink" ,container.Add ); - AfterToJson(ref container); - return container; - } - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/HybridIdentityMetadata.PowerShell.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/HybridIdentityMetadata.PowerShell.cs deleted file mode 100644 index 1e8a97d0b8cd..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/HybridIdentityMetadata.PowerShell.cs +++ /dev/null @@ -1,292 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models -{ - using Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell; - - /// Defines the HybridIdentityMetadata. - [System.ComponentModel.TypeConverter(typeof(HybridIdentityMetadataTypeConverter))] - public partial class HybridIdentityMetadata - { - - /// - /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the - /// object before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The global::System.Collections.IDictionary content that should be used. - - partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); - - /// - /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object - /// before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The global::System.Management.Automation.PSObject content that should be used. - - partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); - - /// - /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization - /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output - /// parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The global::System.Collections.IDictionary content that should be used. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); - - /// - /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization - /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output - /// parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The global::System.Management.Automation.PSObject content that should be used. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); - - /// - /// OverrideToString will be called if it is implemented. Implement this method in a partial class to enable this behavior - /// - /// /// instance serialized to a string, normally it is a Json - /// /// set returnNow to true if you provide a customized OverrideToString function - - partial void OverrideToString(ref string stringResult, ref bool returnNow); - - /// - /// Deserializes a into an instance of . - /// - /// The global::System.Collections.IDictionary content that should be used. - /// - /// an instance of . - /// - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadata DeserializeFromDictionary(global::System.Collections.IDictionary content) - { - return new HybridIdentityMetadata(content); - } - - /// - /// Deserializes a into an instance of . - /// - /// The global::System.Management.Automation.PSObject content that should be used. - /// - /// an instance of . - /// - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadata DeserializeFromPSObject(global::System.Management.Automation.PSObject content) - { - return new HybridIdentityMetadata(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. - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadata FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(jsonText)); - - /// - /// Deserializes a into a new instance of . - /// - /// The global::System.Collections.IDictionary content that should be used. - internal HybridIdentityMetadata(global::System.Collections.IDictionary content) - { - bool returnNow = false; - BeforeDeserializeDictionary(content, ref returnNow); - if (returnNow) - { - return; - } - // actually deserialize - if (content.Contains("Property")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.HybridIdentityMetadataPropertiesTypeConverter.ConvertFrom); - } - if (content.Contains("SystemDataCreatedBy")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemDataCreatedBy = (string) content.GetValueForProperty("SystemDataCreatedBy",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemDataCreatedBy, global::System.Convert.ToString); - } - if (content.Contains("SystemDataCreatedAt")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemDataCreatedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataCreatedAt",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemDataCreatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); - } - if (content.Contains("SystemDataCreatedByType")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemDataCreatedByType = (string) content.GetValueForProperty("SystemDataCreatedByType",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemDataCreatedByType, global::System.Convert.ToString); - } - if (content.Contains("SystemDataLastModifiedBy")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemDataLastModifiedBy = (string) content.GetValueForProperty("SystemDataLastModifiedBy",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemDataLastModifiedBy, global::System.Convert.ToString); - } - if (content.Contains("SystemDataLastModifiedByType")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemDataLastModifiedByType = (string) content.GetValueForProperty("SystemDataLastModifiedByType",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemDataLastModifiedByType, global::System.Convert.ToString); - } - if (content.Contains("SystemDataLastModifiedAt")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemDataLastModifiedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataLastModifiedAt",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemDataLastModifiedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); - } - if (content.Contains("SystemData")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.SystemDataTypeConverter.ConvertFrom); - } - if (content.Contains("Id")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).Id, global::System.Convert.ToString); - } - if (content.Contains("Name")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).Name, global::System.Convert.ToString); - } - if (content.Contains("Type")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).Type, global::System.Convert.ToString); - } - if (content.Contains("Identity")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataInternal)this).Identity = (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IIdentity) content.GetValueForProperty("Identity",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataInternal)this).Identity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IdentityTypeConverter.ConvertFrom); - } - if (content.Contains("VMId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataInternal)this).VMId = (string) content.GetValueForProperty("VMId",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataInternal)this).VMId, global::System.Convert.ToString); - } - if (content.Contains("PublicKey")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataInternal)this).PublicKey = (string) content.GetValueForProperty("PublicKey",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataInternal)this).PublicKey, global::System.Convert.ToString); - } - if (content.Contains("IdentityPrincipalId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataInternal)this).IdentityPrincipalId = (string) content.GetValueForProperty("IdentityPrincipalId",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataInternal)this).IdentityPrincipalId, global::System.Convert.ToString); - } - if (content.Contains("IdentityTenantId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataInternal)this).IdentityTenantId = (string) content.GetValueForProperty("IdentityTenantId",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataInternal)this).IdentityTenantId, global::System.Convert.ToString); - } - if (content.Contains("IdentityType")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataInternal)this).IdentityType = (string) content.GetValueForProperty("IdentityType",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataInternal)this).IdentityType, global::System.Convert.ToString); - } - AfterDeserializeDictionary(content); - } - - /// - /// Deserializes a into a new instance of . - /// - /// The global::System.Management.Automation.PSObject content that should be used. - internal HybridIdentityMetadata(global::System.Management.Automation.PSObject content) - { - bool returnNow = false; - BeforeDeserializePSObject(content, ref returnNow); - if (returnNow) - { - return; - } - // actually deserialize - if (content.Contains("Property")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.HybridIdentityMetadataPropertiesTypeConverter.ConvertFrom); - } - if (content.Contains("SystemDataCreatedBy")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemDataCreatedBy = (string) content.GetValueForProperty("SystemDataCreatedBy",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemDataCreatedBy, global::System.Convert.ToString); - } - if (content.Contains("SystemDataCreatedAt")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemDataCreatedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataCreatedAt",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemDataCreatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); - } - if (content.Contains("SystemDataCreatedByType")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemDataCreatedByType = (string) content.GetValueForProperty("SystemDataCreatedByType",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemDataCreatedByType, global::System.Convert.ToString); - } - if (content.Contains("SystemDataLastModifiedBy")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemDataLastModifiedBy = (string) content.GetValueForProperty("SystemDataLastModifiedBy",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemDataLastModifiedBy, global::System.Convert.ToString); - } - if (content.Contains("SystemDataLastModifiedByType")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemDataLastModifiedByType = (string) content.GetValueForProperty("SystemDataLastModifiedByType",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemDataLastModifiedByType, global::System.Convert.ToString); - } - if (content.Contains("SystemDataLastModifiedAt")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemDataLastModifiedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataLastModifiedAt",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemDataLastModifiedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); - } - if (content.Contains("SystemData")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.SystemDataTypeConverter.ConvertFrom); - } - if (content.Contains("Id")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).Id, global::System.Convert.ToString); - } - if (content.Contains("Name")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).Name, global::System.Convert.ToString); - } - if (content.Contains("Type")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).Type, global::System.Convert.ToString); - } - if (content.Contains("Identity")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataInternal)this).Identity = (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IIdentity) content.GetValueForProperty("Identity",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataInternal)this).Identity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IdentityTypeConverter.ConvertFrom); - } - if (content.Contains("VMId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataInternal)this).VMId = (string) content.GetValueForProperty("VMId",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataInternal)this).VMId, global::System.Convert.ToString); - } - if (content.Contains("PublicKey")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataInternal)this).PublicKey = (string) content.GetValueForProperty("PublicKey",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataInternal)this).PublicKey, global::System.Convert.ToString); - } - if (content.Contains("IdentityPrincipalId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataInternal)this).IdentityPrincipalId = (string) content.GetValueForProperty("IdentityPrincipalId",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataInternal)this).IdentityPrincipalId, global::System.Convert.ToString); - } - if (content.Contains("IdentityTenantId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataInternal)this).IdentityTenantId = (string) content.GetValueForProperty("IdentityTenantId",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataInternal)this).IdentityTenantId, global::System.Convert.ToString); - } - if (content.Contains("IdentityType")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataInternal)this).IdentityType = (string) content.GetValueForProperty("IdentityType",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataInternal)this).IdentityType, global::System.Convert.ToString); - } - AfterDeserializePSObject(content); - } - - /// Serializes this instance to a json string. - - /// a containing this model serialized to JSON text. - public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeAll)?.ToString(); - - public override string ToString() - { - var returnNow = false; - var result = global::System.String.Empty; - OverrideToString(ref result, ref returnNow); - if (returnNow) - { - return result; - } - return ToJsonString(); - } - } - /// Defines the HybridIdentityMetadata. - [System.ComponentModel.TypeConverter(typeof(HybridIdentityMetadataTypeConverter))] - public partial interface IHybridIdentityMetadata - - { - - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/HybridIdentityMetadata.TypeConverter.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/HybridIdentityMetadata.TypeConverter.cs deleted file mode 100644 index 8576e51fd3ec..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/HybridIdentityMetadata.TypeConverter.cs +++ /dev/null @@ -1,147 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models -{ - using Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell; - - /// - /// A PowerShell PSTypeConverter to support converting to an instance of - /// - public partial class HybridIdentityMetadataTypeConverter : global::System.Management.Automation.PSTypeConverter - { - - /// - /// Determines if the converter can convert the parameter to the parameter. - /// - /// the to convert from - /// the to convert to - /// - /// true if the converter can convert the parameter to the parameter, otherwise false. - /// - public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); - - /// - /// Determines if the converter can convert the parameter to the - /// type. - /// - /// the instance to check if it can be converted to the type. - /// - /// true if the instance could be converted to a type, otherwise false - /// - public static bool CanConvertFrom(dynamic sourceValue) - { - if (null == sourceValue) - { - return true; - } - global::System.Type type = sourceValue.GetType(); - if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) - { - // we say yest to PSObjects - return true; - } - if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) - { - // we say yest to Hashtables/dictionaries - return true; - } - try - { - if (null != sourceValue.ToJsonString()) - { - return true; - } - } - catch - { - // Not one of our objects - } - try - { - string text = sourceValue.ToString()?.Trim(); - return true == text?.StartsWith("{") && true == text?.EndsWith("}") && Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(text).Type == Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonType.Object; - } - catch - { - // Doesn't look like it can be treated as JSON - } - return false; - } - - /// - /// Determines if the parameter can be converted to the - /// parameter - /// - /// the to convert from - /// the to convert to - /// - /// true if the converter can convert the parameter to the parameter, otherwise false - /// - public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; - - /// - /// Converts the parameter to the parameter using and - /// - /// the to convert from - /// the to convert to - /// 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. - /// - 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 - /// - /// the value to convert into an instance of . - /// - /// an instance of , or null if there is no suitable conversion. - /// - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadata ConvertFrom(dynamic sourceValue) - { - if (null == sourceValue) - { - return null; - } - global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadata).IsAssignableFrom(type)) - { - return sourceValue; - } - try - { - return HybridIdentityMetadata.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; - } - catch - { - // Unable to use JSON pattern - } - if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) - { - return HybridIdentityMetadata.DeserializeFromPSObject(sourceValue); - } - if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) - { - return HybridIdentityMetadata.DeserializeFromDictionary(sourceValue); - } - return null; - } - - /// NotImplemented -- this will return null - /// the to convert from - /// the to convert to - /// not used by this TypeConverter. - /// when set to true, will ignore the case when converting. - /// will always return null. - public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null; - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/HybridIdentityMetadata.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/HybridIdentityMetadata.cs deleted file mode 100644 index 8d5577d0819c..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/HybridIdentityMetadata.cs +++ /dev/null @@ -1,225 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models -{ - using static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Extensions; - - /// Defines the HybridIdentityMetadata. - public partial class HybridIdentityMetadata : - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadata, - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataInternal, - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IValidates - { - /// - /// Backing field for Inherited model - /// - private Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IProxyResourceAutoGenerated __proxyResourceAutoGenerated = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ProxyResourceAutoGenerated(); - - /// - /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - /// - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)] - public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).Id; } - - /// The principal ID of resource identity. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)] - public string IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataPropertiesInternal)Property).IdentityPrincipalId; } - - /// The tenant ID of resource. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)] - public string IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataPropertiesInternal)Property).IdentityTenantId; } - - /// The identity type. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)] - public string IdentityType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataPropertiesInternal)Property).IdentityType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataPropertiesInternal)Property).IdentityType = value ?? null; } - - /// Internal Acessors for Identity - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IIdentity Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataInternal.Identity { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataPropertiesInternal)Property).Identity; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataPropertiesInternal)Property).Identity = value; } - - /// Internal Acessors for IdentityPrincipalId - string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataPropertiesInternal)Property).IdentityPrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataPropertiesInternal)Property).IdentityPrincipalId = value; } - - /// Internal Acessors for IdentityTenantId - string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataPropertiesInternal)Property).IdentityTenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataPropertiesInternal)Property).IdentityTenantId = value; } - - /// Internal Acessors for Property - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataProperties Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.HybridIdentityMetadataProperties()); set { {_property = value;} } } - - /// Internal Acessors for Id - string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).Id = value; } - - /// Internal Acessors for Name - string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).Name = value; } - - /// Internal Acessors for SystemData - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemData = value; } - - /// Internal Acessors for Type - string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).Type = value; } - - /// The name of the resource - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)] - public string Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).Name; } - - /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataProperties _property; - - /// Resource properties. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataProperties Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.HybridIdentityMetadataProperties()); set => this._property = value; } - - /// The Public Key. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)] - public string PublicKey { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataPropertiesInternal)Property).PublicKey; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataPropertiesInternal)Property).PublicKey = value ?? null; } - - /// Gets the resource group name - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Owned)] - public string ResourceGroupName { get => (new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(this.Id).Success ? new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(this.Id).Groups["resourceGroupName"].Value : null); } - - /// - /// Azure Resource Manager metadata containing createdBy and modifiedBy information. - /// - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)] - internal Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemData; } - - /// The timestamp of resource creation (UTC). - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)] - public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedAt = value ?? default(global::System.DateTime); } - - /// The identity that created the resource. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)] - public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedBy = value ?? null; } - - /// The type of identity that created the resource. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)] - public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedByType = value ?? null; } - - /// The timestamp of resource last modification (UTC) - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)] - public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); } - - /// The identity that last modified the resource. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)] - public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedBy = value ?? null; } - - /// The type of identity that last modified the resource. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)] - public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedByType = value ?? null; } - - /// - /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - /// - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)] - public string Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).Type; } - - /// The unique identifier for the resource. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)] - public string VMId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataPropertiesInternal)Property).VMId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataPropertiesInternal)Property).VMId = value ?? null; } - - /// Creates an new instance. - public HybridIdentityMetadata() - { - - } - - /// Validates that this object meets the validation criteria. - /// an instance that will receive validation - /// events. - /// - /// A that will be complete when validation is completed. - /// - public async global::System.Threading.Tasks.Task Validate(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) - { - await eventListener.AssertNotNull(nameof(__proxyResourceAutoGenerated), __proxyResourceAutoGenerated); - await eventListener.AssertObjectIsValid(nameof(__proxyResourceAutoGenerated), __proxyResourceAutoGenerated); - } - } - /// Defines the HybridIdentityMetadata. - public partial interface IHybridIdentityMetadata : - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IJsonSerializable, - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IProxyResourceAutoGenerated - { - /// The principal ID of resource identity. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = true, - Read = true, - Create = false, - Update = false, - Description = @"The principal ID of resource identity.", - SerializedName = @"principalId", - PossibleTypes = new [] { typeof(string) })] - string IdentityPrincipalId { get; } - /// The tenant ID of resource. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = true, - Read = true, - Create = false, - Update = false, - Description = @"The tenant ID of resource.", - SerializedName = @"tenantId", - PossibleTypes = new [] { typeof(string) })] - string IdentityTenantId { get; } - /// The identity type. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = true, - Read = true, - Create = false, - Update = false, - Description = @"The identity type.", - SerializedName = @"type", - PossibleTypes = new [] { typeof(string) })] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PSArgumentCompleterAttribute("SystemAssigned")] - string IdentityType { get; } - /// The Public Key. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Read = true, - Create = true, - Update = true, - Description = @"The Public Key.", - SerializedName = @"publicKey", - PossibleTypes = new [] { typeof(string) })] - string PublicKey { get; set; } - /// The unique identifier for the resource. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Read = true, - Create = true, - Update = true, - Description = @"The unique identifier for the resource.", - SerializedName = @"vmId", - PossibleTypes = new [] { typeof(string) })] - string VMId { get; set; } - - } - /// Defines the HybridIdentityMetadata. - internal partial interface IHybridIdentityMetadataInternal : - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IProxyResourceAutoGeneratedInternal - { - /// Identity for the resource. - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IIdentity Identity { get; set; } - /// The principal ID of resource identity. - string IdentityPrincipalId { get; set; } - /// The tenant ID of resource. - string IdentityTenantId { get; set; } - /// The identity type. - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PSArgumentCompleterAttribute("SystemAssigned")] - string IdentityType { get; set; } - /// Resource properties. - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataProperties Property { get; set; } - /// The Public Key. - string PublicKey { get; set; } - /// The unique identifier for the resource. - string VMId { get; set; } - - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/HybridIdentityMetadata.json.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/HybridIdentityMetadata.json.cs deleted file mode 100644 index b8e08d1e0e4e..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/HybridIdentityMetadata.json.cs +++ /dev/null @@ -1,110 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models -{ - using static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Extensions; - - /// Defines the HybridIdentityMetadata. - public partial class HybridIdentityMetadata - { - - /// - /// AfterFromJson will be called after the json deserialization has finished, allowing customization of the object - /// before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The JsonNode that should be deserialized into this object. - - partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json); - - /// - /// AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The JSON container that the serialization result will be placed in. - - partial void AfterToJson(ref Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject container); - - /// - /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of - /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the - /// output parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The JsonNode that should be deserialized into this object. - /// Determines if the rest of the deserialization should be processed, or if the method should return - /// instantly. - - partial void BeforeFromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json, ref bool returnNow); - - /// - /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the - /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output - /// parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The JSON container that the serialization result will be placed in. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject container, ref bool returnNow); - - /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadata. - /// - /// a to deserialize from. - /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadata. - /// - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadata FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode node) - { - return node is Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json ? new HybridIdentityMetadata(json) : null; - } - - /// - /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject into a new instance of . - /// - /// A Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject instance to deserialize from. - internal HybridIdentityMetadata(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json) - { - bool returnNow = false; - BeforeFromJson(json, ref returnNow); - if (returnNow) - { - return; - } - __proxyResourceAutoGenerated = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ProxyResourceAutoGenerated(json); - {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.HybridIdentityMetadataProperties.FromJson(__jsonProperties) : _property;} - AfterFromJson(json); - } - - /// - /// Serializes this instance of 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 . - /// - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode) - { - container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject(); - - bool returnNow = false; - BeforeToJson(ref container, ref returnNow); - if (returnNow) - { - return container; - } - __proxyResourceAutoGenerated?.ToJson(container, serializationMode); - AddIf( null != this._property ? (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode) this._property.ToJson(null,serializationMode) : null, "properties" ,container.Add ); - AfterToJson(ref container); - return container; - } - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/HybridIdentityMetadataList.PowerShell.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/HybridIdentityMetadataList.PowerShell.cs deleted file mode 100644 index ce6b83b408d7..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/HybridIdentityMetadataList.PowerShell.cs +++ /dev/null @@ -1,172 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models -{ - using Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell; - - /// List of HybridIdentityMetadata. - [System.ComponentModel.TypeConverter(typeof(HybridIdentityMetadataListTypeConverter))] - public partial class HybridIdentityMetadataList - { - - /// - /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the - /// object before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The global::System.Collections.IDictionary content that should be used. - - partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); - - /// - /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object - /// before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The global::System.Management.Automation.PSObject content that should be used. - - partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); - - /// - /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization - /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output - /// parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The global::System.Collections.IDictionary content that should be used. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); - - /// - /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization - /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output - /// parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The global::System.Management.Automation.PSObject content that should be used. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); - - /// - /// OverrideToString will be called if it is implemented. Implement this method in a partial class to enable this behavior - /// - /// /// instance serialized to a string, normally it is a Json - /// /// set returnNow to true if you provide a customized OverrideToString function - - partial void OverrideToString(ref string stringResult, ref bool returnNow); - - /// - /// Deserializes a into an instance of . - /// - /// The global::System.Collections.IDictionary content that should be used. - /// - /// an instance of . - /// - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataList DeserializeFromDictionary(global::System.Collections.IDictionary content) - { - return new HybridIdentityMetadataList(content); - } - - /// - /// Deserializes a into an instance of . - /// - /// The global::System.Management.Automation.PSObject content that should be used. - /// - /// an instance of . - /// - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataList DeserializeFromPSObject(global::System.Management.Automation.PSObject content) - { - return new HybridIdentityMetadataList(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. - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataList FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(jsonText)); - - /// - /// Deserializes a into a new instance of . - /// - /// The global::System.Collections.IDictionary content that should be used. - internal HybridIdentityMetadataList(global::System.Collections.IDictionary content) - { - bool returnNow = false; - BeforeDeserializeDictionary(content, ref returnNow); - if (returnNow) - { - return; - } - // actually deserialize - if (content.Contains("NextLink")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataListInternal)this).NextLink, global::System.Convert.ToString); - } - if (content.Contains("Value")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataListInternal)this).Value = (System.Collections.Generic.List) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataListInternal)this).Value, __y => TypeConverterExtensions.SelectToList(__y, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.HybridIdentityMetadataTypeConverter.ConvertFrom)); - } - AfterDeserializeDictionary(content); - } - - /// - /// Deserializes a into a new instance of . - /// - /// The global::System.Management.Automation.PSObject content that should be used. - internal HybridIdentityMetadataList(global::System.Management.Automation.PSObject content) - { - bool returnNow = false; - BeforeDeserializePSObject(content, ref returnNow); - if (returnNow) - { - return; - } - // actually deserialize - if (content.Contains("NextLink")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataListInternal)this).NextLink, global::System.Convert.ToString); - } - if (content.Contains("Value")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataListInternal)this).Value = (System.Collections.Generic.List) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataListInternal)this).Value, __y => TypeConverterExtensions.SelectToList(__y, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.HybridIdentityMetadataTypeConverter.ConvertFrom)); - } - AfterDeserializePSObject(content); - } - - /// Serializes this instance to a json string. - - /// a containing this model serialized to JSON text. - public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeAll)?.ToString(); - - public override string ToString() - { - var returnNow = false; - var result = global::System.String.Empty; - OverrideToString(ref result, ref returnNow); - if (returnNow) - { - return result; - } - return ToJsonString(); - } - } - /// List of HybridIdentityMetadata. - [System.ComponentModel.TypeConverter(typeof(HybridIdentityMetadataListTypeConverter))] - public partial interface IHybridIdentityMetadataList - - { - - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/HybridIdentityMetadataList.TypeConverter.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/HybridIdentityMetadataList.TypeConverter.cs deleted file mode 100644 index 6c6f468e391c..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/HybridIdentityMetadataList.TypeConverter.cs +++ /dev/null @@ -1,147 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models -{ - using Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell; - - /// - /// A PowerShell PSTypeConverter to support converting to an instance of - /// - public partial class HybridIdentityMetadataListTypeConverter : global::System.Management.Automation.PSTypeConverter - { - - /// - /// Determines if the converter can convert the parameter to the parameter. - /// - /// the to convert from - /// the to convert to - /// - /// true if the converter can convert the parameter to the parameter, otherwise false. - /// - public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); - - /// - /// Determines if the converter can convert the parameter to the - /// type. - /// - /// the instance to check if it can be converted to the type. - /// - /// true if the instance could be converted to a type, otherwise false - /// - public static bool CanConvertFrom(dynamic sourceValue) - { - if (null == sourceValue) - { - return true; - } - global::System.Type type = sourceValue.GetType(); - if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) - { - // we say yest to PSObjects - return true; - } - if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) - { - // we say yest to Hashtables/dictionaries - return true; - } - try - { - if (null != sourceValue.ToJsonString()) - { - return true; - } - } - catch - { - // Not one of our objects - } - try - { - string text = sourceValue.ToString()?.Trim(); - return true == text?.StartsWith("{") && true == text?.EndsWith("}") && Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(text).Type == Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonType.Object; - } - catch - { - // Doesn't look like it can be treated as JSON - } - return false; - } - - /// - /// Determines if the parameter can be converted to the - /// parameter - /// - /// the to convert from - /// the to convert to - /// - /// true if the converter can convert the parameter to the parameter, otherwise false - /// - public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; - - /// - /// Converts the parameter to the parameter using and - /// - /// the to convert from - /// the to convert to - /// 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. - /// - 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 - /// - /// the value to convert into an instance of . - /// - /// an instance of , or null if there is no suitable conversion. - /// - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataList ConvertFrom(dynamic sourceValue) - { - if (null == sourceValue) - { - return null; - } - global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataList).IsAssignableFrom(type)) - { - return sourceValue; - } - try - { - return HybridIdentityMetadataList.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; - } - catch - { - // Unable to use JSON pattern - } - if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) - { - return HybridIdentityMetadataList.DeserializeFromPSObject(sourceValue); - } - if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) - { - return HybridIdentityMetadataList.DeserializeFromDictionary(sourceValue); - } - return null; - } - - /// NotImplemented -- this will return null - /// the to convert from - /// the to convert to - /// not used by this TypeConverter. - /// when set to true, will ignore the case when converting. - /// will always return null. - public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null; - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/HybridIdentityMetadataList.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/HybridIdentityMetadataList.cs deleted file mode 100644 index 28d6ec9b4508..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/HybridIdentityMetadataList.cs +++ /dev/null @@ -1,74 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models -{ - using static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Extensions; - - /// List of HybridIdentityMetadata. - public partial class HybridIdentityMetadataList : - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataList, - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataListInternal - { - - /// Backing field for property. - private string _nextLink; - - /// Url to follow for getting next page of HybridIdentityMetadata. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Owned)] - public string NextLink { get => this._nextLink; set => this._nextLink = value; } - - /// Backing field for property. - private System.Collections.Generic.List _value; - - /// Array of HybridIdentityMetadata - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Owned)] - public System.Collections.Generic.List Value { get => this._value; set => this._value = value; } - - /// Creates an new instance. - public HybridIdentityMetadataList() - { - - } - } - /// List of HybridIdentityMetadata. - public partial interface IHybridIdentityMetadataList : - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IJsonSerializable - { - /// Url to follow for getting next page of HybridIdentityMetadata. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Read = true, - Create = true, - Update = true, - Description = @"Url to follow for getting next page of HybridIdentityMetadata.", - SerializedName = @"nextLink", - PossibleTypes = new [] { typeof(string) })] - string NextLink { get; set; } - /// Array of HybridIdentityMetadata - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = true, - ReadOnly = false, - Read = true, - Create = true, - Update = true, - Description = @"Array of HybridIdentityMetadata", - SerializedName = @"value", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadata) })] - System.Collections.Generic.List Value { get; set; } - - } - /// List of HybridIdentityMetadata. - internal partial interface IHybridIdentityMetadataListInternal - - { - /// Url to follow for getting next page of HybridIdentityMetadata. - string NextLink { get; set; } - /// Array of HybridIdentityMetadata - System.Collections.Generic.List Value { get; set; } - - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/HybridIdentityMetadataList.json.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/HybridIdentityMetadataList.json.cs deleted file mode 100644 index eebc25cda6d4..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/HybridIdentityMetadataList.json.cs +++ /dev/null @@ -1,118 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models -{ - using static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Extensions; - - /// List of HybridIdentityMetadata. - public partial class HybridIdentityMetadataList - { - - /// - /// AfterFromJson will be called after the json deserialization has finished, allowing customization of the object - /// before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The JsonNode that should be deserialized into this object. - - partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json); - - /// - /// AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The JSON container that the serialization result will be placed in. - - partial void AfterToJson(ref Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject container); - - /// - /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of - /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the - /// output parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The JsonNode that should be deserialized into this object. - /// Determines if the rest of the deserialization should be processed, or if the method should return - /// instantly. - - partial void BeforeFromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json, ref bool returnNow); - - /// - /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the - /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output - /// parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The JSON container that the serialization result will be placed in. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject container, ref bool returnNow); - - /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataList. - /// - /// a to deserialize from. - /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataList. - /// - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataList FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode node) - { - return node is Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json ? new HybridIdentityMetadataList(json) : null; - } - - /// - /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject into a new instance of . - /// - /// A Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject instance to deserialize from. - internal HybridIdentityMetadataList(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json) - { - bool returnNow = false; - BeforeFromJson(json, ref returnNow); - if (returnNow) - { - return; - } - {_nextLink = If( json?.PropertyT("nextLink"), out var __jsonNextLink) ? (string)__jsonNextLink : (string)_nextLink;} - {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonArray, out var __v) ? new global::System.Func>(()=> global::System.Linq.Enumerable.ToList(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadata) (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.HybridIdentityMetadata.FromJson(__u) )) ))() : null : _value;} - AfterFromJson(json); - } - - /// - /// Serializes this instance of 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 . - /// - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode) - { - container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject(); - - bool returnNow = false; - BeforeToJson(ref container, ref returnNow); - if (returnNow) - { - return container; - } - AddIf( null != (((object)this._nextLink)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonString(this._nextLink.ToString()) : null, "nextLink" ,container.Add ); - if (null != this._value) - { - var __w = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.XNodeArray(); - foreach( var __x in this._value ) - { - AddIf(__x?.ToJson(null, serializationMode) ,__w.Add); - } - container.Add("value",__w); - } - AfterToJson(ref container); - return container; - } - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/HybridIdentityMetadataProperties.PowerShell.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/HybridIdentityMetadataProperties.PowerShell.cs deleted file mode 100644 index b1e5a536641e..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/HybridIdentityMetadataProperties.PowerShell.cs +++ /dev/null @@ -1,206 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models -{ - using Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell; - - /// Defines the resource properties. - [System.ComponentModel.TypeConverter(typeof(HybridIdentityMetadataPropertiesTypeConverter))] - public partial class HybridIdentityMetadataProperties - { - - /// - /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the - /// object before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The global::System.Collections.IDictionary content that should be used. - - partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); - - /// - /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object - /// before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The global::System.Management.Automation.PSObject content that should be used. - - partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); - - /// - /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization - /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output - /// parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The global::System.Collections.IDictionary content that should be used. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); - - /// - /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization - /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output - /// parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The global::System.Management.Automation.PSObject content that should be used. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); - - /// - /// OverrideToString will be called if it is implemented. Implement this method in a partial class to enable this behavior - /// - /// /// instance serialized to a string, normally it is a Json - /// /// set returnNow to true if you provide a customized OverrideToString function - - partial void OverrideToString(ref string stringResult, ref bool returnNow); - - /// - /// Deserializes a into an instance of . - /// - /// The global::System.Collections.IDictionary content that should be used. - /// - /// an instance of . - /// - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) - { - return new HybridIdentityMetadataProperties(content); - } - - /// - /// Deserializes a into an instance of . - /// - /// The global::System.Management.Automation.PSObject content that should be used. - /// - /// an instance of . - /// - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) - { - return new HybridIdentityMetadataProperties(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. - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(jsonText)); - - /// - /// Deserializes a into a new instance of . - /// - /// The global::System.Collections.IDictionary content that should be used. - internal HybridIdentityMetadataProperties(global::System.Collections.IDictionary content) - { - bool returnNow = false; - BeforeDeserializeDictionary(content, ref returnNow); - if (returnNow) - { - return; - } - // actually deserialize - if (content.Contains("Identity")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataPropertiesInternal)this).Identity = (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IIdentity) content.GetValueForProperty("Identity",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataPropertiesInternal)this).Identity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IdentityTypeConverter.ConvertFrom); - } - if (content.Contains("VMId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataPropertiesInternal)this).VMId = (string) content.GetValueForProperty("VMId",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataPropertiesInternal)this).VMId, global::System.Convert.ToString); - } - if (content.Contains("PublicKey")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataPropertiesInternal)this).PublicKey = (string) content.GetValueForProperty("PublicKey",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataPropertiesInternal)this).PublicKey, global::System.Convert.ToString); - } - if (content.Contains("IdentityPrincipalId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataPropertiesInternal)this).IdentityPrincipalId = (string) content.GetValueForProperty("IdentityPrincipalId",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataPropertiesInternal)this).IdentityPrincipalId, global::System.Convert.ToString); - } - if (content.Contains("IdentityTenantId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataPropertiesInternal)this).IdentityTenantId = (string) content.GetValueForProperty("IdentityTenantId",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataPropertiesInternal)this).IdentityTenantId, global::System.Convert.ToString); - } - if (content.Contains("IdentityType")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataPropertiesInternal)this).IdentityType = (string) content.GetValueForProperty("IdentityType",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataPropertiesInternal)this).IdentityType, global::System.Convert.ToString); - } - AfterDeserializeDictionary(content); - } - - /// - /// Deserializes a into a new instance of . - /// - /// The global::System.Management.Automation.PSObject content that should be used. - internal HybridIdentityMetadataProperties(global::System.Management.Automation.PSObject content) - { - bool returnNow = false; - BeforeDeserializePSObject(content, ref returnNow); - if (returnNow) - { - return; - } - // actually deserialize - if (content.Contains("Identity")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataPropertiesInternal)this).Identity = (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IIdentity) content.GetValueForProperty("Identity",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataPropertiesInternal)this).Identity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IdentityTypeConverter.ConvertFrom); - } - if (content.Contains("VMId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataPropertiesInternal)this).VMId = (string) content.GetValueForProperty("VMId",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataPropertiesInternal)this).VMId, global::System.Convert.ToString); - } - if (content.Contains("PublicKey")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataPropertiesInternal)this).PublicKey = (string) content.GetValueForProperty("PublicKey",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataPropertiesInternal)this).PublicKey, global::System.Convert.ToString); - } - if (content.Contains("IdentityPrincipalId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataPropertiesInternal)this).IdentityPrincipalId = (string) content.GetValueForProperty("IdentityPrincipalId",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataPropertiesInternal)this).IdentityPrincipalId, global::System.Convert.ToString); - } - if (content.Contains("IdentityTenantId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataPropertiesInternal)this).IdentityTenantId = (string) content.GetValueForProperty("IdentityTenantId",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataPropertiesInternal)this).IdentityTenantId, global::System.Convert.ToString); - } - if (content.Contains("IdentityType")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataPropertiesInternal)this).IdentityType = (string) content.GetValueForProperty("IdentityType",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataPropertiesInternal)this).IdentityType, global::System.Convert.ToString); - } - AfterDeserializePSObject(content); - } - - /// Serializes this instance to a json string. - - /// a containing this model serialized to JSON text. - public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeAll)?.ToString(); - - public override string ToString() - { - var returnNow = false; - var result = global::System.String.Empty; - OverrideToString(ref result, ref returnNow); - if (returnNow) - { - return result; - } - return ToJsonString(); - } - } - /// Defines the resource properties. - [System.ComponentModel.TypeConverter(typeof(HybridIdentityMetadataPropertiesTypeConverter))] - public partial interface IHybridIdentityMetadataProperties - - { - - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/HybridIdentityMetadataProperties.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/HybridIdentityMetadataProperties.cs deleted file mode 100644 index fbffe34d956b..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/HybridIdentityMetadataProperties.cs +++ /dev/null @@ -1,145 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models -{ - using static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Extensions; - - /// Defines the resource properties. - public partial class HybridIdentityMetadataProperties : - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataProperties, - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataPropertiesInternal - { - - /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IIdentity _identity; - - /// Identity for the resource. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IIdentity Identity { get => (this._identity = this._identity ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.Identity()); } - - /// The principal ID of resource identity. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)] - public string IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IIdentityInternal)Identity).PrincipalId; } - - /// The tenant ID of resource. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)] - public string IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IIdentityInternal)Identity).TenantId; } - - /// The identity type. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)] - public string IdentityType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IIdentityInternal)Identity).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IIdentityInternal)Identity).Type = value ?? null; } - - /// Internal Acessors for Identity - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IIdentity Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataPropertiesInternal.Identity { get => (this._identity = this._identity ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.Identity()); set { {_identity = value;} } } - - /// Internal Acessors for IdentityPrincipalId - string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataPropertiesInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IIdentityInternal)Identity).PrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IIdentityInternal)Identity).PrincipalId = value; } - - /// Internal Acessors for IdentityTenantId - string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataPropertiesInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IIdentityInternal)Identity).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IIdentityInternal)Identity).TenantId = value; } - - /// Backing field for property. - private string _publicKey; - - /// The Public Key. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Owned)] - public string PublicKey { get => this._publicKey; set => this._publicKey = value; } - - /// Backing field for property. - private string _vMId; - - /// The unique identifier for the resource. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Owned)] - public string VMId { get => this._vMId; set => this._vMId = value; } - - /// Creates an new instance. - public HybridIdentityMetadataProperties() - { - - } - } - /// Defines the resource properties. - public partial interface IHybridIdentityMetadataProperties : - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IJsonSerializable - { - /// The principal ID of resource identity. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = true, - Read = true, - Create = false, - Update = false, - Description = @"The principal ID of resource identity.", - SerializedName = @"principalId", - PossibleTypes = new [] { typeof(string) })] - string IdentityPrincipalId { get; } - /// The tenant ID of resource. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = true, - Read = true, - Create = false, - Update = false, - Description = @"The tenant ID of resource.", - SerializedName = @"tenantId", - PossibleTypes = new [] { typeof(string) })] - string IdentityTenantId { get; } - /// The identity type. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = true, - Read = true, - Create = false, - Update = false, - Description = @"The identity type.", - SerializedName = @"type", - PossibleTypes = new [] { typeof(string) })] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PSArgumentCompleterAttribute("SystemAssigned")] - string IdentityType { get; } - /// The Public Key. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Read = true, - Create = true, - Update = true, - Description = @"The Public Key.", - SerializedName = @"publicKey", - PossibleTypes = new [] { typeof(string) })] - string PublicKey { get; set; } - /// The unique identifier for the resource. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Read = true, - Create = true, - Update = true, - Description = @"The unique identifier for the resource.", - SerializedName = @"vmId", - PossibleTypes = new [] { typeof(string) })] - string VMId { get; set; } - - } - /// Defines the resource properties. - internal partial interface IHybridIdentityMetadataPropertiesInternal - - { - /// Identity for the resource. - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IIdentity Identity { get; set; } - /// The principal ID of resource identity. - string IdentityPrincipalId { get; set; } - /// The tenant ID of resource. - string IdentityTenantId { get; set; } - /// The identity type. - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PSArgumentCompleterAttribute("SystemAssigned")] - string IdentityType { get; set; } - /// The Public Key. - string PublicKey { get; set; } - /// The unique identifier for the resource. - string VMId { get; set; } - - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/HybridIdentityMetadataProperties.json.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/HybridIdentityMetadataProperties.json.cs deleted file mode 100644 index 022f16df1e20..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/HybridIdentityMetadataProperties.json.cs +++ /dev/null @@ -1,115 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models -{ - using static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Extensions; - - /// Defines the resource properties. - public partial class HybridIdentityMetadataProperties - { - - /// - /// AfterFromJson will be called after the json deserialization has finished, allowing customization of the object - /// before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The JsonNode that should be deserialized into this object. - - partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json); - - /// - /// AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The JSON container that the serialization result will be placed in. - - partial void AfterToJson(ref Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject container); - - /// - /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of - /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the - /// output parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The JsonNode that should be deserialized into this object. - /// Determines if the rest of the deserialization should be processed, or if the method should return - /// instantly. - - partial void BeforeFromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json, ref bool returnNow); - - /// - /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the - /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output - /// parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The JSON container that the serialization result will be placed in. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject container, ref bool returnNow); - - /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataProperties. - /// - /// a to deserialize from. - /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataProperties. - /// - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode node) - { - return node is Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json ? new HybridIdentityMetadataProperties(json) : null; - } - - /// - /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject into a new instance of . - /// - /// A Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject instance to deserialize from. - internal HybridIdentityMetadataProperties(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json) - { - bool returnNow = false; - BeforeFromJson(json, ref returnNow); - if (returnNow) - { - return; - } - {_identity = If( json?.PropertyT("identity"), out var __jsonIdentity) ? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.Identity.FromJson(__jsonIdentity) : _identity;} - {_vMId = If( json?.PropertyT("vmId"), out var __jsonVMId) ? (string)__jsonVMId : (string)_vMId;} - {_publicKey = If( json?.PropertyT("publicKey"), out var __jsonPublicKey) ? (string)__jsonPublicKey : (string)_publicKey;} - AfterFromJson(json); - } - - /// - /// Serializes this instance of 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 . - /// - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode) - { - container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject(); - - bool returnNow = false; - BeforeToJson(ref container, ref returnNow); - if (returnNow) - { - return container; - } - if (serializationMode.HasFlag(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeRead)) - { - AddIf( null != this._identity ? (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode) this._identity.ToJson(null,serializationMode) : null, "identity" ,container.Add ); - } - AddIf( null != (((object)this._vMId)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonString(this._vMId.ToString()) : null, "vmId" ,container.Add ); - AddIf( null != (((object)this._publicKey)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonString(this._publicKey.ToString()) : null, "publicKey" ,container.Add ); - AfterToJson(ref container); - return container; - } - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommand.PowerShell.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommand.PowerShell.cs deleted file mode 100644 index f74821c06099..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommand.PowerShell.cs +++ /dev/null @@ -1,508 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models -{ - using Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell; - - /// Describes a Run Command - [System.ComponentModel.TypeConverter(typeof(MachineRunCommandTypeConverter))] - public partial class MachineRunCommand - { - - /// - /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the - /// object before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The global::System.Collections.IDictionary content that should be used. - - partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); - - /// - /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object - /// before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The global::System.Management.Automation.PSObject content that should be used. - - partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); - - /// - /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization - /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output - /// parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The global::System.Collections.IDictionary content that should be used. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); - - /// - /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization - /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output - /// parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The global::System.Management.Automation.PSObject content that should be used. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); - - /// - /// OverrideToString will be called if it is implemented. Implement this method in a partial class to enable this behavior - /// - /// /// instance serialized to a string, normally it is a Json - /// /// set returnNow to true if you provide a customized OverrideToString function - - partial void OverrideToString(ref string stringResult, ref bool returnNow); - - /// - /// Deserializes a into an instance of . - /// - /// The global::System.Collections.IDictionary content that should be used. - /// - /// an instance of . - /// - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand DeserializeFromDictionary(global::System.Collections.IDictionary content) - { - return new MachineRunCommand(content); - } - - /// - /// Deserializes a into an instance of . - /// - /// The global::System.Management.Automation.PSObject content that should be used. - /// - /// an instance of . - /// - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand DeserializeFromPSObject(global::System.Management.Automation.PSObject content) - { - return new MachineRunCommand(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. - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(jsonText)); - - /// - /// Deserializes a into a new instance of . - /// - /// The global::System.Collections.IDictionary content that should be used. - internal MachineRunCommand(global::System.Collections.IDictionary content) - { - bool returnNow = false; - BeforeDeserializeDictionary(content, ref returnNow); - if (returnNow) - { - return; - } - // actually deserialize - if (content.Contains("Property")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.MachineRunCommandPropertiesTypeConverter.ConvertFrom); - } - if (content.Contains("SystemDataCreatedBy")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemDataCreatedBy = (string) content.GetValueForProperty("SystemDataCreatedBy",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemDataCreatedBy, global::System.Convert.ToString); - } - if (content.Contains("SystemDataCreatedAt")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemDataCreatedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataCreatedAt",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemDataCreatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); - } - if (content.Contains("SystemDataCreatedByType")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemDataCreatedByType = (string) content.GetValueForProperty("SystemDataCreatedByType",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemDataCreatedByType, global::System.Convert.ToString); - } - if (content.Contains("SystemDataLastModifiedBy")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemDataLastModifiedBy = (string) content.GetValueForProperty("SystemDataLastModifiedBy",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemDataLastModifiedBy, global::System.Convert.ToString); - } - if (content.Contains("SystemDataLastModifiedByType")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemDataLastModifiedByType = (string) content.GetValueForProperty("SystemDataLastModifiedByType",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemDataLastModifiedByType, global::System.Convert.ToString); - } - if (content.Contains("SystemDataLastModifiedAt")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemDataLastModifiedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataLastModifiedAt",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemDataLastModifiedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); - } - if (content.Contains("SystemData")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.SystemDataTypeConverter.ConvertFrom); - } - if (content.Contains("Id")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).Id, global::System.Convert.ToString); - } - if (content.Contains("Name")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).Name, global::System.Convert.ToString); - } - if (content.Contains("Type")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).Type, global::System.Convert.ToString); - } - if (content.Contains("Tags")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceInternal)this).Tags = (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceTags) content.GetValueForProperty("Tags",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceInternal)this).Tags, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.TrackedResourceTagsTypeConverter.ConvertFrom); - } - if (content.Contains("Location")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceInternal)this).Location, global::System.Convert.ToString); - } - if (content.Contains("Source")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).Source = (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandScriptSource) content.GetValueForProperty("Source",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).Source, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.MachineRunCommandScriptSourceTypeConverter.ConvertFrom); - } - if (content.Contains("OutputBlobManagedIdentity")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).OutputBlobManagedIdentity = (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandManagedIdentity) content.GetValueForProperty("OutputBlobManagedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).OutputBlobManagedIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.RunCommandManagedIdentityTypeConverter.ConvertFrom); - } - if (content.Contains("ErrorBlobManagedIdentity")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).ErrorBlobManagedIdentity = (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandManagedIdentity) content.GetValueForProperty("ErrorBlobManagedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).ErrorBlobManagedIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.RunCommandManagedIdentityTypeConverter.ConvertFrom); - } - if (content.Contains("InstanceView")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).InstanceView = (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceView) content.GetValueForProperty("InstanceView",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).InstanceView, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.MachineRunCommandInstanceViewTypeConverter.ConvertFrom); - } - if (content.Contains("Parameter")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).Parameter = (System.Collections.Generic.List) content.GetValueForProperty("Parameter",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).Parameter, __y => TypeConverterExtensions.SelectToList(__y, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.RunCommandInputParameterTypeConverter.ConvertFrom)); - } - if (content.Contains("ProtectedParameter")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).ProtectedParameter = (System.Collections.Generic.List) content.GetValueForProperty("ProtectedParameter",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).ProtectedParameter, __y => TypeConverterExtensions.SelectToList(__y, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.RunCommandInputParameterTypeConverter.ConvertFrom)); - } - if (content.Contains("AsyncExecution")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).AsyncExecution = (bool?) content.GetValueForProperty("AsyncExecution",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).AsyncExecution, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); - } - if (content.Contains("RunAsUser")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).RunAsUser = (string) content.GetValueForProperty("RunAsUser",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).RunAsUser, global::System.Convert.ToString); - } - if (content.Contains("RunAsPassword")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).RunAsPassword = (string) content.GetValueForProperty("RunAsPassword",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).RunAsPassword, global::System.Convert.ToString); - } - if (content.Contains("TimeoutInSecond")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).TimeoutInSecond = (int?) content.GetValueForProperty("TimeoutInSecond",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).TimeoutInSecond, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); - } - if (content.Contains("OutputBlobUri")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).OutputBlobUri = (string) content.GetValueForProperty("OutputBlobUri",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).OutputBlobUri, global::System.Convert.ToString); - } - if (content.Contains("ErrorBlobUri")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).ErrorBlobUri = (string) content.GetValueForProperty("ErrorBlobUri",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).ErrorBlobUri, global::System.Convert.ToString); - } - if (content.Contains("ProvisioningState")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).ProvisioningState = (string) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).ProvisioningState, global::System.Convert.ToString); - } - if (content.Contains("InstanceViewExecutionState")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).InstanceViewExecutionState = (string) content.GetValueForProperty("InstanceViewExecutionState",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).InstanceViewExecutionState, global::System.Convert.ToString); - } - if (content.Contains("SourceScriptUriManagedIdentity")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).SourceScriptUriManagedIdentity = (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandManagedIdentity) content.GetValueForProperty("SourceScriptUriManagedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).SourceScriptUriManagedIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.RunCommandManagedIdentityTypeConverter.ConvertFrom); - } - if (content.Contains("SourceScript")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).SourceScript = (string) content.GetValueForProperty("SourceScript",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).SourceScript, global::System.Convert.ToString); - } - if (content.Contains("SourceScriptUri")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).SourceScriptUri = (string) content.GetValueForProperty("SourceScriptUri",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).SourceScriptUri, global::System.Convert.ToString); - } - if (content.Contains("SourceCommandId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).SourceCommandId = (string) content.GetValueForProperty("SourceCommandId",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).SourceCommandId, global::System.Convert.ToString); - } - if (content.Contains("OutputBlobManagedIdentityClientId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).OutputBlobManagedIdentityClientId = (string) content.GetValueForProperty("OutputBlobManagedIdentityClientId",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).OutputBlobManagedIdentityClientId, global::System.Convert.ToString); - } - if (content.Contains("OutputBlobManagedIdentityObjectId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).OutputBlobManagedIdentityObjectId = (string) content.GetValueForProperty("OutputBlobManagedIdentityObjectId",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).OutputBlobManagedIdentityObjectId, global::System.Convert.ToString); - } - if (content.Contains("ErrorBlobManagedIdentityClientId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).ErrorBlobManagedIdentityClientId = (string) content.GetValueForProperty("ErrorBlobManagedIdentityClientId",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).ErrorBlobManagedIdentityClientId, global::System.Convert.ToString); - } - if (content.Contains("ErrorBlobManagedIdentityObjectId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).ErrorBlobManagedIdentityObjectId = (string) content.GetValueForProperty("ErrorBlobManagedIdentityObjectId",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).ErrorBlobManagedIdentityObjectId, global::System.Convert.ToString); - } - if (content.Contains("InstanceViewExecutionMessage")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).InstanceViewExecutionMessage = (string) content.GetValueForProperty("InstanceViewExecutionMessage",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).InstanceViewExecutionMessage, global::System.Convert.ToString); - } - if (content.Contains("InstanceViewExitCode")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).InstanceViewExitCode = (int?) content.GetValueForProperty("InstanceViewExitCode",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).InstanceViewExitCode, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); - } - if (content.Contains("InstanceViewOutput")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).InstanceViewOutput = (string) content.GetValueForProperty("InstanceViewOutput",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).InstanceViewOutput, global::System.Convert.ToString); - } - if (content.Contains("InstanceViewError")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).InstanceViewError = (string) content.GetValueForProperty("InstanceViewError",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).InstanceViewError, global::System.Convert.ToString); - } - if (content.Contains("InstanceViewStartTime")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).InstanceViewStartTime = (global::System.DateTime?) content.GetValueForProperty("InstanceViewStartTime",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).InstanceViewStartTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); - } - if (content.Contains("InstanceViewEndTime")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).InstanceViewEndTime = (global::System.DateTime?) content.GetValueForProperty("InstanceViewEndTime",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).InstanceViewEndTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); - } - if (content.Contains("InstanceViewStatuses")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).InstanceViewStatuses = (System.Collections.Generic.List) content.GetValueForProperty("InstanceViewStatuses",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).InstanceViewStatuses, __y => TypeConverterExtensions.SelectToList(__y, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ExtensionsResourceStatusTypeConverter.ConvertFrom)); - } - if (content.Contains("ScriptUriManagedIdentityClientId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).ScriptUriManagedIdentityClientId = (string) content.GetValueForProperty("ScriptUriManagedIdentityClientId",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).ScriptUriManagedIdentityClientId, global::System.Convert.ToString); - } - if (content.Contains("ScriptUriManagedIdentityObjectId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).ScriptUriManagedIdentityObjectId = (string) content.GetValueForProperty("ScriptUriManagedIdentityObjectId",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).ScriptUriManagedIdentityObjectId, global::System.Convert.ToString); - } - AfterDeserializeDictionary(content); - } - - /// - /// Deserializes a into a new instance of . - /// - /// The global::System.Management.Automation.PSObject content that should be used. - internal MachineRunCommand(global::System.Management.Automation.PSObject content) - { - bool returnNow = false; - BeforeDeserializePSObject(content, ref returnNow); - if (returnNow) - { - return; - } - // actually deserialize - if (content.Contains("Property")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.MachineRunCommandPropertiesTypeConverter.ConvertFrom); - } - if (content.Contains("SystemDataCreatedBy")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemDataCreatedBy = (string) content.GetValueForProperty("SystemDataCreatedBy",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemDataCreatedBy, global::System.Convert.ToString); - } - if (content.Contains("SystemDataCreatedAt")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemDataCreatedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataCreatedAt",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemDataCreatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); - } - if (content.Contains("SystemDataCreatedByType")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemDataCreatedByType = (string) content.GetValueForProperty("SystemDataCreatedByType",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemDataCreatedByType, global::System.Convert.ToString); - } - if (content.Contains("SystemDataLastModifiedBy")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemDataLastModifiedBy = (string) content.GetValueForProperty("SystemDataLastModifiedBy",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemDataLastModifiedBy, global::System.Convert.ToString); - } - if (content.Contains("SystemDataLastModifiedByType")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemDataLastModifiedByType = (string) content.GetValueForProperty("SystemDataLastModifiedByType",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemDataLastModifiedByType, global::System.Convert.ToString); - } - if (content.Contains("SystemDataLastModifiedAt")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemDataLastModifiedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataLastModifiedAt",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemDataLastModifiedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); - } - if (content.Contains("SystemData")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.SystemDataTypeConverter.ConvertFrom); - } - if (content.Contains("Id")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).Id, global::System.Convert.ToString); - } - if (content.Contains("Name")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).Name, global::System.Convert.ToString); - } - if (content.Contains("Type")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).Type, global::System.Convert.ToString); - } - if (content.Contains("Tags")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceInternal)this).Tags = (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceTags) content.GetValueForProperty("Tags",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceInternal)this).Tags, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.TrackedResourceTagsTypeConverter.ConvertFrom); - } - if (content.Contains("Location")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceInternal)this).Location, global::System.Convert.ToString); - } - if (content.Contains("Source")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).Source = (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandScriptSource) content.GetValueForProperty("Source",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).Source, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.MachineRunCommandScriptSourceTypeConverter.ConvertFrom); - } - if (content.Contains("OutputBlobManagedIdentity")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).OutputBlobManagedIdentity = (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandManagedIdentity) content.GetValueForProperty("OutputBlobManagedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).OutputBlobManagedIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.RunCommandManagedIdentityTypeConverter.ConvertFrom); - } - if (content.Contains("ErrorBlobManagedIdentity")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).ErrorBlobManagedIdentity = (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandManagedIdentity) content.GetValueForProperty("ErrorBlobManagedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).ErrorBlobManagedIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.RunCommandManagedIdentityTypeConverter.ConvertFrom); - } - if (content.Contains("InstanceView")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).InstanceView = (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceView) content.GetValueForProperty("InstanceView",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).InstanceView, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.MachineRunCommandInstanceViewTypeConverter.ConvertFrom); - } - if (content.Contains("Parameter")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).Parameter = (System.Collections.Generic.List) content.GetValueForProperty("Parameter",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).Parameter, __y => TypeConverterExtensions.SelectToList(__y, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.RunCommandInputParameterTypeConverter.ConvertFrom)); - } - if (content.Contains("ProtectedParameter")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).ProtectedParameter = (System.Collections.Generic.List) content.GetValueForProperty("ProtectedParameter",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).ProtectedParameter, __y => TypeConverterExtensions.SelectToList(__y, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.RunCommandInputParameterTypeConverter.ConvertFrom)); - } - if (content.Contains("AsyncExecution")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).AsyncExecution = (bool?) content.GetValueForProperty("AsyncExecution",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).AsyncExecution, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); - } - if (content.Contains("RunAsUser")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).RunAsUser = (string) content.GetValueForProperty("RunAsUser",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).RunAsUser, global::System.Convert.ToString); - } - if (content.Contains("RunAsPassword")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).RunAsPassword = (string) content.GetValueForProperty("RunAsPassword",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).RunAsPassword, global::System.Convert.ToString); - } - if (content.Contains("TimeoutInSecond")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).TimeoutInSecond = (int?) content.GetValueForProperty("TimeoutInSecond",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).TimeoutInSecond, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); - } - if (content.Contains("OutputBlobUri")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).OutputBlobUri = (string) content.GetValueForProperty("OutputBlobUri",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).OutputBlobUri, global::System.Convert.ToString); - } - if (content.Contains("ErrorBlobUri")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).ErrorBlobUri = (string) content.GetValueForProperty("ErrorBlobUri",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).ErrorBlobUri, global::System.Convert.ToString); - } - if (content.Contains("ProvisioningState")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).ProvisioningState = (string) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).ProvisioningState, global::System.Convert.ToString); - } - if (content.Contains("InstanceViewExecutionState")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).InstanceViewExecutionState = (string) content.GetValueForProperty("InstanceViewExecutionState",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).InstanceViewExecutionState, global::System.Convert.ToString); - } - if (content.Contains("SourceScriptUriManagedIdentity")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).SourceScriptUriManagedIdentity = (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandManagedIdentity) content.GetValueForProperty("SourceScriptUriManagedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).SourceScriptUriManagedIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.RunCommandManagedIdentityTypeConverter.ConvertFrom); - } - if (content.Contains("SourceScript")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).SourceScript = (string) content.GetValueForProperty("SourceScript",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).SourceScript, global::System.Convert.ToString); - } - if (content.Contains("SourceScriptUri")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).SourceScriptUri = (string) content.GetValueForProperty("SourceScriptUri",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).SourceScriptUri, global::System.Convert.ToString); - } - if (content.Contains("SourceCommandId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).SourceCommandId = (string) content.GetValueForProperty("SourceCommandId",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).SourceCommandId, global::System.Convert.ToString); - } - if (content.Contains("OutputBlobManagedIdentityClientId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).OutputBlobManagedIdentityClientId = (string) content.GetValueForProperty("OutputBlobManagedIdentityClientId",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).OutputBlobManagedIdentityClientId, global::System.Convert.ToString); - } - if (content.Contains("OutputBlobManagedIdentityObjectId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).OutputBlobManagedIdentityObjectId = (string) content.GetValueForProperty("OutputBlobManagedIdentityObjectId",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).OutputBlobManagedIdentityObjectId, global::System.Convert.ToString); - } - if (content.Contains("ErrorBlobManagedIdentityClientId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).ErrorBlobManagedIdentityClientId = (string) content.GetValueForProperty("ErrorBlobManagedIdentityClientId",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).ErrorBlobManagedIdentityClientId, global::System.Convert.ToString); - } - if (content.Contains("ErrorBlobManagedIdentityObjectId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).ErrorBlobManagedIdentityObjectId = (string) content.GetValueForProperty("ErrorBlobManagedIdentityObjectId",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).ErrorBlobManagedIdentityObjectId, global::System.Convert.ToString); - } - if (content.Contains("InstanceViewExecutionMessage")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).InstanceViewExecutionMessage = (string) content.GetValueForProperty("InstanceViewExecutionMessage",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).InstanceViewExecutionMessage, global::System.Convert.ToString); - } - if (content.Contains("InstanceViewExitCode")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).InstanceViewExitCode = (int?) content.GetValueForProperty("InstanceViewExitCode",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).InstanceViewExitCode, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); - } - if (content.Contains("InstanceViewOutput")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).InstanceViewOutput = (string) content.GetValueForProperty("InstanceViewOutput",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).InstanceViewOutput, global::System.Convert.ToString); - } - if (content.Contains("InstanceViewError")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).InstanceViewError = (string) content.GetValueForProperty("InstanceViewError",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).InstanceViewError, global::System.Convert.ToString); - } - if (content.Contains("InstanceViewStartTime")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).InstanceViewStartTime = (global::System.DateTime?) content.GetValueForProperty("InstanceViewStartTime",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).InstanceViewStartTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); - } - if (content.Contains("InstanceViewEndTime")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).InstanceViewEndTime = (global::System.DateTime?) content.GetValueForProperty("InstanceViewEndTime",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).InstanceViewEndTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); - } - if (content.Contains("InstanceViewStatuses")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).InstanceViewStatuses = (System.Collections.Generic.List) content.GetValueForProperty("InstanceViewStatuses",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).InstanceViewStatuses, __y => TypeConverterExtensions.SelectToList(__y, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ExtensionsResourceStatusTypeConverter.ConvertFrom)); - } - if (content.Contains("ScriptUriManagedIdentityClientId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).ScriptUriManagedIdentityClientId = (string) content.GetValueForProperty("ScriptUriManagedIdentityClientId",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).ScriptUriManagedIdentityClientId, global::System.Convert.ToString); - } - if (content.Contains("ScriptUriManagedIdentityObjectId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).ScriptUriManagedIdentityObjectId = (string) content.GetValueForProperty("ScriptUriManagedIdentityObjectId",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal)this).ScriptUriManagedIdentityObjectId, global::System.Convert.ToString); - } - AfterDeserializePSObject(content); - } - - /// Serializes this instance to a json string. - - /// a containing this model serialized to JSON text. - public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeAll)?.ToString(); - - public override string ToString() - { - var returnNow = false; - var result = global::System.String.Empty; - OverrideToString(ref result, ref returnNow); - if (returnNow) - { - return result; - } - return ToJsonString(); - } - } - /// Describes a Run Command - [System.ComponentModel.TypeConverter(typeof(MachineRunCommandTypeConverter))] - public partial interface IMachineRunCommand - - { - - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommand.TypeConverter.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommand.TypeConverter.cs deleted file mode 100644 index 91948798c95c..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommand.TypeConverter.cs +++ /dev/null @@ -1,147 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models -{ - using Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell; - - /// - /// A PowerShell PSTypeConverter to support converting to an instance of - /// - public partial class MachineRunCommandTypeConverter : global::System.Management.Automation.PSTypeConverter - { - - /// - /// Determines if the converter can convert the parameter to the parameter. - /// - /// the to convert from - /// the to convert to - /// - /// true if the converter can convert the parameter to the parameter, otherwise false. - /// - public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); - - /// - /// Determines if the converter can convert the parameter to the - /// type. - /// - /// the instance to check if it can be converted to the type. - /// - /// true if the instance could be converted to a type, otherwise false - /// - public static bool CanConvertFrom(dynamic sourceValue) - { - if (null == sourceValue) - { - return true; - } - global::System.Type type = sourceValue.GetType(); - if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) - { - // we say yest to PSObjects - return true; - } - if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) - { - // we say yest to Hashtables/dictionaries - return true; - } - try - { - if (null != sourceValue.ToJsonString()) - { - return true; - } - } - catch - { - // Not one of our objects - } - try - { - string text = sourceValue.ToString()?.Trim(); - return true == text?.StartsWith("{") && true == text?.EndsWith("}") && Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(text).Type == Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonType.Object; - } - catch - { - // Doesn't look like it can be treated as JSON - } - return false; - } - - /// - /// Determines if the parameter can be converted to the - /// parameter - /// - /// the to convert from - /// the to convert to - /// - /// true if the converter can convert the parameter to the parameter, otherwise false - /// - public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; - - /// - /// Converts the parameter to the parameter using and - /// - /// the to convert from - /// the to convert to - /// 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. - /// - 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 - /// - /// the value to convert into an instance of . - /// - /// an instance of , or null if there is no suitable conversion. - /// - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand ConvertFrom(dynamic sourceValue) - { - if (null == sourceValue) - { - return null; - } - global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand).IsAssignableFrom(type)) - { - return sourceValue; - } - try - { - return MachineRunCommand.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; - } - catch - { - // Unable to use JSON pattern - } - if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) - { - return MachineRunCommand.DeserializeFromPSObject(sourceValue); - } - if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) - { - return MachineRunCommand.DeserializeFromDictionary(sourceValue); - } - return null; - } - - /// NotImplemented -- this will return null - /// the to convert from - /// the to convert to - /// not used by this TypeConverter. - /// when set to true, will ignore the case when converting. - /// will always return null. - public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null; - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommand.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommand.cs deleted file mode 100644 index 7c365fd30109..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommand.cs +++ /dev/null @@ -1,694 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models -{ - using static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Extensions; - - /// Describes a Run Command - public partial class MachineRunCommand : - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand, - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal, - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IValidates - { - /// - /// Backing field for Inherited model - /// - private Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResource __trackedResource = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.TrackedResource(); - - /// - /// Optional. If set to true, provisioning will complete as soon as script starts and will not wait for script to complete. - /// - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)] - public bool? AsyncExecution { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).AsyncExecution; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).AsyncExecution = value ?? default(bool); } - - /// - /// Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided. - /// - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)] - public string ErrorBlobManagedIdentityClientId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).ErrorBlobManagedIdentityClientId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).ErrorBlobManagedIdentityClientId = value ?? null; } - - /// - /// Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided. - /// - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)] - public string ErrorBlobManagedIdentityObjectId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).ErrorBlobManagedIdentityObjectId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).ErrorBlobManagedIdentityObjectId = value ?? null; } - - /// - /// Specifies the Azure storage blob where script error stream will be uploaded. Use a SAS URI with read, append, create, - /// write access OR use managed identity to provide the VM access to the blob. Refer errorBlobManagedIdentity parameter. - /// - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)] - public string ErrorBlobUri { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).ErrorBlobUri; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).ErrorBlobUri = value ?? null; } - - /// - /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - /// - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)] - public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).Id; } - - /// Script end time. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)] - public global::System.DateTime? InstanceViewEndTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).InstanceViewEndTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).InstanceViewEndTime = value ?? default(global::System.DateTime); } - - /// Script error stream. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)] - public string InstanceViewError { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).InstanceViewError; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).InstanceViewError = value ?? null; } - - /// Communicate script configuration errors or execution messages. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)] - public string InstanceViewExecutionMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).InstanceViewExecutionMessage; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).InstanceViewExecutionMessage = value ?? null; } - - /// Script execution status. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)] - public string InstanceViewExecutionState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).InstanceViewExecutionState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).InstanceViewExecutionState = value ?? null; } - - /// Exit code returned from script execution. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)] - public int? InstanceViewExitCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).InstanceViewExitCode; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).InstanceViewExitCode = value ?? default(int); } - - /// Script output stream. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)] - public string InstanceViewOutput { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).InstanceViewOutput; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).InstanceViewOutput = value ?? null; } - - /// Script start time. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)] - public global::System.DateTime? InstanceViewStartTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).InstanceViewStartTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).InstanceViewStartTime = value ?? default(global::System.DateTime); } - - /// The status information. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)] - public System.Collections.Generic.List InstanceViewStatuses { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).InstanceViewStatuses; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).InstanceViewStatuses = value ?? null /* arrayOf */; } - - /// The geo-location where the resource lives - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)] - public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceInternal)__trackedResource).Location = value ; } - - /// Internal Acessors for ErrorBlobManagedIdentity - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandManagedIdentity Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal.ErrorBlobManagedIdentity { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).ErrorBlobManagedIdentity; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).ErrorBlobManagedIdentity = value; } - - /// Internal Acessors for InstanceView - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceView Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal.InstanceView { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).InstanceView; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).InstanceView = value; } - - /// Internal Acessors for OutputBlobManagedIdentity - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandManagedIdentity Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal.OutputBlobManagedIdentity { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).OutputBlobManagedIdentity; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).OutputBlobManagedIdentity = value; } - - /// Internal Acessors for Property - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandProperties Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.MachineRunCommandProperties()); set { {_property = value;} } } - - /// Internal Acessors for ProvisioningState - string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).ProvisioningState = value; } - - /// Internal Acessors for Source - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandScriptSource Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal.Source { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).Source; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).Source = value; } - - /// Internal Acessors for SourceScriptUriManagedIdentity - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandManagedIdentity Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal.SourceScriptUriManagedIdentity { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).SourceScriptUriManagedIdentity; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).SourceScriptUriManagedIdentity = value; } - - /// Internal Acessors for Id - string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).Id = value; } - - /// Internal Acessors for Name - string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).Name = value; } - - /// Internal Acessors for SystemData - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemData = value; } - - /// Internal Acessors for Type - string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).Type = value; } - - /// The name of the resource - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)] - public string Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).Name; } - - /// - /// Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided. - /// - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)] - public string OutputBlobManagedIdentityClientId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).OutputBlobManagedIdentityClientId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).OutputBlobManagedIdentityClientId = value ?? null; } - - /// - /// Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided. - /// - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)] - public string OutputBlobManagedIdentityObjectId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).OutputBlobManagedIdentityObjectId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).OutputBlobManagedIdentityObjectId = value ?? null; } - - /// - /// Specifies the Azure storage blob where script output stream will be uploaded. Use a SAS URI with read, append, create, - /// write access OR use managed identity to provide the VM access to the blob. Refer outputBlobManagedIdentity parameter. - /// - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)] - public string OutputBlobUri { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).OutputBlobUri; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).OutputBlobUri = value ?? null; } - - /// The parameters used by the script. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)] - public System.Collections.Generic.List Parameter { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).Parameter; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).Parameter = value ?? null /* arrayOf */; } - - /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandProperties _property; - - /// Describes Run Command Properties - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandProperties Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.MachineRunCommandProperties()); set => this._property = value; } - - /// The parameters used by the script. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)] - public System.Collections.Generic.List ProtectedParameter { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).ProtectedParameter; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).ProtectedParameter = value ?? null /* arrayOf */; } - - /// The provisioning state, which only appears in the response. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)] - public string ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).ProvisioningState; } - - /// Gets the resource group name - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Owned)] - public string ResourceGroupName { get => (new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(this.Id).Success ? new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(this.Id).Groups["resourceGroupName"].Value : null); } - - /// - /// Specifies the user account password on the machine when executing the run command. - /// - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)] - public string RunAsPassword { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).RunAsPassword; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).RunAsPassword = value ?? null; } - - /// Specifies the user account on the machine when executing the run command. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)] - public string RunAsUser { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).RunAsUser; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).RunAsUser = value ?? null; } - - /// - /// Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided. - /// - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)] - public string ScriptUriManagedIdentityClientId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).ScriptUriManagedIdentityClientId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).ScriptUriManagedIdentityClientId = value ?? null; } - - /// - /// Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided. - /// - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)] - public string ScriptUriManagedIdentityObjectId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).ScriptUriManagedIdentityObjectId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).ScriptUriManagedIdentityObjectId = value ?? null; } - - /// Specifies the commandId of predefined built-in script. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)] - public string SourceCommandId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).SourceCommandId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).SourceCommandId = value ?? null; } - - /// Specifies the script content to be executed on the machine. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)] - public string SourceScript { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).SourceScript; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).SourceScript = value ?? null; } - - /// - /// Specifies the script download location. It can be either SAS URI of an Azure storage blob with read access or public URI. - /// - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)] - public string SourceScriptUri { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).SourceScriptUri; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).SourceScriptUri = value ?? null; } - - /// - /// Azure Resource Manager metadata containing createdBy and modifiedBy information. - /// - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)] - internal Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemData; } - - /// The timestamp of resource creation (UTC). - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)] - public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); } - - /// The identity that created the resource. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)] - public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; } - - /// The type of identity that created the resource. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)] - public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; } - - /// The timestamp of resource last modification (UTC) - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)] - public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); } - - /// The identity that last modified the resource. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)] - public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; } - - /// The type of identity that last modified the resource. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)] - public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; } - - /// Resource tags. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)] - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceTags Tags { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceInternal)__trackedResource).Tags; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceInternal)__trackedResource).Tags = value ?? null /* model class */; } - - /// The timeout in seconds to execute the run command. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)] - public int? TimeoutInSecond { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).TimeoutInSecond; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).TimeoutInSecond = value ?? default(int); } - - /// - /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - /// - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)] - public string Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).Type; } - - /// Creates an new instance. - public MachineRunCommand() - { - - } - - /// Validates that this object meets the validation criteria. - /// an instance that will receive validation - /// events. - /// - /// A that will be complete when validation is completed. - /// - public async global::System.Threading.Tasks.Task Validate(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) - { - await eventListener.AssertNotNull(nameof(__trackedResource), __trackedResource); - await eventListener.AssertObjectIsValid(nameof(__trackedResource), __trackedResource); - } - } - /// Describes a Run Command - public partial interface IMachineRunCommand : - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IJsonSerializable, - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResource - { - /// - /// Optional. If set to true, provisioning will complete as soon as script starts and will not wait for script to complete. - /// - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Read = true, - Create = true, - Update = true, - Description = @"Optional. If set to true, provisioning will complete as soon as script starts and will not wait for script to complete.", - SerializedName = @"asyncExecution", - PossibleTypes = new [] { typeof(bool) })] - bool? AsyncExecution { get; set; } - /// - /// Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided. - /// - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Read = true, - Create = true, - Update = true, - Description = @"Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided.", - SerializedName = @"clientId", - PossibleTypes = new [] { typeof(string) })] - string ErrorBlobManagedIdentityClientId { get; set; } - /// - /// Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided. - /// - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Read = true, - Create = true, - Update = true, - Description = @"Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided.", - SerializedName = @"objectId", - PossibleTypes = new [] { typeof(string) })] - string ErrorBlobManagedIdentityObjectId { get; set; } - /// - /// Specifies the Azure storage blob where script error stream will be uploaded. Use a SAS URI with read, append, create, - /// write access OR use managed identity to provide the VM access to the blob. Refer errorBlobManagedIdentity parameter. - /// - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Read = true, - Create = true, - Update = true, - Description = @"Specifies the Azure storage blob where script error stream will be uploaded. Use a SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob. Refer errorBlobManagedIdentity parameter.", - SerializedName = @"errorBlobUri", - PossibleTypes = new [] { typeof(string) })] - string ErrorBlobUri { get; set; } - /// Script end time. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = true, - Read = true, - Create = false, - Update = false, - Description = @"Script end time.", - SerializedName = @"endTime", - PossibleTypes = new [] { typeof(global::System.DateTime) })] - global::System.DateTime? InstanceViewEndTime { get; } - /// Script error stream. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = true, - Read = true, - Create = false, - Update = false, - Description = @"Script error stream.", - SerializedName = @"error", - PossibleTypes = new [] { typeof(string) })] - string InstanceViewError { get; } - /// Communicate script configuration errors or execution messages. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = true, - Read = true, - Create = false, - Update = false, - Description = @"Communicate script configuration errors or execution messages.", - SerializedName = @"executionMessage", - PossibleTypes = new [] { typeof(string) })] - string InstanceViewExecutionMessage { get; } - /// Script execution status. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = true, - Read = true, - Create = false, - Update = false, - Description = @"Script execution status.", - SerializedName = @"executionState", - PossibleTypes = new [] { typeof(string) })] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PSArgumentCompleterAttribute("Unknown", "Pending", "Running", "Failed", "Succeeded", "TimedOut", "Canceled")] - string InstanceViewExecutionState { get; } - /// Exit code returned from script execution. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = true, - Read = true, - Create = false, - Update = false, - Description = @"Exit code returned from script execution.", - SerializedName = @"exitCode", - PossibleTypes = new [] { typeof(int) })] - int? InstanceViewExitCode { get; } - /// Script output stream. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = true, - Read = true, - Create = false, - Update = false, - Description = @"Script output stream.", - SerializedName = @"output", - PossibleTypes = new [] { typeof(string) })] - string InstanceViewOutput { get; } - /// Script start time. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = true, - Read = true, - Create = false, - Update = false, - Description = @"Script start time.", - SerializedName = @"startTime", - PossibleTypes = new [] { typeof(global::System.DateTime) })] - global::System.DateTime? InstanceViewStartTime { get; } - /// The status information. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = true, - Read = true, - Create = false, - Update = false, - Description = @"The status information.", - SerializedName = @"statuses", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IExtensionsResourceStatus) })] - System.Collections.Generic.List InstanceViewStatuses { get; } - /// - /// Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided. - /// - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Read = true, - Create = true, - Update = true, - Description = @"Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided.", - SerializedName = @"clientId", - PossibleTypes = new [] { typeof(string) })] - string OutputBlobManagedIdentityClientId { get; set; } - /// - /// Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided. - /// - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Read = true, - Create = true, - Update = true, - Description = @"Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided.", - SerializedName = @"objectId", - PossibleTypes = new [] { typeof(string) })] - string OutputBlobManagedIdentityObjectId { get; set; } - /// - /// Specifies the Azure storage blob where script output stream will be uploaded. Use a SAS URI with read, append, create, - /// write access OR use managed identity to provide the VM access to the blob. Refer outputBlobManagedIdentity parameter. - /// - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Read = true, - Create = true, - Update = true, - Description = @"Specifies the Azure storage blob where script output stream will be uploaded. Use a SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob. Refer outputBlobManagedIdentity parameter. ", - SerializedName = @"outputBlobUri", - PossibleTypes = new [] { typeof(string) })] - string OutputBlobUri { get; set; } - /// The parameters used by the script. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Read = true, - Create = true, - Update = true, - Description = @"The parameters used by the script.", - SerializedName = @"parameters", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandInputParameter) })] - System.Collections.Generic.List Parameter { get; set; } - /// The parameters used by the script. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Read = true, - Create = true, - Update = true, - Description = @"The parameters used by the script.", - SerializedName = @"protectedParameters", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandInputParameter) })] - System.Collections.Generic.List ProtectedParameter { get; set; } - /// The provisioning state, which only appears in the response. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = true, - Read = true, - Create = false, - Update = false, - Description = @"The provisioning state, which only appears in the response.", - SerializedName = @"provisioningState", - PossibleTypes = new [] { typeof(string) })] - string ProvisioningState { get; } - /// - /// Specifies the user account password on the machine when executing the run command. - /// - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Read = true, - Create = true, - Update = true, - Description = @"Specifies the user account password on the machine when executing the run command.", - SerializedName = @"runAsPassword", - PossibleTypes = new [] { typeof(string) })] - string RunAsPassword { get; set; } - /// Specifies the user account on the machine when executing the run command. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Read = true, - Create = true, - Update = true, - Description = @"Specifies the user account on the machine when executing the run command.", - SerializedName = @"runAsUser", - PossibleTypes = new [] { typeof(string) })] - string RunAsUser { get; set; } - /// - /// Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided. - /// - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Read = true, - Create = true, - Update = true, - Description = @"Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided.", - SerializedName = @"clientId", - PossibleTypes = new [] { typeof(string) })] - string ScriptUriManagedIdentityClientId { get; set; } - /// - /// Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided. - /// - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Read = true, - Create = true, - Update = true, - Description = @"Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided.", - SerializedName = @"objectId", - PossibleTypes = new [] { typeof(string) })] - string ScriptUriManagedIdentityObjectId { get; set; } - /// Specifies the commandId of predefined built-in script. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Read = true, - Create = true, - Update = true, - Description = @"Specifies the commandId of predefined built-in script.", - SerializedName = @"commandId", - PossibleTypes = new [] { typeof(string) })] - string SourceCommandId { get; set; } - /// Specifies the script content to be executed on the machine. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Read = true, - Create = true, - Update = true, - Description = @"Specifies the script content to be executed on the machine.", - SerializedName = @"script", - PossibleTypes = new [] { typeof(string) })] - string SourceScript { get; set; } - /// - /// Specifies the script download location. It can be either SAS URI of an Azure storage blob with read access or public URI. - /// - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Read = true, - Create = true, - Update = true, - Description = @"Specifies the script download location. It can be either SAS URI of an Azure storage blob with read access or public URI.", - SerializedName = @"scriptUri", - PossibleTypes = new [] { typeof(string) })] - string SourceScriptUri { get; set; } - /// The timeout in seconds to execute the run command. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Read = true, - Create = true, - Update = true, - Description = @"The timeout in seconds to execute the run command.", - SerializedName = @"timeoutInSeconds", - PossibleTypes = new [] { typeof(int) })] - int? TimeoutInSecond { get; set; } - - } - /// Describes a Run Command - internal partial interface IMachineRunCommandInternal : - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceInternal - { - /// - /// Optional. If set to true, provisioning will complete as soon as script starts and will not wait for script to complete. - /// - bool? AsyncExecution { get; set; } - /// - /// User-assigned managed identity that has access to errorBlobUri storage blob. Use an empty object in case of system-assigned - /// identity. Make sure managed identity has been given access to blob's container with 'Storage Blob Data Contributor' role - /// assignment. In case of user-assigned identity, make sure you add it under VM's identity. For more info on managed identity - /// and Run Command, refer https://aka.ms/ManagedIdentity and https://aka.ms/RunCommandManaged - /// - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandManagedIdentity ErrorBlobManagedIdentity { get; set; } - /// - /// Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided. - /// - string ErrorBlobManagedIdentityClientId { get; set; } - /// - /// Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided. - /// - string ErrorBlobManagedIdentityObjectId { get; set; } - /// - /// Specifies the Azure storage blob where script error stream will be uploaded. Use a SAS URI with read, append, create, - /// write access OR use managed identity to provide the VM access to the blob. Refer errorBlobManagedIdentity parameter. - /// - string ErrorBlobUri { get; set; } - /// The machine run command instance view. - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceView InstanceView { get; set; } - /// Script end time. - global::System.DateTime? InstanceViewEndTime { get; set; } - /// Script error stream. - string InstanceViewError { get; set; } - /// Communicate script configuration errors or execution messages. - string InstanceViewExecutionMessage { get; set; } - /// Script execution status. - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PSArgumentCompleterAttribute("Unknown", "Pending", "Running", "Failed", "Succeeded", "TimedOut", "Canceled")] - string InstanceViewExecutionState { get; set; } - /// Exit code returned from script execution. - int? InstanceViewExitCode { get; set; } - /// Script output stream. - string InstanceViewOutput { get; set; } - /// Script start time. - global::System.DateTime? InstanceViewStartTime { get; set; } - /// The status information. - System.Collections.Generic.List InstanceViewStatuses { get; set; } - /// - /// User-assigned managed identity that has access to outputBlobUri storage blob. Use an empty object in case of system-assigned - /// identity. Make sure managed identity has been given access to blob's container with 'Storage Blob Data Contributor' role - /// assignment. In case of user-assigned identity, make sure you add it under VM's identity. For more info on managed identity - /// and Run Command, refer https://aka.ms/ManagedIdentity and https://aka.ms/RunCommandManaged - /// - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandManagedIdentity OutputBlobManagedIdentity { get; set; } - /// - /// Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided. - /// - string OutputBlobManagedIdentityClientId { get; set; } - /// - /// Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided. - /// - string OutputBlobManagedIdentityObjectId { get; set; } - /// - /// Specifies the Azure storage blob where script output stream will be uploaded. Use a SAS URI with read, append, create, - /// write access OR use managed identity to provide the VM access to the blob. Refer outputBlobManagedIdentity parameter. - /// - string OutputBlobUri { get; set; } - /// The parameters used by the script. - System.Collections.Generic.List Parameter { get; set; } - /// Describes Run Command Properties - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandProperties Property { get; set; } - /// The parameters used by the script. - System.Collections.Generic.List ProtectedParameter { get; set; } - /// The provisioning state, which only appears in the response. - string ProvisioningState { get; set; } - /// - /// Specifies the user account password on the machine when executing the run command. - /// - string RunAsPassword { get; set; } - /// Specifies the user account on the machine when executing the run command. - string RunAsUser { get; set; } - /// - /// Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided. - /// - string ScriptUriManagedIdentityClientId { get; set; } - /// - /// Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided. - /// - string ScriptUriManagedIdentityObjectId { get; set; } - /// The source of the run command script. - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandScriptSource Source { get; set; } - /// Specifies the commandId of predefined built-in script. - string SourceCommandId { get; set; } - /// Specifies the script content to be executed on the machine. - string SourceScript { get; set; } - /// - /// Specifies the script download location. It can be either SAS URI of an Azure storage blob with read access or public URI. - /// - string SourceScriptUri { get; set; } - /// - /// User-assigned managed identity that has access to scriptUri in case of Azure storage blob. Use an empty object in case - /// of system-assigned identity. Make sure the Azure storage blob exists, and managed identity has been given access to blob's - /// container with 'Storage Blob Data Reader' role assignment. In case of user-assigned identity, make sure you add it under - /// VM's identity. For more info on managed identity and Run Command, refer https://aka.ms/ManagedIdentity and https://aka.ms/RunCommandManaged. - /// - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandManagedIdentity SourceScriptUriManagedIdentity { get; set; } - /// The timeout in seconds to execute the run command. - int? TimeoutInSecond { get; set; } - - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommand.json.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommand.json.cs deleted file mode 100644 index 471fab96b3b3..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommand.json.cs +++ /dev/null @@ -1,110 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models -{ - using static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Extensions; - - /// Describes a Run Command - public partial class MachineRunCommand - { - - /// - /// AfterFromJson will be called after the json deserialization has finished, allowing customization of the object - /// before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The JsonNode that should be deserialized into this object. - - partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json); - - /// - /// AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The JSON container that the serialization result will be placed in. - - partial void AfterToJson(ref Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject container); - - /// - /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of - /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the - /// output parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The JsonNode that should be deserialized into this object. - /// Determines if the rest of the deserialization should be processed, or if the method should return - /// instantly. - - partial void BeforeFromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json, ref bool returnNow); - - /// - /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the - /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output - /// parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The JSON container that the serialization result will be placed in. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject container, ref bool returnNow); - - /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand. - /// - /// a to deserialize from. - /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand. - /// - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode node) - { - return node is Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json ? new MachineRunCommand(json) : null; - } - - /// - /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject into a new instance of . - /// - /// A Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject instance to deserialize from. - internal MachineRunCommand(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json) - { - bool returnNow = false; - BeforeFromJson(json, ref returnNow); - if (returnNow) - { - return; - } - __trackedResource = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.TrackedResource(json); - {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.MachineRunCommandProperties.FromJson(__jsonProperties) : _property;} - AfterFromJson(json); - } - - /// - /// Serializes this instance of 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 . - /// - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode) - { - container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject(); - - bool returnNow = false; - BeforeToJson(ref container, ref returnNow); - if (returnNow) - { - return container; - } - __trackedResource?.ToJson(container, serializationMode); - AddIf( null != this._property ? (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode) this._property.ToJson(null,serializationMode) : null, "properties" ,container.Add ); - AfterToJson(ref container); - return container; - } - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommandInstanceView.PowerShell.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommandInstanceView.PowerShell.cs deleted file mode 100644 index b57766287bdd..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommandInstanceView.PowerShell.cs +++ /dev/null @@ -1,220 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models -{ - using Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell; - - /// The instance view of a machine run command. - [System.ComponentModel.TypeConverter(typeof(MachineRunCommandInstanceViewTypeConverter))] - public partial class MachineRunCommandInstanceView - { - - /// - /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the - /// object before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The global::System.Collections.IDictionary content that should be used. - - partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); - - /// - /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object - /// before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The global::System.Management.Automation.PSObject content that should be used. - - partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); - - /// - /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization - /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output - /// parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The global::System.Collections.IDictionary content that should be used. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); - - /// - /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization - /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output - /// parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The global::System.Management.Automation.PSObject content that should be used. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); - - /// - /// OverrideToString will be called if it is implemented. Implement this method in a partial class to enable this behavior - /// - /// /// instance serialized to a string, normally it is a Json - /// /// set returnNow to true if you provide a customized OverrideToString function - - partial void OverrideToString(ref string stringResult, ref bool returnNow); - - /// - /// Deserializes a into an instance of . - /// - /// The global::System.Collections.IDictionary content that should be used. - /// - /// an instance of . - /// - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceView DeserializeFromDictionary(global::System.Collections.IDictionary content) - { - return new MachineRunCommandInstanceView(content); - } - - /// - /// Deserializes a into an instance of . - /// - /// The global::System.Management.Automation.PSObject content that should be used. - /// - /// an instance of . - /// - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceView DeserializeFromPSObject(global::System.Management.Automation.PSObject content) - { - return new MachineRunCommandInstanceView(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. - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceView FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(jsonText)); - - /// - /// Deserializes a into a new instance of . - /// - /// The global::System.Collections.IDictionary content that should be used. - internal MachineRunCommandInstanceView(global::System.Collections.IDictionary content) - { - bool returnNow = false; - BeforeDeserializeDictionary(content, ref returnNow); - if (returnNow) - { - return; - } - // actually deserialize - if (content.Contains("ExecutionState")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceViewInternal)this).ExecutionState = (string) content.GetValueForProperty("ExecutionState",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceViewInternal)this).ExecutionState, global::System.Convert.ToString); - } - if (content.Contains("ExecutionMessage")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceViewInternal)this).ExecutionMessage = (string) content.GetValueForProperty("ExecutionMessage",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceViewInternal)this).ExecutionMessage, global::System.Convert.ToString); - } - if (content.Contains("ExitCode")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceViewInternal)this).ExitCode = (int?) content.GetValueForProperty("ExitCode",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceViewInternal)this).ExitCode, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); - } - if (content.Contains("Output")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceViewInternal)this).Output = (string) content.GetValueForProperty("Output",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceViewInternal)this).Output, global::System.Convert.ToString); - } - if (content.Contains("Error")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceViewInternal)this).Error = (string) content.GetValueForProperty("Error",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceViewInternal)this).Error, global::System.Convert.ToString); - } - if (content.Contains("StartTime")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceViewInternal)this).StartTime = (global::System.DateTime?) content.GetValueForProperty("StartTime",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceViewInternal)this).StartTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); - } - if (content.Contains("EndTime")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceViewInternal)this).EndTime = (global::System.DateTime?) content.GetValueForProperty("EndTime",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceViewInternal)this).EndTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); - } - if (content.Contains("Statuses")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceViewInternal)this).Statuses = (System.Collections.Generic.List) content.GetValueForProperty("Statuses",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceViewInternal)this).Statuses, __y => TypeConverterExtensions.SelectToList(__y, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ExtensionsResourceStatusTypeConverter.ConvertFrom)); - } - AfterDeserializeDictionary(content); - } - - /// - /// Deserializes a into a new instance of . - /// - /// The global::System.Management.Automation.PSObject content that should be used. - internal MachineRunCommandInstanceView(global::System.Management.Automation.PSObject content) - { - bool returnNow = false; - BeforeDeserializePSObject(content, ref returnNow); - if (returnNow) - { - return; - } - // actually deserialize - if (content.Contains("ExecutionState")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceViewInternal)this).ExecutionState = (string) content.GetValueForProperty("ExecutionState",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceViewInternal)this).ExecutionState, global::System.Convert.ToString); - } - if (content.Contains("ExecutionMessage")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceViewInternal)this).ExecutionMessage = (string) content.GetValueForProperty("ExecutionMessage",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceViewInternal)this).ExecutionMessage, global::System.Convert.ToString); - } - if (content.Contains("ExitCode")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceViewInternal)this).ExitCode = (int?) content.GetValueForProperty("ExitCode",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceViewInternal)this).ExitCode, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); - } - if (content.Contains("Output")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceViewInternal)this).Output = (string) content.GetValueForProperty("Output",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceViewInternal)this).Output, global::System.Convert.ToString); - } - if (content.Contains("Error")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceViewInternal)this).Error = (string) content.GetValueForProperty("Error",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceViewInternal)this).Error, global::System.Convert.ToString); - } - if (content.Contains("StartTime")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceViewInternal)this).StartTime = (global::System.DateTime?) content.GetValueForProperty("StartTime",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceViewInternal)this).StartTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); - } - if (content.Contains("EndTime")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceViewInternal)this).EndTime = (global::System.DateTime?) content.GetValueForProperty("EndTime",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceViewInternal)this).EndTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); - } - if (content.Contains("Statuses")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceViewInternal)this).Statuses = (System.Collections.Generic.List) content.GetValueForProperty("Statuses",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceViewInternal)this).Statuses, __y => TypeConverterExtensions.SelectToList(__y, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ExtensionsResourceStatusTypeConverter.ConvertFrom)); - } - AfterDeserializePSObject(content); - } - - /// Serializes this instance to a json string. - - /// a containing this model serialized to JSON text. - public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeAll)?.ToString(); - - public override string ToString() - { - var returnNow = false; - var result = global::System.String.Empty; - OverrideToString(ref result, ref returnNow); - if (returnNow) - { - return result; - } - return ToJsonString(); - } - } - /// The instance view of a machine run command. - [System.ComponentModel.TypeConverter(typeof(MachineRunCommandInstanceViewTypeConverter))] - public partial interface IMachineRunCommandInstanceView - - { - - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommandInstanceView.TypeConverter.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommandInstanceView.TypeConverter.cs deleted file mode 100644 index b27227497043..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommandInstanceView.TypeConverter.cs +++ /dev/null @@ -1,147 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models -{ - using Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell; - - /// - /// A PowerShell PSTypeConverter to support converting to an instance of - /// - public partial class MachineRunCommandInstanceViewTypeConverter : global::System.Management.Automation.PSTypeConverter - { - - /// - /// Determines if the converter can convert the parameter to the parameter. - /// - /// the to convert from - /// the to convert to - /// - /// true if the converter can convert the parameter to the parameter, otherwise false. - /// - public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); - - /// - /// Determines if the converter can convert the parameter to the - /// type. - /// - /// the instance to check if it can be converted to the type. - /// - /// true if the instance could be converted to a type, otherwise false - /// - public static bool CanConvertFrom(dynamic sourceValue) - { - if (null == sourceValue) - { - return true; - } - global::System.Type type = sourceValue.GetType(); - if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) - { - // we say yest to PSObjects - return true; - } - if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) - { - // we say yest to Hashtables/dictionaries - return true; - } - try - { - if (null != sourceValue.ToJsonString()) - { - return true; - } - } - catch - { - // Not one of our objects - } - try - { - string text = sourceValue.ToString()?.Trim(); - return true == text?.StartsWith("{") && true == text?.EndsWith("}") && Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(text).Type == Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonType.Object; - } - catch - { - // Doesn't look like it can be treated as JSON - } - return false; - } - - /// - /// Determines if the parameter can be converted to the - /// parameter - /// - /// the to convert from - /// the to convert to - /// - /// true if the converter can convert the parameter to the parameter, otherwise false - /// - public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; - - /// - /// Converts the parameter to the parameter using and - /// - /// the to convert from - /// the to convert to - /// 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. - /// - 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 - /// - /// the value to convert into an instance of . - /// - /// an instance of , or null if there is no suitable conversion. - /// - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceView ConvertFrom(dynamic sourceValue) - { - if (null == sourceValue) - { - return null; - } - global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceView).IsAssignableFrom(type)) - { - return sourceValue; - } - try - { - return MachineRunCommandInstanceView.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; - } - catch - { - // Unable to use JSON pattern - } - if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) - { - return MachineRunCommandInstanceView.DeserializeFromPSObject(sourceValue); - } - if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) - { - return MachineRunCommandInstanceView.DeserializeFromDictionary(sourceValue); - } - return null; - } - - /// NotImplemented -- this will return null - /// the to convert from - /// the to convert to - /// not used by this TypeConverter. - /// when set to true, will ignore the case when converting. - /// will always return null. - public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null; - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommandInstanceView.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommandInstanceView.cs deleted file mode 100644 index a5ae5348fd77..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommandInstanceView.cs +++ /dev/null @@ -1,196 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models -{ - using static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Extensions; - - /// The instance view of a machine run command. - public partial class MachineRunCommandInstanceView : - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceView, - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceViewInternal - { - - /// Backing field for property. - private global::System.DateTime? _endTime; - - /// Script end time. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Owned)] - public global::System.DateTime? EndTime { get => this._endTime; set => this._endTime = value; } - - /// Backing field for property. - private string _error; - - /// Script error stream. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Owned)] - public string Error { get => this._error; set => this._error = value; } - - /// Backing field for property. - private string _executionMessage; - - /// Communicate script configuration errors or execution messages. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Owned)] - public string ExecutionMessage { get => this._executionMessage; set => this._executionMessage = value; } - - /// Backing field for property. - private string _executionState; - - /// Script execution status. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Owned)] - public string ExecutionState { get => this._executionState; set => this._executionState = value; } - - /// Backing field for property. - private int? _exitCode; - - /// Exit code returned from script execution. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Owned)] - public int? ExitCode { get => this._exitCode; set => this._exitCode = value; } - - /// Backing field for property. - private string _output; - - /// Script output stream. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Owned)] - public string Output { get => this._output; set => this._output = value; } - - /// Backing field for property. - private global::System.DateTime? _startTime; - - /// Script start time. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Owned)] - public global::System.DateTime? StartTime { get => this._startTime; set => this._startTime = value; } - - /// Backing field for property. - private System.Collections.Generic.List _statuses; - - /// The status information. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Owned)] - public System.Collections.Generic.List Statuses { get => this._statuses; set => this._statuses = value; } - - /// Creates an new instance. - public MachineRunCommandInstanceView() - { - - } - } - /// The instance view of a machine run command. - public partial interface IMachineRunCommandInstanceView : - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IJsonSerializable - { - /// Script end time. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Read = true, - Create = true, - Update = true, - Description = @"Script end time.", - SerializedName = @"endTime", - PossibleTypes = new [] { typeof(global::System.DateTime) })] - global::System.DateTime? EndTime { get; set; } - /// Script error stream. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Read = true, - Create = true, - Update = true, - Description = @"Script error stream.", - SerializedName = @"error", - PossibleTypes = new [] { typeof(string) })] - string Error { get; set; } - /// Communicate script configuration errors or execution messages. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Read = true, - Create = true, - Update = true, - Description = @"Communicate script configuration errors or execution messages.", - SerializedName = @"executionMessage", - PossibleTypes = new [] { typeof(string) })] - string ExecutionMessage { get; set; } - /// Script execution status. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Read = true, - Create = true, - Update = true, - Description = @"Script execution status.", - SerializedName = @"executionState", - PossibleTypes = new [] { typeof(string) })] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PSArgumentCompleterAttribute("Unknown", "Pending", "Running", "Failed", "Succeeded", "TimedOut", "Canceled")] - string ExecutionState { get; set; } - /// Exit code returned from script execution. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Read = true, - Create = true, - Update = true, - Description = @"Exit code returned from script execution.", - SerializedName = @"exitCode", - PossibleTypes = new [] { typeof(int) })] - int? ExitCode { get; set; } - /// Script output stream. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Read = true, - Create = true, - Update = true, - Description = @"Script output stream.", - SerializedName = @"output", - PossibleTypes = new [] { typeof(string) })] - string Output { get; set; } - /// Script start time. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Read = true, - Create = true, - Update = true, - Description = @"Script start time.", - SerializedName = @"startTime", - PossibleTypes = new [] { typeof(global::System.DateTime) })] - global::System.DateTime? StartTime { get; set; } - /// The status information. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Read = true, - Create = true, - Update = true, - Description = @"The status information.", - SerializedName = @"statuses", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IExtensionsResourceStatus) })] - System.Collections.Generic.List Statuses { get; set; } - - } - /// The instance view of a machine run command. - internal partial interface IMachineRunCommandInstanceViewInternal - - { - /// Script end time. - global::System.DateTime? EndTime { get; set; } - /// Script error stream. - string Error { get; set; } - /// Communicate script configuration errors or execution messages. - string ExecutionMessage { get; set; } - /// Script execution status. - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PSArgumentCompleterAttribute("Unknown", "Pending", "Running", "Failed", "Succeeded", "TimedOut", "Canceled")] - string ExecutionState { get; set; } - /// Exit code returned from script execution. - int? ExitCode { get; set; } - /// Script output stream. - string Output { get; set; } - /// Script start time. - global::System.DateTime? StartTime { get; set; } - /// The status information. - System.Collections.Generic.List Statuses { get; set; } - - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommandInstanceView.json.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommandInstanceView.json.cs deleted file mode 100644 index 06ccdaacc366..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommandInstanceView.json.cs +++ /dev/null @@ -1,130 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models -{ - using static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Extensions; - - /// The instance view of a machine run command. - public partial class MachineRunCommandInstanceView - { - - /// - /// AfterFromJson will be called after the json deserialization has finished, allowing customization of the object - /// before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The JsonNode that should be deserialized into this object. - - partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json); - - /// - /// AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The JSON container that the serialization result will be placed in. - - partial void AfterToJson(ref Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject container); - - /// - /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of - /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the - /// output parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The JsonNode that should be deserialized into this object. - /// Determines if the rest of the deserialization should be processed, or if the method should return - /// instantly. - - partial void BeforeFromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json, ref bool returnNow); - - /// - /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the - /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output - /// parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The JSON container that the serialization result will be placed in. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject container, ref bool returnNow); - - /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceView. - /// - /// a to deserialize from. - /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceView. - /// - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceView FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode node) - { - return node is Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json ? new MachineRunCommandInstanceView(json) : null; - } - - /// - /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject into a new instance of . - /// - /// A Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject instance to deserialize from. - internal MachineRunCommandInstanceView(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json) - { - bool returnNow = false; - BeforeFromJson(json, ref returnNow); - if (returnNow) - { - return; - } - {_executionState = If( json?.PropertyT("executionState"), out var __jsonExecutionState) ? (string)__jsonExecutionState : (string)_executionState;} - {_executionMessage = If( json?.PropertyT("executionMessage"), out var __jsonExecutionMessage) ? (string)__jsonExecutionMessage : (string)_executionMessage;} - {_exitCode = If( json?.PropertyT("exitCode"), out var __jsonExitCode) ? (int?)__jsonExitCode : _exitCode;} - {_output = If( json?.PropertyT("output"), out var __jsonOutput) ? (string)__jsonOutput : (string)_output;} - {_error = If( json?.PropertyT("error"), out var __jsonError) ? (string)__jsonError : (string)_error;} - {_startTime = If( json?.PropertyT("startTime"), out var __jsonStartTime) ? global::System.DateTime.TryParse((string)__jsonStartTime, global::System.Globalization.CultureInfo.InvariantCulture, global::System.Globalization.DateTimeStyles.AdjustToUniversal, out var __jsonStartTimeValue) ? __jsonStartTimeValue : _startTime : _startTime;} - {_endTime = If( json?.PropertyT("endTime"), out var __jsonEndTime) ? global::System.DateTime.TryParse((string)__jsonEndTime, global::System.Globalization.CultureInfo.InvariantCulture, global::System.Globalization.DateTimeStyles.AdjustToUniversal, out var __jsonEndTimeValue) ? __jsonEndTimeValue : _endTime : _endTime;} - {_statuses = If( json?.PropertyT("statuses"), out var __jsonStatuses) ? If( __jsonStatuses as Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonArray, out var __v) ? new global::System.Func>(()=> global::System.Linq.Enumerable.ToList(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IExtensionsResourceStatus) (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ExtensionsResourceStatus.FromJson(__u) )) ))() : null : _statuses;} - AfterFromJson(json); - } - - /// - /// Serializes this instance of 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 . - /// - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode) - { - container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject(); - - bool returnNow = false; - BeforeToJson(ref container, ref returnNow); - if (returnNow) - { - return container; - } - AddIf( null != (((object)this._executionState)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonString(this._executionState.ToString()) : null, "executionState" ,container.Add ); - AddIf( null != (((object)this._executionMessage)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonString(this._executionMessage.ToString()) : null, "executionMessage" ,container.Add ); - AddIf( null != this._exitCode ? (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode)new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNumber((int)this._exitCode) : null, "exitCode" ,container.Add ); - AddIf( null != (((object)this._output)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonString(this._output.ToString()) : null, "output" ,container.Add ); - AddIf( null != (((object)this._error)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonString(this._error.ToString()) : null, "error" ,container.Add ); - AddIf( null != this._startTime ? (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonString(this._startTime?.ToString(@"yyyy'-'MM'-'dd'T'HH':'mm':'ss.fffffffK",global::System.Globalization.CultureInfo.InvariantCulture)) : null, "startTime" ,container.Add ); - AddIf( null != this._endTime ? (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonString(this._endTime?.ToString(@"yyyy'-'MM'-'dd'T'HH':'mm':'ss.fffffffK",global::System.Globalization.CultureInfo.InvariantCulture)) : null, "endTime" ,container.Add ); - if (null != this._statuses) - { - var __w = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.XNodeArray(); - foreach( var __x in this._statuses ) - { - AddIf(__x?.ToJson(null, serializationMode) ,__w.Add); - } - container.Add("statuses",__w); - } - AfterToJson(ref container); - return container; - } - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommandProperties.PowerShell.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommandProperties.PowerShell.cs deleted file mode 100644 index 70f246a9edad..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommandProperties.PowerShell.cs +++ /dev/null @@ -1,404 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models -{ - using Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell; - - /// Describes the properties of a run command. - [System.ComponentModel.TypeConverter(typeof(MachineRunCommandPropertiesTypeConverter))] - public partial class MachineRunCommandProperties - { - - /// - /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the - /// object before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The global::System.Collections.IDictionary content that should be used. - - partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); - - /// - /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object - /// before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The global::System.Management.Automation.PSObject content that should be used. - - partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); - - /// - /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization - /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output - /// parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The global::System.Collections.IDictionary content that should be used. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); - - /// - /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization - /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output - /// parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The global::System.Management.Automation.PSObject content that should be used. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); - - /// - /// OverrideToString will be called if it is implemented. Implement this method in a partial class to enable this behavior - /// - /// /// instance serialized to a string, normally it is a Json - /// /// set returnNow to true if you provide a customized OverrideToString function - - partial void OverrideToString(ref string stringResult, ref bool returnNow); - - /// - /// Deserializes a into an instance of . - /// - /// The global::System.Collections.IDictionary content that should be used. - /// - /// an instance of . - /// - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) - { - return new MachineRunCommandProperties(content); - } - - /// - /// Deserializes a into an instance of . - /// - /// The global::System.Management.Automation.PSObject content that should be used. - /// - /// an instance of . - /// - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) - { - return new MachineRunCommandProperties(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. - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(jsonText)); - - /// - /// Deserializes a into a new instance of . - /// - /// The global::System.Collections.IDictionary content that should be used. - internal MachineRunCommandProperties(global::System.Collections.IDictionary content) - { - bool returnNow = false; - BeforeDeserializeDictionary(content, ref returnNow); - if (returnNow) - { - return; - } - // actually deserialize - if (content.Contains("Source")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).Source = (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandScriptSource) content.GetValueForProperty("Source",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).Source, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.MachineRunCommandScriptSourceTypeConverter.ConvertFrom); - } - if (content.Contains("OutputBlobManagedIdentity")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).OutputBlobManagedIdentity = (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandManagedIdentity) content.GetValueForProperty("OutputBlobManagedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).OutputBlobManagedIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.RunCommandManagedIdentityTypeConverter.ConvertFrom); - } - if (content.Contains("ErrorBlobManagedIdentity")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).ErrorBlobManagedIdentity = (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandManagedIdentity) content.GetValueForProperty("ErrorBlobManagedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).ErrorBlobManagedIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.RunCommandManagedIdentityTypeConverter.ConvertFrom); - } - if (content.Contains("InstanceView")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).InstanceView = (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceView) content.GetValueForProperty("InstanceView",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).InstanceView, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.MachineRunCommandInstanceViewTypeConverter.ConvertFrom); - } - if (content.Contains("Parameter")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).Parameter = (System.Collections.Generic.List) content.GetValueForProperty("Parameter",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).Parameter, __y => TypeConverterExtensions.SelectToList(__y, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.RunCommandInputParameterTypeConverter.ConvertFrom)); - } - if (content.Contains("ProtectedParameter")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).ProtectedParameter = (System.Collections.Generic.List) content.GetValueForProperty("ProtectedParameter",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).ProtectedParameter, __y => TypeConverterExtensions.SelectToList(__y, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.RunCommandInputParameterTypeConverter.ConvertFrom)); - } - if (content.Contains("AsyncExecution")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).AsyncExecution = (bool?) content.GetValueForProperty("AsyncExecution",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).AsyncExecution, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); - } - if (content.Contains("RunAsUser")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).RunAsUser = (string) content.GetValueForProperty("RunAsUser",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).RunAsUser, global::System.Convert.ToString); - } - if (content.Contains("RunAsPassword")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).RunAsPassword = (string) content.GetValueForProperty("RunAsPassword",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).RunAsPassword, global::System.Convert.ToString); - } - if (content.Contains("TimeoutInSecond")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).TimeoutInSecond = (int?) content.GetValueForProperty("TimeoutInSecond",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).TimeoutInSecond, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); - } - if (content.Contains("OutputBlobUri")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).OutputBlobUri = (string) content.GetValueForProperty("OutputBlobUri",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).OutputBlobUri, global::System.Convert.ToString); - } - if (content.Contains("ErrorBlobUri")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).ErrorBlobUri = (string) content.GetValueForProperty("ErrorBlobUri",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).ErrorBlobUri, global::System.Convert.ToString); - } - if (content.Contains("ProvisioningState")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).ProvisioningState = (string) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).ProvisioningState, global::System.Convert.ToString); - } - if (content.Contains("InstanceViewExecutionState")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).InstanceViewExecutionState = (string) content.GetValueForProperty("InstanceViewExecutionState",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).InstanceViewExecutionState, global::System.Convert.ToString); - } - if (content.Contains("SourceScriptUriManagedIdentity")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).SourceScriptUriManagedIdentity = (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandManagedIdentity) content.GetValueForProperty("SourceScriptUriManagedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).SourceScriptUriManagedIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.RunCommandManagedIdentityTypeConverter.ConvertFrom); - } - if (content.Contains("SourceScript")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).SourceScript = (string) content.GetValueForProperty("SourceScript",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).SourceScript, global::System.Convert.ToString); - } - if (content.Contains("SourceScriptUri")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).SourceScriptUri = (string) content.GetValueForProperty("SourceScriptUri",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).SourceScriptUri, global::System.Convert.ToString); - } - if (content.Contains("SourceCommandId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).SourceCommandId = (string) content.GetValueForProperty("SourceCommandId",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).SourceCommandId, global::System.Convert.ToString); - } - if (content.Contains("OutputBlobManagedIdentityClientId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).OutputBlobManagedIdentityClientId = (string) content.GetValueForProperty("OutputBlobManagedIdentityClientId",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).OutputBlobManagedIdentityClientId, global::System.Convert.ToString); - } - if (content.Contains("OutputBlobManagedIdentityObjectId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).OutputBlobManagedIdentityObjectId = (string) content.GetValueForProperty("OutputBlobManagedIdentityObjectId",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).OutputBlobManagedIdentityObjectId, global::System.Convert.ToString); - } - if (content.Contains("ErrorBlobManagedIdentityClientId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).ErrorBlobManagedIdentityClientId = (string) content.GetValueForProperty("ErrorBlobManagedIdentityClientId",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).ErrorBlobManagedIdentityClientId, global::System.Convert.ToString); - } - if (content.Contains("ErrorBlobManagedIdentityObjectId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).ErrorBlobManagedIdentityObjectId = (string) content.GetValueForProperty("ErrorBlobManagedIdentityObjectId",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).ErrorBlobManagedIdentityObjectId, global::System.Convert.ToString); - } - if (content.Contains("InstanceViewExecutionMessage")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).InstanceViewExecutionMessage = (string) content.GetValueForProperty("InstanceViewExecutionMessage",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).InstanceViewExecutionMessage, global::System.Convert.ToString); - } - if (content.Contains("InstanceViewExitCode")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).InstanceViewExitCode = (int?) content.GetValueForProperty("InstanceViewExitCode",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).InstanceViewExitCode, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); - } - if (content.Contains("InstanceViewOutput")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).InstanceViewOutput = (string) content.GetValueForProperty("InstanceViewOutput",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).InstanceViewOutput, global::System.Convert.ToString); - } - if (content.Contains("InstanceViewError")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).InstanceViewError = (string) content.GetValueForProperty("InstanceViewError",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).InstanceViewError, global::System.Convert.ToString); - } - if (content.Contains("InstanceViewStartTime")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).InstanceViewStartTime = (global::System.DateTime?) content.GetValueForProperty("InstanceViewStartTime",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).InstanceViewStartTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); - } - if (content.Contains("InstanceViewEndTime")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).InstanceViewEndTime = (global::System.DateTime?) content.GetValueForProperty("InstanceViewEndTime",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).InstanceViewEndTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); - } - if (content.Contains("InstanceViewStatuses")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).InstanceViewStatuses = (System.Collections.Generic.List) content.GetValueForProperty("InstanceViewStatuses",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).InstanceViewStatuses, __y => TypeConverterExtensions.SelectToList(__y, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ExtensionsResourceStatusTypeConverter.ConvertFrom)); - } - if (content.Contains("ScriptUriManagedIdentityClientId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).ScriptUriManagedIdentityClientId = (string) content.GetValueForProperty("ScriptUriManagedIdentityClientId",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).ScriptUriManagedIdentityClientId, global::System.Convert.ToString); - } - if (content.Contains("ScriptUriManagedIdentityObjectId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).ScriptUriManagedIdentityObjectId = (string) content.GetValueForProperty("ScriptUriManagedIdentityObjectId",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).ScriptUriManagedIdentityObjectId, global::System.Convert.ToString); - } - AfterDeserializeDictionary(content); - } - - /// - /// Deserializes a into a new instance of . - /// - /// The global::System.Management.Automation.PSObject content that should be used. - internal MachineRunCommandProperties(global::System.Management.Automation.PSObject content) - { - bool returnNow = false; - BeforeDeserializePSObject(content, ref returnNow); - if (returnNow) - { - return; - } - // actually deserialize - if (content.Contains("Source")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).Source = (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandScriptSource) content.GetValueForProperty("Source",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).Source, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.MachineRunCommandScriptSourceTypeConverter.ConvertFrom); - } - if (content.Contains("OutputBlobManagedIdentity")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).OutputBlobManagedIdentity = (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandManagedIdentity) content.GetValueForProperty("OutputBlobManagedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).OutputBlobManagedIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.RunCommandManagedIdentityTypeConverter.ConvertFrom); - } - if (content.Contains("ErrorBlobManagedIdentity")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).ErrorBlobManagedIdentity = (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandManagedIdentity) content.GetValueForProperty("ErrorBlobManagedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).ErrorBlobManagedIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.RunCommandManagedIdentityTypeConverter.ConvertFrom); - } - if (content.Contains("InstanceView")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).InstanceView = (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceView) content.GetValueForProperty("InstanceView",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).InstanceView, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.MachineRunCommandInstanceViewTypeConverter.ConvertFrom); - } - if (content.Contains("Parameter")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).Parameter = (System.Collections.Generic.List) content.GetValueForProperty("Parameter",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).Parameter, __y => TypeConverterExtensions.SelectToList(__y, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.RunCommandInputParameterTypeConverter.ConvertFrom)); - } - if (content.Contains("ProtectedParameter")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).ProtectedParameter = (System.Collections.Generic.List) content.GetValueForProperty("ProtectedParameter",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).ProtectedParameter, __y => TypeConverterExtensions.SelectToList(__y, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.RunCommandInputParameterTypeConverter.ConvertFrom)); - } - if (content.Contains("AsyncExecution")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).AsyncExecution = (bool?) content.GetValueForProperty("AsyncExecution",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).AsyncExecution, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); - } - if (content.Contains("RunAsUser")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).RunAsUser = (string) content.GetValueForProperty("RunAsUser",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).RunAsUser, global::System.Convert.ToString); - } - if (content.Contains("RunAsPassword")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).RunAsPassword = (string) content.GetValueForProperty("RunAsPassword",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).RunAsPassword, global::System.Convert.ToString); - } - if (content.Contains("TimeoutInSecond")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).TimeoutInSecond = (int?) content.GetValueForProperty("TimeoutInSecond",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).TimeoutInSecond, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); - } - if (content.Contains("OutputBlobUri")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).OutputBlobUri = (string) content.GetValueForProperty("OutputBlobUri",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).OutputBlobUri, global::System.Convert.ToString); - } - if (content.Contains("ErrorBlobUri")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).ErrorBlobUri = (string) content.GetValueForProperty("ErrorBlobUri",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).ErrorBlobUri, global::System.Convert.ToString); - } - if (content.Contains("ProvisioningState")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).ProvisioningState = (string) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).ProvisioningState, global::System.Convert.ToString); - } - if (content.Contains("InstanceViewExecutionState")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).InstanceViewExecutionState = (string) content.GetValueForProperty("InstanceViewExecutionState",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).InstanceViewExecutionState, global::System.Convert.ToString); - } - if (content.Contains("SourceScriptUriManagedIdentity")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).SourceScriptUriManagedIdentity = (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandManagedIdentity) content.GetValueForProperty("SourceScriptUriManagedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).SourceScriptUriManagedIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.RunCommandManagedIdentityTypeConverter.ConvertFrom); - } - if (content.Contains("SourceScript")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).SourceScript = (string) content.GetValueForProperty("SourceScript",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).SourceScript, global::System.Convert.ToString); - } - if (content.Contains("SourceScriptUri")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).SourceScriptUri = (string) content.GetValueForProperty("SourceScriptUri",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).SourceScriptUri, global::System.Convert.ToString); - } - if (content.Contains("SourceCommandId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).SourceCommandId = (string) content.GetValueForProperty("SourceCommandId",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).SourceCommandId, global::System.Convert.ToString); - } - if (content.Contains("OutputBlobManagedIdentityClientId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).OutputBlobManagedIdentityClientId = (string) content.GetValueForProperty("OutputBlobManagedIdentityClientId",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).OutputBlobManagedIdentityClientId, global::System.Convert.ToString); - } - if (content.Contains("OutputBlobManagedIdentityObjectId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).OutputBlobManagedIdentityObjectId = (string) content.GetValueForProperty("OutputBlobManagedIdentityObjectId",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).OutputBlobManagedIdentityObjectId, global::System.Convert.ToString); - } - if (content.Contains("ErrorBlobManagedIdentityClientId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).ErrorBlobManagedIdentityClientId = (string) content.GetValueForProperty("ErrorBlobManagedIdentityClientId",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).ErrorBlobManagedIdentityClientId, global::System.Convert.ToString); - } - if (content.Contains("ErrorBlobManagedIdentityObjectId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).ErrorBlobManagedIdentityObjectId = (string) content.GetValueForProperty("ErrorBlobManagedIdentityObjectId",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).ErrorBlobManagedIdentityObjectId, global::System.Convert.ToString); - } - if (content.Contains("InstanceViewExecutionMessage")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).InstanceViewExecutionMessage = (string) content.GetValueForProperty("InstanceViewExecutionMessage",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).InstanceViewExecutionMessage, global::System.Convert.ToString); - } - if (content.Contains("InstanceViewExitCode")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).InstanceViewExitCode = (int?) content.GetValueForProperty("InstanceViewExitCode",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).InstanceViewExitCode, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); - } - if (content.Contains("InstanceViewOutput")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).InstanceViewOutput = (string) content.GetValueForProperty("InstanceViewOutput",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).InstanceViewOutput, global::System.Convert.ToString); - } - if (content.Contains("InstanceViewError")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).InstanceViewError = (string) content.GetValueForProperty("InstanceViewError",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).InstanceViewError, global::System.Convert.ToString); - } - if (content.Contains("InstanceViewStartTime")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).InstanceViewStartTime = (global::System.DateTime?) content.GetValueForProperty("InstanceViewStartTime",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).InstanceViewStartTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); - } - if (content.Contains("InstanceViewEndTime")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).InstanceViewEndTime = (global::System.DateTime?) content.GetValueForProperty("InstanceViewEndTime",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).InstanceViewEndTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); - } - if (content.Contains("InstanceViewStatuses")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).InstanceViewStatuses = (System.Collections.Generic.List) content.GetValueForProperty("InstanceViewStatuses",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).InstanceViewStatuses, __y => TypeConverterExtensions.SelectToList(__y, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ExtensionsResourceStatusTypeConverter.ConvertFrom)); - } - if (content.Contains("ScriptUriManagedIdentityClientId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).ScriptUriManagedIdentityClientId = (string) content.GetValueForProperty("ScriptUriManagedIdentityClientId",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).ScriptUriManagedIdentityClientId, global::System.Convert.ToString); - } - if (content.Contains("ScriptUriManagedIdentityObjectId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).ScriptUriManagedIdentityObjectId = (string) content.GetValueForProperty("ScriptUriManagedIdentityObjectId",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)this).ScriptUriManagedIdentityObjectId, global::System.Convert.ToString); - } - AfterDeserializePSObject(content); - } - - /// Serializes this instance to a json string. - - /// a containing this model serialized to JSON text. - public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeAll)?.ToString(); - - public override string ToString() - { - var returnNow = false; - var result = global::System.String.Empty; - OverrideToString(ref result, ref returnNow); - if (returnNow) - { - return result; - } - return ToJsonString(); - } - } - /// Describes the properties of a run command. - [System.ComponentModel.TypeConverter(typeof(MachineRunCommandPropertiesTypeConverter))] - public partial interface IMachineRunCommandProperties - - { - - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommandProperties.TypeConverter.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommandProperties.TypeConverter.cs deleted file mode 100644 index 878efd932653..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommandProperties.TypeConverter.cs +++ /dev/null @@ -1,147 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models -{ - using Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell; - - /// - /// A PowerShell PSTypeConverter to support converting to an instance of - /// - public partial class MachineRunCommandPropertiesTypeConverter : global::System.Management.Automation.PSTypeConverter - { - - /// - /// Determines if the converter can convert the parameter to the parameter. - /// - /// the to convert from - /// the to convert to - /// - /// true if the converter can convert the parameter to the parameter, otherwise false. - /// - public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); - - /// - /// Determines if the converter can convert the parameter to the - /// type. - /// - /// the instance to check if it can be converted to the type. - /// - /// true if the instance could be converted to a type, otherwise false - /// - public static bool CanConvertFrom(dynamic sourceValue) - { - if (null == sourceValue) - { - return true; - } - global::System.Type type = sourceValue.GetType(); - if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) - { - // we say yest to PSObjects - return true; - } - if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) - { - // we say yest to Hashtables/dictionaries - return true; - } - try - { - if (null != sourceValue.ToJsonString()) - { - return true; - } - } - catch - { - // Not one of our objects - } - try - { - string text = sourceValue.ToString()?.Trim(); - return true == text?.StartsWith("{") && true == text?.EndsWith("}") && Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(text).Type == Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonType.Object; - } - catch - { - // Doesn't look like it can be treated as JSON - } - return false; - } - - /// - /// Determines if the parameter can be converted to the - /// parameter - /// - /// the to convert from - /// the to convert to - /// - /// true if the converter can convert the parameter to the parameter, otherwise false - /// - public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; - - /// - /// Converts the parameter to the parameter using and - /// - /// the to convert from - /// the to convert to - /// 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. - /// - 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 - /// - /// the value to convert into an instance of . - /// - /// an instance of , or null if there is no suitable conversion. - /// - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandProperties ConvertFrom(dynamic sourceValue) - { - if (null == sourceValue) - { - return null; - } - global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandProperties).IsAssignableFrom(type)) - { - return sourceValue; - } - try - { - return MachineRunCommandProperties.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; - } - catch - { - // Unable to use JSON pattern - } - if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) - { - return MachineRunCommandProperties.DeserializeFromPSObject(sourceValue); - } - if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) - { - return MachineRunCommandProperties.DeserializeFromDictionary(sourceValue); - } - return null; - } - - /// NotImplemented -- this will return null - /// the to convert from - /// the to convert to - /// not used by this TypeConverter. - /// when set to true, will ignore the case when converting. - /// will always return null. - public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null; - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommandProperties.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommandProperties.cs deleted file mode 100644 index 7d8b6c03f54b..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommandProperties.cs +++ /dev/null @@ -1,658 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models -{ - using static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Extensions; - - /// Describes the properties of a run command. - public partial class MachineRunCommandProperties : - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandProperties, - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal - { - - /// Backing field for property. - private bool? _asyncExecution; - - /// - /// Optional. If set to true, provisioning will complete as soon as script starts and will not wait for script to complete. - /// - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Owned)] - public bool? AsyncExecution { get => this._asyncExecution; set => this._asyncExecution = value; } - - /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandManagedIdentity _errorBlobManagedIdentity; - - /// - /// User-assigned managed identity that has access to errorBlobUri storage blob. Use an empty object in case of system-assigned - /// identity. Make sure managed identity has been given access to blob's container with 'Storage Blob Data Contributor' role - /// assignment. In case of user-assigned identity, make sure you add it under VM's identity. For more info on managed identity - /// and Run Command, refer https://aka.ms/ManagedIdentity and https://aka.ms/RunCommandManaged - /// - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandManagedIdentity ErrorBlobManagedIdentity { get => (this._errorBlobManagedIdentity = this._errorBlobManagedIdentity ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.RunCommandManagedIdentity()); set => this._errorBlobManagedIdentity = value; } - - /// - /// Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided. - /// - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)] - public string ErrorBlobManagedIdentityClientId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandManagedIdentityInternal)ErrorBlobManagedIdentity).ClientId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandManagedIdentityInternal)ErrorBlobManagedIdentity).ClientId = value ?? null; } - - /// - /// Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided. - /// - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)] - public string ErrorBlobManagedIdentityObjectId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandManagedIdentityInternal)ErrorBlobManagedIdentity).ObjectId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandManagedIdentityInternal)ErrorBlobManagedIdentity).ObjectId = value ?? null; } - - /// Backing field for property. - private string _errorBlobUri; - - /// - /// Specifies the Azure storage blob where script error stream will be uploaded. Use a SAS URI with read, append, create, - /// write access OR use managed identity to provide the VM access to the blob. Refer errorBlobManagedIdentity parameter. - /// - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Owned)] - public string ErrorBlobUri { get => this._errorBlobUri; set => this._errorBlobUri = value; } - - /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceView _instanceView; - - /// The machine run command instance view. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceView InstanceView { get => (this._instanceView = this._instanceView ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.MachineRunCommandInstanceView()); } - - /// Script end time. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)] - public global::System.DateTime? InstanceViewEndTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceViewInternal)InstanceView).EndTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceViewInternal)InstanceView).EndTime = value ?? default(global::System.DateTime); } - - /// Script error stream. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)] - public string InstanceViewError { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceViewInternal)InstanceView).Error; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceViewInternal)InstanceView).Error = value ?? null; } - - /// Communicate script configuration errors or execution messages. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)] - public string InstanceViewExecutionMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceViewInternal)InstanceView).ExecutionMessage; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceViewInternal)InstanceView).ExecutionMessage = value ?? null; } - - /// Script execution status. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)] - public string InstanceViewExecutionState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceViewInternal)InstanceView).ExecutionState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceViewInternal)InstanceView).ExecutionState = value ?? null; } - - /// Exit code returned from script execution. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)] - public int? InstanceViewExitCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceViewInternal)InstanceView).ExitCode; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceViewInternal)InstanceView).ExitCode = value ?? default(int); } - - /// Script output stream. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)] - public string InstanceViewOutput { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceViewInternal)InstanceView).Output; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceViewInternal)InstanceView).Output = value ?? null; } - - /// Script start time. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)] - public global::System.DateTime? InstanceViewStartTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceViewInternal)InstanceView).StartTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceViewInternal)InstanceView).StartTime = value ?? default(global::System.DateTime); } - - /// The status information. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)] - public System.Collections.Generic.List InstanceViewStatuses { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceViewInternal)InstanceView).Statuses; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceViewInternal)InstanceView).Statuses = value ?? null /* arrayOf */; } - - /// Internal Acessors for ErrorBlobManagedIdentity - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandManagedIdentity Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal.ErrorBlobManagedIdentity { get => (this._errorBlobManagedIdentity = this._errorBlobManagedIdentity ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.RunCommandManagedIdentity()); set { {_errorBlobManagedIdentity = value;} } } - - /// Internal Acessors for InstanceView - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceView Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal.InstanceView { get => (this._instanceView = this._instanceView ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.MachineRunCommandInstanceView()); set { {_instanceView = value;} } } - - /// Internal Acessors for OutputBlobManagedIdentity - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandManagedIdentity Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal.OutputBlobManagedIdentity { get => (this._outputBlobManagedIdentity = this._outputBlobManagedIdentity ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.RunCommandManagedIdentity()); set { {_outputBlobManagedIdentity = value;} } } - - /// Internal Acessors for ProvisioningState - string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal.ProvisioningState { get => this._provisioningState; set { {_provisioningState = value;} } } - - /// Internal Acessors for Source - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandScriptSource Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal.Source { get => (this._source = this._source ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.MachineRunCommandScriptSource()); set { {_source = value;} } } - - /// Internal Acessors for SourceScriptUriManagedIdentity - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandManagedIdentity Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal.SourceScriptUriManagedIdentity { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandScriptSourceInternal)Source).ScriptUriManagedIdentity; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandScriptSourceInternal)Source).ScriptUriManagedIdentity = value; } - - /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandManagedIdentity _outputBlobManagedIdentity; - - /// - /// User-assigned managed identity that has access to outputBlobUri storage blob. Use an empty object in case of system-assigned - /// identity. Make sure managed identity has been given access to blob's container with 'Storage Blob Data Contributor' role - /// assignment. In case of user-assigned identity, make sure you add it under VM's identity. For more info on managed identity - /// and Run Command, refer https://aka.ms/ManagedIdentity and https://aka.ms/RunCommandManaged - /// - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandManagedIdentity OutputBlobManagedIdentity { get => (this._outputBlobManagedIdentity = this._outputBlobManagedIdentity ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.RunCommandManagedIdentity()); set => this._outputBlobManagedIdentity = value; } - - /// - /// Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided. - /// - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)] - public string OutputBlobManagedIdentityClientId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandManagedIdentityInternal)OutputBlobManagedIdentity).ClientId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandManagedIdentityInternal)OutputBlobManagedIdentity).ClientId = value ?? null; } - - /// - /// Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided. - /// - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)] - public string OutputBlobManagedIdentityObjectId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandManagedIdentityInternal)OutputBlobManagedIdentity).ObjectId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandManagedIdentityInternal)OutputBlobManagedIdentity).ObjectId = value ?? null; } - - /// Backing field for property. - private string _outputBlobUri; - - /// - /// Specifies the Azure storage blob where script output stream will be uploaded. Use a SAS URI with read, append, create, - /// write access OR use managed identity to provide the VM access to the blob. Refer outputBlobManagedIdentity parameter. - /// - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Owned)] - public string OutputBlobUri { get => this._outputBlobUri; set => this._outputBlobUri = value; } - - /// Backing field for property. - private System.Collections.Generic.List _parameter; - - /// The parameters used by the script. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Owned)] - public System.Collections.Generic.List Parameter { get => this._parameter; set => this._parameter = value; } - - /// Backing field for property. - private System.Collections.Generic.List _protectedParameter; - - /// The parameters used by the script. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Owned)] - public System.Collections.Generic.List ProtectedParameter { get => this._protectedParameter; set => this._protectedParameter = value; } - - /// Backing field for property. - private string _provisioningState; - - /// The provisioning state, which only appears in the response. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Owned)] - public string ProvisioningState { get => this._provisioningState; } - - /// Backing field for property. - private string _runAsPassword; - - /// - /// Specifies the user account password on the machine when executing the run command. - /// - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Owned)] - public string RunAsPassword { get => this._runAsPassword; set => this._runAsPassword = value; } - - /// Backing field for property. - private string _runAsUser; - - /// Specifies the user account on the machine when executing the run command. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Owned)] - public string RunAsUser { get => this._runAsUser; set => this._runAsUser = value; } - - /// - /// Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided. - /// - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)] - public string ScriptUriManagedIdentityClientId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandScriptSourceInternal)Source).ScriptUriManagedIdentityClientId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandScriptSourceInternal)Source).ScriptUriManagedIdentityClientId = value ?? null; } - - /// - /// Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided. - /// - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)] - public string ScriptUriManagedIdentityObjectId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandScriptSourceInternal)Source).ScriptUriManagedIdentityObjectId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandScriptSourceInternal)Source).ScriptUriManagedIdentityObjectId = value ?? null; } - - /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandScriptSource _source; - - /// The source of the run command script. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandScriptSource Source { get => (this._source = this._source ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.MachineRunCommandScriptSource()); set => this._source = value; } - - /// Specifies the commandId of predefined built-in script. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)] - public string SourceCommandId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandScriptSourceInternal)Source).CommandId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandScriptSourceInternal)Source).CommandId = value ?? null; } - - /// Specifies the script content to be executed on the machine. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)] - public string SourceScript { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandScriptSourceInternal)Source).Script; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandScriptSourceInternal)Source).Script = value ?? null; } - - /// - /// Specifies the script download location. It can be either SAS URI of an Azure storage blob with read access or public URI. - /// - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)] - public string SourceScriptUri { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandScriptSourceInternal)Source).ScriptUri; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandScriptSourceInternal)Source).ScriptUri = value ?? null; } - - /// Backing field for property. - private int? _timeoutInSecond; - - /// The timeout in seconds to execute the run command. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Owned)] - public int? TimeoutInSecond { get => this._timeoutInSecond; set => this._timeoutInSecond = value; } - - /// Creates an new instance. - public MachineRunCommandProperties() - { - - } - } - /// Describes the properties of a run command. - public partial interface IMachineRunCommandProperties : - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IJsonSerializable - { - /// - /// Optional. If set to true, provisioning will complete as soon as script starts and will not wait for script to complete. - /// - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Read = true, - Create = true, - Update = true, - Description = @"Optional. If set to true, provisioning will complete as soon as script starts and will not wait for script to complete.", - SerializedName = @"asyncExecution", - PossibleTypes = new [] { typeof(bool) })] - bool? AsyncExecution { get; set; } - /// - /// Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided. - /// - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Read = true, - Create = true, - Update = true, - Description = @"Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided.", - SerializedName = @"clientId", - PossibleTypes = new [] { typeof(string) })] - string ErrorBlobManagedIdentityClientId { get; set; } - /// - /// Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided. - /// - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Read = true, - Create = true, - Update = true, - Description = @"Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided.", - SerializedName = @"objectId", - PossibleTypes = new [] { typeof(string) })] - string ErrorBlobManagedIdentityObjectId { get; set; } - /// - /// Specifies the Azure storage blob where script error stream will be uploaded. Use a SAS URI with read, append, create, - /// write access OR use managed identity to provide the VM access to the blob. Refer errorBlobManagedIdentity parameter. - /// - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Read = true, - Create = true, - Update = true, - Description = @"Specifies the Azure storage blob where script error stream will be uploaded. Use a SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob. Refer errorBlobManagedIdentity parameter.", - SerializedName = @"errorBlobUri", - PossibleTypes = new [] { typeof(string) })] - string ErrorBlobUri { get; set; } - /// Script end time. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = true, - Read = true, - Create = false, - Update = false, - Description = @"Script end time.", - SerializedName = @"endTime", - PossibleTypes = new [] { typeof(global::System.DateTime) })] - global::System.DateTime? InstanceViewEndTime { get; } - /// Script error stream. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = true, - Read = true, - Create = false, - Update = false, - Description = @"Script error stream.", - SerializedName = @"error", - PossibleTypes = new [] { typeof(string) })] - string InstanceViewError { get; } - /// Communicate script configuration errors or execution messages. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = true, - Read = true, - Create = false, - Update = false, - Description = @"Communicate script configuration errors or execution messages.", - SerializedName = @"executionMessage", - PossibleTypes = new [] { typeof(string) })] - string InstanceViewExecutionMessage { get; } - /// Script execution status. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = true, - Read = true, - Create = false, - Update = false, - Description = @"Script execution status.", - SerializedName = @"executionState", - PossibleTypes = new [] { typeof(string) })] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PSArgumentCompleterAttribute("Unknown", "Pending", "Running", "Failed", "Succeeded", "TimedOut", "Canceled")] - string InstanceViewExecutionState { get; } - /// Exit code returned from script execution. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = true, - Read = true, - Create = false, - Update = false, - Description = @"Exit code returned from script execution.", - SerializedName = @"exitCode", - PossibleTypes = new [] { typeof(int) })] - int? InstanceViewExitCode { get; } - /// Script output stream. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = true, - Read = true, - Create = false, - Update = false, - Description = @"Script output stream.", - SerializedName = @"output", - PossibleTypes = new [] { typeof(string) })] - string InstanceViewOutput { get; } - /// Script start time. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = true, - Read = true, - Create = false, - Update = false, - Description = @"Script start time.", - SerializedName = @"startTime", - PossibleTypes = new [] { typeof(global::System.DateTime) })] - global::System.DateTime? InstanceViewStartTime { get; } - /// The status information. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = true, - Read = true, - Create = false, - Update = false, - Description = @"The status information.", - SerializedName = @"statuses", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IExtensionsResourceStatus) })] - System.Collections.Generic.List InstanceViewStatuses { get; } - /// - /// Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided. - /// - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Read = true, - Create = true, - Update = true, - Description = @"Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided.", - SerializedName = @"clientId", - PossibleTypes = new [] { typeof(string) })] - string OutputBlobManagedIdentityClientId { get; set; } - /// - /// Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided. - /// - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Read = true, - Create = true, - Update = true, - Description = @"Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided.", - SerializedName = @"objectId", - PossibleTypes = new [] { typeof(string) })] - string OutputBlobManagedIdentityObjectId { get; set; } - /// - /// Specifies the Azure storage blob where script output stream will be uploaded. Use a SAS URI with read, append, create, - /// write access OR use managed identity to provide the VM access to the blob. Refer outputBlobManagedIdentity parameter. - /// - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Read = true, - Create = true, - Update = true, - Description = @"Specifies the Azure storage blob where script output stream will be uploaded. Use a SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob. Refer outputBlobManagedIdentity parameter. ", - SerializedName = @"outputBlobUri", - PossibleTypes = new [] { typeof(string) })] - string OutputBlobUri { get; set; } - /// The parameters used by the script. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Read = true, - Create = true, - Update = true, - Description = @"The parameters used by the script.", - SerializedName = @"parameters", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandInputParameter) })] - System.Collections.Generic.List Parameter { get; set; } - /// The parameters used by the script. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Read = true, - Create = true, - Update = true, - Description = @"The parameters used by the script.", - SerializedName = @"protectedParameters", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandInputParameter) })] - System.Collections.Generic.List ProtectedParameter { get; set; } - /// The provisioning state, which only appears in the response. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = true, - Read = true, - Create = false, - Update = false, - Description = @"The provisioning state, which only appears in the response.", - SerializedName = @"provisioningState", - PossibleTypes = new [] { typeof(string) })] - string ProvisioningState { get; } - /// - /// Specifies the user account password on the machine when executing the run command. - /// - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Read = true, - Create = true, - Update = true, - Description = @"Specifies the user account password on the machine when executing the run command.", - SerializedName = @"runAsPassword", - PossibleTypes = new [] { typeof(string) })] - string RunAsPassword { get; set; } - /// Specifies the user account on the machine when executing the run command. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Read = true, - Create = true, - Update = true, - Description = @"Specifies the user account on the machine when executing the run command.", - SerializedName = @"runAsUser", - PossibleTypes = new [] { typeof(string) })] - string RunAsUser { get; set; } - /// - /// Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided. - /// - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Read = true, - Create = true, - Update = true, - Description = @"Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided.", - SerializedName = @"clientId", - PossibleTypes = new [] { typeof(string) })] - string ScriptUriManagedIdentityClientId { get; set; } - /// - /// Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided. - /// - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Read = true, - Create = true, - Update = true, - Description = @"Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided.", - SerializedName = @"objectId", - PossibleTypes = new [] { typeof(string) })] - string ScriptUriManagedIdentityObjectId { get; set; } - /// Specifies the commandId of predefined built-in script. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Read = true, - Create = true, - Update = true, - Description = @"Specifies the commandId of predefined built-in script.", - SerializedName = @"commandId", - PossibleTypes = new [] { typeof(string) })] - string SourceCommandId { get; set; } - /// Specifies the script content to be executed on the machine. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Read = true, - Create = true, - Update = true, - Description = @"Specifies the script content to be executed on the machine.", - SerializedName = @"script", - PossibleTypes = new [] { typeof(string) })] - string SourceScript { get; set; } - /// - /// Specifies the script download location. It can be either SAS URI of an Azure storage blob with read access or public URI. - /// - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Read = true, - Create = true, - Update = true, - Description = @"Specifies the script download location. It can be either SAS URI of an Azure storage blob with read access or public URI.", - SerializedName = @"scriptUri", - PossibleTypes = new [] { typeof(string) })] - string SourceScriptUri { get; set; } - /// The timeout in seconds to execute the run command. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Read = true, - Create = true, - Update = true, - Description = @"The timeout in seconds to execute the run command.", - SerializedName = @"timeoutInSeconds", - PossibleTypes = new [] { typeof(int) })] - int? TimeoutInSecond { get; set; } - - } - /// Describes the properties of a run command. - internal partial interface IMachineRunCommandPropertiesInternal - - { - /// - /// Optional. If set to true, provisioning will complete as soon as script starts and will not wait for script to complete. - /// - bool? AsyncExecution { get; set; } - /// - /// User-assigned managed identity that has access to errorBlobUri storage blob. Use an empty object in case of system-assigned - /// identity. Make sure managed identity has been given access to blob's container with 'Storage Blob Data Contributor' role - /// assignment. In case of user-assigned identity, make sure you add it under VM's identity. For more info on managed identity - /// and Run Command, refer https://aka.ms/ManagedIdentity and https://aka.ms/RunCommandManaged - /// - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandManagedIdentity ErrorBlobManagedIdentity { get; set; } - /// - /// Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided. - /// - string ErrorBlobManagedIdentityClientId { get; set; } - /// - /// Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided. - /// - string ErrorBlobManagedIdentityObjectId { get; set; } - /// - /// Specifies the Azure storage blob where script error stream will be uploaded. Use a SAS URI with read, append, create, - /// write access OR use managed identity to provide the VM access to the blob. Refer errorBlobManagedIdentity parameter. - /// - string ErrorBlobUri { get; set; } - /// The machine run command instance view. - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceView InstanceView { get; set; } - /// Script end time. - global::System.DateTime? InstanceViewEndTime { get; set; } - /// Script error stream. - string InstanceViewError { get; set; } - /// Communicate script configuration errors or execution messages. - string InstanceViewExecutionMessage { get; set; } - /// Script execution status. - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PSArgumentCompleterAttribute("Unknown", "Pending", "Running", "Failed", "Succeeded", "TimedOut", "Canceled")] - string InstanceViewExecutionState { get; set; } - /// Exit code returned from script execution. - int? InstanceViewExitCode { get; set; } - /// Script output stream. - string InstanceViewOutput { get; set; } - /// Script start time. - global::System.DateTime? InstanceViewStartTime { get; set; } - /// The status information. - System.Collections.Generic.List InstanceViewStatuses { get; set; } - /// - /// User-assigned managed identity that has access to outputBlobUri storage blob. Use an empty object in case of system-assigned - /// identity. Make sure managed identity has been given access to blob's container with 'Storage Blob Data Contributor' role - /// assignment. In case of user-assigned identity, make sure you add it under VM's identity. For more info on managed identity - /// and Run Command, refer https://aka.ms/ManagedIdentity and https://aka.ms/RunCommandManaged - /// - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandManagedIdentity OutputBlobManagedIdentity { get; set; } - /// - /// Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided. - /// - string OutputBlobManagedIdentityClientId { get; set; } - /// - /// Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided. - /// - string OutputBlobManagedIdentityObjectId { get; set; } - /// - /// Specifies the Azure storage blob where script output stream will be uploaded. Use a SAS URI with read, append, create, - /// write access OR use managed identity to provide the VM access to the blob. Refer outputBlobManagedIdentity parameter. - /// - string OutputBlobUri { get; set; } - /// The parameters used by the script. - System.Collections.Generic.List Parameter { get; set; } - /// The parameters used by the script. - System.Collections.Generic.List ProtectedParameter { get; set; } - /// The provisioning state, which only appears in the response. - string ProvisioningState { get; set; } - /// - /// Specifies the user account password on the machine when executing the run command. - /// - string RunAsPassword { get; set; } - /// Specifies the user account on the machine when executing the run command. - string RunAsUser { get; set; } - /// - /// Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided. - /// - string ScriptUriManagedIdentityClientId { get; set; } - /// - /// Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided. - /// - string ScriptUriManagedIdentityObjectId { get; set; } - /// The source of the run command script. - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandScriptSource Source { get; set; } - /// Specifies the commandId of predefined built-in script. - string SourceCommandId { get; set; } - /// Specifies the script content to be executed on the machine. - string SourceScript { get; set; } - /// - /// Specifies the script download location. It can be either SAS URI of an Azure storage blob with read access or public URI. - /// - string SourceScriptUri { get; set; } - /// - /// User-assigned managed identity that has access to scriptUri in case of Azure storage blob. Use an empty object in case - /// of system-assigned identity. Make sure the Azure storage blob exists, and managed identity has been given access to blob's - /// container with 'Storage Blob Data Reader' role assignment. In case of user-assigned identity, make sure you add it under - /// VM's identity. For more info on managed identity and Run Command, refer https://aka.ms/ManagedIdentity and https://aka.ms/RunCommandManaged. - /// - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandManagedIdentity SourceScriptUriManagedIdentity { get; set; } - /// The timeout in seconds to execute the run command. - int? TimeoutInSecond { get; set; } - - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommandProperties.json.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommandProperties.json.cs deleted file mode 100644 index d9d08e10ddd7..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommandProperties.json.cs +++ /dev/null @@ -1,154 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models -{ - using static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Extensions; - - /// Describes the properties of a run command. - public partial class MachineRunCommandProperties - { - - /// - /// AfterFromJson will be called after the json deserialization has finished, allowing customization of the object - /// before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The JsonNode that should be deserialized into this object. - - partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json); - - /// - /// AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The JSON container that the serialization result will be placed in. - - partial void AfterToJson(ref Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject container); - - /// - /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of - /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the - /// output parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The JsonNode that should be deserialized into this object. - /// Determines if the rest of the deserialization should be processed, or if the method should return - /// instantly. - - partial void BeforeFromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json, ref bool returnNow); - - /// - /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the - /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output - /// parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The JSON container that the serialization result will be placed in. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject container, ref bool returnNow); - - /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandProperties. - /// - /// a to deserialize from. - /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandProperties. - /// - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode node) - { - return node is Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json ? new MachineRunCommandProperties(json) : null; - } - - /// - /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject into a new instance of . - /// - /// A Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject instance to deserialize from. - internal MachineRunCommandProperties(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json) - { - bool returnNow = false; - BeforeFromJson(json, ref returnNow); - if (returnNow) - { - return; - } - {_source = If( json?.PropertyT("source"), out var __jsonSource) ? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.MachineRunCommandScriptSource.FromJson(__jsonSource) : _source;} - {_outputBlobManagedIdentity = If( json?.PropertyT("outputBlobManagedIdentity"), out var __jsonOutputBlobManagedIdentity) ? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.RunCommandManagedIdentity.FromJson(__jsonOutputBlobManagedIdentity) : _outputBlobManagedIdentity;} - {_errorBlobManagedIdentity = If( json?.PropertyT("errorBlobManagedIdentity"), out var __jsonErrorBlobManagedIdentity) ? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.RunCommandManagedIdentity.FromJson(__jsonErrorBlobManagedIdentity) : _errorBlobManagedIdentity;} - {_instanceView = If( json?.PropertyT("instanceView"), out var __jsonInstanceView) ? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.MachineRunCommandInstanceView.FromJson(__jsonInstanceView) : _instanceView;} - {_parameter = If( json?.PropertyT("parameters"), out var __jsonParameters) ? If( __jsonParameters as Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonArray, out var __v) ? new global::System.Func>(()=> global::System.Linq.Enumerable.ToList(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandInputParameter) (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.RunCommandInputParameter.FromJson(__u) )) ))() : null : _parameter;} - {_protectedParameter = If( json?.PropertyT("protectedParameters"), out var __jsonProtectedParameters) ? If( __jsonProtectedParameters as Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonArray, out var __q) ? new global::System.Func>(()=> global::System.Linq.Enumerable.ToList(global::System.Linq.Enumerable.Select(__q, (__p)=>(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandInputParameter) (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.RunCommandInputParameter.FromJson(__p) )) ))() : null : _protectedParameter;} - {_asyncExecution = If( json?.PropertyT("asyncExecution"), out var __jsonAsyncExecution) ? (bool?)__jsonAsyncExecution : _asyncExecution;} - {_runAsUser = If( json?.PropertyT("runAsUser"), out var __jsonRunAsUser) ? (string)__jsonRunAsUser : (string)_runAsUser;} - {_runAsPassword = If( json?.PropertyT("runAsPassword"), out var __jsonRunAsPassword) ? (string)__jsonRunAsPassword : (string)_runAsPassword;} - {_timeoutInSecond = If( json?.PropertyT("timeoutInSeconds"), out var __jsonTimeoutInSeconds) ? (int?)__jsonTimeoutInSeconds : _timeoutInSecond;} - {_outputBlobUri = If( json?.PropertyT("outputBlobUri"), out var __jsonOutputBlobUri) ? (string)__jsonOutputBlobUri : (string)_outputBlobUri;} - {_errorBlobUri = If( json?.PropertyT("errorBlobUri"), out var __jsonErrorBlobUri) ? (string)__jsonErrorBlobUri : (string)_errorBlobUri;} - {_provisioningState = If( json?.PropertyT("provisioningState"), out var __jsonProvisioningState) ? (string)__jsonProvisioningState : (string)_provisioningState;} - AfterFromJson(json); - } - - /// - /// Serializes this instance of 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 . - /// - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode) - { - container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject(); - - bool returnNow = false; - BeforeToJson(ref container, ref returnNow); - if (returnNow) - { - return container; - } - AddIf( null != this._source ? (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode) this._source.ToJson(null,serializationMode) : null, "source" ,container.Add ); - AddIf( null != this._outputBlobManagedIdentity ? (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode) this._outputBlobManagedIdentity.ToJson(null,serializationMode) : null, "outputBlobManagedIdentity" ,container.Add ); - AddIf( null != this._errorBlobManagedIdentity ? (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode) this._errorBlobManagedIdentity.ToJson(null,serializationMode) : null, "errorBlobManagedIdentity" ,container.Add ); - if (serializationMode.HasFlag(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeRead)) - { - AddIf( null != this._instanceView ? (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode) this._instanceView.ToJson(null,serializationMode) : null, "instanceView" ,container.Add ); - } - if (null != this._parameter) - { - var __w = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.XNodeArray(); - foreach( var __x in this._parameter ) - { - AddIf(__x?.ToJson(null, serializationMode) ,__w.Add); - } - container.Add("parameters",__w); - } - if (null != this._protectedParameter) - { - var __r = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.XNodeArray(); - foreach( var __s in this._protectedParameter ) - { - AddIf(__s?.ToJson(null, serializationMode) ,__r.Add); - } - container.Add("protectedParameters",__r); - } - AddIf( null != this._asyncExecution ? (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode)new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonBoolean((bool)this._asyncExecution) : null, "asyncExecution" ,container.Add ); - AddIf( null != (((object)this._runAsUser)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonString(this._runAsUser.ToString()) : null, "runAsUser" ,container.Add ); - AddIf( null != (((object)this._runAsPassword)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonString(this._runAsPassword.ToString()) : null, "runAsPassword" ,container.Add ); - AddIf( null != this._timeoutInSecond ? (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode)new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNumber((int)this._timeoutInSecond) : null, "timeoutInSeconds" ,container.Add ); - AddIf( null != (((object)this._outputBlobUri)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonString(this._outputBlobUri.ToString()) : null, "outputBlobUri" ,container.Add ); - AddIf( null != (((object)this._errorBlobUri)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonString(this._errorBlobUri.ToString()) : null, "errorBlobUri" ,container.Add ); - if (serializationMode.HasFlag(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeRead)) - { - AddIf( null != (((object)this._provisioningState)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonString(this._provisioningState.ToString()) : null, "provisioningState" ,container.Add ); - } - AfterToJson(ref container); - return container; - } - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommandScriptSource.PowerShell.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommandScriptSource.PowerShell.cs deleted file mode 100644 index e5aaace1c432..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommandScriptSource.PowerShell.cs +++ /dev/null @@ -1,206 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models -{ - using Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell; - - /// - /// Describes the script sources for run command. Use only one of script, scriptUri, commandId. - /// - [System.ComponentModel.TypeConverter(typeof(MachineRunCommandScriptSourceTypeConverter))] - public partial class MachineRunCommandScriptSource - { - - /// - /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the - /// object before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The global::System.Collections.IDictionary content that should be used. - - partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); - - /// - /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object - /// before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The global::System.Management.Automation.PSObject content that should be used. - - partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); - - /// - /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization - /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output - /// parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The global::System.Collections.IDictionary content that should be used. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); - - /// - /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization - /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output - /// parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The global::System.Management.Automation.PSObject content that should be used. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); - - /// - /// OverrideToString will be called if it is implemented. Implement this method in a partial class to enable this behavior - /// - /// /// instance serialized to a string, normally it is a Json - /// /// set returnNow to true if you provide a customized OverrideToString function - - partial void OverrideToString(ref string stringResult, ref bool returnNow); - - /// - /// Deserializes a into an instance of . - /// - /// The global::System.Collections.IDictionary content that should be used. - /// - /// an instance of . - /// - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandScriptSource DeserializeFromDictionary(global::System.Collections.IDictionary content) - { - return new MachineRunCommandScriptSource(content); - } - - /// - /// Deserializes a into an instance of . - /// - /// The global::System.Management.Automation.PSObject content that should be used. - /// - /// an instance of . - /// - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandScriptSource DeserializeFromPSObject(global::System.Management.Automation.PSObject content) - { - return new MachineRunCommandScriptSource(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. - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandScriptSource FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(jsonText)); - - /// - /// Deserializes a into a new instance of . - /// - /// The global::System.Collections.IDictionary content that should be used. - internal MachineRunCommandScriptSource(global::System.Collections.IDictionary content) - { - bool returnNow = false; - BeforeDeserializeDictionary(content, ref returnNow); - if (returnNow) - { - return; - } - // actually deserialize - if (content.Contains("ScriptUriManagedIdentity")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandScriptSourceInternal)this).ScriptUriManagedIdentity = (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandManagedIdentity) content.GetValueForProperty("ScriptUriManagedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandScriptSourceInternal)this).ScriptUriManagedIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.RunCommandManagedIdentityTypeConverter.ConvertFrom); - } - if (content.Contains("Script")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandScriptSourceInternal)this).Script = (string) content.GetValueForProperty("Script",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandScriptSourceInternal)this).Script, global::System.Convert.ToString); - } - if (content.Contains("ScriptUri")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandScriptSourceInternal)this).ScriptUri = (string) content.GetValueForProperty("ScriptUri",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandScriptSourceInternal)this).ScriptUri, global::System.Convert.ToString); - } - if (content.Contains("CommandId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandScriptSourceInternal)this).CommandId = (string) content.GetValueForProperty("CommandId",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandScriptSourceInternal)this).CommandId, global::System.Convert.ToString); - } - if (content.Contains("ScriptUriManagedIdentityClientId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandScriptSourceInternal)this).ScriptUriManagedIdentityClientId = (string) content.GetValueForProperty("ScriptUriManagedIdentityClientId",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandScriptSourceInternal)this).ScriptUriManagedIdentityClientId, global::System.Convert.ToString); - } - if (content.Contains("ScriptUriManagedIdentityObjectId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandScriptSourceInternal)this).ScriptUriManagedIdentityObjectId = (string) content.GetValueForProperty("ScriptUriManagedIdentityObjectId",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandScriptSourceInternal)this).ScriptUriManagedIdentityObjectId, global::System.Convert.ToString); - } - AfterDeserializeDictionary(content); - } - - /// - /// Deserializes a into a new instance of . - /// - /// The global::System.Management.Automation.PSObject content that should be used. - internal MachineRunCommandScriptSource(global::System.Management.Automation.PSObject content) - { - bool returnNow = false; - BeforeDeserializePSObject(content, ref returnNow); - if (returnNow) - { - return; - } - // actually deserialize - if (content.Contains("ScriptUriManagedIdentity")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandScriptSourceInternal)this).ScriptUriManagedIdentity = (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandManagedIdentity) content.GetValueForProperty("ScriptUriManagedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandScriptSourceInternal)this).ScriptUriManagedIdentity, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.RunCommandManagedIdentityTypeConverter.ConvertFrom); - } - if (content.Contains("Script")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandScriptSourceInternal)this).Script = (string) content.GetValueForProperty("Script",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandScriptSourceInternal)this).Script, global::System.Convert.ToString); - } - if (content.Contains("ScriptUri")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandScriptSourceInternal)this).ScriptUri = (string) content.GetValueForProperty("ScriptUri",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandScriptSourceInternal)this).ScriptUri, global::System.Convert.ToString); - } - if (content.Contains("CommandId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandScriptSourceInternal)this).CommandId = (string) content.GetValueForProperty("CommandId",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandScriptSourceInternal)this).CommandId, global::System.Convert.ToString); - } - if (content.Contains("ScriptUriManagedIdentityClientId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandScriptSourceInternal)this).ScriptUriManagedIdentityClientId = (string) content.GetValueForProperty("ScriptUriManagedIdentityClientId",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandScriptSourceInternal)this).ScriptUriManagedIdentityClientId, global::System.Convert.ToString); - } - if (content.Contains("ScriptUriManagedIdentityObjectId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandScriptSourceInternal)this).ScriptUriManagedIdentityObjectId = (string) content.GetValueForProperty("ScriptUriManagedIdentityObjectId",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandScriptSourceInternal)this).ScriptUriManagedIdentityObjectId, global::System.Convert.ToString); - } - AfterDeserializePSObject(content); - } - - /// Serializes this instance to a json string. - - /// a containing this model serialized to JSON text. - public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeAll)?.ToString(); - - public override string ToString() - { - var returnNow = false; - var result = global::System.String.Empty; - OverrideToString(ref result, ref returnNow); - if (returnNow) - { - return result; - } - return ToJsonString(); - } - } - /// Describes the script sources for run command. Use only one of script, scriptUri, commandId. - [System.ComponentModel.TypeConverter(typeof(MachineRunCommandScriptSourceTypeConverter))] - public partial interface IMachineRunCommandScriptSource - - { - - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommandScriptSource.TypeConverter.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommandScriptSource.TypeConverter.cs deleted file mode 100644 index c1458fae5f0b..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommandScriptSource.TypeConverter.cs +++ /dev/null @@ -1,147 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models -{ - using Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell; - - /// - /// A PowerShell PSTypeConverter to support converting to an instance of - /// - public partial class MachineRunCommandScriptSourceTypeConverter : global::System.Management.Automation.PSTypeConverter - { - - /// - /// Determines if the converter can convert the parameter to the parameter. - /// - /// the to convert from - /// the to convert to - /// - /// true if the converter can convert the parameter to the parameter, otherwise false. - /// - public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); - - /// - /// Determines if the converter can convert the parameter to the - /// type. - /// - /// the instance to check if it can be converted to the type. - /// - /// true if the instance could be converted to a type, otherwise false - /// - public static bool CanConvertFrom(dynamic sourceValue) - { - if (null == sourceValue) - { - return true; - } - global::System.Type type = sourceValue.GetType(); - if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) - { - // we say yest to PSObjects - return true; - } - if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) - { - // we say yest to Hashtables/dictionaries - return true; - } - try - { - if (null != sourceValue.ToJsonString()) - { - return true; - } - } - catch - { - // Not one of our objects - } - try - { - string text = sourceValue.ToString()?.Trim(); - return true == text?.StartsWith("{") && true == text?.EndsWith("}") && Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(text).Type == Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonType.Object; - } - catch - { - // Doesn't look like it can be treated as JSON - } - return false; - } - - /// - /// Determines if the parameter can be converted to the - /// parameter - /// - /// the to convert from - /// the to convert to - /// - /// true if the converter can convert the parameter to the parameter, otherwise false - /// - public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; - - /// - /// Converts the parameter to the parameter using and - /// - /// the to convert from - /// the to convert to - /// 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. - /// - 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 - /// - /// the value to convert into an instance of . - /// - /// an instance of , or null if there is no suitable conversion. - /// - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandScriptSource ConvertFrom(dynamic sourceValue) - { - if (null == sourceValue) - { - return null; - } - global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandScriptSource).IsAssignableFrom(type)) - { - return sourceValue; - } - try - { - return MachineRunCommandScriptSource.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; - } - catch - { - // Unable to use JSON pattern - } - if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) - { - return MachineRunCommandScriptSource.DeserializeFromPSObject(sourceValue); - } - if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) - { - return MachineRunCommandScriptSource.DeserializeFromDictionary(sourceValue); - } - return null; - } - - /// NotImplemented -- this will return null - /// the to convert from - /// the to convert to - /// not used by this TypeConverter. - /// when set to true, will ignore the case when converting. - /// will always return null. - public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null; - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommandScriptSource.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommandScriptSource.cs deleted file mode 100644 index 2cc134d3809d..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommandScriptSource.cs +++ /dev/null @@ -1,170 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models -{ - using static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Extensions; - - /// - /// Describes the script sources for run command. Use only one of script, scriptUri, commandId. - /// - public partial class MachineRunCommandScriptSource : - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandScriptSource, - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandScriptSourceInternal - { - - /// Backing field for property. - private string _commandId; - - /// Specifies the commandId of predefined built-in script. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Owned)] - public string CommandId { get => this._commandId; set => this._commandId = value; } - - /// Internal Acessors for ScriptUriManagedIdentity - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandManagedIdentity Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandScriptSourceInternal.ScriptUriManagedIdentity { get => (this._scriptUriManagedIdentity = this._scriptUriManagedIdentity ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.RunCommandManagedIdentity()); set { {_scriptUriManagedIdentity = value;} } } - - /// Backing field for property. - private string _script; - - /// Specifies the script content to be executed on the machine. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Owned)] - public string Script { get => this._script; set => this._script = value; } - - /// Backing field for property. - private string _scriptUri; - - /// - /// Specifies the script download location. It can be either SAS URI of an Azure storage blob with read access or public URI. - /// - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Owned)] - public string ScriptUri { get => this._scriptUri; set => this._scriptUri = value; } - - /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandManagedIdentity _scriptUriManagedIdentity; - - /// - /// User-assigned managed identity that has access to scriptUri in case of Azure storage blob. Use an empty object in case - /// of system-assigned identity. Make sure the Azure storage blob exists, and managed identity has been given access to blob's - /// container with 'Storage Blob Data Reader' role assignment. In case of user-assigned identity, make sure you add it under - /// VM's identity. For more info on managed identity and Run Command, refer https://aka.ms/ManagedIdentity and https://aka.ms/RunCommandManaged. - /// - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandManagedIdentity ScriptUriManagedIdentity { get => (this._scriptUriManagedIdentity = this._scriptUriManagedIdentity ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.RunCommandManagedIdentity()); set => this._scriptUriManagedIdentity = value; } - - /// - /// Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided. - /// - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)] - public string ScriptUriManagedIdentityClientId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandManagedIdentityInternal)ScriptUriManagedIdentity).ClientId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandManagedIdentityInternal)ScriptUriManagedIdentity).ClientId = value ?? null; } - - /// - /// Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided. - /// - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)] - public string ScriptUriManagedIdentityObjectId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandManagedIdentityInternal)ScriptUriManagedIdentity).ObjectId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandManagedIdentityInternal)ScriptUriManagedIdentity).ObjectId = value ?? null; } - - /// Creates an new instance. - public MachineRunCommandScriptSource() - { - - } - } - /// Describes the script sources for run command. Use only one of script, scriptUri, commandId. - public partial interface IMachineRunCommandScriptSource : - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IJsonSerializable - { - /// Specifies the commandId of predefined built-in script. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Read = true, - Create = true, - Update = true, - Description = @"Specifies the commandId of predefined built-in script.", - SerializedName = @"commandId", - PossibleTypes = new [] { typeof(string) })] - string CommandId { get; set; } - /// Specifies the script content to be executed on the machine. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Read = true, - Create = true, - Update = true, - Description = @"Specifies the script content to be executed on the machine.", - SerializedName = @"script", - PossibleTypes = new [] { typeof(string) })] - string Script { get; set; } - /// - /// Specifies the script download location. It can be either SAS URI of an Azure storage blob with read access or public URI. - /// - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Read = true, - Create = true, - Update = true, - Description = @"Specifies the script download location. It can be either SAS URI of an Azure storage blob with read access or public URI.", - SerializedName = @"scriptUri", - PossibleTypes = new [] { typeof(string) })] - string ScriptUri { get; set; } - /// - /// Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided. - /// - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Read = true, - Create = true, - Update = true, - Description = @"Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided.", - SerializedName = @"clientId", - PossibleTypes = new [] { typeof(string) })] - string ScriptUriManagedIdentityClientId { get; set; } - /// - /// Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided. - /// - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Read = true, - Create = true, - Update = true, - Description = @"Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided.", - SerializedName = @"objectId", - PossibleTypes = new [] { typeof(string) })] - string ScriptUriManagedIdentityObjectId { get; set; } - - } - /// Describes the script sources for run command. Use only one of script, scriptUri, commandId. - internal partial interface IMachineRunCommandScriptSourceInternal - - { - /// Specifies the commandId of predefined built-in script. - string CommandId { get; set; } - /// Specifies the script content to be executed on the machine. - string Script { get; set; } - /// - /// Specifies the script download location. It can be either SAS URI of an Azure storage blob with read access or public URI. - /// - string ScriptUri { get; set; } - /// - /// User-assigned managed identity that has access to scriptUri in case of Azure storage blob. Use an empty object in case - /// of system-assigned identity. Make sure the Azure storage blob exists, and managed identity has been given access to blob's - /// container with 'Storage Blob Data Reader' role assignment. In case of user-assigned identity, make sure you add it under - /// VM's identity. For more info on managed identity and Run Command, refer https://aka.ms/ManagedIdentity and https://aka.ms/RunCommandManaged. - /// - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandManagedIdentity ScriptUriManagedIdentity { get; set; } - /// - /// Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided. - /// - string ScriptUriManagedIdentityClientId { get; set; } - /// - /// Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided. - /// - string ScriptUriManagedIdentityObjectId { get; set; } - - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommandScriptSource.json.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommandScriptSource.json.cs deleted file mode 100644 index b67923c1be93..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommandScriptSource.json.cs +++ /dev/null @@ -1,116 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models -{ - using static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Extensions; - - /// - /// Describes the script sources for run command. Use only one of script, scriptUri, commandId. - /// - public partial class MachineRunCommandScriptSource - { - - /// - /// AfterFromJson will be called after the json deserialization has finished, allowing customization of the object - /// before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The JsonNode that should be deserialized into this object. - - partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json); - - /// - /// AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The JSON container that the serialization result will be placed in. - - partial void AfterToJson(ref Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject container); - - /// - /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of - /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the - /// output parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The JsonNode that should be deserialized into this object. - /// Determines if the rest of the deserialization should be processed, or if the method should return - /// instantly. - - partial void BeforeFromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json, ref bool returnNow); - - /// - /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the - /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output - /// parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The JSON container that the serialization result will be placed in. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject container, ref bool returnNow); - - /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandScriptSource. - /// - /// a to deserialize from. - /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandScriptSource. - /// - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandScriptSource FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode node) - { - return node is Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json ? new MachineRunCommandScriptSource(json) : null; - } - - /// - /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject into a new instance of . - /// - /// A Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject instance to deserialize from. - internal MachineRunCommandScriptSource(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json) - { - bool returnNow = false; - BeforeFromJson(json, ref returnNow); - if (returnNow) - { - return; - } - {_scriptUriManagedIdentity = If( json?.PropertyT("scriptUriManagedIdentity"), out var __jsonScriptUriManagedIdentity) ? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.RunCommandManagedIdentity.FromJson(__jsonScriptUriManagedIdentity) : _scriptUriManagedIdentity;} - {_script = If( json?.PropertyT("script"), out var __jsonScript) ? (string)__jsonScript : (string)_script;} - {_scriptUri = If( json?.PropertyT("scriptUri"), out var __jsonScriptUri) ? (string)__jsonScriptUri : (string)_scriptUri;} - {_commandId = If( json?.PropertyT("commandId"), out var __jsonCommandId) ? (string)__jsonCommandId : (string)_commandId;} - AfterFromJson(json); - } - - /// - /// Serializes this instance of 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 . - /// - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode) - { - container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject(); - - bool returnNow = false; - BeforeToJson(ref container, ref returnNow); - if (returnNow) - { - return container; - } - AddIf( null != this._scriptUriManagedIdentity ? (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode) this._scriptUriManagedIdentity.ToJson(null,serializationMode) : null, "scriptUriManagedIdentity" ,container.Add ); - AddIf( null != (((object)this._script)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonString(this._script.ToString()) : null, "script" ,container.Add ); - AddIf( null != (((object)this._scriptUri)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonString(this._scriptUri.ToString()) : null, "scriptUri" ,container.Add ); - AddIf( null != (((object)this._commandId)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonString(this._commandId.ToString()) : null, "commandId" ,container.Add ); - AfterToJson(ref container); - return container; - } - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommandUpdate.PowerShell.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommandUpdate.PowerShell.cs deleted file mode 100644 index cc117d69d272..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommandUpdate.PowerShell.cs +++ /dev/null @@ -1,164 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models -{ - using Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell; - - /// Describes a Machine Extension Update. - [System.ComponentModel.TypeConverter(typeof(MachineRunCommandUpdateTypeConverter))] - public partial class MachineRunCommandUpdate - { - - /// - /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the - /// object before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The global::System.Collections.IDictionary content that should be used. - - partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); - - /// - /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object - /// before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The global::System.Management.Automation.PSObject content that should be used. - - partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); - - /// - /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization - /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output - /// parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The global::System.Collections.IDictionary content that should be used. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); - - /// - /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization - /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output - /// parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The global::System.Management.Automation.PSObject content that should be used. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); - - /// - /// OverrideToString will be called if it is implemented. Implement this method in a partial class to enable this behavior - /// - /// /// instance serialized to a string, normally it is a Json - /// /// set returnNow to true if you provide a customized OverrideToString function - - partial void OverrideToString(ref string stringResult, ref bool returnNow); - - /// - /// Deserializes a into an instance of . - /// - /// The global::System.Collections.IDictionary content that should be used. - /// - /// an instance of . - /// - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandUpdate DeserializeFromDictionary(global::System.Collections.IDictionary content) - { - return new MachineRunCommandUpdate(content); - } - - /// - /// Deserializes a into an instance of . - /// - /// The global::System.Management.Automation.PSObject content that should be used. - /// - /// an instance of . - /// - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandUpdate DeserializeFromPSObject(global::System.Management.Automation.PSObject content) - { - return new MachineRunCommandUpdate(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. - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandUpdate FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(jsonText)); - - /// - /// Deserializes a into a new instance of . - /// - /// The global::System.Collections.IDictionary content that should be used. - internal MachineRunCommandUpdate(global::System.Collections.IDictionary content) - { - bool returnNow = false; - BeforeDeserializeDictionary(content, ref returnNow); - if (returnNow) - { - return; - } - // actually deserialize - if (content.Contains("Tags")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceUpdateInternal)this).Tags = (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceUpdateTags) content.GetValueForProperty("Tags",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceUpdateInternal)this).Tags, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ResourceUpdateTagsTypeConverter.ConvertFrom); - } - AfterDeserializeDictionary(content); - } - - /// - /// Deserializes a into a new instance of . - /// - /// The global::System.Management.Automation.PSObject content that should be used. - internal MachineRunCommandUpdate(global::System.Management.Automation.PSObject content) - { - bool returnNow = false; - BeforeDeserializePSObject(content, ref returnNow); - if (returnNow) - { - return; - } - // actually deserialize - if (content.Contains("Tags")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceUpdateInternal)this).Tags = (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceUpdateTags) content.GetValueForProperty("Tags",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceUpdateInternal)this).Tags, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ResourceUpdateTagsTypeConverter.ConvertFrom); - } - AfterDeserializePSObject(content); - } - - /// Serializes this instance to a json string. - - /// a containing this model serialized to JSON text. - public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeAll)?.ToString(); - - public override string ToString() - { - var returnNow = false; - var result = global::System.String.Empty; - OverrideToString(ref result, ref returnNow); - if (returnNow) - { - return result; - } - return ToJsonString(); - } - } - /// Describes a Machine Extension Update. - [System.ComponentModel.TypeConverter(typeof(MachineRunCommandUpdateTypeConverter))] - public partial interface IMachineRunCommandUpdate - - { - - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommandUpdate.TypeConverter.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommandUpdate.TypeConverter.cs deleted file mode 100644 index 2bc18794b829..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommandUpdate.TypeConverter.cs +++ /dev/null @@ -1,147 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models -{ - using Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell; - - /// - /// A PowerShell PSTypeConverter to support converting to an instance of - /// - public partial class MachineRunCommandUpdateTypeConverter : global::System.Management.Automation.PSTypeConverter - { - - /// - /// Determines if the converter can convert the parameter to the parameter. - /// - /// the to convert from - /// the to convert to - /// - /// true if the converter can convert the parameter to the parameter, otherwise false. - /// - public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); - - /// - /// Determines if the converter can convert the parameter to the - /// type. - /// - /// the instance to check if it can be converted to the type. - /// - /// true if the instance could be converted to a type, otherwise false - /// - public static bool CanConvertFrom(dynamic sourceValue) - { - if (null == sourceValue) - { - return true; - } - global::System.Type type = sourceValue.GetType(); - if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) - { - // we say yest to PSObjects - return true; - } - if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) - { - // we say yest to Hashtables/dictionaries - return true; - } - try - { - if (null != sourceValue.ToJsonString()) - { - return true; - } - } - catch - { - // Not one of our objects - } - try - { - string text = sourceValue.ToString()?.Trim(); - return true == text?.StartsWith("{") && true == text?.EndsWith("}") && Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(text).Type == Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonType.Object; - } - catch - { - // Doesn't look like it can be treated as JSON - } - return false; - } - - /// - /// Determines if the parameter can be converted to the - /// parameter - /// - /// the to convert from - /// the to convert to - /// - /// true if the converter can convert the parameter to the parameter, otherwise false - /// - public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; - - /// - /// Converts the parameter to the parameter using and - /// - /// the to convert from - /// the to convert to - /// 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. - /// - 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 - /// - /// the value to convert into an instance of . - /// - /// an instance of , or null if there is no suitable conversion. - /// - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandUpdate ConvertFrom(dynamic sourceValue) - { - if (null == sourceValue) - { - return null; - } - global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandUpdate).IsAssignableFrom(type)) - { - return sourceValue; - } - try - { - return MachineRunCommandUpdate.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; - } - catch - { - // Unable to use JSON pattern - } - if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) - { - return MachineRunCommandUpdate.DeserializeFromPSObject(sourceValue); - } - if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) - { - return MachineRunCommandUpdate.DeserializeFromDictionary(sourceValue); - } - return null; - } - - /// NotImplemented -- this will return null - /// the to convert from - /// the to convert to - /// not used by this TypeConverter. - /// when set to true, will ignore the case when converting. - /// will always return null. - public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null; - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommandUpdate.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommandUpdate.cs deleted file mode 100644 index da3a1754a31f..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommandUpdate.cs +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models -{ - using static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Extensions; - - /// Describes a Machine Extension Update. - public partial class MachineRunCommandUpdate : - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandUpdate, - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandUpdateInternal, - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IValidates - { - /// - /// Backing field for Inherited model - /// - private Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceUpdate __resourceUpdate = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ResourceUpdate(); - - /// Resource tags - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)] - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceUpdateTags Tags { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceUpdateInternal)__resourceUpdate).Tags; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceUpdateInternal)__resourceUpdate).Tags = value ?? null /* model class */; } - - /// Creates an new instance. - public MachineRunCommandUpdate() - { - - } - - /// Validates that this object meets the validation criteria. - /// an instance that will receive validation - /// events. - /// - /// A that will be complete when validation is completed. - /// - public async global::System.Threading.Tasks.Task Validate(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) - { - await eventListener.AssertNotNull(nameof(__resourceUpdate), __resourceUpdate); - await eventListener.AssertObjectIsValid(nameof(__resourceUpdate), __resourceUpdate); - } - } - /// Describes a Machine Extension Update. - public partial interface IMachineRunCommandUpdate : - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IJsonSerializable, - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceUpdate - { - - } - /// Describes a Machine Extension Update. - internal partial interface IMachineRunCommandUpdateInternal : - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceUpdateInternal - { - - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommandUpdate.json.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommandUpdate.json.cs deleted file mode 100644 index ce7a422b134d..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommandUpdate.json.cs +++ /dev/null @@ -1,108 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models -{ - using static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Extensions; - - /// Describes a Machine Extension Update. - public partial class MachineRunCommandUpdate - { - - /// - /// AfterFromJson will be called after the json deserialization has finished, allowing customization of the object - /// before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The JsonNode that should be deserialized into this object. - - partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json); - - /// - /// AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The JSON container that the serialization result will be placed in. - - partial void AfterToJson(ref Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject container); - - /// - /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of - /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the - /// output parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The JsonNode that should be deserialized into this object. - /// Determines if the rest of the deserialization should be processed, or if the method should return - /// instantly. - - partial void BeforeFromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json, ref bool returnNow); - - /// - /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the - /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output - /// parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The JSON container that the serialization result will be placed in. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject container, ref bool returnNow); - - /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandUpdate. - /// - /// a to deserialize from. - /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandUpdate. - /// - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandUpdate FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode node) - { - return node is Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json ? new MachineRunCommandUpdate(json) : null; - } - - /// - /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject into a new instance of . - /// - /// A Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject instance to deserialize from. - internal MachineRunCommandUpdate(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json) - { - bool returnNow = false; - BeforeFromJson(json, ref returnNow); - if (returnNow) - { - return; - } - __resourceUpdate = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ResourceUpdate(json); - AfterFromJson(json); - } - - /// - /// Serializes this instance of 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 . - /// - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode) - { - container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject(); - - bool returnNow = false; - BeforeToJson(ref container, ref returnNow); - if (returnNow) - { - return container; - } - __resourceUpdate?.ToJson(container, serializationMode); - AfterToJson(ref container); - return container; - } - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommandsListResult.PowerShell.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommandsListResult.PowerShell.cs deleted file mode 100644 index 3bb49bc683e1..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommandsListResult.PowerShell.cs +++ /dev/null @@ -1,172 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models -{ - using Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell; - - /// Describes the Run Commands List Result. - [System.ComponentModel.TypeConverter(typeof(MachineRunCommandsListResultTypeConverter))] - public partial class MachineRunCommandsListResult - { - - /// - /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the - /// object before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The global::System.Collections.IDictionary content that should be used. - - partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); - - /// - /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object - /// before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The global::System.Management.Automation.PSObject content that should be used. - - partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); - - /// - /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization - /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output - /// parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The global::System.Collections.IDictionary content that should be used. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); - - /// - /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization - /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output - /// parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The global::System.Management.Automation.PSObject content that should be used. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); - - /// - /// OverrideToString will be called if it is implemented. Implement this method in a partial class to enable this behavior - /// - /// /// instance serialized to a string, normally it is a Json - /// /// set returnNow to true if you provide a customized OverrideToString function - - partial void OverrideToString(ref string stringResult, ref bool returnNow); - - /// - /// Deserializes a into an instance of . - /// - /// The global::System.Collections.IDictionary content that should be used. - /// - /// an instance of . - /// - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandsListResult DeserializeFromDictionary(global::System.Collections.IDictionary content) - { - return new MachineRunCommandsListResult(content); - } - - /// - /// Deserializes a into an instance of . - /// - /// The global::System.Management.Automation.PSObject content that should be used. - /// - /// an instance of . - /// - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandsListResult DeserializeFromPSObject(global::System.Management.Automation.PSObject content) - { - return new MachineRunCommandsListResult(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. - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandsListResult FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(jsonText)); - - /// - /// Deserializes a into a new instance of . - /// - /// The global::System.Collections.IDictionary content that should be used. - internal MachineRunCommandsListResult(global::System.Collections.IDictionary content) - { - bool returnNow = false; - BeforeDeserializeDictionary(content, ref returnNow); - if (returnNow) - { - return; - } - // actually deserialize - if (content.Contains("Value")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandsListResultInternal)this).Value = (System.Collections.Generic.List) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandsListResultInternal)this).Value, __y => TypeConverterExtensions.SelectToList(__y, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.MachineRunCommandTypeConverter.ConvertFrom)); - } - if (content.Contains("NextLink")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandsListResultInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandsListResultInternal)this).NextLink, global::System.Convert.ToString); - } - AfterDeserializeDictionary(content); - } - - /// - /// Deserializes a into a new instance of . - /// - /// The global::System.Management.Automation.PSObject content that should be used. - internal MachineRunCommandsListResult(global::System.Management.Automation.PSObject content) - { - bool returnNow = false; - BeforeDeserializePSObject(content, ref returnNow); - if (returnNow) - { - return; - } - // actually deserialize - if (content.Contains("Value")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandsListResultInternal)this).Value = (System.Collections.Generic.List) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandsListResultInternal)this).Value, __y => TypeConverterExtensions.SelectToList(__y, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.MachineRunCommandTypeConverter.ConvertFrom)); - } - if (content.Contains("NextLink")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandsListResultInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandsListResultInternal)this).NextLink, global::System.Convert.ToString); - } - AfterDeserializePSObject(content); - } - - /// Serializes this instance to a json string. - - /// a containing this model serialized to JSON text. - public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeAll)?.ToString(); - - public override string ToString() - { - var returnNow = false; - var result = global::System.String.Empty; - OverrideToString(ref result, ref returnNow); - if (returnNow) - { - return result; - } - return ToJsonString(); - } - } - /// Describes the Run Commands List Result. - [System.ComponentModel.TypeConverter(typeof(MachineRunCommandsListResultTypeConverter))] - public partial interface IMachineRunCommandsListResult - - { - - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommandsListResult.TypeConverter.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommandsListResult.TypeConverter.cs deleted file mode 100644 index 9fc727f9f8ed..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommandsListResult.TypeConverter.cs +++ /dev/null @@ -1,147 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models -{ - using Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell; - - /// - /// A PowerShell PSTypeConverter to support converting to an instance of - /// - public partial class MachineRunCommandsListResultTypeConverter : global::System.Management.Automation.PSTypeConverter - { - - /// - /// Determines if the converter can convert the parameter to the parameter. - /// - /// the to convert from - /// the to convert to - /// - /// true if the converter can convert the parameter to the parameter, otherwise false. - /// - public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); - - /// - /// Determines if the converter can convert the parameter to the - /// type. - /// - /// the instance to check if it can be converted to the type. - /// - /// true if the instance could be converted to a type, otherwise false - /// - public static bool CanConvertFrom(dynamic sourceValue) - { - if (null == sourceValue) - { - return true; - } - global::System.Type type = sourceValue.GetType(); - if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) - { - // we say yest to PSObjects - return true; - } - if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) - { - // we say yest to Hashtables/dictionaries - return true; - } - try - { - if (null != sourceValue.ToJsonString()) - { - return true; - } - } - catch - { - // Not one of our objects - } - try - { - string text = sourceValue.ToString()?.Trim(); - return true == text?.StartsWith("{") && true == text?.EndsWith("}") && Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(text).Type == Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonType.Object; - } - catch - { - // Doesn't look like it can be treated as JSON - } - return false; - } - - /// - /// Determines if the parameter can be converted to the - /// parameter - /// - /// the to convert from - /// the to convert to - /// - /// true if the converter can convert the parameter to the parameter, otherwise false - /// - public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; - - /// - /// Converts the parameter to the parameter using and - /// - /// the to convert from - /// the to convert to - /// 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. - /// - 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 - /// - /// the value to convert into an instance of . - /// - /// an instance of , or null if there is no suitable conversion. - /// - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandsListResult ConvertFrom(dynamic sourceValue) - { - if (null == sourceValue) - { - return null; - } - global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandsListResult).IsAssignableFrom(type)) - { - return sourceValue; - } - try - { - return MachineRunCommandsListResult.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; - } - catch - { - // Unable to use JSON pattern - } - if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) - { - return MachineRunCommandsListResult.DeserializeFromPSObject(sourceValue); - } - if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) - { - return MachineRunCommandsListResult.DeserializeFromDictionary(sourceValue); - } - return null; - } - - /// NotImplemented -- this will return null - /// the to convert from - /// the to convert to - /// not used by this TypeConverter. - /// when set to true, will ignore the case when converting. - /// will always return null. - public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null; - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommandsListResult.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommandsListResult.cs deleted file mode 100644 index 21c8bd7fb9c1..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommandsListResult.cs +++ /dev/null @@ -1,80 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models -{ - using static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Extensions; - - /// Describes the Run Commands List Result. - public partial class MachineRunCommandsListResult : - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandsListResult, - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandsListResultInternal - { - - /// Backing field for property. - private string _nextLink; - - /// - /// The uri to fetch the next page of run commands. Call ListNext() with this to fetch the next page of run commands. - /// - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Owned)] - public string NextLink { get => this._nextLink; set => this._nextLink = value; } - - /// Backing field for property. - private System.Collections.Generic.List _value; - - /// The list of run commands - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Owned)] - public System.Collections.Generic.List Value { get => this._value; set => this._value = value; } - - /// Creates an new instance. - public MachineRunCommandsListResult() - { - - } - } - /// Describes the Run Commands List Result. - public partial interface IMachineRunCommandsListResult : - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IJsonSerializable - { - /// - /// The uri to fetch the next page of run commands. Call ListNext() with this to fetch the next page of run commands. - /// - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Read = true, - Create = true, - Update = true, - Description = @"The uri to fetch the next page of run commands. Call ListNext() with this to fetch the next page of run commands.", - SerializedName = @"nextLink", - PossibleTypes = new [] { typeof(string) })] - string NextLink { get; set; } - /// The list of run commands - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Read = true, - Create = true, - Update = true, - Description = @"The list of run commands", - SerializedName = @"value", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand) })] - System.Collections.Generic.List Value { get; set; } - - } - /// Describes the Run Commands List Result. - internal partial interface IMachineRunCommandsListResultInternal - - { - /// - /// The uri to fetch the next page of run commands. Call ListNext() with this to fetch the next page of run commands. - /// - string NextLink { get; set; } - /// The list of run commands - System.Collections.Generic.List Value { get; set; } - - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommandsListResult.json.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommandsListResult.json.cs deleted file mode 100644 index 4e841204a566..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommandsListResult.json.cs +++ /dev/null @@ -1,118 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models -{ - using static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Extensions; - - /// Describes the Run Commands List Result. - public partial class MachineRunCommandsListResult - { - - /// - /// AfterFromJson will be called after the json deserialization has finished, allowing customization of the object - /// before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The JsonNode that should be deserialized into this object. - - partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json); - - /// - /// AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The JSON container that the serialization result will be placed in. - - partial void AfterToJson(ref Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject container); - - /// - /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of - /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the - /// output parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The JsonNode that should be deserialized into this object. - /// Determines if the rest of the deserialization should be processed, or if the method should return - /// instantly. - - partial void BeforeFromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json, ref bool returnNow); - - /// - /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the - /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output - /// parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The JSON container that the serialization result will be placed in. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject container, ref bool returnNow); - - /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandsListResult. - /// - /// a to deserialize from. - /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandsListResult. - /// - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandsListResult FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode node) - { - return node is Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json ? new MachineRunCommandsListResult(json) : null; - } - - /// - /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject into a new instance of . - /// - /// A Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject instance to deserialize from. - internal MachineRunCommandsListResult(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json) - { - bool returnNow = false; - BeforeFromJson(json, ref returnNow); - if (returnNow) - { - return; - } - {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonArray, out var __v) ? new global::System.Func>(()=> global::System.Linq.Enumerable.ToList(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand) (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.MachineRunCommand.FromJson(__u) )) ))() : null : _value;} - {_nextLink = If( json?.PropertyT("nextLink"), out var __jsonNextLink) ? (string)__jsonNextLink : (string)_nextLink;} - AfterFromJson(json); - } - - /// - /// Serializes this instance of 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 . - /// - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode) - { - container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject(); - - bool returnNow = false; - BeforeToJson(ref container, ref returnNow); - if (returnNow) - { - return container; - } - if (null != this._value) - { - var __w = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.XNodeArray(); - foreach( var __x in this._value ) - { - AddIf(__x?.ToJson(null, serializationMode) ,__w.Add); - } - container.Add("value",__w); - } - AddIf( null != (((object)this._nextLink)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonString(this._nextLink.ToString()) : null, "nextLink" ,container.Add ); - AfterToJson(ref container); - return container; - } - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/NetworkConfiguration.PowerShell.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/NetworkConfiguration.PowerShell.cs deleted file mode 100644 index ab711a1cf271..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/NetworkConfiguration.PowerShell.cs +++ /dev/null @@ -1,346 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models -{ - using Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell; - - [System.ComponentModel.TypeConverter(typeof(NetworkConfigurationTypeConverter))] - public partial class NetworkConfiguration - { - - /// - /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the - /// object before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The global::System.Collections.IDictionary content that should be used. - - partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); - - /// - /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object - /// before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The global::System.Management.Automation.PSObject content that should be used. - - partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); - - /// - /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization - /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output - /// parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The global::System.Collections.IDictionary content that should be used. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); - - /// - /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization - /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output - /// parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The global::System.Management.Automation.PSObject content that should be used. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); - - /// - /// OverrideToString will be called if it is implemented. Implement this method in a partial class to enable this behavior - /// - /// /// instance serialized to a string, normally it is a Json - /// /// set returnNow to true if you provide a customized OverrideToString function - - partial void OverrideToString(ref string stringResult, ref bool returnNow); - - /// - /// Deserializes a into an instance of . - /// - /// The global::System.Collections.IDictionary content that should be used. - /// - /// an instance of . - /// - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfiguration DeserializeFromDictionary(global::System.Collections.IDictionary content) - { - return new NetworkConfiguration(content); - } - - /// - /// Deserializes a into an instance of . - /// - /// The global::System.Management.Automation.PSObject content that should be used. - /// - /// an instance of . - /// - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfiguration DeserializeFromPSObject(global::System.Management.Automation.PSObject content) - { - return new NetworkConfiguration(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. - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfiguration FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(jsonText)); - - /// - /// Deserializes a into a new instance of . - /// - /// The global::System.Collections.IDictionary content that should be used. - internal NetworkConfiguration(global::System.Collections.IDictionary content) - { - bool returnNow = false; - BeforeDeserializeDictionary(content, ref returnNow); - if (returnNow) - { - return; - } - // actually deserialize - if (content.Contains("Property")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.NetworkConfigurationPropertiesTypeConverter.ConvertFrom); - } - if (content.Contains("SystemDataCreatedBy")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemDataCreatedBy = (string) content.GetValueForProperty("SystemDataCreatedBy",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemDataCreatedBy, global::System.Convert.ToString); - } - if (content.Contains("SystemDataCreatedAt")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemDataCreatedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataCreatedAt",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemDataCreatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); - } - if (content.Contains("SystemDataCreatedByType")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemDataCreatedByType = (string) content.GetValueForProperty("SystemDataCreatedByType",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemDataCreatedByType, global::System.Convert.ToString); - } - if (content.Contains("SystemDataLastModifiedBy")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemDataLastModifiedBy = (string) content.GetValueForProperty("SystemDataLastModifiedBy",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemDataLastModifiedBy, global::System.Convert.ToString); - } - if (content.Contains("SystemDataLastModifiedByType")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemDataLastModifiedByType = (string) content.GetValueForProperty("SystemDataLastModifiedByType",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemDataLastModifiedByType, global::System.Convert.ToString); - } - if (content.Contains("SystemDataLastModifiedAt")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemDataLastModifiedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataLastModifiedAt",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemDataLastModifiedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); - } - if (content.Contains("SystemData")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.SystemDataTypeConverter.ConvertFrom); - } - if (content.Contains("Id")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).Id, global::System.Convert.ToString); - } - if (content.Contains("Name")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).Name, global::System.Convert.ToString); - } - if (content.Contains("Type")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).Type, global::System.Convert.ToString); - } - if (content.Contains("KeyProperty")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationInternal)this).KeyProperty = (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyProperties) content.GetValueForProperty("KeyProperty",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationInternal)this).KeyProperty, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.KeyPropertiesTypeConverter.ConvertFrom); - } - if (content.Contains("Location")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationInternal)this).Location, global::System.Convert.ToString); - } - if (content.Contains("TenantId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationInternal)this).TenantId = (string) content.GetValueForProperty("TenantId",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationInternal)this).TenantId, global::System.Convert.ToString); - } - if (content.Contains("ScopeId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationInternal)this).ScopeId = (string) content.GetValueForProperty("ScopeId",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationInternal)this).ScopeId, global::System.Convert.ToString); - } - if (content.Contains("ScopeResourceId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationInternal)this).ScopeResourceId = (string) content.GetValueForProperty("ScopeResourceId",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationInternal)this).ScopeResourceId, global::System.Convert.ToString); - } - if (content.Contains("KeyPropertyClientPublicKey")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationInternal)this).KeyPropertyClientPublicKey = (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyDetails) content.GetValueForProperty("KeyPropertyClientPublicKey",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationInternal)this).KeyPropertyClientPublicKey, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.KeyDetailsTypeConverter.ConvertFrom); - } - if (content.Contains("KeyPropertyCandidatePublicKey")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationInternal)this).KeyPropertyCandidatePublicKey = (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyDetails) content.GetValueForProperty("KeyPropertyCandidatePublicKey",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationInternal)this).KeyPropertyCandidatePublicKey, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.KeyDetailsTypeConverter.ConvertFrom); - } - if (content.Contains("ClientPublicKey")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationInternal)this).ClientPublicKey = (string) content.GetValueForProperty("ClientPublicKey",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationInternal)this).ClientPublicKey, global::System.Convert.ToString); - } - if (content.Contains("ClientPublicKeyNotAfter")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationInternal)this).ClientPublicKeyNotAfter = (global::System.DateTime?) content.GetValueForProperty("ClientPublicKeyNotAfter",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationInternal)this).ClientPublicKeyNotAfter, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); - } - if (content.Contains("ClientPublicKeyRenewAfter")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationInternal)this).ClientPublicKeyRenewAfter = (global::System.DateTime?) content.GetValueForProperty("ClientPublicKeyRenewAfter",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationInternal)this).ClientPublicKeyRenewAfter, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); - } - if (content.Contains("CandidatePublicKey")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationInternal)this).CandidatePublicKey = (string) content.GetValueForProperty("CandidatePublicKey",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationInternal)this).CandidatePublicKey, global::System.Convert.ToString); - } - if (content.Contains("CandidatePublicKeyNotAfter")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationInternal)this).CandidatePublicKeyNotAfter = (global::System.DateTime?) content.GetValueForProperty("CandidatePublicKeyNotAfter",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationInternal)this).CandidatePublicKeyNotAfter, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); - } - if (content.Contains("CandidatePublicKeyRenewAfter")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationInternal)this).CandidatePublicKeyRenewAfter = (global::System.DateTime?) content.GetValueForProperty("CandidatePublicKeyRenewAfter",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationInternal)this).CandidatePublicKeyRenewAfter, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); - } - AfterDeserializeDictionary(content); - } - - /// - /// Deserializes a into a new instance of . - /// - /// The global::System.Management.Automation.PSObject content that should be used. - internal NetworkConfiguration(global::System.Management.Automation.PSObject content) - { - bool returnNow = false; - BeforeDeserializePSObject(content, ref returnNow); - if (returnNow) - { - return; - } - // actually deserialize - if (content.Contains("Property")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.NetworkConfigurationPropertiesTypeConverter.ConvertFrom); - } - if (content.Contains("SystemDataCreatedBy")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemDataCreatedBy = (string) content.GetValueForProperty("SystemDataCreatedBy",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemDataCreatedBy, global::System.Convert.ToString); - } - if (content.Contains("SystemDataCreatedAt")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemDataCreatedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataCreatedAt",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemDataCreatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); - } - if (content.Contains("SystemDataCreatedByType")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemDataCreatedByType = (string) content.GetValueForProperty("SystemDataCreatedByType",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemDataCreatedByType, global::System.Convert.ToString); - } - if (content.Contains("SystemDataLastModifiedBy")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemDataLastModifiedBy = (string) content.GetValueForProperty("SystemDataLastModifiedBy",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemDataLastModifiedBy, global::System.Convert.ToString); - } - if (content.Contains("SystemDataLastModifiedByType")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemDataLastModifiedByType = (string) content.GetValueForProperty("SystemDataLastModifiedByType",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemDataLastModifiedByType, global::System.Convert.ToString); - } - if (content.Contains("SystemDataLastModifiedAt")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemDataLastModifiedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataLastModifiedAt",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemDataLastModifiedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); - } - if (content.Contains("SystemData")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.SystemDataTypeConverter.ConvertFrom); - } - if (content.Contains("Id")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).Id, global::System.Convert.ToString); - } - if (content.Contains("Name")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).Name, global::System.Convert.ToString); - } - if (content.Contains("Type")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).Type, global::System.Convert.ToString); - } - if (content.Contains("KeyProperty")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationInternal)this).KeyProperty = (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyProperties) content.GetValueForProperty("KeyProperty",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationInternal)this).KeyProperty, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.KeyPropertiesTypeConverter.ConvertFrom); - } - if (content.Contains("Location")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationInternal)this).Location, global::System.Convert.ToString); - } - if (content.Contains("TenantId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationInternal)this).TenantId = (string) content.GetValueForProperty("TenantId",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationInternal)this).TenantId, global::System.Convert.ToString); - } - if (content.Contains("ScopeId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationInternal)this).ScopeId = (string) content.GetValueForProperty("ScopeId",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationInternal)this).ScopeId, global::System.Convert.ToString); - } - if (content.Contains("ScopeResourceId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationInternal)this).ScopeResourceId = (string) content.GetValueForProperty("ScopeResourceId",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationInternal)this).ScopeResourceId, global::System.Convert.ToString); - } - if (content.Contains("KeyPropertyClientPublicKey")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationInternal)this).KeyPropertyClientPublicKey = (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyDetails) content.GetValueForProperty("KeyPropertyClientPublicKey",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationInternal)this).KeyPropertyClientPublicKey, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.KeyDetailsTypeConverter.ConvertFrom); - } - if (content.Contains("KeyPropertyCandidatePublicKey")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationInternal)this).KeyPropertyCandidatePublicKey = (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyDetails) content.GetValueForProperty("KeyPropertyCandidatePublicKey",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationInternal)this).KeyPropertyCandidatePublicKey, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.KeyDetailsTypeConverter.ConvertFrom); - } - if (content.Contains("ClientPublicKey")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationInternal)this).ClientPublicKey = (string) content.GetValueForProperty("ClientPublicKey",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationInternal)this).ClientPublicKey, global::System.Convert.ToString); - } - if (content.Contains("ClientPublicKeyNotAfter")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationInternal)this).ClientPublicKeyNotAfter = (global::System.DateTime?) content.GetValueForProperty("ClientPublicKeyNotAfter",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationInternal)this).ClientPublicKeyNotAfter, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); - } - if (content.Contains("ClientPublicKeyRenewAfter")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationInternal)this).ClientPublicKeyRenewAfter = (global::System.DateTime?) content.GetValueForProperty("ClientPublicKeyRenewAfter",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationInternal)this).ClientPublicKeyRenewAfter, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); - } - if (content.Contains("CandidatePublicKey")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationInternal)this).CandidatePublicKey = (string) content.GetValueForProperty("CandidatePublicKey",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationInternal)this).CandidatePublicKey, global::System.Convert.ToString); - } - if (content.Contains("CandidatePublicKeyNotAfter")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationInternal)this).CandidatePublicKeyNotAfter = (global::System.DateTime?) content.GetValueForProperty("CandidatePublicKeyNotAfter",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationInternal)this).CandidatePublicKeyNotAfter, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); - } - if (content.Contains("CandidatePublicKeyRenewAfter")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationInternal)this).CandidatePublicKeyRenewAfter = (global::System.DateTime?) content.GetValueForProperty("CandidatePublicKeyRenewAfter",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationInternal)this).CandidatePublicKeyRenewAfter, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); - } - AfterDeserializePSObject(content); - } - - /// Serializes this instance to a json string. - - /// a containing this model serialized to JSON text. - public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeAll)?.ToString(); - - public override string ToString() - { - var returnNow = false; - var result = global::System.String.Empty; - OverrideToString(ref result, ref returnNow); - if (returnNow) - { - return result; - } - return ToJsonString(); - } - } - [System.ComponentModel.TypeConverter(typeof(NetworkConfigurationTypeConverter))] - public partial interface INetworkConfiguration - - { - - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/NetworkConfiguration.TypeConverter.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/NetworkConfiguration.TypeConverter.cs deleted file mode 100644 index 251188728f47..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/NetworkConfiguration.TypeConverter.cs +++ /dev/null @@ -1,147 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models -{ - using Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell; - - /// - /// A PowerShell PSTypeConverter to support converting to an instance of - /// - public partial class NetworkConfigurationTypeConverter : global::System.Management.Automation.PSTypeConverter - { - - /// - /// Determines if the converter can convert the parameter to the parameter. - /// - /// the to convert from - /// the to convert to - /// - /// true if the converter can convert the parameter to the parameter, otherwise false. - /// - public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); - - /// - /// Determines if the converter can convert the parameter to the - /// type. - /// - /// the instance to check if it can be converted to the type. - /// - /// true if the instance could be converted to a type, otherwise false - /// - public static bool CanConvertFrom(dynamic sourceValue) - { - if (null == sourceValue) - { - return true; - } - global::System.Type type = sourceValue.GetType(); - if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) - { - // we say yest to PSObjects - return true; - } - if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) - { - // we say yest to Hashtables/dictionaries - return true; - } - try - { - if (null != sourceValue.ToJsonString()) - { - return true; - } - } - catch - { - // Not one of our objects - } - try - { - string text = sourceValue.ToString()?.Trim(); - return true == text?.StartsWith("{") && true == text?.EndsWith("}") && Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(text).Type == Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonType.Object; - } - catch - { - // Doesn't look like it can be treated as JSON - } - return false; - } - - /// - /// Determines if the parameter can be converted to the - /// parameter - /// - /// the to convert from - /// the to convert to - /// - /// true if the converter can convert the parameter to the parameter, otherwise false - /// - public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; - - /// - /// Converts the parameter to the parameter using and - /// - /// the to convert from - /// the to convert to - /// 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. - /// - 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 - /// - /// the value to convert into an instance of . - /// - /// an instance of , or null if there is no suitable conversion. - /// - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfiguration ConvertFrom(dynamic sourceValue) - { - if (null == sourceValue) - { - return null; - } - global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfiguration).IsAssignableFrom(type)) - { - return sourceValue; - } - try - { - return NetworkConfiguration.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; - } - catch - { - // Unable to use JSON pattern - } - if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) - { - return NetworkConfiguration.DeserializeFromPSObject(sourceValue); - } - if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) - { - return NetworkConfiguration.DeserializeFromDictionary(sourceValue); - } - return null; - } - - /// NotImplemented -- this will return null - /// the to convert from - /// the to convert to - /// not used by this TypeConverter. - /// when set to true, will ignore the case when converting. - /// will always return null. - public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null; - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/NetworkConfiguration.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/NetworkConfiguration.cs deleted file mode 100644 index 54e5b96fdbec..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/NetworkConfiguration.cs +++ /dev/null @@ -1,330 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models -{ - using static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Extensions; - - public partial class NetworkConfiguration : - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfiguration, - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationInternal, - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IValidates - { - /// - /// Backing field for Inherited model - /// - private Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IProxyResourceAutoGenerated __proxyResourceAutoGenerated = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ProxyResourceAutoGenerated(); - - /// Public key - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)] - public string CandidatePublicKey { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)Property).CandidatePublicKey; } - - /// Key expiration date - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)] - public global::System.DateTime? CandidatePublicKeyNotAfter { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)Property).CandidatePublicKeyNotAfter; } - - /// Recommended key renewal date - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)] - public global::System.DateTime? CandidatePublicKeyRenewAfter { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)Property).CandidatePublicKeyRenewAfter; } - - /// Public key - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)] - public string ClientPublicKey { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)Property).ClientPublicKey; } - - /// Key expiration date - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)] - public global::System.DateTime? ClientPublicKeyNotAfter { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)Property).ClientPublicKeyNotAfter; } - - /// Recommended key renewal date - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)] - public global::System.DateTime? ClientPublicKeyRenewAfter { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)Property).ClientPublicKeyRenewAfter; } - - /// - /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - /// - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)] - public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).Id; } - - /// Resource location - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)] - public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)Property).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)Property).Location = value ?? null; } - - /// Internal Acessors for CandidatePublicKey - string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationInternal.CandidatePublicKey { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)Property).CandidatePublicKey; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)Property).CandidatePublicKey = value; } - - /// Internal Acessors for CandidatePublicKeyNotAfter - global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationInternal.CandidatePublicKeyNotAfter { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)Property).CandidatePublicKeyNotAfter; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)Property).CandidatePublicKeyNotAfter = value; } - - /// Internal Acessors for CandidatePublicKeyRenewAfter - global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationInternal.CandidatePublicKeyRenewAfter { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)Property).CandidatePublicKeyRenewAfter; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)Property).CandidatePublicKeyRenewAfter = value; } - - /// Internal Acessors for ClientPublicKey - string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationInternal.ClientPublicKey { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)Property).ClientPublicKey; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)Property).ClientPublicKey = value; } - - /// Internal Acessors for ClientPublicKeyNotAfter - global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationInternal.ClientPublicKeyNotAfter { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)Property).ClientPublicKeyNotAfter; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)Property).ClientPublicKeyNotAfter = value; } - - /// Internal Acessors for ClientPublicKeyRenewAfter - global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationInternal.ClientPublicKeyRenewAfter { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)Property).ClientPublicKeyRenewAfter; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)Property).ClientPublicKeyRenewAfter = value; } - - /// Internal Acessors for KeyProperty - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyProperties Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationInternal.KeyProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)Property).KeyProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)Property).KeyProperty = value; } - - /// Internal Acessors for KeyPropertyCandidatePublicKey - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyDetails Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationInternal.KeyPropertyCandidatePublicKey { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)Property).KeyPropertyCandidatePublicKey; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)Property).KeyPropertyCandidatePublicKey = value; } - - /// Internal Acessors for KeyPropertyClientPublicKey - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyDetails Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationInternal.KeyPropertyClientPublicKey { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)Property).KeyPropertyClientPublicKey; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)Property).KeyPropertyClientPublicKey = value; } - - /// Internal Acessors for Property - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationProperties Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.NetworkConfigurationProperties()); set { {_property = value;} } } - - /// Internal Acessors for TenantId - string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationInternal.TenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)Property).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)Property).TenantId = value; } - - /// Internal Acessors for Id - string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).Id = value; } - - /// Internal Acessors for Name - string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).Name = value; } - - /// Internal Acessors for SystemData - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemData = value; } - - /// Internal Acessors for Type - string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).Type = value; } - - /// The name of the resource - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)] - public string Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).Name; } - - /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationProperties _property; - - /// Network configuration properties - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationProperties Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.NetworkConfigurationProperties()); set => this._property = value; } - - /// Gets the resource group name - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Owned)] - public string ResourceGroupName { get => (new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(this.Id).Success ? new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(this.Id).Groups["resourceGroupName"].Value : null); } - - /// Associated Network Configuration Scope Id (GUID) - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)] - public string ScopeId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)Property).NetworkConfigurationScopeId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)Property).NetworkConfigurationScopeId = value ?? null; } - - /// Associated Network Configuration Scope Resource Id - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)] - public string ScopeResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)Property).NetworkConfigurationScopeResourceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)Property).NetworkConfigurationScopeResourceId = value ?? null; } - - /// - /// Azure Resource Manager metadata containing createdBy and modifiedBy information. - /// - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)] - internal Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemData; } - - /// The timestamp of resource creation (UTC). - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)] - public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedAt = value ?? default(global::System.DateTime); } - - /// The identity that created the resource. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)] - public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedBy = value ?? null; } - - /// The type of identity that created the resource. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)] - public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedByType = value ?? null; } - - /// The timestamp of resource last modification (UTC) - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)] - public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); } - - /// The identity that last modified the resource. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)] - public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedBy = value ?? null; } - - /// The type of identity that last modified the resource. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)] - public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedByType = value ?? null; } - - /// Azure resource tenant Id - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)] - public string TenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)Property).TenantId; } - - /// - /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - /// - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)] - public string Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).Type; } - - /// Creates an new instance. - public NetworkConfiguration() - { - - } - - /// Validates that this object meets the validation criteria. - /// an instance that will receive validation - /// events. - /// - /// A that will be complete when validation is completed. - /// - public async global::System.Threading.Tasks.Task Validate(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) - { - await eventListener.AssertNotNull(nameof(__proxyResourceAutoGenerated), __proxyResourceAutoGenerated); - await eventListener.AssertObjectIsValid(nameof(__proxyResourceAutoGenerated), __proxyResourceAutoGenerated); - } - } - public partial interface INetworkConfiguration : - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IJsonSerializable, - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IProxyResourceAutoGenerated - { - /// Public key - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = true, - Read = true, - Create = false, - Update = false, - Description = @"Public key", - SerializedName = @"publicKey", - PossibleTypes = new [] { typeof(string) })] - string CandidatePublicKey { get; } - /// Key expiration date - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = true, - Read = true, - Create = false, - Update = false, - Description = @"Key expiration date", - SerializedName = @"notAfter", - PossibleTypes = new [] { typeof(global::System.DateTime) })] - global::System.DateTime? CandidatePublicKeyNotAfter { get; } - /// Recommended key renewal date - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = true, - Read = true, - Create = false, - Update = false, - Description = @"Recommended key renewal date", - SerializedName = @"renewAfter", - PossibleTypes = new [] { typeof(global::System.DateTime) })] - global::System.DateTime? CandidatePublicKeyRenewAfter { get; } - /// Public key - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = true, - Read = true, - Create = false, - Update = false, - Description = @"Public key", - SerializedName = @"publicKey", - PossibleTypes = new [] { typeof(string) })] - string ClientPublicKey { get; } - /// Key expiration date - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = true, - Read = true, - Create = false, - Update = false, - Description = @"Key expiration date", - SerializedName = @"notAfter", - PossibleTypes = new [] { typeof(global::System.DateTime) })] - global::System.DateTime? ClientPublicKeyNotAfter { get; } - /// Recommended key renewal date - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = true, - Read = true, - Create = false, - Update = false, - Description = @"Recommended key renewal date", - SerializedName = @"renewAfter", - PossibleTypes = new [] { typeof(global::System.DateTime) })] - global::System.DateTime? ClientPublicKeyRenewAfter { get; } - /// Resource location - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Read = true, - Create = true, - Update = false, - Description = @"Resource location", - SerializedName = @"location", - PossibleTypes = new [] { typeof(string) })] - string Location { get; set; } - /// Associated Network Configuration Scope Id (GUID) - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Read = true, - Create = true, - Update = true, - Description = @"Associated Network Configuration Scope Id (GUID)", - SerializedName = @"networkConfigurationScopeId", - PossibleTypes = new [] { typeof(string) })] - string ScopeId { get; set; } - /// Associated Network Configuration Scope Resource Id - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Read = true, - Create = true, - Update = true, - Description = @"Associated Network Configuration Scope Resource Id", - SerializedName = @"networkConfigurationScopeResourceId", - PossibleTypes = new [] { typeof(string) })] - string ScopeResourceId { get; set; } - /// Azure resource tenant Id - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = true, - Read = true, - Create = false, - Update = false, - Description = @"Azure resource tenant Id", - SerializedName = @"tenantId", - PossibleTypes = new [] { typeof(string) })] - string TenantId { get; } - - } - internal partial interface INetworkConfigurationInternal : - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IProxyResourceAutoGeneratedInternal - { - /// Public key - string CandidatePublicKey { get; set; } - /// Key expiration date - global::System.DateTime? CandidatePublicKeyNotAfter { get; set; } - /// Recommended key renewal date - global::System.DateTime? CandidatePublicKeyRenewAfter { get; set; } - /// Public key - string ClientPublicKey { get; set; } - /// Key expiration date - global::System.DateTime? ClientPublicKeyNotAfter { get; set; } - /// Recommended key renewal date - global::System.DateTime? ClientPublicKeyRenewAfter { get; set; } - /// Public key information for client authentication - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyProperties KeyProperty { get; set; } - /// Candidate public key details - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyDetails KeyPropertyCandidatePublicKey { get; set; } - /// Current public key details - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyDetails KeyPropertyClientPublicKey { get; set; } - /// Resource location - string Location { get; set; } - /// Network configuration properties - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationProperties Property { get; set; } - /// Associated Network Configuration Scope Id (GUID) - string ScopeId { get; set; } - /// Associated Network Configuration Scope Resource Id - string ScopeResourceId { get; set; } - /// Azure resource tenant Id - string TenantId { get; set; } - - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/NetworkConfiguration.json.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/NetworkConfiguration.json.cs deleted file mode 100644 index ee27ee8a0630..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/NetworkConfiguration.json.cs +++ /dev/null @@ -1,109 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models -{ - using static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Extensions; - - public partial class NetworkConfiguration - { - - /// - /// AfterFromJson will be called after the json deserialization has finished, allowing customization of the object - /// before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The JsonNode that should be deserialized into this object. - - partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json); - - /// - /// AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The JSON container that the serialization result will be placed in. - - partial void AfterToJson(ref Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject container); - - /// - /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of - /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the - /// output parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The JsonNode that should be deserialized into this object. - /// Determines if the rest of the deserialization should be processed, or if the method should return - /// instantly. - - partial void BeforeFromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json, ref bool returnNow); - - /// - /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the - /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output - /// parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The JSON container that the serialization result will be placed in. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject container, ref bool returnNow); - - /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfiguration. - /// - /// a to deserialize from. - /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfiguration. - /// - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfiguration FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode node) - { - return node is Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json ? new NetworkConfiguration(json) : null; - } - - /// - /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject into a new instance of . - /// - /// A Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject instance to deserialize from. - internal NetworkConfiguration(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json) - { - bool returnNow = false; - BeforeFromJson(json, ref returnNow); - if (returnNow) - { - return; - } - __proxyResourceAutoGenerated = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ProxyResourceAutoGenerated(json); - {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.NetworkConfigurationProperties.FromJson(__jsonProperties) : _property;} - AfterFromJson(json); - } - - /// - /// Serializes this instance of 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 . - /// - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode) - { - container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject(); - - bool returnNow = false; - BeforeToJson(ref container, ref returnNow); - if (returnNow) - { - return container; - } - __proxyResourceAutoGenerated?.ToJson(container, serializationMode); - AddIf( null != this._property ? (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode) this._property.ToJson(null,serializationMode) : null, "properties" ,container.Add ); - AfterToJson(ref container); - return container; - } - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/NetworkConfigurationProperties.PowerShell.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/NetworkConfigurationProperties.PowerShell.cs deleted file mode 100644 index 61e667f5b9c8..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/NetworkConfigurationProperties.PowerShell.cs +++ /dev/null @@ -1,262 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models -{ - using Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell; - - /// Network configuration properties - [System.ComponentModel.TypeConverter(typeof(NetworkConfigurationPropertiesTypeConverter))] - public partial class NetworkConfigurationProperties - { - - /// - /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the - /// object before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The global::System.Collections.IDictionary content that should be used. - - partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); - - /// - /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object - /// before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The global::System.Management.Automation.PSObject content that should be used. - - partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); - - /// - /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization - /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output - /// parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The global::System.Collections.IDictionary content that should be used. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); - - /// - /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization - /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output - /// parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The global::System.Management.Automation.PSObject content that should be used. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); - - /// - /// OverrideToString will be called if it is implemented. Implement this method in a partial class to enable this behavior - /// - /// /// instance serialized to a string, normally it is a Json - /// /// set returnNow to true if you provide a customized OverrideToString function - - partial void OverrideToString(ref string stringResult, ref bool returnNow); - - /// - /// Deserializes a into an instance of . - /// - /// The global::System.Collections.IDictionary content that should be used. - /// - /// an instance of . - /// - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) - { - return new NetworkConfigurationProperties(content); - } - - /// - /// Deserializes a into an instance of . - /// - /// The global::System.Management.Automation.PSObject content that should be used. - /// - /// an instance of . - /// - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) - { - return new NetworkConfigurationProperties(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. - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(jsonText)); - - /// - /// Deserializes a into a new instance of . - /// - /// The global::System.Collections.IDictionary content that should be used. - internal NetworkConfigurationProperties(global::System.Collections.IDictionary content) - { - bool returnNow = false; - BeforeDeserializeDictionary(content, ref returnNow); - if (returnNow) - { - return; - } - // actually deserialize - if (content.Contains("KeyProperty")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)this).KeyProperty = (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyProperties) content.GetValueForProperty("KeyProperty",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)this).KeyProperty, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.KeyPropertiesTypeConverter.ConvertFrom); - } - if (content.Contains("Location")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)this).Location, global::System.Convert.ToString); - } - if (content.Contains("TenantId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)this).TenantId = (string) content.GetValueForProperty("TenantId",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)this).TenantId, global::System.Convert.ToString); - } - if (content.Contains("NetworkConfigurationScopeId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)this).NetworkConfigurationScopeId = (string) content.GetValueForProperty("NetworkConfigurationScopeId",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)this).NetworkConfigurationScopeId, global::System.Convert.ToString); - } - if (content.Contains("NetworkConfigurationScopeResourceId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)this).NetworkConfigurationScopeResourceId = (string) content.GetValueForProperty("NetworkConfigurationScopeResourceId",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)this).NetworkConfigurationScopeResourceId, global::System.Convert.ToString); - } - if (content.Contains("KeyPropertyClientPublicKey")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)this).KeyPropertyClientPublicKey = (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyDetails) content.GetValueForProperty("KeyPropertyClientPublicKey",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)this).KeyPropertyClientPublicKey, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.KeyDetailsTypeConverter.ConvertFrom); - } - if (content.Contains("KeyPropertyCandidatePublicKey")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)this).KeyPropertyCandidatePublicKey = (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyDetails) content.GetValueForProperty("KeyPropertyCandidatePublicKey",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)this).KeyPropertyCandidatePublicKey, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.KeyDetailsTypeConverter.ConvertFrom); - } - if (content.Contains("ClientPublicKey")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)this).ClientPublicKey = (string) content.GetValueForProperty("ClientPublicKey",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)this).ClientPublicKey, global::System.Convert.ToString); - } - if (content.Contains("ClientPublicKeyNotAfter")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)this).ClientPublicKeyNotAfter = (global::System.DateTime?) content.GetValueForProperty("ClientPublicKeyNotAfter",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)this).ClientPublicKeyNotAfter, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); - } - if (content.Contains("ClientPublicKeyRenewAfter")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)this).ClientPublicKeyRenewAfter = (global::System.DateTime?) content.GetValueForProperty("ClientPublicKeyRenewAfter",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)this).ClientPublicKeyRenewAfter, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); - } - if (content.Contains("CandidatePublicKey")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)this).CandidatePublicKey = (string) content.GetValueForProperty("CandidatePublicKey",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)this).CandidatePublicKey, global::System.Convert.ToString); - } - if (content.Contains("CandidatePublicKeyNotAfter")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)this).CandidatePublicKeyNotAfter = (global::System.DateTime?) content.GetValueForProperty("CandidatePublicKeyNotAfter",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)this).CandidatePublicKeyNotAfter, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); - } - if (content.Contains("CandidatePublicKeyRenewAfter")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)this).CandidatePublicKeyRenewAfter = (global::System.DateTime?) content.GetValueForProperty("CandidatePublicKeyRenewAfter",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)this).CandidatePublicKeyRenewAfter, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); - } - AfterDeserializeDictionary(content); - } - - /// - /// Deserializes a into a new instance of . - /// - /// The global::System.Management.Automation.PSObject content that should be used. - internal NetworkConfigurationProperties(global::System.Management.Automation.PSObject content) - { - bool returnNow = false; - BeforeDeserializePSObject(content, ref returnNow); - if (returnNow) - { - return; - } - // actually deserialize - if (content.Contains("KeyProperty")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)this).KeyProperty = (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyProperties) content.GetValueForProperty("KeyProperty",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)this).KeyProperty, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.KeyPropertiesTypeConverter.ConvertFrom); - } - if (content.Contains("Location")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)this).Location, global::System.Convert.ToString); - } - if (content.Contains("TenantId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)this).TenantId = (string) content.GetValueForProperty("TenantId",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)this).TenantId, global::System.Convert.ToString); - } - if (content.Contains("NetworkConfigurationScopeId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)this).NetworkConfigurationScopeId = (string) content.GetValueForProperty("NetworkConfigurationScopeId",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)this).NetworkConfigurationScopeId, global::System.Convert.ToString); - } - if (content.Contains("NetworkConfigurationScopeResourceId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)this).NetworkConfigurationScopeResourceId = (string) content.GetValueForProperty("NetworkConfigurationScopeResourceId",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)this).NetworkConfigurationScopeResourceId, global::System.Convert.ToString); - } - if (content.Contains("KeyPropertyClientPublicKey")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)this).KeyPropertyClientPublicKey = (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyDetails) content.GetValueForProperty("KeyPropertyClientPublicKey",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)this).KeyPropertyClientPublicKey, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.KeyDetailsTypeConverter.ConvertFrom); - } - if (content.Contains("KeyPropertyCandidatePublicKey")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)this).KeyPropertyCandidatePublicKey = (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyDetails) content.GetValueForProperty("KeyPropertyCandidatePublicKey",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)this).KeyPropertyCandidatePublicKey, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.KeyDetailsTypeConverter.ConvertFrom); - } - if (content.Contains("ClientPublicKey")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)this).ClientPublicKey = (string) content.GetValueForProperty("ClientPublicKey",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)this).ClientPublicKey, global::System.Convert.ToString); - } - if (content.Contains("ClientPublicKeyNotAfter")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)this).ClientPublicKeyNotAfter = (global::System.DateTime?) content.GetValueForProperty("ClientPublicKeyNotAfter",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)this).ClientPublicKeyNotAfter, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); - } - if (content.Contains("ClientPublicKeyRenewAfter")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)this).ClientPublicKeyRenewAfter = (global::System.DateTime?) content.GetValueForProperty("ClientPublicKeyRenewAfter",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)this).ClientPublicKeyRenewAfter, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); - } - if (content.Contains("CandidatePublicKey")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)this).CandidatePublicKey = (string) content.GetValueForProperty("CandidatePublicKey",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)this).CandidatePublicKey, global::System.Convert.ToString); - } - if (content.Contains("CandidatePublicKeyNotAfter")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)this).CandidatePublicKeyNotAfter = (global::System.DateTime?) content.GetValueForProperty("CandidatePublicKeyNotAfter",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)this).CandidatePublicKeyNotAfter, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); - } - if (content.Contains("CandidatePublicKeyRenewAfter")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)this).CandidatePublicKeyRenewAfter = (global::System.DateTime?) content.GetValueForProperty("CandidatePublicKeyRenewAfter",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)this).CandidatePublicKeyRenewAfter, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); - } - AfterDeserializePSObject(content); - } - - /// Serializes this instance to a json string. - - /// a containing this model serialized to JSON text. - public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeAll)?.ToString(); - - public override string ToString() - { - var returnNow = false; - var result = global::System.String.Empty; - OverrideToString(ref result, ref returnNow); - if (returnNow) - { - return result; - } - return ToJsonString(); - } - } - /// Network configuration properties - [System.ComponentModel.TypeConverter(typeof(NetworkConfigurationPropertiesTypeConverter))] - public partial interface INetworkConfigurationProperties - - { - - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/NetworkConfigurationProperties.TypeConverter.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/NetworkConfigurationProperties.TypeConverter.cs deleted file mode 100644 index 2017a742cadf..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/NetworkConfigurationProperties.TypeConverter.cs +++ /dev/null @@ -1,148 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models -{ - using Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell; - - /// - /// A PowerShell PSTypeConverter to support converting to an instance of - /// - public partial class NetworkConfigurationPropertiesTypeConverter : global::System.Management.Automation.PSTypeConverter - { - - /// - /// Determines if the converter can convert the parameter to the parameter. - /// - /// the to convert from - /// the to convert to - /// - /// true if the converter can convert the parameter to the parameter, otherwise false. - /// - public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); - - /// - /// Determines if the converter can convert the parameter to the - /// type. - /// - /// the instance to check if it can be converted to the type. - /// - /// true if the instance could be converted to a type, otherwise false - /// - public static bool CanConvertFrom(dynamic sourceValue) - { - if (null == sourceValue) - { - return true; - } - global::System.Type type = sourceValue.GetType(); - if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) - { - // we say yest to PSObjects - return true; - } - if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) - { - // we say yest to Hashtables/dictionaries - return true; - } - try - { - if (null != sourceValue.ToJsonString()) - { - return true; - } - } - catch - { - // Not one of our objects - } - try - { - string text = sourceValue.ToString()?.Trim(); - return true == text?.StartsWith("{") && true == text?.EndsWith("}") && Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(text).Type == Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonType.Object; - } - catch - { - // Doesn't look like it can be treated as JSON - } - return false; - } - - /// - /// Determines if the parameter can be converted to the - /// parameter - /// - /// the to convert from - /// the to convert to - /// - /// true if the converter can convert the parameter to the parameter, otherwise false - /// - public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; - - /// - /// Converts the parameter to the parameter using and - /// - /// the to convert from - /// the to convert to - /// 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. - /// - 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 - /// - /// the value to convert into an instance of . - /// - /// an instance of , or null if there is no suitable conversion. - /// - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationProperties ConvertFrom(dynamic sourceValue) - { - if (null == sourceValue) - { - return null; - } - global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationProperties).IsAssignableFrom(type)) - { - return sourceValue; - } - try - { - return NetworkConfigurationProperties.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; - } - catch - { - // Unable to use JSON pattern - } - if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) - { - return NetworkConfigurationProperties.DeserializeFromPSObject(sourceValue); - } - if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) - { - return NetworkConfigurationProperties.DeserializeFromDictionary(sourceValue); - } - return null; - } - - /// NotImplemented -- this will return null - /// the to convert from - /// the to convert to - /// not used by this TypeConverter. - /// when set to true, will ignore the case when converting. - /// will always return null. - public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null; - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/NetworkConfigurationProperties.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/NetworkConfigurationProperties.cs deleted file mode 100644 index 21fb75446233..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/NetworkConfigurationProperties.cs +++ /dev/null @@ -1,259 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models -{ - using static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Extensions; - - /// Network configuration properties - public partial class NetworkConfigurationProperties : - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationProperties, - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal - { - - /// Public key - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)] - public string CandidatePublicKey { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyPropertiesInternal)KeyProperty).CandidatePublicKeyPublicKey; } - - /// Key expiration date - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)] - public global::System.DateTime? CandidatePublicKeyNotAfter { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyPropertiesInternal)KeyProperty).CandidatePublicKeyNotAfter; } - - /// Recommended key renewal date - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)] - public global::System.DateTime? CandidatePublicKeyRenewAfter { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyPropertiesInternal)KeyProperty).CandidatePublicKeyRenewAfter; } - - /// Public key - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)] - public string ClientPublicKey { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyPropertiesInternal)KeyProperty).ClientPublicKeyPublicKey; } - - /// Key expiration date - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)] - public global::System.DateTime? ClientPublicKeyNotAfter { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyPropertiesInternal)KeyProperty).ClientPublicKeyNotAfter; } - - /// Recommended key renewal date - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)] - public global::System.DateTime? ClientPublicKeyRenewAfter { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyPropertiesInternal)KeyProperty).ClientPublicKeyRenewAfter; } - - /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyProperties _keyProperty; - - /// Public key information for client authentication - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyProperties KeyProperty { get => (this._keyProperty = this._keyProperty ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.KeyProperties()); } - - /// Backing field for property. - private string _location; - - /// Resource location - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Owned)] - public string Location { get => this._location; set => this._location = value; } - - /// Internal Acessors for CandidatePublicKey - string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal.CandidatePublicKey { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyPropertiesInternal)KeyProperty).CandidatePublicKeyPublicKey; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyPropertiesInternal)KeyProperty).CandidatePublicKeyPublicKey = value; } - - /// Internal Acessors for CandidatePublicKeyNotAfter - global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal.CandidatePublicKeyNotAfter { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyPropertiesInternal)KeyProperty).CandidatePublicKeyNotAfter; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyPropertiesInternal)KeyProperty).CandidatePublicKeyNotAfter = value; } - - /// Internal Acessors for CandidatePublicKeyRenewAfter - global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal.CandidatePublicKeyRenewAfter { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyPropertiesInternal)KeyProperty).CandidatePublicKeyRenewAfter; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyPropertiesInternal)KeyProperty).CandidatePublicKeyRenewAfter = value; } - - /// Internal Acessors for ClientPublicKey - string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal.ClientPublicKey { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyPropertiesInternal)KeyProperty).ClientPublicKeyPublicKey; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyPropertiesInternal)KeyProperty).ClientPublicKeyPublicKey = value; } - - /// Internal Acessors for ClientPublicKeyNotAfter - global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal.ClientPublicKeyNotAfter { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyPropertiesInternal)KeyProperty).ClientPublicKeyNotAfter; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyPropertiesInternal)KeyProperty).ClientPublicKeyNotAfter = value; } - - /// Internal Acessors for ClientPublicKeyRenewAfter - global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal.ClientPublicKeyRenewAfter { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyPropertiesInternal)KeyProperty).ClientPublicKeyRenewAfter; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyPropertiesInternal)KeyProperty).ClientPublicKeyRenewAfter = value; } - - /// Internal Acessors for KeyProperty - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyProperties Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal.KeyProperty { get => (this._keyProperty = this._keyProperty ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.KeyProperties()); set { {_keyProperty = value;} } } - - /// Internal Acessors for KeyPropertyCandidatePublicKey - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyDetails Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal.KeyPropertyCandidatePublicKey { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyPropertiesInternal)KeyProperty).CandidatePublicKey; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyPropertiesInternal)KeyProperty).CandidatePublicKey = value; } - - /// Internal Acessors for KeyPropertyClientPublicKey - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyDetails Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal.KeyPropertyClientPublicKey { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyPropertiesInternal)KeyProperty).ClientPublicKey; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyPropertiesInternal)KeyProperty).ClientPublicKey = value; } - - /// Internal Acessors for TenantId - string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal.TenantId { get => this._tenantId; set { {_tenantId = value;} } } - - /// Backing field for property. - private string _networkConfigurationScopeId; - - /// Associated Network Configuration Scope Id (GUID) - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Owned)] - public string NetworkConfigurationScopeId { get => this._networkConfigurationScopeId; set => this._networkConfigurationScopeId = value; } - - /// Backing field for property. - private string _networkConfigurationScopeResourceId; - - /// Associated Network Configuration Scope Resource Id - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Owned)] - public string NetworkConfigurationScopeResourceId { get => this._networkConfigurationScopeResourceId; set => this._networkConfigurationScopeResourceId = value; } - - /// Backing field for property. - private string _tenantId; - - /// Azure resource tenant Id - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Owned)] - public string TenantId { get => this._tenantId; } - - /// Creates an new instance. - public NetworkConfigurationProperties() - { - - } - } - /// Network configuration properties - public partial interface INetworkConfigurationProperties : - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IJsonSerializable - { - /// Public key - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = true, - Read = true, - Create = false, - Update = false, - Description = @"Public key", - SerializedName = @"publicKey", - PossibleTypes = new [] { typeof(string) })] - string CandidatePublicKey { get; } - /// Key expiration date - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = true, - Read = true, - Create = false, - Update = false, - Description = @"Key expiration date", - SerializedName = @"notAfter", - PossibleTypes = new [] { typeof(global::System.DateTime) })] - global::System.DateTime? CandidatePublicKeyNotAfter { get; } - /// Recommended key renewal date - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = true, - Read = true, - Create = false, - Update = false, - Description = @"Recommended key renewal date", - SerializedName = @"renewAfter", - PossibleTypes = new [] { typeof(global::System.DateTime) })] - global::System.DateTime? CandidatePublicKeyRenewAfter { get; } - /// Public key - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = true, - Read = true, - Create = false, - Update = false, - Description = @"Public key", - SerializedName = @"publicKey", - PossibleTypes = new [] { typeof(string) })] - string ClientPublicKey { get; } - /// Key expiration date - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = true, - Read = true, - Create = false, - Update = false, - Description = @"Key expiration date", - SerializedName = @"notAfter", - PossibleTypes = new [] { typeof(global::System.DateTime) })] - global::System.DateTime? ClientPublicKeyNotAfter { get; } - /// Recommended key renewal date - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = true, - Read = true, - Create = false, - Update = false, - Description = @"Recommended key renewal date", - SerializedName = @"renewAfter", - PossibleTypes = new [] { typeof(global::System.DateTime) })] - global::System.DateTime? ClientPublicKeyRenewAfter { get; } - /// Resource location - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Read = true, - Create = true, - Update = false, - Description = @"Resource location", - SerializedName = @"location", - PossibleTypes = new [] { typeof(string) })] - string Location { get; set; } - /// Associated Network Configuration Scope Id (GUID) - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Read = true, - Create = true, - Update = true, - Description = @"Associated Network Configuration Scope Id (GUID)", - SerializedName = @"networkConfigurationScopeId", - PossibleTypes = new [] { typeof(string) })] - string NetworkConfigurationScopeId { get; set; } - /// Associated Network Configuration Scope Resource Id - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = true, - ReadOnly = false, - Read = true, - Create = true, - Update = true, - Description = @"Associated Network Configuration Scope Resource Id", - SerializedName = @"networkConfigurationScopeResourceId", - PossibleTypes = new [] { typeof(string) })] - string NetworkConfigurationScopeResourceId { get; set; } - /// Azure resource tenant Id - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = true, - Read = true, - Create = false, - Update = false, - Description = @"Azure resource tenant Id", - SerializedName = @"tenantId", - PossibleTypes = new [] { typeof(string) })] - string TenantId { get; } - - } - /// Network configuration properties - internal partial interface INetworkConfigurationPropertiesInternal - - { - /// Public key - string CandidatePublicKey { get; set; } - /// Key expiration date - global::System.DateTime? CandidatePublicKeyNotAfter { get; set; } - /// Recommended key renewal date - global::System.DateTime? CandidatePublicKeyRenewAfter { get; set; } - /// Public key - string ClientPublicKey { get; set; } - /// Key expiration date - global::System.DateTime? ClientPublicKeyNotAfter { get; set; } - /// Recommended key renewal date - global::System.DateTime? ClientPublicKeyRenewAfter { get; set; } - /// Public key information for client authentication - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyProperties KeyProperty { get; set; } - /// Candidate public key details - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyDetails KeyPropertyCandidatePublicKey { get; set; } - /// Current public key details - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyDetails KeyPropertyClientPublicKey { get; set; } - /// Resource location - string Location { get; set; } - /// Associated Network Configuration Scope Id (GUID) - string NetworkConfigurationScopeId { get; set; } - /// Associated Network Configuration Scope Resource Id - string NetworkConfigurationScopeResourceId { get; set; } - /// Azure resource tenant Id - string TenantId { get; set; } - - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/NetworkConfigurationProperties.json.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/NetworkConfigurationProperties.json.cs deleted file mode 100644 index 2cae18db6dda..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/NetworkConfigurationProperties.json.cs +++ /dev/null @@ -1,125 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models -{ - using static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Extensions; - - /// Network configuration properties - public partial class NetworkConfigurationProperties - { - - /// - /// AfterFromJson will be called after the json deserialization has finished, allowing customization of the object - /// before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The JsonNode that should be deserialized into this object. - - partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json); - - /// - /// AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The JSON container that the serialization result will be placed in. - - partial void AfterToJson(ref Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject container); - - /// - /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of - /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the - /// output parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The JsonNode that should be deserialized into this object. - /// Determines if the rest of the deserialization should be processed, or if the method should return - /// instantly. - - partial void BeforeFromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json, ref bool returnNow); - - /// - /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the - /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output - /// parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The JSON container that the serialization result will be placed in. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject container, ref bool returnNow); - - /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationProperties. - /// - /// a to deserialize from. - /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationProperties. - /// - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode node) - { - return node is Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json ? new NetworkConfigurationProperties(json) : null; - } - - /// - /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject into a new instance of . - /// - /// A Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject instance to deserialize from. - internal NetworkConfigurationProperties(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json) - { - bool returnNow = false; - BeforeFromJson(json, ref returnNow); - if (returnNow) - { - return; - } - {_keyProperty = If( json?.PropertyT("keyProperties"), out var __jsonKeyProperties) ? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.KeyProperties.FromJson(__jsonKeyProperties) : _keyProperty;} - {_location = If( json?.PropertyT("location"), out var __jsonLocation) ? (string)__jsonLocation : (string)_location;} - {_tenantId = If( json?.PropertyT("tenantId"), out var __jsonTenantId) ? (string)__jsonTenantId : (string)_tenantId;} - {_networkConfigurationScopeId = If( json?.PropertyT("networkConfigurationScopeId"), out var __jsonNetworkConfigurationScopeId) ? (string)__jsonNetworkConfigurationScopeId : (string)_networkConfigurationScopeId;} - {_networkConfigurationScopeResourceId = If( json?.PropertyT("networkConfigurationScopeResourceId"), out var __jsonNetworkConfigurationScopeResourceId) ? (string)__jsonNetworkConfigurationScopeResourceId : (string)_networkConfigurationScopeResourceId;} - AfterFromJson(json); - } - - /// - /// Serializes this instance of 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 . - /// - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode) - { - container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject(); - - bool returnNow = false; - BeforeToJson(ref container, ref returnNow); - if (returnNow) - { - return container; - } - if (serializationMode.HasFlag(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeRead)) - { - AddIf( null != this._keyProperty ? (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode) this._keyProperty.ToJson(null,serializationMode) : null, "keyProperties" ,container.Add ); - } - if (serializationMode.HasFlag(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeRead)||serializationMode.HasFlag(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate)) - { - AddIf( null != (((object)this._location)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonString(this._location.ToString()) : null, "location" ,container.Add ); - } - if (serializationMode.HasFlag(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeRead)) - { - AddIf( null != (((object)this._tenantId)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonString(this._tenantId.ToString()) : null, "tenantId" ,container.Add ); - } - AddIf( null != (((object)this._networkConfigurationScopeId)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonString(this._networkConfigurationScopeId.ToString()) : null, "networkConfigurationScopeId" ,container.Add ); - AddIf( null != (((object)this._networkConfigurationScopeResourceId)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonString(this._networkConfigurationScopeResourceId.ToString()) : null, "networkConfigurationScopeResourceId" ,container.Add ); - AfterToJson(ref container); - return container; - } - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/SettingsGatewayProperties.PowerShell.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/NetworkSecurityPerimeterConfigurationReconcileResult.PowerShell.cs similarity index 69% rename from src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/SettingsGatewayProperties.PowerShell.cs rename to src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/NetworkSecurityPerimeterConfigurationReconcileResult.PowerShell.cs index 9dc3c216eff3..c0390af98f27 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/SettingsGatewayProperties.PowerShell.cs +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/NetworkSecurityPerimeterConfigurationReconcileResult.PowerShell.cs @@ -7,9 +7,9 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models { using Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell; - /// Settings Gateway properties - [System.ComponentModel.TypeConverter(typeof(SettingsGatewayPropertiesTypeConverter))] - public partial class SettingsGatewayProperties + /// Result of network security perimeter configurations. + [System.ComponentModel.TypeConverter(typeof(NetworkSecurityPerimeterConfigurationReconcileResultTypeConverter))] + public partial class NetworkSecurityPerimeterConfigurationReconcileResult { /// @@ -63,44 +63,49 @@ public partial class SettingsGatewayProperties partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISettingsGatewayProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationReconcileResult DeserializeFromDictionary(global::System.Collections.IDictionary content) { - return new SettingsGatewayProperties(content); + return new NetworkSecurityPerimeterConfigurationReconcileResult(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 . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISettingsGatewayProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationReconcileResult DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { - return new SettingsGatewayProperties(content); + return new NetworkSecurityPerimeterConfigurationReconcileResult(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. - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISettingsGatewayProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(jsonText)); + /// + /// an instance of the model class. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationReconcileResult FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. - internal SettingsGatewayProperties(global::System.Collections.IDictionary content) + internal NetworkSecurityPerimeterConfigurationReconcileResult(global::System.Collections.IDictionary content) { bool returnNow = false; BeforeDeserializeDictionary(content, ref returnNow); @@ -109,19 +114,19 @@ internal SettingsGatewayProperties(global::System.Collections.IDictionary conten return; } // actually deserialize - if (content.Contains("GatewayResourceId")) + if (content.Contains("Location")) { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISettingsGatewayPropertiesInternal)this).GatewayResourceId = (string) content.GetValueForProperty("GatewayResourceId",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISettingsGatewayPropertiesInternal)this).GatewayResourceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationReconcileResultInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationReconcileResultInternal)this).Location, global::System.Convert.ToString); } 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 SettingsGatewayProperties(global::System.Management.Automation.PSObject content) + internal NetworkSecurityPerimeterConfigurationReconcileResult(global::System.Management.Automation.PSObject content) { bool returnNow = false; BeforeDeserializePSObject(content, ref returnNow); @@ -130,9 +135,9 @@ internal SettingsGatewayProperties(global::System.Management.Automation.PSObject return; } // actually deserialize - if (content.Contains("GatewayResourceId")) + if (content.Contains("Location")) { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISettingsGatewayPropertiesInternal)this).GatewayResourceId = (string) content.GetValueForProperty("GatewayResourceId",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISettingsGatewayPropertiesInternal)this).GatewayResourceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationReconcileResultInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationReconcileResultInternal)this).Location, global::System.Convert.ToString); } AfterDeserializePSObject(content); } @@ -154,9 +159,9 @@ public override string ToString() return ToJsonString(); } } - /// Settings Gateway properties - [System.ComponentModel.TypeConverter(typeof(SettingsGatewayPropertiesTypeConverter))] - public partial interface ISettingsGatewayProperties + /// Result of network security perimeter configurations. + [System.ComponentModel.TypeConverter(typeof(NetworkSecurityPerimeterConfigurationReconcileResultTypeConverter))] + public partial interface INetworkSecurityPerimeterConfigurationReconcileResult { diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/HybridIdentityMetadataProperties.TypeConverter.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/NetworkSecurityPerimeterConfigurationReconcileResult.TypeConverter.cs similarity index 79% rename from src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/HybridIdentityMetadataProperties.TypeConverter.cs rename to src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/NetworkSecurityPerimeterConfigurationReconcileResult.TypeConverter.cs index ac3b1028485a..c9fa8462032c 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/HybridIdentityMetadataProperties.TypeConverter.cs +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/NetworkSecurityPerimeterConfigurationReconcileResult.TypeConverter.cs @@ -8,9 +8,10 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models using Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell; /// - /// A PowerShell PSTypeConverter to support converting to an instance of + /// A PowerShell PSTypeConverter to support converting to an instance of /// - public partial class HybridIdentityMetadataPropertiesTypeConverter : global::System.Management.Automation.PSTypeConverter + public partial class NetworkSecurityPerimeterConfigurationReconcileResultTypeConverter : global::System.Management.Automation.PSTypeConverter { /// @@ -26,13 +27,14 @@ public partial class HybridIdentityMetadataPropertiesTypeConverter : global::Sys 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,32 +97,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 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.ConnectedMachine.Models.IHybridIdentityMetadataProperties ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationReconcileResult ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataProperties).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationReconcileResult).IsAssignableFrom(type)) { return sourceValue; } try { - return HybridIdentityMetadataProperties.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; + return NetworkSecurityPerimeterConfigurationReconcileResult.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; } catch { @@ -128,11 +133,11 @@ public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybrid } if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) { - return HybridIdentityMetadataProperties.DeserializeFromPSObject(sourceValue); + return NetworkSecurityPerimeterConfigurationReconcileResult.DeserializeFromPSObject(sourceValue); } if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) { - return HybridIdentityMetadataProperties.DeserializeFromDictionary(sourceValue); + return NetworkSecurityPerimeterConfigurationReconcileResult.DeserializeFromDictionary(sourceValue); } return null; } diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/NetworkSecurityPerimeterConfigurationReconcileResult.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/NetworkSecurityPerimeterConfigurationReconcileResult.cs new file mode 100644 index 000000000000..2a1957530b4e --- /dev/null +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/NetworkSecurityPerimeterConfigurationReconcileResult.cs @@ -0,0 +1,56 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models +{ + using static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Extensions; + + /// Result of network security perimeter configurations. + public partial class NetworkSecurityPerimeterConfigurationReconcileResult : + Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationReconcileResult, + Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationReconcileResultInternal + { + + /// Backing field for property. + private string _location; + + /// The URL of the resource used to check the status of the asynchronous operation. + [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Owned)] + public string Location { get => this._location; set => this._location = value; } + + /// + /// Creates an new instance. + /// + public NetworkSecurityPerimeterConfigurationReconcileResult() + { + + } + } + /// Result of network security perimeter configurations. + public partial interface INetworkSecurityPerimeterConfigurationReconcileResult : + Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IJsonSerializable + { + /// The URL of the resource used to check the status of the asynchronous operation. + [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"The URL of the resource used to check the status of the asynchronous operation.", + SerializedName = @"location", + PossibleTypes = new [] { typeof(string) })] + string Location { get; set; } + + } + /// Result of network security perimeter configurations. + internal partial interface INetworkSecurityPerimeterConfigurationReconcileResultInternal + + { + /// The URL of the resource used to check the status of the asynchronous operation. + string Location { get; set; } + + } +} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/GatewayUpdate.json.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/NetworkSecurityPerimeterConfigurationReconcileResult.json.cs similarity index 76% rename from src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/GatewayUpdate.json.cs rename to src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/NetworkSecurityPerimeterConfigurationReconcileResult.json.cs index df6b7c974f1d..527a7bdf30ed 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/GatewayUpdate.json.cs +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/NetworkSecurityPerimeterConfigurationReconcileResult.json.cs @@ -7,8 +7,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models { using static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Extensions; - /// Describes a License Update. - public partial class GatewayUpdate + /// Result of network security perimeter configurations. + public partial class NetworkSecurityPerimeterConfigurationReconcileResult { /// @@ -54,22 +54,23 @@ public partial class GatewayUpdate partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayUpdate. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationReconcileResult. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayUpdate. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationReconcileResult. /// - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayUpdate FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationReconcileResult FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode node) { - return node is Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json ? new GatewayUpdate(json) : null; + return node is Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json ? new NetworkSecurityPerimeterConfigurationReconcileResult(json) : null; } /// - /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject into a new instance of . + /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject into a new instance of . /// /// A Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject instance to deserialize from. - internal GatewayUpdate(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json) + internal NetworkSecurityPerimeterConfigurationReconcileResult(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json) { bool returnNow = false; BeforeFromJson(json, ref returnNow); @@ -77,19 +78,20 @@ internal GatewayUpdate(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runti { return; } - __resourceUpdate = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ResourceUpdate(json); - {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.GatewayUpdateProperties.FromJson(__jsonProperties) : _property;} + {_location = If( json?.PropertyT("location"), out var __jsonLocation) ? (string)__jsonLocation : (string)_location;} AfterFromJson(json); } /// - /// Serializes this instance of into a . + /// Serializes this instance of 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 . + /// a serialized instance of as a . /// public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode) { @@ -101,8 +103,7 @@ public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode { return container; } - __resourceUpdate?.ToJson(container, serializationMode); - AddIf( null != this._property ? (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode) this._property.ToJson(null,serializationMode) : null, "properties" ,container.Add ); + AddIf( null != (((object)this._location)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonString(this._location.ToString()) : null, "location" ,container.Add ); AfterToJson(ref container); return container; } diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/RunCommandInputParameter.PowerShell.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/RunCommandInputParameter.PowerShell.cs deleted file mode 100644 index e6df74905e2e..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/RunCommandInputParameter.PowerShell.cs +++ /dev/null @@ -1,172 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models -{ - using Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell; - - /// Describes the properties of a run command parameter. - [System.ComponentModel.TypeConverter(typeof(RunCommandInputParameterTypeConverter))] - public partial class RunCommandInputParameter - { - - /// - /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the - /// object before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The global::System.Collections.IDictionary content that should be used. - - partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); - - /// - /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object - /// before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The global::System.Management.Automation.PSObject content that should be used. - - partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); - - /// - /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization - /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output - /// parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The global::System.Collections.IDictionary content that should be used. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); - - /// - /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization - /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output - /// parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The global::System.Management.Automation.PSObject content that should be used. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); - - /// - /// OverrideToString will be called if it is implemented. Implement this method in a partial class to enable this behavior - /// - /// /// instance serialized to a string, normally it is a Json - /// /// set returnNow to true if you provide a customized OverrideToString function - - partial void OverrideToString(ref string stringResult, ref bool returnNow); - - /// - /// Deserializes a into an instance of . - /// - /// The global::System.Collections.IDictionary content that should be used. - /// - /// an instance of . - /// - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandInputParameter DeserializeFromDictionary(global::System.Collections.IDictionary content) - { - return new RunCommandInputParameter(content); - } - - /// - /// Deserializes a into an instance of . - /// - /// The global::System.Management.Automation.PSObject content that should be used. - /// - /// an instance of . - /// - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandInputParameter DeserializeFromPSObject(global::System.Management.Automation.PSObject content) - { - return new RunCommandInputParameter(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. - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandInputParameter FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(jsonText)); - - /// - /// Deserializes a into a new instance of . - /// - /// The global::System.Collections.IDictionary content that should be used. - internal RunCommandInputParameter(global::System.Collections.IDictionary content) - { - bool returnNow = false; - BeforeDeserializeDictionary(content, ref returnNow); - if (returnNow) - { - return; - } - // actually deserialize - if (content.Contains("Name")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandInputParameterInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandInputParameterInternal)this).Name, global::System.Convert.ToString); - } - if (content.Contains("Value")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandInputParameterInternal)this).Value = (string) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandInputParameterInternal)this).Value, global::System.Convert.ToString); - } - AfterDeserializeDictionary(content); - } - - /// - /// Deserializes a into a new instance of . - /// - /// The global::System.Management.Automation.PSObject content that should be used. - internal RunCommandInputParameter(global::System.Management.Automation.PSObject content) - { - bool returnNow = false; - BeforeDeserializePSObject(content, ref returnNow); - if (returnNow) - { - return; - } - // actually deserialize - if (content.Contains("Name")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandInputParameterInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandInputParameterInternal)this).Name, global::System.Convert.ToString); - } - if (content.Contains("Value")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandInputParameterInternal)this).Value = (string) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandInputParameterInternal)this).Value, global::System.Convert.ToString); - } - AfterDeserializePSObject(content); - } - - /// Serializes this instance to a json string. - - /// a containing this model serialized to JSON text. - public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeAll)?.ToString(); - - public override string ToString() - { - var returnNow = false; - var result = global::System.String.Empty; - OverrideToString(ref result, ref returnNow); - if (returnNow) - { - return result; - } - return ToJsonString(); - } - } - /// Describes the properties of a run command parameter. - [System.ComponentModel.TypeConverter(typeof(RunCommandInputParameterTypeConverter))] - public partial interface IRunCommandInputParameter - - { - - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/RunCommandInputParameter.TypeConverter.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/RunCommandInputParameter.TypeConverter.cs deleted file mode 100644 index 6b6edef6289a..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/RunCommandInputParameter.TypeConverter.cs +++ /dev/null @@ -1,147 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models -{ - using Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell; - - /// - /// A PowerShell PSTypeConverter to support converting to an instance of - /// - public partial class RunCommandInputParameterTypeConverter : global::System.Management.Automation.PSTypeConverter - { - - /// - /// Determines if the converter can convert the parameter to the parameter. - /// - /// the to convert from - /// the to convert to - /// - /// true if the converter can convert the parameter to the parameter, otherwise false. - /// - public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); - - /// - /// Determines if the converter can convert the parameter to the - /// type. - /// - /// the instance to check if it can be converted to the type. - /// - /// true if the instance could be converted to a type, otherwise false - /// - public static bool CanConvertFrom(dynamic sourceValue) - { - if (null == sourceValue) - { - return true; - } - global::System.Type type = sourceValue.GetType(); - if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) - { - // we say yest to PSObjects - return true; - } - if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) - { - // we say yest to Hashtables/dictionaries - return true; - } - try - { - if (null != sourceValue.ToJsonString()) - { - return true; - } - } - catch - { - // Not one of our objects - } - try - { - string text = sourceValue.ToString()?.Trim(); - return true == text?.StartsWith("{") && true == text?.EndsWith("}") && Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(text).Type == Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonType.Object; - } - catch - { - // Doesn't look like it can be treated as JSON - } - return false; - } - - /// - /// Determines if the parameter can be converted to the - /// parameter - /// - /// the to convert from - /// the to convert to - /// - /// true if the converter can convert the parameter to the parameter, otherwise false - /// - public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; - - /// - /// Converts the parameter to the parameter using and - /// - /// the to convert from - /// the to convert to - /// 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. - /// - 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 - /// - /// the value to convert into an instance of . - /// - /// an instance of , or null if there is no suitable conversion. - /// - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandInputParameter ConvertFrom(dynamic sourceValue) - { - if (null == sourceValue) - { - return null; - } - global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandInputParameter).IsAssignableFrom(type)) - { - return sourceValue; - } - try - { - return RunCommandInputParameter.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; - } - catch - { - // Unable to use JSON pattern - } - if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) - { - return RunCommandInputParameter.DeserializeFromPSObject(sourceValue); - } - if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) - { - return RunCommandInputParameter.DeserializeFromDictionary(sourceValue); - } - return null; - } - - /// NotImplemented -- this will return null - /// the to convert from - /// the to convert to - /// not used by this TypeConverter. - /// when set to true, will ignore the case when converting. - /// will always return null. - public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null; - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/RunCommandInputParameter.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/RunCommandInputParameter.cs deleted file mode 100644 index 220643848568..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/RunCommandInputParameter.cs +++ /dev/null @@ -1,74 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models -{ - using static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Extensions; - - /// Describes the properties of a run command parameter. - public partial class RunCommandInputParameter : - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandInputParameter, - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandInputParameterInternal - { - - /// Backing field for property. - private string _name; - - /// The run command parameter name. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Owned)] - public string Name { get => this._name; set => this._name = value; } - - /// Backing field for property. - private string _value; - - /// The run command parameter value. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Owned)] - public string Value { get => this._value; set => this._value = value; } - - /// Creates an new instance. - public RunCommandInputParameter() - { - - } - } - /// Describes the properties of a run command parameter. - public partial interface IRunCommandInputParameter : - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IJsonSerializable - { - /// The run command parameter name. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = true, - ReadOnly = false, - Read = true, - Create = true, - Update = true, - Description = @"The run command parameter name.", - SerializedName = @"name", - PossibleTypes = new [] { typeof(string) })] - string Name { get; set; } - /// The run command parameter value. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = true, - ReadOnly = false, - Read = true, - Create = true, - Update = true, - Description = @"The run command parameter value.", - SerializedName = @"value", - PossibleTypes = new [] { typeof(string) })] - string Value { get; set; } - - } - /// Describes the properties of a run command parameter. - internal partial interface IRunCommandInputParameterInternal - - { - /// The run command parameter name. - string Name { get; set; } - /// The run command parameter value. - string Value { get; set; } - - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/RunCommandInputParameter.json.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/RunCommandInputParameter.json.cs deleted file mode 100644 index 2506f66eaa45..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/RunCommandInputParameter.json.cs +++ /dev/null @@ -1,110 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models -{ - using static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Extensions; - - /// Describes the properties of a run command parameter. - public partial class RunCommandInputParameter - { - - /// - /// AfterFromJson will be called after the json deserialization has finished, allowing customization of the object - /// before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The JsonNode that should be deserialized into this object. - - partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json); - - /// - /// AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The JSON container that the serialization result will be placed in. - - partial void AfterToJson(ref Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject container); - - /// - /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of - /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the - /// output parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The JsonNode that should be deserialized into this object. - /// Determines if the rest of the deserialization should be processed, or if the method should return - /// instantly. - - partial void BeforeFromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json, ref bool returnNow); - - /// - /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the - /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output - /// parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The JSON container that the serialization result will be placed in. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject container, ref bool returnNow); - - /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandInputParameter. - /// - /// a to deserialize from. - /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandInputParameter. - /// - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandInputParameter FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode node) - { - return node is Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json ? new RunCommandInputParameter(json) : null; - } - - /// - /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject into a new instance of . - /// - /// A Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject instance to deserialize from. - internal RunCommandInputParameter(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json) - { - bool returnNow = false; - BeforeFromJson(json, ref returnNow); - if (returnNow) - { - return; - } - {_name = If( json?.PropertyT("name"), out var __jsonName) ? (string)__jsonName : (string)_name;} - {_value = If( json?.PropertyT("value"), out var __jsonValue) ? (string)__jsonValue : (string)_value;} - AfterFromJson(json); - } - - /// - /// Serializes this instance of 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 . - /// - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode) - { - container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject(); - - bool returnNow = false; - BeforeToJson(ref container, ref returnNow); - if (returnNow) - { - return container; - } - AddIf( null != (((object)this._name)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonString(this._name.ToString()) : null, "name" ,container.Add ); - AddIf( null != (((object)this._value)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonString(this._value.ToString()) : null, "value" ,container.Add ); - AfterToJson(ref container); - return container; - } - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/RunCommandManagedIdentity.PowerShell.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/RunCommandManagedIdentity.PowerShell.cs deleted file mode 100644 index b9c8105e99cd..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/RunCommandManagedIdentity.PowerShell.cs +++ /dev/null @@ -1,184 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models -{ - using Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell; - - /// - /// Contains clientId or objectId (use only one, not both) of a user-assigned managed identity that has access to storage - /// blob used in Run Command. Use an empty RunCommandManagedIdentity object in case of system-assigned identity. Make sure - /// the Azure storage blob exists in case of scriptUri, and managed identity has been given access to blob's container with - /// 'Storage Blob Data Reader' role assignment with scriptUri blob and 'Storage Blob Data Contributor' for Append blobs(outputBlobUri, - /// errorBlobUri). In case of user assigned identity, make sure you add it under VM's identity. For more info on managed identity - /// and Run Command, refer https://aka.ms/ManagedIdentity and https://aka.ms/RunCommandManaged. - /// - [System.ComponentModel.TypeConverter(typeof(RunCommandManagedIdentityTypeConverter))] - public partial class RunCommandManagedIdentity - { - - /// - /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the - /// object before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The global::System.Collections.IDictionary content that should be used. - - partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); - - /// - /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object - /// before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The global::System.Management.Automation.PSObject content that should be used. - - partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); - - /// - /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization - /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output - /// parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The global::System.Collections.IDictionary content that should be used. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); - - /// - /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization - /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output - /// parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The global::System.Management.Automation.PSObject content that should be used. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); - - /// - /// OverrideToString will be called if it is implemented. Implement this method in a partial class to enable this behavior - /// - /// /// instance serialized to a string, normally it is a Json - /// /// set returnNow to true if you provide a customized OverrideToString function - - partial void OverrideToString(ref string stringResult, ref bool returnNow); - - /// - /// Deserializes a into an instance of . - /// - /// The global::System.Collections.IDictionary content that should be used. - /// - /// an instance of . - /// - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandManagedIdentity DeserializeFromDictionary(global::System.Collections.IDictionary content) - { - return new RunCommandManagedIdentity(content); - } - - /// - /// Deserializes a into an instance of . - /// - /// The global::System.Management.Automation.PSObject content that should be used. - /// - /// an instance of . - /// - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandManagedIdentity DeserializeFromPSObject(global::System.Management.Automation.PSObject content) - { - return new RunCommandManagedIdentity(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. - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandManagedIdentity FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(jsonText)); - - /// - /// Deserializes a into a new instance of . - /// - /// The global::System.Collections.IDictionary content that should be used. - internal RunCommandManagedIdentity(global::System.Collections.IDictionary content) - { - bool returnNow = false; - BeforeDeserializeDictionary(content, ref returnNow); - if (returnNow) - { - return; - } - // actually deserialize - if (content.Contains("ClientId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandManagedIdentityInternal)this).ClientId = (string) content.GetValueForProperty("ClientId",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandManagedIdentityInternal)this).ClientId, global::System.Convert.ToString); - } - if (content.Contains("ObjectId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandManagedIdentityInternal)this).ObjectId = (string) content.GetValueForProperty("ObjectId",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandManagedIdentityInternal)this).ObjectId, global::System.Convert.ToString); - } - AfterDeserializeDictionary(content); - } - - /// - /// Deserializes a into a new instance of . - /// - /// The global::System.Management.Automation.PSObject content that should be used. - internal RunCommandManagedIdentity(global::System.Management.Automation.PSObject content) - { - bool returnNow = false; - BeforeDeserializePSObject(content, ref returnNow); - if (returnNow) - { - return; - } - // actually deserialize - if (content.Contains("ClientId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandManagedIdentityInternal)this).ClientId = (string) content.GetValueForProperty("ClientId",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandManagedIdentityInternal)this).ClientId, global::System.Convert.ToString); - } - if (content.Contains("ObjectId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandManagedIdentityInternal)this).ObjectId = (string) content.GetValueForProperty("ObjectId",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandManagedIdentityInternal)this).ObjectId, global::System.Convert.ToString); - } - AfterDeserializePSObject(content); - } - - /// Serializes this instance to a json string. - - /// a containing this model serialized to JSON text. - public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeAll)?.ToString(); - - public override string ToString() - { - var returnNow = false; - var result = global::System.String.Empty; - OverrideToString(ref result, ref returnNow); - if (returnNow) - { - return result; - } - return ToJsonString(); - } - } - /// Contains clientId or objectId (use only one, not both) of a user-assigned managed identity that has access to storage - /// blob used in Run Command. Use an empty RunCommandManagedIdentity object in case of system-assigned identity. Make sure - /// the Azure storage blob exists in case of scriptUri, and managed identity has been given access to blob's container with - /// 'Storage Blob Data Reader' role assignment with scriptUri blob and 'Storage Blob Data Contributor' for Append blobs(outputBlobUri, - /// errorBlobUri). In case of user assigned identity, make sure you add it under VM's identity. For more info on managed identity - /// and Run Command, refer https://aka.ms/ManagedIdentity and https://aka.ms/RunCommandManaged. - [System.ComponentModel.TypeConverter(typeof(RunCommandManagedIdentityTypeConverter))] - public partial interface IRunCommandManagedIdentity - - { - - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/RunCommandManagedIdentity.TypeConverter.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/RunCommandManagedIdentity.TypeConverter.cs deleted file mode 100644 index 71f73445fc5a..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/RunCommandManagedIdentity.TypeConverter.cs +++ /dev/null @@ -1,147 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models -{ - using Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell; - - /// - /// A PowerShell PSTypeConverter to support converting to an instance of - /// - public partial class RunCommandManagedIdentityTypeConverter : global::System.Management.Automation.PSTypeConverter - { - - /// - /// Determines if the converter can convert the parameter to the parameter. - /// - /// the to convert from - /// the to convert to - /// - /// true if the converter can convert the parameter to the parameter, otherwise false. - /// - public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); - - /// - /// Determines if the converter can convert the parameter to the - /// type. - /// - /// the instance to check if it can be converted to the type. - /// - /// true if the instance could be converted to a type, otherwise false - /// - public static bool CanConvertFrom(dynamic sourceValue) - { - if (null == sourceValue) - { - return true; - } - global::System.Type type = sourceValue.GetType(); - if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) - { - // we say yest to PSObjects - return true; - } - if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) - { - // we say yest to Hashtables/dictionaries - return true; - } - try - { - if (null != sourceValue.ToJsonString()) - { - return true; - } - } - catch - { - // Not one of our objects - } - try - { - string text = sourceValue.ToString()?.Trim(); - return true == text?.StartsWith("{") && true == text?.EndsWith("}") && Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(text).Type == Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonType.Object; - } - catch - { - // Doesn't look like it can be treated as JSON - } - return false; - } - - /// - /// Determines if the parameter can be converted to the - /// parameter - /// - /// the to convert from - /// the to convert to - /// - /// true if the converter can convert the parameter to the parameter, otherwise false - /// - public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; - - /// - /// Converts the parameter to the parameter using and - /// - /// the to convert from - /// the to convert to - /// 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. - /// - 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 - /// - /// the value to convert into an instance of . - /// - /// an instance of , or null if there is no suitable conversion. - /// - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandManagedIdentity ConvertFrom(dynamic sourceValue) - { - if (null == sourceValue) - { - return null; - } - global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandManagedIdentity).IsAssignableFrom(type)) - { - return sourceValue; - } - try - { - return RunCommandManagedIdentity.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; - } - catch - { - // Unable to use JSON pattern - } - if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) - { - return RunCommandManagedIdentity.DeserializeFromPSObject(sourceValue); - } - if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) - { - return RunCommandManagedIdentity.DeserializeFromDictionary(sourceValue); - } - return null; - } - - /// NotImplemented -- this will return null - /// the to convert from - /// the to convert to - /// not used by this TypeConverter. - /// when set to true, will ignore the case when converting. - /// will always return null. - public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null; - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/RunCommandManagedIdentity.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/RunCommandManagedIdentity.cs deleted file mode 100644 index 2481b3e37e9f..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/RunCommandManagedIdentity.cs +++ /dev/null @@ -1,103 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models -{ - using static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Extensions; - - /// - /// Contains clientId or objectId (use only one, not both) of a user-assigned managed identity that has access to storage - /// blob used in Run Command. Use an empty RunCommandManagedIdentity object in case of system-assigned identity. Make sure - /// the Azure storage blob exists in case of scriptUri, and managed identity has been given access to blob's container with - /// 'Storage Blob Data Reader' role assignment with scriptUri blob and 'Storage Blob Data Contributor' for Append blobs(outputBlobUri, - /// errorBlobUri). In case of user assigned identity, make sure you add it under VM's identity. For more info on managed identity - /// and Run Command, refer https://aka.ms/ManagedIdentity and https://aka.ms/RunCommandManaged. - /// - public partial class RunCommandManagedIdentity : - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandManagedIdentity, - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandManagedIdentityInternal - { - - /// Backing field for property. - private string _clientId; - - /// - /// Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided. - /// - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Owned)] - public string ClientId { get => this._clientId; set => this._clientId = value; } - - /// Backing field for property. - private string _objectId; - - /// - /// Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided. - /// - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Owned)] - public string ObjectId { get => this._objectId; set => this._objectId = value; } - - /// Creates an new instance. - public RunCommandManagedIdentity() - { - - } - } - /// Contains clientId or objectId (use only one, not both) of a user-assigned managed identity that has access to storage - /// blob used in Run Command. Use an empty RunCommandManagedIdentity object in case of system-assigned identity. Make sure - /// the Azure storage blob exists in case of scriptUri, and managed identity has been given access to blob's container with - /// 'Storage Blob Data Reader' role assignment with scriptUri blob and 'Storage Blob Data Contributor' for Append blobs(outputBlobUri, - /// errorBlobUri). In case of user assigned identity, make sure you add it under VM's identity. For more info on managed identity - /// and Run Command, refer https://aka.ms/ManagedIdentity and https://aka.ms/RunCommandManaged. - public partial interface IRunCommandManagedIdentity : - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IJsonSerializable - { - /// - /// Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided. - /// - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Read = true, - Create = true, - Update = true, - Description = @"Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided.", - SerializedName = @"clientId", - PossibleTypes = new [] { typeof(string) })] - string ClientId { get; set; } - /// - /// Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided. - /// - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Read = true, - Create = true, - Update = true, - Description = @"Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided.", - SerializedName = @"objectId", - PossibleTypes = new [] { typeof(string) })] - string ObjectId { get; set; } - - } - /// Contains clientId or objectId (use only one, not both) of a user-assigned managed identity that has access to storage - /// blob used in Run Command. Use an empty RunCommandManagedIdentity object in case of system-assigned identity. Make sure - /// the Azure storage blob exists in case of scriptUri, and managed identity has been given access to blob's container with - /// 'Storage Blob Data Reader' role assignment with scriptUri blob and 'Storage Blob Data Contributor' for Append blobs(outputBlobUri, - /// errorBlobUri). In case of user assigned identity, make sure you add it under VM's identity. For more info on managed identity - /// and Run Command, refer https://aka.ms/ManagedIdentity and https://aka.ms/RunCommandManaged. - internal partial interface IRunCommandManagedIdentityInternal - - { - /// - /// Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided. - /// - string ClientId { get; set; } - /// - /// Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided. - /// - string ObjectId { get; set; } - - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/RunCommandManagedIdentity.json.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/RunCommandManagedIdentity.json.cs deleted file mode 100644 index 0b9451c4d56c..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/RunCommandManagedIdentity.json.cs +++ /dev/null @@ -1,117 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models -{ - using static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Extensions; - - /// - /// Contains clientId or objectId (use only one, not both) of a user-assigned managed identity that has access to storage - /// blob used in Run Command. Use an empty RunCommandManagedIdentity object in case of system-assigned identity. Make sure - /// the Azure storage blob exists in case of scriptUri, and managed identity has been given access to blob's container with - /// 'Storage Blob Data Reader' role assignment with scriptUri blob and 'Storage Blob Data Contributor' for Append blobs(outputBlobUri, - /// errorBlobUri). In case of user assigned identity, make sure you add it under VM's identity. For more info on managed identity - /// and Run Command, refer https://aka.ms/ManagedIdentity and https://aka.ms/RunCommandManaged. - /// - public partial class RunCommandManagedIdentity - { - - /// - /// AfterFromJson will be called after the json deserialization has finished, allowing customization of the object - /// before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The JsonNode that should be deserialized into this object. - - partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json); - - /// - /// AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The JSON container that the serialization result will be placed in. - - partial void AfterToJson(ref Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject container); - - /// - /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of - /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the - /// output parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The JsonNode that should be deserialized into this object. - /// Determines if the rest of the deserialization should be processed, or if the method should return - /// instantly. - - partial void BeforeFromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json, ref bool returnNow); - - /// - /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the - /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output - /// parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The JSON container that the serialization result will be placed in. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject container, ref bool returnNow); - - /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandManagedIdentity. - /// - /// a to deserialize from. - /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandManagedIdentity. - /// - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandManagedIdentity FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode node) - { - return node is Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json ? new RunCommandManagedIdentity(json) : null; - } - - /// - /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject into a new instance of . - /// - /// A Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject instance to deserialize from. - internal RunCommandManagedIdentity(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json) - { - bool returnNow = false; - BeforeFromJson(json, ref returnNow); - if (returnNow) - { - return; - } - {_clientId = If( json?.PropertyT("clientId"), out var __jsonClientId) ? (string)__jsonClientId : (string)_clientId;} - {_objectId = If( json?.PropertyT("objectId"), out var __jsonObjectId) ? (string)__jsonObjectId : (string)_objectId;} - AfterFromJson(json); - } - - /// - /// Serializes this instance of 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 . - /// - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode) - { - container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject(); - - bool returnNow = false; - BeforeToJson(ref container, ref returnNow); - if (returnNow) - { - return container; - } - AddIf( null != (((object)this._clientId)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonString(this._clientId.ToString()) : null, "clientId" ,container.Add ); - AddIf( null != (((object)this._objectId)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonString(this._objectId.ToString()) : null, "objectId" ,container.Add ); - AfterToJson(ref container); - return container; - } - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/Settings.PowerShell.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/Settings.PowerShell.cs deleted file mode 100644 index 4bfdc3b3f525..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/Settings.PowerShell.cs +++ /dev/null @@ -1,266 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models -{ - using Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell; - - [System.ComponentModel.TypeConverter(typeof(SettingsTypeConverter))] - public partial class Settings - { - - /// - /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the - /// object before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The global::System.Collections.IDictionary content that should be used. - - partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); - - /// - /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object - /// before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The global::System.Management.Automation.PSObject content that should be used. - - partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); - - /// - /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization - /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output - /// parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The global::System.Collections.IDictionary content that should be used. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); - - /// - /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization - /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output - /// parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The global::System.Management.Automation.PSObject content that should be used. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); - - /// - /// OverrideToString will be called if it is implemented. Implement this method in a partial class to enable this behavior - /// - /// /// instance serialized to a string, normally it is a Json - /// /// set returnNow to true if you provide a customized OverrideToString function - - partial void OverrideToString(ref string stringResult, ref bool returnNow); - - /// - /// Deserializes a into an instance of . - /// - /// The global::System.Collections.IDictionary content that should be used. - /// - /// an instance of . - /// - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISettings DeserializeFromDictionary(global::System.Collections.IDictionary content) - { - return new Settings(content); - } - - /// - /// Deserializes a into an instance of . - /// - /// The global::System.Management.Automation.PSObject content that should be used. - /// - /// an instance of . - /// - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISettings DeserializeFromPSObject(global::System.Management.Automation.PSObject content) - { - return new Settings(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. - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISettings FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(jsonText)); - - /// - /// Deserializes a into a new instance of . - /// - /// The global::System.Collections.IDictionary content that should be used. - internal Settings(global::System.Collections.IDictionary content) - { - bool returnNow = false; - BeforeDeserializeDictionary(content, ref returnNow); - if (returnNow) - { - return; - } - // actually deserialize - if (content.Contains("Property")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISettingsInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISettingsProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISettingsInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.SettingsPropertiesTypeConverter.ConvertFrom); - } - if (content.Contains("SystemDataCreatedBy")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemDataCreatedBy = (string) content.GetValueForProperty("SystemDataCreatedBy",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemDataCreatedBy, global::System.Convert.ToString); - } - if (content.Contains("SystemDataCreatedAt")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemDataCreatedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataCreatedAt",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemDataCreatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); - } - if (content.Contains("SystemDataCreatedByType")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemDataCreatedByType = (string) content.GetValueForProperty("SystemDataCreatedByType",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemDataCreatedByType, global::System.Convert.ToString); - } - if (content.Contains("SystemDataLastModifiedBy")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemDataLastModifiedBy = (string) content.GetValueForProperty("SystemDataLastModifiedBy",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemDataLastModifiedBy, global::System.Convert.ToString); - } - if (content.Contains("SystemDataLastModifiedByType")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemDataLastModifiedByType = (string) content.GetValueForProperty("SystemDataLastModifiedByType",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemDataLastModifiedByType, global::System.Convert.ToString); - } - if (content.Contains("SystemDataLastModifiedAt")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemDataLastModifiedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataLastModifiedAt",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemDataLastModifiedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); - } - if (content.Contains("SystemData")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.SystemDataTypeConverter.ConvertFrom); - } - if (content.Contains("Id")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).Id, global::System.Convert.ToString); - } - if (content.Contains("Name")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).Name, global::System.Convert.ToString); - } - if (content.Contains("Type")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).Type, global::System.Convert.ToString); - } - if (content.Contains("GatewayProperty")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISettingsInternal)this).GatewayProperty = (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISettingsGatewayProperties) content.GetValueForProperty("GatewayProperty",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISettingsInternal)this).GatewayProperty, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.SettingsGatewayPropertiesTypeConverter.ConvertFrom); - } - if (content.Contains("TenantId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISettingsInternal)this).TenantId = (string) content.GetValueForProperty("TenantId",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISettingsInternal)this).TenantId, global::System.Convert.ToString); - } - if (content.Contains("GatewayPropertyGatewayResourceId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISettingsInternal)this).GatewayPropertyGatewayResourceId = (string) content.GetValueForProperty("GatewayPropertyGatewayResourceId",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISettingsInternal)this).GatewayPropertyGatewayResourceId, global::System.Convert.ToString); - } - AfterDeserializeDictionary(content); - } - - /// - /// Deserializes a into a new instance of . - /// - /// The global::System.Management.Automation.PSObject content that should be used. - internal Settings(global::System.Management.Automation.PSObject content) - { - bool returnNow = false; - BeforeDeserializePSObject(content, ref returnNow); - if (returnNow) - { - return; - } - // actually deserialize - if (content.Contains("Property")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISettingsInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISettingsProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISettingsInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.SettingsPropertiesTypeConverter.ConvertFrom); - } - if (content.Contains("SystemDataCreatedBy")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemDataCreatedBy = (string) content.GetValueForProperty("SystemDataCreatedBy",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemDataCreatedBy, global::System.Convert.ToString); - } - if (content.Contains("SystemDataCreatedAt")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemDataCreatedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataCreatedAt",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemDataCreatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); - } - if (content.Contains("SystemDataCreatedByType")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemDataCreatedByType = (string) content.GetValueForProperty("SystemDataCreatedByType",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemDataCreatedByType, global::System.Convert.ToString); - } - if (content.Contains("SystemDataLastModifiedBy")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemDataLastModifiedBy = (string) content.GetValueForProperty("SystemDataLastModifiedBy",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemDataLastModifiedBy, global::System.Convert.ToString); - } - if (content.Contains("SystemDataLastModifiedByType")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemDataLastModifiedByType = (string) content.GetValueForProperty("SystemDataLastModifiedByType",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemDataLastModifiedByType, global::System.Convert.ToString); - } - if (content.Contains("SystemDataLastModifiedAt")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemDataLastModifiedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataLastModifiedAt",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemDataLastModifiedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); - } - if (content.Contains("SystemData")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.SystemDataTypeConverter.ConvertFrom); - } - if (content.Contains("Id")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).Id, global::System.Convert.ToString); - } - if (content.Contains("Name")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).Name, global::System.Convert.ToString); - } - if (content.Contains("Type")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)this).Type, global::System.Convert.ToString); - } - if (content.Contains("GatewayProperty")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISettingsInternal)this).GatewayProperty = (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISettingsGatewayProperties) content.GetValueForProperty("GatewayProperty",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISettingsInternal)this).GatewayProperty, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.SettingsGatewayPropertiesTypeConverter.ConvertFrom); - } - if (content.Contains("TenantId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISettingsInternal)this).TenantId = (string) content.GetValueForProperty("TenantId",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISettingsInternal)this).TenantId, global::System.Convert.ToString); - } - if (content.Contains("GatewayPropertyGatewayResourceId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISettingsInternal)this).GatewayPropertyGatewayResourceId = (string) content.GetValueForProperty("GatewayPropertyGatewayResourceId",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISettingsInternal)this).GatewayPropertyGatewayResourceId, global::System.Convert.ToString); - } - AfterDeserializePSObject(content); - } - - /// Serializes this instance to a json string. - - /// a containing this model serialized to JSON text. - public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeAll)?.ToString(); - - public override string ToString() - { - var returnNow = false; - var result = global::System.String.Empty; - OverrideToString(ref result, ref returnNow); - if (returnNow) - { - return result; - } - return ToJsonString(); - } - } - [System.ComponentModel.TypeConverter(typeof(SettingsTypeConverter))] - public partial interface ISettings - - { - - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/Settings.TypeConverter.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/Settings.TypeConverter.cs deleted file mode 100644 index eb7656991680..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/Settings.TypeConverter.cs +++ /dev/null @@ -1,146 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models -{ - using Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell; - - /// - /// A PowerShell PSTypeConverter to support converting to an instance of - /// - public partial class SettingsTypeConverter : global::System.Management.Automation.PSTypeConverter - { - - /// - /// Determines if the converter can convert the parameter to the parameter. - /// - /// the to convert from - /// the to convert to - /// - /// true if the converter can convert the parameter to the parameter, otherwise false. - /// - public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); - - /// - /// Determines if the converter can convert the parameter to the type. - /// - /// the instance to check if it can be converted to the type. - /// - /// true if the instance could be converted to a type, otherwise false - /// - public static bool CanConvertFrom(dynamic sourceValue) - { - if (null == sourceValue) - { - return true; - } - global::System.Type type = sourceValue.GetType(); - if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) - { - // we say yest to PSObjects - return true; - } - if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) - { - // we say yest to Hashtables/dictionaries - return true; - } - try - { - if (null != sourceValue.ToJsonString()) - { - return true; - } - } - catch - { - // Not one of our objects - } - try - { - string text = sourceValue.ToString()?.Trim(); - return true == text?.StartsWith("{") && true == text?.EndsWith("}") && Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(text).Type == Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonType.Object; - } - catch - { - // Doesn't look like it can be treated as JSON - } - return false; - } - - /// - /// Determines if the parameter can be converted to the - /// parameter - /// - /// the to convert from - /// the to convert to - /// - /// true if the converter can convert the parameter to the parameter, otherwise false - /// - public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; - - /// - /// Converts the parameter to the parameter using and - /// - /// the to convert from - /// the to convert to - /// 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. - /// - 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 - /// - /// the value to convert into an instance of . - /// - /// an instance of , or null if there is no suitable conversion. - /// - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISettings ConvertFrom(dynamic sourceValue) - { - if (null == sourceValue) - { - return null; - } - global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISettings).IsAssignableFrom(type)) - { - return sourceValue; - } - try - { - return Settings.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; - } - catch - { - // Unable to use JSON pattern - } - if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) - { - return Settings.DeserializeFromPSObject(sourceValue); - } - if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) - { - return Settings.DeserializeFromDictionary(sourceValue); - } - return null; - } - - /// NotImplemented -- this will return null - /// the to convert from - /// the to convert to - /// not used by this TypeConverter. - /// when set to true, will ignore the case when converting. - /// will always return null. - public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null; - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/Settings.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/Settings.cs deleted file mode 100644 index b695c5b56ecc..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/Settings.cs +++ /dev/null @@ -1,166 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models -{ - using static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Extensions; - - public partial class Settings : - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISettings, - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISettingsInternal, - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IValidates - { - /// - /// Backing field for Inherited model - /// - private Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IProxyResourceAutoGenerated __proxyResourceAutoGenerated = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ProxyResourceAutoGenerated(); - - /// Associated Gateway Resource Id - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)] - public string GatewayPropertyGatewayResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISettingsPropertiesInternal)Property).GatewayPropertyGatewayResourceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISettingsPropertiesInternal)Property).GatewayPropertyGatewayResourceId = value ?? null; } - - /// - /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - /// - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)] - public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).Id; } - - /// Internal Acessors for Id - string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).Id = value; } - - /// Internal Acessors for Name - string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).Name = value; } - - /// Internal Acessors for SystemData - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemData = value; } - - /// Internal Acessors for Type - string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).Type = value; } - - /// Internal Acessors for GatewayProperty - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISettingsGatewayProperties Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISettingsInternal.GatewayProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISettingsPropertiesInternal)Property).GatewayProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISettingsPropertiesInternal)Property).GatewayProperty = value; } - - /// Internal Acessors for Property - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISettingsProperties Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISettingsInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.SettingsProperties()); set { {_property = value;} } } - - /// Internal Acessors for TenantId - string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISettingsInternal.TenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISettingsPropertiesInternal)Property).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISettingsPropertiesInternal)Property).TenantId = value; } - - /// The name of the resource - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)] - public string Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).Name; } - - /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISettingsProperties _property; - - /// Settings properties - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISettingsProperties Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.SettingsProperties()); set => this._property = value; } - - /// Gets the resource group name - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Owned)] - public string ResourceGroupName { get => (new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(this.Id).Success ? new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(this.Id).Groups["resourceGroupName"].Value : null); } - - /// - /// Azure Resource Manager metadata containing createdBy and modifiedBy information. - /// - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)] - internal Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemData; } - - /// The timestamp of resource creation (UTC). - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)] - public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedAt = value ?? default(global::System.DateTime); } - - /// The identity that created the resource. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)] - public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedBy = value ?? null; } - - /// The type of identity that created the resource. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)] - public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedByType = value ?? null; } - - /// The timestamp of resource last modification (UTC) - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)] - public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); } - - /// The identity that last modified the resource. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)] - public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedBy = value ?? null; } - - /// The type of identity that last modified the resource. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)] - public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedByType = value ?? null; } - - /// Azure resource tenant Id - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)] - public string TenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISettingsPropertiesInternal)Property).TenantId; } - - /// - /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - /// - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)] - public string Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).Type; } - - /// Creates an new instance. - public Settings() - { - - } - - /// Validates that this object meets the validation criteria. - /// an instance that will receive validation - /// events. - /// - /// A that will be complete when validation is completed. - /// - public async global::System.Threading.Tasks.Task Validate(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) - { - await eventListener.AssertNotNull(nameof(__proxyResourceAutoGenerated), __proxyResourceAutoGenerated); - await eventListener.AssertObjectIsValid(nameof(__proxyResourceAutoGenerated), __proxyResourceAutoGenerated); - } - } - public partial interface ISettings : - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IJsonSerializable, - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IProxyResourceAutoGenerated - { - /// Associated Gateway Resource Id - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Read = true, - Create = true, - Update = true, - Description = @"Associated Gateway Resource Id", - SerializedName = @"gatewayResourceId", - PossibleTypes = new [] { typeof(string) })] - string GatewayPropertyGatewayResourceId { get; set; } - /// Azure resource tenant Id - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = true, - Read = true, - Create = false, - Update = false, - Description = @"Azure resource tenant Id", - SerializedName = @"tenantId", - PossibleTypes = new [] { typeof(string) })] - string TenantId { get; } - - } - internal partial interface ISettingsInternal : - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IProxyResourceAutoGeneratedInternal - { - /// Settings Gateway properties - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISettingsGatewayProperties GatewayProperty { get; set; } - /// Associated Gateway Resource Id - string GatewayPropertyGatewayResourceId { get; set; } - /// Settings properties - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISettingsProperties Property { get; set; } - /// Azure resource tenant Id - string TenantId { get; set; } - - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/Settings.json.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/Settings.json.cs deleted file mode 100644 index c5916b8ad633..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/Settings.json.cs +++ /dev/null @@ -1,109 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models -{ - using static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Extensions; - - public partial class Settings - { - - /// - /// AfterFromJson will be called after the json deserialization has finished, allowing customization of the object - /// before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The JsonNode that should be deserialized into this object. - - partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json); - - /// - /// AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The JSON container that the serialization result will be placed in. - - partial void AfterToJson(ref Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject container); - - /// - /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of - /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the - /// output parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The JsonNode that should be deserialized into this object. - /// Determines if the rest of the deserialization should be processed, or if the method should return - /// instantly. - - partial void BeforeFromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json, ref bool returnNow); - - /// - /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the - /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output - /// parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The JSON container that the serialization result will be placed in. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject container, ref bool returnNow); - - /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISettings. - /// - /// a to deserialize from. - /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISettings. - /// - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISettings FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode node) - { - return node is Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json ? new Settings(json) : null; - } - - /// - /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject into a new instance of . - /// - /// A Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject instance to deserialize from. - internal Settings(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json) - { - bool returnNow = false; - BeforeFromJson(json, ref returnNow); - if (returnNow) - { - return; - } - __proxyResourceAutoGenerated = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ProxyResourceAutoGenerated(json); - {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.SettingsProperties.FromJson(__jsonProperties) : _property;} - AfterFromJson(json); - } - - /// - /// Serializes this instance of 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 . - /// - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode) - { - container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject(); - - bool returnNow = false; - BeforeToJson(ref container, ref returnNow); - if (returnNow) - { - return container; - } - __proxyResourceAutoGenerated?.ToJson(container, serializationMode); - AddIf( null != this._property ? (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode) this._property.ToJson(null,serializationMode) : null, "properties" ,container.Add ); - AfterToJson(ref container); - return container; - } - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/SettingsGatewayProperties.TypeConverter.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/SettingsGatewayProperties.TypeConverter.cs deleted file mode 100644 index 6c0622b1b8d3..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/SettingsGatewayProperties.TypeConverter.cs +++ /dev/null @@ -1,147 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models -{ - using Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell; - - /// - /// A PowerShell PSTypeConverter to support converting to an instance of - /// - public partial class SettingsGatewayPropertiesTypeConverter : global::System.Management.Automation.PSTypeConverter - { - - /// - /// Determines if the converter can convert the parameter to the parameter. - /// - /// the to convert from - /// the to convert to - /// - /// true if the converter can convert the parameter to the parameter, otherwise false. - /// - public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); - - /// - /// Determines if the converter can convert the parameter to the - /// type. - /// - /// the instance to check if it can be converted to the type. - /// - /// true if the instance could be converted to a type, otherwise false - /// - public static bool CanConvertFrom(dynamic sourceValue) - { - if (null == sourceValue) - { - return true; - } - global::System.Type type = sourceValue.GetType(); - if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) - { - // we say yest to PSObjects - return true; - } - if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) - { - // we say yest to Hashtables/dictionaries - return true; - } - try - { - if (null != sourceValue.ToJsonString()) - { - return true; - } - } - catch - { - // Not one of our objects - } - try - { - string text = sourceValue.ToString()?.Trim(); - return true == text?.StartsWith("{") && true == text?.EndsWith("}") && Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(text).Type == Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonType.Object; - } - catch - { - // Doesn't look like it can be treated as JSON - } - return false; - } - - /// - /// Determines if the parameter can be converted to the - /// parameter - /// - /// the to convert from - /// the to convert to - /// - /// true if the converter can convert the parameter to the parameter, otherwise false - /// - public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; - - /// - /// Converts the parameter to the parameter using and - /// - /// the to convert from - /// the to convert to - /// 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. - /// - 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 - /// - /// the value to convert into an instance of . - /// - /// an instance of , or null if there is no suitable conversion. - /// - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISettingsGatewayProperties ConvertFrom(dynamic sourceValue) - { - if (null == sourceValue) - { - return null; - } - global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISettingsGatewayProperties).IsAssignableFrom(type)) - { - return sourceValue; - } - try - { - return SettingsGatewayProperties.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; - } - catch - { - // Unable to use JSON pattern - } - if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) - { - return SettingsGatewayProperties.DeserializeFromPSObject(sourceValue); - } - if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) - { - return SettingsGatewayProperties.DeserializeFromDictionary(sourceValue); - } - return null; - } - - /// NotImplemented -- this will return null - /// the to convert from - /// the to convert to - /// not used by this TypeConverter. - /// when set to true, will ignore the case when converting. - /// will always return null. - public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null; - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/SettingsGatewayProperties.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/SettingsGatewayProperties.cs deleted file mode 100644 index cfb9a13c3022..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/SettingsGatewayProperties.cs +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models -{ - using static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Extensions; - - /// Settings Gateway properties - public partial class SettingsGatewayProperties : - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISettingsGatewayProperties, - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISettingsGatewayPropertiesInternal - { - - /// Backing field for property. - private string _gatewayResourceId; - - /// Associated Gateway Resource Id - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Owned)] - public string GatewayResourceId { get => this._gatewayResourceId; set => this._gatewayResourceId = value; } - - /// Creates an new instance. - public SettingsGatewayProperties() - { - - } - } - /// Settings Gateway properties - public partial interface ISettingsGatewayProperties : - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IJsonSerializable - { - /// Associated Gateway Resource Id - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Read = true, - Create = true, - Update = true, - Description = @"Associated Gateway Resource Id", - SerializedName = @"gatewayResourceId", - PossibleTypes = new [] { typeof(string) })] - string GatewayResourceId { get; set; } - - } - /// Settings Gateway properties - internal partial interface ISettingsGatewayPropertiesInternal - - { - /// Associated Gateway Resource Id - string GatewayResourceId { get; set; } - - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/SettingsGatewayProperties.json.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/SettingsGatewayProperties.json.cs deleted file mode 100644 index d5f7b0b337bc..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/SettingsGatewayProperties.json.cs +++ /dev/null @@ -1,108 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models -{ - using static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Extensions; - - /// Settings Gateway properties - public partial class SettingsGatewayProperties - { - - /// - /// AfterFromJson will be called after the json deserialization has finished, allowing customization of the object - /// before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The JsonNode that should be deserialized into this object. - - partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json); - - /// - /// AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The JSON container that the serialization result will be placed in. - - partial void AfterToJson(ref Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject container); - - /// - /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of - /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the - /// output parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The JsonNode that should be deserialized into this object. - /// Determines if the rest of the deserialization should be processed, or if the method should return - /// instantly. - - partial void BeforeFromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json, ref bool returnNow); - - /// - /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the - /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output - /// parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The JSON container that the serialization result will be placed in. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject container, ref bool returnNow); - - /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISettingsGatewayProperties. - /// - /// a to deserialize from. - /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISettingsGatewayProperties. - /// - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISettingsGatewayProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode node) - { - return node is Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json ? new SettingsGatewayProperties(json) : null; - } - - /// - /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject into a new instance of . - /// - /// A Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject instance to deserialize from. - internal SettingsGatewayProperties(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json) - { - bool returnNow = false; - BeforeFromJson(json, ref returnNow); - if (returnNow) - { - return; - } - {_gatewayResourceId = If( json?.PropertyT("gatewayResourceId"), out var __jsonGatewayResourceId) ? (string)__jsonGatewayResourceId : (string)_gatewayResourceId;} - AfterFromJson(json); - } - - /// - /// Serializes this instance of 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 . - /// - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode) - { - container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject(); - - bool returnNow = false; - BeforeToJson(ref container, ref returnNow); - if (returnNow) - { - return container; - } - AddIf( null != (((object)this._gatewayResourceId)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonString(this._gatewayResourceId.ToString()) : null, "gatewayResourceId" ,container.Add ); - AfterToJson(ref container); - return container; - } - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/SettingsProperties.PowerShell.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/SettingsProperties.PowerShell.cs deleted file mode 100644 index 0edf09ff8dfe..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/SettingsProperties.PowerShell.cs +++ /dev/null @@ -1,180 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models -{ - using Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell; - - /// Settings properties - [System.ComponentModel.TypeConverter(typeof(SettingsPropertiesTypeConverter))] - public partial class SettingsProperties - { - - /// - /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the - /// object before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The global::System.Collections.IDictionary content that should be used. - - partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); - - /// - /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object - /// before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The global::System.Management.Automation.PSObject content that should be used. - - partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); - - /// - /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization - /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output - /// parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The global::System.Collections.IDictionary content that should be used. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); - - /// - /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization - /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output - /// parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The global::System.Management.Automation.PSObject content that should be used. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); - - /// - /// OverrideToString will be called if it is implemented. Implement this method in a partial class to enable this behavior - /// - /// /// instance serialized to a string, normally it is a Json - /// /// set returnNow to true if you provide a customized OverrideToString function - - partial void OverrideToString(ref string stringResult, ref bool returnNow); - - /// - /// Deserializes a into an instance of . - /// - /// The global::System.Collections.IDictionary content that should be used. - /// - /// an instance of . - /// - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISettingsProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) - { - return new SettingsProperties(content); - } - - /// - /// Deserializes a into an instance of . - /// - /// The global::System.Management.Automation.PSObject content that should be used. - /// - /// an instance of . - /// - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISettingsProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) - { - return new SettingsProperties(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. - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISettingsProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(jsonText)); - - /// - /// Deserializes a into a new instance of . - /// - /// The global::System.Collections.IDictionary content that should be used. - internal SettingsProperties(global::System.Collections.IDictionary content) - { - bool returnNow = false; - BeforeDeserializeDictionary(content, ref returnNow); - if (returnNow) - { - return; - } - // actually deserialize - if (content.Contains("GatewayProperty")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISettingsPropertiesInternal)this).GatewayProperty = (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISettingsGatewayProperties) content.GetValueForProperty("GatewayProperty",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISettingsPropertiesInternal)this).GatewayProperty, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.SettingsGatewayPropertiesTypeConverter.ConvertFrom); - } - if (content.Contains("TenantId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISettingsPropertiesInternal)this).TenantId = (string) content.GetValueForProperty("TenantId",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISettingsPropertiesInternal)this).TenantId, global::System.Convert.ToString); - } - if (content.Contains("GatewayPropertyGatewayResourceId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISettingsPropertiesInternal)this).GatewayPropertyGatewayResourceId = (string) content.GetValueForProperty("GatewayPropertyGatewayResourceId",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISettingsPropertiesInternal)this).GatewayPropertyGatewayResourceId, global::System.Convert.ToString); - } - AfterDeserializeDictionary(content); - } - - /// - /// Deserializes a into a new instance of . - /// - /// The global::System.Management.Automation.PSObject content that should be used. - internal SettingsProperties(global::System.Management.Automation.PSObject content) - { - bool returnNow = false; - BeforeDeserializePSObject(content, ref returnNow); - if (returnNow) - { - return; - } - // actually deserialize - if (content.Contains("GatewayProperty")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISettingsPropertiesInternal)this).GatewayProperty = (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISettingsGatewayProperties) content.GetValueForProperty("GatewayProperty",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISettingsPropertiesInternal)this).GatewayProperty, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.SettingsGatewayPropertiesTypeConverter.ConvertFrom); - } - if (content.Contains("TenantId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISettingsPropertiesInternal)this).TenantId = (string) content.GetValueForProperty("TenantId",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISettingsPropertiesInternal)this).TenantId, global::System.Convert.ToString); - } - if (content.Contains("GatewayPropertyGatewayResourceId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISettingsPropertiesInternal)this).GatewayPropertyGatewayResourceId = (string) content.GetValueForProperty("GatewayPropertyGatewayResourceId",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISettingsPropertiesInternal)this).GatewayPropertyGatewayResourceId, global::System.Convert.ToString); - } - AfterDeserializePSObject(content); - } - - /// Serializes this instance to a json string. - - /// a containing this model serialized to JSON text. - public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeAll)?.ToString(); - - public override string ToString() - { - var returnNow = false; - var result = global::System.String.Empty; - OverrideToString(ref result, ref returnNow); - if (returnNow) - { - return result; - } - return ToJsonString(); - } - } - /// Settings properties - [System.ComponentModel.TypeConverter(typeof(SettingsPropertiesTypeConverter))] - public partial interface ISettingsProperties - - { - - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/SettingsProperties.TypeConverter.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/SettingsProperties.TypeConverter.cs deleted file mode 100644 index ac424995704d..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/SettingsProperties.TypeConverter.cs +++ /dev/null @@ -1,147 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models -{ - using Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell; - - /// - /// A PowerShell PSTypeConverter to support converting to an instance of - /// - public partial class SettingsPropertiesTypeConverter : global::System.Management.Automation.PSTypeConverter - { - - /// - /// Determines if the converter can convert the parameter to the parameter. - /// - /// the to convert from - /// the to convert to - /// - /// true if the converter can convert the parameter to the parameter, otherwise false. - /// - public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); - - /// - /// Determines if the converter can convert the parameter to the - /// type. - /// - /// the instance to check if it can be converted to the type. - /// - /// true if the instance could be converted to a type, otherwise false - /// - public static bool CanConvertFrom(dynamic sourceValue) - { - if (null == sourceValue) - { - return true; - } - global::System.Type type = sourceValue.GetType(); - if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) - { - // we say yest to PSObjects - return true; - } - if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) - { - // we say yest to Hashtables/dictionaries - return true; - } - try - { - if (null != sourceValue.ToJsonString()) - { - return true; - } - } - catch - { - // Not one of our objects - } - try - { - string text = sourceValue.ToString()?.Trim(); - return true == text?.StartsWith("{") && true == text?.EndsWith("}") && Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(text).Type == Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonType.Object; - } - catch - { - // Doesn't look like it can be treated as JSON - } - return false; - } - - /// - /// Determines if the parameter can be converted to the - /// parameter - /// - /// the to convert from - /// the to convert to - /// - /// true if the converter can convert the parameter to the parameter, otherwise false - /// - public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; - - /// - /// Converts the parameter to the parameter using and - /// - /// the to convert from - /// the to convert to - /// 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. - /// - 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 - /// - /// the value to convert into an instance of . - /// - /// an instance of , or null if there is no suitable conversion. - /// - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISettingsProperties ConvertFrom(dynamic sourceValue) - { - if (null == sourceValue) - { - return null; - } - global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISettingsProperties).IsAssignableFrom(type)) - { - return sourceValue; - } - try - { - return SettingsProperties.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; - } - catch - { - // Unable to use JSON pattern - } - if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) - { - return SettingsProperties.DeserializeFromPSObject(sourceValue); - } - if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) - { - return SettingsProperties.DeserializeFromDictionary(sourceValue); - } - return null; - } - - /// NotImplemented -- this will return null - /// the to convert from - /// the to convert to - /// not used by this TypeConverter. - /// when set to true, will ignore the case when converting. - /// will always return null. - public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null; - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/SettingsProperties.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/SettingsProperties.cs deleted file mode 100644 index 6ddc78db50a0..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/SettingsProperties.cs +++ /dev/null @@ -1,86 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models -{ - using static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Extensions; - - /// Settings properties - public partial class SettingsProperties : - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISettingsProperties, - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISettingsPropertiesInternal - { - - /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISettingsGatewayProperties _gatewayProperty; - - /// Settings Gateway properties - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISettingsGatewayProperties GatewayProperty { get => (this._gatewayProperty = this._gatewayProperty ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.SettingsGatewayProperties()); set => this._gatewayProperty = value; } - - /// Associated Gateway Resource Id - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)] - public string GatewayPropertyGatewayResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISettingsGatewayPropertiesInternal)GatewayProperty).GatewayResourceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISettingsGatewayPropertiesInternal)GatewayProperty).GatewayResourceId = value ?? null; } - - /// Internal Acessors for GatewayProperty - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISettingsGatewayProperties Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISettingsPropertiesInternal.GatewayProperty { get => (this._gatewayProperty = this._gatewayProperty ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.SettingsGatewayProperties()); set { {_gatewayProperty = value;} } } - - /// Internal Acessors for TenantId - string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISettingsPropertiesInternal.TenantId { get => this._tenantId; set { {_tenantId = value;} } } - - /// Backing field for property. - private string _tenantId; - - /// Azure resource tenant Id - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Owned)] - public string TenantId { get => this._tenantId; } - - /// Creates an new instance. - public SettingsProperties() - { - - } - } - /// Settings properties - public partial interface ISettingsProperties : - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IJsonSerializable - { - /// Associated Gateway Resource Id - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Read = true, - Create = true, - Update = true, - Description = @"Associated Gateway Resource Id", - SerializedName = @"gatewayResourceId", - PossibleTypes = new [] { typeof(string) })] - string GatewayPropertyGatewayResourceId { get; set; } - /// Azure resource tenant Id - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = true, - Read = true, - Create = false, - Update = false, - Description = @"Azure resource tenant Id", - SerializedName = @"tenantId", - PossibleTypes = new [] { typeof(string) })] - string TenantId { get; } - - } - /// Settings properties - internal partial interface ISettingsPropertiesInternal - - { - /// Settings Gateway properties - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISettingsGatewayProperties GatewayProperty { get; set; } - /// Associated Gateway Resource Id - string GatewayPropertyGatewayResourceId { get; set; } - /// Azure resource tenant Id - string TenantId { get; set; } - - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/SettingsProperties.json.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/SettingsProperties.json.cs deleted file mode 100644 index 48b43bf81d26..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/SettingsProperties.json.cs +++ /dev/null @@ -1,113 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models -{ - using static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Extensions; - - /// Settings properties - public partial class SettingsProperties - { - - /// - /// AfterFromJson will be called after the json deserialization has finished, allowing customization of the object - /// before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The JsonNode that should be deserialized into this object. - - partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json); - - /// - /// AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The JSON container that the serialization result will be placed in. - - partial void AfterToJson(ref Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject container); - - /// - /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of - /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the - /// output parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The JsonNode that should be deserialized into this object. - /// Determines if the rest of the deserialization should be processed, or if the method should return - /// instantly. - - partial void BeforeFromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json, ref bool returnNow); - - /// - /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the - /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output - /// parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The JSON container that the serialization result will be placed in. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject container, ref bool returnNow); - - /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISettingsProperties. - /// - /// a to deserialize from. - /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISettingsProperties. - /// - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISettingsProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode node) - { - return node is Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json ? new SettingsProperties(json) : null; - } - - /// - /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject into a new instance of . - /// - /// A Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject instance to deserialize from. - internal SettingsProperties(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json) - { - bool returnNow = false; - BeforeFromJson(json, ref returnNow); - if (returnNow) - { - return; - } - {_gatewayProperty = If( json?.PropertyT("gatewayProperties"), out var __jsonGatewayProperties) ? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.SettingsGatewayProperties.FromJson(__jsonGatewayProperties) : _gatewayProperty;} - {_tenantId = If( json?.PropertyT("tenantId"), out var __jsonTenantId) ? (string)__jsonTenantId : (string)_tenantId;} - AfterFromJson(json); - } - - /// - /// Serializes this instance of 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 . - /// - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode) - { - container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject(); - - bool returnNow = false; - BeforeToJson(ref container, ref returnNow); - if (returnNow) - { - return container; - } - AddIf( null != this._gatewayProperty ? (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode) this._gatewayProperty.ToJson(null,serializationMode) : null, "gatewayProperties" ,container.Add ); - if (serializationMode.HasFlag(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeRead)) - { - AddIf( null != (((object)this._tenantId)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonString(this._tenantId.ToString()) : null, "tenantId" ,container.Add ); - } - AfterToJson(ref container); - return container; - } - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/TrackedResourceAutoGenerated.PowerShell.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/TrackedResourceAutoGenerated.PowerShell.cs deleted file mode 100644 index 93b8e8468d6f..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/TrackedResourceAutoGenerated.PowerShell.cs +++ /dev/null @@ -1,254 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models -{ - using Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell; - - /// - /// The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' - /// - [System.ComponentModel.TypeConverter(typeof(TrackedResourceAutoGeneratedTypeConverter))] - public partial class TrackedResourceAutoGenerated - { - - /// - /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the - /// object before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The global::System.Collections.IDictionary content that should be used. - - partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); - - /// - /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object - /// before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The global::System.Management.Automation.PSObject content that should be used. - - partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); - - /// - /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization - /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output - /// parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The global::System.Collections.IDictionary content that should be used. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); - - /// - /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization - /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output - /// parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The global::System.Management.Automation.PSObject content that should be used. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); - - /// - /// OverrideToString will be called if it is implemented. Implement this method in a partial class to enable this behavior - /// - /// /// instance serialized to a string, normally it is a Json - /// /// set returnNow to true if you provide a customized OverrideToString function - - partial void OverrideToString(ref string stringResult, ref bool returnNow); - - /// - /// Deserializes a into an instance of . - /// - /// The global::System.Collections.IDictionary content that should be used. - /// - /// an instance of . - /// - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceAutoGenerated DeserializeFromDictionary(global::System.Collections.IDictionary content) - { - return new TrackedResourceAutoGenerated(content); - } - - /// - /// Deserializes a into an instance of . - /// - /// The global::System.Management.Automation.PSObject content that should be used. - /// - /// an instance of . - /// - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceAutoGenerated DeserializeFromPSObject(global::System.Management.Automation.PSObject content) - { - return new TrackedResourceAutoGenerated(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. - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceAutoGenerated FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(jsonText)); - - /// Serializes this instance to a json string. - - /// a containing this model serialized to JSON text. - public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeAll)?.ToString(); - - public override string ToString() - { - var returnNow = false; - var result = global::System.String.Empty; - OverrideToString(ref result, ref returnNow); - if (returnNow) - { - return result; - } - return ToJsonString(); - } - - /// - /// Deserializes a into a new instance of . - /// - /// The global::System.Collections.IDictionary content that should be used. - internal TrackedResourceAutoGenerated(global::System.Collections.IDictionary content) - { - bool returnNow = false; - BeforeDeserializeDictionary(content, ref returnNow); - if (returnNow) - { - return; - } - // actually deserialize - if (content.Contains("Tags")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceAutoGeneratedInternal)this).Tags = (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceTags) content.GetValueForProperty("Tags",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceAutoGeneratedInternal)this).Tags, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.TrackedResourceTagsTypeConverter.ConvertFrom); - } - if (content.Contains("Location")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceAutoGeneratedInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceAutoGeneratedInternal)this).Location, global::System.Convert.ToString); - } - if (content.Contains("SystemDataCreatedBy")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)this).SystemDataCreatedBy = (string) content.GetValueForProperty("SystemDataCreatedBy",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)this).SystemDataCreatedBy, global::System.Convert.ToString); - } - if (content.Contains("SystemDataCreatedAt")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)this).SystemDataCreatedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataCreatedAt",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)this).SystemDataCreatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); - } - if (content.Contains("SystemDataCreatedByType")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)this).SystemDataCreatedByType = (string) content.GetValueForProperty("SystemDataCreatedByType",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)this).SystemDataCreatedByType, global::System.Convert.ToString); - } - if (content.Contains("SystemDataLastModifiedBy")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)this).SystemDataLastModifiedBy = (string) content.GetValueForProperty("SystemDataLastModifiedBy",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)this).SystemDataLastModifiedBy, global::System.Convert.ToString); - } - if (content.Contains("SystemDataLastModifiedByType")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)this).SystemDataLastModifiedByType = (string) content.GetValueForProperty("SystemDataLastModifiedByType",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)this).SystemDataLastModifiedByType, global::System.Convert.ToString); - } - if (content.Contains("SystemDataLastModifiedAt")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)this).SystemDataLastModifiedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataLastModifiedAt",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)this).SystemDataLastModifiedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); - } - if (content.Contains("SystemData")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.SystemDataTypeConverter.ConvertFrom); - } - if (content.Contains("Id")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)this).Id, global::System.Convert.ToString); - } - if (content.Contains("Name")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)this).Name, global::System.Convert.ToString); - } - if (content.Contains("Type")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)this).Type, global::System.Convert.ToString); - } - AfterDeserializeDictionary(content); - } - - /// - /// Deserializes a into a new instance of . - /// - /// The global::System.Management.Automation.PSObject content that should be used. - internal TrackedResourceAutoGenerated(global::System.Management.Automation.PSObject content) - { - bool returnNow = false; - BeforeDeserializePSObject(content, ref returnNow); - if (returnNow) - { - return; - } - // actually deserialize - if (content.Contains("Tags")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceAutoGeneratedInternal)this).Tags = (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceTags) content.GetValueForProperty("Tags",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceAutoGeneratedInternal)this).Tags, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.TrackedResourceTagsTypeConverter.ConvertFrom); - } - if (content.Contains("Location")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceAutoGeneratedInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceAutoGeneratedInternal)this).Location, global::System.Convert.ToString); - } - if (content.Contains("SystemDataCreatedBy")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)this).SystemDataCreatedBy = (string) content.GetValueForProperty("SystemDataCreatedBy",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)this).SystemDataCreatedBy, global::System.Convert.ToString); - } - if (content.Contains("SystemDataCreatedAt")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)this).SystemDataCreatedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataCreatedAt",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)this).SystemDataCreatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); - } - if (content.Contains("SystemDataCreatedByType")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)this).SystemDataCreatedByType = (string) content.GetValueForProperty("SystemDataCreatedByType",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)this).SystemDataCreatedByType, global::System.Convert.ToString); - } - if (content.Contains("SystemDataLastModifiedBy")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)this).SystemDataLastModifiedBy = (string) content.GetValueForProperty("SystemDataLastModifiedBy",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)this).SystemDataLastModifiedBy, global::System.Convert.ToString); - } - if (content.Contains("SystemDataLastModifiedByType")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)this).SystemDataLastModifiedByType = (string) content.GetValueForProperty("SystemDataLastModifiedByType",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)this).SystemDataLastModifiedByType, global::System.Convert.ToString); - } - if (content.Contains("SystemDataLastModifiedAt")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)this).SystemDataLastModifiedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataLastModifiedAt",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)this).SystemDataLastModifiedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); - } - if (content.Contains("SystemData")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.SystemDataTypeConverter.ConvertFrom); - } - if (content.Contains("Id")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)this).Id, global::System.Convert.ToString); - } - if (content.Contains("Name")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)this).Name, global::System.Convert.ToString); - } - if (content.Contains("Type")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)this).Type, global::System.Convert.ToString); - } - AfterDeserializePSObject(content); - } - } - /// The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' - [System.ComponentModel.TypeConverter(typeof(TrackedResourceAutoGeneratedTypeConverter))] - public partial interface ITrackedResourceAutoGenerated - - { - - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/TrackedResourceAutoGenerated.TypeConverter.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/TrackedResourceAutoGenerated.TypeConverter.cs deleted file mode 100644 index ed2d0886728e..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/TrackedResourceAutoGenerated.TypeConverter.cs +++ /dev/null @@ -1,147 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models -{ - using Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell; - - /// - /// A PowerShell PSTypeConverter to support converting to an instance of - /// - public partial class TrackedResourceAutoGeneratedTypeConverter : global::System.Management.Automation.PSTypeConverter - { - - /// - /// Determines if the converter can convert the parameter to the parameter. - /// - /// the to convert from - /// the to convert to - /// - /// true if the converter can convert the parameter to the parameter, otherwise false. - /// - public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); - - /// - /// Determines if the converter can convert the parameter to the - /// type. - /// - /// the instance to check if it can be converted to the type. - /// - /// true if the instance could be converted to a type, otherwise false - /// - public static bool CanConvertFrom(dynamic sourceValue) - { - if (null == sourceValue) - { - return true; - } - global::System.Type type = sourceValue.GetType(); - if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) - { - // we say yest to PSObjects - return true; - } - if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) - { - // we say yest to Hashtables/dictionaries - return true; - } - try - { - if (null != sourceValue.ToJsonString()) - { - return true; - } - } - catch - { - // Not one of our objects - } - try - { - string text = sourceValue.ToString()?.Trim(); - return true == text?.StartsWith("{") && true == text?.EndsWith("}") && Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode.Parse(text).Type == Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonType.Object; - } - catch - { - // Doesn't look like it can be treated as JSON - } - return false; - } - - /// - /// Determines if the parameter can be converted to the - /// parameter - /// - /// the to convert from - /// the to convert to - /// - /// true if the converter can convert the parameter to the parameter, otherwise false - /// - public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; - - /// - /// Converts the parameter to the parameter using and - /// - /// the to convert from - /// the to convert to - /// 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. - /// - 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 - /// - /// the value to convert into an instance of . - /// - /// an instance of , or null if there is no suitable conversion. - /// - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceAutoGenerated ConvertFrom(dynamic sourceValue) - { - if (null == sourceValue) - { - return null; - } - global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceAutoGenerated).IsAssignableFrom(type)) - { - return sourceValue; - } - try - { - return TrackedResourceAutoGenerated.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; - } - catch - { - // Unable to use JSON pattern - } - if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) - { - return TrackedResourceAutoGenerated.DeserializeFromPSObject(sourceValue); - } - if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) - { - return TrackedResourceAutoGenerated.DeserializeFromDictionary(sourceValue); - } - return null; - } - - /// NotImplemented -- this will return null - /// the to convert from - /// the to convert to - /// not used by this TypeConverter. - /// when set to true, will ignore the case when converting. - /// will always return null. - public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null; - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/TrackedResourceAutoGenerated.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/TrackedResourceAutoGenerated.cs deleted file mode 100644 index b03428b839e9..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/TrackedResourceAutoGenerated.cs +++ /dev/null @@ -1,153 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models -{ - using static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Extensions; - - /// - /// The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' - /// - public partial class TrackedResourceAutoGenerated : - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceAutoGenerated, - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceAutoGeneratedInternal, - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IValidates - { - /// - /// Backing field for Inherited model - /// - private Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGenerated __resourceAutoGenerated = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ResourceAutoGenerated(); - - /// - /// Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" - /// - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)] - public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).Id; } - - /// Backing field for property. - private string _location; - - /// The geo-location where the resource lives - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Owned)] - public string Location { get => this._location; set => this._location = value; } - - /// Internal Acessors for Id - string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).Id = value; } - - /// Internal Acessors for Name - string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).Name = value; } - - /// Internal Acessors for SystemData - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).SystemData = value; } - - /// Internal Acessors for Type - string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).Type = value; } - - /// The name of the resource - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)] - public string Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).Name; } - - /// - /// Azure Resource Manager metadata containing createdBy and modifiedBy information. - /// - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)] - internal Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).SystemData; } - - /// The timestamp of resource creation (UTC). - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)] - public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).SystemDataCreatedAt = value ?? default(global::System.DateTime); } - - /// The identity that created the resource. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)] - public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).SystemDataCreatedBy = value ?? null; } - - /// The type of identity that created the resource. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)] - public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).SystemDataCreatedByType = value ?? null; } - - /// The timestamp of resource last modification (UTC) - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)] - public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); } - - /// The identity that last modified the resource. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)] - public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).SystemDataLastModifiedBy = value ?? null; } - - /// The type of identity that last modified the resource. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)] - public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).SystemDataLastModifiedByType = value ?? null; } - - /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceTags _tags; - - /// Resource tags. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceTags Tags { get => (this._tags = this._tags ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.TrackedResourceTags()); set => this._tags = value; } - - /// - /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - /// - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)] - public string Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).Type; } - - /// Creates an new instance. - public TrackedResourceAutoGenerated() - { - - } - - /// Validates that this object meets the validation criteria. - /// an instance that will receive validation - /// events. - /// - /// A that will be complete when validation is completed. - /// - public async global::System.Threading.Tasks.Task Validate(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener) - { - await eventListener.AssertNotNull(nameof(__resourceAutoGenerated), __resourceAutoGenerated); - await eventListener.AssertObjectIsValid(nameof(__resourceAutoGenerated), __resourceAutoGenerated); - } - } - /// The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' - public partial interface ITrackedResourceAutoGenerated : - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IJsonSerializable, - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGenerated - { - /// The geo-location where the resource lives - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = true, - ReadOnly = false, - Read = true, - Create = true, - Update = false, - Description = @"The geo-location where the resource lives", - SerializedName = @"location", - PossibleTypes = new [] { typeof(string) })] - string Location { get; set; } - /// Resource tags. - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Read = true, - Create = true, - Update = true, - Description = @"Resource tags.", - SerializedName = @"tags", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceTags) })] - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceTags Tags { get; set; } - - } - /// The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' - internal partial interface ITrackedResourceAutoGeneratedInternal : - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal - { - /// The geo-location where the resource lives - string Location { get; set; } - /// Resource tags. - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceTags Tags { get; set; } - - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/TrackedResourceAutoGenerated.json.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/TrackedResourceAutoGenerated.json.cs deleted file mode 100644 index 0a5af44957e5..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/TrackedResourceAutoGenerated.json.cs +++ /dev/null @@ -1,117 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models -{ - using static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Extensions; - - /// - /// The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' - /// - public partial class TrackedResourceAutoGenerated - { - - /// - /// AfterFromJson will be called after the json deserialization has finished, allowing customization of the object - /// before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The JsonNode that should be deserialized into this object. - - partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json); - - /// - /// AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The JSON container that the serialization result will be placed in. - - partial void AfterToJson(ref Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject container); - - /// - /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of - /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the - /// output parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The JsonNode that should be deserialized into this object. - /// Determines if the rest of the deserialization should be processed, or if the method should return - /// instantly. - - partial void BeforeFromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json, ref bool returnNow); - - /// - /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the - /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output - /// parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The JSON container that the serialization result will be placed in. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject container, ref bool returnNow); - - /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceAutoGenerated. - /// - /// a to deserialize from. - /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceAutoGenerated. - /// - public static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceAutoGenerated FromJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode node) - { - return node is Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json ? new TrackedResourceAutoGenerated(json) : null; - } - - /// - /// Serializes this instance of 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 . - /// - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode serializationMode) - { - container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject(); - - bool returnNow = false; - BeforeToJson(ref container, ref returnNow); - if (returnNow) - { - return container; - } - __resourceAutoGenerated?.ToJson(container, serializationMode); - AddIf( null != this._tags ? (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode) this._tags.ToJson(null,serializationMode) : null, "tags" ,container.Add ); - if (serializationMode.HasFlag(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeRead)||serializationMode.HasFlag(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate)) - { - AddIf( null != (((object)this._location)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonString(this._location.ToString()) : null, "location" ,container.Add ); - } - AfterToJson(ref container); - return container; - } - - /// - /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject into a new instance of . - /// - /// A Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject instance to deserialize from. - internal TrackedResourceAutoGenerated(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject json) - { - bool returnNow = false; - BeforeFromJson(json, ref returnNow); - if (returnNow) - { - return; - } - __resourceAutoGenerated = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ResourceAutoGenerated(json); - {_tags = If( json?.PropertyT("tags"), out var __jsonTags) ? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.TrackedResourceTags.FromJson(__jsonTags) : _tags;} - {_location = If( json?.PropertyT("location"), out var __jsonLocation) ? (string)__jsonLocation : (string)_location;} - AfterFromJson(json); - } - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/GetAzConnectedExtensionMetadata_Get.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/GetAzConnectedExtensionMetadata_Get.cs index d7102e9dc896..8e833fa7d290 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/GetAzConnectedExtensionMetadata_Get.cs +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/GetAzConnectedExtensionMetadata_Get.cs @@ -20,7 +20,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IExtensionValue))] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"Gets an Extension Metadata based on location, publisher, extensionType and version")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/locations/{location}/publishers/{publisher}/extensionTypes/{extensionType}/versions/{version}", ApiVersion = "2024-05-20-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/locations/{location}/publishers/{publisher}/extensionTypes/{extensionType}/versions/{version}", ApiVersion = "2024-07-10")] public partial class GetAzConnectedExtensionMetadata_Get : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IContext diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/GetAzConnectedExtensionMetadata_List.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/GetAzConnectedExtensionMetadata_List.cs index 2330d10e28bd..524a0f679c36 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/GetAzConnectedExtensionMetadata_List.cs +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/GetAzConnectedExtensionMetadata_List.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IExtensionValue))] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"Gets all Extension versions based on location, publisher, extensionType")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/locations/{location}/publishers/{publisher}/extensionTypes/{extensionType}/versions", ApiVersion = "2024-05-20-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/locations/{location}/publishers/{publisher}/extensionTypes/{extensionType}/versions", ApiVersion = "2024-07-10")] public partial class GetAzConnectedExtensionMetadata_List : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IContext diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/GetAzConnectedLicense_Get.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/GetAzConnectedLicense_Get.cs index e63d53fda654..41f16e30a1ab 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/GetAzConnectedLicense_Get.cs +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/GetAzConnectedLicense_Get.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicense))] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"Retrieves information about the view of a license.")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/licenses/{licenseName}", ApiVersion = "2024-05-20-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/licenses/{licenseName}", ApiVersion = "2024-07-10")] public partial class GetAzConnectedLicense_Get : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IContext diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/GetAzConnectedLicense_List.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/GetAzConnectedLicense_List.cs index 4494f6579d5a..378dc55b4d07 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/GetAzConnectedLicense_List.cs +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/GetAzConnectedLicense_List.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicense))] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"The operation to get all licenses of a non-Azure machine")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/licenses", ApiVersion = "2024-05-20-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/licenses", ApiVersion = "2024-07-10")] public partial class GetAzConnectedLicense_List : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IContext diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/GetAzConnectedLicense_List1.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/GetAzConnectedLicense_List1.cs index 61803490f892..b812c83ef720 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/GetAzConnectedLicense_List1.cs +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/GetAzConnectedLicense_List1.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicense))] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"The operation to get all licenses of a non-Azure machine")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/licenses", ApiVersion = "2024-05-20-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/licenses", ApiVersion = "2024-07-10")] public partial class GetAzConnectedLicense_List1 : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IContext diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/GetAzConnectedMachineExtension_Get.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/GetAzConnectedMachineExtension_Get.cs index f4c3a9388aa4..cb8980bc73aa 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/GetAzConnectedMachineExtension_Get.cs +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/GetAzConnectedMachineExtension_Get.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtension))] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"The operation to get the extension.")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}", ApiVersion = "2024-05-20-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}", ApiVersion = "2024-07-10")] public partial class GetAzConnectedMachineExtension_Get : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IContext diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/GetAzConnectedMachineExtension_List.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/GetAzConnectedMachineExtension_List.cs index ef5f8612fd55..c66a4b8ddf51 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/GetAzConnectedMachineExtension_List.cs +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/GetAzConnectedMachineExtension_List.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtension))] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"The operation to get all extensions of a non-Azure machine")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions", ApiVersion = "2024-05-20-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions", ApiVersion = "2024-07-10")] public partial class GetAzConnectedMachineExtension_List : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IContext diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/GetAzConnectedMachineRunCommand_Get.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/GetAzConnectedMachineRunCommand_Get.cs deleted file mode 100644 index cc584b55852d..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/GetAzConnectedMachineRunCommand_Get.cs +++ /dev/null @@ -1,525 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets -{ - using static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Extensions; - using Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell; - using Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Cmdlets; - using System; - - /// The operation to get a run command. - /// - /// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/runCommands/{runCommandName}" - /// - [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzConnectedMachineRunCommand_Get")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand))] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"The operation to get a run command.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/runCommands/{runCommandName}", ApiVersion = "2024-05-20-preview")] - public partial class GetAzConnectedMachineRunCommand_Get : global::System.Management.Automation.PSCmdlet, - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IContext - { - /// A unique id generatd for the this cmdlet when it is instantiated. - private string __correlationId = System.Guid.NewGuid().ToString(); - - /// A copy of the Invocation Info (necessary to allow asJob to clone this cmdlet) - private global::System.Management.Automation.InvocationInfo __invocationInfo; - - /// A unique id generatd for the this cmdlet when ProcessRecord() is called. - private string __processRecordId; - - /// - /// The for this operation. - /// - private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); - - /// A dictionary to carry over additional data for pipeline. - private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - - /// A buffer to record first returned object in response. - private object _firstResponse = null; - - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - - /// Wait for .NET debugger to attach - [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public global::System.Management.Automation.SwitchParameter Break { get; set; } - - /// Accessor for cancellationTokenSource. - public global::System.Threading.CancellationTokenSource CancellationTokenSource { get => _cancellationTokenSource ; set { _cancellationTokenSource = value; } } - - /// The reference to the client API class. - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ConnectedMachine Client => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.ClientAPI; - - /// - /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet - /// against a different subscription - /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] - [global::System.Management.Automation.ValidateNotNull] - [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Azure)] - public global::System.Management.Automation.PSObject DefaultProfile { get; set; } - - /// Accessor for extensibleParameters. - public global::System.Collections.Generic.IDictionary ExtensibleParameters { get => _extensibleParameters ; } - - /// SendAsync Pipeline Steps to be appended to the front of the pipeline - [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] - [global::System.Management.Automation.ValidateNotNull] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SendAsyncStep[] HttpPipelineAppend { get; set; } - - /// SendAsync Pipeline Steps to be prepended to the front of the pipeline - [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be prepended to the front of the pipeline")] - [global::System.Management.Automation.ValidateNotNull] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SendAsyncStep[] HttpPipelinePrepend { get; set; } - - /// Accessor for our copy of the InvocationInfo. - public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } - - /// Backing field for property. - private string _machineName; - - /// The name of the hybrid machine. - [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the hybrid machine.")] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = true, - ReadOnly = false, - Description = @"The name of the hybrid machine.", - SerializedName = @"machineName", - PossibleTypes = new [] { typeof(string) })] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Path)] - public string MachineName { get => this._machineName; set => this._machineName = value; } - - /// - /// cancellation delegate. Stops the cmdlet when called. - /// - global::System.Action Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - - /// cancellation token. - global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener.Token => _cancellationTokenSource.Token; - - /// - /// The instance of the that the remote call will use. - /// - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.HttpPipeline Pipeline { get; set; } - - /// The URI for the proxy server to use - [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "The URI for the proxy server to use")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public global::System.Uri Proxy { get; set; } - - /// Credentials for a proxy server to use for the remote call - [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Credentials for a proxy server to use for the remote call")] - [global::System.Management.Automation.ValidateNotNull] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public global::System.Management.Automation.PSCredential ProxyCredential { get; set; } - - /// Use the default credentials for the proxy - [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Use the default credentials for the proxy")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public global::System.Management.Automation.SwitchParameter ProxyUseDefaultCredentials { get; set; } - - /// Backing field for property. - private string _resourceGroupName; - - /// The name of the resource group. The name is case insensitive. - [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the resource group. The name is case insensitive.")] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = true, - ReadOnly = false, - Description = @"The name of the resource group. The name is case insensitive.", - SerializedName = @"resourceGroupName", - PossibleTypes = new [] { typeof(string) })] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.CompleterInfo( - Name = @"ResourceGroupName Completer", - Description =@"Gets the list of ResourceGroupName's available for this subscription.", - Script = @"Get-AzResourceGroup | Select-Object -ExpandProperty ResourceGroupName")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Path)] - public string ResourceGroupName { get => this._resourceGroupName; set => this._resourceGroupName = value; } - - /// Backing field for property. - private string _runCommandName; - - /// The name of the run command. - [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the run command.")] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = true, - ReadOnly = false, - Description = @"The name of the run command.", - SerializedName = @"runCommandName", - PossibleTypes = new [] { typeof(string) })] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Path)] - public string RunCommandName { get => this._runCommandName; set => this._runCommandName = value; } - - /// Backing field for property. - private string[] _subscriptionId; - - /// The ID of the target subscription. - [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The ID of the target subscription.")] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = true, - ReadOnly = false, - Description = @"The ID of the target subscription.", - SerializedName = @"subscriptionId", - PossibleTypes = new [] { typeof(string) })] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.DefaultInfo( - Name = @"", - Description =@"", - Script = @"(Get-AzContext).Subscription.Id", - SetCondition = @"")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Path)] - public string[] SubscriptionId { get => this._subscriptionId; set => this._subscriptionId = value; } - - /// - /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what - /// happens on that response. Implement this method in a partial class to enable this behavior - /// - /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorResponse - /// from the remote call - /// /// Determines if the rest of the onDefault method should be processed, or if the method should - /// return immediately (set to true to skip further processing ) - - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); - - /// - /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens - /// on that response. Implement this method in a partial class to enable this behavior - /// - /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand - /// from the remote call - /// /// Determines if the rest of the onOk method should be processed, or if the method should return - /// immediately (set to true to skip further processing ) - - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); - - /// - /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) - /// - protected override void BeginProcessing() - { - var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.GetTelemetryId.Invoke(); - if (telemetryId != "" && telemetryId != "internal") - { - __correlationId = telemetryId; - } - Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); - if (Break) - { - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.AttachDebugger.Break(); - } - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletBeginProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - } - - /// Performs clean-up after the command execution - protected override void EndProcessing() - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } - var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); - if (telemetryInfo != null) - { - telemetryInfo.TryGetValue("ShowSecretsWarning", out var showSecretsWarning); - telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); - telemetryInfo.TryGetValue("InvocationName", out var invocationName); - if (showSecretsWarning == "true") - { - if (string.IsNullOrEmpty(sanitizedProperties)) - { - WriteWarning($"The output of cmdlet {invocationName} may compromise security by showing secrets. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); - } - else - { - WriteWarning($"The output of cmdlet {invocationName} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); - } - } - } - } - - /// - /// Initializes a new instance of the cmdlet class. - /// - public GetAzConnectedMachineRunCommand_Get() - { - - } - - /// Handles/Dispatches events during the call to the REST service. - /// The message id - /// The message cancellation token. When this call is cancelled, this should be true - /// Detailed message data for the message event. - /// - /// A that will be complete when handling of the message is completed. - /// - async global::System.Threading.Tasks.Task Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener.Signal(string id, global::System.Threading.CancellationToken token, global::System.Func messageData) - { - using( NoSynchronizationContext ) - { - if (token.IsCancellationRequested) - { - return ; - } - - switch ( id ) - { - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Verbose: - { - WriteVerbose($"{(messageData().Message ?? global::System.String.Empty)}"); - return ; - } - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Warning: - { - WriteWarning($"{(messageData().Message ?? global::System.String.Empty)}"); - return ; - } - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Information: - { - var data = messageData(); - WriteInformation(data.Message, new string[]{}); - return ; - } - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Debug: - { - WriteDebug($"{(messageData().Message ?? global::System.String.Empty)}"); - return ; - } - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Error: - { - WriteError(new global::System.Management.Automation.ErrorRecord( new global::System.Exception(messageData().Message), string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null ) ); - return ; - } - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress: - { - var data = messageData(); - int progress = (int)data.Value; - string activityMessage, statusDescription; - global::System.Management.Automation.ProgressRecordType recordType; - if (progress < 100) - { - activityMessage = "In progress"; - statusDescription = "Checking operation status"; - recordType = System.Management.Automation.ProgressRecordType.Processing; - } - else - { - activityMessage = "Completed"; - statusDescription = "Completed"; - recordType = System.Management.Automation.ProgressRecordType.Completed; - } - WriteProgress(new global::System.Management.Automation.ProgressRecord(1, activityMessage, statusDescription) - { - PercentComplete = progress, - RecordType = recordType - }); - return ; - } - } - await Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.Signal(id, token, messageData, (i, t, m) => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(i, t, () => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.EventDataConverter.ConvertFrom(m()) as Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.EventData), InvocationInformation, this.ParameterSetName, __correlationId, __processRecordId, null ); - if (token.IsCancellationRequested) - { - return ; - } - WriteDebug($"{id}: {(messageData().Message ?? global::System.String.Empty)}"); - } - } - - /// Performs execution of the command. - protected override void ProcessRecord() - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletProcessRecordStart).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - __processRecordId = System.Guid.NewGuid().ToString(); - try - { - // work - using( var asyncCommandRuntime = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell.AsyncCommandRuntime(this, ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token) ) - { - asyncCommandRuntime.Wait( ProcessRecordAsync(),((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token); - } - } - catch (global::System.AggregateException aggregateException) - { - // unroll the inner exceptions to get the root cause - foreach( var innerException in aggregateException.Flatten().InnerExceptions ) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletException, $"{innerException.GetType().Name} - {innerException.Message} : {innerException.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - // Write exception out to error channel. - WriteError( new global::System.Management.Automation.ErrorRecord(innerException,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); - } - } - catch (global::System.Exception exception) when ((exception as System.Management.Automation.PipelineStoppedException)== null || (exception as System.Management.Automation.PipelineStoppedException).InnerException != null) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletException, $"{exception.GetType().Name} - {exception.Message} : {exception.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - // Write exception out to error channel. - WriteError( new global::System.Management.Automation.ErrorRecord(exception,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); - } - finally - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletProcessRecordEnd).Wait(); - } - } - - /// Performs execution of the command, working asynchronously if required. - /// - /// A that will be complete when handling of the method is completed. - /// - protected async global::System.Threading.Tasks.Task ProcessRecordAsync() - { - using( NoSynchronizationContext ) - { - await ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - Pipeline = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName, this.ExtensibleParameters); - if (null != HttpPipelinePrepend) - { - Pipeline.Prepend((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelinePrepend) ?? HttpPipelinePrepend); - } - if (null != HttpPipelineAppend) - { - Pipeline.Append((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelineAppend) ?? HttpPipelineAppend); - } - // get the client instance - try - { - foreach( var SubscriptionId in this.SubscriptionId ) - { - await ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - await this.Client.MachineRunCommandsGet(SubscriptionId, ResourceGroupName, MachineName, RunCommandName, onOk, onDefault, this, Pipeline); - await ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - } - } - catch (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.UndeclaredResponseException urexception) - { - WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId,ResourceGroupName=ResourceGroupName,MachineName=MachineName,RunCommandName=RunCommandName}) - { - ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } - }); - } - finally - { - await ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletProcessRecordAsyncEnd); - } - } - } - - /// Interrupts currently running code within the command. - protected override void StopProcessing() - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Cancel(); - base.StopProcessing(); - } - - /// - new protected void WriteObject(object sendToPipeline) - { - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); - base.WriteObject(sendToPipeline); - } - - /// - /// - new protected void WriteObject(object sendToPipeline, bool enumerateCollection) - { - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); - base.WriteObject(sendToPipeline, enumerateCollection); - } - - /// - /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). - /// - /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorResponse - /// from the remote call - /// - /// A that will be complete when handling of the method is completed. - /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) - { - using( NoSynchronizationContext ) - { - var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); - overrideOnDefault(responseMessage, response, ref _returnNow); - // if overrideOnDefault has returned true, then return right away. - if ((null != _returnNow && await _returnNow)) - { - return ; - } - // Error Response : default - var code = (await response)?.Code; - var message = (await response)?.Message; - if ((null == code || null == message)) - { - // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.RestException(responseMessage, await response); - WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) - { - ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } - }); - } - else - { - WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) - { - ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } - }); - } - } - } - - /// a delegate that is called when the remote service returns 200 (OK). - /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand - /// from the remote call - /// - /// A that will be complete when handling of the method is completed. - /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) - { - using( NoSynchronizationContext ) - { - var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); - overrideOnOk(responseMessage, response, ref _returnNow); - // if overrideOnOk has returned true, then return right away. - if ((null != _returnNow && await _returnNow)) - { - return ; - } - // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand - var result = (await response); - if (null != result) - { - if (0 == _responseSize) - { - _firstResponse = result; - _responseSize = 1; - } - else - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); - } - WriteObject(result.AddMultipleTypeNameIntoPSObject()); - _responseSize = 2; - } - } - } - } - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/GetAzConnectedMachineRunCommand_List.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/GetAzConnectedMachineRunCommand_List.cs deleted file mode 100644 index 66830d2c4c4b..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/GetAzConnectedMachineRunCommand_List.cs +++ /dev/null @@ -1,552 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets -{ - using static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Extensions; - using Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell; - using Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Cmdlets; - using System; - - /// The operation to get all the run commands of a non-Azure machine. - /// - /// [OpenAPI] List=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/runCommands" - /// - [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzConnectedMachineRunCommand_List")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand))] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"The operation to get all the run commands of a non-Azure machine.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/runCommands", ApiVersion = "2024-05-20-preview")] - public partial class GetAzConnectedMachineRunCommand_List : global::System.Management.Automation.PSCmdlet, - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IContext - { - /// A unique id generatd for the this cmdlet when it is instantiated. - private string __correlationId = System.Guid.NewGuid().ToString(); - - /// A copy of the Invocation Info (necessary to allow asJob to clone this cmdlet) - private global::System.Management.Automation.InvocationInfo __invocationInfo; - - /// A unique id generatd for the this cmdlet when ProcessRecord() is called. - private string __processRecordId; - - /// - /// The for this operation. - /// - private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); - - /// A dictionary to carry over additional data for pipeline. - private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - - /// A buffer to record first returned object in response. - private object _firstResponse = null; - - /// A flag to tell whether it is the first onOK call. - private bool _isFirst = true; - - /// Link to retrieve next page. - private string _nextLink; - - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - - /// Wait for .NET debugger to attach - [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public global::System.Management.Automation.SwitchParameter Break { get; set; } - - /// Accessor for cancellationTokenSource. - public global::System.Threading.CancellationTokenSource CancellationTokenSource { get => _cancellationTokenSource ; set { _cancellationTokenSource = value; } } - - /// The reference to the client API class. - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ConnectedMachine Client => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.ClientAPI; - - /// - /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet - /// against a different subscription - /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] - [global::System.Management.Automation.ValidateNotNull] - [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Azure)] - public global::System.Management.Automation.PSObject DefaultProfile { get; set; } - - /// Backing field for property. - private string _expand; - - /// The expand expression to apply on the operation. - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The expand expression to apply on the operation.")] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"The expand expression to apply on the operation.", - SerializedName = @"$expand", - PossibleTypes = new [] { typeof(string) })] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Query)] - public string Expand { get => this._expand; set => this._expand = value; } - - /// Accessor for extensibleParameters. - public global::System.Collections.Generic.IDictionary ExtensibleParameters { get => _extensibleParameters ; } - - /// SendAsync Pipeline Steps to be appended to the front of the pipeline - [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] - [global::System.Management.Automation.ValidateNotNull] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SendAsyncStep[] HttpPipelineAppend { get; set; } - - /// SendAsync Pipeline Steps to be prepended to the front of the pipeline - [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be prepended to the front of the pipeline")] - [global::System.Management.Automation.ValidateNotNull] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SendAsyncStep[] HttpPipelinePrepend { get; set; } - - /// Accessor for our copy of the InvocationInfo. - public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } - - /// Backing field for property. - private string _machineName; - - /// The name of the hybrid machine. - [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the hybrid machine.")] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = true, - ReadOnly = false, - Description = @"The name of the hybrid machine.", - SerializedName = @"machineName", - PossibleTypes = new [] { typeof(string) })] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Path)] - public string MachineName { get => this._machineName; set => this._machineName = value; } - - /// - /// cancellation delegate. Stops the cmdlet when called. - /// - global::System.Action Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - - /// cancellation token. - global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener.Token => _cancellationTokenSource.Token; - - /// - /// The instance of the that the remote call will use. - /// - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.HttpPipeline Pipeline { get; set; } - - /// The URI for the proxy server to use - [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "The URI for the proxy server to use")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public global::System.Uri Proxy { get; set; } - - /// Credentials for a proxy server to use for the remote call - [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Credentials for a proxy server to use for the remote call")] - [global::System.Management.Automation.ValidateNotNull] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public global::System.Management.Automation.PSCredential ProxyCredential { get; set; } - - /// Use the default credentials for the proxy - [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Use the default credentials for the proxy")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public global::System.Management.Automation.SwitchParameter ProxyUseDefaultCredentials { get; set; } - - /// Backing field for property. - private string _resourceGroupName; - - /// The name of the resource group. The name is case insensitive. - [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the resource group. The name is case insensitive.")] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = true, - ReadOnly = false, - Description = @"The name of the resource group. The name is case insensitive.", - SerializedName = @"resourceGroupName", - PossibleTypes = new [] { typeof(string) })] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.CompleterInfo( - Name = @"ResourceGroupName Completer", - Description =@"Gets the list of ResourceGroupName's available for this subscription.", - Script = @"Get-AzResourceGroup | Select-Object -ExpandProperty ResourceGroupName")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Path)] - public string ResourceGroupName { get => this._resourceGroupName; set => this._resourceGroupName = value; } - - /// Backing field for property. - private string[] _subscriptionId; - - /// The ID of the target subscription. - [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The ID of the target subscription.")] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = true, - ReadOnly = false, - Description = @"The ID of the target subscription.", - SerializedName = @"subscriptionId", - PossibleTypes = new [] { typeof(string) })] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.DefaultInfo( - Name = @"", - Description =@"", - Script = @"(Get-AzContext).Subscription.Id", - SetCondition = @"")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Path)] - public string[] SubscriptionId { get => this._subscriptionId; set => this._subscriptionId = value; } - - /// - /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what - /// happens on that response. Implement this method in a partial class to enable this behavior - /// - /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorResponse - /// from the remote call - /// /// Determines if the rest of the onDefault method should be processed, or if the method should - /// return immediately (set to true to skip further processing ) - - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); - - /// - /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens - /// on that response. Implement this method in a partial class to enable this behavior - /// - /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandsListResult - /// from the remote call - /// /// Determines if the rest of the onOk method should be processed, or if the method should return - /// immediately (set to true to skip further processing ) - - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); - - /// - /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) - /// - protected override void BeginProcessing() - { - var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.GetTelemetryId.Invoke(); - if (telemetryId != "" && telemetryId != "internal") - { - __correlationId = telemetryId; - } - Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); - if (Break) - { - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.AttachDebugger.Break(); - } - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletBeginProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - } - - /// Performs clean-up after the command execution - protected override void EndProcessing() - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } - var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); - if (telemetryInfo != null) - { - telemetryInfo.TryGetValue("ShowSecretsWarning", out var showSecretsWarning); - telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); - telemetryInfo.TryGetValue("InvocationName", out var invocationName); - if (showSecretsWarning == "true") - { - if (string.IsNullOrEmpty(sanitizedProperties)) - { - WriteWarning($"The output of cmdlet {invocationName} may compromise security by showing secrets. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); - } - else - { - WriteWarning($"The output of cmdlet {invocationName} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); - } - } - } - } - - /// - /// Initializes a new instance of the cmdlet class. - /// - public GetAzConnectedMachineRunCommand_List() - { - - } - - /// Handles/Dispatches events during the call to the REST service. - /// The message id - /// The message cancellation token. When this call is cancelled, this should be true - /// Detailed message data for the message event. - /// - /// A that will be complete when handling of the message is completed. - /// - async global::System.Threading.Tasks.Task Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener.Signal(string id, global::System.Threading.CancellationToken token, global::System.Func messageData) - { - using( NoSynchronizationContext ) - { - if (token.IsCancellationRequested) - { - return ; - } - - switch ( id ) - { - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Verbose: - { - WriteVerbose($"{(messageData().Message ?? global::System.String.Empty)}"); - return ; - } - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Warning: - { - WriteWarning($"{(messageData().Message ?? global::System.String.Empty)}"); - return ; - } - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Information: - { - var data = messageData(); - WriteInformation(data.Message, new string[]{}); - return ; - } - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Debug: - { - WriteDebug($"{(messageData().Message ?? global::System.String.Empty)}"); - return ; - } - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Error: - { - WriteError(new global::System.Management.Automation.ErrorRecord( new global::System.Exception(messageData().Message), string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null ) ); - return ; - } - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress: - { - var data = messageData(); - int progress = (int)data.Value; - string activityMessage, statusDescription; - global::System.Management.Automation.ProgressRecordType recordType; - if (progress < 100) - { - activityMessage = "In progress"; - statusDescription = "Checking operation status"; - recordType = System.Management.Automation.ProgressRecordType.Processing; - } - else - { - activityMessage = "Completed"; - statusDescription = "Completed"; - recordType = System.Management.Automation.ProgressRecordType.Completed; - } - WriteProgress(new global::System.Management.Automation.ProgressRecord(1, activityMessage, statusDescription) - { - PercentComplete = progress, - RecordType = recordType - }); - return ; - } - } - await Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.Signal(id, token, messageData, (i, t, m) => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(i, t, () => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.EventDataConverter.ConvertFrom(m()) as Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.EventData), InvocationInformation, this.ParameterSetName, __correlationId, __processRecordId, null ); - if (token.IsCancellationRequested) - { - return ; - } - WriteDebug($"{id}: {(messageData().Message ?? global::System.String.Empty)}"); - } - } - - /// Performs execution of the command. - protected override void ProcessRecord() - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletProcessRecordStart).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - __processRecordId = System.Guid.NewGuid().ToString(); - try - { - // work - using( var asyncCommandRuntime = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell.AsyncCommandRuntime(this, ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token) ) - { - asyncCommandRuntime.Wait( ProcessRecordAsync(),((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token); - } - } - catch (global::System.AggregateException aggregateException) - { - // unroll the inner exceptions to get the root cause - foreach( var innerException in aggregateException.Flatten().InnerExceptions ) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletException, $"{innerException.GetType().Name} - {innerException.Message} : {innerException.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - // Write exception out to error channel. - WriteError( new global::System.Management.Automation.ErrorRecord(innerException,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); - } - } - catch (global::System.Exception exception) when ((exception as System.Management.Automation.PipelineStoppedException)== null || (exception as System.Management.Automation.PipelineStoppedException).InnerException != null) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletException, $"{exception.GetType().Name} - {exception.Message} : {exception.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - // Write exception out to error channel. - WriteError( new global::System.Management.Automation.ErrorRecord(exception,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); - } - finally - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletProcessRecordEnd).Wait(); - } - } - - /// Performs execution of the command, working asynchronously if required. - /// - /// A that will be complete when handling of the method is completed. - /// - protected async global::System.Threading.Tasks.Task ProcessRecordAsync() - { - using( NoSynchronizationContext ) - { - await ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - Pipeline = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName, this.ExtensibleParameters); - if (null != HttpPipelinePrepend) - { - Pipeline.Prepend((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelinePrepend) ?? HttpPipelinePrepend); - } - if (null != HttpPipelineAppend) - { - Pipeline.Append((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelineAppend) ?? HttpPipelineAppend); - } - // get the client instance - try - { - foreach( var SubscriptionId in this.SubscriptionId ) - { - await ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - await this.Client.MachineRunCommandsList(SubscriptionId, ResourceGroupName, MachineName, this.InvocationInformation.BoundParameters.ContainsKey("Expand") ? Expand : null, onOk, onDefault, this, Pipeline); - await ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - } - } - catch (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.UndeclaredResponseException urexception) - { - WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId,ResourceGroupName=ResourceGroupName,MachineName=MachineName,Expand=this.InvocationInformation.BoundParameters.ContainsKey("Expand") ? Expand : null}) - { - ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } - }); - } - finally - { - await ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletProcessRecordAsyncEnd); - } - } - } - - /// Interrupts currently running code within the command. - protected override void StopProcessing() - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Cancel(); - base.StopProcessing(); - } - - /// - new protected void WriteObject(object sendToPipeline) - { - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); - base.WriteObject(sendToPipeline); - } - - /// - /// - new protected void WriteObject(object sendToPipeline, bool enumerateCollection) - { - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); - base.WriteObject(sendToPipeline, enumerateCollection); - } - - /// - /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). - /// - /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorResponse - /// from the remote call - /// - /// A that will be complete when handling of the method is completed. - /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) - { - using( NoSynchronizationContext ) - { - var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); - overrideOnDefault(responseMessage, response, ref _returnNow); - // if overrideOnDefault has returned true, then return right away. - if ((null != _returnNow && await _returnNow)) - { - return ; - } - // Error Response : default - var code = (await response)?.Code; - var message = (await response)?.Message; - if ((null == code || null == message)) - { - // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.RestException(responseMessage, await response); - WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) - { - ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } - }); - } - else - { - WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) - { - ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } - }); - } - } - } - - /// a delegate that is called when the remote service returns 200 (OK). - /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandsListResult - /// from the remote call - /// - /// A that will be complete when handling of the method is completed. - /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) - { - using( NoSynchronizationContext ) - { - var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); - overrideOnOk(responseMessage, response, ref _returnNow); - // if overrideOnOk has returned true, then return right away. - if ((null != _returnNow && await _returnNow)) - { - return ; - } - // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandsListResult - var result = (await response); - // response should be returning an array of some kind. +Pageable - // pageable / value / nextLink - if (null != result.Value) - { - if (0 == _responseSize && 1 == result.Value.Count) - { - _firstResponse = result.Value[0]; - _responseSize = 1; - } - else - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); - } - var values = new System.Collections.Generic.List(); - foreach( var value in result.Value ) - { - values.Add(value.AddMultipleTypeNameIntoPSObject()); - } - WriteObject(values, true); - _responseSize = 2; - } - } - _nextLink = result.NextLink; - if (_isFirst) - { - _isFirst = false; - while (!String.IsNullOrEmpty(_nextLink)) - { - if (responseMessage.RequestMessage is System.Net.Http.HttpRequestMessage requestMessage ) - { - requestMessage = requestMessage.Clone(new global::System.Uri( _nextLink ),Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Method.Get ); - await ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.FollowingNextLink); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - await this.Client.MachineRunCommandsList_Call(requestMessage, onOk, onDefault, this, Pipeline); - } - } - } - } - } - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/GetAzConnectedMachine_Get.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/GetAzConnectedMachine_Get.cs index aa6a0e2157f7..96007de598c6 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/GetAzConnectedMachine_Get.cs +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/GetAzConnectedMachine_Get.cs @@ -20,7 +20,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachine))] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"Retrieves information about the model view or the instance view of a hybrid machine.")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}", ApiVersion = "2024-05-20-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}", ApiVersion = "2024-07-10")] public partial class GetAzConnectedMachine_Get : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IContext diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/GetAzConnectedMachine_List.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/GetAzConnectedMachine_List.cs index e270c96b42e7..72c448639da7 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/GetAzConnectedMachine_List.cs +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/GetAzConnectedMachine_List.cs @@ -21,7 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachine))] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"Lists all the hybrid machines in the specified resource group. Use the nextLink property in the response to get the next page of hybrid machines.")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines", ApiVersion = "2024-05-20-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines", ApiVersion = "2024-07-10")] public partial class GetAzConnectedMachine_List : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IContext diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/GetAzConnectedMachine_List1.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/GetAzConnectedMachine_List1.cs index 2436f63155aa..08dc01beaf22 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/GetAzConnectedMachine_List1.cs +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/GetAzConnectedMachine_List1.cs @@ -21,7 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachine))] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"Lists all the hybrid machines in the specified subscription. Use the nextLink property in the response to get the next page of hybrid machines.")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/machines", ApiVersion = "2024-05-20-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/machines", ApiVersion = "2024-07-10")] public partial class GetAzConnectedMachine_List1 : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IContext diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/GetAzConnectedNetworkSecurityPerimeterConfiguration_Get.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/GetAzConnectedNetworkSecurityPerimeterConfiguration_Get.cs index e92eec229a6d..3153720ff930 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/GetAzConnectedNetworkSecurityPerimeterConfiguration_Get.cs +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/GetAzConnectedNetworkSecurityPerimeterConfiguration_Get.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfiguration))] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"Gets the network security perimeter configuration for a private link scope.")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/networkSecurityPerimeterConfigurations/{perimeterName}", ApiVersion = "2024-05-20-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/networkSecurityPerimeterConfigurations/{perimeterName}", ApiVersion = "2024-07-10")] public partial class GetAzConnectedNetworkSecurityPerimeterConfiguration_Get : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IContext diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/GetAzConnectedNetworkSecurityPerimeterConfiguration_List.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/GetAzConnectedNetworkSecurityPerimeterConfiguration_List.cs index d1f345acd872..4a7b73bffb0f 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/GetAzConnectedNetworkSecurityPerimeterConfiguration_List.cs +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/GetAzConnectedNetworkSecurityPerimeterConfiguration_List.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfiguration))] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"Lists the network security perimeter configurations for a private link scope.")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/networkSecurityPerimeterConfigurations", ApiVersion = "2024-05-20-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/networkSecurityPerimeterConfigurations", ApiVersion = "2024-07-10")] public partial class GetAzConnectedNetworkSecurityPerimeterConfiguration_List : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IContext diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/GetAzConnectedOperation_List.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/GetAzConnectedOperation_List.cs index 45985cc3f58b..4aa9aacc6284 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/GetAzConnectedOperation_List.cs +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/GetAzConnectedOperation_List.cs @@ -19,7 +19,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IOperationValue))] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"Gets a list of hybrid compute operations.")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/providers/Microsoft.HybridCompute/operations", ApiVersion = "2024-05-20-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/providers/Microsoft.HybridCompute/operations", ApiVersion = "2024-07-10")] public partial class GetAzConnectedOperation_List : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IContext diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/GetAzConnectedPrivateLinkScope_Get.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/GetAzConnectedPrivateLinkScope_Get.cs index a0b779511ab1..b9903e8e95e0 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/GetAzConnectedPrivateLinkScope_Get.cs +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/GetAzConnectedPrivateLinkScope_Get.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridComputePrivateLinkScope))] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"Returns a Azure Arc PrivateLinkScope.")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}", ApiVersion = "2024-05-20-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}", ApiVersion = "2024-07-10")] public partial class GetAzConnectedPrivateLinkScope_Get : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IContext diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/GetAzConnectedPrivateLinkScope_List.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/GetAzConnectedPrivateLinkScope_List.cs index f1b5e1fea7d3..85a9ad9082f8 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/GetAzConnectedPrivateLinkScope_List.cs +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/GetAzConnectedPrivateLinkScope_List.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridComputePrivateLinkScope))] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"Gets a list of all Azure Arc PrivateLinkScopes within a subscription.")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/privateLinkScopes", ApiVersion = "2024-05-20-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/privateLinkScopes", ApiVersion = "2024-07-10")] public partial class GetAzConnectedPrivateLinkScope_List : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IContext diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/GetAzConnectedPrivateLinkScope_List1.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/GetAzConnectedPrivateLinkScope_List1.cs index e47cd9b1898c..42e47240399e 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/GetAzConnectedPrivateLinkScope_List1.cs +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/GetAzConnectedPrivateLinkScope_List1.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridComputePrivateLinkScope))] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"Gets a list of Azure Arc PrivateLinkScopes within a resource group.")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes", ApiVersion = "2024-05-20-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes", ApiVersion = "2024-07-10")] public partial class GetAzConnectedPrivateLinkScope_List1 : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IContext diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/InstallAzConnectedMachinePatch_Install.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/InstallAzConnectedMachinePatch_Install.cs index 8c3922cafcd6..1a26dc1c6443 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/InstallAzConnectedMachinePatch_Install.cs +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/InstallAzConnectedMachinePatch_Install.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInstallPatchesResult))] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"The operation to install patches on a hybrid machine identity in Azure.")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{name}/installPatches", ApiVersion = "2024-05-20-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{name}/installPatches", ApiVersion = "2024-07-10")] public partial class InstallAzConnectedMachinePatch_Install : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IContext diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/InstallAzConnectedMachinePatch_InstallExpanded.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/InstallAzConnectedMachinePatch_InstallExpanded.cs index f05f258363f5..eaf9b27a06d0 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/InstallAzConnectedMachinePatch_InstallExpanded.cs +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/InstallAzConnectedMachinePatch_InstallExpanded.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInstallPatchesResult))] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"The operation to install patches on a hybrid machine identity in Azure.")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{name}/installPatches", ApiVersion = "2024-05-20-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{name}/installPatches", ApiVersion = "2024-07-10")] public partial class InstallAzConnectedMachinePatch_InstallExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IContext diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/InstallAzConnectedMachinePatch_InstallViaIdentity.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/InstallAzConnectedMachinePatch_InstallViaIdentity.cs index d9477a392cd2..1f8ee22b588c 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/InstallAzConnectedMachinePatch_InstallViaIdentity.cs +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/InstallAzConnectedMachinePatch_InstallViaIdentity.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInstallPatchesResult))] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"The operation to install patches on a hybrid machine identity in Azure.")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{name}/installPatches", ApiVersion = "2024-05-20-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{name}/installPatches", ApiVersion = "2024-07-10")] public partial class InstallAzConnectedMachinePatch_InstallViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IContext diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/InstallAzConnectedMachinePatch_InstallViaIdentityExpanded.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/InstallAzConnectedMachinePatch_InstallViaIdentityExpanded.cs index a3ae137b0da1..371113ddabd3 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/InstallAzConnectedMachinePatch_InstallViaIdentityExpanded.cs +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/InstallAzConnectedMachinePatch_InstallViaIdentityExpanded.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInstallPatchesResult))] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"The operation to install patches on a hybrid machine identity in Azure.")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{name}/installPatches", ApiVersion = "2024-05-20-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{name}/installPatches", ApiVersion = "2024-07-10")] public partial class InstallAzConnectedMachinePatch_InstallViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IContext diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/InstallAzConnectedMachinePatch_InstallViaJsonFilePath.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/InstallAzConnectedMachinePatch_InstallViaJsonFilePath.cs index f80a573ac029..3c4a457a9235 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/InstallAzConnectedMachinePatch_InstallViaJsonFilePath.cs +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/InstallAzConnectedMachinePatch_InstallViaJsonFilePath.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInstallPatchesResult))] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"The operation to install patches on a hybrid machine identity in Azure.")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{name}/installPatches", ApiVersion = "2024-05-20-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{name}/installPatches", ApiVersion = "2024-07-10")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.NotSuggestDefaultParameterSet] public partial class InstallAzConnectedMachinePatch_InstallViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/InstallAzConnectedMachinePatch_InstallViaJsonString.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/InstallAzConnectedMachinePatch_InstallViaJsonString.cs index 2615d5023be1..46c63dd32a8d 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/InstallAzConnectedMachinePatch_InstallViaJsonString.cs +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/InstallAzConnectedMachinePatch_InstallViaJsonString.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInstallPatchesResult))] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"The operation to install patches on a hybrid machine identity in Azure.")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{name}/installPatches", ApiVersion = "2024-05-20-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{name}/installPatches", ApiVersion = "2024-07-10")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.NotSuggestDefaultParameterSet] public partial class InstallAzConnectedMachinePatch_InstallViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/InvokeAzConnectedAssessMachinePatch_Assess.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/InvokeAzConnectedAssessMachinePatch_Assess.cs index 253239c8f363..ec1dfb46bc5a 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/InvokeAzConnectedAssessMachinePatch_Assess.cs +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/InvokeAzConnectedAssessMachinePatch_Assess.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineAssessPatchesResult))] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"The operation to assess patches on a hybrid machine identity in Azure.")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{name}/assessPatches", ApiVersion = "2024-05-20-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{name}/assessPatches", ApiVersion = "2024-07-10")] public partial class InvokeAzConnectedAssessMachinePatch_Assess : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IContext diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/InvokeAzConnectedAssessMachinePatch_AssessViaIdentity.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/InvokeAzConnectedAssessMachinePatch_AssessViaIdentity.cs index 907b82bbd9ca..3f66bb441c90 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/InvokeAzConnectedAssessMachinePatch_AssessViaIdentity.cs +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/InvokeAzConnectedAssessMachinePatch_AssessViaIdentity.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineAssessPatchesResult))] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"The operation to assess patches on a hybrid machine identity in Azure.")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{name}/assessPatches", ApiVersion = "2024-05-20-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{name}/assessPatches", ApiVersion = "2024-07-10")] public partial class InvokeAzConnectedAssessMachinePatch_AssessViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IContext diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedMachineRunCommand_CreateViaJsonString.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/InvokeAzConnectedReconcileNetworkSecurityPerimeterConfiguration_Reconcile.cs similarity index 90% rename from src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedMachineRunCommand_CreateViaJsonString.cs rename to src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/InvokeAzConnectedReconcileNetworkSecurityPerimeterConfiguration_Reconcile.cs index 2b2c7c1477e9..922c2e6c301e 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedMachineRunCommand_CreateViaJsonString.cs +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/InvokeAzConnectedReconcileNetworkSecurityPerimeterConfiguration_Reconcile.cs @@ -10,17 +10,18 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets using Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Cmdlets; using System; - /// The operation to create a run command. + /// + /// Forces the network security perimeter configuration to refresh for a private link scope. + /// /// - /// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/runCommands/{runCommandName}" + /// [OpenAPI] ReconcileForPrivateLinkScope=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/networkSecurityPerimeterConfigurations/{perimeterName}/reconcile" /// - [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzConnectedMachineRunCommand_CreateViaJsonString", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand))] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"The operation to create a run command.")] + [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsLifecycle.Invoke, @"AzConnectedReconcileNetworkSecurityPerimeterConfiguration_Reconcile", SupportsShouldProcess = true)] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationReconcileResult))] + [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"Forces the network security perimeter configuration to refresh for a private link scope.")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/runCommands/{runCommandName}", ApiVersion = "2024-05-20-preview")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.NotSuggestDefaultParameterSet] - public partial class NewAzConnectedMachineRunCommand_CreateViaJsonString : global::System.Management.Automation.PSCmdlet, + [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/networkSecurityPerimeterConfigurations/{perimeterName}/reconcile", ApiVersion = "2024-07-10")] + public partial class InvokeAzConnectedReconcileNetworkSecurityPerimeterConfiguration_Reconcile : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IContext { @@ -94,33 +95,6 @@ public partial class NewAzConnectedMachineRunCommand_CreateViaJsonString : globa /// Accessor for our copy of the InvocationInfo. public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } - /// Backing field for property. - private string _jsonString; - - /// Json string supplied to the Create operation - [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Json string supplied to the Create operation")] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = true, - ReadOnly = false, - Description = @"Json string supplied to the Create operation", - SerializedName = @"JsonString", - PossibleTypes = new [] { typeof(string) })] - public string JsonString { get => this._jsonString; set => this._jsonString = value; } - - /// Backing field for property. - private string _machineName; - - /// The name of the hybrid machine. - [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the hybrid machine.")] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = true, - ReadOnly = false, - Description = @"The name of the hybrid machine.", - SerializedName = @"machineName", - PossibleTypes = new [] { typeof(string) })] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Path)] - public string MachineName { get => this._machineName; set => this._machineName = value; } - /// /// cancellation delegate. Stops the cmdlet when called. /// @@ -137,6 +111,22 @@ public partial class NewAzConnectedMachineRunCommand_CreateViaJsonString : globa [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] public global::System.Management.Automation.SwitchParameter NoWait { get; set; } + /// Backing field for property. + private string _perimeterName; + + /// + /// The name, in the format {perimeterGuid}.{associationName}, of the Network Security Perimeter resource. + /// + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name, in the format {perimeterGuid}.{associationName}, of the Network Security Perimeter resource.")] + [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The name, in the format {perimeterGuid}.{associationName}, of the Network Security Perimeter resource.", + SerializedName = @"perimeterName", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Path)] + public string PerimeterName { get => this._perimeterName; set => this._perimeterName = value; } + /// /// The instance of the that the remote call will use. /// @@ -176,19 +166,19 @@ public partial class NewAzConnectedMachineRunCommand_CreateViaJsonString : globa [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Path)] public string ResourceGroupName { get => this._resourceGroupName; set => this._resourceGroupName = value; } - /// Backing field for property. - private string _runCommandName; + /// Backing field for property. + private string _scopeName; - /// The name of the run command. - [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the run command.")] + /// The name of the Azure Arc PrivateLinkScope resource. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the Azure Arc PrivateLinkScope resource.")] [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( Required = true, ReadOnly = false, - Description = @"The name of the run command.", - SerializedName = @"runCommandName", + Description = @"The name of the Azure Arc PrivateLinkScope resource.", + SerializedName = @"scopeName", PossibleTypes = new [] { typeof(string) })] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Path)] - public string RunCommandName { get => this._runCommandName; set => this._runCommandName = value; } + public string ScopeName { get => this._scopeName; set => this._scopeName = value; } /// Backing field for property. private string _subscriptionId; @@ -226,12 +216,12 @@ public partial class NewAzConnectedMachineRunCommand_CreateViaJsonString : globa /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationReconcileResult /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -252,10 +242,12 @@ protected override void BeginProcessing() } /// Creates a duplicate instance of this cmdlet (via JSON serialization). - /// a duplicate instance of NewAzConnectedMachineRunCommand_CreateViaJsonString - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets.NewAzConnectedMachineRunCommand_CreateViaJsonString Clone() + /// + /// a duplicate instance of InvokeAzConnectedReconcileNetworkSecurityPerimeterConfiguration_Reconcile + /// + public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets.InvokeAzConnectedReconcileNetworkSecurityPerimeterConfiguration_Reconcile Clone() { - var clone = new NewAzConnectedMachineRunCommand_CreateViaJsonString(); + var clone = new InvokeAzConnectedReconcileNetworkSecurityPerimeterConfiguration_Reconcile(); clone.__correlationId = this.__correlationId; clone.__processRecordId = this.__processRecordId; clone.DefaultProfile = this.DefaultProfile; @@ -270,9 +262,8 @@ public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets.NewAzConnecte clone.HttpPipelineAppend = this.HttpPipelineAppend; clone.SubscriptionId = this.SubscriptionId; clone.ResourceGroupName = this.ResourceGroupName; - clone.MachineName = this.MachineName; - clone.RunCommandName = this.RunCommandName; - clone.JsonString = this.JsonString; + clone.ScopeName = this.ScopeName; + clone.PerimeterName = this.PerimeterName; return clone; } @@ -304,6 +295,15 @@ protected override void EndProcessing() } } + /// + /// Initializes a new instance of the cmdlet class. + /// + public InvokeAzConnectedReconcileNetworkSecurityPerimeterConfiguration_Reconcile() + { + + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true @@ -417,14 +417,6 @@ protected override void EndProcessing() } } - /// - /// Initializes a new instance of the cmdlet class. - /// - public NewAzConnectedMachineRunCommand_CreateViaJsonString() - { - - } - /// Performs execution of the command. protected override void ProcessRecord() { @@ -433,7 +425,7 @@ protected override void ProcessRecord() try { // work - if (ShouldProcess($"Call remote 'MachineRunCommandsCreateOrUpdate' operation")) + if (ShouldProcess($"Call remote 'NetworkSecurityPerimeterConfigurationsReconcileForPrivateLinkScope' operation")) { if (true == MyInvocation?.BoundParameters?.ContainsKey("AsJob")) { @@ -497,12 +489,12 @@ protected override void ProcessRecord() try { await ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - await this.Client.MachineRunCommandsCreateOrUpdateViaJsonString(SubscriptionId, ResourceGroupName, MachineName, RunCommandName, _jsonString, onOk, onDefault, this, Pipeline); + await this.Client.NetworkSecurityPerimeterConfigurationsReconcileForPrivateLinkScope(SubscriptionId, ResourceGroupName, ScopeName, PerimeterName, onOk, onDefault, this, Pipeline); await ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } } catch (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.UndeclaredResponseException urexception) { - WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId,ResourceGroupName=ResourceGroupName,MachineName=MachineName,RunCommandName=RunCommandName}) + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId,ResourceGroupName=ResourceGroupName,ScopeName=ScopeName,PerimeterName=PerimeterName}) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } }); @@ -580,12 +572,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationReconcileResult /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -597,7 +589,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationReconcileResult var result = (await response); if (null != result) { diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedMachineRunCommand_CreateViaIdentity.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/InvokeAzConnectedReconcileNetworkSecurityPerimeterConfiguration_ReconcileViaIdentity.cs similarity index 90% rename from src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedMachineRunCommand_CreateViaIdentity.cs rename to src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/InvokeAzConnectedReconcileNetworkSecurityPerimeterConfiguration_ReconcileViaIdentity.cs index 73193b62eef3..64d4480dd33c 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedMachineRunCommand_CreateViaIdentity.cs +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/InvokeAzConnectedReconcileNetworkSecurityPerimeterConfiguration_ReconcileViaIdentity.cs @@ -10,16 +10,18 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets using Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Cmdlets; using System; - /// The operation to create a run command. + /// + /// Forces the network security perimeter configuration to refresh for a private link scope. + /// /// - /// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/runCommands/{runCommandName}" + /// [OpenAPI] ReconcileForPrivateLinkScope=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/networkSecurityPerimeterConfigurations/{perimeterName}/reconcile" /// - [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzConnectedMachineRunCommand_CreateViaIdentity", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand))] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"The operation to create a run command.")] + [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsLifecycle.Invoke, @"AzConnectedReconcileNetworkSecurityPerimeterConfiguration_ReconcileViaIdentity", SupportsShouldProcess = true)] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationReconcileResult))] + [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"Forces the network security perimeter configuration to refresh for a private link scope.")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/runCommands/{runCommandName}", ApiVersion = "2024-05-20-preview")] - public partial class NewAzConnectedMachineRunCommand_CreateViaIdentity : global::System.Management.Automation.PSCmdlet, + [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/networkSecurityPerimeterConfigurations/{perimeterName}/reconcile", ApiVersion = "2024-07-10")] + public partial class InvokeAzConnectedReconcileNetworkSecurityPerimeterConfiguration_ReconcileViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IContext { @@ -138,20 +140,6 @@ public partial class NewAzConnectedMachineRunCommand_CreateViaIdentity : global: [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] public global::System.Management.Automation.SwitchParameter ProxyUseDefaultCredentials { get; set; } - /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand _runCommandProperty; - - /// Describes a Run Command - [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Describes a Run Command", ValueFromPipeline = true)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = true, - ReadOnly = false, - Description = @"Describes a Run Command", - SerializedName = @"runCommandProperties", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand) })] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand RunCommandProperty { get => this._runCommandProperty; set => this._runCommandProperty = value; } - /// /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what /// happens on that response. Implement this method in a partial class to enable this behavior @@ -169,12 +157,12 @@ public partial class NewAzConnectedMachineRunCommand_CreateViaIdentity : global: /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationReconcileResult /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -195,10 +183,12 @@ protected override void BeginProcessing() } /// Creates a duplicate instance of this cmdlet (via JSON serialization). - /// a duplicate instance of NewAzConnectedMachineRunCommand_CreateViaIdentity - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets.NewAzConnectedMachineRunCommand_CreateViaIdentity Clone() + /// + /// a duplicate instance of InvokeAzConnectedReconcileNetworkSecurityPerimeterConfiguration_ReconcileViaIdentity + /// + public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets.InvokeAzConnectedReconcileNetworkSecurityPerimeterConfiguration_ReconcileViaIdentity Clone() { - var clone = new NewAzConnectedMachineRunCommand_CreateViaIdentity(); + var clone = new InvokeAzConnectedReconcileNetworkSecurityPerimeterConfiguration_ReconcileViaIdentity(); clone.__correlationId = this.__correlationId; clone.__processRecordId = this.__processRecordId; clone.DefaultProfile = this.DefaultProfile; @@ -211,7 +201,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets.NewAzConnecte clone.ProxyUseDefaultCredentials = this.ProxyUseDefaultCredentials; clone.HttpPipelinePrepend = this.HttpPipelinePrepend; clone.HttpPipelineAppend = this.HttpPipelineAppend; - clone.RunCommandProperty = this.RunCommandProperty; return clone; } @@ -243,6 +232,15 @@ protected override void EndProcessing() } } + /// + /// Initializes a new instance of the cmdlet class. + /// + public InvokeAzConnectedReconcileNetworkSecurityPerimeterConfiguration_ReconcileViaIdentity() + { + + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true @@ -356,14 +354,6 @@ protected override void EndProcessing() } } - /// - /// Initializes a new instance of the cmdlet class. - /// - public NewAzConnectedMachineRunCommand_CreateViaIdentity() - { - - } - /// Performs execution of the command. protected override void ProcessRecord() { @@ -372,7 +362,7 @@ protected override void ProcessRecord() try { // work - if (ShouldProcess($"Call remote 'MachineRunCommandsCreateOrUpdate' operation")) + if (ShouldProcess($"Call remote 'NetworkSecurityPerimeterConfigurationsReconcileForPrivateLinkScope' operation")) { if (true == MyInvocation?.BoundParameters?.ContainsKey("AsJob")) { @@ -438,7 +428,7 @@ protected override void ProcessRecord() await ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } if (InputObject?.Id != null) { - await this.Client.MachineRunCommandsCreateOrUpdateViaIdentity(InputObject.Id, RunCommandProperty, onOk, onDefault, this, Pipeline, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate); + await this.Client.NetworkSecurityPerimeterConfigurationsReconcileForPrivateLinkScopeViaIdentity(InputObject.Id, onOk, onDefault, this, Pipeline); } else { @@ -451,15 +441,15 @@ protected override void ProcessRecord() { ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.ResourceGroupName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); } - if (null == InputObject.MachineName) + if (null == InputObject.ScopeName) { - ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.MachineName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); + ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.ScopeName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); } - if (null == InputObject.RunCommandName) + if (null == InputObject.PerimeterName) { - ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.RunCommandName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); + ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.PerimeterName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); } - await this.Client.MachineRunCommandsCreateOrUpdate(InputObject.SubscriptionId ?? null, InputObject.ResourceGroupName ?? null, InputObject.MachineName ?? null, InputObject.RunCommandName ?? null, RunCommandProperty, onOk, onDefault, this, Pipeline, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate); + await this.Client.NetworkSecurityPerimeterConfigurationsReconcileForPrivateLinkScope(InputObject.SubscriptionId ?? null, InputObject.ResourceGroupName ?? null, InputObject.ScopeName ?? null, InputObject.PerimeterName ?? null, onOk, onDefault, this, Pipeline); } await ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } } @@ -543,12 +533,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationReconcileResult /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -560,7 +550,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationReconcileResult var result = (await response); if (null != result) { diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedMachineRunCommand_CreateViaIdentityMachine.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/InvokeAzConnectedReconcileNetworkSecurityPerimeterConfiguration_ReconcileViaIdentityPrivateLinkScope.cs similarity index 86% rename from src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedMachineRunCommand_CreateViaIdentityMachine.cs rename to src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/InvokeAzConnectedReconcileNetworkSecurityPerimeterConfiguration_ReconcileViaIdentityPrivateLinkScope.cs index f96125d30b8f..552d2a6ae637 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedMachineRunCommand_CreateViaIdentityMachine.cs +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/InvokeAzConnectedReconcileNetworkSecurityPerimeterConfiguration_ReconcileViaIdentityPrivateLinkScope.cs @@ -10,16 +10,18 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets using Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Cmdlets; using System; - /// The operation to create a run command. + /// + /// Forces the network security perimeter configuration to refresh for a private link scope. + /// /// - /// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/runCommands/{runCommandName}" + /// [OpenAPI] ReconcileForPrivateLinkScope=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/networkSecurityPerimeterConfigurations/{perimeterName}/reconcile" /// - [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzConnectedMachineRunCommand_CreateViaIdentityMachine", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand))] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"The operation to create a run command.")] + [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsLifecycle.Invoke, @"AzConnectedReconcileNetworkSecurityPerimeterConfiguration_ReconcileViaIdentityPrivateLinkScope", SupportsShouldProcess = true)] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationReconcileResult))] + [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"Forces the network security perimeter configuration to refresh for a private link scope.")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/runCommands/{runCommandName}", ApiVersion = "2024-05-20-preview")] - public partial class NewAzConnectedMachineRunCommand_CreateViaIdentityMachine : global::System.Management.Automation.PSCmdlet, + [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/networkSecurityPerimeterConfigurations/{perimeterName}/reconcile", ApiVersion = "2024-07-10")] + public partial class InvokeAzConnectedReconcileNetworkSecurityPerimeterConfiguration_ReconcileViaIdentityPrivateLinkScope : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IContext { @@ -93,14 +95,6 @@ public partial class NewAzConnectedMachineRunCommand_CreateViaIdentityMachine : /// Accessor for our copy of the InvocationInfo. public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } - /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentity _machineInputObject; - - /// Identity Parameter - [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Identity Parameter", ValueFromPipeline = true)] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Path)] - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentity MachineInputObject { get => this._machineInputObject; set => this._machineInputObject = value; } - /// /// cancellation delegate. Stops the cmdlet when called. /// @@ -117,11 +111,35 @@ public partial class NewAzConnectedMachineRunCommand_CreateViaIdentityMachine : [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] public global::System.Management.Automation.SwitchParameter NoWait { get; set; } + /// Backing field for property. + private string _perimeterName; + + /// + /// The name, in the format {perimeterGuid}.{associationName}, of the Network Security Perimeter resource. + /// + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name, in the format {perimeterGuid}.{associationName}, of the Network Security Perimeter resource.")] + [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The name, in the format {perimeterGuid}.{associationName}, of the Network Security Perimeter resource.", + SerializedName = @"perimeterName", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Path)] + public string PerimeterName { get => this._perimeterName; set => this._perimeterName = value; } + /// /// The instance of the that the remote call will use. /// public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.HttpPipeline Pipeline { get; set; } + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentity _privateLinkScopeInputObject; + + /// Identity Parameter + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Identity Parameter", ValueFromPipeline = true)] + [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Path)] + public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentity PrivateLinkScopeInputObject { get => this._privateLinkScopeInputObject; set => this._privateLinkScopeInputObject = value; } + /// The URI for the proxy server to use [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "The URI for the proxy server to use")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] @@ -138,34 +156,6 @@ public partial class NewAzConnectedMachineRunCommand_CreateViaIdentityMachine : [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] public global::System.Management.Automation.SwitchParameter ProxyUseDefaultCredentials { get; set; } - /// Backing field for property. - private string _runCommandName; - - /// The name of the run command. - [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the run command.")] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = true, - ReadOnly = false, - Description = @"The name of the run command.", - SerializedName = @"runCommandName", - PossibleTypes = new [] { typeof(string) })] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Path)] - public string RunCommandName { get => this._runCommandName; set => this._runCommandName = value; } - - /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand _runCommandProperty; - - /// Describes a Run Command - [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Describes a Run Command", ValueFromPipeline = true)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = true, - ReadOnly = false, - Description = @"Describes a Run Command", - SerializedName = @"runCommandProperties", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand) })] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand RunCommandProperty { get => this._runCommandProperty; set => this._runCommandProperty = value; } - /// /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what /// happens on that response. Implement this method in a partial class to enable this behavior @@ -183,12 +173,12 @@ public partial class NewAzConnectedMachineRunCommand_CreateViaIdentityMachine : /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationReconcileResult /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -210,11 +200,11 @@ protected override void BeginProcessing() /// Creates a duplicate instance of this cmdlet (via JSON serialization). /// - /// a duplicate instance of NewAzConnectedMachineRunCommand_CreateViaIdentityMachine + /// a duplicate instance of InvokeAzConnectedReconcileNetworkSecurityPerimeterConfiguration_ReconcileViaIdentityPrivateLinkScope /// - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets.NewAzConnectedMachineRunCommand_CreateViaIdentityMachine Clone() + public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets.InvokeAzConnectedReconcileNetworkSecurityPerimeterConfiguration_ReconcileViaIdentityPrivateLinkScope Clone() { - var clone = new NewAzConnectedMachineRunCommand_CreateViaIdentityMachine(); + var clone = new InvokeAzConnectedReconcileNetworkSecurityPerimeterConfiguration_ReconcileViaIdentityPrivateLinkScope(); clone.__correlationId = this.__correlationId; clone.__processRecordId = this.__processRecordId; clone.DefaultProfile = this.DefaultProfile; @@ -227,8 +217,7 @@ public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets.NewAzConnecte clone.ProxyUseDefaultCredentials = this.ProxyUseDefaultCredentials; clone.HttpPipelinePrepend = this.HttpPipelinePrepend; clone.HttpPipelineAppend = this.HttpPipelineAppend; - clone.RunCommandName = this.RunCommandName; - clone.RunCommandProperty = this.RunCommandProperty; + clone.PerimeterName = this.PerimeterName; return clone; } @@ -260,6 +249,15 @@ protected override void EndProcessing() } } + /// + /// Initializes a new instance of the cmdlet class. + /// + public InvokeAzConnectedReconcileNetworkSecurityPerimeterConfiguration_ReconcileViaIdentityPrivateLinkScope() + { + + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true @@ -373,14 +371,6 @@ protected override void EndProcessing() } } - /// - /// Initializes a new instance of the cmdlet class. - /// - public NewAzConnectedMachineRunCommand_CreateViaIdentityMachine() - { - - } - /// Performs execution of the command. protected override void ProcessRecord() { @@ -389,7 +379,7 @@ protected override void ProcessRecord() try { // work - if (ShouldProcess($"Call remote 'MachineRunCommandsCreateOrUpdate' operation")) + if (ShouldProcess($"Call remote 'NetworkSecurityPerimeterConfigurationsReconcileForPrivateLinkScope' operation")) { if (true == MyInvocation?.BoundParameters?.ContainsKey("AsJob")) { @@ -453,33 +443,33 @@ protected override void ProcessRecord() try { await ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - if (MachineInputObject?.Id != null) + if (PrivateLinkScopeInputObject?.Id != null) { - this.MachineInputObject.Id += $"/runCommands/{(global::System.Uri.EscapeDataString(this.RunCommandName.ToString()))}"; - await this.Client.MachineRunCommandsCreateOrUpdateViaIdentity(MachineInputObject.Id, RunCommandProperty, onOk, onDefault, this, Pipeline, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate); + this.PrivateLinkScopeInputObject.Id += $"/networkSecurityPerimeterConfigurations/{(global::System.Uri.EscapeDataString(this.PerimeterName.ToString()))}"; + await this.Client.NetworkSecurityPerimeterConfigurationsReconcileForPrivateLinkScopeViaIdentity(PrivateLinkScopeInputObject.Id, onOk, onDefault, this, Pipeline); } else { // try to call with PATH parameters from Input Object - if (null == MachineInputObject.SubscriptionId) + if (null == PrivateLinkScopeInputObject.SubscriptionId) { - ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("MachineInputObject has null value for MachineInputObject.SubscriptionId"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, MachineInputObject) ); + ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("PrivateLinkScopeInputObject has null value for PrivateLinkScopeInputObject.SubscriptionId"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, PrivateLinkScopeInputObject) ); } - if (null == MachineInputObject.ResourceGroupName) + if (null == PrivateLinkScopeInputObject.ResourceGroupName) { - ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("MachineInputObject has null value for MachineInputObject.ResourceGroupName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, MachineInputObject) ); + ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("PrivateLinkScopeInputObject has null value for PrivateLinkScopeInputObject.ResourceGroupName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, PrivateLinkScopeInputObject) ); } - if (null == MachineInputObject.MachineName) + if (null == PrivateLinkScopeInputObject.ScopeName) { - ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("MachineInputObject has null value for MachineInputObject.MachineName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, MachineInputObject) ); + ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("PrivateLinkScopeInputObject has null value for PrivateLinkScopeInputObject.ScopeName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, PrivateLinkScopeInputObject) ); } - await this.Client.MachineRunCommandsCreateOrUpdate(MachineInputObject.SubscriptionId ?? null, MachineInputObject.ResourceGroupName ?? null, MachineInputObject.MachineName ?? null, RunCommandName, RunCommandProperty, onOk, onDefault, this, Pipeline, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate); + await this.Client.NetworkSecurityPerimeterConfigurationsReconcileForPrivateLinkScope(PrivateLinkScopeInputObject.SubscriptionId ?? null, PrivateLinkScopeInputObject.ResourceGroupName ?? null, PrivateLinkScopeInputObject.ScopeName ?? null, PerimeterName, onOk, onDefault, this, Pipeline); } await ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } } catch (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.UndeclaredResponseException urexception) { - WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { RunCommandName=RunCommandName}) + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { PerimeterName=PerimeterName}) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } }); @@ -557,12 +547,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationReconcileResult /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -574,7 +564,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationReconcileResult var result = (await response); if (null != result) { diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedLicense_Create.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedLicense_Create.cs index 5f5e15aea752..f257cd6ebbf9 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedLicense_Create.cs +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedLicense_Create.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicense))] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"The operation to create a license.")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/licenses/{licenseName}", ApiVersion = "2024-05-20-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/licenses/{licenseName}", ApiVersion = "2024-07-10")] public partial class NewAzConnectedLicense_Create : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IContext diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedLicense_CreateExpanded.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedLicense_CreateExpanded.cs index f5b5214b4edc..e0951aa53032 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedLicense_CreateExpanded.cs +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedLicense_CreateExpanded.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicense))] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"The operation to create a license.")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/licenses/{licenseName}", ApiVersion = "2024-05-20-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/licenses/{licenseName}", ApiVersion = "2024-07-10")] public partial class NewAzConnectedLicense_CreateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IContext diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedLicense_CreateViaIdentity.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedLicense_CreateViaIdentity.cs index c5cdb1f4f7a6..554fa8b8fe6c 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedLicense_CreateViaIdentity.cs +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedLicense_CreateViaIdentity.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicense))] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"The operation to create a license.")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/licenses/{licenseName}", ApiVersion = "2024-05-20-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/licenses/{licenseName}", ApiVersion = "2024-07-10")] public partial class NewAzConnectedLicense_CreateViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IContext diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedLicense_CreateViaIdentityExpanded.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedLicense_CreateViaIdentityExpanded.cs index a94f20cd4267..adc3bcdcacea 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedLicense_CreateViaIdentityExpanded.cs +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedLicense_CreateViaIdentityExpanded.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicense))] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"The operation to create a license.")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/licenses/{licenseName}", ApiVersion = "2024-05-20-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/licenses/{licenseName}", ApiVersion = "2024-07-10")] public partial class NewAzConnectedLicense_CreateViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IContext diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedLicense_CreateViaJsonFilePath.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedLicense_CreateViaJsonFilePath.cs index 579484e3df51..85ce9836d15d 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedLicense_CreateViaJsonFilePath.cs +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedLicense_CreateViaJsonFilePath.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicense))] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"The operation to create a license.")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/licenses/{licenseName}", ApiVersion = "2024-05-20-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/licenses/{licenseName}", ApiVersion = "2024-07-10")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.NotSuggestDefaultParameterSet] public partial class NewAzConnectedLicense_CreateViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedLicense_CreateViaJsonString.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedLicense_CreateViaJsonString.cs index 0a0ea3bb0210..f8c9b35be650 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedLicense_CreateViaJsonString.cs +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedLicense_CreateViaJsonString.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicense))] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"The operation to create a license.")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/licenses/{licenseName}", ApiVersion = "2024-05-20-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/licenses/{licenseName}", ApiVersion = "2024-07-10")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.NotSuggestDefaultParameterSet] public partial class NewAzConnectedLicense_CreateViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedMachineExtension_Create.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedMachineExtension_Create.cs index f9ebbf1191b1..fd3dcbb3cded 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedMachineExtension_Create.cs +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedMachineExtension_Create.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtension))] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"The operation to create the extension.")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}", ApiVersion = "2024-05-20-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}", ApiVersion = "2024-07-10")] public partial class NewAzConnectedMachineExtension_Create : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IContext diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedMachineExtension_CreateExpanded.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedMachineExtension_CreateExpanded.cs index 32d137347dbf..3c3c5b191ff7 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedMachineExtension_CreateExpanded.cs +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedMachineExtension_CreateExpanded.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtension))] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"The operation to create the extension.")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}", ApiVersion = "2024-05-20-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}", ApiVersion = "2024-07-10")] public partial class NewAzConnectedMachineExtension_CreateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IContext diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedMachineExtension_CreateViaIdentity.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedMachineExtension_CreateViaIdentity.cs index 3e9b84f67fc7..1de726ae8175 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedMachineExtension_CreateViaIdentity.cs +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedMachineExtension_CreateViaIdentity.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtension))] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"The operation to create the extension.")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}", ApiVersion = "2024-05-20-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}", ApiVersion = "2024-07-10")] public partial class NewAzConnectedMachineExtension_CreateViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IContext diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedMachineExtension_CreateViaIdentityExpanded.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedMachineExtension_CreateViaIdentityExpanded.cs index 3e9b17b20a0f..d72e2e2dc046 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedMachineExtension_CreateViaIdentityExpanded.cs +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedMachineExtension_CreateViaIdentityExpanded.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtension))] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"The operation to create the extension.")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}", ApiVersion = "2024-05-20-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}", ApiVersion = "2024-07-10")] public partial class NewAzConnectedMachineExtension_CreateViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IContext diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedMachineExtension_CreateViaIdentityMachine.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedMachineExtension_CreateViaIdentityMachine.cs index dcef94687835..9fa493b87f4c 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedMachineExtension_CreateViaIdentityMachine.cs +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedMachineExtension_CreateViaIdentityMachine.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtension))] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"The operation to create the extension.")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}", ApiVersion = "2024-05-20-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}", ApiVersion = "2024-07-10")] public partial class NewAzConnectedMachineExtension_CreateViaIdentityMachine : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IContext diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedMachineExtension_CreateViaIdentityMachineExpanded.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedMachineExtension_CreateViaIdentityMachineExpanded.cs index 08fca69321df..0e9918347aff 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedMachineExtension_CreateViaIdentityMachineExpanded.cs +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedMachineExtension_CreateViaIdentityMachineExpanded.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtension))] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"The operation to create the extension.")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}", ApiVersion = "2024-05-20-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}", ApiVersion = "2024-07-10")] public partial class NewAzConnectedMachineExtension_CreateViaIdentityMachineExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IContext diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedMachineExtension_CreateViaJsonFilePath.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedMachineExtension_CreateViaJsonFilePath.cs index 115ca3388eaa..d0a7965ff721 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedMachineExtension_CreateViaJsonFilePath.cs +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedMachineExtension_CreateViaJsonFilePath.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtension))] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"The operation to create the extension.")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}", ApiVersion = "2024-05-20-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}", ApiVersion = "2024-07-10")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.NotSuggestDefaultParameterSet] public partial class NewAzConnectedMachineExtension_CreateViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedMachineExtension_CreateViaJsonString.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedMachineExtension_CreateViaJsonString.cs index 10c1fc816b95..1c0042411c0b 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedMachineExtension_CreateViaJsonString.cs +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedMachineExtension_CreateViaJsonString.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtension))] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"The operation to create the extension.")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}", ApiVersion = "2024-05-20-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}", ApiVersion = "2024-07-10")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.NotSuggestDefaultParameterSet] public partial class NewAzConnectedMachineExtension_CreateViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedMachineRunCommand_Create.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedMachineRunCommand_Create.cs deleted file mode 100644 index 3d37f4e266c4..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedMachineRunCommand_Create.cs +++ /dev/null @@ -1,623 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets -{ - using static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Extensions; - using Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell; - using Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Cmdlets; - using System; - - /// The operation to create a run command. - /// - /// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/runCommands/{runCommandName}" - /// - [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzConnectedMachineRunCommand_Create", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand))] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"The operation to create a run command.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/runCommands/{runCommandName}", ApiVersion = "2024-05-20-preview")] - public partial class NewAzConnectedMachineRunCommand_Create : global::System.Management.Automation.PSCmdlet, - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IContext - { - /// A unique id generatd for the this cmdlet when it is instantiated. - private string __correlationId = System.Guid.NewGuid().ToString(); - - /// A copy of the Invocation Info (necessary to allow asJob to clone this cmdlet) - private global::System.Management.Automation.InvocationInfo __invocationInfo; - - /// A unique id generatd for the this cmdlet when ProcessRecord() is called. - private string __processRecordId; - - /// - /// The for this operation. - /// - private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); - - /// A dictionary to carry over additional data for pipeline. - private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - - /// A buffer to record first returned object in response. - private object _firstResponse = null; - - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - - /// when specified, runs this cmdlet as a PowerShell job - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public global::System.Management.Automation.SwitchParameter AsJob { get; set; } - - /// Wait for .NET debugger to attach - [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public global::System.Management.Automation.SwitchParameter Break { get; set; } - - /// Accessor for cancellationTokenSource. - public global::System.Threading.CancellationTokenSource CancellationTokenSource { get => _cancellationTokenSource ; set { _cancellationTokenSource = value; } } - - /// The reference to the client API class. - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ConnectedMachine Client => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.ClientAPI; - - /// - /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet - /// against a different subscription - /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] - [global::System.Management.Automation.ValidateNotNull] - [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Azure)] - public global::System.Management.Automation.PSObject DefaultProfile { get; set; } - - /// Accessor for extensibleParameters. - public global::System.Collections.Generic.IDictionary ExtensibleParameters { get => _extensibleParameters ; } - - /// SendAsync Pipeline Steps to be appended to the front of the pipeline - [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] - [global::System.Management.Automation.ValidateNotNull] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SendAsyncStep[] HttpPipelineAppend { get; set; } - - /// SendAsync Pipeline Steps to be prepended to the front of the pipeline - [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be prepended to the front of the pipeline")] - [global::System.Management.Automation.ValidateNotNull] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SendAsyncStep[] HttpPipelinePrepend { get; set; } - - /// Accessor for our copy of the InvocationInfo. - public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } - - /// Backing field for property. - private string _machineName; - - /// The name of the hybrid machine. - [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the hybrid machine.")] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = true, - ReadOnly = false, - Description = @"The name of the hybrid machine.", - SerializedName = @"machineName", - PossibleTypes = new [] { typeof(string) })] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Path)] - public string MachineName { get => this._machineName; set => this._machineName = value; } - - /// - /// cancellation delegate. Stops the cmdlet when called. - /// - global::System.Action Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - - /// cancellation token. - global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener.Token => _cancellationTokenSource.Token; - - /// - /// when specified, will make the remote call, and return an AsyncOperationResponse, letting the remote operation continue - /// asynchronously. - /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command asynchronously")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public global::System.Management.Automation.SwitchParameter NoWait { get; set; } - - /// - /// The instance of the that the remote call will use. - /// - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.HttpPipeline Pipeline { get; set; } - - /// The URI for the proxy server to use - [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "The URI for the proxy server to use")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public global::System.Uri Proxy { get; set; } - - /// Credentials for a proxy server to use for the remote call - [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Credentials for a proxy server to use for the remote call")] - [global::System.Management.Automation.ValidateNotNull] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public global::System.Management.Automation.PSCredential ProxyCredential { get; set; } - - /// Use the default credentials for the proxy - [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Use the default credentials for the proxy")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public global::System.Management.Automation.SwitchParameter ProxyUseDefaultCredentials { get; set; } - - /// Backing field for property. - private string _resourceGroupName; - - /// The name of the resource group. The name is case insensitive. - [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the resource group. The name is case insensitive.")] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = true, - ReadOnly = false, - Description = @"The name of the resource group. The name is case insensitive.", - SerializedName = @"resourceGroupName", - PossibleTypes = new [] { typeof(string) })] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.CompleterInfo( - Name = @"ResourceGroupName Completer", - Description =@"Gets the list of ResourceGroupName's available for this subscription.", - Script = @"Get-AzResourceGroup | Select-Object -ExpandProperty ResourceGroupName")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Path)] - public string ResourceGroupName { get => this._resourceGroupName; set => this._resourceGroupName = value; } - - /// Backing field for property. - private string _runCommandName; - - /// The name of the run command. - [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the run command.")] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = true, - ReadOnly = false, - Description = @"The name of the run command.", - SerializedName = @"runCommandName", - PossibleTypes = new [] { typeof(string) })] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Path)] - public string RunCommandName { get => this._runCommandName; set => this._runCommandName = value; } - - /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand _runCommandProperty; - - /// Describes a Run Command - [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Describes a Run Command", ValueFromPipeline = true)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = true, - ReadOnly = false, - Description = @"Describes a Run Command", - SerializedName = @"runCommandProperties", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand) })] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand RunCommandProperty { get => this._runCommandProperty; set => this._runCommandProperty = value; } - - /// Backing field for property. - private string _subscriptionId; - - /// The ID of the target subscription. - [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The ID of the target subscription.")] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = true, - ReadOnly = false, - Description = @"The ID of the target subscription.", - SerializedName = @"subscriptionId", - PossibleTypes = new [] { typeof(string) })] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.DefaultInfo( - Name = @"", - Description =@"", - Script = @"(Get-AzContext).Subscription.Id", - SetCondition = @"")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Path)] - public string SubscriptionId { get => this._subscriptionId; set => this._subscriptionId = value; } - - /// - /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what - /// happens on that response. Implement this method in a partial class to enable this behavior - /// - /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorResponse - /// from the remote call - /// /// Determines if the rest of the onDefault method should be processed, or if the method should - /// return immediately (set to true to skip further processing ) - - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); - - /// - /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens - /// on that response. Implement this method in a partial class to enable this behavior - /// - /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand - /// from the remote call - /// /// Determines if the rest of the onOk method should be processed, or if the method should return - /// immediately (set to true to skip further processing ) - - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); - - /// - /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) - /// - protected override void BeginProcessing() - { - var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.GetTelemetryId.Invoke(); - if (telemetryId != "" && telemetryId != "internal") - { - __correlationId = telemetryId; - } - Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); - if (Break) - { - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.AttachDebugger.Break(); - } - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletBeginProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - } - - /// Creates a duplicate instance of this cmdlet (via JSON serialization). - /// a duplicate instance of NewAzConnectedMachineRunCommand_Create - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets.NewAzConnectedMachineRunCommand_Create Clone() - { - var clone = new NewAzConnectedMachineRunCommand_Create(); - clone.__correlationId = this.__correlationId; - clone.__processRecordId = this.__processRecordId; - clone.DefaultProfile = this.DefaultProfile; - clone.InvocationInformation = this.InvocationInformation; - clone.Proxy = this.Proxy; - clone.Pipeline = this.Pipeline; - clone.AsJob = this.AsJob; - clone.Break = this.Break; - clone.ProxyCredential = this.ProxyCredential; - clone.ProxyUseDefaultCredentials = this.ProxyUseDefaultCredentials; - clone.HttpPipelinePrepend = this.HttpPipelinePrepend; - clone.HttpPipelineAppend = this.HttpPipelineAppend; - clone.SubscriptionId = this.SubscriptionId; - clone.ResourceGroupName = this.ResourceGroupName; - clone.MachineName = this.MachineName; - clone.RunCommandName = this.RunCommandName; - clone.RunCommandProperty = this.RunCommandProperty; - return clone; - } - - /// Performs clean-up after the command execution - protected override void EndProcessing() - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } - var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); - if (telemetryInfo != null) - { - telemetryInfo.TryGetValue("ShowSecretsWarning", out var showSecretsWarning); - telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); - telemetryInfo.TryGetValue("InvocationName", out var invocationName); - if (showSecretsWarning == "true") - { - if (string.IsNullOrEmpty(sanitizedProperties)) - { - WriteWarning($"The output of cmdlet {invocationName} may compromise security by showing secrets. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); - } - else - { - WriteWarning($"The output of cmdlet {invocationName} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); - } - } - } - } - - /// Handles/Dispatches events during the call to the REST service. - /// The message id - /// The message cancellation token. When this call is cancelled, this should be true - /// Detailed message data for the message event. - /// - /// A that will be complete when handling of the message is completed. - /// - async global::System.Threading.Tasks.Task Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener.Signal(string id, global::System.Threading.CancellationToken token, global::System.Func messageData) - { - using( NoSynchronizationContext ) - { - if (token.IsCancellationRequested) - { - return ; - } - - switch ( id ) - { - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Verbose: - { - WriteVerbose($"{(messageData().Message ?? global::System.String.Empty)}"); - return ; - } - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Warning: - { - WriteWarning($"{(messageData().Message ?? global::System.String.Empty)}"); - return ; - } - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Information: - { - // When an operation supports asjob, Information messages must go thru verbose. - WriteVerbose($"INFORMATION: {(messageData().Message ?? global::System.String.Empty)}"); - return ; - } - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Debug: - { - WriteDebug($"{(messageData().Message ?? global::System.String.Empty)}"); - return ; - } - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Error: - { - WriteError(new global::System.Management.Automation.ErrorRecord( new global::System.Exception(messageData().Message), string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null ) ); - return ; - } - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress: - { - var data = messageData(); - int progress = (int)data.Value; - string activityMessage, statusDescription; - global::System.Management.Automation.ProgressRecordType recordType; - if (progress < 100) - { - activityMessage = "In progress"; - statusDescription = "Checking operation status"; - recordType = System.Management.Automation.ProgressRecordType.Processing; - } - else - { - activityMessage = "Completed"; - statusDescription = "Completed"; - recordType = System.Management.Automation.ProgressRecordType.Completed; - } - WriteProgress(new global::System.Management.Automation.ProgressRecord(1, activityMessage, statusDescription) - { - PercentComplete = progress, - RecordType = recordType - }); - return ; - } - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.DelayBeforePolling: - { - var data = messageData(); - if (true == MyInvocation?.BoundParameters?.ContainsKey("NoWait")) - { - if (data.ResponseMessage is System.Net.Http.HttpResponseMessage response) - { - var asyncOperation = response.GetFirstHeader(@"Azure-AsyncOperation"); - var location = response.GetFirstHeader(@"Location"); - var uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? response.RequestMessage.RequestUri.AbsoluteUri : location : asyncOperation; - WriteObject(new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell.AsyncOperationResponse { Target = uri }); - // do nothing more. - data.Cancel(); - return; - } - } - else - { - if (data.ResponseMessage is System.Net.Http.HttpResponseMessage response) - { - int delay = (int)(response.Headers.RetryAfter?.Delta?.TotalSeconds ?? 30); - WriteDebug($"Delaying {delay} seconds before polling."); - for (var now = 0; now < delay; ++now) - { - WriteProgress(new global::System.Management.Automation.ProgressRecord(1, "In progress", "Checking operation status") - { - PercentComplete = now * 100 / delay - }); - await global::System.Threading.Tasks.Task.Delay(1000, token); - } - } - } - break; - } - } - await Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.Signal(id, token, messageData, (i, t, m) => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(i, t, () => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.EventDataConverter.ConvertFrom(m()) as Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.EventData), InvocationInformation, this.ParameterSetName, __correlationId, __processRecordId, null ); - if (token.IsCancellationRequested) - { - return ; - } - WriteDebug($"{id}: {(messageData().Message ?? global::System.String.Empty)}"); - } - } - - /// - /// Initializes a new instance of the cmdlet class. - /// - public NewAzConnectedMachineRunCommand_Create() - { - - } - - /// Performs execution of the command. - protected override void ProcessRecord() - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletProcessRecordStart).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - __processRecordId = System.Guid.NewGuid().ToString(); - try - { - // work - if (ShouldProcess($"Call remote 'MachineRunCommandsCreateOrUpdate' operation")) - { - if (true == MyInvocation?.BoundParameters?.ContainsKey("AsJob")) - { - var instance = this.Clone(); - var job = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell.AsyncJob(instance, this.MyInvocation.Line, this.MyInvocation.MyCommand.Name, this._cancellationTokenSource.Token, this._cancellationTokenSource.Cancel); - JobRepository.Add(job); - var task = instance.ProcessRecordAsync(); - job.Monitor(task); - WriteObject(job); - } - else - { - using( var asyncCommandRuntime = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell.AsyncCommandRuntime(this, ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token) ) - { - asyncCommandRuntime.Wait( ProcessRecordAsync(),((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token); - } - } - } - } - catch (global::System.AggregateException aggregateException) - { - // unroll the inner exceptions to get the root cause - foreach( var innerException in aggregateException.Flatten().InnerExceptions ) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletException, $"{innerException.GetType().Name} - {innerException.Message} : {innerException.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - // Write exception out to error channel. - WriteError( new global::System.Management.Automation.ErrorRecord(innerException,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); - } - } - catch (global::System.Exception exception) when ((exception as System.Management.Automation.PipelineStoppedException)== null || (exception as System.Management.Automation.PipelineStoppedException).InnerException != null) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletException, $"{exception.GetType().Name} - {exception.Message} : {exception.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - // Write exception out to error channel. - WriteError( new global::System.Management.Automation.ErrorRecord(exception,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); - } - finally - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletProcessRecordEnd).Wait(); - } - } - - /// Performs execution of the command, working asynchronously if required. - /// - /// A that will be complete when handling of the method is completed. - /// - protected async global::System.Threading.Tasks.Task ProcessRecordAsync() - { - using( NoSynchronizationContext ) - { - await ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - Pipeline = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName, this.ExtensibleParameters); - if (null != HttpPipelinePrepend) - { - Pipeline.Prepend((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelinePrepend) ?? HttpPipelinePrepend); - } - if (null != HttpPipelineAppend) - { - Pipeline.Append((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelineAppend) ?? HttpPipelineAppend); - } - // get the client instance - try - { - await ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - await this.Client.MachineRunCommandsCreateOrUpdate(SubscriptionId, ResourceGroupName, MachineName, RunCommandName, RunCommandProperty, onOk, onDefault, this, Pipeline, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate); - await ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - } - catch (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.UndeclaredResponseException urexception) - { - WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId,ResourceGroupName=ResourceGroupName,MachineName=MachineName,RunCommandName=RunCommandName}) - { - ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } - }); - } - finally - { - await ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletProcessRecordAsyncEnd); - } - } - } - - /// Interrupts currently running code within the command. - protected override void StopProcessing() - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Cancel(); - base.StopProcessing(); - } - - /// - new protected void WriteObject(object sendToPipeline) - { - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); - base.WriteObject(sendToPipeline); - } - - /// - /// - new protected void WriteObject(object sendToPipeline, bool enumerateCollection) - { - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); - base.WriteObject(sendToPipeline, enumerateCollection); - } - - /// - /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). - /// - /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorResponse - /// from the remote call - /// - /// A that will be complete when handling of the method is completed. - /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) - { - using( NoSynchronizationContext ) - { - var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); - overrideOnDefault(responseMessage, response, ref _returnNow); - // if overrideOnDefault has returned true, then return right away. - if ((null != _returnNow && await _returnNow)) - { - return ; - } - // Error Response : default - var code = (await response)?.Code; - var message = (await response)?.Message; - if ((null == code || null == message)) - { - // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.RestException(responseMessage, await response); - WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) - { - ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } - }); - } - else - { - WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) - { - ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } - }); - } - } - } - - /// a delegate that is called when the remote service returns 200 (OK). - /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand - /// from the remote call - /// - /// A that will be complete when handling of the method is completed. - /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) - { - using( NoSynchronizationContext ) - { - var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); - overrideOnOk(responseMessage, response, ref _returnNow); - // if overrideOnOk has returned true, then return right away. - if ((null != _returnNow && await _returnNow)) - { - return ; - } - // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand - var result = (await response); - if (null != result) - { - if (0 == _responseSize) - { - _firstResponse = result; - _responseSize = 1; - } - else - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); - } - WriteObject(result.AddMultipleTypeNameIntoPSObject()); - _responseSize = 2; - } - } - } - } - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedMachineRunCommand_CreateExpanded.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedMachineRunCommand_CreateExpanded.cs deleted file mode 100644 index 8951c9e0c876..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedMachineRunCommand_CreateExpanded.cs +++ /dev/null @@ -1,852 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets -{ - using static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Extensions; - using Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell; - using Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Cmdlets; - using System; - - /// The operation to create a run command. - /// - /// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/runCommands/{runCommandName}" - /// - [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzConnectedMachineRunCommand_CreateExpanded", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand))] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"The operation to create a run command.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/runCommands/{runCommandName}", ApiVersion = "2024-05-20-preview")] - public partial class NewAzConnectedMachineRunCommand_CreateExpanded : global::System.Management.Automation.PSCmdlet, - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IContext - { - /// A unique id generatd for the this cmdlet when it is instantiated. - private string __correlationId = System.Guid.NewGuid().ToString(); - - /// A copy of the Invocation Info (necessary to allow asJob to clone this cmdlet) - private global::System.Management.Automation.InvocationInfo __invocationInfo; - - /// A unique id generatd for the this cmdlet when ProcessRecord() is called. - private string __processRecordId; - - /// - /// The for this operation. - /// - private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); - - /// A dictionary to carry over additional data for pipeline. - private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - - /// A buffer to record first returned object in response. - private object _firstResponse = null; - - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - - /// Describes a Run Command - private Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand _runCommandPropertiesBody = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.MachineRunCommand(); - - /// when specified, runs this cmdlet as a PowerShell job - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public global::System.Management.Automation.SwitchParameter AsJob { get; set; } - - /// - /// Optional. If set to true, provisioning will complete as soon as script starts and will not wait for script to complete. - /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Optional. If set to true, provisioning will complete as soon as script starts and will not wait for script to complete.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Optional. If set to true, provisioning will complete as soon as script starts and will not wait for script to complete.", - SerializedName = @"asyncExecution", - PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter AsyncExecution { get => _runCommandPropertiesBody.AsyncExecution ?? default(global::System.Management.Automation.SwitchParameter); set => _runCommandPropertiesBody.AsyncExecution = value; } - - /// Wait for .NET debugger to attach - [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public global::System.Management.Automation.SwitchParameter Break { get; set; } - - /// Accessor for cancellationTokenSource. - public global::System.Threading.CancellationTokenSource CancellationTokenSource { get => _cancellationTokenSource ; set { _cancellationTokenSource = value; } } - - /// The reference to the client API class. - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ConnectedMachine Client => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.ClientAPI; - - /// - /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet - /// against a different subscription - /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] - [global::System.Management.Automation.ValidateNotNull] - [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Azure)] - public global::System.Management.Automation.PSObject DefaultProfile { get; set; } - - /// - /// Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided. - /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided.", - SerializedName = @"clientId", - PossibleTypes = new [] { typeof(string) })] - public string ErrorBlobManagedIdentityClientId { get => _runCommandPropertiesBody.ErrorBlobManagedIdentityClientId ?? null; set => _runCommandPropertiesBody.ErrorBlobManagedIdentityClientId = value; } - - /// - /// Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided. - /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided.", - SerializedName = @"objectId", - PossibleTypes = new [] { typeof(string) })] - public string ErrorBlobManagedIdentityObjectId { get => _runCommandPropertiesBody.ErrorBlobManagedIdentityObjectId ?? null; set => _runCommandPropertiesBody.ErrorBlobManagedIdentityObjectId = value; } - - /// - /// Specifies the Azure storage blob where script error stream will be uploaded. Use a SAS URI with read, append, create, - /// write access OR use managed identity to provide the VM access to the blob. Refer errorBlobManagedIdentity parameter. - /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Specifies the Azure storage blob where script error stream will be uploaded. Use a SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob. Refer errorBlobManagedIdentity parameter.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Specifies the Azure storage blob where script error stream will be uploaded. Use a SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob. Refer errorBlobManagedIdentity parameter.", - SerializedName = @"errorBlobUri", - PossibleTypes = new [] { typeof(string) })] - public string ErrorBlobUri { get => _runCommandPropertiesBody.ErrorBlobUri ?? null; set => _runCommandPropertiesBody.ErrorBlobUri = value; } - - /// Accessor for extensibleParameters. - public global::System.Collections.Generic.IDictionary ExtensibleParameters { get => _extensibleParameters ; } - - /// SendAsync Pipeline Steps to be appended to the front of the pipeline - [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] - [global::System.Management.Automation.ValidateNotNull] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SendAsyncStep[] HttpPipelineAppend { get; set; } - - /// SendAsync Pipeline Steps to be prepended to the front of the pipeline - [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be prepended to the front of the pipeline")] - [global::System.Management.Automation.ValidateNotNull] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SendAsyncStep[] HttpPipelinePrepend { get; set; } - - /// Accessor for our copy of the InvocationInfo. - public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } - - /// The geo-location where the resource lives - [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The geo-location where the resource lives")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = true, - ReadOnly = false, - Description = @"The geo-location where the resource lives", - SerializedName = @"location", - PossibleTypes = new [] { typeof(string) })] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.CompleterInfo( - Name = @"Location Completer", - Description =@"Gets the list of locations available for this resource.", - Script = @"Get-AzLocation | Where-Object Providers -Contains ""Microsoft.HybridCompute"" | Select-Object -ExpandProperty Location")] - public string Location { get => _runCommandPropertiesBody.Location ?? null; set => _runCommandPropertiesBody.Location = value; } - - /// Backing field for property. - private string _machineName; - - /// The name of the hybrid machine. - [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the hybrid machine.")] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = true, - ReadOnly = false, - Description = @"The name of the hybrid machine.", - SerializedName = @"machineName", - PossibleTypes = new [] { typeof(string) })] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Path)] - public string MachineName { get => this._machineName; set => this._machineName = value; } - - /// - /// cancellation delegate. Stops the cmdlet when called. - /// - global::System.Action Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - - /// cancellation token. - global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener.Token => _cancellationTokenSource.Token; - - /// - /// when specified, will make the remote call, and return an AsyncOperationResponse, letting the remote operation continue - /// asynchronously. - /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command asynchronously")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public global::System.Management.Automation.SwitchParameter NoWait { get; set; } - - /// - /// Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided. - /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided.", - SerializedName = @"clientId", - PossibleTypes = new [] { typeof(string) })] - public string OutputBlobManagedIdentityClientId { get => _runCommandPropertiesBody.OutputBlobManagedIdentityClientId ?? null; set => _runCommandPropertiesBody.OutputBlobManagedIdentityClientId = value; } - - /// - /// Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided. - /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided.", - SerializedName = @"objectId", - PossibleTypes = new [] { typeof(string) })] - public string OutputBlobManagedIdentityObjectId { get => _runCommandPropertiesBody.OutputBlobManagedIdentityObjectId ?? null; set => _runCommandPropertiesBody.OutputBlobManagedIdentityObjectId = value; } - - /// - /// Specifies the Azure storage blob where script output stream will be uploaded. Use a SAS URI with read, append, create, - /// write access OR use managed identity to provide the VM access to the blob. Refer outputBlobManagedIdentity parameter. - /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Specifies the Azure storage blob where script output stream will be uploaded. Use a SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob. Refer outputBlobManagedIdentity parameter. ")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Specifies the Azure storage blob where script output stream will be uploaded. Use a SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob. Refer outputBlobManagedIdentity parameter. ", - SerializedName = @"outputBlobUri", - PossibleTypes = new [] { typeof(string) })] - public string OutputBlobUri { get => _runCommandPropertiesBody.OutputBlobUri ?? null; set => _runCommandPropertiesBody.OutputBlobUri = value; } - - /// The parameters used by the script. - [global::System.Management.Automation.AllowEmptyCollection] - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The parameters used by the script.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"The parameters used by the script.", - SerializedName = @"parameters", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandInputParameter) })] - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandInputParameter[] Parameter { get => _runCommandPropertiesBody.Parameter?.ToArray() ?? null /* fixedArrayOf */; set => _runCommandPropertiesBody.Parameter = (value != null ? new System.Collections.Generic.List(value) : null); } - - /// - /// The instance of the that the remote call will use. - /// - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.HttpPipeline Pipeline { get; set; } - - /// The parameters used by the script. - [global::System.Management.Automation.AllowEmptyCollection] - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The parameters used by the script.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"The parameters used by the script.", - SerializedName = @"protectedParameters", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandInputParameter) })] - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandInputParameter[] ProtectedParameter { get => _runCommandPropertiesBody.ProtectedParameter?.ToArray() ?? null /* fixedArrayOf */; set => _runCommandPropertiesBody.ProtectedParameter = (value != null ? new System.Collections.Generic.List(value) : null); } - - /// The URI for the proxy server to use - [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "The URI for the proxy server to use")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public global::System.Uri Proxy { get; set; } - - /// Credentials for a proxy server to use for the remote call - [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Credentials for a proxy server to use for the remote call")] - [global::System.Management.Automation.ValidateNotNull] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public global::System.Management.Automation.PSCredential ProxyCredential { get; set; } - - /// Use the default credentials for the proxy - [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Use the default credentials for the proxy")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public global::System.Management.Automation.SwitchParameter ProxyUseDefaultCredentials { get; set; } - - /// Backing field for property. - private string _resourceGroupName; - - /// The name of the resource group. The name is case insensitive. - [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the resource group. The name is case insensitive.")] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = true, - ReadOnly = false, - Description = @"The name of the resource group. The name is case insensitive.", - SerializedName = @"resourceGroupName", - PossibleTypes = new [] { typeof(string) })] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.CompleterInfo( - Name = @"ResourceGroupName Completer", - Description =@"Gets the list of ResourceGroupName's available for this subscription.", - Script = @"Get-AzResourceGroup | Select-Object -ExpandProperty ResourceGroupName")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Path)] - public string ResourceGroupName { get => this._resourceGroupName; set => this._resourceGroupName = value; } - - /// - /// Specifies the user account password on the machine when executing the run command. - /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Specifies the user account password on the machine when executing the run command.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Specifies the user account password on the machine when executing the run command.", - SerializedName = @"runAsPassword", - PossibleTypes = new [] { typeof(string) })] - public string RunAsPassword { get => _runCommandPropertiesBody.RunAsPassword ?? null; set => _runCommandPropertiesBody.RunAsPassword = value; } - - /// Specifies the user account on the machine when executing the run command. - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Specifies the user account on the machine when executing the run command.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Specifies the user account on the machine when executing the run command.", - SerializedName = @"runAsUser", - PossibleTypes = new [] { typeof(string) })] - public string RunAsUser { get => _runCommandPropertiesBody.RunAsUser ?? null; set => _runCommandPropertiesBody.RunAsUser = value; } - - /// Backing field for property. - private string _runCommandName; - - /// The name of the run command. - [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the run command.")] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = true, - ReadOnly = false, - Description = @"The name of the run command.", - SerializedName = @"runCommandName", - PossibleTypes = new [] { typeof(string) })] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Path)] - public string RunCommandName { get => this._runCommandName; set => this._runCommandName = value; } - - /// - /// Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided. - /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided.", - SerializedName = @"clientId", - PossibleTypes = new [] { typeof(string) })] - public string ScriptUriManagedIdentityClientId { get => _runCommandPropertiesBody.ScriptUriManagedIdentityClientId ?? null; set => _runCommandPropertiesBody.ScriptUriManagedIdentityClientId = value; } - - /// - /// Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided. - /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided.", - SerializedName = @"objectId", - PossibleTypes = new [] { typeof(string) })] - public string ScriptUriManagedIdentityObjectId { get => _runCommandPropertiesBody.ScriptUriManagedIdentityObjectId ?? null; set => _runCommandPropertiesBody.ScriptUriManagedIdentityObjectId = value; } - - /// Specifies the commandId of predefined built-in script. - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Specifies the commandId of predefined built-in script.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Specifies the commandId of predefined built-in script.", - SerializedName = @"commandId", - PossibleTypes = new [] { typeof(string) })] - public string SourceCommandId { get => _runCommandPropertiesBody.SourceCommandId ?? null; set => _runCommandPropertiesBody.SourceCommandId = value; } - - /// Specifies the script content to be executed on the machine. - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Specifies the script content to be executed on the machine.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Specifies the script content to be executed on the machine.", - SerializedName = @"script", - PossibleTypes = new [] { typeof(string) })] - public string SourceScript { get => _runCommandPropertiesBody.SourceScript ?? null; set => _runCommandPropertiesBody.SourceScript = value; } - - /// - /// Specifies the script download location. It can be either SAS URI of an Azure storage blob with read access or public URI. - /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Specifies the script download location. It can be either SAS URI of an Azure storage blob with read access or public URI.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Specifies the script download location. It can be either SAS URI of an Azure storage blob with read access or public URI.", - SerializedName = @"scriptUri", - PossibleTypes = new [] { typeof(string) })] - public string SourceScriptUri { get => _runCommandPropertiesBody.SourceScriptUri ?? null; set => _runCommandPropertiesBody.SourceScriptUri = value; } - - /// Backing field for property. - private string _subscriptionId; - - /// The ID of the target subscription. - [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The ID of the target subscription.")] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = true, - ReadOnly = false, - Description = @"The ID of the target subscription.", - SerializedName = @"subscriptionId", - PossibleTypes = new [] { typeof(string) })] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.DefaultInfo( - Name = @"", - Description =@"", - Script = @"(Get-AzContext).Subscription.Id", - SetCondition = @"")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Path)] - public string SubscriptionId { get => this._subscriptionId; set => this._subscriptionId = value; } - - /// Resource tags. - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ExportAs(typeof(global::System.Collections.Hashtable))] - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Resource tags.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Resource tags.", - SerializedName = @"tags", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceTags) })] - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceTags Tag { get => _runCommandPropertiesBody.Tags ?? null /* object */; set => _runCommandPropertiesBody.Tags = value; } - - /// The timeout in seconds to execute the run command. - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The timeout in seconds to execute the run command.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"The timeout in seconds to execute the run command.", - SerializedName = @"timeoutInSeconds", - PossibleTypes = new [] { typeof(int) })] - public int TimeoutInSecond { get => _runCommandPropertiesBody.TimeoutInSecond ?? default(int); set => _runCommandPropertiesBody.TimeoutInSecond = value; } - - /// - /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what - /// happens on that response. Implement this method in a partial class to enable this behavior - /// - /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorResponse - /// from the remote call - /// /// Determines if the rest of the onDefault method should be processed, or if the method should - /// return immediately (set to true to skip further processing ) - - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); - - /// - /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens - /// on that response. Implement this method in a partial class to enable this behavior - /// - /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand - /// from the remote call - /// /// Determines if the rest of the onOk method should be processed, or if the method should return - /// immediately (set to true to skip further processing ) - - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); - - /// - /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) - /// - protected override void BeginProcessing() - { - var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.GetTelemetryId.Invoke(); - if (telemetryId != "" && telemetryId != "internal") - { - __correlationId = telemetryId; - } - Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); - if (Break) - { - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.AttachDebugger.Break(); - } - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletBeginProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - } - - /// Creates a duplicate instance of this cmdlet (via JSON serialization). - /// a duplicate instance of NewAzConnectedMachineRunCommand_CreateExpanded - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets.NewAzConnectedMachineRunCommand_CreateExpanded Clone() - { - var clone = new NewAzConnectedMachineRunCommand_CreateExpanded(); - clone.__correlationId = this.__correlationId; - clone.__processRecordId = this.__processRecordId; - clone.DefaultProfile = this.DefaultProfile; - clone.InvocationInformation = this.InvocationInformation; - clone.Proxy = this.Proxy; - clone.Pipeline = this.Pipeline; - clone.AsJob = this.AsJob; - clone.Break = this.Break; - clone.ProxyCredential = this.ProxyCredential; - clone.ProxyUseDefaultCredentials = this.ProxyUseDefaultCredentials; - clone.HttpPipelinePrepend = this.HttpPipelinePrepend; - clone.HttpPipelineAppend = this.HttpPipelineAppend; - clone._runCommandPropertiesBody = this._runCommandPropertiesBody; - clone.SubscriptionId = this.SubscriptionId; - clone.ResourceGroupName = this.ResourceGroupName; - clone.MachineName = this.MachineName; - clone.RunCommandName = this.RunCommandName; - return clone; - } - - /// Performs clean-up after the command execution - protected override void EndProcessing() - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } - var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); - if (telemetryInfo != null) - { - telemetryInfo.TryGetValue("ShowSecretsWarning", out var showSecretsWarning); - telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); - telemetryInfo.TryGetValue("InvocationName", out var invocationName); - if (showSecretsWarning == "true") - { - if (string.IsNullOrEmpty(sanitizedProperties)) - { - WriteWarning($"The output of cmdlet {invocationName} may compromise security by showing secrets. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); - } - else - { - WriteWarning($"The output of cmdlet {invocationName} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); - } - } - } - } - - /// Handles/Dispatches events during the call to the REST service. - /// The message id - /// The message cancellation token. When this call is cancelled, this should be true - /// Detailed message data for the message event. - /// - /// A that will be complete when handling of the message is completed. - /// - async global::System.Threading.Tasks.Task Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener.Signal(string id, global::System.Threading.CancellationToken token, global::System.Func messageData) - { - using( NoSynchronizationContext ) - { - if (token.IsCancellationRequested) - { - return ; - } - - switch ( id ) - { - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Verbose: - { - WriteVerbose($"{(messageData().Message ?? global::System.String.Empty)}"); - return ; - } - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Warning: - { - WriteWarning($"{(messageData().Message ?? global::System.String.Empty)}"); - return ; - } - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Information: - { - // When an operation supports asjob, Information messages must go thru verbose. - WriteVerbose($"INFORMATION: {(messageData().Message ?? global::System.String.Empty)}"); - return ; - } - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Debug: - { - WriteDebug($"{(messageData().Message ?? global::System.String.Empty)}"); - return ; - } - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Error: - { - WriteError(new global::System.Management.Automation.ErrorRecord( new global::System.Exception(messageData().Message), string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null ) ); - return ; - } - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress: - { - var data = messageData(); - int progress = (int)data.Value; - string activityMessage, statusDescription; - global::System.Management.Automation.ProgressRecordType recordType; - if (progress < 100) - { - activityMessage = "In progress"; - statusDescription = "Checking operation status"; - recordType = System.Management.Automation.ProgressRecordType.Processing; - } - else - { - activityMessage = "Completed"; - statusDescription = "Completed"; - recordType = System.Management.Automation.ProgressRecordType.Completed; - } - WriteProgress(new global::System.Management.Automation.ProgressRecord(1, activityMessage, statusDescription) - { - PercentComplete = progress, - RecordType = recordType - }); - return ; - } - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.DelayBeforePolling: - { - var data = messageData(); - if (true == MyInvocation?.BoundParameters?.ContainsKey("NoWait")) - { - if (data.ResponseMessage is System.Net.Http.HttpResponseMessage response) - { - var asyncOperation = response.GetFirstHeader(@"Azure-AsyncOperation"); - var location = response.GetFirstHeader(@"Location"); - var uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? response.RequestMessage.RequestUri.AbsoluteUri : location : asyncOperation; - WriteObject(new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell.AsyncOperationResponse { Target = uri }); - // do nothing more. - data.Cancel(); - return; - } - } - else - { - if (data.ResponseMessage is System.Net.Http.HttpResponseMessage response) - { - int delay = (int)(response.Headers.RetryAfter?.Delta?.TotalSeconds ?? 30); - WriteDebug($"Delaying {delay} seconds before polling."); - for (var now = 0; now < delay; ++now) - { - WriteProgress(new global::System.Management.Automation.ProgressRecord(1, "In progress", "Checking operation status") - { - PercentComplete = now * 100 / delay - }); - await global::System.Threading.Tasks.Task.Delay(1000, token); - } - } - } - break; - } - } - await Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.Signal(id, token, messageData, (i, t, m) => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(i, t, () => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.EventDataConverter.ConvertFrom(m()) as Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.EventData), InvocationInformation, this.ParameterSetName, __correlationId, __processRecordId, null ); - if (token.IsCancellationRequested) - { - return ; - } - WriteDebug($"{id}: {(messageData().Message ?? global::System.String.Empty)}"); - } - } - - /// - /// Initializes a new instance of the cmdlet class. - /// - public NewAzConnectedMachineRunCommand_CreateExpanded() - { - - } - - /// Performs execution of the command. - protected override void ProcessRecord() - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletProcessRecordStart).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - __processRecordId = System.Guid.NewGuid().ToString(); - try - { - // work - if (ShouldProcess($"Call remote 'MachineRunCommandsCreateOrUpdate' operation")) - { - if (true == MyInvocation?.BoundParameters?.ContainsKey("AsJob")) - { - var instance = this.Clone(); - var job = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell.AsyncJob(instance, this.MyInvocation.Line, this.MyInvocation.MyCommand.Name, this._cancellationTokenSource.Token, this._cancellationTokenSource.Cancel); - JobRepository.Add(job); - var task = instance.ProcessRecordAsync(); - job.Monitor(task); - WriteObject(job); - } - else - { - using( var asyncCommandRuntime = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell.AsyncCommandRuntime(this, ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token) ) - { - asyncCommandRuntime.Wait( ProcessRecordAsync(),((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token); - } - } - } - } - catch (global::System.AggregateException aggregateException) - { - // unroll the inner exceptions to get the root cause - foreach( var innerException in aggregateException.Flatten().InnerExceptions ) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletException, $"{innerException.GetType().Name} - {innerException.Message} : {innerException.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - // Write exception out to error channel. - WriteError( new global::System.Management.Automation.ErrorRecord(innerException,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); - } - } - catch (global::System.Exception exception) when ((exception as System.Management.Automation.PipelineStoppedException)== null || (exception as System.Management.Automation.PipelineStoppedException).InnerException != null) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletException, $"{exception.GetType().Name} - {exception.Message} : {exception.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - // Write exception out to error channel. - WriteError( new global::System.Management.Automation.ErrorRecord(exception,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); - } - finally - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletProcessRecordEnd).Wait(); - } - } - - /// Performs execution of the command, working asynchronously if required. - /// - /// A that will be complete when handling of the method is completed. - /// - protected async global::System.Threading.Tasks.Task ProcessRecordAsync() - { - using( NoSynchronizationContext ) - { - await ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - Pipeline = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName, this.ExtensibleParameters); - if (null != HttpPipelinePrepend) - { - Pipeline.Prepend((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelinePrepend) ?? HttpPipelinePrepend); - } - if (null != HttpPipelineAppend) - { - Pipeline.Append((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelineAppend) ?? HttpPipelineAppend); - } - // get the client instance - try - { - await ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - await this.Client.MachineRunCommandsCreateOrUpdate(SubscriptionId, ResourceGroupName, MachineName, RunCommandName, _runCommandPropertiesBody, onOk, onDefault, this, Pipeline, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate); - await ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - } - catch (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.UndeclaredResponseException urexception) - { - WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId,ResourceGroupName=ResourceGroupName,MachineName=MachineName,RunCommandName=RunCommandName}) - { - ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } - }); - } - finally - { - await ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletProcessRecordAsyncEnd); - } - } - } - - /// Interrupts currently running code within the command. - protected override void StopProcessing() - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Cancel(); - base.StopProcessing(); - } - - /// - new protected void WriteObject(object sendToPipeline) - { - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); - base.WriteObject(sendToPipeline); - } - - /// - /// - new protected void WriteObject(object sendToPipeline, bool enumerateCollection) - { - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); - base.WriteObject(sendToPipeline, enumerateCollection); - } - - /// - /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). - /// - /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorResponse - /// from the remote call - /// - /// A that will be complete when handling of the method is completed. - /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) - { - using( NoSynchronizationContext ) - { - var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); - overrideOnDefault(responseMessage, response, ref _returnNow); - // if overrideOnDefault has returned true, then return right away. - if ((null != _returnNow && await _returnNow)) - { - return ; - } - // Error Response : default - var code = (await response)?.Code; - var message = (await response)?.Message; - if ((null == code || null == message)) - { - // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.RestException(responseMessage, await response); - WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) - { - ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } - }); - } - else - { - WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) - { - ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } - }); - } - } - } - - /// a delegate that is called when the remote service returns 200 (OK). - /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand - /// from the remote call - /// - /// A that will be complete when handling of the method is completed. - /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) - { - using( NoSynchronizationContext ) - { - var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); - overrideOnOk(responseMessage, response, ref _returnNow); - // if overrideOnOk has returned true, then return right away. - if ((null != _returnNow && await _returnNow)) - { - return ; - } - // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand - var result = (await response); - if (null != result) - { - if (0 == _responseSize) - { - _firstResponse = result; - _responseSize = 1; - } - else - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); - } - WriteObject(result.AddMultipleTypeNameIntoPSObject()); - _responseSize = 2; - } - } - } - } - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedMachineRunCommand_CreateViaIdentityExpanded.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedMachineRunCommand_CreateViaIdentityExpanded.cs deleted file mode 100644 index d1e27737b255..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedMachineRunCommand_CreateViaIdentityExpanded.cs +++ /dev/null @@ -1,817 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets -{ - using static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Extensions; - using Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell; - using Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Cmdlets; - using System; - - /// The operation to create a run command. - /// - /// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/runCommands/{runCommandName}" - /// - [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzConnectedMachineRunCommand_CreateViaIdentityExpanded", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand))] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"The operation to create a run command.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/runCommands/{runCommandName}", ApiVersion = "2024-05-20-preview")] - public partial class NewAzConnectedMachineRunCommand_CreateViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IContext - { - /// A unique id generatd for the this cmdlet when it is instantiated. - private string __correlationId = System.Guid.NewGuid().ToString(); - - /// A copy of the Invocation Info (necessary to allow asJob to clone this cmdlet) - private global::System.Management.Automation.InvocationInfo __invocationInfo; - - /// A unique id generatd for the this cmdlet when ProcessRecord() is called. - private string __processRecordId; - - /// - /// The for this operation. - /// - private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); - - /// A dictionary to carry over additional data for pipeline. - private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - - /// A buffer to record first returned object in response. - private object _firstResponse = null; - - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - - /// Describes a Run Command - private Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand _runCommandPropertiesBody = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.MachineRunCommand(); - - /// when specified, runs this cmdlet as a PowerShell job - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public global::System.Management.Automation.SwitchParameter AsJob { get; set; } - - /// - /// Optional. If set to true, provisioning will complete as soon as script starts and will not wait for script to complete. - /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Optional. If set to true, provisioning will complete as soon as script starts and will not wait for script to complete.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Optional. If set to true, provisioning will complete as soon as script starts and will not wait for script to complete.", - SerializedName = @"asyncExecution", - PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter AsyncExecution { get => _runCommandPropertiesBody.AsyncExecution ?? default(global::System.Management.Automation.SwitchParameter); set => _runCommandPropertiesBody.AsyncExecution = value; } - - /// Wait for .NET debugger to attach - [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public global::System.Management.Automation.SwitchParameter Break { get; set; } - - /// Accessor for cancellationTokenSource. - public global::System.Threading.CancellationTokenSource CancellationTokenSource { get => _cancellationTokenSource ; set { _cancellationTokenSource = value; } } - - /// The reference to the client API class. - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ConnectedMachine Client => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.ClientAPI; - - /// - /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet - /// against a different subscription - /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] - [global::System.Management.Automation.ValidateNotNull] - [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Azure)] - public global::System.Management.Automation.PSObject DefaultProfile { get; set; } - - /// - /// Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided. - /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided.", - SerializedName = @"clientId", - PossibleTypes = new [] { typeof(string) })] - public string ErrorBlobManagedIdentityClientId { get => _runCommandPropertiesBody.ErrorBlobManagedIdentityClientId ?? null; set => _runCommandPropertiesBody.ErrorBlobManagedIdentityClientId = value; } - - /// - /// Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided. - /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided.", - SerializedName = @"objectId", - PossibleTypes = new [] { typeof(string) })] - public string ErrorBlobManagedIdentityObjectId { get => _runCommandPropertiesBody.ErrorBlobManagedIdentityObjectId ?? null; set => _runCommandPropertiesBody.ErrorBlobManagedIdentityObjectId = value; } - - /// - /// Specifies the Azure storage blob where script error stream will be uploaded. Use a SAS URI with read, append, create, - /// write access OR use managed identity to provide the VM access to the blob. Refer errorBlobManagedIdentity parameter. - /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Specifies the Azure storage blob where script error stream will be uploaded. Use a SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob. Refer errorBlobManagedIdentity parameter.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Specifies the Azure storage blob where script error stream will be uploaded. Use a SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob. Refer errorBlobManagedIdentity parameter.", - SerializedName = @"errorBlobUri", - PossibleTypes = new [] { typeof(string) })] - public string ErrorBlobUri { get => _runCommandPropertiesBody.ErrorBlobUri ?? null; set => _runCommandPropertiesBody.ErrorBlobUri = value; } - - /// Accessor for extensibleParameters. - public global::System.Collections.Generic.IDictionary ExtensibleParameters { get => _extensibleParameters ; } - - /// SendAsync Pipeline Steps to be appended to the front of the pipeline - [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] - [global::System.Management.Automation.ValidateNotNull] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SendAsyncStep[] HttpPipelineAppend { get; set; } - - /// SendAsync Pipeline Steps to be prepended to the front of the pipeline - [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be prepended to the front of the pipeline")] - [global::System.Management.Automation.ValidateNotNull] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SendAsyncStep[] HttpPipelinePrepend { get; set; } - - /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentity _inputObject; - - /// Identity Parameter - [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Identity Parameter", ValueFromPipeline = true)] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Path)] - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentity InputObject { get => this._inputObject; set => this._inputObject = value; } - - /// Accessor for our copy of the InvocationInfo. - public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } - - /// The geo-location where the resource lives - [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The geo-location where the resource lives")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = true, - ReadOnly = false, - Description = @"The geo-location where the resource lives", - SerializedName = @"location", - PossibleTypes = new [] { typeof(string) })] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.CompleterInfo( - Name = @"Location Completer", - Description =@"Gets the list of locations available for this resource.", - Script = @"Get-AzLocation | Where-Object Providers -Contains ""Microsoft.HybridCompute"" | Select-Object -ExpandProperty Location")] - public string Location { get => _runCommandPropertiesBody.Location ?? null; set => _runCommandPropertiesBody.Location = value; } - - /// - /// cancellation delegate. Stops the cmdlet when called. - /// - global::System.Action Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - - /// cancellation token. - global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener.Token => _cancellationTokenSource.Token; - - /// - /// when specified, will make the remote call, and return an AsyncOperationResponse, letting the remote operation continue - /// asynchronously. - /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command asynchronously")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public global::System.Management.Automation.SwitchParameter NoWait { get; set; } - - /// - /// Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided. - /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided.", - SerializedName = @"clientId", - PossibleTypes = new [] { typeof(string) })] - public string OutputBlobManagedIdentityClientId { get => _runCommandPropertiesBody.OutputBlobManagedIdentityClientId ?? null; set => _runCommandPropertiesBody.OutputBlobManagedIdentityClientId = value; } - - /// - /// Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided. - /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided.", - SerializedName = @"objectId", - PossibleTypes = new [] { typeof(string) })] - public string OutputBlobManagedIdentityObjectId { get => _runCommandPropertiesBody.OutputBlobManagedIdentityObjectId ?? null; set => _runCommandPropertiesBody.OutputBlobManagedIdentityObjectId = value; } - - /// - /// Specifies the Azure storage blob where script output stream will be uploaded. Use a SAS URI with read, append, create, - /// write access OR use managed identity to provide the VM access to the blob. Refer outputBlobManagedIdentity parameter. - /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Specifies the Azure storage blob where script output stream will be uploaded. Use a SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob. Refer outputBlobManagedIdentity parameter. ")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Specifies the Azure storage blob where script output stream will be uploaded. Use a SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob. Refer outputBlobManagedIdentity parameter. ", - SerializedName = @"outputBlobUri", - PossibleTypes = new [] { typeof(string) })] - public string OutputBlobUri { get => _runCommandPropertiesBody.OutputBlobUri ?? null; set => _runCommandPropertiesBody.OutputBlobUri = value; } - - /// The parameters used by the script. - [global::System.Management.Automation.AllowEmptyCollection] - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The parameters used by the script.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"The parameters used by the script.", - SerializedName = @"parameters", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandInputParameter) })] - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandInputParameter[] Parameter { get => _runCommandPropertiesBody.Parameter?.ToArray() ?? null /* fixedArrayOf */; set => _runCommandPropertiesBody.Parameter = (value != null ? new System.Collections.Generic.List(value) : null); } - - /// - /// The instance of the that the remote call will use. - /// - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.HttpPipeline Pipeline { get; set; } - - /// The parameters used by the script. - [global::System.Management.Automation.AllowEmptyCollection] - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The parameters used by the script.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"The parameters used by the script.", - SerializedName = @"protectedParameters", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandInputParameter) })] - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandInputParameter[] ProtectedParameter { get => _runCommandPropertiesBody.ProtectedParameter?.ToArray() ?? null /* fixedArrayOf */; set => _runCommandPropertiesBody.ProtectedParameter = (value != null ? new System.Collections.Generic.List(value) : null); } - - /// The URI for the proxy server to use - [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "The URI for the proxy server to use")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public global::System.Uri Proxy { get; set; } - - /// Credentials for a proxy server to use for the remote call - [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Credentials for a proxy server to use for the remote call")] - [global::System.Management.Automation.ValidateNotNull] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public global::System.Management.Automation.PSCredential ProxyCredential { get; set; } - - /// Use the default credentials for the proxy - [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Use the default credentials for the proxy")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public global::System.Management.Automation.SwitchParameter ProxyUseDefaultCredentials { get; set; } - - /// - /// Specifies the user account password on the machine when executing the run command. - /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Specifies the user account password on the machine when executing the run command.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Specifies the user account password on the machine when executing the run command.", - SerializedName = @"runAsPassword", - PossibleTypes = new [] { typeof(string) })] - public string RunAsPassword { get => _runCommandPropertiesBody.RunAsPassword ?? null; set => _runCommandPropertiesBody.RunAsPassword = value; } - - /// Specifies the user account on the machine when executing the run command. - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Specifies the user account on the machine when executing the run command.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Specifies the user account on the machine when executing the run command.", - SerializedName = @"runAsUser", - PossibleTypes = new [] { typeof(string) })] - public string RunAsUser { get => _runCommandPropertiesBody.RunAsUser ?? null; set => _runCommandPropertiesBody.RunAsUser = value; } - - /// - /// Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided. - /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided.", - SerializedName = @"clientId", - PossibleTypes = new [] { typeof(string) })] - public string ScriptUriManagedIdentityClientId { get => _runCommandPropertiesBody.ScriptUriManagedIdentityClientId ?? null; set => _runCommandPropertiesBody.ScriptUriManagedIdentityClientId = value; } - - /// - /// Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided. - /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided.", - SerializedName = @"objectId", - PossibleTypes = new [] { typeof(string) })] - public string ScriptUriManagedIdentityObjectId { get => _runCommandPropertiesBody.ScriptUriManagedIdentityObjectId ?? null; set => _runCommandPropertiesBody.ScriptUriManagedIdentityObjectId = value; } - - /// Specifies the commandId of predefined built-in script. - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Specifies the commandId of predefined built-in script.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Specifies the commandId of predefined built-in script.", - SerializedName = @"commandId", - PossibleTypes = new [] { typeof(string) })] - public string SourceCommandId { get => _runCommandPropertiesBody.SourceCommandId ?? null; set => _runCommandPropertiesBody.SourceCommandId = value; } - - /// Specifies the script content to be executed on the machine. - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Specifies the script content to be executed on the machine.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Specifies the script content to be executed on the machine.", - SerializedName = @"script", - PossibleTypes = new [] { typeof(string) })] - public string SourceScript { get => _runCommandPropertiesBody.SourceScript ?? null; set => _runCommandPropertiesBody.SourceScript = value; } - - /// - /// Specifies the script download location. It can be either SAS URI of an Azure storage blob with read access or public URI. - /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Specifies the script download location. It can be either SAS URI of an Azure storage blob with read access or public URI.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Specifies the script download location. It can be either SAS URI of an Azure storage blob with read access or public URI.", - SerializedName = @"scriptUri", - PossibleTypes = new [] { typeof(string) })] - public string SourceScriptUri { get => _runCommandPropertiesBody.SourceScriptUri ?? null; set => _runCommandPropertiesBody.SourceScriptUri = value; } - - /// Resource tags. - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ExportAs(typeof(global::System.Collections.Hashtable))] - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Resource tags.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Resource tags.", - SerializedName = @"tags", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceTags) })] - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceTags Tag { get => _runCommandPropertiesBody.Tags ?? null /* object */; set => _runCommandPropertiesBody.Tags = value; } - - /// The timeout in seconds to execute the run command. - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The timeout in seconds to execute the run command.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"The timeout in seconds to execute the run command.", - SerializedName = @"timeoutInSeconds", - PossibleTypes = new [] { typeof(int) })] - public int TimeoutInSecond { get => _runCommandPropertiesBody.TimeoutInSecond ?? default(int); set => _runCommandPropertiesBody.TimeoutInSecond = value; } - - /// - /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what - /// happens on that response. Implement this method in a partial class to enable this behavior - /// - /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorResponse - /// from the remote call - /// /// Determines if the rest of the onDefault method should be processed, or if the method should - /// return immediately (set to true to skip further processing ) - - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); - - /// - /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens - /// on that response. Implement this method in a partial class to enable this behavior - /// - /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand - /// from the remote call - /// /// Determines if the rest of the onOk method should be processed, or if the method should return - /// immediately (set to true to skip further processing ) - - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); - - /// - /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) - /// - protected override void BeginProcessing() - { - var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.GetTelemetryId.Invoke(); - if (telemetryId != "" && telemetryId != "internal") - { - __correlationId = telemetryId; - } - Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); - if (Break) - { - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.AttachDebugger.Break(); - } - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletBeginProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - } - - /// Creates a duplicate instance of this cmdlet (via JSON serialization). - /// - /// a duplicate instance of NewAzConnectedMachineRunCommand_CreateViaIdentityExpanded - /// - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets.NewAzConnectedMachineRunCommand_CreateViaIdentityExpanded Clone() - { - var clone = new NewAzConnectedMachineRunCommand_CreateViaIdentityExpanded(); - clone.__correlationId = this.__correlationId; - clone.__processRecordId = this.__processRecordId; - clone.DefaultProfile = this.DefaultProfile; - clone.InvocationInformation = this.InvocationInformation; - clone.Proxy = this.Proxy; - clone.Pipeline = this.Pipeline; - clone.AsJob = this.AsJob; - clone.Break = this.Break; - clone.ProxyCredential = this.ProxyCredential; - clone.ProxyUseDefaultCredentials = this.ProxyUseDefaultCredentials; - clone.HttpPipelinePrepend = this.HttpPipelinePrepend; - clone.HttpPipelineAppend = this.HttpPipelineAppend; - clone._runCommandPropertiesBody = this._runCommandPropertiesBody; - return clone; - } - - /// Performs clean-up after the command execution - protected override void EndProcessing() - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } - var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); - if (telemetryInfo != null) - { - telemetryInfo.TryGetValue("ShowSecretsWarning", out var showSecretsWarning); - telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); - telemetryInfo.TryGetValue("InvocationName", out var invocationName); - if (showSecretsWarning == "true") - { - if (string.IsNullOrEmpty(sanitizedProperties)) - { - WriteWarning($"The output of cmdlet {invocationName} may compromise security by showing secrets. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); - } - else - { - WriteWarning($"The output of cmdlet {invocationName} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); - } - } - } - } - - /// Handles/Dispatches events during the call to the REST service. - /// The message id - /// The message cancellation token. When this call is cancelled, this should be true - /// Detailed message data for the message event. - /// - /// A that will be complete when handling of the message is completed. - /// - async global::System.Threading.Tasks.Task Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener.Signal(string id, global::System.Threading.CancellationToken token, global::System.Func messageData) - { - using( NoSynchronizationContext ) - { - if (token.IsCancellationRequested) - { - return ; - } - - switch ( id ) - { - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Verbose: - { - WriteVerbose($"{(messageData().Message ?? global::System.String.Empty)}"); - return ; - } - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Warning: - { - WriteWarning($"{(messageData().Message ?? global::System.String.Empty)}"); - return ; - } - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Information: - { - // When an operation supports asjob, Information messages must go thru verbose. - WriteVerbose($"INFORMATION: {(messageData().Message ?? global::System.String.Empty)}"); - return ; - } - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Debug: - { - WriteDebug($"{(messageData().Message ?? global::System.String.Empty)}"); - return ; - } - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Error: - { - WriteError(new global::System.Management.Automation.ErrorRecord( new global::System.Exception(messageData().Message), string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null ) ); - return ; - } - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress: - { - var data = messageData(); - int progress = (int)data.Value; - string activityMessage, statusDescription; - global::System.Management.Automation.ProgressRecordType recordType; - if (progress < 100) - { - activityMessage = "In progress"; - statusDescription = "Checking operation status"; - recordType = System.Management.Automation.ProgressRecordType.Processing; - } - else - { - activityMessage = "Completed"; - statusDescription = "Completed"; - recordType = System.Management.Automation.ProgressRecordType.Completed; - } - WriteProgress(new global::System.Management.Automation.ProgressRecord(1, activityMessage, statusDescription) - { - PercentComplete = progress, - RecordType = recordType - }); - return ; - } - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.DelayBeforePolling: - { - var data = messageData(); - if (true == MyInvocation?.BoundParameters?.ContainsKey("NoWait")) - { - if (data.ResponseMessage is System.Net.Http.HttpResponseMessage response) - { - var asyncOperation = response.GetFirstHeader(@"Azure-AsyncOperation"); - var location = response.GetFirstHeader(@"Location"); - var uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? response.RequestMessage.RequestUri.AbsoluteUri : location : asyncOperation; - WriteObject(new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell.AsyncOperationResponse { Target = uri }); - // do nothing more. - data.Cancel(); - return; - } - } - else - { - if (data.ResponseMessage is System.Net.Http.HttpResponseMessage response) - { - int delay = (int)(response.Headers.RetryAfter?.Delta?.TotalSeconds ?? 30); - WriteDebug($"Delaying {delay} seconds before polling."); - for (var now = 0; now < delay; ++now) - { - WriteProgress(new global::System.Management.Automation.ProgressRecord(1, "In progress", "Checking operation status") - { - PercentComplete = now * 100 / delay - }); - await global::System.Threading.Tasks.Task.Delay(1000, token); - } - } - } - break; - } - } - await Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.Signal(id, token, messageData, (i, t, m) => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(i, t, () => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.EventDataConverter.ConvertFrom(m()) as Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.EventData), InvocationInformation, this.ParameterSetName, __correlationId, __processRecordId, null ); - if (token.IsCancellationRequested) - { - return ; - } - WriteDebug($"{id}: {(messageData().Message ?? global::System.String.Empty)}"); - } - } - - /// - /// Initializes a new instance of the cmdlet class. - /// - public NewAzConnectedMachineRunCommand_CreateViaIdentityExpanded() - { - - } - - /// Performs execution of the command. - protected override void ProcessRecord() - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletProcessRecordStart).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - __processRecordId = System.Guid.NewGuid().ToString(); - try - { - // work - if (ShouldProcess($"Call remote 'MachineRunCommandsCreateOrUpdate' operation")) - { - if (true == MyInvocation?.BoundParameters?.ContainsKey("AsJob")) - { - var instance = this.Clone(); - var job = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell.AsyncJob(instance, this.MyInvocation.Line, this.MyInvocation.MyCommand.Name, this._cancellationTokenSource.Token, this._cancellationTokenSource.Cancel); - JobRepository.Add(job); - var task = instance.ProcessRecordAsync(); - job.Monitor(task); - WriteObject(job); - } - else - { - using( var asyncCommandRuntime = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell.AsyncCommandRuntime(this, ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token) ) - { - asyncCommandRuntime.Wait( ProcessRecordAsync(),((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token); - } - } - } - } - catch (global::System.AggregateException aggregateException) - { - // unroll the inner exceptions to get the root cause - foreach( var innerException in aggregateException.Flatten().InnerExceptions ) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletException, $"{innerException.GetType().Name} - {innerException.Message} : {innerException.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - // Write exception out to error channel. - WriteError( new global::System.Management.Automation.ErrorRecord(innerException,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); - } - } - catch (global::System.Exception exception) when ((exception as System.Management.Automation.PipelineStoppedException)== null || (exception as System.Management.Automation.PipelineStoppedException).InnerException != null) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletException, $"{exception.GetType().Name} - {exception.Message} : {exception.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - // Write exception out to error channel. - WriteError( new global::System.Management.Automation.ErrorRecord(exception,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); - } - finally - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletProcessRecordEnd).Wait(); - } - } - - /// Performs execution of the command, working asynchronously if required. - /// - /// A that will be complete when handling of the method is completed. - /// - protected async global::System.Threading.Tasks.Task ProcessRecordAsync() - { - using( NoSynchronizationContext ) - { - await ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - Pipeline = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName, this.ExtensibleParameters); - if (null != HttpPipelinePrepend) - { - Pipeline.Prepend((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelinePrepend) ?? HttpPipelinePrepend); - } - if (null != HttpPipelineAppend) - { - Pipeline.Append((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelineAppend) ?? HttpPipelineAppend); - } - // get the client instance - try - { - await ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - if (InputObject?.Id != null) - { - await this.Client.MachineRunCommandsCreateOrUpdateViaIdentity(InputObject.Id, _runCommandPropertiesBody, onOk, onDefault, this, Pipeline, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate); - } - else - { - // try to call with PATH parameters from Input Object - if (null == InputObject.SubscriptionId) - { - ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.SubscriptionId"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); - } - if (null == InputObject.ResourceGroupName) - { - ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.ResourceGroupName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); - } - if (null == InputObject.MachineName) - { - ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.MachineName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); - } - if (null == InputObject.RunCommandName) - { - ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.RunCommandName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); - } - await this.Client.MachineRunCommandsCreateOrUpdate(InputObject.SubscriptionId ?? null, InputObject.ResourceGroupName ?? null, InputObject.MachineName ?? null, InputObject.RunCommandName ?? null, _runCommandPropertiesBody, onOk, onDefault, this, Pipeline, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate); - } - await ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - } - catch (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.UndeclaredResponseException urexception) - { - WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) - { - ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } - }); - } - finally - { - await ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletProcessRecordAsyncEnd); - } - } - } - - /// Interrupts currently running code within the command. - protected override void StopProcessing() - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Cancel(); - base.StopProcessing(); - } - - /// - new protected void WriteObject(object sendToPipeline) - { - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); - base.WriteObject(sendToPipeline); - } - - /// - /// - new protected void WriteObject(object sendToPipeline, bool enumerateCollection) - { - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); - base.WriteObject(sendToPipeline, enumerateCollection); - } - - /// - /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). - /// - /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorResponse - /// from the remote call - /// - /// A that will be complete when handling of the method is completed. - /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) - { - using( NoSynchronizationContext ) - { - var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); - overrideOnDefault(responseMessage, response, ref _returnNow); - // if overrideOnDefault has returned true, then return right away. - if ((null != _returnNow && await _returnNow)) - { - return ; - } - // Error Response : default - var code = (await response)?.Code; - var message = (await response)?.Message; - if ((null == code || null == message)) - { - // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.RestException(responseMessage, await response); - WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) - { - ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } - }); - } - else - { - WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) - { - ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } - }); - } - } - } - - /// a delegate that is called when the remote service returns 200 (OK). - /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand - /// from the remote call - /// - /// A that will be complete when handling of the method is completed. - /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) - { - using( NoSynchronizationContext ) - { - var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); - overrideOnOk(responseMessage, response, ref _returnNow); - // if overrideOnOk has returned true, then return right away. - if ((null != _returnNow && await _returnNow)) - { - return ; - } - // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand - var result = (await response); - if (null != result) - { - if (0 == _responseSize) - { - _firstResponse = result; - _responseSize = 1; - } - else - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); - } - WriteObject(result.AddMultipleTypeNameIntoPSObject()); - _responseSize = 2; - } - } - } - } - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedMachineRunCommand_CreateViaIdentityMachineExpanded.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedMachineRunCommand_CreateViaIdentityMachineExpanded.cs deleted file mode 100644 index 0e16219b84ae..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedMachineRunCommand_CreateViaIdentityMachineExpanded.cs +++ /dev/null @@ -1,830 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets -{ - using static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Extensions; - using Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell; - using Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Cmdlets; - using System; - - /// The operation to create a run command. - /// - /// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/runCommands/{runCommandName}" - /// - [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzConnectedMachineRunCommand_CreateViaIdentityMachineExpanded", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand))] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"The operation to create a run command.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/runCommands/{runCommandName}", ApiVersion = "2024-05-20-preview")] - public partial class NewAzConnectedMachineRunCommand_CreateViaIdentityMachineExpanded : global::System.Management.Automation.PSCmdlet, - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IContext - { - /// A unique id generatd for the this cmdlet when it is instantiated. - private string __correlationId = System.Guid.NewGuid().ToString(); - - /// A copy of the Invocation Info (necessary to allow asJob to clone this cmdlet) - private global::System.Management.Automation.InvocationInfo __invocationInfo; - - /// A unique id generatd for the this cmdlet when ProcessRecord() is called. - private string __processRecordId; - - /// - /// The for this operation. - /// - private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); - - /// A dictionary to carry over additional data for pipeline. - private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - - /// A buffer to record first returned object in response. - private object _firstResponse = null; - - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - - /// Describes a Run Command - private Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand _runCommandPropertiesBody = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.MachineRunCommand(); - - /// when specified, runs this cmdlet as a PowerShell job - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public global::System.Management.Automation.SwitchParameter AsJob { get; set; } - - /// - /// Optional. If set to true, provisioning will complete as soon as script starts and will not wait for script to complete. - /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Optional. If set to true, provisioning will complete as soon as script starts and will not wait for script to complete.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Optional. If set to true, provisioning will complete as soon as script starts and will not wait for script to complete.", - SerializedName = @"asyncExecution", - PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter AsyncExecution { get => _runCommandPropertiesBody.AsyncExecution ?? default(global::System.Management.Automation.SwitchParameter); set => _runCommandPropertiesBody.AsyncExecution = value; } - - /// Wait for .NET debugger to attach - [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public global::System.Management.Automation.SwitchParameter Break { get; set; } - - /// Accessor for cancellationTokenSource. - public global::System.Threading.CancellationTokenSource CancellationTokenSource { get => _cancellationTokenSource ; set { _cancellationTokenSource = value; } } - - /// The reference to the client API class. - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ConnectedMachine Client => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.ClientAPI; - - /// - /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet - /// against a different subscription - /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] - [global::System.Management.Automation.ValidateNotNull] - [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Azure)] - public global::System.Management.Automation.PSObject DefaultProfile { get; set; } - - /// - /// Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided. - /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided.", - SerializedName = @"clientId", - PossibleTypes = new [] { typeof(string) })] - public string ErrorBlobManagedIdentityClientId { get => _runCommandPropertiesBody.ErrorBlobManagedIdentityClientId ?? null; set => _runCommandPropertiesBody.ErrorBlobManagedIdentityClientId = value; } - - /// - /// Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided. - /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided.", - SerializedName = @"objectId", - PossibleTypes = new [] { typeof(string) })] - public string ErrorBlobManagedIdentityObjectId { get => _runCommandPropertiesBody.ErrorBlobManagedIdentityObjectId ?? null; set => _runCommandPropertiesBody.ErrorBlobManagedIdentityObjectId = value; } - - /// - /// Specifies the Azure storage blob where script error stream will be uploaded. Use a SAS URI with read, append, create, - /// write access OR use managed identity to provide the VM access to the blob. Refer errorBlobManagedIdentity parameter. - /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Specifies the Azure storage blob where script error stream will be uploaded. Use a SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob. Refer errorBlobManagedIdentity parameter.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Specifies the Azure storage blob where script error stream will be uploaded. Use a SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob. Refer errorBlobManagedIdentity parameter.", - SerializedName = @"errorBlobUri", - PossibleTypes = new [] { typeof(string) })] - public string ErrorBlobUri { get => _runCommandPropertiesBody.ErrorBlobUri ?? null; set => _runCommandPropertiesBody.ErrorBlobUri = value; } - - /// Accessor for extensibleParameters. - public global::System.Collections.Generic.IDictionary ExtensibleParameters { get => _extensibleParameters ; } - - /// SendAsync Pipeline Steps to be appended to the front of the pipeline - [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] - [global::System.Management.Automation.ValidateNotNull] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SendAsyncStep[] HttpPipelineAppend { get; set; } - - /// SendAsync Pipeline Steps to be prepended to the front of the pipeline - [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be prepended to the front of the pipeline")] - [global::System.Management.Automation.ValidateNotNull] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SendAsyncStep[] HttpPipelinePrepend { get; set; } - - /// Accessor for our copy of the InvocationInfo. - public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } - - /// The geo-location where the resource lives - [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The geo-location where the resource lives")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = true, - ReadOnly = false, - Description = @"The geo-location where the resource lives", - SerializedName = @"location", - PossibleTypes = new [] { typeof(string) })] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.CompleterInfo( - Name = @"Location Completer", - Description =@"Gets the list of locations available for this resource.", - Script = @"Get-AzLocation | Where-Object Providers -Contains ""Microsoft.HybridCompute"" | Select-Object -ExpandProperty Location")] - public string Location { get => _runCommandPropertiesBody.Location ?? null; set => _runCommandPropertiesBody.Location = value; } - - /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentity _machineInputObject; - - /// Identity Parameter - [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Identity Parameter", ValueFromPipeline = true)] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Path)] - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentity MachineInputObject { get => this._machineInputObject; set => this._machineInputObject = value; } - - /// - /// cancellation delegate. Stops the cmdlet when called. - /// - global::System.Action Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - - /// cancellation token. - global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener.Token => _cancellationTokenSource.Token; - - /// - /// when specified, will make the remote call, and return an AsyncOperationResponse, letting the remote operation continue - /// asynchronously. - /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command asynchronously")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public global::System.Management.Automation.SwitchParameter NoWait { get; set; } - - /// - /// Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided. - /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided.", - SerializedName = @"clientId", - PossibleTypes = new [] { typeof(string) })] - public string OutputBlobManagedIdentityClientId { get => _runCommandPropertiesBody.OutputBlobManagedIdentityClientId ?? null; set => _runCommandPropertiesBody.OutputBlobManagedIdentityClientId = value; } - - /// - /// Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided. - /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided.", - SerializedName = @"objectId", - PossibleTypes = new [] { typeof(string) })] - public string OutputBlobManagedIdentityObjectId { get => _runCommandPropertiesBody.OutputBlobManagedIdentityObjectId ?? null; set => _runCommandPropertiesBody.OutputBlobManagedIdentityObjectId = value; } - - /// - /// Specifies the Azure storage blob where script output stream will be uploaded. Use a SAS URI with read, append, create, - /// write access OR use managed identity to provide the VM access to the blob. Refer outputBlobManagedIdentity parameter. - /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Specifies the Azure storage blob where script output stream will be uploaded. Use a SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob. Refer outputBlobManagedIdentity parameter. ")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Specifies the Azure storage blob where script output stream will be uploaded. Use a SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob. Refer outputBlobManagedIdentity parameter. ", - SerializedName = @"outputBlobUri", - PossibleTypes = new [] { typeof(string) })] - public string OutputBlobUri { get => _runCommandPropertiesBody.OutputBlobUri ?? null; set => _runCommandPropertiesBody.OutputBlobUri = value; } - - /// The parameters used by the script. - [global::System.Management.Automation.AllowEmptyCollection] - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The parameters used by the script.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"The parameters used by the script.", - SerializedName = @"parameters", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandInputParameter) })] - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandInputParameter[] Parameter { get => _runCommandPropertiesBody.Parameter?.ToArray() ?? null /* fixedArrayOf */; set => _runCommandPropertiesBody.Parameter = (value != null ? new System.Collections.Generic.List(value) : null); } - - /// - /// The instance of the that the remote call will use. - /// - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.HttpPipeline Pipeline { get; set; } - - /// The parameters used by the script. - [global::System.Management.Automation.AllowEmptyCollection] - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The parameters used by the script.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"The parameters used by the script.", - SerializedName = @"protectedParameters", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandInputParameter) })] - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandInputParameter[] ProtectedParameter { get => _runCommandPropertiesBody.ProtectedParameter?.ToArray() ?? null /* fixedArrayOf */; set => _runCommandPropertiesBody.ProtectedParameter = (value != null ? new System.Collections.Generic.List(value) : null); } - - /// The URI for the proxy server to use - [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "The URI for the proxy server to use")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public global::System.Uri Proxy { get; set; } - - /// Credentials for a proxy server to use for the remote call - [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Credentials for a proxy server to use for the remote call")] - [global::System.Management.Automation.ValidateNotNull] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public global::System.Management.Automation.PSCredential ProxyCredential { get; set; } - - /// Use the default credentials for the proxy - [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Use the default credentials for the proxy")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public global::System.Management.Automation.SwitchParameter ProxyUseDefaultCredentials { get; set; } - - /// - /// Specifies the user account password on the machine when executing the run command. - /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Specifies the user account password on the machine when executing the run command.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Specifies the user account password on the machine when executing the run command.", - SerializedName = @"runAsPassword", - PossibleTypes = new [] { typeof(string) })] - public string RunAsPassword { get => _runCommandPropertiesBody.RunAsPassword ?? null; set => _runCommandPropertiesBody.RunAsPassword = value; } - - /// Specifies the user account on the machine when executing the run command. - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Specifies the user account on the machine when executing the run command.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Specifies the user account on the machine when executing the run command.", - SerializedName = @"runAsUser", - PossibleTypes = new [] { typeof(string) })] - public string RunAsUser { get => _runCommandPropertiesBody.RunAsUser ?? null; set => _runCommandPropertiesBody.RunAsUser = value; } - - /// Backing field for property. - private string _runCommandName; - - /// The name of the run command. - [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the run command.")] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = true, - ReadOnly = false, - Description = @"The name of the run command.", - SerializedName = @"runCommandName", - PossibleTypes = new [] { typeof(string) })] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Path)] - public string RunCommandName { get => this._runCommandName; set => this._runCommandName = value; } - - /// - /// Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided. - /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided.", - SerializedName = @"clientId", - PossibleTypes = new [] { typeof(string) })] - public string ScriptUriManagedIdentityClientId { get => _runCommandPropertiesBody.ScriptUriManagedIdentityClientId ?? null; set => _runCommandPropertiesBody.ScriptUriManagedIdentityClientId = value; } - - /// - /// Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided. - /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided.", - SerializedName = @"objectId", - PossibleTypes = new [] { typeof(string) })] - public string ScriptUriManagedIdentityObjectId { get => _runCommandPropertiesBody.ScriptUriManagedIdentityObjectId ?? null; set => _runCommandPropertiesBody.ScriptUriManagedIdentityObjectId = value; } - - /// Specifies the commandId of predefined built-in script. - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Specifies the commandId of predefined built-in script.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Specifies the commandId of predefined built-in script.", - SerializedName = @"commandId", - PossibleTypes = new [] { typeof(string) })] - public string SourceCommandId { get => _runCommandPropertiesBody.SourceCommandId ?? null; set => _runCommandPropertiesBody.SourceCommandId = value; } - - /// Specifies the script content to be executed on the machine. - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Specifies the script content to be executed on the machine.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Specifies the script content to be executed on the machine.", - SerializedName = @"script", - PossibleTypes = new [] { typeof(string) })] - public string SourceScript { get => _runCommandPropertiesBody.SourceScript ?? null; set => _runCommandPropertiesBody.SourceScript = value; } - - /// - /// Specifies the script download location. It can be either SAS URI of an Azure storage blob with read access or public URI. - /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Specifies the script download location. It can be either SAS URI of an Azure storage blob with read access or public URI.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Specifies the script download location. It can be either SAS URI of an Azure storage blob with read access or public URI.", - SerializedName = @"scriptUri", - PossibleTypes = new [] { typeof(string) })] - public string SourceScriptUri { get => _runCommandPropertiesBody.SourceScriptUri ?? null; set => _runCommandPropertiesBody.SourceScriptUri = value; } - - /// Resource tags. - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ExportAs(typeof(global::System.Collections.Hashtable))] - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Resource tags.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Resource tags.", - SerializedName = @"tags", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceTags) })] - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceTags Tag { get => _runCommandPropertiesBody.Tags ?? null /* object */; set => _runCommandPropertiesBody.Tags = value; } - - /// The timeout in seconds to execute the run command. - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The timeout in seconds to execute the run command.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"The timeout in seconds to execute the run command.", - SerializedName = @"timeoutInSeconds", - PossibleTypes = new [] { typeof(int) })] - public int TimeoutInSecond { get => _runCommandPropertiesBody.TimeoutInSecond ?? default(int); set => _runCommandPropertiesBody.TimeoutInSecond = value; } - - /// - /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what - /// happens on that response. Implement this method in a partial class to enable this behavior - /// - /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorResponse - /// from the remote call - /// /// Determines if the rest of the onDefault method should be processed, or if the method should - /// return immediately (set to true to skip further processing ) - - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); - - /// - /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens - /// on that response. Implement this method in a partial class to enable this behavior - /// - /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand - /// from the remote call - /// /// Determines if the rest of the onOk method should be processed, or if the method should return - /// immediately (set to true to skip further processing ) - - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); - - /// - /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) - /// - protected override void BeginProcessing() - { - var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.GetTelemetryId.Invoke(); - if (telemetryId != "" && telemetryId != "internal") - { - __correlationId = telemetryId; - } - Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); - if (Break) - { - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.AttachDebugger.Break(); - } - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletBeginProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - } - - /// Creates a duplicate instance of this cmdlet (via JSON serialization). - /// - /// a duplicate instance of NewAzConnectedMachineRunCommand_CreateViaIdentityMachineExpanded - /// - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets.NewAzConnectedMachineRunCommand_CreateViaIdentityMachineExpanded Clone() - { - var clone = new NewAzConnectedMachineRunCommand_CreateViaIdentityMachineExpanded(); - clone.__correlationId = this.__correlationId; - clone.__processRecordId = this.__processRecordId; - clone.DefaultProfile = this.DefaultProfile; - clone.InvocationInformation = this.InvocationInformation; - clone.Proxy = this.Proxy; - clone.Pipeline = this.Pipeline; - clone.AsJob = this.AsJob; - clone.Break = this.Break; - clone.ProxyCredential = this.ProxyCredential; - clone.ProxyUseDefaultCredentials = this.ProxyUseDefaultCredentials; - clone.HttpPipelinePrepend = this.HttpPipelinePrepend; - clone.HttpPipelineAppend = this.HttpPipelineAppend; - clone._runCommandPropertiesBody = this._runCommandPropertiesBody; - clone.RunCommandName = this.RunCommandName; - return clone; - } - - /// Performs clean-up after the command execution - protected override void EndProcessing() - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } - var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); - if (telemetryInfo != null) - { - telemetryInfo.TryGetValue("ShowSecretsWarning", out var showSecretsWarning); - telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); - telemetryInfo.TryGetValue("InvocationName", out var invocationName); - if (showSecretsWarning == "true") - { - if (string.IsNullOrEmpty(sanitizedProperties)) - { - WriteWarning($"The output of cmdlet {invocationName} may compromise security by showing secrets. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); - } - else - { - WriteWarning($"The output of cmdlet {invocationName} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); - } - } - } - } - - /// Handles/Dispatches events during the call to the REST service. - /// The message id - /// The message cancellation token. When this call is cancelled, this should be true - /// Detailed message data for the message event. - /// - /// A that will be complete when handling of the message is completed. - /// - async global::System.Threading.Tasks.Task Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener.Signal(string id, global::System.Threading.CancellationToken token, global::System.Func messageData) - { - using( NoSynchronizationContext ) - { - if (token.IsCancellationRequested) - { - return ; - } - - switch ( id ) - { - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Verbose: - { - WriteVerbose($"{(messageData().Message ?? global::System.String.Empty)}"); - return ; - } - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Warning: - { - WriteWarning($"{(messageData().Message ?? global::System.String.Empty)}"); - return ; - } - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Information: - { - // When an operation supports asjob, Information messages must go thru verbose. - WriteVerbose($"INFORMATION: {(messageData().Message ?? global::System.String.Empty)}"); - return ; - } - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Debug: - { - WriteDebug($"{(messageData().Message ?? global::System.String.Empty)}"); - return ; - } - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Error: - { - WriteError(new global::System.Management.Automation.ErrorRecord( new global::System.Exception(messageData().Message), string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null ) ); - return ; - } - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress: - { - var data = messageData(); - int progress = (int)data.Value; - string activityMessage, statusDescription; - global::System.Management.Automation.ProgressRecordType recordType; - if (progress < 100) - { - activityMessage = "In progress"; - statusDescription = "Checking operation status"; - recordType = System.Management.Automation.ProgressRecordType.Processing; - } - else - { - activityMessage = "Completed"; - statusDescription = "Completed"; - recordType = System.Management.Automation.ProgressRecordType.Completed; - } - WriteProgress(new global::System.Management.Automation.ProgressRecord(1, activityMessage, statusDescription) - { - PercentComplete = progress, - RecordType = recordType - }); - return ; - } - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.DelayBeforePolling: - { - var data = messageData(); - if (true == MyInvocation?.BoundParameters?.ContainsKey("NoWait")) - { - if (data.ResponseMessage is System.Net.Http.HttpResponseMessage response) - { - var asyncOperation = response.GetFirstHeader(@"Azure-AsyncOperation"); - var location = response.GetFirstHeader(@"Location"); - var uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? response.RequestMessage.RequestUri.AbsoluteUri : location : asyncOperation; - WriteObject(new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell.AsyncOperationResponse { Target = uri }); - // do nothing more. - data.Cancel(); - return; - } - } - else - { - if (data.ResponseMessage is System.Net.Http.HttpResponseMessage response) - { - int delay = (int)(response.Headers.RetryAfter?.Delta?.TotalSeconds ?? 30); - WriteDebug($"Delaying {delay} seconds before polling."); - for (var now = 0; now < delay; ++now) - { - WriteProgress(new global::System.Management.Automation.ProgressRecord(1, "In progress", "Checking operation status") - { - PercentComplete = now * 100 / delay - }); - await global::System.Threading.Tasks.Task.Delay(1000, token); - } - } - } - break; - } - } - await Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.Signal(id, token, messageData, (i, t, m) => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(i, t, () => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.EventDataConverter.ConvertFrom(m()) as Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.EventData), InvocationInformation, this.ParameterSetName, __correlationId, __processRecordId, null ); - if (token.IsCancellationRequested) - { - return ; - } - WriteDebug($"{id}: {(messageData().Message ?? global::System.String.Empty)}"); - } - } - - /// - /// Initializes a new instance of the cmdlet - /// class. - /// - public NewAzConnectedMachineRunCommand_CreateViaIdentityMachineExpanded() - { - - } - - /// Performs execution of the command. - protected override void ProcessRecord() - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletProcessRecordStart).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - __processRecordId = System.Guid.NewGuid().ToString(); - try - { - // work - if (ShouldProcess($"Call remote 'MachineRunCommandsCreateOrUpdate' operation")) - { - if (true == MyInvocation?.BoundParameters?.ContainsKey("AsJob")) - { - var instance = this.Clone(); - var job = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell.AsyncJob(instance, this.MyInvocation.Line, this.MyInvocation.MyCommand.Name, this._cancellationTokenSource.Token, this._cancellationTokenSource.Cancel); - JobRepository.Add(job); - var task = instance.ProcessRecordAsync(); - job.Monitor(task); - WriteObject(job); - } - else - { - using( var asyncCommandRuntime = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell.AsyncCommandRuntime(this, ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token) ) - { - asyncCommandRuntime.Wait( ProcessRecordAsync(),((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token); - } - } - } - } - catch (global::System.AggregateException aggregateException) - { - // unroll the inner exceptions to get the root cause - foreach( var innerException in aggregateException.Flatten().InnerExceptions ) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletException, $"{innerException.GetType().Name} - {innerException.Message} : {innerException.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - // Write exception out to error channel. - WriteError( new global::System.Management.Automation.ErrorRecord(innerException,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); - } - } - catch (global::System.Exception exception) when ((exception as System.Management.Automation.PipelineStoppedException)== null || (exception as System.Management.Automation.PipelineStoppedException).InnerException != null) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletException, $"{exception.GetType().Name} - {exception.Message} : {exception.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - // Write exception out to error channel. - WriteError( new global::System.Management.Automation.ErrorRecord(exception,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); - } - finally - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletProcessRecordEnd).Wait(); - } - } - - /// Performs execution of the command, working asynchronously if required. - /// - /// A that will be complete when handling of the method is completed. - /// - protected async global::System.Threading.Tasks.Task ProcessRecordAsync() - { - using( NoSynchronizationContext ) - { - await ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - Pipeline = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName, this.ExtensibleParameters); - if (null != HttpPipelinePrepend) - { - Pipeline.Prepend((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelinePrepend) ?? HttpPipelinePrepend); - } - if (null != HttpPipelineAppend) - { - Pipeline.Append((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelineAppend) ?? HttpPipelineAppend); - } - // get the client instance - try - { - await ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - if (MachineInputObject?.Id != null) - { - this.MachineInputObject.Id += $"/runCommands/{(global::System.Uri.EscapeDataString(this.RunCommandName.ToString()))}"; - await this.Client.MachineRunCommandsCreateOrUpdateViaIdentity(MachineInputObject.Id, _runCommandPropertiesBody, onOk, onDefault, this, Pipeline, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate); - } - else - { - // try to call with PATH parameters from Input Object - if (null == MachineInputObject.SubscriptionId) - { - ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("MachineInputObject has null value for MachineInputObject.SubscriptionId"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, MachineInputObject) ); - } - if (null == MachineInputObject.ResourceGroupName) - { - ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("MachineInputObject has null value for MachineInputObject.ResourceGroupName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, MachineInputObject) ); - } - if (null == MachineInputObject.MachineName) - { - ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("MachineInputObject has null value for MachineInputObject.MachineName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, MachineInputObject) ); - } - await this.Client.MachineRunCommandsCreateOrUpdate(MachineInputObject.SubscriptionId ?? null, MachineInputObject.ResourceGroupName ?? null, MachineInputObject.MachineName ?? null, RunCommandName, _runCommandPropertiesBody, onOk, onDefault, this, Pipeline, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate); - } - await ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - } - catch (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.UndeclaredResponseException urexception) - { - WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { RunCommandName=RunCommandName}) - { - ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } - }); - } - finally - { - await ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletProcessRecordAsyncEnd); - } - } - } - - /// Interrupts currently running code within the command. - protected override void StopProcessing() - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Cancel(); - base.StopProcessing(); - } - - /// - new protected void WriteObject(object sendToPipeline) - { - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); - base.WriteObject(sendToPipeline); - } - - /// - /// - new protected void WriteObject(object sendToPipeline, bool enumerateCollection) - { - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); - base.WriteObject(sendToPipeline, enumerateCollection); - } - - /// - /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). - /// - /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorResponse - /// from the remote call - /// - /// A that will be complete when handling of the method is completed. - /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) - { - using( NoSynchronizationContext ) - { - var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); - overrideOnDefault(responseMessage, response, ref _returnNow); - // if overrideOnDefault has returned true, then return right away. - if ((null != _returnNow && await _returnNow)) - { - return ; - } - // Error Response : default - var code = (await response)?.Code; - var message = (await response)?.Message; - if ((null == code || null == message)) - { - // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.RestException(responseMessage, await response); - WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) - { - ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } - }); - } - else - { - WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) - { - ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } - }); - } - } - } - - /// a delegate that is called when the remote service returns 200 (OK). - /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand - /// from the remote call - /// - /// A that will be complete when handling of the method is completed. - /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) - { - using( NoSynchronizationContext ) - { - var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); - overrideOnOk(responseMessage, response, ref _returnNow); - // if overrideOnOk has returned true, then return right away. - if ((null != _returnNow && await _returnNow)) - { - return ; - } - // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand - var result = (await response); - if (null != result) - { - if (0 == _responseSize) - { - _firstResponse = result; - _responseSize = 1; - } - else - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); - } - WriteObject(result.AddMultipleTypeNameIntoPSObject()); - _responseSize = 2; - } - } - } - } - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedMachineRunCommand_CreateViaJsonFilePath.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedMachineRunCommand_CreateViaJsonFilePath.cs deleted file mode 100644 index 9032a209bae3..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedMachineRunCommand_CreateViaJsonFilePath.cs +++ /dev/null @@ -1,625 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets -{ - using static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Extensions; - using Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell; - using Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Cmdlets; - using System; - - /// The operation to create a run command. - /// - /// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/runCommands/{runCommandName}" - /// - [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzConnectedMachineRunCommand_CreateViaJsonFilePath", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand))] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"The operation to create a run command.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/runCommands/{runCommandName}", ApiVersion = "2024-05-20-preview")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.NotSuggestDefaultParameterSet] - public partial class NewAzConnectedMachineRunCommand_CreateViaJsonFilePath : global::System.Management.Automation.PSCmdlet, - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IContext - { - /// A unique id generatd for the this cmdlet when it is instantiated. - private string __correlationId = System.Guid.NewGuid().ToString(); - - /// A copy of the Invocation Info (necessary to allow asJob to clone this cmdlet) - private global::System.Management.Automation.InvocationInfo __invocationInfo; - - /// A unique id generatd for the this cmdlet when ProcessRecord() is called. - private string __processRecordId; - - /// - /// The for this operation. - /// - private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); - - /// A dictionary to carry over additional data for pipeline. - private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - - /// A buffer to record first returned object in response. - private object _firstResponse = null; - - public global::System.String _jsonString; - - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - - /// when specified, runs this cmdlet as a PowerShell job - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public global::System.Management.Automation.SwitchParameter AsJob { get; set; } - - /// Wait for .NET debugger to attach - [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public global::System.Management.Automation.SwitchParameter Break { get; set; } - - /// Accessor for cancellationTokenSource. - public global::System.Threading.CancellationTokenSource CancellationTokenSource { get => _cancellationTokenSource ; set { _cancellationTokenSource = value; } } - - /// The reference to the client API class. - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ConnectedMachine Client => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.ClientAPI; - - /// - /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet - /// against a different subscription - /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] - [global::System.Management.Automation.ValidateNotNull] - [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Azure)] - public global::System.Management.Automation.PSObject DefaultProfile { get; set; } - - /// Accessor for extensibleParameters. - public global::System.Collections.Generic.IDictionary ExtensibleParameters { get => _extensibleParameters ; } - - /// SendAsync Pipeline Steps to be appended to the front of the pipeline - [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] - [global::System.Management.Automation.ValidateNotNull] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SendAsyncStep[] HttpPipelineAppend { get; set; } - - /// SendAsync Pipeline Steps to be prepended to the front of the pipeline - [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be prepended to the front of the pipeline")] - [global::System.Management.Automation.ValidateNotNull] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SendAsyncStep[] HttpPipelinePrepend { get; set; } - - /// Accessor for our copy of the InvocationInfo. - public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } - - /// Backing field for property. - private string _jsonFilePath; - - /// Path of Json file supplied to the Create operation - [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Path of Json file supplied to the Create operation")] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = true, - ReadOnly = false, - Description = @"Path of Json file supplied to the Create operation", - SerializedName = @"JsonFilePath", - PossibleTypes = new [] { typeof(string) })] - public string JsonFilePath { get => this._jsonFilePath; set { if (!System.IO.File.Exists(value)) { throw new Exception("Cannot find File " + value); } this._jsonString = System.IO.File.ReadAllText(value); this._jsonFilePath = value; } } - - /// Backing field for property. - private string _machineName; - - /// The name of the hybrid machine. - [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the hybrid machine.")] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = true, - ReadOnly = false, - Description = @"The name of the hybrid machine.", - SerializedName = @"machineName", - PossibleTypes = new [] { typeof(string) })] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Path)] - public string MachineName { get => this._machineName; set => this._machineName = value; } - - /// - /// cancellation delegate. Stops the cmdlet when called. - /// - global::System.Action Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - - /// cancellation token. - global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener.Token => _cancellationTokenSource.Token; - - /// - /// when specified, will make the remote call, and return an AsyncOperationResponse, letting the remote operation continue - /// asynchronously. - /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command asynchronously")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public global::System.Management.Automation.SwitchParameter NoWait { get; set; } - - /// - /// The instance of the that the remote call will use. - /// - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.HttpPipeline Pipeline { get; set; } - - /// The URI for the proxy server to use - [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "The URI for the proxy server to use")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public global::System.Uri Proxy { get; set; } - - /// Credentials for a proxy server to use for the remote call - [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Credentials for a proxy server to use for the remote call")] - [global::System.Management.Automation.ValidateNotNull] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public global::System.Management.Automation.PSCredential ProxyCredential { get; set; } - - /// Use the default credentials for the proxy - [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Use the default credentials for the proxy")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public global::System.Management.Automation.SwitchParameter ProxyUseDefaultCredentials { get; set; } - - /// Backing field for property. - private string _resourceGroupName; - - /// The name of the resource group. The name is case insensitive. - [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the resource group. The name is case insensitive.")] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = true, - ReadOnly = false, - Description = @"The name of the resource group. The name is case insensitive.", - SerializedName = @"resourceGroupName", - PossibleTypes = new [] { typeof(string) })] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.CompleterInfo( - Name = @"ResourceGroupName Completer", - Description =@"Gets the list of ResourceGroupName's available for this subscription.", - Script = @"Get-AzResourceGroup | Select-Object -ExpandProperty ResourceGroupName")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Path)] - public string ResourceGroupName { get => this._resourceGroupName; set => this._resourceGroupName = value; } - - /// Backing field for property. - private string _runCommandName; - - /// The name of the run command. - [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the run command.")] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = true, - ReadOnly = false, - Description = @"The name of the run command.", - SerializedName = @"runCommandName", - PossibleTypes = new [] { typeof(string) })] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Path)] - public string RunCommandName { get => this._runCommandName; set => this._runCommandName = value; } - - /// Backing field for property. - private string _subscriptionId; - - /// The ID of the target subscription. - [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The ID of the target subscription.")] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = true, - ReadOnly = false, - Description = @"The ID of the target subscription.", - SerializedName = @"subscriptionId", - PossibleTypes = new [] { typeof(string) })] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.DefaultInfo( - Name = @"", - Description =@"", - Script = @"(Get-AzContext).Subscription.Id", - SetCondition = @"")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Path)] - public string SubscriptionId { get => this._subscriptionId; set => this._subscriptionId = value; } - - /// - /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what - /// happens on that response. Implement this method in a partial class to enable this behavior - /// - /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorResponse - /// from the remote call - /// /// Determines if the rest of the onDefault method should be processed, or if the method should - /// return immediately (set to true to skip further processing ) - - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); - - /// - /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens - /// on that response. Implement this method in a partial class to enable this behavior - /// - /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand - /// from the remote call - /// /// Determines if the rest of the onOk method should be processed, or if the method should return - /// immediately (set to true to skip further processing ) - - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); - - /// - /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) - /// - protected override void BeginProcessing() - { - var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.GetTelemetryId.Invoke(); - if (telemetryId != "" && telemetryId != "internal") - { - __correlationId = telemetryId; - } - Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); - if (Break) - { - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.AttachDebugger.Break(); - } - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletBeginProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - } - - /// Creates a duplicate instance of this cmdlet (via JSON serialization). - /// a duplicate instance of NewAzConnectedMachineRunCommand_CreateViaJsonFilePath - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets.NewAzConnectedMachineRunCommand_CreateViaJsonFilePath Clone() - { - var clone = new NewAzConnectedMachineRunCommand_CreateViaJsonFilePath(); - clone.__correlationId = this.__correlationId; - clone.__processRecordId = this.__processRecordId; - clone.DefaultProfile = this.DefaultProfile; - clone.InvocationInformation = this.InvocationInformation; - clone.Proxy = this.Proxy; - clone.Pipeline = this.Pipeline; - clone.AsJob = this.AsJob; - clone.Break = this.Break; - clone.ProxyCredential = this.ProxyCredential; - clone.ProxyUseDefaultCredentials = this.ProxyUseDefaultCredentials; - clone.HttpPipelinePrepend = this.HttpPipelinePrepend; - clone.HttpPipelineAppend = this.HttpPipelineAppend; - clone.SubscriptionId = this.SubscriptionId; - clone.ResourceGroupName = this.ResourceGroupName; - clone.MachineName = this.MachineName; - clone.RunCommandName = this.RunCommandName; - clone.JsonFilePath = this.JsonFilePath; - return clone; - } - - /// Performs clean-up after the command execution - protected override void EndProcessing() - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } - var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); - if (telemetryInfo != null) - { - telemetryInfo.TryGetValue("ShowSecretsWarning", out var showSecretsWarning); - telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); - telemetryInfo.TryGetValue("InvocationName", out var invocationName); - if (showSecretsWarning == "true") - { - if (string.IsNullOrEmpty(sanitizedProperties)) - { - WriteWarning($"The output of cmdlet {invocationName} may compromise security by showing secrets. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); - } - else - { - WriteWarning($"The output of cmdlet {invocationName} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); - } - } - } - } - - /// Handles/Dispatches events during the call to the REST service. - /// The message id - /// The message cancellation token. When this call is cancelled, this should be true - /// Detailed message data for the message event. - /// - /// A that will be complete when handling of the message is completed. - /// - async global::System.Threading.Tasks.Task Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener.Signal(string id, global::System.Threading.CancellationToken token, global::System.Func messageData) - { - using( NoSynchronizationContext ) - { - if (token.IsCancellationRequested) - { - return ; - } - - switch ( id ) - { - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Verbose: - { - WriteVerbose($"{(messageData().Message ?? global::System.String.Empty)}"); - return ; - } - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Warning: - { - WriteWarning($"{(messageData().Message ?? global::System.String.Empty)}"); - return ; - } - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Information: - { - // When an operation supports asjob, Information messages must go thru verbose. - WriteVerbose($"INFORMATION: {(messageData().Message ?? global::System.String.Empty)}"); - return ; - } - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Debug: - { - WriteDebug($"{(messageData().Message ?? global::System.String.Empty)}"); - return ; - } - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Error: - { - WriteError(new global::System.Management.Automation.ErrorRecord( new global::System.Exception(messageData().Message), string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null ) ); - return ; - } - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress: - { - var data = messageData(); - int progress = (int)data.Value; - string activityMessage, statusDescription; - global::System.Management.Automation.ProgressRecordType recordType; - if (progress < 100) - { - activityMessage = "In progress"; - statusDescription = "Checking operation status"; - recordType = System.Management.Automation.ProgressRecordType.Processing; - } - else - { - activityMessage = "Completed"; - statusDescription = "Completed"; - recordType = System.Management.Automation.ProgressRecordType.Completed; - } - WriteProgress(new global::System.Management.Automation.ProgressRecord(1, activityMessage, statusDescription) - { - PercentComplete = progress, - RecordType = recordType - }); - return ; - } - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.DelayBeforePolling: - { - var data = messageData(); - if (true == MyInvocation?.BoundParameters?.ContainsKey("NoWait")) - { - if (data.ResponseMessage is System.Net.Http.HttpResponseMessage response) - { - var asyncOperation = response.GetFirstHeader(@"Azure-AsyncOperation"); - var location = response.GetFirstHeader(@"Location"); - var uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? response.RequestMessage.RequestUri.AbsoluteUri : location : asyncOperation; - WriteObject(new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell.AsyncOperationResponse { Target = uri }); - // do nothing more. - data.Cancel(); - return; - } - } - else - { - if (data.ResponseMessage is System.Net.Http.HttpResponseMessage response) - { - int delay = (int)(response.Headers.RetryAfter?.Delta?.TotalSeconds ?? 30); - WriteDebug($"Delaying {delay} seconds before polling."); - for (var now = 0; now < delay; ++now) - { - WriteProgress(new global::System.Management.Automation.ProgressRecord(1, "In progress", "Checking operation status") - { - PercentComplete = now * 100 / delay - }); - await global::System.Threading.Tasks.Task.Delay(1000, token); - } - } - } - break; - } - } - await Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.Signal(id, token, messageData, (i, t, m) => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(i, t, () => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.EventDataConverter.ConvertFrom(m()) as Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.EventData), InvocationInformation, this.ParameterSetName, __correlationId, __processRecordId, null ); - if (token.IsCancellationRequested) - { - return ; - } - WriteDebug($"{id}: {(messageData().Message ?? global::System.String.Empty)}"); - } - } - - /// - /// Initializes a new instance of the cmdlet class. - /// - public NewAzConnectedMachineRunCommand_CreateViaJsonFilePath() - { - - } - - /// Performs execution of the command. - protected override void ProcessRecord() - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletProcessRecordStart).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - __processRecordId = System.Guid.NewGuid().ToString(); - try - { - // work - if (ShouldProcess($"Call remote 'MachineRunCommandsCreateOrUpdate' operation")) - { - if (true == MyInvocation?.BoundParameters?.ContainsKey("AsJob")) - { - var instance = this.Clone(); - var job = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell.AsyncJob(instance, this.MyInvocation.Line, this.MyInvocation.MyCommand.Name, this._cancellationTokenSource.Token, this._cancellationTokenSource.Cancel); - JobRepository.Add(job); - var task = instance.ProcessRecordAsync(); - job.Monitor(task); - WriteObject(job); - } - else - { - using( var asyncCommandRuntime = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell.AsyncCommandRuntime(this, ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token) ) - { - asyncCommandRuntime.Wait( ProcessRecordAsync(),((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token); - } - } - } - } - catch (global::System.AggregateException aggregateException) - { - // unroll the inner exceptions to get the root cause - foreach( var innerException in aggregateException.Flatten().InnerExceptions ) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletException, $"{innerException.GetType().Name} - {innerException.Message} : {innerException.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - // Write exception out to error channel. - WriteError( new global::System.Management.Automation.ErrorRecord(innerException,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); - } - } - catch (global::System.Exception exception) when ((exception as System.Management.Automation.PipelineStoppedException)== null || (exception as System.Management.Automation.PipelineStoppedException).InnerException != null) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletException, $"{exception.GetType().Name} - {exception.Message} : {exception.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - // Write exception out to error channel. - WriteError( new global::System.Management.Automation.ErrorRecord(exception,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); - } - finally - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletProcessRecordEnd).Wait(); - } - } - - /// Performs execution of the command, working asynchronously if required. - /// - /// A that will be complete when handling of the method is completed. - /// - protected async global::System.Threading.Tasks.Task ProcessRecordAsync() - { - using( NoSynchronizationContext ) - { - await ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - Pipeline = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName, this.ExtensibleParameters); - if (null != HttpPipelinePrepend) - { - Pipeline.Prepend((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelinePrepend) ?? HttpPipelinePrepend); - } - if (null != HttpPipelineAppend) - { - Pipeline.Append((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelineAppend) ?? HttpPipelineAppend); - } - // get the client instance - try - { - await ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - await this.Client.MachineRunCommandsCreateOrUpdateViaJsonString(SubscriptionId, ResourceGroupName, MachineName, RunCommandName, _jsonString, onOk, onDefault, this, Pipeline); - await ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - } - catch (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.UndeclaredResponseException urexception) - { - WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId,ResourceGroupName=ResourceGroupName,MachineName=MachineName,RunCommandName=RunCommandName}) - { - ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } - }); - } - finally - { - await ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletProcessRecordAsyncEnd); - } - } - } - - /// Interrupts currently running code within the command. - protected override void StopProcessing() - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Cancel(); - base.StopProcessing(); - } - - /// - new protected void WriteObject(object sendToPipeline) - { - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); - base.WriteObject(sendToPipeline); - } - - /// - /// - new protected void WriteObject(object sendToPipeline, bool enumerateCollection) - { - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); - base.WriteObject(sendToPipeline, enumerateCollection); - } - - /// - /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). - /// - /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorResponse - /// from the remote call - /// - /// A that will be complete when handling of the method is completed. - /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) - { - using( NoSynchronizationContext ) - { - var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); - overrideOnDefault(responseMessage, response, ref _returnNow); - // if overrideOnDefault has returned true, then return right away. - if ((null != _returnNow && await _returnNow)) - { - return ; - } - // Error Response : default - var code = (await response)?.Code; - var message = (await response)?.Message; - if ((null == code || null == message)) - { - // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.RestException(responseMessage, await response); - WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) - { - ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } - }); - } - else - { - WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) - { - ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } - }); - } - } - } - - /// a delegate that is called when the remote service returns 200 (OK). - /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand - /// from the remote call - /// - /// A that will be complete when handling of the method is completed. - /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) - { - using( NoSynchronizationContext ) - { - var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); - overrideOnOk(responseMessage, response, ref _returnNow); - // if overrideOnOk has returned true, then return right away. - if ((null != _returnNow && await _returnNow)) - { - return ; - } - // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand - var result = (await response); - if (null != result) - { - if (0 == _responseSize) - { - _firstResponse = result; - _responseSize = 1; - } - else - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); - } - WriteObject(result.AddMultipleTypeNameIntoPSObject()); - _responseSize = 2; - } - } - } - } - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedPrivateLinkScope_Create.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedPrivateLinkScope_Create.cs index 4c5f4e04bc05..ca27f52e320d 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedPrivateLinkScope_Create.cs +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedPrivateLinkScope_Create.cs @@ -21,7 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridComputePrivateLinkScope))] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"create (or create a Azure Arc PrivateLinkScope. Note: You cannot specify a different value for InstrumentationKey nor AppId in the Put operation.")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}", ApiVersion = "2024-05-20-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}", ApiVersion = "2024-07-10")] public partial class NewAzConnectedPrivateLinkScope_Create : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IContext diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedPrivateLinkScope_CreateExpanded.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedPrivateLinkScope_CreateExpanded.cs index 89b6620aa450..6c611b76c06b 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedPrivateLinkScope_CreateExpanded.cs +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedPrivateLinkScope_CreateExpanded.cs @@ -21,7 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridComputePrivateLinkScope))] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"create (or create a Azure Arc PrivateLinkScope. Note: You cannot specify a different value for InstrumentationKey nor AppId in the Put operation.")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}", ApiVersion = "2024-05-20-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}", ApiVersion = "2024-07-10")] public partial class NewAzConnectedPrivateLinkScope_CreateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IContext diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedPrivateLinkScope_CreateViaIdentity.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedPrivateLinkScope_CreateViaIdentity.cs index e90a26a66532..5f2bb5b8ce35 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedPrivateLinkScope_CreateViaIdentity.cs +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedPrivateLinkScope_CreateViaIdentity.cs @@ -21,7 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridComputePrivateLinkScope))] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"create (or create a Azure Arc PrivateLinkScope. Note: You cannot specify a different value for InstrumentationKey nor AppId in the Put operation.")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}", ApiVersion = "2024-05-20-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}", ApiVersion = "2024-07-10")] public partial class NewAzConnectedPrivateLinkScope_CreateViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IContext diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedPrivateLinkScope_CreateViaIdentityExpanded.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedPrivateLinkScope_CreateViaIdentityExpanded.cs index a076077176c4..ae3fb0853d0a 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedPrivateLinkScope_CreateViaIdentityExpanded.cs +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedPrivateLinkScope_CreateViaIdentityExpanded.cs @@ -21,7 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridComputePrivateLinkScope))] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"create (or create a Azure Arc PrivateLinkScope. Note: You cannot specify a different value for InstrumentationKey nor AppId in the Put operation.")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}", ApiVersion = "2024-05-20-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}", ApiVersion = "2024-07-10")] public partial class NewAzConnectedPrivateLinkScope_CreateViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IContext diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedPrivateLinkScope_CreateViaJsonFilePath.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedPrivateLinkScope_CreateViaJsonFilePath.cs index 0b06a20785c0..739a03c52212 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedPrivateLinkScope_CreateViaJsonFilePath.cs +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedPrivateLinkScope_CreateViaJsonFilePath.cs @@ -21,7 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridComputePrivateLinkScope))] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"create (or create a Azure Arc PrivateLinkScope. Note: You cannot specify a different value for InstrumentationKey nor AppId in the Put operation.")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}", ApiVersion = "2024-05-20-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}", ApiVersion = "2024-07-10")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.NotSuggestDefaultParameterSet] public partial class NewAzConnectedPrivateLinkScope_CreateViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedPrivateLinkScope_CreateViaJsonString.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedPrivateLinkScope_CreateViaJsonString.cs index f826ea000098..db6717b50fc2 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedPrivateLinkScope_CreateViaJsonString.cs +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/NewAzConnectedPrivateLinkScope_CreateViaJsonString.cs @@ -21,7 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridComputePrivateLinkScope))] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"create (or create a Azure Arc PrivateLinkScope. Note: You cannot specify a different value for InstrumentationKey nor AppId in the Put operation.")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}", ApiVersion = "2024-05-20-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}", ApiVersion = "2024-07-10")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.NotSuggestDefaultParameterSet] public partial class NewAzConnectedPrivateLinkScope_CreateViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/RemoveAzConnectedLicense_Delete.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/RemoveAzConnectedLicense_Delete.cs index 15236b8810a2..01495d714802 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/RemoveAzConnectedLicense_Delete.cs +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/RemoveAzConnectedLicense_Delete.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets [global::System.Management.Automation.OutputType(typeof(bool))] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"The operation to delete a license.")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/licenses/{licenseName}", ApiVersion = "2024-05-20-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/licenses/{licenseName}", ApiVersion = "2024-07-10")] public partial class RemoveAzConnectedLicense_Delete : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IContext diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/RemoveAzConnectedLicense_DeleteViaIdentity.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/RemoveAzConnectedLicense_DeleteViaIdentity.cs index 4538a6a43d1f..a56973843d2e 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/RemoveAzConnectedLicense_DeleteViaIdentity.cs +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/RemoveAzConnectedLicense_DeleteViaIdentity.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets [global::System.Management.Automation.OutputType(typeof(bool))] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"The operation to delete a license.")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/licenses/{licenseName}", ApiVersion = "2024-05-20-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/licenses/{licenseName}", ApiVersion = "2024-07-10")] public partial class RemoveAzConnectedLicense_DeleteViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IContext diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/RemoveAzConnectedMachineExtension_Delete.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/RemoveAzConnectedMachineExtension_Delete.cs index d082b73de09a..1a6a8e0851fb 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/RemoveAzConnectedMachineExtension_Delete.cs +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/RemoveAzConnectedMachineExtension_Delete.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets [global::System.Management.Automation.OutputType(typeof(bool))] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"The operation to delete the extension.")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}", ApiVersion = "2024-05-20-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}", ApiVersion = "2024-07-10")] public partial class RemoveAzConnectedMachineExtension_Delete : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IContext diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/RemoveAzConnectedMachineExtension_DeleteViaIdentity.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/RemoveAzConnectedMachineExtension_DeleteViaIdentity.cs index bf17e8d79666..d13588aa5391 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/RemoveAzConnectedMachineExtension_DeleteViaIdentity.cs +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/RemoveAzConnectedMachineExtension_DeleteViaIdentity.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets [global::System.Management.Automation.OutputType(typeof(bool))] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"The operation to delete the extension.")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}", ApiVersion = "2024-05-20-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}", ApiVersion = "2024-07-10")] public partial class RemoveAzConnectedMachineExtension_DeleteViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IContext diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/RemoveAzConnectedMachineExtension_DeleteViaIdentityMachine.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/RemoveAzConnectedMachineExtension_DeleteViaIdentityMachine.cs index 7584450c0553..aad7ce9d0f3d 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/RemoveAzConnectedMachineExtension_DeleteViaIdentityMachine.cs +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/RemoveAzConnectedMachineExtension_DeleteViaIdentityMachine.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets [global::System.Management.Automation.OutputType(typeof(bool))] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"The operation to delete the extension.")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}", ApiVersion = "2024-05-20-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}", ApiVersion = "2024-07-10")] public partial class RemoveAzConnectedMachineExtension_DeleteViaIdentityMachine : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IContext diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/RemoveAzConnectedMachineRunCommand_Delete.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/RemoveAzConnectedMachineRunCommand_Delete.cs deleted file mode 100644 index 5fde040377a9..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/RemoveAzConnectedMachineRunCommand_Delete.cs +++ /dev/null @@ -1,629 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets -{ - using static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Extensions; - using Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell; - using Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Cmdlets; - using System; - - /// The operation to delete a run command. - /// - /// [OpenAPI] Delete=>DELETE:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/runCommands/{runCommandName}" - /// - [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Remove, @"AzConnectedMachineRunCommand_Delete", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(bool))] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"The operation to delete a run command.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/runCommands/{runCommandName}", ApiVersion = "2024-05-20-preview")] - public partial class RemoveAzConnectedMachineRunCommand_Delete : global::System.Management.Automation.PSCmdlet, - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IContext - { - /// A unique id generatd for the this cmdlet when it is instantiated. - private string __correlationId = System.Guid.NewGuid().ToString(); - - /// A copy of the Invocation Info (necessary to allow asJob to clone this cmdlet) - private global::System.Management.Automation.InvocationInfo __invocationInfo; - - /// A unique id generatd for the this cmdlet when ProcessRecord() is called. - private string __processRecordId; - - /// - /// The for this operation. - /// - private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); - - /// A dictionary to carry over additional data for pipeline. - private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - - /// A buffer to record first returned object in response. - private object _firstResponse = null; - - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - - /// when specified, runs this cmdlet as a PowerShell job - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public global::System.Management.Automation.SwitchParameter AsJob { get; set; } - - /// Wait for .NET debugger to attach - [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public global::System.Management.Automation.SwitchParameter Break { get; set; } - - /// Accessor for cancellationTokenSource. - public global::System.Threading.CancellationTokenSource CancellationTokenSource { get => _cancellationTokenSource ; set { _cancellationTokenSource = value; } } - - /// The reference to the client API class. - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ConnectedMachine Client => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.ClientAPI; - - /// - /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet - /// against a different subscription - /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] - [global::System.Management.Automation.ValidateNotNull] - [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Azure)] - public global::System.Management.Automation.PSObject DefaultProfile { get; set; } - - /// Accessor for extensibleParameters. - public global::System.Collections.Generic.IDictionary ExtensibleParameters { get => _extensibleParameters ; } - - /// SendAsync Pipeline Steps to be appended to the front of the pipeline - [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] - [global::System.Management.Automation.ValidateNotNull] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SendAsyncStep[] HttpPipelineAppend { get; set; } - - /// SendAsync Pipeline Steps to be prepended to the front of the pipeline - [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be prepended to the front of the pipeline")] - [global::System.Management.Automation.ValidateNotNull] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SendAsyncStep[] HttpPipelinePrepend { get; set; } - - /// Accessor for our copy of the InvocationInfo. - public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } - - /// Backing field for property. - private string _machineName; - - /// The name of the hybrid machine. - [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the hybrid machine.")] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = true, - ReadOnly = false, - Description = @"The name of the hybrid machine.", - SerializedName = @"machineName", - PossibleTypes = new [] { typeof(string) })] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Path)] - public string MachineName { get => this._machineName; set => this._machineName = value; } - - /// - /// cancellation delegate. Stops the cmdlet when called. - /// - global::System.Action Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - - /// cancellation token. - global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener.Token => _cancellationTokenSource.Token; - - /// - /// when specified, will make the remote call, and return an AsyncOperationResponse, letting the remote operation continue - /// asynchronously. - /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command asynchronously")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public global::System.Management.Automation.SwitchParameter NoWait { get; set; } - - /// - /// When specified, forces the cmdlet return a 'bool' given that there isn't a return type by default. - /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Returns true when the command succeeds")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public global::System.Management.Automation.SwitchParameter PassThru { get; set; } - - /// - /// The instance of the that the remote call will use. - /// - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.HttpPipeline Pipeline { get; set; } - - /// The URI for the proxy server to use - [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "The URI for the proxy server to use")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public global::System.Uri Proxy { get; set; } - - /// Credentials for a proxy server to use for the remote call - [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Credentials for a proxy server to use for the remote call")] - [global::System.Management.Automation.ValidateNotNull] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public global::System.Management.Automation.PSCredential ProxyCredential { get; set; } - - /// Use the default credentials for the proxy - [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Use the default credentials for the proxy")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public global::System.Management.Automation.SwitchParameter ProxyUseDefaultCredentials { get; set; } - - /// Backing field for property. - private string _resourceGroupName; - - /// The name of the resource group. The name is case insensitive. - [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the resource group. The name is case insensitive.")] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = true, - ReadOnly = false, - Description = @"The name of the resource group. The name is case insensitive.", - SerializedName = @"resourceGroupName", - PossibleTypes = new [] { typeof(string) })] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.CompleterInfo( - Name = @"ResourceGroupName Completer", - Description =@"Gets the list of ResourceGroupName's available for this subscription.", - Script = @"Get-AzResourceGroup | Select-Object -ExpandProperty ResourceGroupName")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Path)] - public string ResourceGroupName { get => this._resourceGroupName; set => this._resourceGroupName = value; } - - /// Backing field for property. - private string _runCommandName; - - /// The name of the run command. - [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the run command.")] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = true, - ReadOnly = false, - Description = @"The name of the run command.", - SerializedName = @"runCommandName", - PossibleTypes = new [] { typeof(string) })] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Path)] - public string RunCommandName { get => this._runCommandName; set => this._runCommandName = value; } - - /// Backing field for property. - private string _subscriptionId; - - /// The ID of the target subscription. - [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The ID of the target subscription.")] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = true, - ReadOnly = false, - Description = @"The ID of the target subscription.", - SerializedName = @"subscriptionId", - PossibleTypes = new [] { typeof(string) })] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.DefaultInfo( - Name = @"", - Description =@"", - Script = @"(Get-AzContext).Subscription.Id", - SetCondition = @"")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Path)] - public string SubscriptionId { get => this._subscriptionId; set => this._subscriptionId = value; } - - /// - /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what - /// happens on that response. Implement this method in a partial class to enable this behavior - /// - /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorResponse - /// from the remote call - /// /// Determines if the rest of the onDefault method should be processed, or if the method should - /// return immediately (set to true to skip further processing ) - - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); - - /// - /// overrideOnNoContent will be called before the regular onNoContent has been processed, allowing customization of - /// what happens on that response. Implement this method in a partial class to enable this behavior - /// - /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// /// Determines if the rest of the onNoContent method should be processed, or if the method should - /// return immediately (set to true to skip further processing ) - - partial void overrideOnNoContent(global::System.Net.Http.HttpResponseMessage responseMessage, ref global::System.Threading.Tasks.Task returnNow); - - /// - /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens - /// on that response. Implement this method in a partial class to enable this behavior - /// - /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// /// Determines if the rest of the onOk method should be processed, or if the method should return - /// immediately (set to true to skip further processing ) - - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, ref global::System.Threading.Tasks.Task returnNow); - - /// - /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) - /// - protected override void BeginProcessing() - { - var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.GetTelemetryId.Invoke(); - if (telemetryId != "" && telemetryId != "internal") - { - __correlationId = telemetryId; - } - Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); - if (Break) - { - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.AttachDebugger.Break(); - } - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletBeginProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - } - - /// Creates a duplicate instance of this cmdlet (via JSON serialization). - /// a duplicate instance of RemoveAzConnectedMachineRunCommand_Delete - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets.RemoveAzConnectedMachineRunCommand_Delete Clone() - { - var clone = new RemoveAzConnectedMachineRunCommand_Delete(); - clone.__correlationId = this.__correlationId; - clone.__processRecordId = this.__processRecordId; - clone.DefaultProfile = this.DefaultProfile; - clone.InvocationInformation = this.InvocationInformation; - clone.Proxy = this.Proxy; - clone.Pipeline = this.Pipeline; - clone.AsJob = this.AsJob; - clone.Break = this.Break; - clone.ProxyCredential = this.ProxyCredential; - clone.ProxyUseDefaultCredentials = this.ProxyUseDefaultCredentials; - clone.HttpPipelinePrepend = this.HttpPipelinePrepend; - clone.HttpPipelineAppend = this.HttpPipelineAppend; - clone.SubscriptionId = this.SubscriptionId; - clone.ResourceGroupName = this.ResourceGroupName; - clone.MachineName = this.MachineName; - clone.RunCommandName = this.RunCommandName; - return clone; - } - - /// Performs clean-up after the command execution - protected override void EndProcessing() - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } - var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); - if (telemetryInfo != null) - { - telemetryInfo.TryGetValue("ShowSecretsWarning", out var showSecretsWarning); - telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); - telemetryInfo.TryGetValue("InvocationName", out var invocationName); - if (showSecretsWarning == "true") - { - if (string.IsNullOrEmpty(sanitizedProperties)) - { - WriteWarning($"The output of cmdlet {invocationName} may compromise security by showing secrets. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); - } - else - { - WriteWarning($"The output of cmdlet {invocationName} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); - } - } - } - } - - /// Handles/Dispatches events during the call to the REST service. - /// The message id - /// The message cancellation token. When this call is cancelled, this should be true - /// Detailed message data for the message event. - /// - /// A that will be complete when handling of the message is completed. - /// - async global::System.Threading.Tasks.Task Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener.Signal(string id, global::System.Threading.CancellationToken token, global::System.Func messageData) - { - using( NoSynchronizationContext ) - { - if (token.IsCancellationRequested) - { - return ; - } - - switch ( id ) - { - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Verbose: - { - WriteVerbose($"{(messageData().Message ?? global::System.String.Empty)}"); - return ; - } - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Warning: - { - WriteWarning($"{(messageData().Message ?? global::System.String.Empty)}"); - return ; - } - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Information: - { - // When an operation supports asjob, Information messages must go thru verbose. - WriteVerbose($"INFORMATION: {(messageData().Message ?? global::System.String.Empty)}"); - return ; - } - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Debug: - { - WriteDebug($"{(messageData().Message ?? global::System.String.Empty)}"); - return ; - } - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Error: - { - WriteError(new global::System.Management.Automation.ErrorRecord( new global::System.Exception(messageData().Message), string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null ) ); - return ; - } - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress: - { - var data = messageData(); - int progress = (int)data.Value; - string activityMessage, statusDescription; - global::System.Management.Automation.ProgressRecordType recordType; - if (progress < 100) - { - activityMessage = "In progress"; - statusDescription = "Checking operation status"; - recordType = System.Management.Automation.ProgressRecordType.Processing; - } - else - { - activityMessage = "Completed"; - statusDescription = "Completed"; - recordType = System.Management.Automation.ProgressRecordType.Completed; - } - WriteProgress(new global::System.Management.Automation.ProgressRecord(1, activityMessage, statusDescription) - { - PercentComplete = progress, - RecordType = recordType - }); - return ; - } - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.DelayBeforePolling: - { - var data = messageData(); - if (true == MyInvocation?.BoundParameters?.ContainsKey("NoWait")) - { - if (data.ResponseMessage is System.Net.Http.HttpResponseMessage response) - { - var asyncOperation = response.GetFirstHeader(@"Azure-AsyncOperation"); - var location = response.GetFirstHeader(@"Location"); - var uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? response.RequestMessage.RequestUri.AbsoluteUri : location : asyncOperation; - WriteObject(new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell.AsyncOperationResponse { Target = uri }); - // do nothing more. - data.Cancel(); - return; - } - } - else - { - if (data.ResponseMessage is System.Net.Http.HttpResponseMessage response) - { - int delay = (int)(response.Headers.RetryAfter?.Delta?.TotalSeconds ?? 30); - WriteDebug($"Delaying {delay} seconds before polling."); - for (var now = 0; now < delay; ++now) - { - WriteProgress(new global::System.Management.Automation.ProgressRecord(1, "In progress", "Checking operation status") - { - PercentComplete = now * 100 / delay - }); - await global::System.Threading.Tasks.Task.Delay(1000, token); - } - } - } - break; - } - } - await Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.Signal(id, token, messageData, (i, t, m) => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(i, t, () => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.EventDataConverter.ConvertFrom(m()) as Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.EventData), InvocationInformation, this.ParameterSetName, __correlationId, __processRecordId, null ); - if (token.IsCancellationRequested) - { - return ; - } - WriteDebug($"{id}: {(messageData().Message ?? global::System.String.Empty)}"); - } - } - - /// Performs execution of the command. - protected override void ProcessRecord() - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletProcessRecordStart).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - __processRecordId = System.Guid.NewGuid().ToString(); - try - { - // work - if (ShouldProcess($"Call remote 'MachineRunCommandsDelete' operation")) - { - if (true == MyInvocation?.BoundParameters?.ContainsKey("AsJob")) - { - var instance = this.Clone(); - var job = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell.AsyncJob(instance, this.MyInvocation.Line, this.MyInvocation.MyCommand.Name, this._cancellationTokenSource.Token, this._cancellationTokenSource.Cancel); - JobRepository.Add(job); - var task = instance.ProcessRecordAsync(); - job.Monitor(task); - WriteObject(job); - } - else - { - using( var asyncCommandRuntime = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell.AsyncCommandRuntime(this, ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token) ) - { - asyncCommandRuntime.Wait( ProcessRecordAsync(),((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token); - } - } - } - } - catch (global::System.AggregateException aggregateException) - { - // unroll the inner exceptions to get the root cause - foreach( var innerException in aggregateException.Flatten().InnerExceptions ) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletException, $"{innerException.GetType().Name} - {innerException.Message} : {innerException.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - // Write exception out to error channel. - WriteError( new global::System.Management.Automation.ErrorRecord(innerException,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); - } - } - catch (global::System.Exception exception) when ((exception as System.Management.Automation.PipelineStoppedException)== null || (exception as System.Management.Automation.PipelineStoppedException).InnerException != null) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletException, $"{exception.GetType().Name} - {exception.Message} : {exception.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - // Write exception out to error channel. - WriteError( new global::System.Management.Automation.ErrorRecord(exception,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); - } - finally - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletProcessRecordEnd).Wait(); - } - } - - /// Performs execution of the command, working asynchronously if required. - /// - /// A that will be complete when handling of the method is completed. - /// - protected async global::System.Threading.Tasks.Task ProcessRecordAsync() - { - using( NoSynchronizationContext ) - { - await ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - Pipeline = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName, this.ExtensibleParameters); - if (null != HttpPipelinePrepend) - { - Pipeline.Prepend((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelinePrepend) ?? HttpPipelinePrepend); - } - if (null != HttpPipelineAppend) - { - Pipeline.Append((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelineAppend) ?? HttpPipelineAppend); - } - // get the client instance - try - { - await ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - await this.Client.MachineRunCommandsDelete(SubscriptionId, ResourceGroupName, MachineName, RunCommandName, onOk, onNoContent, onDefault, this, Pipeline); - await ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - } - catch (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.UndeclaredResponseException urexception) - { - WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId,ResourceGroupName=ResourceGroupName,MachineName=MachineName,RunCommandName=RunCommandName}) - { - ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } - }); - } - finally - { - await ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletProcessRecordAsyncEnd); - } - } - } - - /// - /// Initializes a new instance of the cmdlet class. - /// - public RemoveAzConnectedMachineRunCommand_Delete() - { - - } - - /// Interrupts currently running code within the command. - protected override void StopProcessing() - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Cancel(); - base.StopProcessing(); - } - - /// - new protected void WriteObject(object sendToPipeline) - { - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); - base.WriteObject(sendToPipeline); - } - - /// - /// - new protected void WriteObject(object sendToPipeline, bool enumerateCollection) - { - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); - base.WriteObject(sendToPipeline, enumerateCollection); - } - - /// - /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). - /// - /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorResponse - /// from the remote call - /// - /// A that will be complete when handling of the method is completed. - /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) - { - using( NoSynchronizationContext ) - { - var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); - overrideOnDefault(responseMessage, response, ref _returnNow); - // if overrideOnDefault has returned true, then return right away. - if ((null != _returnNow && await _returnNow)) - { - return ; - } - // Error Response : default - var code = (await response)?.Code; - var message = (await response)?.Message; - if ((null == code || null == message)) - { - // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.RestException(responseMessage, await response); - WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) - { - ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } - }); - } - else - { - WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) - { - ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } - }); - } - } - } - - /// a delegate that is called when the remote service returns 204 (NoContent). - /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// - /// A that will be complete when handling of the method is completed. - /// - private async global::System.Threading.Tasks.Task onNoContent(global::System.Net.Http.HttpResponseMessage responseMessage) - { - using( NoSynchronizationContext ) - { - var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); - overrideOnNoContent(responseMessage, ref _returnNow); - // if overrideOnNoContent has returned true, then return right away. - if ((null != _returnNow && await _returnNow)) - { - return ; - } - // onNoContent - response for 204 / - if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru")) - { - WriteObject(true); - } - } - } - - /// a delegate that is called when the remote service returns 200 (OK). - /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// - /// A that will be complete when handling of the method is completed. - /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage) - { - using( NoSynchronizationContext ) - { - var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); - overrideOnOk(responseMessage, ref _returnNow); - // if overrideOnOk has returned true, then return right away. - if ((null != _returnNow && await _returnNow)) - { - return ; - } - // onOk - response for 200 / - if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru")) - { - WriteObject(true); - } - } - } - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/RemoveAzConnectedMachineRunCommand_DeleteViaIdentity.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/RemoveAzConnectedMachineRunCommand_DeleteViaIdentity.cs deleted file mode 100644 index de3d95ca4731..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/RemoveAzConnectedMachineRunCommand_DeleteViaIdentity.cs +++ /dev/null @@ -1,592 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets -{ - using static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Extensions; - using Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell; - using Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Cmdlets; - using System; - - /// The operation to delete a run command. - /// - /// [OpenAPI] Delete=>DELETE:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/runCommands/{runCommandName}" - /// - [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Remove, @"AzConnectedMachineRunCommand_DeleteViaIdentity", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(bool))] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"The operation to delete a run command.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/runCommands/{runCommandName}", ApiVersion = "2024-05-20-preview")] - public partial class RemoveAzConnectedMachineRunCommand_DeleteViaIdentity : global::System.Management.Automation.PSCmdlet, - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IContext - { - /// A unique id generatd for the this cmdlet when it is instantiated. - private string __correlationId = System.Guid.NewGuid().ToString(); - - /// A copy of the Invocation Info (necessary to allow asJob to clone this cmdlet) - private global::System.Management.Automation.InvocationInfo __invocationInfo; - - /// A unique id generatd for the this cmdlet when ProcessRecord() is called. - private string __processRecordId; - - /// - /// The for this operation. - /// - private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); - - /// A dictionary to carry over additional data for pipeline. - private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - - /// A buffer to record first returned object in response. - private object _firstResponse = null; - - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - - /// when specified, runs this cmdlet as a PowerShell job - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public global::System.Management.Automation.SwitchParameter AsJob { get; set; } - - /// Wait for .NET debugger to attach - [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public global::System.Management.Automation.SwitchParameter Break { get; set; } - - /// Accessor for cancellationTokenSource. - public global::System.Threading.CancellationTokenSource CancellationTokenSource { get => _cancellationTokenSource ; set { _cancellationTokenSource = value; } } - - /// The reference to the client API class. - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ConnectedMachine Client => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.ClientAPI; - - /// - /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet - /// against a different subscription - /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] - [global::System.Management.Automation.ValidateNotNull] - [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Azure)] - public global::System.Management.Automation.PSObject DefaultProfile { get; set; } - - /// Accessor for extensibleParameters. - public global::System.Collections.Generic.IDictionary ExtensibleParameters { get => _extensibleParameters ; } - - /// SendAsync Pipeline Steps to be appended to the front of the pipeline - [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] - [global::System.Management.Automation.ValidateNotNull] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SendAsyncStep[] HttpPipelineAppend { get; set; } - - /// SendAsync Pipeline Steps to be prepended to the front of the pipeline - [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be prepended to the front of the pipeline")] - [global::System.Management.Automation.ValidateNotNull] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SendAsyncStep[] HttpPipelinePrepend { get; set; } - - /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentity _inputObject; - - /// Identity Parameter - [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Identity Parameter", ValueFromPipeline = true)] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Path)] - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentity InputObject { get => this._inputObject; set => this._inputObject = value; } - - /// Accessor for our copy of the InvocationInfo. - public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } - - /// - /// cancellation delegate. Stops the cmdlet when called. - /// - global::System.Action Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - - /// cancellation token. - global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener.Token => _cancellationTokenSource.Token; - - /// - /// when specified, will make the remote call, and return an AsyncOperationResponse, letting the remote operation continue - /// asynchronously. - /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command asynchronously")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public global::System.Management.Automation.SwitchParameter NoWait { get; set; } - - /// - /// When specified, forces the cmdlet return a 'bool' given that there isn't a return type by default. - /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Returns true when the command succeeds")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public global::System.Management.Automation.SwitchParameter PassThru { get; set; } - - /// - /// The instance of the that the remote call will use. - /// - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.HttpPipeline Pipeline { get; set; } - - /// The URI for the proxy server to use - [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "The URI for the proxy server to use")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public global::System.Uri Proxy { get; set; } - - /// Credentials for a proxy server to use for the remote call - [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Credentials for a proxy server to use for the remote call")] - [global::System.Management.Automation.ValidateNotNull] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public global::System.Management.Automation.PSCredential ProxyCredential { get; set; } - - /// Use the default credentials for the proxy - [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Use the default credentials for the proxy")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public global::System.Management.Automation.SwitchParameter ProxyUseDefaultCredentials { get; set; } - - /// - /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what - /// happens on that response. Implement this method in a partial class to enable this behavior - /// - /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorResponse - /// from the remote call - /// /// Determines if the rest of the onDefault method should be processed, or if the method should - /// return immediately (set to true to skip further processing ) - - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); - - /// - /// overrideOnNoContent will be called before the regular onNoContent has been processed, allowing customization of - /// what happens on that response. Implement this method in a partial class to enable this behavior - /// - /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// /// Determines if the rest of the onNoContent method should be processed, or if the method should - /// return immediately (set to true to skip further processing ) - - partial void overrideOnNoContent(global::System.Net.Http.HttpResponseMessage responseMessage, ref global::System.Threading.Tasks.Task returnNow); - - /// - /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens - /// on that response. Implement this method in a partial class to enable this behavior - /// - /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// /// Determines if the rest of the onOk method should be processed, or if the method should return - /// immediately (set to true to skip further processing ) - - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, ref global::System.Threading.Tasks.Task returnNow); - - /// - /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) - /// - protected override void BeginProcessing() - { - var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.GetTelemetryId.Invoke(); - if (telemetryId != "" && telemetryId != "internal") - { - __correlationId = telemetryId; - } - Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); - if (Break) - { - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.AttachDebugger.Break(); - } - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletBeginProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - } - - /// Creates a duplicate instance of this cmdlet (via JSON serialization). - /// a duplicate instance of RemoveAzConnectedMachineRunCommand_DeleteViaIdentity - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets.RemoveAzConnectedMachineRunCommand_DeleteViaIdentity Clone() - { - var clone = new RemoveAzConnectedMachineRunCommand_DeleteViaIdentity(); - clone.__correlationId = this.__correlationId; - clone.__processRecordId = this.__processRecordId; - clone.DefaultProfile = this.DefaultProfile; - clone.InvocationInformation = this.InvocationInformation; - clone.Proxy = this.Proxy; - clone.Pipeline = this.Pipeline; - clone.AsJob = this.AsJob; - clone.Break = this.Break; - clone.ProxyCredential = this.ProxyCredential; - clone.ProxyUseDefaultCredentials = this.ProxyUseDefaultCredentials; - clone.HttpPipelinePrepend = this.HttpPipelinePrepend; - clone.HttpPipelineAppend = this.HttpPipelineAppend; - return clone; - } - - /// Performs clean-up after the command execution - protected override void EndProcessing() - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } - var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); - if (telemetryInfo != null) - { - telemetryInfo.TryGetValue("ShowSecretsWarning", out var showSecretsWarning); - telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); - telemetryInfo.TryGetValue("InvocationName", out var invocationName); - if (showSecretsWarning == "true") - { - if (string.IsNullOrEmpty(sanitizedProperties)) - { - WriteWarning($"The output of cmdlet {invocationName} may compromise security by showing secrets. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); - } - else - { - WriteWarning($"The output of cmdlet {invocationName} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); - } - } - } - } - - /// Handles/Dispatches events during the call to the REST service. - /// The message id - /// The message cancellation token. When this call is cancelled, this should be true - /// Detailed message data for the message event. - /// - /// A that will be complete when handling of the message is completed. - /// - async global::System.Threading.Tasks.Task Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener.Signal(string id, global::System.Threading.CancellationToken token, global::System.Func messageData) - { - using( NoSynchronizationContext ) - { - if (token.IsCancellationRequested) - { - return ; - } - - switch ( id ) - { - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Verbose: - { - WriteVerbose($"{(messageData().Message ?? global::System.String.Empty)}"); - return ; - } - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Warning: - { - WriteWarning($"{(messageData().Message ?? global::System.String.Empty)}"); - return ; - } - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Information: - { - // When an operation supports asjob, Information messages must go thru verbose. - WriteVerbose($"INFORMATION: {(messageData().Message ?? global::System.String.Empty)}"); - return ; - } - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Debug: - { - WriteDebug($"{(messageData().Message ?? global::System.String.Empty)}"); - return ; - } - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Error: - { - WriteError(new global::System.Management.Automation.ErrorRecord( new global::System.Exception(messageData().Message), string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null ) ); - return ; - } - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress: - { - var data = messageData(); - int progress = (int)data.Value; - string activityMessage, statusDescription; - global::System.Management.Automation.ProgressRecordType recordType; - if (progress < 100) - { - activityMessage = "In progress"; - statusDescription = "Checking operation status"; - recordType = System.Management.Automation.ProgressRecordType.Processing; - } - else - { - activityMessage = "Completed"; - statusDescription = "Completed"; - recordType = System.Management.Automation.ProgressRecordType.Completed; - } - WriteProgress(new global::System.Management.Automation.ProgressRecord(1, activityMessage, statusDescription) - { - PercentComplete = progress, - RecordType = recordType - }); - return ; - } - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.DelayBeforePolling: - { - var data = messageData(); - if (true == MyInvocation?.BoundParameters?.ContainsKey("NoWait")) - { - if (data.ResponseMessage is System.Net.Http.HttpResponseMessage response) - { - var asyncOperation = response.GetFirstHeader(@"Azure-AsyncOperation"); - var location = response.GetFirstHeader(@"Location"); - var uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? response.RequestMessage.RequestUri.AbsoluteUri : location : asyncOperation; - WriteObject(new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell.AsyncOperationResponse { Target = uri }); - // do nothing more. - data.Cancel(); - return; - } - } - else - { - if (data.ResponseMessage is System.Net.Http.HttpResponseMessage response) - { - int delay = (int)(response.Headers.RetryAfter?.Delta?.TotalSeconds ?? 30); - WriteDebug($"Delaying {delay} seconds before polling."); - for (var now = 0; now < delay; ++now) - { - WriteProgress(new global::System.Management.Automation.ProgressRecord(1, "In progress", "Checking operation status") - { - PercentComplete = now * 100 / delay - }); - await global::System.Threading.Tasks.Task.Delay(1000, token); - } - } - } - break; - } - } - await Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.Signal(id, token, messageData, (i, t, m) => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(i, t, () => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.EventDataConverter.ConvertFrom(m()) as Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.EventData), InvocationInformation, this.ParameterSetName, __correlationId, __processRecordId, null ); - if (token.IsCancellationRequested) - { - return ; - } - WriteDebug($"{id}: {(messageData().Message ?? global::System.String.Empty)}"); - } - } - - /// Performs execution of the command. - protected override void ProcessRecord() - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletProcessRecordStart).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - __processRecordId = System.Guid.NewGuid().ToString(); - try - { - // work - if (ShouldProcess($"Call remote 'MachineRunCommandsDelete' operation")) - { - if (true == MyInvocation?.BoundParameters?.ContainsKey("AsJob")) - { - var instance = this.Clone(); - var job = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell.AsyncJob(instance, this.MyInvocation.Line, this.MyInvocation.MyCommand.Name, this._cancellationTokenSource.Token, this._cancellationTokenSource.Cancel); - JobRepository.Add(job); - var task = instance.ProcessRecordAsync(); - job.Monitor(task); - WriteObject(job); - } - else - { - using( var asyncCommandRuntime = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell.AsyncCommandRuntime(this, ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token) ) - { - asyncCommandRuntime.Wait( ProcessRecordAsync(),((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token); - } - } - } - } - catch (global::System.AggregateException aggregateException) - { - // unroll the inner exceptions to get the root cause - foreach( var innerException in aggregateException.Flatten().InnerExceptions ) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletException, $"{innerException.GetType().Name} - {innerException.Message} : {innerException.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - // Write exception out to error channel. - WriteError( new global::System.Management.Automation.ErrorRecord(innerException,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); - } - } - catch (global::System.Exception exception) when ((exception as System.Management.Automation.PipelineStoppedException)== null || (exception as System.Management.Automation.PipelineStoppedException).InnerException != null) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletException, $"{exception.GetType().Name} - {exception.Message} : {exception.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - // Write exception out to error channel. - WriteError( new global::System.Management.Automation.ErrorRecord(exception,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); - } - finally - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletProcessRecordEnd).Wait(); - } - } - - /// Performs execution of the command, working asynchronously if required. - /// - /// A that will be complete when handling of the method is completed. - /// - protected async global::System.Threading.Tasks.Task ProcessRecordAsync() - { - using( NoSynchronizationContext ) - { - await ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - Pipeline = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName, this.ExtensibleParameters); - if (null != HttpPipelinePrepend) - { - Pipeline.Prepend((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelinePrepend) ?? HttpPipelinePrepend); - } - if (null != HttpPipelineAppend) - { - Pipeline.Append((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelineAppend) ?? HttpPipelineAppend); - } - // get the client instance - try - { - await ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - if (InputObject?.Id != null) - { - await this.Client.MachineRunCommandsDeleteViaIdentity(InputObject.Id, onOk, onNoContent, onDefault, this, Pipeline); - } - else - { - // try to call with PATH parameters from Input Object - if (null == InputObject.SubscriptionId) - { - ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.SubscriptionId"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); - } - if (null == InputObject.ResourceGroupName) - { - ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.ResourceGroupName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); - } - if (null == InputObject.MachineName) - { - ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.MachineName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); - } - if (null == InputObject.RunCommandName) - { - ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.RunCommandName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); - } - await this.Client.MachineRunCommandsDelete(InputObject.SubscriptionId ?? null, InputObject.ResourceGroupName ?? null, InputObject.MachineName ?? null, InputObject.RunCommandName ?? null, onOk, onNoContent, onDefault, this, Pipeline); - } - await ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - } - catch (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.UndeclaredResponseException urexception) - { - WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) - { - ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } - }); - } - finally - { - await ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletProcessRecordAsyncEnd); - } - } - } - - /// - /// Initializes a new instance of the cmdlet class. - /// - public RemoveAzConnectedMachineRunCommand_DeleteViaIdentity() - { - - } - - /// Interrupts currently running code within the command. - protected override void StopProcessing() - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Cancel(); - base.StopProcessing(); - } - - /// - new protected void WriteObject(object sendToPipeline) - { - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); - base.WriteObject(sendToPipeline); - } - - /// - /// - new protected void WriteObject(object sendToPipeline, bool enumerateCollection) - { - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); - base.WriteObject(sendToPipeline, enumerateCollection); - } - - /// - /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). - /// - /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorResponse - /// from the remote call - /// - /// A that will be complete when handling of the method is completed. - /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) - { - using( NoSynchronizationContext ) - { - var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); - overrideOnDefault(responseMessage, response, ref _returnNow); - // if overrideOnDefault has returned true, then return right away. - if ((null != _returnNow && await _returnNow)) - { - return ; - } - // Error Response : default - var code = (await response)?.Code; - var message = (await response)?.Message; - if ((null == code || null == message)) - { - // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.RestException(responseMessage, await response); - WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) - { - ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } - }); - } - else - { - WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) - { - ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } - }); - } - } - } - - /// a delegate that is called when the remote service returns 204 (NoContent). - /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// - /// A that will be complete when handling of the method is completed. - /// - private async global::System.Threading.Tasks.Task onNoContent(global::System.Net.Http.HttpResponseMessage responseMessage) - { - using( NoSynchronizationContext ) - { - var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); - overrideOnNoContent(responseMessage, ref _returnNow); - // if overrideOnNoContent has returned true, then return right away. - if ((null != _returnNow && await _returnNow)) - { - return ; - } - // onNoContent - response for 204 / - if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru")) - { - WriteObject(true); - } - } - } - - /// a delegate that is called when the remote service returns 200 (OK). - /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// - /// A that will be complete when handling of the method is completed. - /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage) - { - using( NoSynchronizationContext ) - { - var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); - overrideOnOk(responseMessage, ref _returnNow); - // if overrideOnOk has returned true, then return right away. - if ((null != _returnNow && await _returnNow)) - { - return ; - } - // onOk - response for 200 / - if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru")) - { - WriteObject(true); - } - } - } - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/RemoveAzConnectedMachineRunCommand_DeleteViaIdentityMachine.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/RemoveAzConnectedMachineRunCommand_DeleteViaIdentityMachine.cs deleted file mode 100644 index 5b8a93133aac..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/RemoveAzConnectedMachineRunCommand_DeleteViaIdentityMachine.cs +++ /dev/null @@ -1,606 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets -{ - using static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Extensions; - using Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell; - using Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Cmdlets; - using System; - - /// The operation to delete a run command. - /// - /// [OpenAPI] Delete=>DELETE:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/runCommands/{runCommandName}" - /// - [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Remove, @"AzConnectedMachineRunCommand_DeleteViaIdentityMachine", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(bool))] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"The operation to delete a run command.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/runCommands/{runCommandName}", ApiVersion = "2024-05-20-preview")] - public partial class RemoveAzConnectedMachineRunCommand_DeleteViaIdentityMachine : global::System.Management.Automation.PSCmdlet, - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IContext - { - /// A unique id generatd for the this cmdlet when it is instantiated. - private string __correlationId = System.Guid.NewGuid().ToString(); - - /// A copy of the Invocation Info (necessary to allow asJob to clone this cmdlet) - private global::System.Management.Automation.InvocationInfo __invocationInfo; - - /// A unique id generatd for the this cmdlet when ProcessRecord() is called. - private string __processRecordId; - - /// - /// The for this operation. - /// - private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); - - /// A dictionary to carry over additional data for pipeline. - private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - - /// A buffer to record first returned object in response. - private object _firstResponse = null; - - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - - /// when specified, runs this cmdlet as a PowerShell job - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public global::System.Management.Automation.SwitchParameter AsJob { get; set; } - - /// Wait for .NET debugger to attach - [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public global::System.Management.Automation.SwitchParameter Break { get; set; } - - /// Accessor for cancellationTokenSource. - public global::System.Threading.CancellationTokenSource CancellationTokenSource { get => _cancellationTokenSource ; set { _cancellationTokenSource = value; } } - - /// The reference to the client API class. - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ConnectedMachine Client => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.ClientAPI; - - /// - /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet - /// against a different subscription - /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] - [global::System.Management.Automation.ValidateNotNull] - [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Azure)] - public global::System.Management.Automation.PSObject DefaultProfile { get; set; } - - /// Accessor for extensibleParameters. - public global::System.Collections.Generic.IDictionary ExtensibleParameters { get => _extensibleParameters ; } - - /// SendAsync Pipeline Steps to be appended to the front of the pipeline - [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] - [global::System.Management.Automation.ValidateNotNull] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SendAsyncStep[] HttpPipelineAppend { get; set; } - - /// SendAsync Pipeline Steps to be prepended to the front of the pipeline - [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be prepended to the front of the pipeline")] - [global::System.Management.Automation.ValidateNotNull] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SendAsyncStep[] HttpPipelinePrepend { get; set; } - - /// Accessor for our copy of the InvocationInfo. - public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } - - /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentity _machineInputObject; - - /// Identity Parameter - [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Identity Parameter", ValueFromPipeline = true)] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Path)] - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentity MachineInputObject { get => this._machineInputObject; set => this._machineInputObject = value; } - - /// - /// cancellation delegate. Stops the cmdlet when called. - /// - global::System.Action Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - - /// cancellation token. - global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener.Token => _cancellationTokenSource.Token; - - /// - /// when specified, will make the remote call, and return an AsyncOperationResponse, letting the remote operation continue - /// asynchronously. - /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command asynchronously")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public global::System.Management.Automation.SwitchParameter NoWait { get; set; } - - /// - /// When specified, forces the cmdlet return a 'bool' given that there isn't a return type by default. - /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Returns true when the command succeeds")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public global::System.Management.Automation.SwitchParameter PassThru { get; set; } - - /// - /// The instance of the that the remote call will use. - /// - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.HttpPipeline Pipeline { get; set; } - - /// The URI for the proxy server to use - [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "The URI for the proxy server to use")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public global::System.Uri Proxy { get; set; } - - /// Credentials for a proxy server to use for the remote call - [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Credentials for a proxy server to use for the remote call")] - [global::System.Management.Automation.ValidateNotNull] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public global::System.Management.Automation.PSCredential ProxyCredential { get; set; } - - /// Use the default credentials for the proxy - [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Use the default credentials for the proxy")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public global::System.Management.Automation.SwitchParameter ProxyUseDefaultCredentials { get; set; } - - /// Backing field for property. - private string _runCommandName; - - /// The name of the run command. - [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the run command.")] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = true, - ReadOnly = false, - Description = @"The name of the run command.", - SerializedName = @"runCommandName", - PossibleTypes = new [] { typeof(string) })] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Path)] - public string RunCommandName { get => this._runCommandName; set => this._runCommandName = value; } - - /// - /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what - /// happens on that response. Implement this method in a partial class to enable this behavior - /// - /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorResponse - /// from the remote call - /// /// Determines if the rest of the onDefault method should be processed, or if the method should - /// return immediately (set to true to skip further processing ) - - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); - - /// - /// overrideOnNoContent will be called before the regular onNoContent has been processed, allowing customization of - /// what happens on that response. Implement this method in a partial class to enable this behavior - /// - /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// /// Determines if the rest of the onNoContent method should be processed, or if the method should - /// return immediately (set to true to skip further processing ) - - partial void overrideOnNoContent(global::System.Net.Http.HttpResponseMessage responseMessage, ref global::System.Threading.Tasks.Task returnNow); - - /// - /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens - /// on that response. Implement this method in a partial class to enable this behavior - /// - /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// /// Determines if the rest of the onOk method should be processed, or if the method should return - /// immediately (set to true to skip further processing ) - - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, ref global::System.Threading.Tasks.Task returnNow); - - /// - /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) - /// - protected override void BeginProcessing() - { - var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.GetTelemetryId.Invoke(); - if (telemetryId != "" && telemetryId != "internal") - { - __correlationId = telemetryId; - } - Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); - if (Break) - { - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.AttachDebugger.Break(); - } - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletBeginProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - } - - /// Creates a duplicate instance of this cmdlet (via JSON serialization). - /// - /// a duplicate instance of RemoveAzConnectedMachineRunCommand_DeleteViaIdentityMachine - /// - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets.RemoveAzConnectedMachineRunCommand_DeleteViaIdentityMachine Clone() - { - var clone = new RemoveAzConnectedMachineRunCommand_DeleteViaIdentityMachine(); - clone.__correlationId = this.__correlationId; - clone.__processRecordId = this.__processRecordId; - clone.DefaultProfile = this.DefaultProfile; - clone.InvocationInformation = this.InvocationInformation; - clone.Proxy = this.Proxy; - clone.Pipeline = this.Pipeline; - clone.AsJob = this.AsJob; - clone.Break = this.Break; - clone.ProxyCredential = this.ProxyCredential; - clone.ProxyUseDefaultCredentials = this.ProxyUseDefaultCredentials; - clone.HttpPipelinePrepend = this.HttpPipelinePrepend; - clone.HttpPipelineAppend = this.HttpPipelineAppend; - clone.RunCommandName = this.RunCommandName; - return clone; - } - - /// Performs clean-up after the command execution - protected override void EndProcessing() - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } - var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); - if (telemetryInfo != null) - { - telemetryInfo.TryGetValue("ShowSecretsWarning", out var showSecretsWarning); - telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); - telemetryInfo.TryGetValue("InvocationName", out var invocationName); - if (showSecretsWarning == "true") - { - if (string.IsNullOrEmpty(sanitizedProperties)) - { - WriteWarning($"The output of cmdlet {invocationName} may compromise security by showing secrets. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); - } - else - { - WriteWarning($"The output of cmdlet {invocationName} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); - } - } - } - } - - /// Handles/Dispatches events during the call to the REST service. - /// The message id - /// The message cancellation token. When this call is cancelled, this should be true - /// Detailed message data for the message event. - /// - /// A that will be complete when handling of the message is completed. - /// - async global::System.Threading.Tasks.Task Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener.Signal(string id, global::System.Threading.CancellationToken token, global::System.Func messageData) - { - using( NoSynchronizationContext ) - { - if (token.IsCancellationRequested) - { - return ; - } - - switch ( id ) - { - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Verbose: - { - WriteVerbose($"{(messageData().Message ?? global::System.String.Empty)}"); - return ; - } - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Warning: - { - WriteWarning($"{(messageData().Message ?? global::System.String.Empty)}"); - return ; - } - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Information: - { - // When an operation supports asjob, Information messages must go thru verbose. - WriteVerbose($"INFORMATION: {(messageData().Message ?? global::System.String.Empty)}"); - return ; - } - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Debug: - { - WriteDebug($"{(messageData().Message ?? global::System.String.Empty)}"); - return ; - } - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Error: - { - WriteError(new global::System.Management.Automation.ErrorRecord( new global::System.Exception(messageData().Message), string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null ) ); - return ; - } - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress: - { - var data = messageData(); - int progress = (int)data.Value; - string activityMessage, statusDescription; - global::System.Management.Automation.ProgressRecordType recordType; - if (progress < 100) - { - activityMessage = "In progress"; - statusDescription = "Checking operation status"; - recordType = System.Management.Automation.ProgressRecordType.Processing; - } - else - { - activityMessage = "Completed"; - statusDescription = "Completed"; - recordType = System.Management.Automation.ProgressRecordType.Completed; - } - WriteProgress(new global::System.Management.Automation.ProgressRecord(1, activityMessage, statusDescription) - { - PercentComplete = progress, - RecordType = recordType - }); - return ; - } - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.DelayBeforePolling: - { - var data = messageData(); - if (true == MyInvocation?.BoundParameters?.ContainsKey("NoWait")) - { - if (data.ResponseMessage is System.Net.Http.HttpResponseMessage response) - { - var asyncOperation = response.GetFirstHeader(@"Azure-AsyncOperation"); - var location = response.GetFirstHeader(@"Location"); - var uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? response.RequestMessage.RequestUri.AbsoluteUri : location : asyncOperation; - WriteObject(new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell.AsyncOperationResponse { Target = uri }); - // do nothing more. - data.Cancel(); - return; - } - } - else - { - if (data.ResponseMessage is System.Net.Http.HttpResponseMessage response) - { - int delay = (int)(response.Headers.RetryAfter?.Delta?.TotalSeconds ?? 30); - WriteDebug($"Delaying {delay} seconds before polling."); - for (var now = 0; now < delay; ++now) - { - WriteProgress(new global::System.Management.Automation.ProgressRecord(1, "In progress", "Checking operation status") - { - PercentComplete = now * 100 / delay - }); - await global::System.Threading.Tasks.Task.Delay(1000, token); - } - } - } - break; - } - } - await Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.Signal(id, token, messageData, (i, t, m) => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(i, t, () => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.EventDataConverter.ConvertFrom(m()) as Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.EventData), InvocationInformation, this.ParameterSetName, __correlationId, __processRecordId, null ); - if (token.IsCancellationRequested) - { - return ; - } - WriteDebug($"{id}: {(messageData().Message ?? global::System.String.Empty)}"); - } - } - - /// Performs execution of the command. - protected override void ProcessRecord() - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletProcessRecordStart).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - __processRecordId = System.Guid.NewGuid().ToString(); - try - { - // work - if (ShouldProcess($"Call remote 'MachineRunCommandsDelete' operation")) - { - if (true == MyInvocation?.BoundParameters?.ContainsKey("AsJob")) - { - var instance = this.Clone(); - var job = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell.AsyncJob(instance, this.MyInvocation.Line, this.MyInvocation.MyCommand.Name, this._cancellationTokenSource.Token, this._cancellationTokenSource.Cancel); - JobRepository.Add(job); - var task = instance.ProcessRecordAsync(); - job.Monitor(task); - WriteObject(job); - } - else - { - using( var asyncCommandRuntime = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell.AsyncCommandRuntime(this, ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token) ) - { - asyncCommandRuntime.Wait( ProcessRecordAsync(),((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token); - } - } - } - } - catch (global::System.AggregateException aggregateException) - { - // unroll the inner exceptions to get the root cause - foreach( var innerException in aggregateException.Flatten().InnerExceptions ) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletException, $"{innerException.GetType().Name} - {innerException.Message} : {innerException.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - // Write exception out to error channel. - WriteError( new global::System.Management.Automation.ErrorRecord(innerException,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); - } - } - catch (global::System.Exception exception) when ((exception as System.Management.Automation.PipelineStoppedException)== null || (exception as System.Management.Automation.PipelineStoppedException).InnerException != null) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletException, $"{exception.GetType().Name} - {exception.Message} : {exception.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - // Write exception out to error channel. - WriteError( new global::System.Management.Automation.ErrorRecord(exception,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); - } - finally - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletProcessRecordEnd).Wait(); - } - } - - /// Performs execution of the command, working asynchronously if required. - /// - /// A that will be complete when handling of the method is completed. - /// - protected async global::System.Threading.Tasks.Task ProcessRecordAsync() - { - using( NoSynchronizationContext ) - { - await ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - Pipeline = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName, this.ExtensibleParameters); - if (null != HttpPipelinePrepend) - { - Pipeline.Prepend((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelinePrepend) ?? HttpPipelinePrepend); - } - if (null != HttpPipelineAppend) - { - Pipeline.Append((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelineAppend) ?? HttpPipelineAppend); - } - // get the client instance - try - { - await ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - if (MachineInputObject?.Id != null) - { - this.MachineInputObject.Id += $"/runCommands/{(global::System.Uri.EscapeDataString(this.RunCommandName.ToString()))}"; - await this.Client.MachineRunCommandsDeleteViaIdentity(MachineInputObject.Id, onOk, onNoContent, onDefault, this, Pipeline); - } - else - { - // try to call with PATH parameters from Input Object - if (null == MachineInputObject.SubscriptionId) - { - ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("MachineInputObject has null value for MachineInputObject.SubscriptionId"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, MachineInputObject) ); - } - if (null == MachineInputObject.ResourceGroupName) - { - ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("MachineInputObject has null value for MachineInputObject.ResourceGroupName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, MachineInputObject) ); - } - if (null == MachineInputObject.MachineName) - { - ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("MachineInputObject has null value for MachineInputObject.MachineName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, MachineInputObject) ); - } - await this.Client.MachineRunCommandsDelete(MachineInputObject.SubscriptionId ?? null, MachineInputObject.ResourceGroupName ?? null, MachineInputObject.MachineName ?? null, RunCommandName, onOk, onNoContent, onDefault, this, Pipeline); - } - await ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - } - catch (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.UndeclaredResponseException urexception) - { - WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { RunCommandName=RunCommandName}) - { - ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } - }); - } - finally - { - await ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletProcessRecordAsyncEnd); - } - } - } - - /// - /// Initializes a new instance of the cmdlet class. - /// - public RemoveAzConnectedMachineRunCommand_DeleteViaIdentityMachine() - { - - } - - /// Interrupts currently running code within the command. - protected override void StopProcessing() - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Cancel(); - base.StopProcessing(); - } - - /// - new protected void WriteObject(object sendToPipeline) - { - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); - base.WriteObject(sendToPipeline); - } - - /// - /// - new protected void WriteObject(object sendToPipeline, bool enumerateCollection) - { - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); - base.WriteObject(sendToPipeline, enumerateCollection); - } - - /// - /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). - /// - /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorResponse - /// from the remote call - /// - /// A that will be complete when handling of the method is completed. - /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) - { - using( NoSynchronizationContext ) - { - var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); - overrideOnDefault(responseMessage, response, ref _returnNow); - // if overrideOnDefault has returned true, then return right away. - if ((null != _returnNow && await _returnNow)) - { - return ; - } - // Error Response : default - var code = (await response)?.Code; - var message = (await response)?.Message; - if ((null == code || null == message)) - { - // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.RestException(responseMessage, await response); - WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) - { - ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } - }); - } - else - { - WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) - { - ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } - }); - } - } - } - - /// a delegate that is called when the remote service returns 204 (NoContent). - /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// - /// A that will be complete when handling of the method is completed. - /// - private async global::System.Threading.Tasks.Task onNoContent(global::System.Net.Http.HttpResponseMessage responseMessage) - { - using( NoSynchronizationContext ) - { - var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); - overrideOnNoContent(responseMessage, ref _returnNow); - // if overrideOnNoContent has returned true, then return right away. - if ((null != _returnNow && await _returnNow)) - { - return ; - } - // onNoContent - response for 204 / - if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru")) - { - WriteObject(true); - } - } - } - - /// a delegate that is called when the remote service returns 200 (OK). - /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// - /// A that will be complete when handling of the method is completed. - /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage) - { - using( NoSynchronizationContext ) - { - var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); - overrideOnOk(responseMessage, ref _returnNow); - // if overrideOnOk has returned true, then return right away. - if ((null != _returnNow && await _returnNow)) - { - return ; - } - // onOk - response for 200 / - if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru")) - { - WriteObject(true); - } - } - } - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/RemoveAzConnectedMachine_Delete.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/RemoveAzConnectedMachine_Delete.cs index 59f665499a51..ce7e2cd120f4 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/RemoveAzConnectedMachine_Delete.cs +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/RemoveAzConnectedMachine_Delete.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets [global::System.Management.Automation.OutputType(typeof(bool))] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"The operation to delete a hybrid machine.")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}", ApiVersion = "2024-05-20-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}", ApiVersion = "2024-07-10")] public partial class RemoveAzConnectedMachine_Delete : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IContext diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/RemoveAzConnectedMachine_DeleteViaIdentity.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/RemoveAzConnectedMachine_DeleteViaIdentity.cs index 6cb25096d91b..4a43e803b667 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/RemoveAzConnectedMachine_DeleteViaIdentity.cs +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/RemoveAzConnectedMachine_DeleteViaIdentity.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets [global::System.Management.Automation.OutputType(typeof(bool))] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"The operation to delete a hybrid machine.")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}", ApiVersion = "2024-05-20-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}", ApiVersion = "2024-07-10")] public partial class RemoveAzConnectedMachine_DeleteViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IContext diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/RemoveAzConnectedPrivateLinkScope_Delete.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/RemoveAzConnectedPrivateLinkScope_Delete.cs index eb20ec9b32d3..ce1c866464c8 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/RemoveAzConnectedPrivateLinkScope_Delete.cs +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/RemoveAzConnectedPrivateLinkScope_Delete.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets [global::System.Management.Automation.OutputType(typeof(bool))] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"Deletes a Azure Arc PrivateLinkScope.")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}", ApiVersion = "2024-05-20-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}", ApiVersion = "2024-07-10")] public partial class RemoveAzConnectedPrivateLinkScope_Delete : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IContext diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/RemoveAzConnectedPrivateLinkScope_DeleteViaIdentity.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/RemoveAzConnectedPrivateLinkScope_DeleteViaIdentity.cs index 8ad4c0727a47..14c204b29a70 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/RemoveAzConnectedPrivateLinkScope_DeleteViaIdentity.cs +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/RemoveAzConnectedPrivateLinkScope_DeleteViaIdentity.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets [global::System.Management.Automation.OutputType(typeof(bool))] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"Deletes a Azure Arc PrivateLinkScope.")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}", ApiVersion = "2024-05-20-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}", ApiVersion = "2024-07-10")] public partial class RemoveAzConnectedPrivateLinkScope_DeleteViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IContext diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/SetAzConnectedLicense_Update.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/SetAzConnectedLicense_Update.cs index b3c4a879f7eb..b755a712bb1b 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/SetAzConnectedLicense_Update.cs +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/SetAzConnectedLicense_Update.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicense))] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"The operation to update a license.")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/licenses/{licenseName}", ApiVersion = "2024-05-20-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/licenses/{licenseName}", ApiVersion = "2024-07-10")] public partial class SetAzConnectedLicense_Update : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IContext diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/SetAzConnectedLicense_UpdateExpanded.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/SetAzConnectedLicense_UpdateExpanded.cs index 061fc8af8aed..91e500f4e8d7 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/SetAzConnectedLicense_UpdateExpanded.cs +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/SetAzConnectedLicense_UpdateExpanded.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicense))] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"The operation to update a license.")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/licenses/{licenseName}", ApiVersion = "2024-05-20-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/licenses/{licenseName}", ApiVersion = "2024-07-10")] public partial class SetAzConnectedLicense_UpdateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IContext diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/SetAzConnectedLicense_UpdateViaJsonFilePath.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/SetAzConnectedLicense_UpdateViaJsonFilePath.cs index 0d29b1f5d7e4..69f89def91e4 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/SetAzConnectedLicense_UpdateViaJsonFilePath.cs +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/SetAzConnectedLicense_UpdateViaJsonFilePath.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicense))] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"The operation to update a license.")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/licenses/{licenseName}", ApiVersion = "2024-05-20-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/licenses/{licenseName}", ApiVersion = "2024-07-10")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.NotSuggestDefaultParameterSet] public partial class SetAzConnectedLicense_UpdateViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/SetAzConnectedLicense_UpdateViaJsonString.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/SetAzConnectedLicense_UpdateViaJsonString.cs index 4a12f428c8d4..392a46726dbc 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/SetAzConnectedLicense_UpdateViaJsonString.cs +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/SetAzConnectedLicense_UpdateViaJsonString.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicense))] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"The operation to update a license.")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/licenses/{licenseName}", ApiVersion = "2024-05-20-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/licenses/{licenseName}", ApiVersion = "2024-07-10")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.NotSuggestDefaultParameterSet] public partial class SetAzConnectedLicense_UpdateViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/SetAzConnectedMachineExtension_Update.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/SetAzConnectedMachineExtension_Update.cs index a8139f25296c..89d94ea41239 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/SetAzConnectedMachineExtension_Update.cs +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/SetAzConnectedMachineExtension_Update.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtension))] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"The operation to update the extension.")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}", ApiVersion = "2024-05-20-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}", ApiVersion = "2024-07-10")] public partial class SetAzConnectedMachineExtension_Update : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IContext diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/SetAzConnectedMachineExtension_UpdateExpanded.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/SetAzConnectedMachineExtension_UpdateExpanded.cs index 49d4b58bf463..9c5154628228 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/SetAzConnectedMachineExtension_UpdateExpanded.cs +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/SetAzConnectedMachineExtension_UpdateExpanded.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtension))] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"The operation to update the extension.")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}", ApiVersion = "2024-05-20-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}", ApiVersion = "2024-07-10")] public partial class SetAzConnectedMachineExtension_UpdateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IContext diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/SetAzConnectedMachineExtension_UpdateViaJsonFilePath.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/SetAzConnectedMachineExtension_UpdateViaJsonFilePath.cs index dc0e45715025..538133b32180 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/SetAzConnectedMachineExtension_UpdateViaJsonFilePath.cs +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/SetAzConnectedMachineExtension_UpdateViaJsonFilePath.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtension))] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"The operation to update the extension.")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}", ApiVersion = "2024-05-20-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}", ApiVersion = "2024-07-10")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.NotSuggestDefaultParameterSet] public partial class SetAzConnectedMachineExtension_UpdateViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/SetAzConnectedMachineExtension_UpdateViaJsonString.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/SetAzConnectedMachineExtension_UpdateViaJsonString.cs index 95b581361fea..33ff36030b83 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/SetAzConnectedMachineExtension_UpdateViaJsonString.cs +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/SetAzConnectedMachineExtension_UpdateViaJsonString.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtension))] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"The operation to update the extension.")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}", ApiVersion = "2024-05-20-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}", ApiVersion = "2024-07-10")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.NotSuggestDefaultParameterSet] public partial class SetAzConnectedMachineExtension_UpdateViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/SetAzConnectedPrivateLinkScope_Update.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/SetAzConnectedPrivateLinkScope_Update.cs index 0f0a1c06323d..73657d4a1ec3 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/SetAzConnectedPrivateLinkScope_Update.cs +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/SetAzConnectedPrivateLinkScope_Update.cs @@ -21,7 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridComputePrivateLinkScope))] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"update (or update a Azure Arc PrivateLinkScope. Note: You cannot specify a different value for InstrumentationKey nor AppId in the Put operation.")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}", ApiVersion = "2024-05-20-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}", ApiVersion = "2024-07-10")] public partial class SetAzConnectedPrivateLinkScope_Update : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IContext diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/SetAzConnectedPrivateLinkScope_UpdateExpanded.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/SetAzConnectedPrivateLinkScope_UpdateExpanded.cs index c406172241df..13f504211635 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/SetAzConnectedPrivateLinkScope_UpdateExpanded.cs +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/SetAzConnectedPrivateLinkScope_UpdateExpanded.cs @@ -21,7 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridComputePrivateLinkScope))] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"update (or update a Azure Arc PrivateLinkScope. Note: You cannot specify a different value for InstrumentationKey nor AppId in the Put operation.")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}", ApiVersion = "2024-05-20-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}", ApiVersion = "2024-07-10")] public partial class SetAzConnectedPrivateLinkScope_UpdateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IContext diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/SetAzConnectedPrivateLinkScope_UpdateViaJsonFilePath.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/SetAzConnectedPrivateLinkScope_UpdateViaJsonFilePath.cs index 8a94835e664d..f0ca4b377e6e 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/SetAzConnectedPrivateLinkScope_UpdateViaJsonFilePath.cs +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/SetAzConnectedPrivateLinkScope_UpdateViaJsonFilePath.cs @@ -21,7 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridComputePrivateLinkScope))] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"update (or update a Azure Arc PrivateLinkScope. Note: You cannot specify a different value for InstrumentationKey nor AppId in the Put operation.")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}", ApiVersion = "2024-05-20-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}", ApiVersion = "2024-07-10")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.NotSuggestDefaultParameterSet] public partial class SetAzConnectedPrivateLinkScope_UpdateViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/SetAzConnectedPrivateLinkScope_UpdateViaJsonString.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/SetAzConnectedPrivateLinkScope_UpdateViaJsonString.cs index fcfef8212778..3c5d3b466c21 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/SetAzConnectedPrivateLinkScope_UpdateViaJsonString.cs +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/SetAzConnectedPrivateLinkScope_UpdateViaJsonString.cs @@ -21,7 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridComputePrivateLinkScope))] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"update (or update a Azure Arc PrivateLinkScope. Note: You cannot specify a different value for InstrumentationKey nor AppId in the Put operation.")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}", ApiVersion = "2024-05-20-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}", ApiVersion = "2024-07-10")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.NotSuggestDefaultParameterSet] public partial class SetAzConnectedPrivateLinkScope_UpdateViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedExtension_UpgradeExpanded.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedExtension_UpgradeExpanded.cs index eb495abcc177..21be9d21f870 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedExtension_UpgradeExpanded.cs +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedExtension_UpgradeExpanded.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets [global::System.Management.Automation.OutputType(typeof(bool))] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"The operation to Upgrade Machine Extensions.")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/upgradeExtensions", ApiVersion = "2024-05-20-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/upgradeExtensions", ApiVersion = "2024-07-10")] public partial class UpdateAzConnectedExtension_UpgradeExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IContext diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedExtension_UpgradeViaIdentity.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedExtension_UpgradeViaIdentity.cs index ad78d8c18005..a71e836e67ed 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedExtension_UpgradeViaIdentity.cs +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedExtension_UpgradeViaIdentity.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets [global::System.Management.Automation.OutputType(typeof(bool))] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"The operation to Upgrade Machine Extensions.")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/upgradeExtensions", ApiVersion = "2024-05-20-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/upgradeExtensions", ApiVersion = "2024-07-10")] public partial class UpdateAzConnectedExtension_UpgradeViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IContext diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedExtension_UpgradeViaIdentityExpanded.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedExtension_UpgradeViaIdentityExpanded.cs index c9e8d7547ae2..b1b87c3de715 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedExtension_UpgradeViaIdentityExpanded.cs +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedExtension_UpgradeViaIdentityExpanded.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets [global::System.Management.Automation.OutputType(typeof(bool))] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"The operation to Upgrade Machine Extensions.")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/upgradeExtensions", ApiVersion = "2024-05-20-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/upgradeExtensions", ApiVersion = "2024-07-10")] public partial class UpdateAzConnectedExtension_UpgradeViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IContext diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedExtension_UpgradeViaJsonFilePath.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedExtension_UpgradeViaJsonFilePath.cs index 42d0c36b0554..74511eac6565 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedExtension_UpgradeViaJsonFilePath.cs +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedExtension_UpgradeViaJsonFilePath.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets [global::System.Management.Automation.OutputType(typeof(bool))] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"The operation to Upgrade Machine Extensions.")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/upgradeExtensions", ApiVersion = "2024-05-20-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/upgradeExtensions", ApiVersion = "2024-07-10")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.NotSuggestDefaultParameterSet] public partial class UpdateAzConnectedExtension_UpgradeViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedExtension_UpgradeViaJsonString.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedExtension_UpgradeViaJsonString.cs index 0ad055f7bf20..52fc49f26390 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedExtension_UpgradeViaJsonString.cs +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedExtension_UpgradeViaJsonString.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets [global::System.Management.Automation.OutputType(typeof(bool))] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"The operation to Upgrade Machine Extensions.")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/upgradeExtensions", ApiVersion = "2024-05-20-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/upgradeExtensions", ApiVersion = "2024-07-10")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.NotSuggestDefaultParameterSet] public partial class UpdateAzConnectedExtension_UpgradeViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedMachineExtension_Update.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedMachineExtension_Update.cs index 61837cf57df3..147d98500b56 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedMachineExtension_Update.cs +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedMachineExtension_Update.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtension))] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"The operation to update the extension.")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}", ApiVersion = "2024-05-20-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}", ApiVersion = "2024-07-10")] public partial class UpdateAzConnectedMachineExtension_Update : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IContext diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedMachineExtension_UpdateExpanded.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedMachineExtension_UpdateExpanded.cs index 6c112e8cbfc0..f45b866a85be 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedMachineExtension_UpdateExpanded.cs +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedMachineExtension_UpdateExpanded.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtension))] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"The operation to update the extension.")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}", ApiVersion = "2024-05-20-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}", ApiVersion = "2024-07-10")] public partial class UpdateAzConnectedMachineExtension_UpdateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IContext diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedMachineExtension_UpdateViaIdentity.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedMachineExtension_UpdateViaIdentity.cs index e83c6f453add..2d7b24f36cb0 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedMachineExtension_UpdateViaIdentity.cs +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedMachineExtension_UpdateViaIdentity.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtension))] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"The operation to update the extension.")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}", ApiVersion = "2024-05-20-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}", ApiVersion = "2024-07-10")] public partial class UpdateAzConnectedMachineExtension_UpdateViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IContext diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedMachineExtension_UpdateViaIdentityExpanded.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedMachineExtension_UpdateViaIdentityExpanded.cs index 9b85820bd466..932dea8f5e62 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedMachineExtension_UpdateViaIdentityExpanded.cs +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedMachineExtension_UpdateViaIdentityExpanded.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtension))] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"The operation to update the extension.")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}", ApiVersion = "2024-05-20-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}", ApiVersion = "2024-07-10")] public partial class UpdateAzConnectedMachineExtension_UpdateViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IContext diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedMachineExtension_UpdateViaIdentityMachine.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedMachineExtension_UpdateViaIdentityMachine.cs index 67b274d050d3..f20c7e7c5560 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedMachineExtension_UpdateViaIdentityMachine.cs +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedMachineExtension_UpdateViaIdentityMachine.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtension))] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"The operation to update the extension.")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}", ApiVersion = "2024-05-20-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}", ApiVersion = "2024-07-10")] public partial class UpdateAzConnectedMachineExtension_UpdateViaIdentityMachine : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IContext diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedMachineExtension_UpdateViaIdentityMachineExpanded.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedMachineExtension_UpdateViaIdentityMachineExpanded.cs index 441f3c9d9985..cd0d5f05c589 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedMachineExtension_UpdateViaIdentityMachineExpanded.cs +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedMachineExtension_UpdateViaIdentityMachineExpanded.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtension))] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"The operation to update the extension.")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}", ApiVersion = "2024-05-20-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}", ApiVersion = "2024-07-10")] public partial class UpdateAzConnectedMachineExtension_UpdateViaIdentityMachineExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IContext diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedMachineExtension_UpdateViaJsonFilePath.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedMachineExtension_UpdateViaJsonFilePath.cs index e049e89570aa..46a3f94c38bf 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedMachineExtension_UpdateViaJsonFilePath.cs +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedMachineExtension_UpdateViaJsonFilePath.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtension))] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"The operation to update the extension.")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}", ApiVersion = "2024-05-20-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}", ApiVersion = "2024-07-10")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.NotSuggestDefaultParameterSet] public partial class UpdateAzConnectedMachineExtension_UpdateViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedMachineExtension_UpdateViaJsonString.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedMachineExtension_UpdateViaJsonString.cs index 07ef5651fc6e..692f18831163 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedMachineExtension_UpdateViaJsonString.cs +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedMachineExtension_UpdateViaJsonString.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtension))] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"The operation to update the extension.")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}", ApiVersion = "2024-05-20-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}", ApiVersion = "2024-07-10")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.NotSuggestDefaultParameterSet] public partial class UpdateAzConnectedMachineExtension_UpdateViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedMachineRunCommand_Update.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedMachineRunCommand_Update.cs deleted file mode 100644 index fee1e98b04b2..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedMachineRunCommand_Update.cs +++ /dev/null @@ -1,633 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets -{ - using static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Extensions; - using Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell; - using Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Cmdlets; - using System; - - /// The operation to update a run command. - /// - /// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/runCommands/{runCommandName}" - /// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/runCommands/{runCommandName}" - /// - [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzConnectedMachineRunCommand_Update", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand))] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"The operation to update a run command.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - public partial class UpdateAzConnectedMachineRunCommand_Update : global::System.Management.Automation.PSCmdlet, - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IContext - { - /// A unique id generatd for the this cmdlet when it is instantiated. - private string __correlationId = System.Guid.NewGuid().ToString(); - - /// A copy of the Invocation Info (necessary to allow asJob to clone this cmdlet) - private global::System.Management.Automation.InvocationInfo __invocationInfo; - - /// A unique id generatd for the this cmdlet when ProcessRecord() is called. - private string __processRecordId; - - /// - /// The for this operation. - /// - private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); - - /// A dictionary to carry over additional data for pipeline. - private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - - /// A buffer to record first returned object in response. - private object _firstResponse = null; - - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - - /// when specified, runs this cmdlet as a PowerShell job - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public global::System.Management.Automation.SwitchParameter AsJob { get; set; } - - /// Wait for .NET debugger to attach - [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public global::System.Management.Automation.SwitchParameter Break { get; set; } - - /// Accessor for cancellationTokenSource. - public global::System.Threading.CancellationTokenSource CancellationTokenSource { get => _cancellationTokenSource ; set { _cancellationTokenSource = value; } } - - /// The reference to the client API class. - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ConnectedMachine Client => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.ClientAPI; - - /// - /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet - /// against a different subscription - /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] - [global::System.Management.Automation.ValidateNotNull] - [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Azure)] - public global::System.Management.Automation.PSObject DefaultProfile { get; set; } - - /// Accessor for extensibleParameters. - public global::System.Collections.Generic.IDictionary ExtensibleParameters { get => _extensibleParameters ; } - - /// SendAsync Pipeline Steps to be appended to the front of the pipeline - [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] - [global::System.Management.Automation.ValidateNotNull] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SendAsyncStep[] HttpPipelineAppend { get; set; } - - /// SendAsync Pipeline Steps to be prepended to the front of the pipeline - [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be prepended to the front of the pipeline")] - [global::System.Management.Automation.ValidateNotNull] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SendAsyncStep[] HttpPipelinePrepend { get; set; } - - /// Accessor for our copy of the InvocationInfo. - public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } - - /// Backing field for property. - private string _machineName; - - /// The name of the hybrid machine. - [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the hybrid machine.")] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = true, - ReadOnly = false, - Description = @"The name of the hybrid machine.", - SerializedName = @"machineName", - PossibleTypes = new [] { typeof(string) })] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Path)] - public string MachineName { get => this._machineName; set => this._machineName = value; } - - /// - /// cancellation delegate. Stops the cmdlet when called. - /// - global::System.Action Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - - /// cancellation token. - global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener.Token => _cancellationTokenSource.Token; - - /// - /// when specified, will make the remote call, and return an AsyncOperationResponse, letting the remote operation continue - /// asynchronously. - /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command asynchronously")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public global::System.Management.Automation.SwitchParameter NoWait { get; set; } - - /// - /// The instance of the that the remote call will use. - /// - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.HttpPipeline Pipeline { get; set; } - - /// The URI for the proxy server to use - [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "The URI for the proxy server to use")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public global::System.Uri Proxy { get; set; } - - /// Credentials for a proxy server to use for the remote call - [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Credentials for a proxy server to use for the remote call")] - [global::System.Management.Automation.ValidateNotNull] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public global::System.Management.Automation.PSCredential ProxyCredential { get; set; } - - /// Use the default credentials for the proxy - [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Use the default credentials for the proxy")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public global::System.Management.Automation.SwitchParameter ProxyUseDefaultCredentials { get; set; } - - /// Backing field for property. - private string _resourceGroupName; - - /// The name of the resource group. The name is case insensitive. - [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the resource group. The name is case insensitive.")] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = true, - ReadOnly = false, - Description = @"The name of the resource group. The name is case insensitive.", - SerializedName = @"resourceGroupName", - PossibleTypes = new [] { typeof(string) })] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.CompleterInfo( - Name = @"ResourceGroupName Completer", - Description =@"Gets the list of ResourceGroupName's available for this subscription.", - Script = @"Get-AzResourceGroup | Select-Object -ExpandProperty ResourceGroupName")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Path)] - public string ResourceGroupName { get => this._resourceGroupName; set => this._resourceGroupName = value; } - - /// Backing field for property. - private string _runCommandName; - - /// The name of the run command. - [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the run command.")] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = true, - ReadOnly = false, - Description = @"The name of the run command.", - SerializedName = @"runCommandName", - PossibleTypes = new [] { typeof(string) })] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Path)] - public string RunCommandName { get => this._runCommandName; set => this._runCommandName = value; } - - /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand _runCommandProperty; - - /// Describes a Run Command - [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Describes a Run Command", ValueFromPipeline = true)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = true, - ReadOnly = false, - Description = @"Describes a Run Command", - SerializedName = @"runCommandProperties", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand) })] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand RunCommandProperty { get => this._runCommandProperty; set => this._runCommandProperty = value; } - - /// Backing field for property. - private string _subscriptionId; - - /// The ID of the target subscription. - [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The ID of the target subscription.")] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = true, - ReadOnly = false, - Description = @"The ID of the target subscription.", - SerializedName = @"subscriptionId", - PossibleTypes = new [] { typeof(string) })] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.DefaultInfo( - Name = @"", - Description =@"", - Script = @"(Get-AzContext).Subscription.Id", - SetCondition = @"")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Path)] - public string SubscriptionId { get => this._subscriptionId; set => this._subscriptionId = value; } - - /// - /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what - /// happens on that response. Implement this method in a partial class to enable this behavior - /// - /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorResponse - /// from the remote call - /// /// Determines if the rest of the onDefault method should be processed, or if the method should - /// return immediately (set to true to skip further processing ) - - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); - - /// - /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens - /// on that response. Implement this method in a partial class to enable this behavior - /// - /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand - /// from the remote call - /// /// Determines if the rest of the onOk method should be processed, or if the method should return - /// immediately (set to true to skip further processing ) - - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); - - /// - /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) - /// - protected override void BeginProcessing() - { - var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.GetTelemetryId.Invoke(); - if (telemetryId != "" && telemetryId != "internal") - { - __correlationId = telemetryId; - } - Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); - if (Break) - { - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.AttachDebugger.Break(); - } - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletBeginProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - } - - /// Creates a duplicate instance of this cmdlet (via JSON serialization). - /// a duplicate instance of UpdateAzConnectedMachineRunCommand_Update - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets.UpdateAzConnectedMachineRunCommand_Update Clone() - { - var clone = new UpdateAzConnectedMachineRunCommand_Update(); - clone.__correlationId = this.__correlationId; - clone.__processRecordId = this.__processRecordId; - clone.DefaultProfile = this.DefaultProfile; - clone.InvocationInformation = this.InvocationInformation; - clone.Proxy = this.Proxy; - clone.Pipeline = this.Pipeline; - clone.AsJob = this.AsJob; - clone.Break = this.Break; - clone.ProxyCredential = this.ProxyCredential; - clone.ProxyUseDefaultCredentials = this.ProxyUseDefaultCredentials; - clone.HttpPipelinePrepend = this.HttpPipelinePrepend; - clone.HttpPipelineAppend = this.HttpPipelineAppend; - clone.SubscriptionId = this.SubscriptionId; - clone.ResourceGroupName = this.ResourceGroupName; - clone.MachineName = this.MachineName; - clone.RunCommandName = this.RunCommandName; - clone.RunCommandProperty = this.RunCommandProperty; - return clone; - } - - /// Performs clean-up after the command execution - protected override void EndProcessing() - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } - var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); - if (telemetryInfo != null) - { - telemetryInfo.TryGetValue("ShowSecretsWarning", out var showSecretsWarning); - telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); - telemetryInfo.TryGetValue("InvocationName", out var invocationName); - if (showSecretsWarning == "true") - { - if (string.IsNullOrEmpty(sanitizedProperties)) - { - WriteWarning($"The output of cmdlet {invocationName} may compromise security by showing secrets. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); - } - else - { - WriteWarning($"The output of cmdlet {invocationName} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); - } - } - } - } - - /// Handles/Dispatches events during the call to the REST service. - /// The message id - /// The message cancellation token. When this call is cancelled, this should be true - /// Detailed message data for the message event. - /// - /// A that will be complete when handling of the message is completed. - /// - async global::System.Threading.Tasks.Task Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener.Signal(string id, global::System.Threading.CancellationToken token, global::System.Func messageData) - { - using( NoSynchronizationContext ) - { - if (token.IsCancellationRequested) - { - return ; - } - - switch ( id ) - { - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Verbose: - { - WriteVerbose($"{(messageData().Message ?? global::System.String.Empty)}"); - return ; - } - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Warning: - { - WriteWarning($"{(messageData().Message ?? global::System.String.Empty)}"); - return ; - } - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Information: - { - // When an operation supports asjob, Information messages must go thru verbose. - WriteVerbose($"INFORMATION: {(messageData().Message ?? global::System.String.Empty)}"); - return ; - } - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Debug: - { - WriteDebug($"{(messageData().Message ?? global::System.String.Empty)}"); - return ; - } - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Error: - { - WriteError(new global::System.Management.Automation.ErrorRecord( new global::System.Exception(messageData().Message), string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null ) ); - return ; - } - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress: - { - var data = messageData(); - int progress = (int)data.Value; - string activityMessage, statusDescription; - global::System.Management.Automation.ProgressRecordType recordType; - if (progress < 100) - { - activityMessage = "In progress"; - statusDescription = "Checking operation status"; - recordType = System.Management.Automation.ProgressRecordType.Processing; - } - else - { - activityMessage = "Completed"; - statusDescription = "Completed"; - recordType = System.Management.Automation.ProgressRecordType.Completed; - } - WriteProgress(new global::System.Management.Automation.ProgressRecord(1, activityMessage, statusDescription) - { - PercentComplete = progress, - RecordType = recordType - }); - return ; - } - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.DelayBeforePolling: - { - var data = messageData(); - if (true == MyInvocation?.BoundParameters?.ContainsKey("NoWait")) - { - if (data.ResponseMessage is System.Net.Http.HttpResponseMessage response) - { - var asyncOperation = response.GetFirstHeader(@"Azure-AsyncOperation"); - var location = response.GetFirstHeader(@"Location"); - var uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? response.RequestMessage.RequestUri.AbsoluteUri : location : asyncOperation; - WriteObject(new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell.AsyncOperationResponse { Target = uri }); - // do nothing more. - data.Cancel(); - return; - } - } - else - { - if (data.ResponseMessage is System.Net.Http.HttpResponseMessage response) - { - int delay = (int)(response.Headers.RetryAfter?.Delta?.TotalSeconds ?? 30); - WriteDebug($"Delaying {delay} seconds before polling."); - for (var now = 0; now < delay; ++now) - { - WriteProgress(new global::System.Management.Automation.ProgressRecord(1, "In progress", "Checking operation status") - { - PercentComplete = now * 100 / delay - }); - await global::System.Threading.Tasks.Task.Delay(1000, token); - } - } - } - break; - } - } - await Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.Signal(id, token, messageData, (i, t, m) => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(i, t, () => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.EventDataConverter.ConvertFrom(m()) as Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.EventData), InvocationInformation, this.ParameterSetName, __correlationId, __processRecordId, null ); - if (token.IsCancellationRequested) - { - return ; - } - WriteDebug($"{id}: {(messageData().Message ?? global::System.String.Empty)}"); - } - } - - /// Performs execution of the command. - protected override void ProcessRecord() - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletProcessRecordStart).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - __processRecordId = System.Guid.NewGuid().ToString(); - try - { - // work - if (ShouldProcess($"Call remote 'MachineRunCommandsCreateOrUpdate' operation")) - { - if (true == MyInvocation?.BoundParameters?.ContainsKey("AsJob")) - { - var instance = this.Clone(); - var job = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell.AsyncJob(instance, this.MyInvocation.Line, this.MyInvocation.MyCommand.Name, this._cancellationTokenSource.Token, this._cancellationTokenSource.Cancel); - JobRepository.Add(job); - var task = instance.ProcessRecordAsync(); - job.Monitor(task); - WriteObject(job); - } - else - { - using( var asyncCommandRuntime = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell.AsyncCommandRuntime(this, ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token) ) - { - asyncCommandRuntime.Wait( ProcessRecordAsync(),((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token); - } - } - } - } - catch (global::System.AggregateException aggregateException) - { - // unroll the inner exceptions to get the root cause - foreach( var innerException in aggregateException.Flatten().InnerExceptions ) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletException, $"{innerException.GetType().Name} - {innerException.Message} : {innerException.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - // Write exception out to error channel. - WriteError( new global::System.Management.Automation.ErrorRecord(innerException,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); - } - } - catch (global::System.Exception exception) when ((exception as System.Management.Automation.PipelineStoppedException)== null || (exception as System.Management.Automation.PipelineStoppedException).InnerException != null) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletException, $"{exception.GetType().Name} - {exception.Message} : {exception.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - // Write exception out to error channel. - WriteError( new global::System.Management.Automation.ErrorRecord(exception,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); - } - finally - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletProcessRecordEnd).Wait(); - } - } - - /// Performs execution of the command, working asynchronously if required. - /// - /// A that will be complete when handling of the method is completed. - /// - protected async global::System.Threading.Tasks.Task ProcessRecordAsync() - { - using( NoSynchronizationContext ) - { - await ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - Pipeline = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName, this.ExtensibleParameters); - if (null != HttpPipelinePrepend) - { - Pipeline.Prepend((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelinePrepend) ?? HttpPipelinePrepend); - } - if (null != HttpPipelineAppend) - { - Pipeline.Append((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelineAppend) ?? HttpPipelineAppend); - } - // get the client instance - try - { - await ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - RunCommandProperty = await this.Client.MachineRunCommandsGetWithResult(SubscriptionId, ResourceGroupName, MachineName, RunCommandName, this, Pipeline); - this.UpdateRunCommandProperty(); - await this.Client.MachineRunCommandsCreateOrUpdate(SubscriptionId, ResourceGroupName, MachineName, RunCommandName, RunCommandProperty, onOk, onDefault, this, Pipeline, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate); - await ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - } - catch (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.UndeclaredResponseException urexception) - { - WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId,ResourceGroupName=ResourceGroupName,MachineName=MachineName,RunCommandName=RunCommandName}) - { - ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } - }); - } - finally - { - await ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletProcessRecordAsyncEnd); - } - } - } - - /// Interrupts currently running code within the command. - protected override void StopProcessing() - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Cancel(); - base.StopProcessing(); - } - - /// - /// Initializes a new instance of the cmdlet class. - /// - public UpdateAzConnectedMachineRunCommand_Update() - { - - } - - private void UpdateRunCommandProperty() - { - if ((bool)(true == this.MyInvocation?.BoundParameters.ContainsKey("RunCommandProperty"))) - { - this.RunCommandProperty = (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand)(this.MyInvocation?.BoundParameters["RunCommandProperty"]); - } - } - - /// - new protected void WriteObject(object sendToPipeline) - { - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); - base.WriteObject(sendToPipeline); - } - - /// - /// - new protected void WriteObject(object sendToPipeline, bool enumerateCollection) - { - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); - base.WriteObject(sendToPipeline, enumerateCollection); - } - - /// - /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). - /// - /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorResponse - /// from the remote call - /// - /// A that will be complete when handling of the method is completed. - /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) - { - using( NoSynchronizationContext ) - { - var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); - overrideOnDefault(responseMessage, response, ref _returnNow); - // if overrideOnDefault has returned true, then return right away. - if ((null != _returnNow && await _returnNow)) - { - return ; - } - // Error Response : default - var code = (await response)?.Code; - var message = (await response)?.Message; - if ((null == code || null == message)) - { - // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.RestException(responseMessage, await response); - WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) - { - ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } - }); - } - else - { - WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) - { - ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } - }); - } - } - } - - /// a delegate that is called when the remote service returns 200 (OK). - /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand - /// from the remote call - /// - /// A that will be complete when handling of the method is completed. - /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) - { - using( NoSynchronizationContext ) - { - var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); - overrideOnOk(responseMessage, response, ref _returnNow); - // if overrideOnOk has returned true, then return right away. - if ((null != _returnNow && await _returnNow)) - { - return ; - } - // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand - var result = (await response); - if (null != result) - { - if (0 == _responseSize) - { - _firstResponse = result; - _responseSize = 1; - } - else - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); - } - WriteObject(result.AddMultipleTypeNameIntoPSObject()); - _responseSize = 2; - } - } - } - } - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedMachineRunCommand_UpdateExpanded.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedMachineRunCommand_UpdateExpanded.cs deleted file mode 100644 index 98b7580e7d35..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedMachineRunCommand_UpdateExpanded.cs +++ /dev/null @@ -1,915 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets -{ - using static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Extensions; - using Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell; - using Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Cmdlets; - using System; - - /// The operation to update a run command. - /// - /// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/runCommands/{runCommandName}" - /// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/runCommands/{runCommandName}" - /// - [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzConnectedMachineRunCommand_UpdateExpanded", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand))] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"The operation to update a run command.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - public partial class UpdateAzConnectedMachineRunCommand_UpdateExpanded : global::System.Management.Automation.PSCmdlet, - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IContext - { - /// A unique id generatd for the this cmdlet when it is instantiated. - private string __correlationId = System.Guid.NewGuid().ToString(); - - /// A copy of the Invocation Info (necessary to allow asJob to clone this cmdlet) - private global::System.Management.Automation.InvocationInfo __invocationInfo; - - /// A unique id generatd for the this cmdlet when ProcessRecord() is called. - private string __processRecordId; - - /// - /// The for this operation. - /// - private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); - - /// A dictionary to carry over additional data for pipeline. - private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - - /// A buffer to record first returned object in response. - private object _firstResponse = null; - - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - - /// Describes a Run Command - private Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand _runCommandPropertiesBody = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.MachineRunCommand(); - - /// when specified, runs this cmdlet as a PowerShell job - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public global::System.Management.Automation.SwitchParameter AsJob { get; set; } - - /// - /// Optional. If set to true, provisioning will complete as soon as script starts and will not wait for script to complete. - /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Optional. If set to true, provisioning will complete as soon as script starts and will not wait for script to complete.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Optional. If set to true, provisioning will complete as soon as script starts and will not wait for script to complete.", - SerializedName = @"asyncExecution", - PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter AsyncExecution { get => _runCommandPropertiesBody.AsyncExecution ?? default(global::System.Management.Automation.SwitchParameter); set => _runCommandPropertiesBody.AsyncExecution = value; } - - /// Wait for .NET debugger to attach - [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public global::System.Management.Automation.SwitchParameter Break { get; set; } - - /// Accessor for cancellationTokenSource. - public global::System.Threading.CancellationTokenSource CancellationTokenSource { get => _cancellationTokenSource ; set { _cancellationTokenSource = value; } } - - /// The reference to the client API class. - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ConnectedMachine Client => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.ClientAPI; - - /// - /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet - /// against a different subscription - /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] - [global::System.Management.Automation.ValidateNotNull] - [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Azure)] - public global::System.Management.Automation.PSObject DefaultProfile { get; set; } - - /// - /// Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided. - /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided.", - SerializedName = @"clientId", - PossibleTypes = new [] { typeof(string) })] - public string ErrorBlobManagedIdentityClientId { get => _runCommandPropertiesBody.ErrorBlobManagedIdentityClientId ?? null; set => _runCommandPropertiesBody.ErrorBlobManagedIdentityClientId = value; } - - /// - /// Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided. - /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided.", - SerializedName = @"objectId", - PossibleTypes = new [] { typeof(string) })] - public string ErrorBlobManagedIdentityObjectId { get => _runCommandPropertiesBody.ErrorBlobManagedIdentityObjectId ?? null; set => _runCommandPropertiesBody.ErrorBlobManagedIdentityObjectId = value; } - - /// - /// Specifies the Azure storage blob where script error stream will be uploaded. Use a SAS URI with read, append, create, - /// write access OR use managed identity to provide the VM access to the blob. Refer errorBlobManagedIdentity parameter. - /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Specifies the Azure storage blob where script error stream will be uploaded. Use a SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob. Refer errorBlobManagedIdentity parameter.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Specifies the Azure storage blob where script error stream will be uploaded. Use a SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob. Refer errorBlobManagedIdentity parameter.", - SerializedName = @"errorBlobUri", - PossibleTypes = new [] { typeof(string) })] - public string ErrorBlobUri { get => _runCommandPropertiesBody.ErrorBlobUri ?? null; set => _runCommandPropertiesBody.ErrorBlobUri = value; } - - /// Accessor for extensibleParameters. - public global::System.Collections.Generic.IDictionary ExtensibleParameters { get => _extensibleParameters ; } - - /// SendAsync Pipeline Steps to be appended to the front of the pipeline - [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] - [global::System.Management.Automation.ValidateNotNull] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SendAsyncStep[] HttpPipelineAppend { get; set; } - - /// SendAsync Pipeline Steps to be prepended to the front of the pipeline - [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be prepended to the front of the pipeline")] - [global::System.Management.Automation.ValidateNotNull] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SendAsyncStep[] HttpPipelinePrepend { get; set; } - - /// Accessor for our copy of the InvocationInfo. - public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } - - /// Backing field for property. - private string _machineName; - - /// The name of the hybrid machine. - [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the hybrid machine.")] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = true, - ReadOnly = false, - Description = @"The name of the hybrid machine.", - SerializedName = @"machineName", - PossibleTypes = new [] { typeof(string) })] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Path)] - public string MachineName { get => this._machineName; set => this._machineName = value; } - - /// - /// cancellation delegate. Stops the cmdlet when called. - /// - global::System.Action Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - - /// cancellation token. - global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener.Token => _cancellationTokenSource.Token; - - /// - /// when specified, will make the remote call, and return an AsyncOperationResponse, letting the remote operation continue - /// asynchronously. - /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command asynchronously")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public global::System.Management.Automation.SwitchParameter NoWait { get; set; } - - /// - /// Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided. - /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided.", - SerializedName = @"clientId", - PossibleTypes = new [] { typeof(string) })] - public string OutputBlobManagedIdentityClientId { get => _runCommandPropertiesBody.OutputBlobManagedIdentityClientId ?? null; set => _runCommandPropertiesBody.OutputBlobManagedIdentityClientId = value; } - - /// - /// Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided. - /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided.", - SerializedName = @"objectId", - PossibleTypes = new [] { typeof(string) })] - public string OutputBlobManagedIdentityObjectId { get => _runCommandPropertiesBody.OutputBlobManagedIdentityObjectId ?? null; set => _runCommandPropertiesBody.OutputBlobManagedIdentityObjectId = value; } - - /// - /// Specifies the Azure storage blob where script output stream will be uploaded. Use a SAS URI with read, append, create, - /// write access OR use managed identity to provide the VM access to the blob. Refer outputBlobManagedIdentity parameter. - /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Specifies the Azure storage blob where script output stream will be uploaded. Use a SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob. Refer outputBlobManagedIdentity parameter. ")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Specifies the Azure storage blob where script output stream will be uploaded. Use a SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob. Refer outputBlobManagedIdentity parameter. ", - SerializedName = @"outputBlobUri", - PossibleTypes = new [] { typeof(string) })] - public string OutputBlobUri { get => _runCommandPropertiesBody.OutputBlobUri ?? null; set => _runCommandPropertiesBody.OutputBlobUri = value; } - - /// The parameters used by the script. - [global::System.Management.Automation.AllowEmptyCollection] - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The parameters used by the script.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"The parameters used by the script.", - SerializedName = @"parameters", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandInputParameter) })] - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandInputParameter[] Parameter { get => _runCommandPropertiesBody.Parameter?.ToArray() ?? null /* fixedArrayOf */; set => _runCommandPropertiesBody.Parameter = (value != null ? new System.Collections.Generic.List(value) : null); } - - /// - /// The instance of the that the remote call will use. - /// - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.HttpPipeline Pipeline { get; set; } - - /// The parameters used by the script. - [global::System.Management.Automation.AllowEmptyCollection] - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The parameters used by the script.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"The parameters used by the script.", - SerializedName = @"protectedParameters", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandInputParameter) })] - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandInputParameter[] ProtectedParameter { get => _runCommandPropertiesBody.ProtectedParameter?.ToArray() ?? null /* fixedArrayOf */; set => _runCommandPropertiesBody.ProtectedParameter = (value != null ? new System.Collections.Generic.List(value) : null); } - - /// The URI for the proxy server to use - [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "The URI for the proxy server to use")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public global::System.Uri Proxy { get; set; } - - /// Credentials for a proxy server to use for the remote call - [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Credentials for a proxy server to use for the remote call")] - [global::System.Management.Automation.ValidateNotNull] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public global::System.Management.Automation.PSCredential ProxyCredential { get; set; } - - /// Use the default credentials for the proxy - [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Use the default credentials for the proxy")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public global::System.Management.Automation.SwitchParameter ProxyUseDefaultCredentials { get; set; } - - /// Backing field for property. - private string _resourceGroupName; - - /// The name of the resource group. The name is case insensitive. - [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the resource group. The name is case insensitive.")] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = true, - ReadOnly = false, - Description = @"The name of the resource group. The name is case insensitive.", - SerializedName = @"resourceGroupName", - PossibleTypes = new [] { typeof(string) })] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.CompleterInfo( - Name = @"ResourceGroupName Completer", - Description =@"Gets the list of ResourceGroupName's available for this subscription.", - Script = @"Get-AzResourceGroup | Select-Object -ExpandProperty ResourceGroupName")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Path)] - public string ResourceGroupName { get => this._resourceGroupName; set => this._resourceGroupName = value; } - - /// - /// Specifies the user account password on the machine when executing the run command. - /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Specifies the user account password on the machine when executing the run command.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Specifies the user account password on the machine when executing the run command.", - SerializedName = @"runAsPassword", - PossibleTypes = new [] { typeof(string) })] - public string RunAsPassword { get => _runCommandPropertiesBody.RunAsPassword ?? null; set => _runCommandPropertiesBody.RunAsPassword = value; } - - /// Specifies the user account on the machine when executing the run command. - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Specifies the user account on the machine when executing the run command.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Specifies the user account on the machine when executing the run command.", - SerializedName = @"runAsUser", - PossibleTypes = new [] { typeof(string) })] - public string RunAsUser { get => _runCommandPropertiesBody.RunAsUser ?? null; set => _runCommandPropertiesBody.RunAsUser = value; } - - /// Backing field for property. - private string _runCommandName; - - /// The name of the run command. - [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the run command.")] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = true, - ReadOnly = false, - Description = @"The name of the run command.", - SerializedName = @"runCommandName", - PossibleTypes = new [] { typeof(string) })] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Path)] - public string RunCommandName { get => this._runCommandName; set => this._runCommandName = value; } - - /// - /// Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided. - /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided.", - SerializedName = @"clientId", - PossibleTypes = new [] { typeof(string) })] - public string ScriptUriManagedIdentityClientId { get => _runCommandPropertiesBody.ScriptUriManagedIdentityClientId ?? null; set => _runCommandPropertiesBody.ScriptUriManagedIdentityClientId = value; } - - /// - /// Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided. - /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided.", - SerializedName = @"objectId", - PossibleTypes = new [] { typeof(string) })] - public string ScriptUriManagedIdentityObjectId { get => _runCommandPropertiesBody.ScriptUriManagedIdentityObjectId ?? null; set => _runCommandPropertiesBody.ScriptUriManagedIdentityObjectId = value; } - - /// Specifies the commandId of predefined built-in script. - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Specifies the commandId of predefined built-in script.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Specifies the commandId of predefined built-in script.", - SerializedName = @"commandId", - PossibleTypes = new [] { typeof(string) })] - public string SourceCommandId { get => _runCommandPropertiesBody.SourceCommandId ?? null; set => _runCommandPropertiesBody.SourceCommandId = value; } - - /// Specifies the script content to be executed on the machine. - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Specifies the script content to be executed on the machine.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Specifies the script content to be executed on the machine.", - SerializedName = @"script", - PossibleTypes = new [] { typeof(string) })] - public string SourceScript { get => _runCommandPropertiesBody.SourceScript ?? null; set => _runCommandPropertiesBody.SourceScript = value; } - - /// - /// Specifies the script download location. It can be either SAS URI of an Azure storage blob with read access or public URI. - /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Specifies the script download location. It can be either SAS URI of an Azure storage blob with read access or public URI.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Specifies the script download location. It can be either SAS URI of an Azure storage blob with read access or public URI.", - SerializedName = @"scriptUri", - PossibleTypes = new [] { typeof(string) })] - public string SourceScriptUri { get => _runCommandPropertiesBody.SourceScriptUri ?? null; set => _runCommandPropertiesBody.SourceScriptUri = value; } - - /// Backing field for property. - private string _subscriptionId; - - /// The ID of the target subscription. - [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The ID of the target subscription.")] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = true, - ReadOnly = false, - Description = @"The ID of the target subscription.", - SerializedName = @"subscriptionId", - PossibleTypes = new [] { typeof(string) })] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.DefaultInfo( - Name = @"", - Description =@"", - Script = @"(Get-AzContext).Subscription.Id", - SetCondition = @"")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Path)] - public string SubscriptionId { get => this._subscriptionId; set => this._subscriptionId = value; } - - /// Resource tags. - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ExportAs(typeof(global::System.Collections.Hashtable))] - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Resource tags.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Resource tags.", - SerializedName = @"tags", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceTags) })] - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceTags Tag { get => _runCommandPropertiesBody.Tags ?? null /* object */; set => _runCommandPropertiesBody.Tags = value; } - - /// The timeout in seconds to execute the run command. - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The timeout in seconds to execute the run command.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"The timeout in seconds to execute the run command.", - SerializedName = @"timeoutInSeconds", - PossibleTypes = new [] { typeof(int) })] - public int TimeoutInSecond { get => _runCommandPropertiesBody.TimeoutInSecond ?? default(int); set => _runCommandPropertiesBody.TimeoutInSecond = value; } - - /// - /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what - /// happens on that response. Implement this method in a partial class to enable this behavior - /// - /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorResponse - /// from the remote call - /// /// Determines if the rest of the onDefault method should be processed, or if the method should - /// return immediately (set to true to skip further processing ) - - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); - - /// - /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens - /// on that response. Implement this method in a partial class to enable this behavior - /// - /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand - /// from the remote call - /// /// Determines if the rest of the onOk method should be processed, or if the method should return - /// immediately (set to true to skip further processing ) - - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); - - /// - /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) - /// - protected override void BeginProcessing() - { - var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.GetTelemetryId.Invoke(); - if (telemetryId != "" && telemetryId != "internal") - { - __correlationId = telemetryId; - } - Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); - if (Break) - { - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.AttachDebugger.Break(); - } - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletBeginProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - } - - /// Creates a duplicate instance of this cmdlet (via JSON serialization). - /// a duplicate instance of UpdateAzConnectedMachineRunCommand_UpdateExpanded - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets.UpdateAzConnectedMachineRunCommand_UpdateExpanded Clone() - { - var clone = new UpdateAzConnectedMachineRunCommand_UpdateExpanded(); - clone.__correlationId = this.__correlationId; - clone.__processRecordId = this.__processRecordId; - clone.DefaultProfile = this.DefaultProfile; - clone.InvocationInformation = this.InvocationInformation; - clone.Proxy = this.Proxy; - clone.Pipeline = this.Pipeline; - clone.AsJob = this.AsJob; - clone.Break = this.Break; - clone.ProxyCredential = this.ProxyCredential; - clone.ProxyUseDefaultCredentials = this.ProxyUseDefaultCredentials; - clone.HttpPipelinePrepend = this.HttpPipelinePrepend; - clone.HttpPipelineAppend = this.HttpPipelineAppend; - clone._runCommandPropertiesBody = this._runCommandPropertiesBody; - clone.SubscriptionId = this.SubscriptionId; - clone.ResourceGroupName = this.ResourceGroupName; - clone.MachineName = this.MachineName; - clone.RunCommandName = this.RunCommandName; - return clone; - } - - /// Performs clean-up after the command execution - protected override void EndProcessing() - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } - var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); - if (telemetryInfo != null) - { - telemetryInfo.TryGetValue("ShowSecretsWarning", out var showSecretsWarning); - telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); - telemetryInfo.TryGetValue("InvocationName", out var invocationName); - if (showSecretsWarning == "true") - { - if (string.IsNullOrEmpty(sanitizedProperties)) - { - WriteWarning($"The output of cmdlet {invocationName} may compromise security by showing secrets. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); - } - else - { - WriteWarning($"The output of cmdlet {invocationName} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); - } - } - } - } - - /// Handles/Dispatches events during the call to the REST service. - /// The message id - /// The message cancellation token. When this call is cancelled, this should be true - /// Detailed message data for the message event. - /// - /// A that will be complete when handling of the message is completed. - /// - async global::System.Threading.Tasks.Task Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener.Signal(string id, global::System.Threading.CancellationToken token, global::System.Func messageData) - { - using( NoSynchronizationContext ) - { - if (token.IsCancellationRequested) - { - return ; - } - - switch ( id ) - { - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Verbose: - { - WriteVerbose($"{(messageData().Message ?? global::System.String.Empty)}"); - return ; - } - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Warning: - { - WriteWarning($"{(messageData().Message ?? global::System.String.Empty)}"); - return ; - } - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Information: - { - // When an operation supports asjob, Information messages must go thru verbose. - WriteVerbose($"INFORMATION: {(messageData().Message ?? global::System.String.Empty)}"); - return ; - } - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Debug: - { - WriteDebug($"{(messageData().Message ?? global::System.String.Empty)}"); - return ; - } - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Error: - { - WriteError(new global::System.Management.Automation.ErrorRecord( new global::System.Exception(messageData().Message), string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null ) ); - return ; - } - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress: - { - var data = messageData(); - int progress = (int)data.Value; - string activityMessage, statusDescription; - global::System.Management.Automation.ProgressRecordType recordType; - if (progress < 100) - { - activityMessage = "In progress"; - statusDescription = "Checking operation status"; - recordType = System.Management.Automation.ProgressRecordType.Processing; - } - else - { - activityMessage = "Completed"; - statusDescription = "Completed"; - recordType = System.Management.Automation.ProgressRecordType.Completed; - } - WriteProgress(new global::System.Management.Automation.ProgressRecord(1, activityMessage, statusDescription) - { - PercentComplete = progress, - RecordType = recordType - }); - return ; - } - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.DelayBeforePolling: - { - var data = messageData(); - if (true == MyInvocation?.BoundParameters?.ContainsKey("NoWait")) - { - if (data.ResponseMessage is System.Net.Http.HttpResponseMessage response) - { - var asyncOperation = response.GetFirstHeader(@"Azure-AsyncOperation"); - var location = response.GetFirstHeader(@"Location"); - var uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? response.RequestMessage.RequestUri.AbsoluteUri : location : asyncOperation; - WriteObject(new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell.AsyncOperationResponse { Target = uri }); - // do nothing more. - data.Cancel(); - return; - } - } - else - { - if (data.ResponseMessage is System.Net.Http.HttpResponseMessage response) - { - int delay = (int)(response.Headers.RetryAfter?.Delta?.TotalSeconds ?? 30); - WriteDebug($"Delaying {delay} seconds before polling."); - for (var now = 0; now < delay; ++now) - { - WriteProgress(new global::System.Management.Automation.ProgressRecord(1, "In progress", "Checking operation status") - { - PercentComplete = now * 100 / delay - }); - await global::System.Threading.Tasks.Task.Delay(1000, token); - } - } - } - break; - } - } - await Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.Signal(id, token, messageData, (i, t, m) => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(i, t, () => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.EventDataConverter.ConvertFrom(m()) as Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.EventData), InvocationInformation, this.ParameterSetName, __correlationId, __processRecordId, null ); - if (token.IsCancellationRequested) - { - return ; - } - WriteDebug($"{id}: {(messageData().Message ?? global::System.String.Empty)}"); - } - } - - /// Performs execution of the command. - protected override void ProcessRecord() - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletProcessRecordStart).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - __processRecordId = System.Guid.NewGuid().ToString(); - try - { - // work - if (ShouldProcess($"Call remote 'MachineRunCommandsCreateOrUpdate' operation")) - { - if (true == MyInvocation?.BoundParameters?.ContainsKey("AsJob")) - { - var instance = this.Clone(); - var job = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell.AsyncJob(instance, this.MyInvocation.Line, this.MyInvocation.MyCommand.Name, this._cancellationTokenSource.Token, this._cancellationTokenSource.Cancel); - JobRepository.Add(job); - var task = instance.ProcessRecordAsync(); - job.Monitor(task); - WriteObject(job); - } - else - { - using( var asyncCommandRuntime = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell.AsyncCommandRuntime(this, ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token) ) - { - asyncCommandRuntime.Wait( ProcessRecordAsync(),((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token); - } - } - } - } - catch (global::System.AggregateException aggregateException) - { - // unroll the inner exceptions to get the root cause - foreach( var innerException in aggregateException.Flatten().InnerExceptions ) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletException, $"{innerException.GetType().Name} - {innerException.Message} : {innerException.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - // Write exception out to error channel. - WriteError( new global::System.Management.Automation.ErrorRecord(innerException,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); - } - } - catch (global::System.Exception exception) when ((exception as System.Management.Automation.PipelineStoppedException)== null || (exception as System.Management.Automation.PipelineStoppedException).InnerException != null) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletException, $"{exception.GetType().Name} - {exception.Message} : {exception.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - // Write exception out to error channel. - WriteError( new global::System.Management.Automation.ErrorRecord(exception,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); - } - finally - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletProcessRecordEnd).Wait(); - } - } - - /// Performs execution of the command, working asynchronously if required. - /// - /// A that will be complete when handling of the method is completed. - /// - protected async global::System.Threading.Tasks.Task ProcessRecordAsync() - { - using( NoSynchronizationContext ) - { - await ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - Pipeline = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName, this.ExtensibleParameters); - if (null != HttpPipelinePrepend) - { - Pipeline.Prepend((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelinePrepend) ?? HttpPipelinePrepend); - } - if (null != HttpPipelineAppend) - { - Pipeline.Append((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelineAppend) ?? HttpPipelineAppend); - } - // get the client instance - try - { - await ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - _runCommandPropertiesBody = await this.Client.MachineRunCommandsGetWithResult(SubscriptionId, ResourceGroupName, MachineName, RunCommandName, this, Pipeline); - this.Update_runCommandPropertiesBody(); - await this.Client.MachineRunCommandsCreateOrUpdate(SubscriptionId, ResourceGroupName, MachineName, RunCommandName, _runCommandPropertiesBody, onOk, onDefault, this, Pipeline, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate); - await ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - } - catch (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.UndeclaredResponseException urexception) - { - WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId,ResourceGroupName=ResourceGroupName,MachineName=MachineName,RunCommandName=RunCommandName}) - { - ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } - }); - } - finally - { - await ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletProcessRecordAsyncEnd); - } - } - } - - /// Interrupts currently running code within the command. - protected override void StopProcessing() - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Cancel(); - base.StopProcessing(); - } - - /// - /// Initializes a new instance of the cmdlet class. - /// - public UpdateAzConnectedMachineRunCommand_UpdateExpanded() - { - - } - - private void Update_runCommandPropertiesBody() - { - if ((bool)(true == this.MyInvocation?.BoundParameters.ContainsKey("Tag"))) - { - this.Tag = (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceTags)(this.MyInvocation?.BoundParameters["Tag"]); - } - if ((bool)(true == this.MyInvocation?.BoundParameters.ContainsKey("Parameter"))) - { - this.Parameter = (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandInputParameter[])(this.MyInvocation?.BoundParameters["Parameter"]); - } - if ((bool)(true == this.MyInvocation?.BoundParameters.ContainsKey("ProtectedParameter"))) - { - this.ProtectedParameter = (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandInputParameter[])(this.MyInvocation?.BoundParameters["ProtectedParameter"]); - } - if ((bool)(true == this.MyInvocation?.BoundParameters.ContainsKey("AsyncExecution"))) - { - this.AsyncExecution = (global::System.Management.Automation.SwitchParameter)(this.MyInvocation?.BoundParameters["AsyncExecution"]); - } - if ((bool)(true == this.MyInvocation?.BoundParameters.ContainsKey("RunAsUser"))) - { - this.RunAsUser = (string)(this.MyInvocation?.BoundParameters["RunAsUser"]); - } - if ((bool)(true == this.MyInvocation?.BoundParameters.ContainsKey("RunAsPassword"))) - { - this.RunAsPassword = (string)(this.MyInvocation?.BoundParameters["RunAsPassword"]); - } - if ((bool)(true == this.MyInvocation?.BoundParameters.ContainsKey("TimeoutInSecond"))) - { - this.TimeoutInSecond = (int)(this.MyInvocation?.BoundParameters["TimeoutInSecond"]); - } - if ((bool)(true == this.MyInvocation?.BoundParameters.ContainsKey("OutputBlobUri"))) - { - this.OutputBlobUri = (string)(this.MyInvocation?.BoundParameters["OutputBlobUri"]); - } - if ((bool)(true == this.MyInvocation?.BoundParameters.ContainsKey("ErrorBlobUri"))) - { - this.ErrorBlobUri = (string)(this.MyInvocation?.BoundParameters["ErrorBlobUri"]); - } - if ((bool)(true == this.MyInvocation?.BoundParameters.ContainsKey("SourceScript"))) - { - this.SourceScript = (string)(this.MyInvocation?.BoundParameters["SourceScript"]); - } - if ((bool)(true == this.MyInvocation?.BoundParameters.ContainsKey("SourceScriptUri"))) - { - this.SourceScriptUri = (string)(this.MyInvocation?.BoundParameters["SourceScriptUri"]); - } - if ((bool)(true == this.MyInvocation?.BoundParameters.ContainsKey("SourceCommandId"))) - { - this.SourceCommandId = (string)(this.MyInvocation?.BoundParameters["SourceCommandId"]); - } - if ((bool)(true == this.MyInvocation?.BoundParameters.ContainsKey("OutputBlobManagedIdentityClientId"))) - { - this.OutputBlobManagedIdentityClientId = (string)(this.MyInvocation?.BoundParameters["OutputBlobManagedIdentityClientId"]); - } - if ((bool)(true == this.MyInvocation?.BoundParameters.ContainsKey("OutputBlobManagedIdentityObjectId"))) - { - this.OutputBlobManagedIdentityObjectId = (string)(this.MyInvocation?.BoundParameters["OutputBlobManagedIdentityObjectId"]); - } - if ((bool)(true == this.MyInvocation?.BoundParameters.ContainsKey("ErrorBlobManagedIdentityClientId"))) - { - this.ErrorBlobManagedIdentityClientId = (string)(this.MyInvocation?.BoundParameters["ErrorBlobManagedIdentityClientId"]); - } - if ((bool)(true == this.MyInvocation?.BoundParameters.ContainsKey("ErrorBlobManagedIdentityObjectId"))) - { - this.ErrorBlobManagedIdentityObjectId = (string)(this.MyInvocation?.BoundParameters["ErrorBlobManagedIdentityObjectId"]); - } - if ((bool)(true == this.MyInvocation?.BoundParameters.ContainsKey("ScriptUriManagedIdentityClientId"))) - { - this.ScriptUriManagedIdentityClientId = (string)(this.MyInvocation?.BoundParameters["ScriptUriManagedIdentityClientId"]); - } - if ((bool)(true == this.MyInvocation?.BoundParameters.ContainsKey("ScriptUriManagedIdentityObjectId"))) - { - this.ScriptUriManagedIdentityObjectId = (string)(this.MyInvocation?.BoundParameters["ScriptUriManagedIdentityObjectId"]); - } - } - - /// - new protected void WriteObject(object sendToPipeline) - { - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); - base.WriteObject(sendToPipeline); - } - - /// - /// - new protected void WriteObject(object sendToPipeline, bool enumerateCollection) - { - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); - base.WriteObject(sendToPipeline, enumerateCollection); - } - - /// - /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). - /// - /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorResponse - /// from the remote call - /// - /// A that will be complete when handling of the method is completed. - /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) - { - using( NoSynchronizationContext ) - { - var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); - overrideOnDefault(responseMessage, response, ref _returnNow); - // if overrideOnDefault has returned true, then return right away. - if ((null != _returnNow && await _returnNow)) - { - return ; - } - // Error Response : default - var code = (await response)?.Code; - var message = (await response)?.Message; - if ((null == code || null == message)) - { - // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.RestException(responseMessage, await response); - WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) - { - ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } - }); - } - else - { - WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) - { - ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } - }); - } - } - } - - /// a delegate that is called when the remote service returns 200 (OK). - /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand - /// from the remote call - /// - /// A that will be complete when handling of the method is completed. - /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) - { - using( NoSynchronizationContext ) - { - var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); - overrideOnOk(responseMessage, response, ref _returnNow); - // if overrideOnOk has returned true, then return right away. - if ((null != _returnNow && await _returnNow)) - { - return ; - } - // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand - var result = (await response); - if (null != result) - { - if (0 == _responseSize) - { - _firstResponse = result; - _responseSize = 1; - } - else - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); - } - WriteObject(result.AddMultipleTypeNameIntoPSObject()); - _responseSize = 2; - } - } - } - } - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedMachineRunCommand_UpdateViaIdentity.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedMachineRunCommand_UpdateViaIdentity.cs deleted file mode 100644 index 7a98c3722cff..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedMachineRunCommand_UpdateViaIdentity.cs +++ /dev/null @@ -1,598 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets -{ - using static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Extensions; - using Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell; - using Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Cmdlets; - using System; - - /// The operation to update a run command. - /// - /// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/runCommands/{runCommandName}" - /// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/runCommands/{runCommandName}" - /// - [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzConnectedMachineRunCommand_UpdateViaIdentity", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand))] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"The operation to update a run command.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - public partial class UpdateAzConnectedMachineRunCommand_UpdateViaIdentity : global::System.Management.Automation.PSCmdlet, - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IContext - { - /// A unique id generatd for the this cmdlet when it is instantiated. - private string __correlationId = System.Guid.NewGuid().ToString(); - - /// A copy of the Invocation Info (necessary to allow asJob to clone this cmdlet) - private global::System.Management.Automation.InvocationInfo __invocationInfo; - - /// A unique id generatd for the this cmdlet when ProcessRecord() is called. - private string __processRecordId; - - /// - /// The for this operation. - /// - private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); - - /// A dictionary to carry over additional data for pipeline. - private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - - /// A buffer to record first returned object in response. - private object _firstResponse = null; - - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - - /// when specified, runs this cmdlet as a PowerShell job - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public global::System.Management.Automation.SwitchParameter AsJob { get; set; } - - /// Wait for .NET debugger to attach - [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public global::System.Management.Automation.SwitchParameter Break { get; set; } - - /// Accessor for cancellationTokenSource. - public global::System.Threading.CancellationTokenSource CancellationTokenSource { get => _cancellationTokenSource ; set { _cancellationTokenSource = value; } } - - /// The reference to the client API class. - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ConnectedMachine Client => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.ClientAPI; - - /// - /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet - /// against a different subscription - /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] - [global::System.Management.Automation.ValidateNotNull] - [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Azure)] - public global::System.Management.Automation.PSObject DefaultProfile { get; set; } - - /// Accessor for extensibleParameters. - public global::System.Collections.Generic.IDictionary ExtensibleParameters { get => _extensibleParameters ; } - - /// SendAsync Pipeline Steps to be appended to the front of the pipeline - [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] - [global::System.Management.Automation.ValidateNotNull] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SendAsyncStep[] HttpPipelineAppend { get; set; } - - /// SendAsync Pipeline Steps to be prepended to the front of the pipeline - [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be prepended to the front of the pipeline")] - [global::System.Management.Automation.ValidateNotNull] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SendAsyncStep[] HttpPipelinePrepend { get; set; } - - /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentity _inputObject; - - /// Identity Parameter - [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Identity Parameter", ValueFromPipeline = true)] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Path)] - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentity InputObject { get => this._inputObject; set => this._inputObject = value; } - - /// Accessor for our copy of the InvocationInfo. - public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } - - /// - /// cancellation delegate. Stops the cmdlet when called. - /// - global::System.Action Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - - /// cancellation token. - global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener.Token => _cancellationTokenSource.Token; - - /// - /// when specified, will make the remote call, and return an AsyncOperationResponse, letting the remote operation continue - /// asynchronously. - /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command asynchronously")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public global::System.Management.Automation.SwitchParameter NoWait { get; set; } - - /// - /// The instance of the that the remote call will use. - /// - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.HttpPipeline Pipeline { get; set; } - - /// The URI for the proxy server to use - [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "The URI for the proxy server to use")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public global::System.Uri Proxy { get; set; } - - /// Credentials for a proxy server to use for the remote call - [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Credentials for a proxy server to use for the remote call")] - [global::System.Management.Automation.ValidateNotNull] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public global::System.Management.Automation.PSCredential ProxyCredential { get; set; } - - /// Use the default credentials for the proxy - [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Use the default credentials for the proxy")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public global::System.Management.Automation.SwitchParameter ProxyUseDefaultCredentials { get; set; } - - /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand _runCommandProperty; - - /// Describes a Run Command - [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Describes a Run Command", ValueFromPipeline = true)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = true, - ReadOnly = false, - Description = @"Describes a Run Command", - SerializedName = @"runCommandProperties", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand) })] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand RunCommandProperty { get => this._runCommandProperty; set => this._runCommandProperty = value; } - - /// - /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what - /// happens on that response. Implement this method in a partial class to enable this behavior - /// - /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorResponse - /// from the remote call - /// /// Determines if the rest of the onDefault method should be processed, or if the method should - /// return immediately (set to true to skip further processing ) - - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); - - /// - /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens - /// on that response. Implement this method in a partial class to enable this behavior - /// - /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand - /// from the remote call - /// /// Determines if the rest of the onOk method should be processed, or if the method should return - /// immediately (set to true to skip further processing ) - - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); - - /// - /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) - /// - protected override void BeginProcessing() - { - var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.GetTelemetryId.Invoke(); - if (telemetryId != "" && telemetryId != "internal") - { - __correlationId = telemetryId; - } - Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); - if (Break) - { - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.AttachDebugger.Break(); - } - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletBeginProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - } - - /// Creates a duplicate instance of this cmdlet (via JSON serialization). - /// a duplicate instance of UpdateAzConnectedMachineRunCommand_UpdateViaIdentity - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets.UpdateAzConnectedMachineRunCommand_UpdateViaIdentity Clone() - { - var clone = new UpdateAzConnectedMachineRunCommand_UpdateViaIdentity(); - clone.__correlationId = this.__correlationId; - clone.__processRecordId = this.__processRecordId; - clone.DefaultProfile = this.DefaultProfile; - clone.InvocationInformation = this.InvocationInformation; - clone.Proxy = this.Proxy; - clone.Pipeline = this.Pipeline; - clone.AsJob = this.AsJob; - clone.Break = this.Break; - clone.ProxyCredential = this.ProxyCredential; - clone.ProxyUseDefaultCredentials = this.ProxyUseDefaultCredentials; - clone.HttpPipelinePrepend = this.HttpPipelinePrepend; - clone.HttpPipelineAppend = this.HttpPipelineAppend; - clone.RunCommandProperty = this.RunCommandProperty; - return clone; - } - - /// Performs clean-up after the command execution - protected override void EndProcessing() - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } - var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); - if (telemetryInfo != null) - { - telemetryInfo.TryGetValue("ShowSecretsWarning", out var showSecretsWarning); - telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); - telemetryInfo.TryGetValue("InvocationName", out var invocationName); - if (showSecretsWarning == "true") - { - if (string.IsNullOrEmpty(sanitizedProperties)) - { - WriteWarning($"The output of cmdlet {invocationName} may compromise security by showing secrets. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); - } - else - { - WriteWarning($"The output of cmdlet {invocationName} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); - } - } - } - } - - /// Handles/Dispatches events during the call to the REST service. - /// The message id - /// The message cancellation token. When this call is cancelled, this should be true - /// Detailed message data for the message event. - /// - /// A that will be complete when handling of the message is completed. - /// - async global::System.Threading.Tasks.Task Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener.Signal(string id, global::System.Threading.CancellationToken token, global::System.Func messageData) - { - using( NoSynchronizationContext ) - { - if (token.IsCancellationRequested) - { - return ; - } - - switch ( id ) - { - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Verbose: - { - WriteVerbose($"{(messageData().Message ?? global::System.String.Empty)}"); - return ; - } - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Warning: - { - WriteWarning($"{(messageData().Message ?? global::System.String.Empty)}"); - return ; - } - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Information: - { - // When an operation supports asjob, Information messages must go thru verbose. - WriteVerbose($"INFORMATION: {(messageData().Message ?? global::System.String.Empty)}"); - return ; - } - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Debug: - { - WriteDebug($"{(messageData().Message ?? global::System.String.Empty)}"); - return ; - } - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Error: - { - WriteError(new global::System.Management.Automation.ErrorRecord( new global::System.Exception(messageData().Message), string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null ) ); - return ; - } - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress: - { - var data = messageData(); - int progress = (int)data.Value; - string activityMessage, statusDescription; - global::System.Management.Automation.ProgressRecordType recordType; - if (progress < 100) - { - activityMessage = "In progress"; - statusDescription = "Checking operation status"; - recordType = System.Management.Automation.ProgressRecordType.Processing; - } - else - { - activityMessage = "Completed"; - statusDescription = "Completed"; - recordType = System.Management.Automation.ProgressRecordType.Completed; - } - WriteProgress(new global::System.Management.Automation.ProgressRecord(1, activityMessage, statusDescription) - { - PercentComplete = progress, - RecordType = recordType - }); - return ; - } - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.DelayBeforePolling: - { - var data = messageData(); - if (true == MyInvocation?.BoundParameters?.ContainsKey("NoWait")) - { - if (data.ResponseMessage is System.Net.Http.HttpResponseMessage response) - { - var asyncOperation = response.GetFirstHeader(@"Azure-AsyncOperation"); - var location = response.GetFirstHeader(@"Location"); - var uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? response.RequestMessage.RequestUri.AbsoluteUri : location : asyncOperation; - WriteObject(new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell.AsyncOperationResponse { Target = uri }); - // do nothing more. - data.Cancel(); - return; - } - } - else - { - if (data.ResponseMessage is System.Net.Http.HttpResponseMessage response) - { - int delay = (int)(response.Headers.RetryAfter?.Delta?.TotalSeconds ?? 30); - WriteDebug($"Delaying {delay} seconds before polling."); - for (var now = 0; now < delay; ++now) - { - WriteProgress(new global::System.Management.Automation.ProgressRecord(1, "In progress", "Checking operation status") - { - PercentComplete = now * 100 / delay - }); - await global::System.Threading.Tasks.Task.Delay(1000, token); - } - } - } - break; - } - } - await Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.Signal(id, token, messageData, (i, t, m) => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(i, t, () => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.EventDataConverter.ConvertFrom(m()) as Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.EventData), InvocationInformation, this.ParameterSetName, __correlationId, __processRecordId, null ); - if (token.IsCancellationRequested) - { - return ; - } - WriteDebug($"{id}: {(messageData().Message ?? global::System.String.Empty)}"); - } - } - - /// Performs execution of the command. - protected override void ProcessRecord() - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletProcessRecordStart).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - __processRecordId = System.Guid.NewGuid().ToString(); - try - { - // work - if (ShouldProcess($"Call remote 'MachineRunCommandsCreateOrUpdate' operation")) - { - if (true == MyInvocation?.BoundParameters?.ContainsKey("AsJob")) - { - var instance = this.Clone(); - var job = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell.AsyncJob(instance, this.MyInvocation.Line, this.MyInvocation.MyCommand.Name, this._cancellationTokenSource.Token, this._cancellationTokenSource.Cancel); - JobRepository.Add(job); - var task = instance.ProcessRecordAsync(); - job.Monitor(task); - WriteObject(job); - } - else - { - using( var asyncCommandRuntime = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell.AsyncCommandRuntime(this, ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token) ) - { - asyncCommandRuntime.Wait( ProcessRecordAsync(),((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token); - } - } - } - } - catch (global::System.AggregateException aggregateException) - { - // unroll the inner exceptions to get the root cause - foreach( var innerException in aggregateException.Flatten().InnerExceptions ) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletException, $"{innerException.GetType().Name} - {innerException.Message} : {innerException.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - // Write exception out to error channel. - WriteError( new global::System.Management.Automation.ErrorRecord(innerException,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); - } - } - catch (global::System.Exception exception) when ((exception as System.Management.Automation.PipelineStoppedException)== null || (exception as System.Management.Automation.PipelineStoppedException).InnerException != null) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletException, $"{exception.GetType().Name} - {exception.Message} : {exception.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - // Write exception out to error channel. - WriteError( new global::System.Management.Automation.ErrorRecord(exception,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); - } - finally - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletProcessRecordEnd).Wait(); - } - } - - /// Performs execution of the command, working asynchronously if required. - /// - /// A that will be complete when handling of the method is completed. - /// - protected async global::System.Threading.Tasks.Task ProcessRecordAsync() - { - using( NoSynchronizationContext ) - { - await ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - Pipeline = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName, this.ExtensibleParameters); - if (null != HttpPipelinePrepend) - { - Pipeline.Prepend((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelinePrepend) ?? HttpPipelinePrepend); - } - if (null != HttpPipelineAppend) - { - Pipeline.Append((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelineAppend) ?? HttpPipelineAppend); - } - // get the client instance - try - { - await ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - if (InputObject?.Id != null) - { - RunCommandProperty = await this.Client.MachineRunCommandsGetViaIdentityWithResult(InputObject.Id, this, Pipeline); - this.UpdateRunCommandProperty(); - await this.Client.MachineRunCommandsCreateOrUpdateViaIdentity(InputObject.Id, RunCommandProperty, onOk, onDefault, this, Pipeline, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate); - } - else - { - // try to call with PATH parameters from Input Object - if (null == InputObject.SubscriptionId) - { - ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.SubscriptionId"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); - } - if (null == InputObject.ResourceGroupName) - { - ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.ResourceGroupName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); - } - if (null == InputObject.MachineName) - { - ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.MachineName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); - } - if (null == InputObject.RunCommandName) - { - ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.RunCommandName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); - } - RunCommandProperty = await this.Client.MachineRunCommandsGetWithResult(InputObject.SubscriptionId ?? null, InputObject.ResourceGroupName ?? null, InputObject.MachineName ?? null, InputObject.RunCommandName ?? null, this, Pipeline); - this.UpdateRunCommandProperty(); - await this.Client.MachineRunCommandsCreateOrUpdate(InputObject.SubscriptionId ?? null, InputObject.ResourceGroupName ?? null, InputObject.MachineName ?? null, InputObject.RunCommandName ?? null, RunCommandProperty, onOk, onDefault, this, Pipeline, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate); - } - await ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - } - catch (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.UndeclaredResponseException urexception) - { - WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) - { - ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } - }); - } - finally - { - await ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletProcessRecordAsyncEnd); - } - } - } - - /// Interrupts currently running code within the command. - protected override void StopProcessing() - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Cancel(); - base.StopProcessing(); - } - - /// - /// Initializes a new instance of the cmdlet class. - /// - public UpdateAzConnectedMachineRunCommand_UpdateViaIdentity() - { - - } - - private void UpdateRunCommandProperty() - { - if ((bool)(true == this.MyInvocation?.BoundParameters.ContainsKey("RunCommandProperty"))) - { - this.RunCommandProperty = (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand)(this.MyInvocation?.BoundParameters["RunCommandProperty"]); - } - } - - /// - new protected void WriteObject(object sendToPipeline) - { - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); - base.WriteObject(sendToPipeline); - } - - /// - /// - new protected void WriteObject(object sendToPipeline, bool enumerateCollection) - { - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); - base.WriteObject(sendToPipeline, enumerateCollection); - } - - /// - /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). - /// - /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorResponse - /// from the remote call - /// - /// A that will be complete when handling of the method is completed. - /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) - { - using( NoSynchronizationContext ) - { - var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); - overrideOnDefault(responseMessage, response, ref _returnNow); - // if overrideOnDefault has returned true, then return right away. - if ((null != _returnNow && await _returnNow)) - { - return ; - } - // Error Response : default - var code = (await response)?.Code; - var message = (await response)?.Message; - if ((null == code || null == message)) - { - // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.RestException(responseMessage, await response); - WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) - { - ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } - }); - } - else - { - WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) - { - ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } - }); - } - } - } - - /// a delegate that is called when the remote service returns 200 (OK). - /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand - /// from the remote call - /// - /// A that will be complete when handling of the method is completed. - /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) - { - using( NoSynchronizationContext ) - { - var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); - overrideOnOk(responseMessage, response, ref _returnNow); - // if overrideOnOk has returned true, then return right away. - if ((null != _returnNow && await _returnNow)) - { - return ; - } - // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand - var result = (await response); - if (null != result) - { - if (0 == _responseSize) - { - _firstResponse = result; - _responseSize = 1; - } - else - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); - } - WriteObject(result.AddMultipleTypeNameIntoPSObject()); - _responseSize = 2; - } - } - } - } - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedMachineRunCommand_UpdateViaIdentityExpanded.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedMachineRunCommand_UpdateViaIdentityExpanded.cs deleted file mode 100644 index f66ebb9bf58e..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedMachineRunCommand_UpdateViaIdentityExpanded.cs +++ /dev/null @@ -1,882 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets -{ - using static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Extensions; - using Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell; - using Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Cmdlets; - using System; - - /// The operation to update a run command. - /// - /// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/runCommands/{runCommandName}" - /// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/runCommands/{runCommandName}" - /// - [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzConnectedMachineRunCommand_UpdateViaIdentityExpanded", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand))] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"The operation to update a run command.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - public partial class UpdateAzConnectedMachineRunCommand_UpdateViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IContext - { - /// A unique id generatd for the this cmdlet when it is instantiated. - private string __correlationId = System.Guid.NewGuid().ToString(); - - /// A copy of the Invocation Info (necessary to allow asJob to clone this cmdlet) - private global::System.Management.Automation.InvocationInfo __invocationInfo; - - /// A unique id generatd for the this cmdlet when ProcessRecord() is called. - private string __processRecordId; - - /// - /// The for this operation. - /// - private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); - - /// A dictionary to carry over additional data for pipeline. - private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - - /// A buffer to record first returned object in response. - private object _firstResponse = null; - - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - - /// Describes a Run Command - private Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand _runCommandPropertiesBody = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.MachineRunCommand(); - - /// when specified, runs this cmdlet as a PowerShell job - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public global::System.Management.Automation.SwitchParameter AsJob { get; set; } - - /// - /// Optional. If set to true, provisioning will complete as soon as script starts and will not wait for script to complete. - /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Optional. If set to true, provisioning will complete as soon as script starts and will not wait for script to complete.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Optional. If set to true, provisioning will complete as soon as script starts and will not wait for script to complete.", - SerializedName = @"asyncExecution", - PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter AsyncExecution { get => _runCommandPropertiesBody.AsyncExecution ?? default(global::System.Management.Automation.SwitchParameter); set => _runCommandPropertiesBody.AsyncExecution = value; } - - /// Wait for .NET debugger to attach - [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public global::System.Management.Automation.SwitchParameter Break { get; set; } - - /// Accessor for cancellationTokenSource. - public global::System.Threading.CancellationTokenSource CancellationTokenSource { get => _cancellationTokenSource ; set { _cancellationTokenSource = value; } } - - /// The reference to the client API class. - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ConnectedMachine Client => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.ClientAPI; - - /// - /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet - /// against a different subscription - /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] - [global::System.Management.Automation.ValidateNotNull] - [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Azure)] - public global::System.Management.Automation.PSObject DefaultProfile { get; set; } - - /// - /// Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided. - /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided.", - SerializedName = @"clientId", - PossibleTypes = new [] { typeof(string) })] - public string ErrorBlobManagedIdentityClientId { get => _runCommandPropertiesBody.ErrorBlobManagedIdentityClientId ?? null; set => _runCommandPropertiesBody.ErrorBlobManagedIdentityClientId = value; } - - /// - /// Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided. - /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided.", - SerializedName = @"objectId", - PossibleTypes = new [] { typeof(string) })] - public string ErrorBlobManagedIdentityObjectId { get => _runCommandPropertiesBody.ErrorBlobManagedIdentityObjectId ?? null; set => _runCommandPropertiesBody.ErrorBlobManagedIdentityObjectId = value; } - - /// - /// Specifies the Azure storage blob where script error stream will be uploaded. Use a SAS URI with read, append, create, - /// write access OR use managed identity to provide the VM access to the blob. Refer errorBlobManagedIdentity parameter. - /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Specifies the Azure storage blob where script error stream will be uploaded. Use a SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob. Refer errorBlobManagedIdentity parameter.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Specifies the Azure storage blob where script error stream will be uploaded. Use a SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob. Refer errorBlobManagedIdentity parameter.", - SerializedName = @"errorBlobUri", - PossibleTypes = new [] { typeof(string) })] - public string ErrorBlobUri { get => _runCommandPropertiesBody.ErrorBlobUri ?? null; set => _runCommandPropertiesBody.ErrorBlobUri = value; } - - /// Accessor for extensibleParameters. - public global::System.Collections.Generic.IDictionary ExtensibleParameters { get => _extensibleParameters ; } - - /// SendAsync Pipeline Steps to be appended to the front of the pipeline - [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] - [global::System.Management.Automation.ValidateNotNull] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SendAsyncStep[] HttpPipelineAppend { get; set; } - - /// SendAsync Pipeline Steps to be prepended to the front of the pipeline - [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be prepended to the front of the pipeline")] - [global::System.Management.Automation.ValidateNotNull] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SendAsyncStep[] HttpPipelinePrepend { get; set; } - - /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentity _inputObject; - - /// Identity Parameter - [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Identity Parameter", ValueFromPipeline = true)] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Path)] - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentity InputObject { get => this._inputObject; set => this._inputObject = value; } - - /// Accessor for our copy of the InvocationInfo. - public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } - - /// - /// cancellation delegate. Stops the cmdlet when called. - /// - global::System.Action Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - - /// cancellation token. - global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener.Token => _cancellationTokenSource.Token; - - /// - /// when specified, will make the remote call, and return an AsyncOperationResponse, letting the remote operation continue - /// asynchronously. - /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command asynchronously")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public global::System.Management.Automation.SwitchParameter NoWait { get; set; } - - /// - /// Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided. - /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided.", - SerializedName = @"clientId", - PossibleTypes = new [] { typeof(string) })] - public string OutputBlobManagedIdentityClientId { get => _runCommandPropertiesBody.OutputBlobManagedIdentityClientId ?? null; set => _runCommandPropertiesBody.OutputBlobManagedIdentityClientId = value; } - - /// - /// Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided. - /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided.", - SerializedName = @"objectId", - PossibleTypes = new [] { typeof(string) })] - public string OutputBlobManagedIdentityObjectId { get => _runCommandPropertiesBody.OutputBlobManagedIdentityObjectId ?? null; set => _runCommandPropertiesBody.OutputBlobManagedIdentityObjectId = value; } - - /// - /// Specifies the Azure storage blob where script output stream will be uploaded. Use a SAS URI with read, append, create, - /// write access OR use managed identity to provide the VM access to the blob. Refer outputBlobManagedIdentity parameter. - /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Specifies the Azure storage blob where script output stream will be uploaded. Use a SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob. Refer outputBlobManagedIdentity parameter. ")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Specifies the Azure storage blob where script output stream will be uploaded. Use a SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob. Refer outputBlobManagedIdentity parameter. ", - SerializedName = @"outputBlobUri", - PossibleTypes = new [] { typeof(string) })] - public string OutputBlobUri { get => _runCommandPropertiesBody.OutputBlobUri ?? null; set => _runCommandPropertiesBody.OutputBlobUri = value; } - - /// The parameters used by the script. - [global::System.Management.Automation.AllowEmptyCollection] - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The parameters used by the script.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"The parameters used by the script.", - SerializedName = @"parameters", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandInputParameter) })] - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandInputParameter[] Parameter { get => _runCommandPropertiesBody.Parameter?.ToArray() ?? null /* fixedArrayOf */; set => _runCommandPropertiesBody.Parameter = (value != null ? new System.Collections.Generic.List(value) : null); } - - /// - /// The instance of the that the remote call will use. - /// - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.HttpPipeline Pipeline { get; set; } - - /// The parameters used by the script. - [global::System.Management.Automation.AllowEmptyCollection] - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The parameters used by the script.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"The parameters used by the script.", - SerializedName = @"protectedParameters", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandInputParameter) })] - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandInputParameter[] ProtectedParameter { get => _runCommandPropertiesBody.ProtectedParameter?.ToArray() ?? null /* fixedArrayOf */; set => _runCommandPropertiesBody.ProtectedParameter = (value != null ? new System.Collections.Generic.List(value) : null); } - - /// The URI for the proxy server to use - [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "The URI for the proxy server to use")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public global::System.Uri Proxy { get; set; } - - /// Credentials for a proxy server to use for the remote call - [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Credentials for a proxy server to use for the remote call")] - [global::System.Management.Automation.ValidateNotNull] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public global::System.Management.Automation.PSCredential ProxyCredential { get; set; } - - /// Use the default credentials for the proxy - [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Use the default credentials for the proxy")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public global::System.Management.Automation.SwitchParameter ProxyUseDefaultCredentials { get; set; } - - /// - /// Specifies the user account password on the machine when executing the run command. - /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Specifies the user account password on the machine when executing the run command.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Specifies the user account password on the machine when executing the run command.", - SerializedName = @"runAsPassword", - PossibleTypes = new [] { typeof(string) })] - public string RunAsPassword { get => _runCommandPropertiesBody.RunAsPassword ?? null; set => _runCommandPropertiesBody.RunAsPassword = value; } - - /// Specifies the user account on the machine when executing the run command. - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Specifies the user account on the machine when executing the run command.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Specifies the user account on the machine when executing the run command.", - SerializedName = @"runAsUser", - PossibleTypes = new [] { typeof(string) })] - public string RunAsUser { get => _runCommandPropertiesBody.RunAsUser ?? null; set => _runCommandPropertiesBody.RunAsUser = value; } - - /// - /// Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided. - /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided.", - SerializedName = @"clientId", - PossibleTypes = new [] { typeof(string) })] - public string ScriptUriManagedIdentityClientId { get => _runCommandPropertiesBody.ScriptUriManagedIdentityClientId ?? null; set => _runCommandPropertiesBody.ScriptUriManagedIdentityClientId = value; } - - /// - /// Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided. - /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided.", - SerializedName = @"objectId", - PossibleTypes = new [] { typeof(string) })] - public string ScriptUriManagedIdentityObjectId { get => _runCommandPropertiesBody.ScriptUriManagedIdentityObjectId ?? null; set => _runCommandPropertiesBody.ScriptUriManagedIdentityObjectId = value; } - - /// Specifies the commandId of predefined built-in script. - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Specifies the commandId of predefined built-in script.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Specifies the commandId of predefined built-in script.", - SerializedName = @"commandId", - PossibleTypes = new [] { typeof(string) })] - public string SourceCommandId { get => _runCommandPropertiesBody.SourceCommandId ?? null; set => _runCommandPropertiesBody.SourceCommandId = value; } - - /// Specifies the script content to be executed on the machine. - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Specifies the script content to be executed on the machine.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Specifies the script content to be executed on the machine.", - SerializedName = @"script", - PossibleTypes = new [] { typeof(string) })] - public string SourceScript { get => _runCommandPropertiesBody.SourceScript ?? null; set => _runCommandPropertiesBody.SourceScript = value; } - - /// - /// Specifies the script download location. It can be either SAS URI of an Azure storage blob with read access or public URI. - /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Specifies the script download location. It can be either SAS URI of an Azure storage blob with read access or public URI.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Specifies the script download location. It can be either SAS URI of an Azure storage blob with read access or public URI.", - SerializedName = @"scriptUri", - PossibleTypes = new [] { typeof(string) })] - public string SourceScriptUri { get => _runCommandPropertiesBody.SourceScriptUri ?? null; set => _runCommandPropertiesBody.SourceScriptUri = value; } - - /// Resource tags. - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ExportAs(typeof(global::System.Collections.Hashtable))] - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Resource tags.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Resource tags.", - SerializedName = @"tags", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceTags) })] - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceTags Tag { get => _runCommandPropertiesBody.Tags ?? null /* object */; set => _runCommandPropertiesBody.Tags = value; } - - /// The timeout in seconds to execute the run command. - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The timeout in seconds to execute the run command.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"The timeout in seconds to execute the run command.", - SerializedName = @"timeoutInSeconds", - PossibleTypes = new [] { typeof(int) })] - public int TimeoutInSecond { get => _runCommandPropertiesBody.TimeoutInSecond ?? default(int); set => _runCommandPropertiesBody.TimeoutInSecond = value; } - - /// - /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what - /// happens on that response. Implement this method in a partial class to enable this behavior - /// - /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorResponse - /// from the remote call - /// /// Determines if the rest of the onDefault method should be processed, or if the method should - /// return immediately (set to true to skip further processing ) - - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); - - /// - /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens - /// on that response. Implement this method in a partial class to enable this behavior - /// - /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand - /// from the remote call - /// /// Determines if the rest of the onOk method should be processed, or if the method should return - /// immediately (set to true to skip further processing ) - - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); - - /// - /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) - /// - protected override void BeginProcessing() - { - var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.GetTelemetryId.Invoke(); - if (telemetryId != "" && telemetryId != "internal") - { - __correlationId = telemetryId; - } - Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); - if (Break) - { - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.AttachDebugger.Break(); - } - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletBeginProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - } - - /// Creates a duplicate instance of this cmdlet (via JSON serialization). - /// - /// a duplicate instance of UpdateAzConnectedMachineRunCommand_UpdateViaIdentityExpanded - /// - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets.UpdateAzConnectedMachineRunCommand_UpdateViaIdentityExpanded Clone() - { - var clone = new UpdateAzConnectedMachineRunCommand_UpdateViaIdentityExpanded(); - clone.__correlationId = this.__correlationId; - clone.__processRecordId = this.__processRecordId; - clone.DefaultProfile = this.DefaultProfile; - clone.InvocationInformation = this.InvocationInformation; - clone.Proxy = this.Proxy; - clone.Pipeline = this.Pipeline; - clone.AsJob = this.AsJob; - clone.Break = this.Break; - clone.ProxyCredential = this.ProxyCredential; - clone.ProxyUseDefaultCredentials = this.ProxyUseDefaultCredentials; - clone.HttpPipelinePrepend = this.HttpPipelinePrepend; - clone.HttpPipelineAppend = this.HttpPipelineAppend; - clone._runCommandPropertiesBody = this._runCommandPropertiesBody; - return clone; - } - - /// Performs clean-up after the command execution - protected override void EndProcessing() - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } - var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); - if (telemetryInfo != null) - { - telemetryInfo.TryGetValue("ShowSecretsWarning", out var showSecretsWarning); - telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); - telemetryInfo.TryGetValue("InvocationName", out var invocationName); - if (showSecretsWarning == "true") - { - if (string.IsNullOrEmpty(sanitizedProperties)) - { - WriteWarning($"The output of cmdlet {invocationName} may compromise security by showing secrets. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); - } - else - { - WriteWarning($"The output of cmdlet {invocationName} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); - } - } - } - } - - /// Handles/Dispatches events during the call to the REST service. - /// The message id - /// The message cancellation token. When this call is cancelled, this should be true - /// Detailed message data for the message event. - /// - /// A that will be complete when handling of the message is completed. - /// - async global::System.Threading.Tasks.Task Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener.Signal(string id, global::System.Threading.CancellationToken token, global::System.Func messageData) - { - using( NoSynchronizationContext ) - { - if (token.IsCancellationRequested) - { - return ; - } - - switch ( id ) - { - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Verbose: - { - WriteVerbose($"{(messageData().Message ?? global::System.String.Empty)}"); - return ; - } - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Warning: - { - WriteWarning($"{(messageData().Message ?? global::System.String.Empty)}"); - return ; - } - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Information: - { - // When an operation supports asjob, Information messages must go thru verbose. - WriteVerbose($"INFORMATION: {(messageData().Message ?? global::System.String.Empty)}"); - return ; - } - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Debug: - { - WriteDebug($"{(messageData().Message ?? global::System.String.Empty)}"); - return ; - } - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Error: - { - WriteError(new global::System.Management.Automation.ErrorRecord( new global::System.Exception(messageData().Message), string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null ) ); - return ; - } - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress: - { - var data = messageData(); - int progress = (int)data.Value; - string activityMessage, statusDescription; - global::System.Management.Automation.ProgressRecordType recordType; - if (progress < 100) - { - activityMessage = "In progress"; - statusDescription = "Checking operation status"; - recordType = System.Management.Automation.ProgressRecordType.Processing; - } - else - { - activityMessage = "Completed"; - statusDescription = "Completed"; - recordType = System.Management.Automation.ProgressRecordType.Completed; - } - WriteProgress(new global::System.Management.Automation.ProgressRecord(1, activityMessage, statusDescription) - { - PercentComplete = progress, - RecordType = recordType - }); - return ; - } - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.DelayBeforePolling: - { - var data = messageData(); - if (true == MyInvocation?.BoundParameters?.ContainsKey("NoWait")) - { - if (data.ResponseMessage is System.Net.Http.HttpResponseMessage response) - { - var asyncOperation = response.GetFirstHeader(@"Azure-AsyncOperation"); - var location = response.GetFirstHeader(@"Location"); - var uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? response.RequestMessage.RequestUri.AbsoluteUri : location : asyncOperation; - WriteObject(new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell.AsyncOperationResponse { Target = uri }); - // do nothing more. - data.Cancel(); - return; - } - } - else - { - if (data.ResponseMessage is System.Net.Http.HttpResponseMessage response) - { - int delay = (int)(response.Headers.RetryAfter?.Delta?.TotalSeconds ?? 30); - WriteDebug($"Delaying {delay} seconds before polling."); - for (var now = 0; now < delay; ++now) - { - WriteProgress(new global::System.Management.Automation.ProgressRecord(1, "In progress", "Checking operation status") - { - PercentComplete = now * 100 / delay - }); - await global::System.Threading.Tasks.Task.Delay(1000, token); - } - } - } - break; - } - } - await Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.Signal(id, token, messageData, (i, t, m) => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(i, t, () => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.EventDataConverter.ConvertFrom(m()) as Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.EventData), InvocationInformation, this.ParameterSetName, __correlationId, __processRecordId, null ); - if (token.IsCancellationRequested) - { - return ; - } - WriteDebug($"{id}: {(messageData().Message ?? global::System.String.Empty)}"); - } - } - - /// Performs execution of the command. - protected override void ProcessRecord() - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletProcessRecordStart).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - __processRecordId = System.Guid.NewGuid().ToString(); - try - { - // work - if (ShouldProcess($"Call remote 'MachineRunCommandsCreateOrUpdate' operation")) - { - if (true == MyInvocation?.BoundParameters?.ContainsKey("AsJob")) - { - var instance = this.Clone(); - var job = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell.AsyncJob(instance, this.MyInvocation.Line, this.MyInvocation.MyCommand.Name, this._cancellationTokenSource.Token, this._cancellationTokenSource.Cancel); - JobRepository.Add(job); - var task = instance.ProcessRecordAsync(); - job.Monitor(task); - WriteObject(job); - } - else - { - using( var asyncCommandRuntime = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell.AsyncCommandRuntime(this, ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token) ) - { - asyncCommandRuntime.Wait( ProcessRecordAsync(),((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token); - } - } - } - } - catch (global::System.AggregateException aggregateException) - { - // unroll the inner exceptions to get the root cause - foreach( var innerException in aggregateException.Flatten().InnerExceptions ) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletException, $"{innerException.GetType().Name} - {innerException.Message} : {innerException.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - // Write exception out to error channel. - WriteError( new global::System.Management.Automation.ErrorRecord(innerException,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); - } - } - catch (global::System.Exception exception) when ((exception as System.Management.Automation.PipelineStoppedException)== null || (exception as System.Management.Automation.PipelineStoppedException).InnerException != null) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletException, $"{exception.GetType().Name} - {exception.Message} : {exception.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - // Write exception out to error channel. - WriteError( new global::System.Management.Automation.ErrorRecord(exception,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); - } - finally - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletProcessRecordEnd).Wait(); - } - } - - /// Performs execution of the command, working asynchronously if required. - /// - /// A that will be complete when handling of the method is completed. - /// - protected async global::System.Threading.Tasks.Task ProcessRecordAsync() - { - using( NoSynchronizationContext ) - { - await ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - Pipeline = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName, this.ExtensibleParameters); - if (null != HttpPipelinePrepend) - { - Pipeline.Prepend((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelinePrepend) ?? HttpPipelinePrepend); - } - if (null != HttpPipelineAppend) - { - Pipeline.Append((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelineAppend) ?? HttpPipelineAppend); - } - // get the client instance - try - { - await ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - if (InputObject?.Id != null) - { - _runCommandPropertiesBody = await this.Client.MachineRunCommandsGetViaIdentityWithResult(InputObject.Id, this, Pipeline); - this.Update_runCommandPropertiesBody(); - await this.Client.MachineRunCommandsCreateOrUpdateViaIdentity(InputObject.Id, _runCommandPropertiesBody, onOk, onDefault, this, Pipeline, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate); - } - else - { - // try to call with PATH parameters from Input Object - if (null == InputObject.SubscriptionId) - { - ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.SubscriptionId"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); - } - if (null == InputObject.ResourceGroupName) - { - ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.ResourceGroupName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); - } - if (null == InputObject.MachineName) - { - ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.MachineName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); - } - if (null == InputObject.RunCommandName) - { - ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.RunCommandName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); - } - _runCommandPropertiesBody = await this.Client.MachineRunCommandsGetWithResult(InputObject.SubscriptionId ?? null, InputObject.ResourceGroupName ?? null, InputObject.MachineName ?? null, InputObject.RunCommandName ?? null, this, Pipeline); - this.Update_runCommandPropertiesBody(); - await this.Client.MachineRunCommandsCreateOrUpdate(InputObject.SubscriptionId ?? null, InputObject.ResourceGroupName ?? null, InputObject.MachineName ?? null, InputObject.RunCommandName ?? null, _runCommandPropertiesBody, onOk, onDefault, this, Pipeline, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate); - } - await ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - } - catch (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.UndeclaredResponseException urexception) - { - WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) - { - ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } - }); - } - finally - { - await ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletProcessRecordAsyncEnd); - } - } - } - - /// Interrupts currently running code within the command. - protected override void StopProcessing() - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Cancel(); - base.StopProcessing(); - } - - /// - /// Initializes a new instance of the cmdlet class. - /// - public UpdateAzConnectedMachineRunCommand_UpdateViaIdentityExpanded() - { - - } - - private void Update_runCommandPropertiesBody() - { - if ((bool)(true == this.MyInvocation?.BoundParameters.ContainsKey("Tag"))) - { - this.Tag = (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceTags)(this.MyInvocation?.BoundParameters["Tag"]); - } - if ((bool)(true == this.MyInvocation?.BoundParameters.ContainsKey("Parameter"))) - { - this.Parameter = (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandInputParameter[])(this.MyInvocation?.BoundParameters["Parameter"]); - } - if ((bool)(true == this.MyInvocation?.BoundParameters.ContainsKey("ProtectedParameter"))) - { - this.ProtectedParameter = (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandInputParameter[])(this.MyInvocation?.BoundParameters["ProtectedParameter"]); - } - if ((bool)(true == this.MyInvocation?.BoundParameters.ContainsKey("AsyncExecution"))) - { - this.AsyncExecution = (global::System.Management.Automation.SwitchParameter)(this.MyInvocation?.BoundParameters["AsyncExecution"]); - } - if ((bool)(true == this.MyInvocation?.BoundParameters.ContainsKey("RunAsUser"))) - { - this.RunAsUser = (string)(this.MyInvocation?.BoundParameters["RunAsUser"]); - } - if ((bool)(true == this.MyInvocation?.BoundParameters.ContainsKey("RunAsPassword"))) - { - this.RunAsPassword = (string)(this.MyInvocation?.BoundParameters["RunAsPassword"]); - } - if ((bool)(true == this.MyInvocation?.BoundParameters.ContainsKey("TimeoutInSecond"))) - { - this.TimeoutInSecond = (int)(this.MyInvocation?.BoundParameters["TimeoutInSecond"]); - } - if ((bool)(true == this.MyInvocation?.BoundParameters.ContainsKey("OutputBlobUri"))) - { - this.OutputBlobUri = (string)(this.MyInvocation?.BoundParameters["OutputBlobUri"]); - } - if ((bool)(true == this.MyInvocation?.BoundParameters.ContainsKey("ErrorBlobUri"))) - { - this.ErrorBlobUri = (string)(this.MyInvocation?.BoundParameters["ErrorBlobUri"]); - } - if ((bool)(true == this.MyInvocation?.BoundParameters.ContainsKey("SourceScript"))) - { - this.SourceScript = (string)(this.MyInvocation?.BoundParameters["SourceScript"]); - } - if ((bool)(true == this.MyInvocation?.BoundParameters.ContainsKey("SourceScriptUri"))) - { - this.SourceScriptUri = (string)(this.MyInvocation?.BoundParameters["SourceScriptUri"]); - } - if ((bool)(true == this.MyInvocation?.BoundParameters.ContainsKey("SourceCommandId"))) - { - this.SourceCommandId = (string)(this.MyInvocation?.BoundParameters["SourceCommandId"]); - } - if ((bool)(true == this.MyInvocation?.BoundParameters.ContainsKey("OutputBlobManagedIdentityClientId"))) - { - this.OutputBlobManagedIdentityClientId = (string)(this.MyInvocation?.BoundParameters["OutputBlobManagedIdentityClientId"]); - } - if ((bool)(true == this.MyInvocation?.BoundParameters.ContainsKey("OutputBlobManagedIdentityObjectId"))) - { - this.OutputBlobManagedIdentityObjectId = (string)(this.MyInvocation?.BoundParameters["OutputBlobManagedIdentityObjectId"]); - } - if ((bool)(true == this.MyInvocation?.BoundParameters.ContainsKey("ErrorBlobManagedIdentityClientId"))) - { - this.ErrorBlobManagedIdentityClientId = (string)(this.MyInvocation?.BoundParameters["ErrorBlobManagedIdentityClientId"]); - } - if ((bool)(true == this.MyInvocation?.BoundParameters.ContainsKey("ErrorBlobManagedIdentityObjectId"))) - { - this.ErrorBlobManagedIdentityObjectId = (string)(this.MyInvocation?.BoundParameters["ErrorBlobManagedIdentityObjectId"]); - } - if ((bool)(true == this.MyInvocation?.BoundParameters.ContainsKey("ScriptUriManagedIdentityClientId"))) - { - this.ScriptUriManagedIdentityClientId = (string)(this.MyInvocation?.BoundParameters["ScriptUriManagedIdentityClientId"]); - } - if ((bool)(true == this.MyInvocation?.BoundParameters.ContainsKey("ScriptUriManagedIdentityObjectId"))) - { - this.ScriptUriManagedIdentityObjectId = (string)(this.MyInvocation?.BoundParameters["ScriptUriManagedIdentityObjectId"]); - } - } - - /// - new protected void WriteObject(object sendToPipeline) - { - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); - base.WriteObject(sendToPipeline); - } - - /// - /// - new protected void WriteObject(object sendToPipeline, bool enumerateCollection) - { - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); - base.WriteObject(sendToPipeline, enumerateCollection); - } - - /// - /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). - /// - /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorResponse - /// from the remote call - /// - /// A that will be complete when handling of the method is completed. - /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) - { - using( NoSynchronizationContext ) - { - var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); - overrideOnDefault(responseMessage, response, ref _returnNow); - // if overrideOnDefault has returned true, then return right away. - if ((null != _returnNow && await _returnNow)) - { - return ; - } - // Error Response : default - var code = (await response)?.Code; - var message = (await response)?.Message; - if ((null == code || null == message)) - { - // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.RestException(responseMessage, await response); - WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) - { - ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } - }); - } - else - { - WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) - { - ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } - }); - } - } - } - - /// a delegate that is called when the remote service returns 200 (OK). - /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand - /// from the remote call - /// - /// A that will be complete when handling of the method is completed. - /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) - { - using( NoSynchronizationContext ) - { - var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); - overrideOnOk(responseMessage, response, ref _returnNow); - // if overrideOnOk has returned true, then return right away. - if ((null != _returnNow && await _returnNow)) - { - return ; - } - // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand - var result = (await response); - if (null != result) - { - if (0 == _responseSize) - { - _firstResponse = result; - _responseSize = 1; - } - else - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); - } - WriteObject(result.AddMultipleTypeNameIntoPSObject()); - _responseSize = 2; - } - } - } - } - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedMachineRunCommand_UpdateViaIdentityMachine.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedMachineRunCommand_UpdateViaIdentityMachine.cs deleted file mode 100644 index e99f12cb723b..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedMachineRunCommand_UpdateViaIdentityMachine.cs +++ /dev/null @@ -1,612 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets -{ - using static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Extensions; - using Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell; - using Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Cmdlets; - using System; - - /// The operation to update a run command. - /// - /// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/runCommands/{runCommandName}" - /// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/runCommands/{runCommandName}" - /// - [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzConnectedMachineRunCommand_UpdateViaIdentityMachine", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand))] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"The operation to update a run command.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - public partial class UpdateAzConnectedMachineRunCommand_UpdateViaIdentityMachine : global::System.Management.Automation.PSCmdlet, - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IContext - { - /// A unique id generatd for the this cmdlet when it is instantiated. - private string __correlationId = System.Guid.NewGuid().ToString(); - - /// A copy of the Invocation Info (necessary to allow asJob to clone this cmdlet) - private global::System.Management.Automation.InvocationInfo __invocationInfo; - - /// A unique id generatd for the this cmdlet when ProcessRecord() is called. - private string __processRecordId; - - /// - /// The for this operation. - /// - private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); - - /// A dictionary to carry over additional data for pipeline. - private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - - /// A buffer to record first returned object in response. - private object _firstResponse = null; - - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - - /// when specified, runs this cmdlet as a PowerShell job - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public global::System.Management.Automation.SwitchParameter AsJob { get; set; } - - /// Wait for .NET debugger to attach - [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public global::System.Management.Automation.SwitchParameter Break { get; set; } - - /// Accessor for cancellationTokenSource. - public global::System.Threading.CancellationTokenSource CancellationTokenSource { get => _cancellationTokenSource ; set { _cancellationTokenSource = value; } } - - /// The reference to the client API class. - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ConnectedMachine Client => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.ClientAPI; - - /// - /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet - /// against a different subscription - /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] - [global::System.Management.Automation.ValidateNotNull] - [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Azure)] - public global::System.Management.Automation.PSObject DefaultProfile { get; set; } - - /// Accessor for extensibleParameters. - public global::System.Collections.Generic.IDictionary ExtensibleParameters { get => _extensibleParameters ; } - - /// SendAsync Pipeline Steps to be appended to the front of the pipeline - [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] - [global::System.Management.Automation.ValidateNotNull] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SendAsyncStep[] HttpPipelineAppend { get; set; } - - /// SendAsync Pipeline Steps to be prepended to the front of the pipeline - [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be prepended to the front of the pipeline")] - [global::System.Management.Automation.ValidateNotNull] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SendAsyncStep[] HttpPipelinePrepend { get; set; } - - /// Accessor for our copy of the InvocationInfo. - public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } - - /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentity _machineInputObject; - - /// Identity Parameter - [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Identity Parameter", ValueFromPipeline = true)] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Path)] - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentity MachineInputObject { get => this._machineInputObject; set => this._machineInputObject = value; } - - /// - /// cancellation delegate. Stops the cmdlet when called. - /// - global::System.Action Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - - /// cancellation token. - global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener.Token => _cancellationTokenSource.Token; - - /// - /// when specified, will make the remote call, and return an AsyncOperationResponse, letting the remote operation continue - /// asynchronously. - /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command asynchronously")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public global::System.Management.Automation.SwitchParameter NoWait { get; set; } - - /// - /// The instance of the that the remote call will use. - /// - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.HttpPipeline Pipeline { get; set; } - - /// The URI for the proxy server to use - [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "The URI for the proxy server to use")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public global::System.Uri Proxy { get; set; } - - /// Credentials for a proxy server to use for the remote call - [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Credentials for a proxy server to use for the remote call")] - [global::System.Management.Automation.ValidateNotNull] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public global::System.Management.Automation.PSCredential ProxyCredential { get; set; } - - /// Use the default credentials for the proxy - [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Use the default credentials for the proxy")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public global::System.Management.Automation.SwitchParameter ProxyUseDefaultCredentials { get; set; } - - /// Backing field for property. - private string _runCommandName; - - /// The name of the run command. - [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the run command.")] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = true, - ReadOnly = false, - Description = @"The name of the run command.", - SerializedName = @"runCommandName", - PossibleTypes = new [] { typeof(string) })] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Path)] - public string RunCommandName { get => this._runCommandName; set => this._runCommandName = value; } - - /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand _runCommandProperty; - - /// Describes a Run Command - [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Describes a Run Command", ValueFromPipeline = true)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = true, - ReadOnly = false, - Description = @"Describes a Run Command", - SerializedName = @"runCommandProperties", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand) })] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand RunCommandProperty { get => this._runCommandProperty; set => this._runCommandProperty = value; } - - /// - /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what - /// happens on that response. Implement this method in a partial class to enable this behavior - /// - /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorResponse - /// from the remote call - /// /// Determines if the rest of the onDefault method should be processed, or if the method should - /// return immediately (set to true to skip further processing ) - - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); - - /// - /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens - /// on that response. Implement this method in a partial class to enable this behavior - /// - /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand - /// from the remote call - /// /// Determines if the rest of the onOk method should be processed, or if the method should return - /// immediately (set to true to skip further processing ) - - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); - - /// - /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) - /// - protected override void BeginProcessing() - { - var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.GetTelemetryId.Invoke(); - if (telemetryId != "" && telemetryId != "internal") - { - __correlationId = telemetryId; - } - Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); - if (Break) - { - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.AttachDebugger.Break(); - } - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletBeginProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - } - - /// Creates a duplicate instance of this cmdlet (via JSON serialization). - /// - /// a duplicate instance of UpdateAzConnectedMachineRunCommand_UpdateViaIdentityMachine - /// - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets.UpdateAzConnectedMachineRunCommand_UpdateViaIdentityMachine Clone() - { - var clone = new UpdateAzConnectedMachineRunCommand_UpdateViaIdentityMachine(); - clone.__correlationId = this.__correlationId; - clone.__processRecordId = this.__processRecordId; - clone.DefaultProfile = this.DefaultProfile; - clone.InvocationInformation = this.InvocationInformation; - clone.Proxy = this.Proxy; - clone.Pipeline = this.Pipeline; - clone.AsJob = this.AsJob; - clone.Break = this.Break; - clone.ProxyCredential = this.ProxyCredential; - clone.ProxyUseDefaultCredentials = this.ProxyUseDefaultCredentials; - clone.HttpPipelinePrepend = this.HttpPipelinePrepend; - clone.HttpPipelineAppend = this.HttpPipelineAppend; - clone.RunCommandName = this.RunCommandName; - clone.RunCommandProperty = this.RunCommandProperty; - return clone; - } - - /// Performs clean-up after the command execution - protected override void EndProcessing() - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } - var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); - if (telemetryInfo != null) - { - telemetryInfo.TryGetValue("ShowSecretsWarning", out var showSecretsWarning); - telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); - telemetryInfo.TryGetValue("InvocationName", out var invocationName); - if (showSecretsWarning == "true") - { - if (string.IsNullOrEmpty(sanitizedProperties)) - { - WriteWarning($"The output of cmdlet {invocationName} may compromise security by showing secrets. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); - } - else - { - WriteWarning($"The output of cmdlet {invocationName} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); - } - } - } - } - - /// Handles/Dispatches events during the call to the REST service. - /// The message id - /// The message cancellation token. When this call is cancelled, this should be true - /// Detailed message data for the message event. - /// - /// A that will be complete when handling of the message is completed. - /// - async global::System.Threading.Tasks.Task Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener.Signal(string id, global::System.Threading.CancellationToken token, global::System.Func messageData) - { - using( NoSynchronizationContext ) - { - if (token.IsCancellationRequested) - { - return ; - } - - switch ( id ) - { - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Verbose: - { - WriteVerbose($"{(messageData().Message ?? global::System.String.Empty)}"); - return ; - } - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Warning: - { - WriteWarning($"{(messageData().Message ?? global::System.String.Empty)}"); - return ; - } - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Information: - { - // When an operation supports asjob, Information messages must go thru verbose. - WriteVerbose($"INFORMATION: {(messageData().Message ?? global::System.String.Empty)}"); - return ; - } - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Debug: - { - WriteDebug($"{(messageData().Message ?? global::System.String.Empty)}"); - return ; - } - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Error: - { - WriteError(new global::System.Management.Automation.ErrorRecord( new global::System.Exception(messageData().Message), string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null ) ); - return ; - } - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress: - { - var data = messageData(); - int progress = (int)data.Value; - string activityMessage, statusDescription; - global::System.Management.Automation.ProgressRecordType recordType; - if (progress < 100) - { - activityMessage = "In progress"; - statusDescription = "Checking operation status"; - recordType = System.Management.Automation.ProgressRecordType.Processing; - } - else - { - activityMessage = "Completed"; - statusDescription = "Completed"; - recordType = System.Management.Automation.ProgressRecordType.Completed; - } - WriteProgress(new global::System.Management.Automation.ProgressRecord(1, activityMessage, statusDescription) - { - PercentComplete = progress, - RecordType = recordType - }); - return ; - } - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.DelayBeforePolling: - { - var data = messageData(); - if (true == MyInvocation?.BoundParameters?.ContainsKey("NoWait")) - { - if (data.ResponseMessage is System.Net.Http.HttpResponseMessage response) - { - var asyncOperation = response.GetFirstHeader(@"Azure-AsyncOperation"); - var location = response.GetFirstHeader(@"Location"); - var uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? response.RequestMessage.RequestUri.AbsoluteUri : location : asyncOperation; - WriteObject(new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell.AsyncOperationResponse { Target = uri }); - // do nothing more. - data.Cancel(); - return; - } - } - else - { - if (data.ResponseMessage is System.Net.Http.HttpResponseMessage response) - { - int delay = (int)(response.Headers.RetryAfter?.Delta?.TotalSeconds ?? 30); - WriteDebug($"Delaying {delay} seconds before polling."); - for (var now = 0; now < delay; ++now) - { - WriteProgress(new global::System.Management.Automation.ProgressRecord(1, "In progress", "Checking operation status") - { - PercentComplete = now * 100 / delay - }); - await global::System.Threading.Tasks.Task.Delay(1000, token); - } - } - } - break; - } - } - await Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.Signal(id, token, messageData, (i, t, m) => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(i, t, () => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.EventDataConverter.ConvertFrom(m()) as Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.EventData), InvocationInformation, this.ParameterSetName, __correlationId, __processRecordId, null ); - if (token.IsCancellationRequested) - { - return ; - } - WriteDebug($"{id}: {(messageData().Message ?? global::System.String.Empty)}"); - } - } - - /// Performs execution of the command. - protected override void ProcessRecord() - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletProcessRecordStart).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - __processRecordId = System.Guid.NewGuid().ToString(); - try - { - // work - if (ShouldProcess($"Call remote 'MachineRunCommandsCreateOrUpdate' operation")) - { - if (true == MyInvocation?.BoundParameters?.ContainsKey("AsJob")) - { - var instance = this.Clone(); - var job = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell.AsyncJob(instance, this.MyInvocation.Line, this.MyInvocation.MyCommand.Name, this._cancellationTokenSource.Token, this._cancellationTokenSource.Cancel); - JobRepository.Add(job); - var task = instance.ProcessRecordAsync(); - job.Monitor(task); - WriteObject(job); - } - else - { - using( var asyncCommandRuntime = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell.AsyncCommandRuntime(this, ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token) ) - { - asyncCommandRuntime.Wait( ProcessRecordAsync(),((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token); - } - } - } - } - catch (global::System.AggregateException aggregateException) - { - // unroll the inner exceptions to get the root cause - foreach( var innerException in aggregateException.Flatten().InnerExceptions ) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletException, $"{innerException.GetType().Name} - {innerException.Message} : {innerException.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - // Write exception out to error channel. - WriteError( new global::System.Management.Automation.ErrorRecord(innerException,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); - } - } - catch (global::System.Exception exception) when ((exception as System.Management.Automation.PipelineStoppedException)== null || (exception as System.Management.Automation.PipelineStoppedException).InnerException != null) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletException, $"{exception.GetType().Name} - {exception.Message} : {exception.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - // Write exception out to error channel. - WriteError( new global::System.Management.Automation.ErrorRecord(exception,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); - } - finally - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletProcessRecordEnd).Wait(); - } - } - - /// Performs execution of the command, working asynchronously if required. - /// - /// A that will be complete when handling of the method is completed. - /// - protected async global::System.Threading.Tasks.Task ProcessRecordAsync() - { - using( NoSynchronizationContext ) - { - await ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - Pipeline = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName, this.ExtensibleParameters); - if (null != HttpPipelinePrepend) - { - Pipeline.Prepend((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelinePrepend) ?? HttpPipelinePrepend); - } - if (null != HttpPipelineAppend) - { - Pipeline.Append((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelineAppend) ?? HttpPipelineAppend); - } - // get the client instance - try - { - await ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - if (MachineInputObject?.Id != null) - { - this.MachineInputObject.Id += $"/runCommands/{(global::System.Uri.EscapeDataString(this.RunCommandName.ToString()))}"; - RunCommandProperty = await this.Client.MachineRunCommandsGetViaIdentityWithResult(MachineInputObject.Id, this, Pipeline); - this.UpdateRunCommandProperty(); - await this.Client.MachineRunCommandsCreateOrUpdateViaIdentity(MachineInputObject.Id, RunCommandProperty, onOk, onDefault, this, Pipeline, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate); - } - else - { - // try to call with PATH parameters from Input Object - if (null == MachineInputObject.SubscriptionId) - { - ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("MachineInputObject has null value for MachineInputObject.SubscriptionId"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, MachineInputObject) ); - } - if (null == MachineInputObject.ResourceGroupName) - { - ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("MachineInputObject has null value for MachineInputObject.ResourceGroupName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, MachineInputObject) ); - } - if (null == MachineInputObject.MachineName) - { - ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("MachineInputObject has null value for MachineInputObject.MachineName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, MachineInputObject) ); - } - RunCommandProperty = await this.Client.MachineRunCommandsGetWithResult(MachineInputObject.SubscriptionId ?? null, MachineInputObject.ResourceGroupName ?? null, MachineInputObject.MachineName ?? null, RunCommandName, this, Pipeline); - this.UpdateRunCommandProperty(); - await this.Client.MachineRunCommandsCreateOrUpdate(MachineInputObject.SubscriptionId ?? null, MachineInputObject.ResourceGroupName ?? null, MachineInputObject.MachineName ?? null, RunCommandName, RunCommandProperty, onOk, onDefault, this, Pipeline, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate); - } - await ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - } - catch (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.UndeclaredResponseException urexception) - { - WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { RunCommandName=RunCommandName}) - { - ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } - }); - } - finally - { - await ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletProcessRecordAsyncEnd); - } - } - } - - /// Interrupts currently running code within the command. - protected override void StopProcessing() - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Cancel(); - base.StopProcessing(); - } - - /// - /// Initializes a new instance of the cmdlet class. - /// - public UpdateAzConnectedMachineRunCommand_UpdateViaIdentityMachine() - { - - } - - private void UpdateRunCommandProperty() - { - if ((bool)(true == this.MyInvocation?.BoundParameters.ContainsKey("RunCommandProperty"))) - { - this.RunCommandProperty = (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand)(this.MyInvocation?.BoundParameters["RunCommandProperty"]); - } - } - - /// - new protected void WriteObject(object sendToPipeline) - { - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); - base.WriteObject(sendToPipeline); - } - - /// - /// - new protected void WriteObject(object sendToPipeline, bool enumerateCollection) - { - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); - base.WriteObject(sendToPipeline, enumerateCollection); - } - - /// - /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). - /// - /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorResponse - /// from the remote call - /// - /// A that will be complete when handling of the method is completed. - /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) - { - using( NoSynchronizationContext ) - { - var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); - overrideOnDefault(responseMessage, response, ref _returnNow); - // if overrideOnDefault has returned true, then return right away. - if ((null != _returnNow && await _returnNow)) - { - return ; - } - // Error Response : default - var code = (await response)?.Code; - var message = (await response)?.Message; - if ((null == code || null == message)) - { - // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.RestException(responseMessage, await response); - WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) - { - ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } - }); - } - else - { - WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) - { - ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } - }); - } - } - } - - /// a delegate that is called when the remote service returns 200 (OK). - /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand - /// from the remote call - /// - /// A that will be complete when handling of the method is completed. - /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) - { - using( NoSynchronizationContext ) - { - var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); - overrideOnOk(responseMessage, response, ref _returnNow); - // if overrideOnOk has returned true, then return right away. - if ((null != _returnNow && await _returnNow)) - { - return ; - } - // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand - var result = (await response); - if (null != result) - { - if (0 == _responseSize) - { - _firstResponse = result; - _responseSize = 1; - } - else - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); - } - WriteObject(result.AddMultipleTypeNameIntoPSObject()); - _responseSize = 2; - } - } - } - } - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedMachineRunCommand_UpdateViaIdentityMachineExpanded.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedMachineRunCommand_UpdateViaIdentityMachineExpanded.cs deleted file mode 100644 index fb2d5521a5e6..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedMachineRunCommand_UpdateViaIdentityMachineExpanded.cs +++ /dev/null @@ -1,895 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets -{ - using static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Extensions; - using Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell; - using Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Cmdlets; - using System; - - /// The operation to update a run command. - /// - /// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/runCommands/{runCommandName}" - /// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/runCommands/{runCommandName}" - /// - [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzConnectedMachineRunCommand_UpdateViaIdentityMachineExpanded", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand))] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"The operation to update a run command.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - public partial class UpdateAzConnectedMachineRunCommand_UpdateViaIdentityMachineExpanded : global::System.Management.Automation.PSCmdlet, - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IContext - { - /// A unique id generatd for the this cmdlet when it is instantiated. - private string __correlationId = System.Guid.NewGuid().ToString(); - - /// A copy of the Invocation Info (necessary to allow asJob to clone this cmdlet) - private global::System.Management.Automation.InvocationInfo __invocationInfo; - - /// A unique id generatd for the this cmdlet when ProcessRecord() is called. - private string __processRecordId; - - /// - /// The for this operation. - /// - private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); - - /// A dictionary to carry over additional data for pipeline. - private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - - /// A buffer to record first returned object in response. - private object _firstResponse = null; - - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - - /// Describes a Run Command - private Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand _runCommandPropertiesBody = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.MachineRunCommand(); - - /// when specified, runs this cmdlet as a PowerShell job - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public global::System.Management.Automation.SwitchParameter AsJob { get; set; } - - /// - /// Optional. If set to true, provisioning will complete as soon as script starts and will not wait for script to complete. - /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Optional. If set to true, provisioning will complete as soon as script starts and will not wait for script to complete.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Optional. If set to true, provisioning will complete as soon as script starts and will not wait for script to complete.", - SerializedName = @"asyncExecution", - PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter AsyncExecution { get => _runCommandPropertiesBody.AsyncExecution ?? default(global::System.Management.Automation.SwitchParameter); set => _runCommandPropertiesBody.AsyncExecution = value; } - - /// Wait for .NET debugger to attach - [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public global::System.Management.Automation.SwitchParameter Break { get; set; } - - /// Accessor for cancellationTokenSource. - public global::System.Threading.CancellationTokenSource CancellationTokenSource { get => _cancellationTokenSource ; set { _cancellationTokenSource = value; } } - - /// The reference to the client API class. - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ConnectedMachine Client => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.ClientAPI; - - /// - /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet - /// against a different subscription - /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] - [global::System.Management.Automation.ValidateNotNull] - [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Azure)] - public global::System.Management.Automation.PSObject DefaultProfile { get; set; } - - /// - /// Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided. - /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided.", - SerializedName = @"clientId", - PossibleTypes = new [] { typeof(string) })] - public string ErrorBlobManagedIdentityClientId { get => _runCommandPropertiesBody.ErrorBlobManagedIdentityClientId ?? null; set => _runCommandPropertiesBody.ErrorBlobManagedIdentityClientId = value; } - - /// - /// Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided. - /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided.", - SerializedName = @"objectId", - PossibleTypes = new [] { typeof(string) })] - public string ErrorBlobManagedIdentityObjectId { get => _runCommandPropertiesBody.ErrorBlobManagedIdentityObjectId ?? null; set => _runCommandPropertiesBody.ErrorBlobManagedIdentityObjectId = value; } - - /// - /// Specifies the Azure storage blob where script error stream will be uploaded. Use a SAS URI with read, append, create, - /// write access OR use managed identity to provide the VM access to the blob. Refer errorBlobManagedIdentity parameter. - /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Specifies the Azure storage blob where script error stream will be uploaded. Use a SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob. Refer errorBlobManagedIdentity parameter.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Specifies the Azure storage blob where script error stream will be uploaded. Use a SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob. Refer errorBlobManagedIdentity parameter.", - SerializedName = @"errorBlobUri", - PossibleTypes = new [] { typeof(string) })] - public string ErrorBlobUri { get => _runCommandPropertiesBody.ErrorBlobUri ?? null; set => _runCommandPropertiesBody.ErrorBlobUri = value; } - - /// Accessor for extensibleParameters. - public global::System.Collections.Generic.IDictionary ExtensibleParameters { get => _extensibleParameters ; } - - /// SendAsync Pipeline Steps to be appended to the front of the pipeline - [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] - [global::System.Management.Automation.ValidateNotNull] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SendAsyncStep[] HttpPipelineAppend { get; set; } - - /// SendAsync Pipeline Steps to be prepended to the front of the pipeline - [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be prepended to the front of the pipeline")] - [global::System.Management.Automation.ValidateNotNull] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SendAsyncStep[] HttpPipelinePrepend { get; set; } - - /// Accessor for our copy of the InvocationInfo. - public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } - - /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentity _machineInputObject; - - /// Identity Parameter - [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Identity Parameter", ValueFromPipeline = true)] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Path)] - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentity MachineInputObject { get => this._machineInputObject; set => this._machineInputObject = value; } - - /// - /// cancellation delegate. Stops the cmdlet when called. - /// - global::System.Action Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - - /// cancellation token. - global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener.Token => _cancellationTokenSource.Token; - - /// - /// when specified, will make the remote call, and return an AsyncOperationResponse, letting the remote operation continue - /// asynchronously. - /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command asynchronously")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public global::System.Management.Automation.SwitchParameter NoWait { get; set; } - - /// - /// Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided. - /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided.", - SerializedName = @"clientId", - PossibleTypes = new [] { typeof(string) })] - public string OutputBlobManagedIdentityClientId { get => _runCommandPropertiesBody.OutputBlobManagedIdentityClientId ?? null; set => _runCommandPropertiesBody.OutputBlobManagedIdentityClientId = value; } - - /// - /// Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided. - /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided.", - SerializedName = @"objectId", - PossibleTypes = new [] { typeof(string) })] - public string OutputBlobManagedIdentityObjectId { get => _runCommandPropertiesBody.OutputBlobManagedIdentityObjectId ?? null; set => _runCommandPropertiesBody.OutputBlobManagedIdentityObjectId = value; } - - /// - /// Specifies the Azure storage blob where script output stream will be uploaded. Use a SAS URI with read, append, create, - /// write access OR use managed identity to provide the VM access to the blob. Refer outputBlobManagedIdentity parameter. - /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Specifies the Azure storage blob where script output stream will be uploaded. Use a SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob. Refer outputBlobManagedIdentity parameter. ")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Specifies the Azure storage blob where script output stream will be uploaded. Use a SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob. Refer outputBlobManagedIdentity parameter. ", - SerializedName = @"outputBlobUri", - PossibleTypes = new [] { typeof(string) })] - public string OutputBlobUri { get => _runCommandPropertiesBody.OutputBlobUri ?? null; set => _runCommandPropertiesBody.OutputBlobUri = value; } - - /// The parameters used by the script. - [global::System.Management.Automation.AllowEmptyCollection] - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The parameters used by the script.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"The parameters used by the script.", - SerializedName = @"parameters", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandInputParameter) })] - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandInputParameter[] Parameter { get => _runCommandPropertiesBody.Parameter?.ToArray() ?? null /* fixedArrayOf */; set => _runCommandPropertiesBody.Parameter = (value != null ? new System.Collections.Generic.List(value) : null); } - - /// - /// The instance of the that the remote call will use. - /// - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.HttpPipeline Pipeline { get; set; } - - /// The parameters used by the script. - [global::System.Management.Automation.AllowEmptyCollection] - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The parameters used by the script.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"The parameters used by the script.", - SerializedName = @"protectedParameters", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandInputParameter) })] - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandInputParameter[] ProtectedParameter { get => _runCommandPropertiesBody.ProtectedParameter?.ToArray() ?? null /* fixedArrayOf */; set => _runCommandPropertiesBody.ProtectedParameter = (value != null ? new System.Collections.Generic.List(value) : null); } - - /// The URI for the proxy server to use - [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "The URI for the proxy server to use")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public global::System.Uri Proxy { get; set; } - - /// Credentials for a proxy server to use for the remote call - [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Credentials for a proxy server to use for the remote call")] - [global::System.Management.Automation.ValidateNotNull] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public global::System.Management.Automation.PSCredential ProxyCredential { get; set; } - - /// Use the default credentials for the proxy - [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Use the default credentials for the proxy")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Runtime)] - public global::System.Management.Automation.SwitchParameter ProxyUseDefaultCredentials { get; set; } - - /// - /// Specifies the user account password on the machine when executing the run command. - /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Specifies the user account password on the machine when executing the run command.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Specifies the user account password on the machine when executing the run command.", - SerializedName = @"runAsPassword", - PossibleTypes = new [] { typeof(string) })] - public string RunAsPassword { get => _runCommandPropertiesBody.RunAsPassword ?? null; set => _runCommandPropertiesBody.RunAsPassword = value; } - - /// Specifies the user account on the machine when executing the run command. - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Specifies the user account on the machine when executing the run command.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Specifies the user account on the machine when executing the run command.", - SerializedName = @"runAsUser", - PossibleTypes = new [] { typeof(string) })] - public string RunAsUser { get => _runCommandPropertiesBody.RunAsUser ?? null; set => _runCommandPropertiesBody.RunAsUser = value; } - - /// Backing field for property. - private string _runCommandName; - - /// The name of the run command. - [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the run command.")] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = true, - ReadOnly = false, - Description = @"The name of the run command.", - SerializedName = @"runCommandName", - PossibleTypes = new [] { typeof(string) })] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Path)] - public string RunCommandName { get => this._runCommandName; set => this._runCommandName = value; } - - /// - /// Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided. - /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided.", - SerializedName = @"clientId", - PossibleTypes = new [] { typeof(string) })] - public string ScriptUriManagedIdentityClientId { get => _runCommandPropertiesBody.ScriptUriManagedIdentityClientId ?? null; set => _runCommandPropertiesBody.ScriptUriManagedIdentityClientId = value; } - - /// - /// Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided. - /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided.", - SerializedName = @"objectId", - PossibleTypes = new [] { typeof(string) })] - public string ScriptUriManagedIdentityObjectId { get => _runCommandPropertiesBody.ScriptUriManagedIdentityObjectId ?? null; set => _runCommandPropertiesBody.ScriptUriManagedIdentityObjectId = value; } - - /// Specifies the commandId of predefined built-in script. - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Specifies the commandId of predefined built-in script.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Specifies the commandId of predefined built-in script.", - SerializedName = @"commandId", - PossibleTypes = new [] { typeof(string) })] - public string SourceCommandId { get => _runCommandPropertiesBody.SourceCommandId ?? null; set => _runCommandPropertiesBody.SourceCommandId = value; } - - /// Specifies the script content to be executed on the machine. - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Specifies the script content to be executed on the machine.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Specifies the script content to be executed on the machine.", - SerializedName = @"script", - PossibleTypes = new [] { typeof(string) })] - public string SourceScript { get => _runCommandPropertiesBody.SourceScript ?? null; set => _runCommandPropertiesBody.SourceScript = value; } - - /// - /// Specifies the script download location. It can be either SAS URI of an Azure storage blob with read access or public URI. - /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Specifies the script download location. It can be either SAS URI of an Azure storage blob with read access or public URI.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Specifies the script download location. It can be either SAS URI of an Azure storage blob with read access or public URI.", - SerializedName = @"scriptUri", - PossibleTypes = new [] { typeof(string) })] - public string SourceScriptUri { get => _runCommandPropertiesBody.SourceScriptUri ?? null; set => _runCommandPropertiesBody.SourceScriptUri = value; } - - /// Resource tags. - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ExportAs(typeof(global::System.Collections.Hashtable))] - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Resource tags.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Resource tags.", - SerializedName = @"tags", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceTags) })] - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceTags Tag { get => _runCommandPropertiesBody.Tags ?? null /* object */; set => _runCommandPropertiesBody.Tags = value; } - - /// The timeout in seconds to execute the run command. - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The timeout in seconds to execute the run command.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"The timeout in seconds to execute the run command.", - SerializedName = @"timeoutInSeconds", - PossibleTypes = new [] { typeof(int) })] - public int TimeoutInSecond { get => _runCommandPropertiesBody.TimeoutInSecond ?? default(int); set => _runCommandPropertiesBody.TimeoutInSecond = value; } - - /// - /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what - /// happens on that response. Implement this method in a partial class to enable this behavior - /// - /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorResponse - /// from the remote call - /// /// Determines if the rest of the onDefault method should be processed, or if the method should - /// return immediately (set to true to skip further processing ) - - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); - - /// - /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens - /// on that response. Implement this method in a partial class to enable this behavior - /// - /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand - /// from the remote call - /// /// Determines if the rest of the onOk method should be processed, or if the method should return - /// immediately (set to true to skip further processing ) - - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); - - /// - /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) - /// - protected override void BeginProcessing() - { - var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.GetTelemetryId.Invoke(); - if (telemetryId != "" && telemetryId != "internal") - { - __correlationId = telemetryId; - } - Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); - if (Break) - { - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.AttachDebugger.Break(); - } - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletBeginProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - } - - /// Creates a duplicate instance of this cmdlet (via JSON serialization). - /// - /// a duplicate instance of UpdateAzConnectedMachineRunCommand_UpdateViaIdentityMachineExpanded - /// - public Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets.UpdateAzConnectedMachineRunCommand_UpdateViaIdentityMachineExpanded Clone() - { - var clone = new UpdateAzConnectedMachineRunCommand_UpdateViaIdentityMachineExpanded(); - clone.__correlationId = this.__correlationId; - clone.__processRecordId = this.__processRecordId; - clone.DefaultProfile = this.DefaultProfile; - clone.InvocationInformation = this.InvocationInformation; - clone.Proxy = this.Proxy; - clone.Pipeline = this.Pipeline; - clone.AsJob = this.AsJob; - clone.Break = this.Break; - clone.ProxyCredential = this.ProxyCredential; - clone.ProxyUseDefaultCredentials = this.ProxyUseDefaultCredentials; - clone.HttpPipelinePrepend = this.HttpPipelinePrepend; - clone.HttpPipelineAppend = this.HttpPipelineAppend; - clone._runCommandPropertiesBody = this._runCommandPropertiesBody; - clone.RunCommandName = this.RunCommandName; - return clone; - } - - /// Performs clean-up after the command execution - protected override void EndProcessing() - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } - var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); - if (telemetryInfo != null) - { - telemetryInfo.TryGetValue("ShowSecretsWarning", out var showSecretsWarning); - telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); - telemetryInfo.TryGetValue("InvocationName", out var invocationName); - if (showSecretsWarning == "true") - { - if (string.IsNullOrEmpty(sanitizedProperties)) - { - WriteWarning($"The output of cmdlet {invocationName} may compromise security by showing secrets. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); - } - else - { - WriteWarning($"The output of cmdlet {invocationName} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); - } - } - } - } - - /// Handles/Dispatches events during the call to the REST service. - /// The message id - /// The message cancellation token. When this call is cancelled, this should be true - /// Detailed message data for the message event. - /// - /// A that will be complete when handling of the message is completed. - /// - async global::System.Threading.Tasks.Task Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener.Signal(string id, global::System.Threading.CancellationToken token, global::System.Func messageData) - { - using( NoSynchronizationContext ) - { - if (token.IsCancellationRequested) - { - return ; - } - - switch ( id ) - { - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Verbose: - { - WriteVerbose($"{(messageData().Message ?? global::System.String.Empty)}"); - return ; - } - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Warning: - { - WriteWarning($"{(messageData().Message ?? global::System.String.Empty)}"); - return ; - } - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Information: - { - // When an operation supports asjob, Information messages must go thru verbose. - WriteVerbose($"INFORMATION: {(messageData().Message ?? global::System.String.Empty)}"); - return ; - } - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Debug: - { - WriteDebug($"{(messageData().Message ?? global::System.String.Empty)}"); - return ; - } - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Error: - { - WriteError(new global::System.Management.Automation.ErrorRecord( new global::System.Exception(messageData().Message), string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null ) ); - return ; - } - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress: - { - var data = messageData(); - int progress = (int)data.Value; - string activityMessage, statusDescription; - global::System.Management.Automation.ProgressRecordType recordType; - if (progress < 100) - { - activityMessage = "In progress"; - statusDescription = "Checking operation status"; - recordType = System.Management.Automation.ProgressRecordType.Processing; - } - else - { - activityMessage = "Completed"; - statusDescription = "Completed"; - recordType = System.Management.Automation.ProgressRecordType.Completed; - } - WriteProgress(new global::System.Management.Automation.ProgressRecord(1, activityMessage, statusDescription) - { - PercentComplete = progress, - RecordType = recordType - }); - return ; - } - case Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.DelayBeforePolling: - { - var data = messageData(); - if (true == MyInvocation?.BoundParameters?.ContainsKey("NoWait")) - { - if (data.ResponseMessage is System.Net.Http.HttpResponseMessage response) - { - var asyncOperation = response.GetFirstHeader(@"Azure-AsyncOperation"); - var location = response.GetFirstHeader(@"Location"); - var uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? response.RequestMessage.RequestUri.AbsoluteUri : location : asyncOperation; - WriteObject(new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell.AsyncOperationResponse { Target = uri }); - // do nothing more. - data.Cancel(); - return; - } - } - else - { - if (data.ResponseMessage is System.Net.Http.HttpResponseMessage response) - { - int delay = (int)(response.Headers.RetryAfter?.Delta?.TotalSeconds ?? 30); - WriteDebug($"Delaying {delay} seconds before polling."); - for (var now = 0; now < delay; ++now) - { - WriteProgress(new global::System.Management.Automation.ProgressRecord(1, "In progress", "Checking operation status") - { - PercentComplete = now * 100 / delay - }); - await global::System.Threading.Tasks.Task.Delay(1000, token); - } - } - } - break; - } - } - await Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.Signal(id, token, messageData, (i, t, m) => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(i, t, () => Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.EventDataConverter.ConvertFrom(m()) as Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.EventData), InvocationInformation, this.ParameterSetName, __correlationId, __processRecordId, null ); - if (token.IsCancellationRequested) - { - return ; - } - WriteDebug($"{id}: {(messageData().Message ?? global::System.String.Empty)}"); - } - } - - /// Performs execution of the command. - protected override void ProcessRecord() - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletProcessRecordStart).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - __processRecordId = System.Guid.NewGuid().ToString(); - try - { - // work - if (ShouldProcess($"Call remote 'MachineRunCommandsCreateOrUpdate' operation")) - { - if (true == MyInvocation?.BoundParameters?.ContainsKey("AsJob")) - { - var instance = this.Clone(); - var job = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell.AsyncJob(instance, this.MyInvocation.Line, this.MyInvocation.MyCommand.Name, this._cancellationTokenSource.Token, this._cancellationTokenSource.Cancel); - JobRepository.Add(job); - var task = instance.ProcessRecordAsync(); - job.Monitor(task); - WriteObject(job); - } - else - { - using( var asyncCommandRuntime = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell.AsyncCommandRuntime(this, ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token) ) - { - asyncCommandRuntime.Wait( ProcessRecordAsync(),((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token); - } - } - } - } - catch (global::System.AggregateException aggregateException) - { - // unroll the inner exceptions to get the root cause - foreach( var innerException in aggregateException.Flatten().InnerExceptions ) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletException, $"{innerException.GetType().Name} - {innerException.Message} : {innerException.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - // Write exception out to error channel. - WriteError( new global::System.Management.Automation.ErrorRecord(innerException,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); - } - } - catch (global::System.Exception exception) when ((exception as System.Management.Automation.PipelineStoppedException)== null || (exception as System.Management.Automation.PipelineStoppedException).InnerException != null) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletException, $"{exception.GetType().Name} - {exception.Message} : {exception.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - // Write exception out to error channel. - WriteError( new global::System.Management.Automation.ErrorRecord(exception,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); - } - finally - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletProcessRecordEnd).Wait(); - } - } - - /// Performs execution of the command, working asynchronously if required. - /// - /// A that will be complete when handling of the method is completed. - /// - protected async global::System.Threading.Tasks.Task ProcessRecordAsync() - { - using( NoSynchronizationContext ) - { - await ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - Pipeline = Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName, this.ExtensibleParameters); - if (null != HttpPipelinePrepend) - { - Pipeline.Prepend((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelinePrepend) ?? HttpPipelinePrepend); - } - if (null != HttpPipelineAppend) - { - Pipeline.Append((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelineAppend) ?? HttpPipelineAppend); - } - // get the client instance - try - { - await ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - if (MachineInputObject?.Id != null) - { - this.MachineInputObject.Id += $"/runCommands/{(global::System.Uri.EscapeDataString(this.RunCommandName.ToString()))}"; - _runCommandPropertiesBody = await this.Client.MachineRunCommandsGetViaIdentityWithResult(MachineInputObject.Id, this, Pipeline); - this.Update_runCommandPropertiesBody(); - await this.Client.MachineRunCommandsCreateOrUpdateViaIdentity(MachineInputObject.Id, _runCommandPropertiesBody, onOk, onDefault, this, Pipeline, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate); - } - else - { - // try to call with PATH parameters from Input Object - if (null == MachineInputObject.SubscriptionId) - { - ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("MachineInputObject has null value for MachineInputObject.SubscriptionId"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, MachineInputObject) ); - } - if (null == MachineInputObject.ResourceGroupName) - { - ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("MachineInputObject has null value for MachineInputObject.ResourceGroupName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, MachineInputObject) ); - } - if (null == MachineInputObject.MachineName) - { - ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("MachineInputObject has null value for MachineInputObject.MachineName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, MachineInputObject) ); - } - _runCommandPropertiesBody = await this.Client.MachineRunCommandsGetWithResult(MachineInputObject.SubscriptionId ?? null, MachineInputObject.ResourceGroupName ?? null, MachineInputObject.MachineName ?? null, RunCommandName, this, Pipeline); - this.Update_runCommandPropertiesBody(); - await this.Client.MachineRunCommandsCreateOrUpdate(MachineInputObject.SubscriptionId ?? null, MachineInputObject.ResourceGroupName ?? null, MachineInputObject.MachineName ?? null, RunCommandName, _runCommandPropertiesBody, onOk, onDefault, this, Pipeline, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.SerializationMode.IncludeUpdate); - } - await ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - } - catch (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.UndeclaredResponseException urexception) - { - WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { RunCommandName=RunCommandName}) - { - ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } - }); - } - finally - { - await ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.CmdletProcessRecordAsyncEnd); - } - } - } - - /// Interrupts currently running code within the command. - protected override void StopProcessing() - { - ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener)this).Cancel(); - base.StopProcessing(); - } - - /// - /// Initializes a new instance of the cmdlet - /// class. - /// - public UpdateAzConnectedMachineRunCommand_UpdateViaIdentityMachineExpanded() - { - - } - - private void Update_runCommandPropertiesBody() - { - if ((bool)(true == this.MyInvocation?.BoundParameters.ContainsKey("Tag"))) - { - this.Tag = (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceTags)(this.MyInvocation?.BoundParameters["Tag"]); - } - if ((bool)(true == this.MyInvocation?.BoundParameters.ContainsKey("Parameter"))) - { - this.Parameter = (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandInputParameter[])(this.MyInvocation?.BoundParameters["Parameter"]); - } - if ((bool)(true == this.MyInvocation?.BoundParameters.ContainsKey("ProtectedParameter"))) - { - this.ProtectedParameter = (Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandInputParameter[])(this.MyInvocation?.BoundParameters["ProtectedParameter"]); - } - if ((bool)(true == this.MyInvocation?.BoundParameters.ContainsKey("AsyncExecution"))) - { - this.AsyncExecution = (global::System.Management.Automation.SwitchParameter)(this.MyInvocation?.BoundParameters["AsyncExecution"]); - } - if ((bool)(true == this.MyInvocation?.BoundParameters.ContainsKey("RunAsUser"))) - { - this.RunAsUser = (string)(this.MyInvocation?.BoundParameters["RunAsUser"]); - } - if ((bool)(true == this.MyInvocation?.BoundParameters.ContainsKey("RunAsPassword"))) - { - this.RunAsPassword = (string)(this.MyInvocation?.BoundParameters["RunAsPassword"]); - } - if ((bool)(true == this.MyInvocation?.BoundParameters.ContainsKey("TimeoutInSecond"))) - { - this.TimeoutInSecond = (int)(this.MyInvocation?.BoundParameters["TimeoutInSecond"]); - } - if ((bool)(true == this.MyInvocation?.BoundParameters.ContainsKey("OutputBlobUri"))) - { - this.OutputBlobUri = (string)(this.MyInvocation?.BoundParameters["OutputBlobUri"]); - } - if ((bool)(true == this.MyInvocation?.BoundParameters.ContainsKey("ErrorBlobUri"))) - { - this.ErrorBlobUri = (string)(this.MyInvocation?.BoundParameters["ErrorBlobUri"]); - } - if ((bool)(true == this.MyInvocation?.BoundParameters.ContainsKey("SourceScript"))) - { - this.SourceScript = (string)(this.MyInvocation?.BoundParameters["SourceScript"]); - } - if ((bool)(true == this.MyInvocation?.BoundParameters.ContainsKey("SourceScriptUri"))) - { - this.SourceScriptUri = (string)(this.MyInvocation?.BoundParameters["SourceScriptUri"]); - } - if ((bool)(true == this.MyInvocation?.BoundParameters.ContainsKey("SourceCommandId"))) - { - this.SourceCommandId = (string)(this.MyInvocation?.BoundParameters["SourceCommandId"]); - } - if ((bool)(true == this.MyInvocation?.BoundParameters.ContainsKey("OutputBlobManagedIdentityClientId"))) - { - this.OutputBlobManagedIdentityClientId = (string)(this.MyInvocation?.BoundParameters["OutputBlobManagedIdentityClientId"]); - } - if ((bool)(true == this.MyInvocation?.BoundParameters.ContainsKey("OutputBlobManagedIdentityObjectId"))) - { - this.OutputBlobManagedIdentityObjectId = (string)(this.MyInvocation?.BoundParameters["OutputBlobManagedIdentityObjectId"]); - } - if ((bool)(true == this.MyInvocation?.BoundParameters.ContainsKey("ErrorBlobManagedIdentityClientId"))) - { - this.ErrorBlobManagedIdentityClientId = (string)(this.MyInvocation?.BoundParameters["ErrorBlobManagedIdentityClientId"]); - } - if ((bool)(true == this.MyInvocation?.BoundParameters.ContainsKey("ErrorBlobManagedIdentityObjectId"))) - { - this.ErrorBlobManagedIdentityObjectId = (string)(this.MyInvocation?.BoundParameters["ErrorBlobManagedIdentityObjectId"]); - } - if ((bool)(true == this.MyInvocation?.BoundParameters.ContainsKey("ScriptUriManagedIdentityClientId"))) - { - this.ScriptUriManagedIdentityClientId = (string)(this.MyInvocation?.BoundParameters["ScriptUriManagedIdentityClientId"]); - } - if ((bool)(true == this.MyInvocation?.BoundParameters.ContainsKey("ScriptUriManagedIdentityObjectId"))) - { - this.ScriptUriManagedIdentityObjectId = (string)(this.MyInvocation?.BoundParameters["ScriptUriManagedIdentityObjectId"]); - } - } - - /// - new protected void WriteObject(object sendToPipeline) - { - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); - base.WriteObject(sendToPipeline); - } - - /// - /// - new protected void WriteObject(object sendToPipeline, bool enumerateCollection) - { - Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); - base.WriteObject(sendToPipeline, enumerateCollection); - } - - /// - /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). - /// - /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorResponse - /// from the remote call - /// - /// A that will be complete when handling of the method is completed. - /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) - { - using( NoSynchronizationContext ) - { - var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); - overrideOnDefault(responseMessage, response, ref _returnNow); - // if overrideOnDefault has returned true, then return right away. - if ((null != _returnNow && await _returnNow)) - { - return ; - } - // Error Response : default - var code = (await response)?.Code; - var message = (await response)?.Message; - if ((null == code || null == message)) - { - // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.RestException(responseMessage, await response); - WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) - { - ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } - }); - } - else - { - WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) - { - ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } - }); - } - } - } - - /// a delegate that is called when the remote service returns 200 (OK). - /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand - /// from the remote call - /// - /// A that will be complete when handling of the method is completed. - /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) - { - using( NoSynchronizationContext ) - { - var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); - overrideOnOk(responseMessage, response, ref _returnNow); - // if overrideOnOk has returned true, then return right away. - if ((null != _returnNow && await _returnNow)) - { - return ; - } - // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand - var result = (await response); - if (null != result) - { - if (0 == _responseSize) - { - _firstResponse = result; - _responseSize = 1; - } - else - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); - } - WriteObject(result.AddMultipleTypeNameIntoPSObject()); - _responseSize = 2; - } - } - } - } - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedMachine_Update.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedMachine_Update.cs index 252ff47b667f..ea0dcb717b43 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedMachine_Update.cs +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedMachine_Update.cs @@ -19,7 +19,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachine))] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"The operation to update a hybrid machine.")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}", ApiVersion = "2024-05-20-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}", ApiVersion = "2024-07-10")] public partial class UpdateAzConnectedMachine_Update : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IContext diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedMachine_UpdateExpanded.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedMachine_UpdateExpanded.cs index 99f9e1a64b18..4e86ed52604f 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedMachine_UpdateExpanded.cs +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedMachine_UpdateExpanded.cs @@ -19,7 +19,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachine))] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"The operation to update a hybrid machine.")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}", ApiVersion = "2024-05-20-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}", ApiVersion = "2024-07-10")] public partial class UpdateAzConnectedMachine_UpdateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IContext diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedMachine_UpdateViaIdentity.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedMachine_UpdateViaIdentity.cs index c30273520ea7..0439c1aafb9a 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedMachine_UpdateViaIdentity.cs +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedMachine_UpdateViaIdentity.cs @@ -19,7 +19,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachine))] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"The operation to update a hybrid machine.")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}", ApiVersion = "2024-05-20-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}", ApiVersion = "2024-07-10")] public partial class UpdateAzConnectedMachine_UpdateViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IContext diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedMachine_UpdateViaIdentityExpanded.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedMachine_UpdateViaIdentityExpanded.cs index 4e4d7ec69a1c..15a09fae208b 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedMachine_UpdateViaIdentityExpanded.cs +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedMachine_UpdateViaIdentityExpanded.cs @@ -19,7 +19,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachine))] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"The operation to update a hybrid machine.")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}", ApiVersion = "2024-05-20-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}", ApiVersion = "2024-07-10")] public partial class UpdateAzConnectedMachine_UpdateViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IContext diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedMachine_UpdateViaJsonFilePath.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedMachine_UpdateViaJsonFilePath.cs index cd339a3d3f61..d5616d9d45dc 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedMachine_UpdateViaJsonFilePath.cs +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedMachine_UpdateViaJsonFilePath.cs @@ -19,7 +19,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachine))] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"The operation to update a hybrid machine.")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}", ApiVersion = "2024-05-20-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}", ApiVersion = "2024-07-10")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.NotSuggestDefaultParameterSet] public partial class UpdateAzConnectedMachine_UpdateViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedMachine_UpdateViaJsonString.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedMachine_UpdateViaJsonString.cs index dc10c01e84ee..3decf9643df6 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedMachine_UpdateViaJsonString.cs +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedMachine_UpdateViaJsonString.cs @@ -19,7 +19,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachine))] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"The operation to update a hybrid machine.")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}", ApiVersion = "2024-05-20-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}", ApiVersion = "2024-07-10")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.NotSuggestDefaultParameterSet] public partial class UpdateAzConnectedMachine_UpdateViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedPrivateLinkScopeTag_Update.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedPrivateLinkScopeTag_Update.cs index e63f01ce3754..90fb1db788f1 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedPrivateLinkScopeTag_Update.cs +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedPrivateLinkScopeTag_Update.cs @@ -20,7 +20,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridComputePrivateLinkScope))] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"update an existing PrivateLinkScope's tags. To update other fields use the CreateOrupdate method.")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}", ApiVersion = "2024-05-20-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}", ApiVersion = "2024-07-10")] public partial class UpdateAzConnectedPrivateLinkScopeTag_Update : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IContext diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedPrivateLinkScopeTag_UpdateExpanded.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedPrivateLinkScopeTag_UpdateExpanded.cs index d8465b9db6f2..843eb58ea419 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedPrivateLinkScopeTag_UpdateExpanded.cs +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedPrivateLinkScopeTag_UpdateExpanded.cs @@ -20,7 +20,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridComputePrivateLinkScope))] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"update an existing PrivateLinkScope's tags. To update other fields use the CreateOrupdate method.")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}", ApiVersion = "2024-05-20-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}", ApiVersion = "2024-07-10")] public partial class UpdateAzConnectedPrivateLinkScopeTag_UpdateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IContext diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedPrivateLinkScopeTag_UpdateViaIdentity.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedPrivateLinkScopeTag_UpdateViaIdentity.cs index c7782af3d90f..29c4f35792e2 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedPrivateLinkScopeTag_UpdateViaIdentity.cs +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedPrivateLinkScopeTag_UpdateViaIdentity.cs @@ -20,7 +20,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridComputePrivateLinkScope))] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"update an existing PrivateLinkScope's tags. To update other fields use the CreateOrupdate method.")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}", ApiVersion = "2024-05-20-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}", ApiVersion = "2024-07-10")] public partial class UpdateAzConnectedPrivateLinkScopeTag_UpdateViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IContext diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedPrivateLinkScopeTag_UpdateViaIdentityExpanded.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedPrivateLinkScopeTag_UpdateViaIdentityExpanded.cs index 7dd700bc84a9..729fe7aa02ca 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedPrivateLinkScopeTag_UpdateViaIdentityExpanded.cs +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedPrivateLinkScopeTag_UpdateViaIdentityExpanded.cs @@ -20,7 +20,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridComputePrivateLinkScope))] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"update an existing PrivateLinkScope's tags. To update other fields use the CreateOrupdate method.")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}", ApiVersion = "2024-05-20-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}", ApiVersion = "2024-07-10")] public partial class UpdateAzConnectedPrivateLinkScopeTag_UpdateViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IContext diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedPrivateLinkScopeTag_UpdateViaJsonFilePath.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedPrivateLinkScopeTag_UpdateViaJsonFilePath.cs index 7c455a0f9211..b1040962022b 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedPrivateLinkScopeTag_UpdateViaJsonFilePath.cs +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedPrivateLinkScopeTag_UpdateViaJsonFilePath.cs @@ -20,7 +20,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridComputePrivateLinkScope))] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"update an existing PrivateLinkScope's tags. To update other fields use the CreateOrupdate method.")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}", ApiVersion = "2024-05-20-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}", ApiVersion = "2024-07-10")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.NotSuggestDefaultParameterSet] public partial class UpdateAzConnectedPrivateLinkScopeTag_UpdateViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedPrivateLinkScopeTag_UpdateViaJsonString.cs b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedPrivateLinkScopeTag_UpdateViaJsonString.cs index 0df3be778122..1e605eb298e3 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedPrivateLinkScopeTag_UpdateViaJsonString.cs +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/generated/cmdlets/UpdateAzConnectedPrivateLinkScopeTag_UpdateViaJsonString.cs @@ -20,7 +20,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridComputePrivateLinkScope))] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Description(@"update an existing PrivateLinkScope's tags. To update other fields use the CreateOrupdate method.")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}", ApiVersion = "2024-05-20-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}", ApiVersion = "2024-07-10")] [global::Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.NotSuggestDefaultParameterSet] public partial class UpdateAzConnectedPrivateLinkScopeTag_UpdateViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener, diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/help/Az.ConnectedMachine.md b/src/ConnectedMachine/ConnectedMachine.Autorest/help/Az.ConnectedMachine.md index 0c708c1441c2..f0cbb5f74e4c 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/help/Az.ConnectedMachine.md +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/help/Az.ConnectedMachine.md @@ -26,9 +26,6 @@ Retrieves information about the model view or the instance view of a hybrid mach ### [Get-AzConnectedMachineExtension](Get-AzConnectedMachineExtension.md) The operation to get the extension. -### [Get-AzConnectedMachineRunCommand](Get-AzConnectedMachineRunCommand.md) -The operation to get a run command. - ### [Get-AzConnectedNetworkSecurityPerimeterConfiguration](Get-AzConnectedNetworkSecurityPerimeterConfiguration.md) Gets the network security perimeter configuration for a private link scope. @@ -41,6 +38,9 @@ The operation to install patches on a hybrid machine identity in Azure. ### [Invoke-AzConnectedAssessMachinePatch](Invoke-AzConnectedAssessMachinePatch.md) The operation to assess patches on a hybrid machine identity in Azure. +### [Invoke-AzConnectedReconcileNetworkSecurityPerimeterConfiguration](Invoke-AzConnectedReconcileNetworkSecurityPerimeterConfiguration.md) +Forces the network security perimeter configuration to refresh for a private link scope. + ### [New-AzConnectedLicense](New-AzConnectedLicense.md) The operation to create a license. @@ -50,9 +50,6 @@ Create an in-memory object for LicenseDetails. ### [New-AzConnectedMachineExtension](New-AzConnectedMachineExtension.md) The operation to create the extension. -### [New-AzConnectedMachineRunCommand](New-AzConnectedMachineRunCommand.md) -The operation to create a run command. - ### [New-AzConnectedPrivateLinkScope](New-AzConnectedPrivateLinkScope.md) create (or create a Azure Arc PrivateLinkScope. Note: You cannot specify a different value for InstrumentationKey nor AppId in the Put operation. @@ -66,9 +63,6 @@ The operation to delete a hybrid machine. ### [Remove-AzConnectedMachineExtension](Remove-AzConnectedMachineExtension.md) The operation to delete the extension. -### [Remove-AzConnectedMachineRunCommand](Remove-AzConnectedMachineRunCommand.md) -The operation to delete a run command. - ### [Remove-AzConnectedPrivateLinkScope](Remove-AzConnectedPrivateLinkScope.md) Deletes a Azure Arc PrivateLinkScope. @@ -91,9 +85,6 @@ The operation to update a hybrid machine. ### [Update-AzConnectedMachineExtension](Update-AzConnectedMachineExtension.md) The operation to update the extension. -### [Update-AzConnectedMachineRunCommand](Update-AzConnectedMachineRunCommand.md) -The operation to update a run command. - ### [Update-AzConnectedPrivateLinkScopeTag](Update-AzConnectedPrivateLinkScopeTag.md) update an existing PrivateLinkScope's tags. To update other fields use the CreateOrupdate method. diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/help/Get-AzConnectedMachineRunCommand.md b/src/ConnectedMachine/ConnectedMachine.Autorest/help/Get-AzConnectedMachineRunCommand.md deleted file mode 100644 index 290f348883ac..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/help/Get-AzConnectedMachineRunCommand.md +++ /dev/null @@ -1,208 +0,0 @@ ---- -external help file: -Module Name: Az.ConnectedMachine -online version: https://learn.microsoft.com/powershell/module/az.connectedmachine/get-azconnectedmachineruncommand -schema: 2.0.0 ---- - -# Get-AzConnectedMachineRunCommand - -## SYNOPSIS -The operation to get a run command. - -## SYNTAX - -### List (Default) -``` -Get-AzConnectedMachineRunCommand -MachineName -ResourceGroupName - [-SubscriptionId ] [-Expand ] [-DefaultProfile ] [] -``` - -### Get -``` -Get-AzConnectedMachineRunCommand -MachineName -ResourceGroupName -RunCommandName - [-SubscriptionId ] [-DefaultProfile ] [] -``` - -## DESCRIPTION -The operation to get a run command. - -## EXAMPLES - -### Example 1: List all run-commands for a machine -```powershell -Get-AzConnectedMachineRunCommand -ResourceGroupName "az-sdk-test" -MachineName "testmachine" -``` - -```output -Location Name SystemDataCreatedAt SystemDataCreatedBy SystemDataCreatedByType SystemDataLastModifiedAt Syst - emDa - taLa - stMo - difi - edBy --------- ---- ------------------- ------------------- ----------------------- ------------------------ ---- -eastus2euap myRunCommand2 -eastus2euap myRunCommand3 -``` - -Lists all run-commands for a specific machine. - -### Example 2: List a specific run-command for a machine -```powershell -Get-AzConnectedMachineRunCommand -ResourceGroupName "az-sdk-test" -RunCommandName "myRunCommand2" -MachineName "testmachine" -``` - -```output -AsyncExecution : False -ErrorBlobManagedIdentityClientId : -ErrorBlobManagedIdentityObjectId : -ErrorBlobUri : -Id : /subscriptions/********-****-****-****-**********/resourceGroups/az-sdk-test/prov - iders/Microsoft.HybridCompute/machines/testmachine/runcommands/myRunCommand2 -InstanceViewEndTime : 12/4/2023 6:16:55 PM -InstanceViewError : -InstanceViewExecutionMessage : RunCommand script execution completed -InstanceViewExecutionState : Succeeded -InstanceViewExitCode : 0 -InstanceViewOutput : Hello World! -InstanceViewStartTime : 12/4/2023 6:16:55 PM -InstanceViewStatuses : -Location : eastus2euap -Name : myRunCommand2 -OutputBlobManagedIdentityClientId : -OutputBlobManagedIdentityObjectId : -OutputBlobUri : -Parameter : -ProtectedParameter : -ProvisioningState : Succeeded -ResourceGroupName : az-sdk-test -RunAsPassword : -RunAsUser : -ScriptUriManagedIdentityClientId : -ScriptUriManagedIdentityObjectId : -SourceCommandId : -SourceScript : Write-Host Hello World! -SourceScriptUri : -SystemDataCreatedAt : -SystemDataCreatedBy : -SystemDataCreatedByType : -SystemDataLastModifiedAt : -SystemDataLastModifiedBy : -SystemDataLastModifiedByType : -Tag : { - "Tag1": "Value1" - } -TimeoutInSecond : 0 -Type : Microsoft.HybridCompute/machines/runcommands -``` - -List a specific run-command for a machine - -## PARAMETERS - -### -DefaultProfile -The DefaultProfile parameter is not functional. -Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Expand -The expand expression to apply on the operation. - -```yaml -Type: System.String -Parameter Sets: List -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -MachineName -The name of the hybrid machine. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group. -The name is case insensitive. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -RunCommandName -The name of the run command. - -```yaml -Type: System.String -Parameter Sets: Get -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The ID of the target subscription. - -```yaml -Type: System.String[] -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). - -## INPUTS - -## OUTPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand - -## NOTES - -## RELATED LINKS - diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/help/Remove-AzConnectedMachineRunCommand.md b/src/ConnectedMachine/ConnectedMachine.Autorest/help/Invoke-AzConnectedReconcileNetworkSecurityPerimeterConfiguration.md similarity index 64% rename from src/ConnectedMachine/ConnectedMachine.Autorest/help/Remove-AzConnectedMachineRunCommand.md rename to src/ConnectedMachine/ConnectedMachine.Autorest/help/Invoke-AzConnectedReconcileNetworkSecurityPerimeterConfiguration.md index 10416f773dc1..bfc635bb0ebc 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/help/Remove-AzConnectedMachineRunCommand.md +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/help/Invoke-AzConnectedReconcileNetworkSecurityPerimeterConfiguration.md @@ -1,47 +1,48 @@ --- external help file: Module Name: Az.ConnectedMachine -online version: https://learn.microsoft.com/powershell/module/az.connectedmachine/remove-azconnectedmachineruncommand +online version: https://learn.microsoft.com/powershell/module/az.connectedmachine/invoke-azconnectedreconcilenetworksecurityperimeterconfiguration schema: 2.0.0 --- -# Remove-AzConnectedMachineRunCommand +# Invoke-AzConnectedReconcileNetworkSecurityPerimeterConfiguration ## SYNOPSIS -The operation to delete a run command. +Forces the network security perimeter configuration to refresh for a private link scope. ## SYNTAX -### Delete (Default) +### Reconcile (Default) ``` -Remove-AzConnectedMachineRunCommand -MachineName -ResourceGroupName -RunCommandName - [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] - [] +Invoke-AzConnectedReconcileNetworkSecurityPerimeterConfiguration -PerimeterName + -ResourceGroupName -ScopeName [-SubscriptionId ] [-DefaultProfile ] + [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] ``` -### DeleteViaIdentity +### ReconcileViaIdentity ``` -Remove-AzConnectedMachineRunCommand -InputObject [-DefaultProfile ] - [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +Invoke-AzConnectedReconcileNetworkSecurityPerimeterConfiguration -InputObject + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] ``` -### DeleteViaIdentityMachine +### ReconcileViaIdentityPrivateLinkScope ``` -Remove-AzConnectedMachineRunCommand -MachineInputObject -RunCommandName - [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +Invoke-AzConnectedReconcileNetworkSecurityPerimeterConfiguration -PerimeterName + -PrivateLinkScopeInputObject [-DefaultProfile ] [-AsJob] [-NoWait] + [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION -The operation to delete a run command. +Forces the network security perimeter configuration to refresh for a private link scope. ## EXAMPLES -### Example 1: Remove a run-command for a machine +### Example 1: Invoke Network Security Perimeter Configuration ```powershell -Remove-AzConnectedMachineRunCommand -ResourceGroupName "az-sdk-test" -RunCommandName "myRunCommand3" -MachineName "testmachine" +Invoke-AzConnectedReconcileNetworkSecurityPerimeterConfiguration -PerimeterName $env.PerimeterName -ResourceGroupName $env.ResourceGroupNameNSP -ScopeName $env.PrivateLinkScopeNameNSP ``` -Remove a run-command for a machine +Invoke Network Security Perimeter Configuration ## PARAMETERS @@ -81,7 +82,7 @@ Identity Parameter ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentity -Parameter Sets: DeleteViaIdentity +Parameter Sets: ReconcileViaIdentity Aliases: Required: True @@ -91,27 +92,27 @@ Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` -### -MachineInputObject -Identity Parameter +### -NoWait +Run the command asynchronously ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentity -Parameter Sets: DeleteViaIdentityMachine +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) Aliases: -Required: True +Required: False Position: Named Default value: None -Accept pipeline input: True (ByValue) +Accept pipeline input: False Accept wildcard characters: False ``` -### -MachineName -The name of the hybrid machine. +### -PerimeterName +The name, in the format {perimeterGuid}.{associationName}, of the Network Security Perimeter resource. ```yaml Type: System.String -Parameter Sets: Delete +Parameter Sets: Reconcile, ReconcileViaIdentityPrivateLinkScope Aliases: Required: True @@ -121,33 +122,18 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -NoWait -Run the command asynchronously - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -PassThru -Returns true when the command succeeds +### -PrivateLinkScopeInputObject +Identity Parameter ```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) +Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentity +Parameter Sets: ReconcileViaIdentityPrivateLinkScope Aliases: -Required: False +Required: True Position: Named Default value: None -Accept pipeline input: False +Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` @@ -157,7 +143,7 @@ The name is case insensitive. ```yaml Type: System.String -Parameter Sets: Delete +Parameter Sets: Reconcile Aliases: Required: True @@ -167,12 +153,12 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -RunCommandName -The name of the run command. +### -ScopeName +The name of the Azure Arc PrivateLinkScope resource. ```yaml Type: System.String -Parameter Sets: Delete, DeleteViaIdentityMachine +Parameter Sets: Reconcile Aliases: Required: True @@ -187,7 +173,7 @@ The ID of the target subscription. ```yaml Type: System.String -Parameter Sets: Delete +Parameter Sets: Reconcile Aliases: Required: False @@ -237,7 +223,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### System.Boolean +### Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationReconcileResult ## NOTES diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/help/New-AzConnectedMachineRunCommand.md b/src/ConnectedMachine/ConnectedMachine.Autorest/help/New-AzConnectedMachineRunCommand.md deleted file mode 100644 index 256f06d68be2..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/help/New-AzConnectedMachineRunCommand.md +++ /dev/null @@ -1,703 +0,0 @@ ---- -external help file: -Module Name: Az.ConnectedMachine -online version: https://learn.microsoft.com/powershell/module/az.connectedmachine/new-azconnectedmachineruncommand -schema: 2.0.0 ---- - -# New-AzConnectedMachineRunCommand - -## SYNOPSIS -The operation to create a run command. - -## SYNTAX - -### CreateExpanded (Default) -``` -New-AzConnectedMachineRunCommand -MachineName -ResourceGroupName -RunCommandName - -Location [-SubscriptionId ] [-AsyncExecution] [-ErrorBlobManagedIdentityClientId ] - [-ErrorBlobManagedIdentityObjectId ] [-ErrorBlobUri ] - [-OutputBlobManagedIdentityClientId ] [-OutputBlobManagedIdentityObjectId ] - [-OutputBlobUri ] [-Parameter ] - [-ProtectedParameter ] [-RunAsPassword ] [-RunAsUser ] - [-ScriptUriManagedIdentityClientId ] [-ScriptUriManagedIdentityObjectId ] - [-SourceCommandId ] [-SourceScript ] [-SourceScriptUri ] [-Tag ] - [-TimeoutInSecond ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] - [] -``` - -### Create -``` -New-AzConnectedMachineRunCommand -MachineName -ResourceGroupName -RunCommandName - -RunCommandProperty [-SubscriptionId ] [-DefaultProfile ] [-AsJob] - [-NoWait] [-Confirm] [-WhatIf] [] -``` - -### CreateViaIdentity -``` -New-AzConnectedMachineRunCommand -InputObject - -RunCommandProperty [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] - [] -``` - -### CreateViaIdentityExpanded -``` -New-AzConnectedMachineRunCommand -InputObject -Location [-AsyncExecution] - [-ErrorBlobManagedIdentityClientId ] [-ErrorBlobManagedIdentityObjectId ] - [-ErrorBlobUri ] [-OutputBlobManagedIdentityClientId ] - [-OutputBlobManagedIdentityObjectId ] [-OutputBlobUri ] - [-Parameter ] [-ProtectedParameter ] - [-RunAsPassword ] [-RunAsUser ] [-ScriptUriManagedIdentityClientId ] - [-ScriptUriManagedIdentityObjectId ] [-SourceCommandId ] [-SourceScript ] - [-SourceScriptUri ] [-Tag ] [-TimeoutInSecond ] [-DefaultProfile ] - [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] -``` - -### CreateViaIdentityMachine -``` -New-AzConnectedMachineRunCommand -MachineInputObject -RunCommandName - -RunCommandProperty [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] - [] -``` - -### CreateViaIdentityMachineExpanded -``` -New-AzConnectedMachineRunCommand -MachineInputObject -RunCommandName - -Location [-AsyncExecution] [-ErrorBlobManagedIdentityClientId ] - [-ErrorBlobManagedIdentityObjectId ] [-ErrorBlobUri ] - [-OutputBlobManagedIdentityClientId ] [-OutputBlobManagedIdentityObjectId ] - [-OutputBlobUri ] [-Parameter ] - [-ProtectedParameter ] [-RunAsPassword ] [-RunAsUser ] - [-ScriptUriManagedIdentityClientId ] [-ScriptUriManagedIdentityObjectId ] - [-SourceCommandId ] [-SourceScript ] [-SourceScriptUri ] [-Tag ] - [-TimeoutInSecond ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] - [] -``` - -### CreateViaJsonFilePath -``` -New-AzConnectedMachineRunCommand -MachineName -ResourceGroupName -RunCommandName - -JsonFilePath [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] - [-WhatIf] [] -``` - -### CreateViaJsonString -``` -New-AzConnectedMachineRunCommand -MachineName -ResourceGroupName -RunCommandName - -JsonString [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] - [-WhatIf] [] -``` - -### ScriptLocalPath -``` -New-AzConnectedMachineRunCommand -MachineName -ResourceGroupName -RunCommandName - -Location [-SubscriptionId ] [-AsyncExecution] [-ErrorBlobManagedIdentityClientId ] - [-ErrorBlobManagedIdentityObjectId ] [-ErrorBlobUri ] - [-OutputBlobManagedIdentityClientId ] [-OutputBlobManagedIdentityObjectId ] - [-OutputBlobUri ] [-Parameter ] - [-ProtectedParameter ] [-RunAsPassword ] [-RunAsUser ] - [-ScriptLocalPath ] [-ScriptUriManagedIdentityClientId ] - [-ScriptUriManagedIdentityObjectId ] [-SourceCommandId ] [-SourceScript ] - [-SourceScriptUri ] [-Tag ] [-TimeoutInSecond ] [-DefaultProfile ] - [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] -``` - -## DESCRIPTION -The operation to create a run command. - -## EXAMPLES - -### Example 1: Create a run-command for a machine -```powershell -New-AzConnectedMachineRunCommand -ResourceGroupName "az-sdk-test" -Location "eastus2euap" -SourceScript "Write-Host Hello World!" -RunCommandName "myRunCommand3" -MachineName "testmachine" -SubscriptionId ********-****-****-****-********** -``` - -```output -AsyncExecution : False -ErrorBlobManagedIdentityClientId : -ErrorBlobManagedIdentityObjectId : -ErrorBlobUri : -Id : /subscriptions/********-****-****-****-**********/resourceGroups/az-sdk-test/prov - iders/Microsoft.HybridCompute/machines/testmachine/runcommands/myRunCommand3 -InstanceViewEndTime : 12/5/2023 7:27:26 PM -InstanceViewError : -InstanceViewExecutionMessage : RunCommand script execution completed -InstanceViewExecutionState : Succeeded -InstanceViewExitCode : 0 -InstanceViewOutput : Hello World! -InstanceViewStartTime : 12/5/2023 7:27:24 PM -InstanceViewStatuses : -Location : eastus2euap -Name : myRunCommand3 -OutputBlobManagedIdentityClientId : -OutputBlobManagedIdentityObjectId : -OutputBlobUri : -Parameter : -ProtectedParameter : -ProvisioningState : Succeeded -ResourceGroupName : az-sdk-test -RunAsPassword : -RunAsUser : -ScriptUriManagedIdentityClientId : -ScriptUriManagedIdentityObjectId : -SourceCommandId : -SourceScript : Write-Host Hello World! -SourceScriptUri : -SystemDataCreatedAt : -SystemDataCreatedBy : -SystemDataCreatedByType : -SystemDataLastModifiedAt : -SystemDataLastModifiedBy : -SystemDataLastModifiedByType : -Tag : { - } -TimeoutInSecond : 0 -Type : Microsoft.HybridCompute/machines/runcommands -``` - -Create a run-command for a machine - -## PARAMETERS - -### -AsJob -Run the command as a job - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -AsyncExecution -Optional. -If set to true, provisioning will complete as soon as script starts and will not wait for script to complete. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: CreateExpanded, CreateViaIdentityExpanded, CreateViaIdentityMachineExpanded, ScriptLocalPath -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -DefaultProfile -The DefaultProfile parameter is not functional. -Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ErrorBlobManagedIdentityClientId -Client Id (GUID value) of the user-assigned managed identity. -ObjectId should not be used if this is provided. - -```yaml -Type: System.String -Parameter Sets: CreateExpanded, CreateViaIdentityExpanded, CreateViaIdentityMachineExpanded, ScriptLocalPath -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ErrorBlobManagedIdentityObjectId -Object Id (GUID value) of the user-assigned managed identity. -ClientId should not be used if this is provided. - -```yaml -Type: System.String -Parameter Sets: CreateExpanded, CreateViaIdentityExpanded, CreateViaIdentityMachineExpanded, ScriptLocalPath -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ErrorBlobUri -Specifies the Azure storage blob where script error stream will be uploaded. -Use a SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob. -Refer errorBlobManagedIdentity parameter. - -```yaml -Type: System.String -Parameter Sets: CreateExpanded, CreateViaIdentityExpanded, CreateViaIdentityMachineExpanded, ScriptLocalPath -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -InputObject -Identity Parameter - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentity -Parameter Sets: CreateViaIdentity, CreateViaIdentityExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -JsonFilePath -Path of Json file supplied to the Create operation - -```yaml -Type: System.String -Parameter Sets: CreateViaJsonFilePath -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -JsonString -Json string supplied to the Create operation - -```yaml -Type: System.String -Parameter Sets: CreateViaJsonString -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Location -The geo-location where the resource lives - -```yaml -Type: System.String -Parameter Sets: CreateExpanded, CreateViaIdentityExpanded, CreateViaIdentityMachineExpanded, ScriptLocalPath -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -MachineInputObject -Identity Parameter - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentity -Parameter Sets: CreateViaIdentityMachine, CreateViaIdentityMachineExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -MachineName -The name of the hybrid machine. - -```yaml -Type: System.String -Parameter Sets: Create, CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString, ScriptLocalPath -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -NoWait -Run the command asynchronously - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -OutputBlobManagedIdentityClientId -Client Id (GUID value) of the user-assigned managed identity. -ObjectId should not be used if this is provided. - -```yaml -Type: System.String -Parameter Sets: CreateExpanded, CreateViaIdentityExpanded, CreateViaIdentityMachineExpanded, ScriptLocalPath -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -OutputBlobManagedIdentityObjectId -Object Id (GUID value) of the user-assigned managed identity. -ClientId should not be used if this is provided. - -```yaml -Type: System.String -Parameter Sets: CreateExpanded, CreateViaIdentityExpanded, CreateViaIdentityMachineExpanded, ScriptLocalPath -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -OutputBlobUri -Specifies the Azure storage blob where script output stream will be uploaded. -Use a SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob. -Refer outputBlobManagedIdentity parameter. - -```yaml -Type: System.String -Parameter Sets: CreateExpanded, CreateViaIdentityExpanded, CreateViaIdentityMachineExpanded, ScriptLocalPath -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Parameter -The parameters used by the script. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandInputParameter[] -Parameter Sets: CreateExpanded, CreateViaIdentityExpanded, CreateViaIdentityMachineExpanded, ScriptLocalPath -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ProtectedParameter -The parameters used by the script. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandInputParameter[] -Parameter Sets: CreateExpanded, CreateViaIdentityExpanded, CreateViaIdentityMachineExpanded, ScriptLocalPath -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group. -The name is case insensitive. - -```yaml -Type: System.String -Parameter Sets: Create, CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString, ScriptLocalPath -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -RunAsPassword -Specifies the user account password on the machine when executing the run command. - -```yaml -Type: System.String -Parameter Sets: CreateExpanded, CreateViaIdentityExpanded, CreateViaIdentityMachineExpanded, ScriptLocalPath -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -RunAsUser -Specifies the user account on the machine when executing the run command. - -```yaml -Type: System.String -Parameter Sets: CreateExpanded, CreateViaIdentityExpanded, CreateViaIdentityMachineExpanded, ScriptLocalPath -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -RunCommandName -The name of the run command. - -```yaml -Type: System.String -Parameter Sets: Create, CreateExpanded, CreateViaIdentityMachine, CreateViaIdentityMachineExpanded, CreateViaJsonFilePath, CreateViaJsonString, ScriptLocalPath -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -RunCommandProperty -Describes a Run Command - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand -Parameter Sets: Create, CreateViaIdentity, CreateViaIdentityMachine -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -ScriptLocalPath - - -```yaml -Type: System.String -Parameter Sets: ScriptLocalPath -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ScriptUriManagedIdentityClientId -Client Id (GUID value) of the user-assigned managed identity. -ObjectId should not be used if this is provided. - -```yaml -Type: System.String -Parameter Sets: CreateExpanded, CreateViaIdentityExpanded, CreateViaIdentityMachineExpanded, ScriptLocalPath -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ScriptUriManagedIdentityObjectId -Object Id (GUID value) of the user-assigned managed identity. -ClientId should not be used if this is provided. - -```yaml -Type: System.String -Parameter Sets: CreateExpanded, CreateViaIdentityExpanded, CreateViaIdentityMachineExpanded, ScriptLocalPath -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SourceCommandId -Specifies the commandId of predefined built-in script. - -```yaml -Type: System.String -Parameter Sets: CreateExpanded, CreateViaIdentityExpanded, CreateViaIdentityMachineExpanded, ScriptLocalPath -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SourceScript -Specifies the script content to be executed on the machine. - -```yaml -Type: System.String -Parameter Sets: CreateExpanded, CreateViaIdentityExpanded, CreateViaIdentityMachineExpanded, ScriptLocalPath -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SourceScriptUri -Specifies the script download location. -It can be either SAS URI of an Azure storage blob with read access or public URI. - -```yaml -Type: System.String -Parameter Sets: CreateExpanded, CreateViaIdentityExpanded, CreateViaIdentityMachineExpanded, ScriptLocalPath -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The ID of the target subscription. - -```yaml -Type: System.String -Parameter Sets: Create, CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString, ScriptLocalPath -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Tag -Resource tags. - -```yaml -Type: System.Collections.Hashtable -Parameter Sets: CreateExpanded, CreateViaIdentityExpanded, CreateViaIdentityMachineExpanded, ScriptLocalPath -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -TimeoutInSecond -The timeout in seconds to execute the run command. - -```yaml -Type: System.Int32 -Parameter Sets: CreateExpanded, CreateViaIdentityExpanded, CreateViaIdentityMachineExpanded, ScriptLocalPath -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Confirm -Prompts you for confirmation before running the cmdlet. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: cf - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WhatIf -Shows what would happen if the cmdlet runs. -The cmdlet is not run. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: wi - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). - -## INPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentity - -### Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand - -## OUTPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand - -## NOTES - -## RELATED LINKS - diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/help/Update-AzConnectedMachineRunCommand.md b/src/ConnectedMachine/ConnectedMachine.Autorest/help/Update-AzConnectedMachineRunCommand.md deleted file mode 100644 index 0082abcc90f2..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/help/Update-AzConnectedMachineRunCommand.md +++ /dev/null @@ -1,617 +0,0 @@ ---- -external help file: -Module Name: Az.ConnectedMachine -online version: https://learn.microsoft.com/powershell/module/az.connectedmachine/update-azconnectedmachineruncommand -schema: 2.0.0 ---- - -# Update-AzConnectedMachineRunCommand - -## SYNOPSIS -The operation to update a run command. - -## SYNTAX - -### UpdateExpanded (Default) -``` -Update-AzConnectedMachineRunCommand -MachineName -ResourceGroupName -RunCommandName - [-SubscriptionId ] [-AsyncExecution] [-ErrorBlobManagedIdentityClientId ] - [-ErrorBlobManagedIdentityObjectId ] [-ErrorBlobUri ] - [-OutputBlobManagedIdentityClientId ] [-OutputBlobManagedIdentityObjectId ] - [-OutputBlobUri ] [-Parameter ] - [-ProtectedParameter ] [-RunAsPassword ] [-RunAsUser ] - [-ScriptUriManagedIdentityClientId ] [-ScriptUriManagedIdentityObjectId ] - [-SourceCommandId ] [-SourceScript ] [-SourceScriptUri ] [-Tag ] - [-TimeoutInSecond ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] - [] -``` - -### Update -``` -Update-AzConnectedMachineRunCommand -MachineName -ResourceGroupName -RunCommandName - -RunCommandProperty [-SubscriptionId ] [-DefaultProfile ] [-AsJob] - [-NoWait] [-Confirm] [-WhatIf] [] -``` - -### UpdateViaIdentity -``` -Update-AzConnectedMachineRunCommand -InputObject - -RunCommandProperty [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] - [] -``` - -### UpdateViaIdentityExpanded -``` -Update-AzConnectedMachineRunCommand -InputObject [-AsyncExecution] - [-ErrorBlobManagedIdentityClientId ] [-ErrorBlobManagedIdentityObjectId ] - [-ErrorBlobUri ] [-OutputBlobManagedIdentityClientId ] - [-OutputBlobManagedIdentityObjectId ] [-OutputBlobUri ] - [-Parameter ] [-ProtectedParameter ] - [-RunAsPassword ] [-RunAsUser ] [-ScriptUriManagedIdentityClientId ] - [-ScriptUriManagedIdentityObjectId ] [-SourceCommandId ] [-SourceScript ] - [-SourceScriptUri ] [-Tag ] [-TimeoutInSecond ] [-DefaultProfile ] - [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] -``` - -### UpdateViaIdentityMachine -``` -Update-AzConnectedMachineRunCommand -MachineInputObject -RunCommandName - -RunCommandProperty [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] - [] -``` - -### UpdateViaIdentityMachineExpanded -``` -Update-AzConnectedMachineRunCommand -MachineInputObject -RunCommandName - [-AsyncExecution] [-ErrorBlobManagedIdentityClientId ] [-ErrorBlobManagedIdentityObjectId ] - [-ErrorBlobUri ] [-OutputBlobManagedIdentityClientId ] - [-OutputBlobManagedIdentityObjectId ] [-OutputBlobUri ] - [-Parameter ] [-ProtectedParameter ] - [-RunAsPassword ] [-RunAsUser ] [-ScriptUriManagedIdentityClientId ] - [-ScriptUriManagedIdentityObjectId ] [-SourceCommandId ] [-SourceScript ] - [-SourceScriptUri ] [-Tag ] [-TimeoutInSecond ] [-DefaultProfile ] - [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] -``` - -## DESCRIPTION -The operation to update a run command. - -## EXAMPLES - -### Example 1: Update a run-command for a machine -```powershell -Update-AzConnectedMachineRunCommand -ResourceGroupName "az-sdk-test" -RunCommandName "myRunCommand3" -MachineName "testmachine" -SubscriptionId ********-****-****-****-********** -Tag @{Tag1="tag1"; Tag2="tag2"} - -``` - -```output -AsyncExecution : False -ErrorBlobManagedIdentityClientId : -ErrorBlobManagedIdentityObjectId : -ErrorBlobUri : -Id : /subscriptions/********-****-****-****-**********/resourceGroups/az-sdk-test/prov - iders/Microsoft.HybridCompute/machines/testmachine/runcommands/myRunCommand3 -InstanceViewEndTime : 12/5/2023 7:45:54 PM -InstanceViewError : -InstanceViewExecutionMessage : RunCommand script execution completed -InstanceViewExecutionState : Succeeded -InstanceViewExitCode : 0 -InstanceViewOutput : Hello World! -InstanceViewStartTime : 12/5/2023 7:45:53 PM -InstanceViewStatuses : -Location : eastus2euap -Name : myRunCommand3 -OutputBlobManagedIdentityClientId : -OutputBlobManagedIdentityObjectId : -OutputBlobUri : -Parameter : -ProtectedParameter : -ProvisioningState : Succeeded -ResourceGroupName : az-sdk-test -RunAsPassword : -RunAsUser : -ScriptUriManagedIdentityClientId : -ScriptUriManagedIdentityObjectId : -SourceCommandId : -SourceScript : Write-Host Hello World! -SourceScriptUri : -SystemDataCreatedAt : -SystemDataCreatedBy : -SystemDataCreatedByType : -SystemDataLastModifiedAt : -SystemDataLastModifiedBy : -SystemDataLastModifiedByType : -Tag : { - "Tag2": "tag2", - "Tag1": "tag1" - } -TimeoutInSecond : 0 -Type : Microsoft.HybridCompute/machines/runcommands -``` - -Update a run-command for a machine - -## PARAMETERS - -### -AsJob -Run the command as a job - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -AsyncExecution -Optional. -If set to true, provisioning will complete as soon as script starts and will not wait for script to complete. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityMachineExpanded -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -DefaultProfile -The DefaultProfile parameter is not functional. -Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ErrorBlobManagedIdentityClientId -Client Id (GUID value) of the user-assigned managed identity. -ObjectId should not be used if this is provided. - -```yaml -Type: System.String -Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityMachineExpanded -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ErrorBlobManagedIdentityObjectId -Object Id (GUID value) of the user-assigned managed identity. -ClientId should not be used if this is provided. - -```yaml -Type: System.String -Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityMachineExpanded -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ErrorBlobUri -Specifies the Azure storage blob where script error stream will be uploaded. -Use a SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob. -Refer errorBlobManagedIdentity parameter. - -```yaml -Type: System.String -Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityMachineExpanded -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -InputObject -Identity Parameter - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentity -Parameter Sets: UpdateViaIdentity, UpdateViaIdentityExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -MachineInputObject -Identity Parameter - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentity -Parameter Sets: UpdateViaIdentityMachine, UpdateViaIdentityMachineExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -MachineName -The name of the hybrid machine. - -```yaml -Type: System.String -Parameter Sets: Update, UpdateExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -NoWait -Run the command asynchronously - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -OutputBlobManagedIdentityClientId -Client Id (GUID value) of the user-assigned managed identity. -ObjectId should not be used if this is provided. - -```yaml -Type: System.String -Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityMachineExpanded -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -OutputBlobManagedIdentityObjectId -Object Id (GUID value) of the user-assigned managed identity. -ClientId should not be used if this is provided. - -```yaml -Type: System.String -Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityMachineExpanded -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -OutputBlobUri -Specifies the Azure storage blob where script output stream will be uploaded. -Use a SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob. -Refer outputBlobManagedIdentity parameter. - -```yaml -Type: System.String -Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityMachineExpanded -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Parameter -The parameters used by the script. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandInputParameter[] -Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityMachineExpanded -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ProtectedParameter -The parameters used by the script. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandInputParameter[] -Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityMachineExpanded -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group. -The name is case insensitive. - -```yaml -Type: System.String -Parameter Sets: Update, UpdateExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -RunAsPassword -Specifies the user account password on the machine when executing the run command. - -```yaml -Type: System.String -Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityMachineExpanded -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -RunAsUser -Specifies the user account on the machine when executing the run command. - -```yaml -Type: System.String -Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityMachineExpanded -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -RunCommandName -The name of the run command. - -```yaml -Type: System.String -Parameter Sets: Update, UpdateExpanded, UpdateViaIdentityMachine, UpdateViaIdentityMachineExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -RunCommandProperty -Describes a Run Command - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand -Parameter Sets: Update, UpdateViaIdentity, UpdateViaIdentityMachine -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -ScriptUriManagedIdentityClientId -Client Id (GUID value) of the user-assigned managed identity. -ObjectId should not be used if this is provided. - -```yaml -Type: System.String -Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityMachineExpanded -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ScriptUriManagedIdentityObjectId -Object Id (GUID value) of the user-assigned managed identity. -ClientId should not be used if this is provided. - -```yaml -Type: System.String -Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityMachineExpanded -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SourceCommandId -Specifies the commandId of predefined built-in script. - -```yaml -Type: System.String -Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityMachineExpanded -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SourceScript -Specifies the script content to be executed on the machine. - -```yaml -Type: System.String -Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityMachineExpanded -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SourceScriptUri -Specifies the script download location. -It can be either SAS URI of an Azure storage blob with read access or public URI. - -```yaml -Type: System.String -Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityMachineExpanded -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The ID of the target subscription. - -```yaml -Type: System.String -Parameter Sets: Update, UpdateExpanded -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Tag -Resource tags. - -```yaml -Type: System.Collections.Hashtable -Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityMachineExpanded -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -TimeoutInSecond -The timeout in seconds to execute the run command. - -```yaml -Type: System.Int32 -Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityMachineExpanded -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Confirm -Prompts you for confirmation before running the cmdlet. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: cf - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WhatIf -Shows what would happen if the cmdlet runs. -The cmdlet is not run. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: wi - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). - -## INPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentity - -### Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand - -## OUTPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand - -## NOTES - -## RELATED LINKS - diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/internal/ProxyCmdletDefinitions.ps1 b/src/ConnectedMachine/ConnectedMachine.Autorest/internal/ProxyCmdletDefinitions.ps1 index 3e70c47d261a..4d14697b8ec0 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/internal/ProxyCmdletDefinitions.ps1 +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/internal/ProxyCmdletDefinitions.ps1 @@ -144,30 +144,21 @@ COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. INPUTOBJECT : Identity Parameter - [BaseProvider ]: The name of the base Resource Provider. - [BaseResourceName ]: The name of the base resource. - [BaseResourceType ]: The name of the base Resource Type. [ExtensionName ]: The name of the machine extension. [ExtensionType ]: The extensionType of the Extension being received. - [GatewayName ]: The name of the Gateway. [GroupName ]: The name of the private link resource. [Id ]: Resource identity path [LicenseName ]: The name of the license. [LicenseProfileName ]: The name of the license profile. [Location ]: The location of the Extension being received. [MachineName ]: The name of the hybrid machine. - [MetadataName ]: Name of the HybridIdentityMetadata. [Name ]: The name of the hybrid machine. - [OSType ]: Defines the os type. [PerimeterName ]: The name, in the format {perimeterGuid}.{associationName}, of the Network Security Perimeter resource. [PrivateEndpointConnectionName ]: The name of the private endpoint connection. [PrivateLinkScopeId ]: The id (Guid) of the Azure Arc PrivateLinkScope resource. [Publisher ]: The publisher of the Extension being received. [ResourceGroupName ]: The name of the resource group. The name is case insensitive. - [ResourceUri ]: The fully qualified Azure Resource manager identifier of the resource to be connected. - [RunCommandName ]: The name of the run command. [ScopeName ]: The name of the Azure Arc PrivateLinkScope resource. - [SettingsResourceName ]: The name of the settings resource. [SubscriptionId ]: The ID of the target subscription. [Version ]: The version of the Extension being received. diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/internal/Update-AzConnectedMachine.ps1 b/src/ConnectedMachine/ConnectedMachine.Autorest/internal/Update-AzConnectedMachine.ps1 index 3ac2e22c2992..621d472408bf 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/internal/Update-AzConnectedMachine.ps1 +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/internal/Update-AzConnectedMachine.ps1 @@ -34,30 +34,21 @@ COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. INPUTOBJECT : Identity Parameter - [BaseProvider ]: The name of the base Resource Provider. - [BaseResourceName ]: The name of the base resource. - [BaseResourceType ]: The name of the base Resource Type. [ExtensionName ]: The name of the machine extension. [ExtensionType ]: The extensionType of the Extension being received. - [GatewayName ]: The name of the Gateway. [GroupName ]: The name of the private link resource. [Id ]: Resource identity path [LicenseName ]: The name of the license. [LicenseProfileName ]: The name of the license profile. [Location ]: The location of the Extension being received. [MachineName ]: The name of the hybrid machine. - [MetadataName ]: Name of the HybridIdentityMetadata. [Name ]: The name of the hybrid machine. - [OSType ]: Defines the os type. [PerimeterName ]: The name, in the format {perimeterGuid}.{associationName}, of the Network Security Perimeter resource. [PrivateEndpointConnectionName ]: The name of the private endpoint connection. [PrivateLinkScopeId ]: The id (Guid) of the Azure Arc PrivateLinkScope resource. [Publisher ]: The publisher of the Extension being received. [ResourceGroupName ]: The name of the resource group. The name is case insensitive. - [ResourceUri ]: The fully qualified Azure Resource manager identifier of the resource to be connected. - [RunCommandName ]: The name of the run command. [ScopeName ]: The name of the Azure Arc PrivateLinkScope resource. - [SettingsResourceName ]: The name of the settings resource. [SubscriptionId ]: The ID of the target subscription. [Version ]: The version of the Extension being received. diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/test/Get-AzConnectedExtensionMetadata.Recording.json b/src/ConnectedMachine/ConnectedMachine.Autorest/test/Get-AzConnectedExtensionMetadata.Recording.json index e1c2c1c17d29..3e446279d570 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/test/Get-AzConnectedExtensionMetadata.Recording.json +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/test/Get-AzConnectedExtensionMetadata.Recording.json @@ -1,17 +1,17 @@ { - "Get-AzConnectedExtensionMetadata+[NoContext]+List+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/Microsoft.Azure.NetworkWatcher/extensionTypes/NetworkWatcherAgentWindows/versions?api-version=2024-05-20-preview+1": { + "Get-AzConnectedExtensionMetadata+[NoContext]+List+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/Microsoft.Azure.NetworkWatcher/extensionTypes/NetworkWatcherAgentWindows/versions?api-version=2024-07-10+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/Microsoft.Azure.NetworkWatcher/extensionTypes/NetworkWatcherAgentWindows/versions?api-version=2024-05-20-preview", + "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/Microsoft.Azure.NetworkWatcher/extensionTypes/NetworkWatcherAgentWindows/versions?api-version=2024-07-10", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "1" ], - "x-ms-client-request-id": [ "a45abb57-498d-4a72-9a26-33d6fae560a3" ], + "x-ms-client-request-id": [ "b21bf43a-0a2b-4280-ad2f-6918feef92dc" ], "CommandName": [ "Get-AzConnectedExtensionMetadata" ], "FullCommandName": [ "Get-AzConnectedExtensionMetadata_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.5.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -22,38 +22,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11996" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-request-id": [ "126485ae-9a70-4122-b1f9-7845081b0e5c" ], - "x-ms-correlation-request-id": [ "a88f9a09-7781-4709-9fbd-cce8173b9cef" ], - "x-ms-routing-request-id": [ "EASTUS:20240919T230944Z:a88f9a09-7781-4709-9fbd-cce8173b9cef" ], + "x-ms-request-id": [ "4935ac19-324c-4651-a670-4f6211e9e40f" ], + "x-ms-correlation-request-id": [ "1824bceb-d5e9-4bf9-9cbd-2acb758c979b" ], + "x-ms-routing-request-id": [ "EASTUS2:20241007T195200Z:1824bceb-d5e9-4bf9-9cbd-2acb758c979b" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: FECF9C110A1640E1AB23CE53CEA30CA0 Ref B: MNZ221060609053 Ref C: 2024-09-19T23:09:44Z" ], - "Date": [ "Thu, 19 Sep 2024 23:09:44 GMT" ] + "X-MSEdge-Ref": [ "Ref A: AEC1124A026441769890BDB969FEB188 Ref B: BL2AA2010204029 Ref C: 2024-10-07T19:52:00Z" ], + "Date": [ "Mon, 07 Oct 2024 19:51:59 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "16656" ], + "Content-Length": [ "19257" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"id\":\"/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.3422.1\",\"location\":\"centraluseuap\",\"properties\":{\"version\":\"1.4.3422.1\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}},{\"id\":\"/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.3320.3\",\"location\":\"centraluseuap\",\"properties\":{\"version\":\"1.4.3320.3\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}},{\"id\":\"/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.3320.1\",\"location\":\"centraluseuap\",\"properties\":{\"version\":\"1.4.3320.1\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}},{\"id\":\"/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.3206.1\",\"location\":\"centraluseuap\",\"properties\":{\"version\":\"1.4.3206.1\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}},{\"id\":\"/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.3147.1\",\"location\":\"centraluseuap\",\"properties\":{\"version\":\"1.4.3147.1\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}},{\"id\":\"/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.3135.1\",\"location\":\"centraluseuap\",\"properties\":{\"version\":\"1.4.3135.1\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}},{\"id\":\"/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.2798.3\",\"location\":\"centraluseuap\",\"properties\":{\"version\":\"1.4.2798.3\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}},{\"id\":\"/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.2798.1\",\"location\":\"centraluseuap\",\"properties\":{\"version\":\"1.4.2798.1\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}},{\"id\":\"/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.2573.1\",\"location\":\"centraluseuap\",\"properties\":{\"version\":\"1.4.2573.1\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}},{\"id\":\"/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.2561.1\",\"location\":\"centraluseuap\",\"properties\":{\"version\":\"1.4.2561.1\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}},{\"id\":\"/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.2514.1\",\"location\":\"centraluseuap\",\"properties\":{\"version\":\"1.4.2514.1\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}},{\"id\":\"/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.2511.5\",\"location\":\"centraluseuap\",\"properties\":{\"version\":\"1.4.2511.5\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}},{\"id\":\"/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.2423.1\",\"location\":\"centraluseuap\",\"properties\":{\"version\":\"1.4.2423.1\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}},{\"id\":\"/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.2421.1\",\"location\":\"centraluseuap\",\"properties\":{\"version\":\"1.4.2421.1\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}},{\"id\":\"/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.2412.1\",\"location\":\"centraluseuap\",\"properties\":{\"version\":\"1.4.2412.1\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}},{\"id\":\"/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.2394.0\",\"location\":\"centraluseuap\",\"properties\":{\"version\":\"1.4.2394.0\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}},{\"id\":\"/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.2366.0\",\"location\":\"centraluseuap\",\"properties\":{\"version\":\"1.4.2366.0\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}},{\"id\":\"/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.2331.0\",\"location\":\"centraluseuap\",\"properties\":{\"version\":\"1.4.2331.0\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}},{\"id\":\"/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.2294.2\",\"location\":\"centraluseuap\",\"properties\":{\"version\":\"1.4.2294.2\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}},{\"id\":\"/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.2192.1\",\"location\":\"centraluseuap\",\"properties\":{\"version\":\"1.4.2192.1\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}},{\"id\":\"/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.2146.1\",\"location\":\"centraluseuap\",\"properties\":{\"version\":\"1.4.2146.1\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}},{\"id\":\"/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.2059.1\",\"location\":\"centraluseuap\",\"properties\":{\"version\":\"1.4.2059.1\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}},{\"id\":\"/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.2013.1\",\"location\":\"centraluseuap\",\"properties\":{\"version\":\"1.4.2013.1\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}},{\"id\":\"/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.1974.1\",\"location\":\"centraluseuap\",\"properties\":{\"version\":\"1.4.1974.1\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}},{\"id\":\"/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.1884.1\",\"location\":\"centraluseuap\",\"properties\":{\"version\":\"1.4.1884.1\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}},{\"id\":\"/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.1693.3\",\"location\":\"centraluseuap\",\"properties\":{\"version\":\"1.4.1693.3\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}},{\"id\":\"/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.1693.1\",\"location\":\"centraluseuap\",\"properties\":{\"version\":\"1.4.1693.1\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}},{\"id\":\"/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.1654.1\",\"location\":\"centraluseuap\",\"properties\":{\"version\":\"1.4.1654.1\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}},{\"id\":\"/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.1587.1\",\"location\":\"centraluseuap\",\"properties\":{\"version\":\"1.4.1587.1\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}},{\"id\":\"/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.1527.2\",\"location\":\"centraluseuap\",\"properties\":{\"version\":\"1.4.1527.2\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}},{\"id\":\"/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.1421.1\",\"location\":\"centraluseuap\",\"properties\":{\"version\":\"1.4.1421.1\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}},{\"id\":\"/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.1325.1\",\"location\":\"centraluseuap\",\"properties\":{\"version\":\"1.4.1325.1\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}},{\"id\":\"/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.1265.3\",\"location\":\"centraluseuap\",\"properties\":{\"version\":\"1.4.1265.3\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}},{\"id\":\"/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.1252.1\",\"location\":\"centraluseuap\",\"properties\":{\"version\":\"1.4.1252.1\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}},{\"id\":\"/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.1210.1\",\"location\":\"centraluseuap\",\"properties\":{\"version\":\"1.4.1210.1\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}},{\"id\":\"/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.905.3\",\"location\":\"centraluseuap\",\"properties\":{\"version\":\"1.4.905.3\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}},{\"id\":\"/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.905.2\",\"location\":\"centraluseuap\",\"properties\":{\"version\":\"1.4.905.2\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}},{\"id\":\"/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.861.2\",\"location\":\"centraluseuap\",\"properties\":{\"version\":\"1.4.861.2\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}},{\"id\":\"/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.861.1\",\"location\":\"centraluseuap\",\"properties\":{\"version\":\"1.4.861.1\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}},{\"id\":\"/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.585.2\",\"location\":\"centraluseuap\",\"properties\":{\"version\":\"1.4.585.2\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}},{\"id\":\"/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.585.1\",\"location\":\"centraluseuap\",\"properties\":{\"version\":\"1.4.585.1\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}},{\"id\":\"/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.526.2\",\"location\":\"centraluseuap\",\"properties\":{\"version\":\"1.4.526.2\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}},{\"id\":\"/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.518.1\",\"location\":\"centraluseuap\",\"properties\":{\"version\":\"1.4.518.1\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}},{\"id\":\"/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.516.1\",\"location\":\"centraluseuap\",\"properties\":{\"version\":\"1.4.516.1\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}},{\"id\":\"/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.515.1\",\"location\":\"centraluseuap\",\"properties\":{\"version\":\"1.4.515.1\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}},{\"id\":\"/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.493.1\",\"location\":\"centraluseuap\",\"properties\":{\"version\":\"1.4.493.1\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}},{\"id\":\"/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.466.1\",\"location\":\"centraluseuap\",\"properties\":{\"version\":\"1.4.466.1\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}},{\"id\":\"/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.411.1\",\"location\":\"centraluseuap\",\"properties\":{\"version\":\"1.4.411.1\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}},{\"id\":\"/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.410.1\",\"location\":\"centraluseuap\",\"properties\":{\"version\":\"1.4.410.1\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}},{\"id\":\"/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.306.5\",\"location\":\"centraluseuap\",\"properties\":{\"version\":\"1.4.306.5\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}},{\"id\":\"/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.104.0\",\"location\":\"centraluseuap\",\"properties\":{\"version\":\"1.4.104.0\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}}]}", + "Content": "{\"value\":[{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.3422.1\",\"location\":\"centraluseuap\",\"properties\":{\"version\":\"1.4.3422.1\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.3320.3\",\"location\":\"centraluseuap\",\"properties\":{\"version\":\"1.4.3320.3\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.3320.1\",\"location\":\"centraluseuap\",\"properties\":{\"version\":\"1.4.3320.1\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.3206.1\",\"location\":\"centraluseuap\",\"properties\":{\"version\":\"1.4.3206.1\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.3147.1\",\"location\":\"centraluseuap\",\"properties\":{\"version\":\"1.4.3147.1\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.3135.1\",\"location\":\"centraluseuap\",\"properties\":{\"version\":\"1.4.3135.1\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.2798.3\",\"location\":\"centraluseuap\",\"properties\":{\"version\":\"1.4.2798.3\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.2798.1\",\"location\":\"centraluseuap\",\"properties\":{\"version\":\"1.4.2798.1\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.2573.1\",\"location\":\"centraluseuap\",\"properties\":{\"version\":\"1.4.2573.1\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.2561.1\",\"location\":\"centraluseuap\",\"properties\":{\"version\":\"1.4.2561.1\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.2514.1\",\"location\":\"centraluseuap\",\"properties\":{\"version\":\"1.4.2514.1\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.2511.5\",\"location\":\"centraluseuap\",\"properties\":{\"version\":\"1.4.2511.5\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.2423.1\",\"location\":\"centraluseuap\",\"properties\":{\"version\":\"1.4.2423.1\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.2421.1\",\"location\":\"centraluseuap\",\"properties\":{\"version\":\"1.4.2421.1\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.2412.1\",\"location\":\"centraluseuap\",\"properties\":{\"version\":\"1.4.2412.1\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.2394.0\",\"location\":\"centraluseuap\",\"properties\":{\"version\":\"1.4.2394.0\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.2366.0\",\"location\":\"centraluseuap\",\"properties\":{\"version\":\"1.4.2366.0\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.2331.0\",\"location\":\"centraluseuap\",\"properties\":{\"version\":\"1.4.2331.0\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.2294.2\",\"location\":\"centraluseuap\",\"properties\":{\"version\":\"1.4.2294.2\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.2192.1\",\"location\":\"centraluseuap\",\"properties\":{\"version\":\"1.4.2192.1\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.2146.1\",\"location\":\"centraluseuap\",\"properties\":{\"version\":\"1.4.2146.1\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.2059.1\",\"location\":\"centraluseuap\",\"properties\":{\"version\":\"1.4.2059.1\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.2013.1\",\"location\":\"centraluseuap\",\"properties\":{\"version\":\"1.4.2013.1\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.1974.1\",\"location\":\"centraluseuap\",\"properties\":{\"version\":\"1.4.1974.1\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.1884.1\",\"location\":\"centraluseuap\",\"properties\":{\"version\":\"1.4.1884.1\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.1693.3\",\"location\":\"centraluseuap\",\"properties\":{\"version\":\"1.4.1693.3\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.1693.1\",\"location\":\"centraluseuap\",\"properties\":{\"version\":\"1.4.1693.1\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.1654.1\",\"location\":\"centraluseuap\",\"properties\":{\"version\":\"1.4.1654.1\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.1587.1\",\"location\":\"centraluseuap\",\"properties\":{\"version\":\"1.4.1587.1\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.1527.2\",\"location\":\"centraluseuap\",\"properties\":{\"version\":\"1.4.1527.2\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.1421.1\",\"location\":\"centraluseuap\",\"properties\":{\"version\":\"1.4.1421.1\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.1325.1\",\"location\":\"centraluseuap\",\"properties\":{\"version\":\"1.4.1325.1\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.1265.3\",\"location\":\"centraluseuap\",\"properties\":{\"version\":\"1.4.1265.3\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.1252.1\",\"location\":\"centraluseuap\",\"properties\":{\"version\":\"1.4.1252.1\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.1210.1\",\"location\":\"centraluseuap\",\"properties\":{\"version\":\"1.4.1210.1\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.905.3\",\"location\":\"centraluseuap\",\"properties\":{\"version\":\"1.4.905.3\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.905.2\",\"location\":\"centraluseuap\",\"properties\":{\"version\":\"1.4.905.2\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.861.2\",\"location\":\"centraluseuap\",\"properties\":{\"version\":\"1.4.861.2\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.861.1\",\"location\":\"centraluseuap\",\"properties\":{\"version\":\"1.4.861.1\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.585.2\",\"location\":\"centraluseuap\",\"properties\":{\"version\":\"1.4.585.2\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.585.1\",\"location\":\"centraluseuap\",\"properties\":{\"version\":\"1.4.585.1\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.526.2\",\"location\":\"centraluseuap\",\"properties\":{\"version\":\"1.4.526.2\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.518.1\",\"location\":\"centraluseuap\",\"properties\":{\"version\":\"1.4.518.1\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.516.1\",\"location\":\"centraluseuap\",\"properties\":{\"version\":\"1.4.516.1\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.515.1\",\"location\":\"centraluseuap\",\"properties\":{\"version\":\"1.4.515.1\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.493.1\",\"location\":\"centraluseuap\",\"properties\":{\"version\":\"1.4.493.1\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.466.1\",\"location\":\"centraluseuap\",\"properties\":{\"version\":\"1.4.466.1\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.411.1\",\"location\":\"centraluseuap\",\"properties\":{\"version\":\"1.4.411.1\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.410.1\",\"location\":\"centraluseuap\",\"properties\":{\"version\":\"1.4.410.1\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.306.5\",\"location\":\"centraluseuap\",\"properties\":{\"version\":\"1.4.306.5\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.104.0\",\"location\":\"centraluseuap\",\"properties\":{\"version\":\"1.4.104.0\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}}]}", "isContentBase64": false } }, - "Get-AzConnectedExtensionMetadata+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/Microsoft.Azure.NetworkWatcher/extensionTypes/NetworkWatcherAgentWindows/versions/1.4.2798.3?api-version=2024-05-20-preview+1": { + "Get-AzConnectedExtensionMetadata+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/publishers/Microsoft.Azure.NetworkWatcher/extensionTypes/NetworkWatcherAgentWindows/versions/1.4.2798.3?api-version=2024-07-10+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/Microsoft.Azure.NetworkWatcher/extensionTypes/NetworkWatcherAgentWindows/versions/1.4.2798.3?api-version=2024-05-20-preview", + "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/publishers/Microsoft.Azure.NetworkWatcher/extensionTypes/NetworkWatcherAgentWindows/versions/1.4.2798.3?api-version=2024-07-10", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "2" ], - "x-ms-client-request-id": [ "e9eb7c9f-28be-48a1-b5c5-47397817da38" ], + "x-ms-client-request-id": [ "ea4540dc-9abd-42b2-af69-5bfc220ddf8a" ], "CommandName": [ "Get-AzConnectedExtensionMetadata" ], "FullCommandName": [ "Get-AzConnectedExtensionMetadata_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.5.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -64,22 +64,22 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11994" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-request-id": [ "8d8dcec1-f03a-46af-979a-75f2d3d4c1b6" ], - "x-ms-correlation-request-id": [ "c8891eff-2ab6-4887-b3d9-cd624da29fa7" ], - "x-ms-routing-request-id": [ "EASTUS:20240919T230944Z:c8891eff-2ab6-4887-b3d9-cd624da29fa7" ], + "x-ms-request-id": [ "eee2e5ee-07f3-45e4-a619-5faeb2d2bc35" ], + "x-ms-correlation-request-id": [ "55f9acca-aa36-49c8-a110-9da4a4146c8a" ], + "x-ms-routing-request-id": [ "EASTUS:20241007T195201Z:55f9acca-aa36-49c8-a110-9da4a4146c8a" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 7C280E481AB34C008607B2C4490B7CD3 Ref B: MNZ221060609053 Ref C: 2024-09-19T23:09:44Z" ], - "Date": [ "Thu, 19 Sep 2024 23:09:44 GMT" ] + "X-MSEdge-Ref": [ "Ref A: C2A1769E711744448B0E835D613320E0 Ref B: BL2AA2010204029 Ref C: 2024-10-07T19:52:01Z" ], + "Date": [ "Mon, 07 Oct 2024 19:52:00 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "326" ], + "Content-Length": [ "363" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/providers/Microsoft.HybridCompute/locations/centraluseuap/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.2798.3\",\"location\":\"centraluseuap\",\"properties\":{\"version\":\"1.4.2798.3\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}}", + "Content": "{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/publishers/microsoft.azure.networkwatcher/extensionTypes/networkwatcheragentwindows/versions/1.4.2798.3\",\"location\":\"eastus\",\"properties\":{\"version\":\"1.4.2798.3\",\"extensionType\":\"networkwatcheragentwindows\",\"publisher\":\"microsoft.azure.networkwatcher\"}}", "isContentBase64": false } } diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/test/Get-AzConnectedLicense.Recording.json b/src/ConnectedMachine/ConnectedMachine.Autorest/test/Get-AzConnectedLicense.Recording.json index 7695bde2db32..99024948b63e 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/test/Get-AzConnectedLicense.Recording.json +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/test/Get-AzConnectedLicense.Recording.json @@ -1,17 +1,17 @@ { - "Get-AzConnectedLicense+[NoContext]+List+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/licenses?api-version=2024-05-20-preview+1": { + "Get-AzConnectedLicense+[NoContext]+List+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/licenses?api-version=2024-07-10+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/licenses?api-version=2024-05-20-preview", + "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/licenses?api-version=2024-07-10", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "1" ], - "x-ms-client-request-id": [ "360cc3fc-4ff0-42b0-a067-bb0543ed3a51" ], + "x-ms-client-request-id": [ "8026fe07-629f-4c54-8946-1e651354f024" ], "CommandName": [ "Get-AzConnectedLicense" ], "FullCommandName": [ "Get-AzConnectedLicense_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.5.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -22,38 +22,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11997" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-request-id": [ "68bcf058-e487-46df-a446-ea8d212d1f46" ], - "x-ms-correlation-request-id": [ "2ce9908d-a543-4046-b49e-bf4cda4450a3" ], - "x-ms-routing-request-id": [ "EASTUS2:20240919T203004Z:2ce9908d-a543-4046-b49e-bf4cda4450a3" ], + "x-ms-request-id": [ "efcde53b-71bb-47c3-b220-e4e8d54c0e9a" ], + "x-ms-correlation-request-id": [ "917c0240-22ef-4ef8-a317-e05ea12e45f2" ], + "x-ms-routing-request-id": [ "EASTUS2:20241003T202315Z:917c0240-22ef-4ef8-a317-e05ea12e45f2" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 3AC90E703DC24A8494E48CFF8EC4EB81 Ref B: MNZ221060609011 Ref C: 2024-09-19T20:30:03Z" ], - "Date": [ "Thu, 19 Sep 2024 20:30:04 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 18E78BE764894EEB99FFF7F274DC4CD9 Ref B: MNZ221060610039 Ref C: 2024-10-03T20:23:15Z" ], + "Date": [ "Thu, 03 Oct 2024 20:23:15 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "527" ], + "Content-Length": [ "522" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/licenses/myEsuLicense\",\"name\":\"myEsuLicense\",\"location\":\"centraluseuap\",\"type\":\"Microsoft.HybridCompute/licenses\",\"properties\":{\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"licenseType\":\"ESU\",\"licenseDetails\":{\"state\":\"Activated\",\"target\":\"Windows Server 2012\",\"edition\":\"Datacenter\",\"type\":\"pCore\",\"processors\":16,\"assignedLicenses\":8,\"immutableId\":\"add55cb2-4a65-40b6-8f50-62000c9bf26e\"}}}]}", + "Content": "{\"value\":[{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/licenses/myEsuLicense2\",\"name\":\"myEsuLicense2\",\"location\":\"eastus\",\"type\":\"Microsoft.HybridCompute/licenses\",\"properties\":{\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"licenseType\":\"ESU\",\"licenseDetails\":{\"state\":\"Activated\",\"target\":\"Windows Server 2012\",\"edition\":\"Datacenter\",\"type\":\"pCore\",\"processors\":16,\"assignedLicenses\":8,\"immutableId\":\"ddd0d283-d0d0-4aa2-89c6-d8d4a2189909\"}}}]}", "isContentBase64": false } }, - "Get-AzConnectedLicense+[NoContext]+List2+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/licenses?api-version=2024-05-20-preview+1": { + "Get-AzConnectedLicense+[NoContext]+List2+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/licenses?api-version=2024-07-10+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/licenses?api-version=2024-05-20-preview", + "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/licenses?api-version=2024-07-10", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "2" ], - "x-ms-client-request-id": [ "6f5f7ef0-ad57-4b1e-a71a-39ab7c3578d0" ], + "x-ms-client-request-id": [ "5766ecbd-3ed3-44ec-ae00-edeeb797e8bf" ], "CommandName": [ "Get-AzConnectedLicense" ], "FullCommandName": [ "Get-AzConnectedLicense_List1" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.5.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -64,39 +64,39 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-original-request-ids": [ "4b48fd42-b1d0-4a73-a811-bc338ff6f06d", "ef579a3d-183e-4160-afc4-9863d80d736a", "ef0bb5c5-65dd-496f-8963-be0e07819a66" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], - "x-ms-request-id": [ "61610709-a284-4851-a2f2-7f33e3798f32" ], - "x-ms-correlation-request-id": [ "61610709-a284-4851-a2f2-7f33e3798f32" ], - "x-ms-routing-request-id": [ "EASTUS2:20240919T203005Z:61610709-a284-4851-a2f2-7f33e3798f32" ], + "x-ms-original-request-ids": [ "9f58a1c3-1083-49f3-91c0-1f0e4773ae1a", "c1c0a060-3a7e-4c67-8daf-25bc3ad8adc4", "6712a4c8-4c09-49a2-aec0-6a618251f140", "e174028d-c7fd-43b1-9f74-54b012552aa0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], + "x-ms-request-id": [ "0da54a5f-4e32-45ca-bb80-85c377d5f0a2" ], + "x-ms-correlation-request-id": [ "0da54a5f-4e32-45ca-bb80-85c377d5f0a2" ], + "x-ms-routing-request-id": [ "EASTUS2:20241003T202317Z:0da54a5f-4e32-45ca-bb80-85c377d5f0a2" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 6CF3DC3641EF4FB88271E628130C065C Ref B: MNZ221060609011 Ref C: 2024-09-19T20:30:04Z" ], - "Date": [ "Thu, 19 Sep 2024 20:30:05 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 7F865D405BA54406B6B307EF23882D9D Ref B: MNZ221060610039 Ref C: 2024-10-03T20:23:15Z" ], + "Date": [ "Thu, 03 Oct 2024 20:23:17 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "4238" ], + "Content-Length": [ "4233" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/dakirbytest/providers/Microsoft.HybridCompute/licenses/testLicense2\",\"name\":\"testLicense2\",\"location\":\"uksouth\",\"type\":\"Microsoft.HybridCompute/licenses\",\"properties\":{\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"licenseType\":\"ESU\",\"licenseDetails\":{\"state\":\"Deactivated\",\"target\":\"Windows Server 2012\",\"edition\":\"Datacenter\",\"type\":\"pCore\",\"processors\":16,\"assignedLicenses\":8,\"immutableId\":\"ab5b736c-bbbb-4ea2-ba48-abd14d87ddc0\"}}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/dakirbytest/providers/Microsoft.HybridCompute/licenses/dakirbyTestLicense\",\"name\":\"dakirbyTestLicense\",\"location\":\"eastus2euap\",\"type\":\"Microsoft.HybridCompute/licenses\",\"properties\":{\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"licenseType\":\"ESU\",\"licenseDetails\":{\"state\":\"Activated\",\"target\":\"Windows Server 2012\",\"edition\":\"Datacenter\",\"type\":\"pCore\",\"processors\":16,\"assignedLicenses\":8,\"immutableId\":\"1ba125b6-54b8-4984-a372-591f90b44583\",\"volumeLicenseDetails\":[{\"programYear\":\"Year 1\",\"invoiceId\":\"1234567890\"}]}}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/dakirbytest/providers/Microsoft.HybridCompute/licenses/testLicense\",\"name\":\"testLicense\",\"location\":\"centraluseuap\",\"type\":\"Microsoft.HybridCompute/licenses\",\"properties\":{\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"licenseType\":\"ESU\",\"licenseDetails\":{\"state\":\"Activated\",\"target\":\"Windows Server 2012\",\"edition\":\"Datacenter\",\"type\":\"pCore\",\"processors\":16,\"assignedLicenses\":8,\"immutableId\":\"d95eb0dd-282e-4d3e-9f55-9621f20e095c\"}}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/dakirbytest/providers/Microsoft.HybridCompute/licenses/testLicense\",\"name\":\"testLicense\",\"location\":\"centraluseuap\",\"type\":\"Microsoft.HybridCompute/licenses\",\"properties\":{\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"licenseType\":\"ESU\",\"licenseDetails\":{\"state\":\"Deactivated\",\"target\":\"Windows Server 2012\",\"edition\":\"Datacenter\",\"type\":\"pCore\",\"processors\":16,\"assignedLicenses\":8,\"immutableId\":\"2d5b6287-781c-4579-a7cb-6bd5368d166c\"}}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/dakirbytest/providers/Microsoft.HybridCompute/licenses/testLicense3\",\"name\":\"testLicense3\",\"location\":\"centraluseuap\",\"type\":\"Microsoft.HybridCompute/licenses\",\"properties\":{\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"licenseType\":\"ESU\",\"licenseDetails\":{\"state\":\"Deactivated\",\"target\":\"Windows Server 2012\",\"edition\":\"Datacenter\",\"type\":\"pCore\",\"processors\":16,\"assignedLicenses\":8,\"immutableId\":\"079c0d28-9fbb-44da-b5fc-a5400d17d28d\"}}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/dakirbytest/providers/Microsoft.HybridCompute/licenses/testLicense4\",\"name\":\"testLicense4\",\"location\":\"centraluseuap\",\"type\":\"Microsoft.HybridCompute/licenses\",\"properties\":{\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"licenseType\":\"ESU\",\"licenseDetails\":{\"state\":\"Deactivated\",\"target\":\"Windows Server 2012\",\"edition\":\"Datacenter\",\"type\":\"pCore\",\"processors\":16,\"assignedLicenses\":8,\"immutableId\":\"8ac55106-9e67-4ae5-9895-f8cea06746b5\"}}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/dakirbytest/providers/Microsoft.HybridCompute/licenses/testLicense5\",\"name\":\"testLicense5\",\"location\":\"centraluseuap\",\"type\":\"Microsoft.HybridCompute/licenses\",\"properties\":{\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"licenseType\":\"ESU\",\"licenseDetails\":{\"state\":\"Deactivated\",\"target\":\"Windows Server 2012\",\"edition\":\"Datacenter\",\"type\":\"pCore\",\"processors\":16,\"assignedLicenses\":8,\"immutableId\":\"9ed37cc3-227f-44bd-919c-3dfb73e84b2c\"}}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/licenses/myEsuLicense\",\"name\":\"myEsuLicense\",\"location\":\"centraluseuap\",\"type\":\"Microsoft.HybridCompute/licenses\",\"properties\":{\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"licenseType\":\"ESU\",\"licenseDetails\":{\"state\":\"Activated\",\"target\":\"Windows Server 2012\",\"edition\":\"Datacenter\",\"type\":\"pCore\",\"processors\":16,\"assignedLicenses\":8,\"immutableId\":\"add55cb2-4a65-40b6-8f50-62000c9bf26e\"}}}]}", + "Content": "{\"value\":[{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/licenses/myEsuLicense2\",\"name\":\"myEsuLicense2\",\"location\":\"eastus\",\"type\":\"Microsoft.HybridCompute/licenses\",\"properties\":{\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"licenseType\":\"ESU\",\"licenseDetails\":{\"state\":\"Activated\",\"target\":\"Windows Server 2012\",\"edition\":\"Datacenter\",\"type\":\"pCore\",\"processors\":16,\"assignedLicenses\":8,\"immutableId\":\"ddd0d283-d0d0-4aa2-89c6-d8d4a2189909\"}}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/dakirbytest/providers/Microsoft.HybridCompute/licenses/testLicense2\",\"name\":\"testLicense2\",\"location\":\"uksouth\",\"type\":\"Microsoft.HybridCompute/licenses\",\"properties\":{\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"licenseType\":\"ESU\",\"licenseDetails\":{\"state\":\"Deactivated\",\"target\":\"Windows Server 2012\",\"edition\":\"Datacenter\",\"type\":\"pCore\",\"processors\":16,\"assignedLicenses\":8,\"immutableId\":\"ab5b736c-bbbb-4ea2-ba48-abd14d87ddc0\"}}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/dakirbytest/providers/Microsoft.HybridCompute/licenses/dakirbyTestLicense\",\"name\":\"dakirbyTestLicense\",\"location\":\"eastus2euap\",\"type\":\"Microsoft.HybridCompute/licenses\",\"properties\":{\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"licenseType\":\"ESU\",\"licenseDetails\":{\"state\":\"Activated\",\"target\":\"Windows Server 2012\",\"edition\":\"Datacenter\",\"type\":\"pCore\",\"processors\":16,\"assignedLicenses\":8,\"immutableId\":\"1ba125b6-54b8-4984-a372-591f90b44583\",\"volumeLicenseDetails\":[{\"programYear\":\"Year 1\",\"invoiceId\":\"1234567890\"}]}}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/dakirbytest/providers/Microsoft.HybridCompute/licenses/testLicense\",\"name\":\"testLicense\",\"location\":\"centraluseuap\",\"type\":\"Microsoft.HybridCompute/licenses\",\"properties\":{\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"licenseType\":\"ESU\",\"licenseDetails\":{\"state\":\"Activated\",\"target\":\"Windows Server 2012\",\"edition\":\"Datacenter\",\"type\":\"pCore\",\"processors\":16,\"assignedLicenses\":8,\"immutableId\":\"d95eb0dd-282e-4d3e-9f55-9621f20e095c\"}}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/dakirbytest/providers/Microsoft.HybridCompute/licenses/testLicense\",\"name\":\"testLicense\",\"location\":\"centraluseuap\",\"type\":\"Microsoft.HybridCompute/licenses\",\"properties\":{\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"licenseType\":\"ESU\",\"licenseDetails\":{\"state\":\"Deactivated\",\"target\":\"Windows Server 2012\",\"edition\":\"Datacenter\",\"type\":\"pCore\",\"processors\":16,\"assignedLicenses\":8,\"immutableId\":\"2d5b6287-781c-4579-a7cb-6bd5368d166c\"}}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/dakirbytest/providers/Microsoft.HybridCompute/licenses/testLicense3\",\"name\":\"testLicense3\",\"location\":\"centraluseuap\",\"type\":\"Microsoft.HybridCompute/licenses\",\"properties\":{\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"licenseType\":\"ESU\",\"licenseDetails\":{\"state\":\"Deactivated\",\"target\":\"Windows Server 2012\",\"edition\":\"Datacenter\",\"type\":\"pCore\",\"processors\":16,\"assignedLicenses\":8,\"immutableId\":\"079c0d28-9fbb-44da-b5fc-a5400d17d28d\"}}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/dakirbytest/providers/Microsoft.HybridCompute/licenses/testLicense4\",\"name\":\"testLicense4\",\"location\":\"centraluseuap\",\"type\":\"Microsoft.HybridCompute/licenses\",\"properties\":{\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"licenseType\":\"ESU\",\"licenseDetails\":{\"state\":\"Deactivated\",\"target\":\"Windows Server 2012\",\"edition\":\"Datacenter\",\"type\":\"pCore\",\"processors\":16,\"assignedLicenses\":8,\"immutableId\":\"8ac55106-9e67-4ae5-9895-f8cea06746b5\"}}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/dakirbytest/providers/Microsoft.HybridCompute/licenses/testLicense5\",\"name\":\"testLicense5\",\"location\":\"centraluseuap\",\"type\":\"Microsoft.HybridCompute/licenses\",\"properties\":{\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"licenseType\":\"ESU\",\"licenseDetails\":{\"state\":\"Deactivated\",\"target\":\"Windows Server 2012\",\"edition\":\"Datacenter\",\"type\":\"pCore\",\"processors\":16,\"assignedLicenses\":8,\"immutableId\":\"9ed37cc3-227f-44bd-919c-3dfb73e84b2c\"}}}]}", "isContentBase64": false } }, - "Get-AzConnectedLicense+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/licenses/myEsuLicense?api-version=2024-05-20-preview+1": { + "Get-AzConnectedLicense+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/licenses/myEsuLicense2?api-version=2024-07-10+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/licenses/myEsuLicense?api-version=2024-05-20-preview", + "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/licenses/myEsuLicense2?api-version=2024-07-10", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "3" ], - "x-ms-client-request-id": [ "a8337f15-ae53-4c1b-9090-c86950fdee82" ], + "x-ms-client-request-id": [ "5429d564-675b-4663-b8f5-a0bd543e075f" ], "CommandName": [ "Get-AzConnectedLicense" ], "FullCommandName": [ "Get-AzConnectedLicense_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.5.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -107,22 +107,22 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11997" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-request-id": [ "422b1b5c-3128-4d33-8707-175c30794613" ], - "x-ms-correlation-request-id": [ "34aff23d-07ca-4ea3-88d8-55b5335199f6" ], - "x-ms-routing-request-id": [ "EASTUS2:20240919T203006Z:34aff23d-07ca-4ea3-88d8-55b5335199f6" ], + "x-ms-request-id": [ "f8d07151-eacb-4f34-9d58-930957ca76f8" ], + "x-ms-correlation-request-id": [ "457a4494-97bf-4a29-adc1-b755815cac1b" ], + "x-ms-routing-request-id": [ "EASTUS2:20241003T202317Z:457a4494-97bf-4a29-adc1-b755815cac1b" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: F8EA32313DBC4412994D1B8FBA9EDB90 Ref B: MNZ221060609011 Ref C: 2024-09-19T20:30:05Z" ], - "Date": [ "Thu, 19 Sep 2024 20:30:06 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 8D846BA0094F42349713BADBCD6EBEEA Ref B: MNZ221060610039 Ref C: 2024-10-03T20:23:17Z" ], + "Date": [ "Thu, 03 Oct 2024 20:23:17 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "515" ], + "Content-Length": [ "510" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/licenses/myEsuLicense\",\"name\":\"myEsuLicense\",\"location\":\"centraluseuap\",\"type\":\"Microsoft.HybridCompute/licenses\",\"properties\":{\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"licenseType\":\"ESU\",\"licenseDetails\":{\"state\":\"Activated\",\"target\":\"Windows Server 2012\",\"edition\":\"Datacenter\",\"type\":\"pCore\",\"processors\":16,\"assignedLicenses\":8,\"immutableId\":\"add55cb2-4a65-40b6-8f50-62000c9bf26e\"}}}", + "Content": "{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/licenses/myEsuLicense2\",\"name\":\"myEsuLicense2\",\"location\":\"eastus\",\"type\":\"Microsoft.HybridCompute/licenses\",\"properties\":{\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"licenseType\":\"ESU\",\"licenseDetails\":{\"state\":\"Activated\",\"target\":\"Windows Server 2012\",\"edition\":\"Datacenter\",\"type\":\"pCore\",\"processors\":16,\"assignedLicenses\":8,\"immutableId\":\"ddd0d283-d0d0-4aa2-89c6-d8d4a2189909\"}}}", "isContentBase64": false } } diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/test/Get-AzConnectedMachine.Recording.json b/src/ConnectedMachine/ConnectedMachine.Autorest/test/Get-AzConnectedMachine.Recording.json index 9b1e503a905a..8bd273026ee0 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/test/Get-AzConnectedMachine.Recording.json +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/test/Get-AzConnectedMachine.Recording.json @@ -1,17 +1,17 @@ { - "Get-AzConnectedMachine+[NoContext]+List+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/machines?api-version=2024-05-20-preview+1": { + "Get-AzConnectedMachine+[NoContext]+List+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/machines?api-version=2024-07-10+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/machines?api-version=2024-05-20-preview", + "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/machines?api-version=2024-07-10", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "1" ], - "x-ms-client-request-id": [ "ea597853-d99e-4ddd-a044-a903d9ebe0c8" ], + "x-ms-client-request-id": [ "bdd40ef4-1302-446c-b59a-1e7285a07d6a" ], "CommandName": [ "Get-AzConnectedMachine" ], "FullCommandName": [ "Get-AzConnectedMachine_List1" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.5.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -22,39 +22,39 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-original-request-ids": [ "ff072bcd-f146-4c8b-ae29-e898d5c8b687", "c5bce035-32a7-45a4-8870-c71e72b40f06", "a0f75786-4975-44b2-83ee-8bf2fac869a9", "bf6bfd9f-19f0-470d-b2ac-edcc596ab1eb", "7abd1697-8de9-4a26-8a9c-be8547ee8987", "01466e2e-3ec4-424d-8dc5-83b16076145d", "9df8935a-25f9-44bd-8573-32bab22933db", "00cde679-f8d9-461d-aa7b-6e3708614b4b", "4f5e0a75-c73a-4170-878a-3dd9815abde0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], - "x-ms-request-id": [ "003250cc-70b8-4135-ad7e-a70c08720b5f" ], - "x-ms-correlation-request-id": [ "003250cc-70b8-4135-ad7e-a70c08720b5f" ], - "x-ms-routing-request-id": [ "EASTUS:20240919T183425Z:003250cc-70b8-4135-ad7e-a70c08720b5f" ], + "x-ms-original-request-ids": [ "337caedf-94a4-4be3-9124-a22b6b9bc53d", "a2e3336f-ad2c-44a1-b7b3-8f635d3804e2", "a82bca53-6fb2-4a2a-9d78-5525ddadc498", "f8786a0b-5070-4c43-905f-a26dafff0839", "73d84290-91e5-4cbb-9faf-6606cc479d3c", "1d68d3c4-96a8-4052-bfaf-47b8e47d7463", "6d250066-b355-4287-af0b-d0f74209beec", "7d137b24-7946-4d31-bb16-76689bfb5209" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], + "x-ms-request-id": [ "14d98451-491b-40e6-914e-9c2926e62d92" ], + "x-ms-correlation-request-id": [ "14d98451-491b-40e6-914e-9c2926e62d92" ], + "x-ms-routing-request-id": [ "EASTUS2:20241003T202506Z:14d98451-491b-40e6-914e-9c2926e62d92" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 6B0F20527A3F4ED4A929653C6ED76628 Ref B: MNZ221060619037 Ref C: 2024-09-19T18:34:24Z" ], - "Date": [ "Thu, 19 Sep 2024 18:34:25 GMT" ] + "X-MSEdge-Ref": [ "Ref A: EC2E8C0375EF4A5D8370B5CBB07D231B Ref B: MNZ221060610047 Ref C: 2024-10-03T20:25:05Z" ], + "Date": [ "Thu, 03 Oct 2024 20:25:05 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "90481" ], + "Content-Length": [ "92263" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/juschen-test/providers/Microsoft.HybridCompute/machines/juschen-arc-test\",\"name\":\"juschen-arc-test\",\"location\":\"westcentralus\",\"type\":\"Microsoft.HybridCompute/machines\",\"tags\":{},\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"416c6882-66e3-40d4-8f49-f07f243e6e3b\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"agentVersion\":\"1.0.0.0\",\"status\":\"Connected\",\"lastStatusChange\":\"2024-09-19T18:33:41.715665Z\",\"errorDetails\":[],\"displayName\":\"LAPTOP-6ALJOREQ\",\"machineFqdn\":\"LAPTOP-6ALJOREQ\",\"osName\":\"windows\",\"osVersion\":\"10.0.22631.4169\",\"osType\":\"windows\",\"osProfile\":{\"computerName\":\"LAPTOP-6ALJOREQ\"},\"vmId\":\"c73bdc4a-a6af-4a84-b713-945e94854065\",\"vmUuid\":\"62E541CC-1E9B-11B2-A85C-C3B0E9AC02C8\",\"clientPublicKey\":\"MIIBCgKCAQEApZyQudxmOckuie9iC1wkMQcXDVOjy3522ck46ijNcAiB9DmkelPZ90WHbyRGvHAwds9S4OVm3dsJPdrRydt6Zu+CK9ocS5sPt67lo6IoE7IYUjfZQRx7JpUGRq7dEXk5CpH41NqAHFGnNoUyzzbG6Y8Azn75BkiLL5eEOQpvmMRDz6ol99wjkT0uXOUjxQ61kd9nzQT/aqXQ1F3cUhpdbpMkFgwpsLGIlcFk3+4nyEcQCysohKVcxLVlidbGYZhezO60+CiG2cBVgbI+jFklxFbBxvGpXVPiy9Z/K+RIWbxFz7qUBCIipgXK4/TIoWBrvFp0nooRBvJ2bTGYEfn+nwIDAQAB\",\"osSku\":\"Windows 11 Enterprise\",\"osEdition\":\"enterprise\",\"osInstallDate\":\"2022-12-11T08:41:31+00:00\",\"domainName\":\"WORKGROUP\",\"adFqdn\":\"LAPTOP-6ALJOREQ\",\"dnsFqdn\":\"LAPTOP-6ALJOREQ\",\"mssqlDiscovered\":\"false\",\"cloudMetadata\":{\"provider\":\"N/A\"},\"detectedProperties\":{\"cloudprovider\":\"N/A\",\"coreCount\":\"4\",\"logicalCoreCount\":\"8\",\"manufacturer\":\"LENOVO\",\"model\":\"20T1S4U800\",\"mssqldiscovered\":\"false\",\"processorCount\":\"1\",\"processorNames\":\"Intel(R) Core(TM) i7-10610U CPU @ 1.80GHz\",\"productType\":\"4\",\"serialNumber\":\"PC205SCY\",\"smbiosAssetTag\":\"No Asset Information\",\"totalPhysicalMemoryInBytes\":\"34359738368\",\"totalPhysicalMemoryInGigabytes\":\"32\",\"vmuuidEsu2012\":\"62E541CC-1E9B-11B2-A85C-C3B0E9AC02C8\"},\"agentConfiguration\":{\"proxyUrl\":\"\",\"incomingConnectionsPorts\":[],\"extensionsAllowList\":[],\"extensionsBlockList\":[],\"proxyBypass\":[],\"extensionsEnabled\":\"true\",\"guestConfigurationEnabled\":\"true\",\"configMode\":\"full\"},\"serviceStatuses\":{\"extensionService\":{\"status\":\"running\",\"startupType\":\"automatic\"},\"guestConfigurationService\":{\"status\":\"running\",\"startupType\":\"automatic\"}},\"agentUpgrade\":{\"enableAutomaticUpgrade\":false},\"networkProfile\":{\"networkInterfaces\":[{\"ipAddresses\":[{\"address\":\"192.168.0.101\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"192.168.0.0/24\"}}],\"macAddress\":\"80:6d:97:1f:24:5d\",\"id\":\"5\",\"name\":\"Ethernet 2\"},{\"ipAddresses\":[{\"address\":\"192.168.56.1\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"192.168.56.0/24\"}}],\"macAddress\":\"0a:00:27:00:00:0b\",\"id\":\"11\",\"name\":\"VirtualBox Host-Only Network\"},{\"ipAddresses\":[{\"address\":\"192.168.0.243\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"192.168.0.0/24\"}}],\"macAddress\":\"4c:79:6e:76:0e:76\",\"id\":\"8\",\"name\":\"Wi-Fi\"},{\"ipAddresses\":[{\"address\":\"2001:0:d5b:9458:2c02:2741:e7dc:b5d3\",\"ipAddressVersion\":\"IPv6\",\"subnet\":{\"addressPrefix\":\"2001:0:d5b:9458::/64\"}}],\"macAddress\":\"00:00:00:00:00:00:00:e0\",\"id\":\"18\",\"name\":\"Teredo Tunneling Pseudo-Interface\"},{\"ipAddresses\":[{\"address\":\"172.24.208.1\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"172.24.208.0/20\"}}],\"macAddress\":\"00:15:5d:54:f9:d8\",\"id\":\"26\",\"name\":\"vEthernet (Default Switch)\"}]},\"licenseProfile\":{\"licenseStatus\":\"Licensed\",\"licenseChannel\":\"Retail\",\"esuProfile\":{\"licenseAssignmentState\":\"NotAssigned\",\"serverType\":\"Unknown\",\"esuEligibility\":\"Ineligible\",\"esuKeyState\":\"Inactive\",\"esuKeys\":[]}},\"storageProfile\":{\"disks\":[{\"path\":\"\\\\\\\\.\\\\PHYSICALDRIVE0\",\"diskType\":\"Fixed hard disk media\",\"generatedId\":\"\\\\\\\\.\\\\PHYSICALDRIVE0\",\"id\":\"\\\\\\\\.\\\\PHYSICALDRIVE0\",\"name\":\"KXG6AZNV1T02 TOSHIBA\",\"maxSizeInBytes\":1024203640320,\"usedSpaceInBytes\":465660702208}]},\"firmwareProfile\":{\"serialNumber\":\"PC205SCY\",\"type\":\"EFI\"},\"hardwareProfile\":{\"totalPhysicalMemoryInBytes\":34359738368,\"numberOfCpuSockets\":1,\"processors\":[{\"name\":\"Intel(R) Core(TM) i7-10610U CPU @ 1.80GHz\",\"numberOfCores\":4}]}}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/donaliu3/providers/Microsoft.HybridCompute/machines/Arc-Win-Demo\",\"name\":\"Arc-Win-Demo\",\"location\":\"westcentralus\",\"type\":\"Microsoft.HybridCompute/machines\",\"tags\":{\"Project\":\"jumpstart_azure_arc_servers\"},\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"1c1d7add-ec45-4f8b-969b-ceb5e60af94f\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"agentVersion\":\"1.46.02809.1841\",\"status\":\"Connected\",\"lastStatusChange\":\"2024-09-19T17:56:37.7810054Z\",\"errorDetails\":[],\"displayName\":\"Arc-Win-Demo\",\"machineFqdn\":\"Arc-Win-Demo\",\"osName\":\"windows\",\"osVersion\":\"10.0.20348.2700\",\"osType\":\"windows\",\"osProfile\":{\"computerName\":\"Arc-Win-Demo\"},\"vmId\":\"36b1f6d8-7adb-452e-9140-a09d98655c92\",\"vmUuid\":\"4407A197-1DA3-42C2-9F94-1C0ED3E65E6D\",\"clientPublicKey\":\"MIIBCgKCAQEA13fRx1IYqV/49YYa280NWN4Qj95S2yieHnzX/hY8+CXitGM13Id8rkKw4Jw16vZuPl8qshBIEGMJ0yYXQVKUyt3Vb/nfd7E33zh4Z89ApICgAG75j9KvVOeusYgGSDCs8fJrQrZkIzLnVyIQeM+uER672oX2zzVc8DnpPm23z4GcJBcUFO8GxX3mZVz9FviW3byOHa3D9IuTIAIGhpaStI/4rA+CKahHrPk6psi4O03AO+WkRQoo58W0BIbMtnvZQdj3x0AC3iI/jxCYzjoutc9TgACIlYLQc5HcG2iY/RKm9I3PKmPpVbJEPg3cFFuEpKSdSFRtvlwFI9DGXUPDswIDAQAB\",\"osSku\":\"Windows Server 2022 Datacenter\",\"osEdition\":\"serverdatacenter\",\"osInstallDate\":\"2024-09-12T17:44:28Z\",\"domainName\":\"WORKGROUP\",\"adFqdn\":\"Arc-Win-Demo\",\"dnsFqdn\":\"Arc-Win-Demo\",\"mssqlDiscovered\":\"false\",\"cloudMetadata\":{\"provider\":\"N/A\"},\"detectedProperties\":{\"cloudprovider\":\"N/A\",\"coreCount\":\"1\",\"logicalCoreCount\":\"2\",\"manufacturer\":\"Microsoft Corporation\",\"model\":\"Virtual Machine\",\"mssqldiscovered\":\"false\",\"processorCount\":\"1\",\"processorNames\":\"AMD EPYC 7763 64-Core Processor\",\"productType\":\"8\",\"serialNumber\":\"4708-7785-5746-4791-9961-7817-21\",\"smbiosAssetTag\":\"7783-7084-3265-9085-8269-3286-77\",\"totalPhysicalMemoryInBytes\":\"17179869184\",\"totalPhysicalMemoryInGigabytes\":\"16\",\"vmuuidEsu2012\":\"4407A197-1DA3-42C2-9F94-1C0ED3E65E6D\"},\"privateLinkScopeResourceId\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/donaliu3/providers/Microsoft.HybridCompute/privateLinkScopes/Arc-Win-Demo-PLS\",\"agentConfiguration\":{\"proxyUrl\":\"\",\"incomingConnectionsPorts\":[],\"extensionsAllowList\":[],\"extensionsBlockList\":[],\"proxyBypass\":[],\"extensionsEnabled\":\"true\",\"guestConfigurationEnabled\":\"true\",\"configMode\":\"full\"},\"serviceStatuses\":{\"extensionService\":{\"status\":\"running\",\"startupType\":\"automatic\"},\"guestConfigurationService\":{\"status\":\"running\",\"startupType\":\"automatic\"}},\"agentUpgrade\":{\"enableAutomaticUpgrade\":false},\"networkProfile\":{\"networkInterfaces\":[{\"ipAddresses\":[{\"address\":\"10.1.0.4\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"10.1.0.0/24\"}}],\"macAddress\":\"60:45:bd:25:04:4d\",\"id\":\"6\",\"name\":\"Ethernet\"}]},\"licenseProfile\":{\"licenseStatus\":\"Licensed\",\"licenseChannel\":\"Volume:GVLK\",\"esuProfile\":{\"licenseAssignmentState\":\"NotAssigned\",\"serverType\":\"Datacenter\",\"esuEligibility\":\"Ineligible\",\"esuKeyState\":\"Inactive\"}},\"storageProfile\":{\"disks\":[{\"path\":\"\\\\\\\\.\\\\PHYSICALDRIVE0\",\"diskType\":\"Fixed hard disk media\",\"generatedId\":\"\\\\\\\\.\\\\PHYSICALDRIVE0\",\"id\":\"\\\\\\\\.\\\\PHYSICALDRIVE0\",\"name\":\"Microsoft Virtual Disk\",\"maxSizeInBytes\":136366917120,\"usedSpaceInBytes\":18043319808}]},\"firmwareProfile\":{\"serialNumber\":\"4708-7785-5746-4791-9961-7817-21\",\"type\":\"EFI\"},\"hardwareProfile\":{\"totalPhysicalMemoryInBytes\":17179869184,\"numberOfCpuSockets\":1,\"processors\":[{\"name\":\"AMD EPYC 7763 64-Core Processor \",\"numberOfCores\":1}]}}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/duyt-test/providers/Microsoft.HybridCompute/machines/duytsni2\",\"name\":\"duytsni2\",\"location\":\"westus2\",\"type\":\"Microsoft.HybridCompute/machines\",\"tags\":{\"ArcSQLServerExtensionDeployment\":\"Disabled\"},\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"258d46da-5a03-4c07-be9e-0bdeb69eaef2\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"agentVersion\":\"1.46.02809.1841\",\"status\":\"Connected\",\"lastStatusChange\":\"2024-09-19T18:09:28.5647629Z\",\"errorDetails\":[],\"displayName\":\"duyt-homevm\",\"machineFqdn\":\"duyt-homevm\",\"osName\":\"windows\",\"osVersion\":\"10.0.22631.4169\",\"osType\":\"windows\",\"osProfile\":{\"computerName\":\"duyt-homevm\"},\"vmId\":\"2a4beaf3-c4b4-4163-9883-c10a7ce2769a\",\"vmUuid\":\"3C57CCD3-4F38-4413-88DA-C51A0B8B9FB2\",\"clientPublicKey\":\"MIIBCgKCAQEA0IRPvr+/fyumkvQHhWA9pSF5wVj54fh/y+UIdFHHOmyn5gfG7g+36ajzzfIhPCEKn0yUdFk1qLtbaOnyM8ggipoXsBl83Z0T57BMApH+DsVC931GrYzXhHLF5ydyucbOGkOZlPDlvflT5Nv+EGWK09dZ11U40h/sCGrJPl+gsYo0ruOOSMUm07PgU60zkNc6eu0aiY7y/1mUVSVjEch+zY8IDEDfQ16LP1XLzrT8kO4RbbM3BNtO8rSIz9GxqC1kg+Npq79elDnWSaUBJPpW1xjyorSAHc7p1bZ/xDJHfpTRsd9CxDKR1hm5bn2sMPi/dAOPmHCSw0gl0zi1ZPNnjwIDAQAB\",\"osSku\":\"Windows 11 Enterprise N\",\"osEdition\":\"enterprisen\",\"osInstallDate\":\"2024-05-28T22:30:14+00:00\",\"domainName\":\"WORKGROUP\",\"adFqdn\":\"duyt-homevm\",\"dnsFqdn\":\"duyt-homevm\",\"mssqlDiscovered\":\"false\",\"cloudMetadata\":{\"provider\":\"N/A\"},\"detectedProperties\":{\"cloudprovider\":\"N/A\",\"coreCount\":\"3\",\"logicalCoreCount\":\"6\",\"manufacturer\":\"Microsoft Corporation\",\"model\":\"Virtual Machine\",\"mssqldiscovered\":\"false\",\"processorCount\":\"1\",\"processorNames\":\"AMD Ryzen 5 5600X 6-Core Processor\",\"productType\":\"27\",\"serialNumber\":\"0595-3855-9710-4885-7771-6992-11\",\"smbiosAssetTag\":\"0595-3855-9710-4885-7771-6992-11\",\"totalPhysicalMemoryInBytes\":\"4294967296\",\"totalPhysicalMemoryInGigabytes\":\"4\",\"vmuuidEsu2012\":\"3C57CCD3-4F38-4413-88DA-C51A0B8B9FB2\"},\"agentConfiguration\":{\"proxyUrl\":\"\",\"incomingConnectionsPorts\":[],\"extensionsAllowList\":[],\"extensionsBlockList\":[],\"proxyBypass\":[],\"extensionsEnabled\":\"true\",\"guestConfigurationEnabled\":\"true\",\"configMode\":\"full\"},\"serviceStatuses\":{\"extensionService\":{\"status\":\"running\",\"startupType\":\"automatic\"},\"guestConfigurationService\":{\"status\":\"running\",\"startupType\":\"automatic\"}},\"agentUpgrade\":{\"enableAutomaticUpgrade\":false},\"networkProfile\":{\"networkInterfaces\":[{\"ipAddresses\":[{\"address\":\"172.29.93.193\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"172.29.80.0/20\"}}]},{\"ipAddresses\":[{\"address\":\"2001:0:d5b:9458:c6b:1042:cddc:dc8b\",\"ipAddressVersion\":\"IPv6\",\"subnet\":{\"addressPrefix\":\"2001:0:d5b:9458::/64\"}}]}]},\"licenseProfile\":{\"licenseStatus\":\"Licensed\",\"licenseChannel\":\"Volume:MAK\",\"esuProfile\":{\"licenseAssignmentState\":\"NotAssigned\",\"serverType\":\"Unknown\",\"esuEligibility\":\"Ineligible\",\"esuKeyState\":\"Inactive\",\"esuKeys\":[]}}}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/kevinr-test/providers/Microsoft.HybridCompute/machines/krabinowitz_lap\",\"name\":\"krabinowitz_lap\",\"location\":\"westeurope\",\"type\":\"Microsoft.HybridCompute/machines\",\"tags\":{},\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"b43f745f-9f36-4bbc-af44-bd1ed527c967\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"agentVersion\":\"1.45.02769.1796\",\"status\":\"Connected\",\"lastStatusChange\":\"2024-09-19T18:34:19.4559618Z\",\"errorDetails\":[],\"displayName\":\"krabinowitz_lap\",\"machineFqdn\":\"krabinowitz_lap\",\"osName\":\"windows\",\"osVersion\":\"10.0.22631.4169\",\"osType\":\"windows\",\"osProfile\":{\"computerName\":\"krabinowitz_lap\"},\"vmId\":\"e77d10d4-974c-47f8-bc19-c27f4177ab55\",\"vmUuid\":\"151859CC-2C4F-11B2-A85C-953A9FC8E0A5\",\"clientPublicKey\":\"MIIBCgKCAQEAppEhIu1b5krlifTGEIdloTC/Yn7TMRddinoTJmRCQvhUN7Aby7RPcJWTbe9szFri4sPL1Q86UK+ONJiVqnM4IKLB+RO3pSa9AddOcyZL00o434ZsIugGVcNHVs7xtIQ92Ii6l9f/qRsZKAwxGme+umrHjaIWIR1Ezq+HJ7bx3d0Is7w6m1t1PC6j0/uebFL/wMQ3+e73hCSlFFGDJ7BYtueUQ3NQjZde0WY22m+u7gcMhuUswyeRWWdQhcXxoFzKLYEIaXoWVKHsZE9ge9vc+z0uk87i2GU4Epj5nuIglejo20ZhSHClPdbs/CUkeSfiN4Vq7NLBDuVhRthXofpu6wIDAQAB\",\"osSku\":\"Windows 11 Pro\",\"osEdition\":\"professional\",\"osInstallDate\":\"2023-02-08T05:21:49+00:00\",\"domainName\":\"WORKGROUP\",\"adFqdn\":\"krabinowitz_lap\",\"dnsFqdn\":\"krabinowitz_lap\",\"mssqlDiscovered\":\"false\",\"cloudMetadata\":{\"provider\":\"N/A\"},\"detectedProperties\":{\"cloudprovider\":\"N/A\",\"coreCount\":\"4\",\"logicalCoreCount\":\"8\",\"manufacturer\":\"LENOVO\",\"model\":\"20Y0S2PE00\",\"mssqldiscovered\":\"false\",\"processorCount\":\"1\",\"processorNames\":\"11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz\",\"productType\":\"48\",\"serialNumber\":\"PF33PPRK\",\"smbiosAssetTag\":\"No Asset Information\",\"totalPhysicalMemoryInBytes\":\"34359738368\",\"totalPhysicalMemoryInGigabytes\":\"32\",\"vmuuidEsu2012\":\"151859CC-2C4F-11B2-A85C-953A9FC8E0A5\"},\"agentConfiguration\":{\"proxyUrl\":\"\",\"incomingConnectionsPorts\":[],\"extensionsAllowList\":[],\"extensionsBlockList\":[],\"proxyBypass\":[],\"extensionsEnabled\":\"true\",\"guestConfigurationEnabled\":\"true\",\"configMode\":\"full\"},\"serviceStatuses\":{\"extensionService\":{\"status\":\"running\",\"startupType\":\"automatic\"},\"guestConfigurationService\":{\"status\":\"running\",\"startupType\":\"automatic\"}},\"agentUpgrade\":{\"enableAutomaticUpgrade\":false},\"networkProfile\":{\"networkInterfaces\":[{\"ipAddresses\":[{\"address\":\"10.12.70.101\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"10.12.0.0/15\"}}]},{\"ipAddresses\":[{\"address\":\"2001:4898:d8:79::5c52\",\"ipAddressVersion\":\"IPv6\",\"subnet\":{\"addressPrefix\":\"2001:4898:d8:79::5c52/128\"}},{\"address\":\"100.64.160.94\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"100.64.160.94/32\"}}]}]},\"licenseProfile\":{\"licenseStatus\":\"Licensed\",\"licenseChannel\":\"Retail\",\"esuProfile\":{\"licenseAssignmentState\":\"NotAssigned\",\"serverType\":\"Unknown\",\"esuEligibility\":\"Ineligible\",\"esuKeyState\":\"Inactive\",\"esuKeys\":[]}}}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/manojamp/providers/Microsoft.HybridCompute/machines/dboxvm4\",\"name\":\"dboxvm4\",\"location\":\"eastus\",\"type\":\"Microsoft.HybridCompute/machines\",\"tags\":{},\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"e1cfa927-282e-46d7-ad80-90d1f408ef6d\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"agentVersion\":\"1.43.02719.1566\",\"status\":\"Connected\",\"lastStatusChange\":\"2024-09-19T17:49:44.6899822Z\",\"errorDetails\":[],\"displayName\":\"ubuntu4\",\"machineFqdn\":\"ubuntu4\",\"osName\":\"linux\",\"osVersion\":\"5.4.0-176-generic\",\"osType\":\"linux\",\"osProfile\":{\"computerName\":\"ubuntu4\"},\"vmId\":\"d8c95221-5eac-4596-940d-e1c3937c0a8e\",\"vmUuid\":\"16cc6b93-2b9e-944d-bb00-c55fd0ffa70f\",\"clientPublicKey\":\"MIIBCgKCAQEAzaS+Xr1PeBmLvvMf5FAKrkIMjlhfp4a99RrCEAynvy2o27lcb8E3b3YpL+zzaVHdlr62EfMiSdYcxqd3hqyUgkOIV+eqcawnTuSOGXehjLqB9dAq/DuYRcEcooO9x7s6i0XsZ51dw6CMamkxMMB3E9qL400ynI3aNP0Kxp05hv+yjIJ2gmX3/ZngGPfwmhkCZt2MbWDS9hFUYXnhdPBdxusOu+rUID5LNJbrXfBNqZdFGDjd8yd4bk9PxTUgaBjbTHQmYU3NsNpnUYlq/iyOjQ8nOzjH2GWEXtgvpFEOuZJhnosivcDHfOnL/UxvKPenkixvTln/L/Zh+oYhPRztxwIDAQAB\",\"osSku\":\"Ubuntu 20.04.6 LTS\",\"osEdition\":\"unknown\",\"domainName\":\"unknown\",\"adFqdn\":\"unknown\",\"dnsFqdn\":\"ubuntu4.mshome.net\",\"mssqlDiscovered\":\"false\",\"cloudMetadata\":{\"provider\":\"Azure\"},\"detectedProperties\":{\"Azure-resourceId\":\"/subscriptions/2b8a3e8c-4267-44f2-b65c-fe8675f6d476/resourceGroups/f9a35a43-8f39-408b-b864-9b07cec373ae/providers/Microsoft.Compute/virtualMachines/CPC_5777870d-ec6f-436a-984b-567be40e23e8\",\"cloudprovider\":\"Azure\",\"coreCount\":\"4\",\"logicalCoreCount\":\"8\",\"manufacturer\":\"Microsoft Corporation\",\"model\":\"Virtual Machine\",\"mssqldiscovered\":\"false\",\"processorCount\":\"1\",\"processorNames\":\"AMD EPYC 7763 64-Core Processor\",\"productType\":\"unknown\",\"serialNumber\":\"unknown\",\"smbiosAssetTag\":\"9865-9482-5580-1473-1447-2782-03\",\"totalPhysicalMemoryInBytes\":\"4108877824\",\"totalPhysicalMemoryInGigabytes\":\"3\"},\"agentConfiguration\":{\"proxyUrl\":\"http://localhost:40343\",\"incomingConnectionsPorts\":[],\"extensionsAllowList\":[],\"extensionsBlockList\":[],\"proxyBypass\":[],\"extensionsEnabled\":\"true\",\"guestConfigurationEnabled\":\"true\",\"configMode\":\"full\"},\"serviceStatuses\":{\"extensionService\":{\"status\":\"active\",\"startupType\":\"enabled\"},\"guestConfigurationService\":{\"status\":\"active\",\"startupType\":\"enabled\"}},\"agentUpgrade\":{\"enableAutomaticUpgrade\":false},\"networkProfile\":{\"networkInterfaces\":[{\"ipAddresses\":[{\"address\":\"192.168.123.100\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"192.168.112.0/20\"}}]},{\"ipAddresses\":[{\"address\":\"172.17.0.1\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"172.17.0.0/16\"}}]}]},\"licenseProfile\":{\"esuProfile\":{\"licenseAssignmentState\":\"NotAssigned\",\"serverType\":\"Unknown\",\"esuEligibility\":\"Ineligible\",\"esuKeyState\":\"Inactive\"}}}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/duyt-test/providers/Microsoft.HybridCompute/machines/duyt-laptop\",\"name\":\"duyt-laptop\",\"location\":\"eastus\",\"type\":\"Microsoft.HybridCompute/machines\",\"tags\":{},\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"bba929c3-51ec-476d-8e55-aed38d83f7b7\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"agentVersion\":\"1.44.02748.1755\",\"status\":\"Expired\",\"lastStatusChange\":\"2024-08-02T20:22:11.4874507Z\",\"errorDetails\":[],\"displayName\":\"duyt-laptop\",\"machineFqdn\":\"duyt-laptop\",\"osName\":\"windows\",\"osVersion\":\"10.0.22631.3880\",\"osType\":\"windows\",\"osProfile\":{\"computerName\":\"duyt-laptop\"},\"vmId\":\"e4c4ec83-51db-4c53-b1ea-9a71efdaa0d5\",\"vmUuid\":\"F9E64AC2-D6FC-11EB-80F0-902E165409AA\",\"clientPublicKey\":\"MIIBCgKCAQEAuiQB/07pqArEO4mz0pWkiM6rVcpx3HO/0+RRHcDwfZkF/CcVrMLiA4c31QU2rbAdmHmUeWAHcD9GgGUVWN264lMujJiNGN/mPBa+E7E2KQrOz7t2VTbhsQpgmPv3BlVwnxFVkcxSNvUu1/p/fSHnBWqurgcGGffNjJdOKMJp7Mdzuj91S9D5FhVAyXMp6FdgiNKfnKUpqjnTDkPUJP7/d8LW/oXS3VuXmUv+UNeCNqrKN3Ywk/Vx8Q66W2vLXo9KnmKKepnvlbEpTXd8j41dpgLRMDpa60XA1oPYYjtu0aB/mGFHGM4zh6QRmyRVprQs+Fr4MxJRQ+WuTTWparPWaQIDAQAB\",\"osSku\":\"Windows 11 Enterprise\",\"osEdition\":\"enterprise\",\"osInstallDate\":\"2022-09-14T22:18:03+00:00\",\"domainName\":\"WORKGROUP\",\"adFqdn\":\"duyt-laptop\",\"dnsFqdn\":\"duyt-laptop\",\"mssqlDiscovered\":\"false\",\"cloudMetadata\":{\"provider\":\"N/A\"},\"detectedProperties\":{\"cloudprovider\":\"N/A\",\"coreCount\":\"4\",\"logicalCoreCount\":\"8\",\"manufacturer\":\"LENOVO\",\"model\":\"20Y0S2PE00\",\"mssqldiscovered\":\"false\",\"processorCount\":\"1\",\"processorNames\":\"11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz\",\"productType\":\"4\",\"serialNumber\":\"PF3427T0\",\"smbiosAssetTag\":\"14705374\",\"totalPhysicalMemoryInBytes\":\"34359738368\",\"totalPhysicalMemoryInGigabytes\":\"32\",\"vmuuidEsu2012\":\"F9E64AC2-D6FC-11EB-80F0-902E165409AA\"},\"agentConfiguration\":{\"proxyUrl\":\"\",\"incomingConnectionsPorts\":[],\"extensionsAllowList\":[],\"extensionsBlockList\":[],\"proxyBypass\":[],\"extensionsEnabled\":\"true\",\"guestConfigurationEnabled\":\"true\",\"configMode\":\"full\"},\"serviceStatuses\":{\"extensionService\":{\"status\":\"running\",\"startupType\":\"automatic\"},\"guestConfigurationService\":{\"status\":\"running\",\"startupType\":\"automatic\"}},\"agentUpgrade\":{\"enableAutomaticUpgrade\":false},\"networkProfile\":{\"networkInterfaces\":[{\"ipAddresses\":[{\"address\":\"192.168.1.22\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"192.168.1.0/24\"}}]},{\"ipAddresses\":[{\"address\":\"2001:0:d5b:9458:1c9c:75a:cdd1:214\",\"ipAddressVersion\":\"IPv6\",\"subnet\":{\"addressPrefix\":\"2001:0:d5b:9458::/64\"}}]},{\"ipAddresses\":[{\"address\":\"172.22.224.1\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"172.22.224.0/20\"}}]}]},\"licenseProfile\":{\"licenseStatus\":\"Licensed\",\"licenseChannel\":\"Retail\",\"esuProfile\":{\"licenseAssignmentState\":\"NotAssigned\",\"serverType\":\"Unknown\",\"esuEligibility\":\"Ineligible\",\"esuKeyState\":\"Inactive\"}}}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/stefano-rg/providers/Microsoft.HybridCompute/machines/stefano-laptop\",\"name\":\"stefano-laptop\",\"location\":\"eastus\",\"type\":\"Microsoft.HybridCompute/machines\",\"tags\":{},\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"77c92a22-a5d6-4c3a-a937-94669738e622\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"agentVersion\":\"1.46.02809.1841\",\"status\":\"Connected\",\"lastStatusChange\":\"2024-09-19T18:32:07.1185307Z\",\"errorDetails\":[],\"displayName\":\"DESKTOP-HTF16HT\",\"machineFqdn\":\"DESKTOP-HTF16HT\",\"osName\":\"windows\",\"osVersion\":\"10.0.22631.4169\",\"osType\":\"windows\",\"osProfile\":{\"computerName\":\"DESKTOP-HTF16HT\"},\"vmId\":\"0014befd-57c3-4a59-8909-2ec02337a1ae\",\"vmUuid\":\"EE0A0AA2-4199-ED47-3472-AA72250FB68A\",\"clientPublicKey\":\"MIIBCgKCAQEA7Mg0woMGvVNWtxp2FMahb+uIS4ZebhbXN3EPyFCM+TH8pWhEzS971YFm8+KPwpJFi7wRSJVwJ3lI/DDoQKWxth/Ftd9Yg99nddOHkxL7GNvVHipGdC79fMHw3oaSP5d4ipKKKN0dn9qj2Gh9m+MQ3XsjPjCXv2nTbvhBUlq/Rkbs5EODI7CvHXpTNrE/JIRvji8cdFzXNkggdK8Pmqut0mPfLeIAlINpJXcXCK9YZPz3fzodlgqXjT/hPx2cWfwoDf7hqHiuUJzYo3TMSKtrP9MEtp5lbag1+Ik+XlUjCA2pg2b5KbjJCT4DVWfByVLx4KjapjhrLDoZTsYroWRJCwIDAQAB\",\"osSku\":\"Windows 11 Enterprise\",\"osEdition\":\"enterprise\",\"osInstallDate\":\"2023-11-23T05:33:39+00:00\",\"domainName\":\"WORKGROUP\",\"adFqdn\":\"DESKTOP-HTF16HT\",\"dnsFqdn\":\"DESKTOP-HTF16HT\",\"mssqlDiscovered\":\"false\",\"cloudMetadata\":{\"provider\":\"N/A\"},\"detectedProperties\":{\"cloudprovider\":\"N/A\",\"coreCount\":\"14\",\"logicalCoreCount\":\"20\",\"manufacturer\":\"Microsoft Corporation\",\"model\":\"Surface Laptop Studio 2\",\"mssqldiscovered\":\"false\",\"processorCount\":\"1\",\"processorNames\":\"13th Gen Intel(R) Core(TM) i7-13800H\",\"productType\":\"4\",\"serialNumber\":\"0F369C423473H7\",\"smbiosAssetTag\":\"18763726\",\"totalPhysicalMemoryInBytes\":\"34359738368\",\"totalPhysicalMemoryInGigabytes\":\"32\",\"vmuuidEsu2012\":\"EE0A0AA2-4199-ED47-3472-AA72250FB68A\"},\"agentConfiguration\":{\"proxyUrl\":\"\",\"incomingConnectionsPorts\":[],\"extensionsAllowList\":[],\"extensionsBlockList\":[],\"proxyBypass\":[],\"extensionsEnabled\":\"true\",\"guestConfigurationEnabled\":\"true\",\"configMode\":\"full\"},\"serviceStatuses\":{\"extensionService\":{\"status\":\"running\",\"startupType\":\"automatic\"},\"guestConfigurationService\":{\"status\":\"running\",\"startupType\":\"automatic\"}},\"agentUpgrade\":{\"enableAutomaticUpgrade\":false},\"networkProfile\":{\"networkInterfaces\":[{\"ipAddresses\":[{\"address\":\"172.29.80.1\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"172.29.80.0/20\"}}]},{\"ipAddresses\":[{\"address\":\"172.26.240.1\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"172.26.240.0/20\"}}]},{\"ipAddresses\":[{\"address\":\"192.168.56.1\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"192.168.56.0/24\"}}]},{\"ipAddresses\":[{\"address\":\"192.168.1.165\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"192.168.1.0/24\"}}]},{\"ipAddresses\":[{\"address\":\"100.70.209.187\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"100.70.209.187/32\"}}]}]},\"licenseProfile\":{\"licenseStatus\":\"Licensed\",\"licenseChannel\":\"Retail\",\"esuProfile\":{\"licenseAssignmentState\":\"NotAssigned\",\"serverType\":\"Unknown\",\"esuEligibility\":\"Ineligible\",\"esuKeyState\":\"Inactive\"}}}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/stefano-rg/providers/Microsoft.HybridCompute/machines/stef-ubuntu-hyperv\",\"name\":\"stef-ubuntu-hyperv\",\"location\":\"eastus\",\"type\":\"Microsoft.HybridCompute/machines\",\"tags\":{},\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"f4049a0f-5d7f-4915-9232-e723726244be\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"agentVersion\":\"1.46.02809.1707\",\"status\":\"Connected\",\"lastStatusChange\":\"2024-09-19T18:04:46.4467265Z\",\"errorDetails\":[],\"displayName\":\"stefanoochoa-Virtual-Machine\",\"machineFqdn\":\"stefanoochoa-Virtual-Machine\",\"osName\":\"linux\",\"osVersion\":\"6.5.0-1025-azure\",\"osType\":\"linux\",\"osProfile\":{\"computerName\":\"stefanoochoa-Virtual-Machine\"},\"vmId\":\"8299008c-4a2e-47c9-a352-dbb5647cd5a2\",\"vmUuid\":\"5b44b0f5-f623-41ff-b205-060373469559\",\"clientPublicKey\":\"MIIBCgKCAQEAxZBrdMtIoVZUvHOOIo/nn/DUJJtM3t0ZblUZEVgbknyBbKIcysArNx7eq2RaLJLaGqvwInjLl7wyigIuSN8pj09oSEBTHyGo6QwhJy5XHl2KxyVDn3ruI8dzmHONEv+JbeaWDtv0acMfiv79GvEJVF+0Cc5+z9GmLhLfVsQ9RI/K5OnyKTIXdMcdgOkSsY1EkVrEBS9tm/Epn5i1DSXAU97cStnsdguofr0aUQhVYq+SsUGB2m42XmZg9lppDrfGVelKzjyyv1cpR3UNhQ2Gp5+CcPF3lKab8UKJEskmytWWLnkT+8XxKWYom29L+lGUz/Iw+LbmCqgmKHkN5geJqwIDAQAB\",\"osSku\":\"Ubuntu 22.04.4 LTS\",\"osEdition\":\"unknown\",\"domainName\":\"unknown\",\"adFqdn\":\"unknown\",\"dnsFqdn\":\"stefanoochoa-Virtual-Machine\",\"mssqlDiscovered\":\"false\",\"cloudMetadata\":{\"provider\":\"N/A\"},\"detectedProperties\":{\"cloudprovider\":\"N/A\",\"coreCount\":\"5\",\"logicalCoreCount\":\"10\",\"manufacturer\":\"Microsoft Corporation\",\"model\":\"Virtual Machine\",\"mssqldiscovered\":\"false\",\"processorCount\":\"1\",\"processorNames\":\"13th Gen Intel(R) Core(TM) i7-13800H\",\"productType\":\"unknown\",\"serialNumber\":\"unknown\",\"smbiosAssetTag\":\"5075-7256-4653-8004-4301-8522-78\",\"totalPhysicalMemoryInBytes\":\"8370708480\",\"totalPhysicalMemoryInGigabytes\":\"7\",\"vmuuidEsu2012\":\"\"},\"agentConfiguration\":{\"proxyUrl\":\"\",\"incomingConnectionsPorts\":[],\"extensionsAllowList\":[],\"extensionsBlockList\":[],\"proxyBypass\":[],\"extensionsEnabled\":\"true\",\"guestConfigurationEnabled\":\"true\",\"configMode\":\"full\"},\"serviceStatuses\":{\"extensionService\":{\"status\":\"active\",\"startupType\":\"enabled\"},\"guestConfigurationService\":{\"status\":\"active\",\"startupType\":\"enabled\"}},\"agentUpgrade\":{\"enableAutomaticUpgrade\":false},\"networkProfile\":{\"networkInterfaces\":[{\"ipAddresses\":[{\"address\":\"172.29.94.202\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"172.29.80.0/20\"}}]}]},\"licenseProfile\":{\"esuProfile\":{\"licenseAssignmentState\":\"NotAssigned\",\"serverType\":\"Unknown\",\"esuEligibility\":\"Ineligible\",\"esuKeyState\":\"Inactive\"}}}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/hima-test/providers/Microsoft.HybridCompute/machines/DESKTOP-AVV3TUL\",\"name\":\"DESKTOP-AVV3TUL\",\"location\":\"canadacentral\",\"type\":\"Microsoft.HybridCompute/machines\",\"tags\":{},\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"9f11086f-86c1-45ac-a397-7e27c8fcfc06\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"agentVersion\":\"1.46.02809.1841\",\"status\":\"Connected\",\"lastStatusChange\":\"2024-09-19T18:04:31.7153006Z\",\"errorDetails\":[],\"displayName\":\"DESKTOP-AVV3TUL\",\"machineFqdn\":\"DESKTOP-AVV3TUL\",\"osName\":\"windows\",\"osVersion\":\"10.0.22631.4169\",\"osType\":\"windows\",\"osProfile\":{\"computerName\":\"DESKTOP-AVV3TUL\"},\"vmId\":\"a9a7fa9b-c99c-41aa-8c7a-b0ed80c3a740\",\"vmUuid\":\"3251C053-F641-B0CD-6579-94DB0F6676D1\",\"clientPublicKey\":\"MIIBCgKCAQEA7VDL7hnKgc4Y6DMLRXxCs04IdBAhWTkg+gip3/Q1jpcyk3uJKk4UVxWQskJ9BqVCdhUa5dwLA0D5XkFAVtMCCTkspNauGAcMViVUg1CkvZO1tG4x/JC5iQ1bfmutrjlEpEkxG+6oI6QhFWeIgA+6TBvJS4ELo0B9exI9sXVHC+7NzZ/BgeZqvwUNKCf3wgB/tsn9DcoQRQ43vw8dO1Lzf08bEQvWzI3q5S6eN60dPR6w1focUyd2bwYeHHW22FEJucKxfIGiO5H+/mKz1J3gz6wIeCYonqdBRhAkuFR/5j/H925S0VZhwqHuclY+qJhqhIAwyKVnfYzmem3zEnjhqwIDAQAB\",\"osSku\":\"Windows 11 Enterprise\",\"osEdition\":\"enterprise\",\"osInstallDate\":\"2022-12-13T22:55:18+00:00\",\"domainName\":\"WORKGROUP\",\"adFqdn\":\"DESKTOP-AVV3TUL\",\"dnsFqdn\":\"DESKTOP-AVV3TUL\",\"mssqlDiscovered\":\"false\",\"cloudMetadata\":{\"provider\":\"N/A\"},\"detectedProperties\":{\"cloudprovider\":\"N/A\",\"coreCount\":\"4\",\"logicalCoreCount\":\"8\",\"manufacturer\":\"Microsoft Corporation\",\"model\":\"Surface Book 3\",\"mssqldiscovered\":\"false\",\"processorCount\":\"1\",\"processorNames\":\"Intel(R) Core(TM) i7-1065G7 CPU @ 1.30GHz\",\"productType\":\"4\",\"serialNumber\":\"034775204757\",\"totalPhysicalMemoryInBytes\":\"34359738368\",\"totalPhysicalMemoryInGigabytes\":\"32\",\"vmuuidEsu2012\":\"3251C053-F641-B0CD-6579-94DB0F6676D1\"},\"agentConfiguration\":{\"proxyUrl\":\"\",\"incomingConnectionsPorts\":[],\"extensionsAllowList\":[],\"extensionsBlockList\":[],\"proxyBypass\":[],\"extensionsEnabled\":\"true\",\"guestConfigurationEnabled\":\"true\",\"configMode\":\"full\"},\"serviceStatuses\":{\"extensionService\":{\"status\":\"running\",\"startupType\":\"automatic\"},\"guestConfigurationService\":{\"status\":\"running\",\"startupType\":\"automatic\"}},\"agentUpgrade\":{\"enableAutomaticUpgrade\":false},\"networkProfile\":{\"networkInterfaces\":[{\"ipAddresses\":[{\"address\":\"2001:4898:e0:3b2:ec6e:5bf8:5108:bee7\",\"ipAddressVersion\":\"IPv6\",\"subnet\":{\"addressPrefix\":\"2001:4898:e0:3b2::/64\"}},{\"address\":\"2001:4898:b601:1d8:33e:f81:5735:4738\",\"ipAddressVersion\":\"IPv6\",\"subnet\":{\"addressPrefix\":\"2001:4898:b601:1d8::/64\"}},{\"address\":\"2001:4898:e0:3b2:c8ec:11d:edf6:52dd\",\"ipAddressVersion\":\"IPv6\",\"subnet\":{\"addressPrefix\":\"2001:4898:e0:3b2:c8ec:11d:edf6:52dd/128\"}},{\"address\":\"2001:4898:b601:1d8:c8ec:11d:edf6:52dd\",\"ipAddressVersion\":\"IPv6\",\"subnet\":{\"addressPrefix\":\"2001:4898:b601:1d8:c8ec:11d:edf6:52dd/128\"}},{\"address\":\"10.6.101.7\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"10.6.100.0/23\"}}]},{\"ipAddresses\":[{\"address\":\"2001:4898:b602:21:209a:b4d1:76c8:4630\",\"ipAddressVersion\":\"IPv6\",\"subnet\":{\"addressPrefix\":\"2001:4898:b602:21:209a:b4d1:76c8:4630/128\"}},{\"address\":\"2001:4898:b602:21:5399:cca9:68b6:2295\",\"ipAddressVersion\":\"IPv6\",\"subnet\":{\"addressPrefix\":\"2001:4898:b602:21::/64\"}}]},{\"ipAddresses\":[{\"address\":\"172.26.208.1\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"172.26.208.0/20\"}}]}]},\"licenseProfile\":{\"licenseStatus\":\"Licensed\",\"licenseChannel\":\"Retail\",\"esuProfile\":{\"licenseAssignmentState\":\"NotAssigned\",\"serverType\":\"Unknown\",\"esuEligibility\":\"Ineligible\",\"esuKeyState\":\"Inactive\",\"esuKeys\":[]}}}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/vedkale-rg/providers/Microsoft.HybridCompute/machines/WIN-T79IVKKSDSB\",\"name\":\"WIN-T79IVKKSDSB\",\"location\":\"canadaeast\",\"type\":\"Microsoft.HybridCompute/machines\",\"tags\":{},\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"850b96bc-3f6b-4663-8955-0ff19cbc9f66\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"osName\":\"windows\",\"osProfile\":{\"windowsConfiguration\":{\"patchSettings\":{\"assessmentMode\":\"AutomaticByPlatform\"}}},\"vmId\":\"8be92e3e-e3b6-4504-8619-c540c5bb6de6\",\"clientPublicKey\":\"MIIBCgKCAQEA5yNu+rYvmbg0blCSxxhe/urUvQydtw73mtb+HOuuSGhOvvMZgMsUmTN+pfBlh/BPhk/7bJBeypMlw9RudEyfLuJHjpr5yuOBhqm/IjZgL8RdwjOfTfxn9kYUCJgfcpCaHCc/ev1iMOkp9vRPicmK9J4f9cN5OIssjLudELPe2aUTnJGzfjRZnK3sEEQNu8HoQuQNrjfCqfh6VEuISBMdwzPGokrL6km7Ibp8tAkRD/DoKzYOl9FCmJPEJY7sRkUeasmVuTxdbjQVYcbB2x8jXkGkzIKjulJtNY8AR8xvtD8OGfaZhEiAaal3/HaOzChAN36Be4sUC/mp6aXLPb7JPQIDAQAB\",\"agentConfiguration\":{},\"agentUpgrade\":{\"enableAutomaticUpgrade\":false},\"licenseProfile\":{\"esuProfile\":{\"licenseAssignmentState\":\"NotAssigned\",\"serverType\":\"Unknown\",\"esuEligibility\":\"Unknown\",\"esuKeyState\":\"Inactive\"}}}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/azcmagent-test/providers/Microsoft.HybridCompute/machines/test091301\",\"name\":\"test091301\",\"location\":\"canadaeast\",\"type\":\"Microsoft.HybridCompute/machines\",\"tags\":{},\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"86c78263-c287-4e9d-ae63-2bd68b29a75b\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"agentVersion\":\"1.0.0.0\",\"status\":\"Connected\",\"lastStatusChange\":\"2024-09-19T18:20:36.3887889Z\",\"errorDetails\":[],\"displayName\":\"DESKTOP-FHT1GDK\",\"machineFqdn\":\"DESKTOP-FHT1GDK\",\"osName\":\"windows\",\"osVersion\":\"10.0.22631.4169\",\"osType\":\"windows\",\"osProfile\":{\"computerName\":\"DESKTOP-FHT1GDK\"},\"vmId\":\"3b35b77f-ae23-4abb-8497-f64f79472f6f\",\"vmUuid\":\"96B64BCC-323C-11B2-A85C-82293F0E54EB\",\"clientPublicKey\":\"MIIBCgKCAQEAvMwTTa4z1NRdkoy/eU/BfOQCDGUQLCzU3/oczT3XcZgZ8+KQJUtDKAPJhAQriEPGbXO0KN2mw8mQ5nRi+LoCpiEkjbF5UEAbCSqL3hxMejMgdhh71yI+5DKWLLvM6R2OcYbofDwiYFkSBRFK8R3RAlmX/ep3OIXrhyTdrzIHnNz6yxBXZ36T8apzRbGrhnt28hQ3hLXJmKozW1mlK/ZBiuPihfNtGqpfU7iZ5HhGPqLxRPOzYGEwJbBSAE7oefrkTgbaR6sieeiVGodZ1yELfsUsOOUX2srVn1UKBEjq4qG4DDVoJ15NAkRIODbxAnHW5nXlD0hBC5HIXJ/AzEYKgwIDAQAB\",\"osSku\":\"Windows 11 Enterprise\",\"osEdition\":\"enterprise\",\"osInstallDate\":\"2022-09-30T23:11:35+00:00\",\"domainName\":\"WORKGROUP\",\"adFqdn\":\"DESKTOP-FHT1GDK\",\"dnsFqdn\":\"DESKTOP-FHT1GDK\",\"mssqlDiscovered\":\"false\",\"cloudMetadata\":{\"provider\":\"N/A\"},\"detectedProperties\":{\"cloudprovider\":\"N/A\",\"coreCount\":\"4\",\"logicalCoreCount\":\"8\",\"manufacturer\":\"LENOVO\",\"model\":\"20VYS0HK00\",\"mssqldiscovered\":\"false\",\"processorCount\":\"1\",\"processorNames\":\"11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz\",\"productType\":\"4\",\"serialNumber\":\"PF380HFP\",\"smbiosAssetTag\":\"14661352\",\"totalPhysicalMemoryInBytes\":\"51539607552\",\"totalPhysicalMemoryInGigabytes\":\"48\",\"vmuuidEsu2012\":\"96B64BCC-323C-11B2-A85C-82293F0E54EB\"},\"agentConfiguration\":{\"proxyUrl\":\"\",\"incomingConnectionsPorts\":[],\"extensionsAllowList\":[],\"extensionsBlockList\":[],\"proxyBypass\":[],\"extensionsEnabled\":\"true\",\"guestConfigurationEnabled\":\"true\",\"configMode\":\"full\"},\"serviceStatuses\":{\"extensionService\":{\"status\":\"running\",\"startupType\":\"automatic\"},\"guestConfigurationService\":{\"status\":\"running\",\"startupType\":\"automatic\"}},\"agentUpgrade\":{\"enableAutomaticUpgrade\":false},\"networkProfile\":{\"networkInterfaces\":[{\"ipAddresses\":[{\"address\":\"192.168.56.1\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"192.168.56.0/24\"}}]},{\"ipAddresses\":[{\"address\":\"192.168.0.217\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"192.168.0.0/24\"}}]},{\"ipAddresses\":[{\"address\":\"2001:0:34a2:52f8:1420:31a8:e781:237e\",\"ipAddressVersion\":\"IPv6\",\"subnet\":{\"addressPrefix\":\"2001:0:34a2:52f8::/64\"}}]},{\"ipAddresses\":[{\"address\":\"172.25.96.1\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"172.25.96.0/20\"}}]}]},\"licenseProfile\":{\"licenseStatus\":\"Licensed\",\"licenseChannel\":\"Retail\",\"esuProfile\":{\"licenseAssignmentState\":\"NotAssigned\",\"serverType\":\"Unknown\",\"esuEligibility\":\"Ineligible\",\"esuKeyState\":\"Inactive\",\"esuKeys\":[]}}}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/vedkale-rg/providers/Microsoft.HybridCompute/machines/abc\",\"name\":\"abc\",\"location\":\"japanwest\",\"type\":\"Microsoft.HybridCompute/machines\",\"tags\":{},\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"72ed5d26-01bd-4030-88a1-d210ab1830bf\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"agentVersion\":\"1.46.02809.1841\",\"status\":\"Connected\",\"lastStatusChange\":\"2024-09-19T18:31:54.3656331Z\",\"errorDetails\":[],\"displayName\":\"WIN-T79IVKKSDSB\",\"machineFqdn\":\"WIN-T79IVKKSDSB\",\"osName\":\"windows\",\"osVersion\":\"10.0.22631.4169\",\"osType\":\"windows\",\"osProfile\":{\"computerName\":\"WIN-T79IVKKSDSB\",\"windowsConfiguration\":{\"patchSettings\":{\"assessmentMode\":\"AutomaticByPlatform\"}}},\"vmId\":\"465c1f92-daad-4154-a276-57289141abb1\",\"vmUuid\":\"4C4C4544-0057-4D10-804D-B9C04F354D33\",\"clientPublicKey\":\"MIIBCgKCAQEAz4F5x+pwplzC3nyL15oQJF1szks5C1JoIGD8TCyDiHynHrksxj8dEEPyd/GHPljM6Pc1zKH+khxK+3V7UyjNbLmUCj5xt/6WTcI/0modFKg2TcGLDPNh93nwSEhodSFPN1RJhSlTy5O+oiaaznv5l1o1vXLfVIZA7LxZ4ovH+VofSeutO3afdfTQLmVtXeuMfYJE07n2AhpGEo2nsY6I2NTtJ9bv9uqqJK8jKiQJ7aUnhGEEPoFKEJmiLP4mvLMcSnhoUWlHpweOZFXDlPKyebsnN8qrjNlkX/GETrN5idWWmsh/CtpA8l+Jje1rD+wKI5Ygf6azPfpysxuyf6S7MwIDAQAB\",\"osSku\":\"Windows 11 Enterprise\",\"osEdition\":\"enterprise\",\"osInstallDate\":\"2022-12-17T16:18:24+00:00\",\"domainName\":\"WORKGROUP\",\"adFqdn\":\"WIN-T79IVKKSDSB\",\"dnsFqdn\":\"WIN-T79IVKKSDSB\",\"mssqlDiscovered\":\"false\",\"cloudMetadata\":{\"provider\":\"N/A\"},\"detectedProperties\":{\"cloudprovider\":\"N/A\",\"coreCount\":\"4\",\"logicalCoreCount\":\"8\",\"manufacturer\":\"Dell Inc.\",\"model\":\"Latitude 5420\",\"mssqldiscovered\":\"false\",\"processorCount\":\"1\",\"processorNames\":\"11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz\",\"productType\":\"4\",\"serialNumber\":\"9WMM5M3\",\"smbiosAssetTag\":\"18431397\",\"totalPhysicalMemoryInBytes\":\"34359738368\",\"totalPhysicalMemoryInGigabytes\":\"32\",\"vmuuidEsu2012\":\"4C4C4544-0057-4D10-804D-B9C04F354D33\"},\"agentConfiguration\":{\"proxyUrl\":\"\",\"incomingConnectionsPorts\":[],\"extensionsAllowList\":[],\"extensionsBlockList\":[],\"proxyBypass\":[],\"extensionsEnabled\":\"true\",\"guestConfigurationEnabled\":\"true\",\"configMode\":\"full\"},\"serviceStatuses\":{\"extensionService\":{\"status\":\"running\",\"startupType\":\"automatic\"},\"guestConfigurationService\":{\"status\":\"running\",\"startupType\":\"automatic\"}},\"agentUpgrade\":{\"enableAutomaticUpgrade\":false},\"networkProfile\":{\"networkInterfaces\":[{\"ipAddresses\":[{\"address\":\"2601:644:9202:32a0::f50b\",\"ipAddressVersion\":\"IPv6\",\"subnet\":{\"addressPrefix\":\"2601:644:9202:32a0::f50b/128\"}},{\"address\":\"2601:644:9202:32a0:f605:5254:7cc2:e5ee\",\"ipAddressVersion\":\"IPv6\",\"subnet\":{\"addressPrefix\":\"2601:644:9202:32a0::/64\"}},{\"address\":\"fd26:173d:701e:464e:72e0:a281:98b4:6aec\",\"ipAddressVersion\":\"IPv6\",\"subnet\":{\"addressPrefix\":\"fd26:173d:701e:464e::/64\"}},{\"address\":\"2601:644:9202:32a0:b545:e354:42d8:be46\",\"ipAddressVersion\":\"IPv6\",\"subnet\":{\"addressPrefix\":\"2601:644:9202:32a0:b545:e354:42d8:be46/128\"}},{\"address\":\"fd26:173d:701e:464e:b545:e354:42d8:be46\",\"ipAddressVersion\":\"IPv6\",\"subnet\":{\"addressPrefix\":\"fd26:173d:701e:464e:b545:e354:42d8:be46/128\"}},{\"address\":\"fdac:e5f5:b2d6:fc41:5342:cc99:22d1:23f2\",\"ipAddressVersion\":\"IPv6\",\"subnet\":{\"addressPrefix\":\"fdac:e5f5:b2d6:fc41::/64\"}},{\"address\":\"fdac:e5f5:b2d6:fc41:b545:e354:42d8:be46\",\"ipAddressVersion\":\"IPv6\",\"subnet\":{\"addressPrefix\":\"fdac:e5f5:b2d6:fc41:b545:e354:42d8:be46/128\"}},{\"address\":\"10.0.0.72\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"10.0.0.0/24\"}}]},{\"ipAddresses\":[{\"address\":\"2001:0:d5b:9458:1cdb:1bbb:b37a:5c7b\",\"ipAddressVersion\":\"IPv6\",\"subnet\":{\"addressPrefix\":\"2001:0:d5b:9458::/64\"}}]},{\"ipAddresses\":[{\"address\":\"172.17.224.1\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"172.17.224.0/20\"}}]}]},\"licenseProfile\":{\"licenseStatus\":\"Licensed\",\"licenseChannel\":\"Retail\",\"esuProfile\":{\"licenseAssignmentState\":\"NotAssigned\",\"serverType\":\"Unknown\",\"esuEligibility\":\"Ineligible\",\"esuKeyState\":\"Inactive\"}}}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/duyt-test/providers/Microsoft.HybridCompute/machines/duyt-test\",\"name\":\"duyt-test\",\"location\":\"eastus2euap\",\"type\":\"Microsoft.HybridCompute/machines\",\"tags\":{},\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"af85c587-882e-4104-9aea-1db451e1b56d\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"osName\":\"linux\",\"osProfile\":{},\"vmId\":\"f72f5ab0-e470-408b-9c8c-c4582148d6b1\",\"clientPublicKey\":\"MIIBCgKCAQEAy/6DFsX4uIpPs4ydKHUfqpULcT0dSA0uqqavSK4WIRIkc/Ndmut8SAVL0F5N0YJsMjW+F94Lv5LCBMVB0qBimvQ2/cUhLqwMswvXPCYm7vin7dc4TZtvG00ZI8YjW8jpUgEIeKI7mYBe7R7j2Q89m1ebqZOgFsoORTaNMyVSyYUZuaO/FKN6prTJSI9jpCDTr/OiLfafLAqs5/INf8RHHGoo1rlyjD0RrT8sx65DhHDkQQ7PEE2jhdQeKc/gQ0URsgEWOvYj6qe8IsETTbHSlm+DDIYNDfWeHET1GRbt7YaXhkqsL9r08HYbtpWOl5TDvE+QwgjQq4qLfs2vpF4b6QIDAQAB\",\"agentConfiguration\":{},\"agentUpgrade\":{\"enableAutomaticUpgrade\":false},\"licenseProfile\":{\"esuProfile\":{\"licenseAssignmentState\":\"NotAssigned\",\"serverType\":\"Unknown\",\"esuEligibility\":\"Unknown\",\"esuKeyState\":\"Inactive\"}}}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/dakirbytest/providers/Microsoft.HybridCompute/machines/demo-no-msi\",\"name\":\"demo-no-msi\",\"location\":\"centraluseuap\",\"type\":\"Microsoft.HybridCompute/machines\",\"tags\":{},\"identity\":{\"type\":\"None\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"agentVersion\":\"1.33.02405.1188\",\"status\":\"Expired\",\"lastStatusChange\":\"2023-09-21T18:05:02.6796335Z\",\"errorDetails\":[],\"displayName\":\"DESKTOP-6813QOC\",\"machineFqdn\":\"DESKTOP-6813QOC\",\"osName\":\"windows\",\"osVersion\":\"10.0.22621.2134\",\"osType\":\"windows\",\"osProfile\":{\"computerName\":\"DESKTOP-6813QOC\"},\"vmId\":\"41ce33f8-af56-433b-8c9a-88a9f47059aa\",\"vmUuid\":\"C04478C4-234B-4A71-A425-A365D7DF09FA\",\"clientPublicKey\":\"MIIBCgKCAQEA1pGVv/BVxylSsXPN7p0KLAeRusQlauQmfB9lJKf6DSHLIbx8L0zEvzOeXg7miLu8clfVqzMLRR8Z2a4aS75E5ijQ5n5eNPXxGkgESy52D+sCKlDAQP5QpQr6HjXEIBgkF1yJHYEDO94PBPRP4hZzFWzlm4Zpu06B+Mg5V/DitSVc4ND0xvXjK1GQ0tg5pqFaMeFovS7lihDPBtiTlwia7j6FEmBzK1jQytm5H7b4gOcOxls77qaY+KRwsadBg6ZK2GqQsEwZUJJ4lx1eUjwmmy9pMQKltFF8Bam3tHq6klMy6vCQbCLvcXeFWE0TOCx4uYphuVvnm9vUVzTuyqF7hwIDAQAB\",\"osSku\":\"Windows 10 Enterprise\",\"domainName\":\"WORKGROUP\",\"adFqdn\":\"DESKTOP-6813QOC\",\"dnsFqdn\":\"DESKTOP-6813QOC\",\"mssqlDiscovered\":\"false\",\"cloudMetadata\":{\"provider\":\"N/A\"},\"detectedProperties\":{\"cloudprovider\":\"N/A\",\"coreCount\":\"4\",\"logicalCoreCount\":\"4\",\"manufacturer\":\"Microsoft Corporation\",\"model\":\"Virtual Machine\",\"mssqldiscovered\":\"false\",\"processorCount\":\"1\",\"productType\":\"4\"},\"agentConfiguration\":{\"proxyUrl\":\"\",\"incomingConnectionsPorts\":[],\"extensionsAllowList\":[],\"extensionsBlockList\":[],\"proxyBypass\":[],\"extensionsEnabled\":\"true\",\"guestConfigurationEnabled\":\"true\",\"configMode\":\"full\"},\"serviceStatuses\":{\"extensionService\":{\"status\":\"running\",\"startupType\":\"automatic\"},\"guestConfigurationService\":{\"status\":\"running\",\"startupType\":\"automatic\"}},\"agentUpgrade\":{\"enableAutomaticUpgrade\":false},\"networkProfile\":{\"networkInterfaces\":[{\"ipAddresses\":[{\"address\":\"192.168.50.161\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"192.168.50.0/24\"}}]},{\"ipAddresses\":[{\"address\":\"2001:0:d5b:9458:307a:18d6:e7ee:cd7a\",\"ipAddressVersion\":\"IPv6\",\"subnet\":{\"addressPrefix\":\"2001:0:d5b:9458::/64\"}}]},{\"ipAddresses\":[{\"address\":\"172.30.160.1\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"172.30.160.0/20\"}}]}]},\"licenseProfile\":{\"esuProfile\":{\"licenseAssignmentState\":\"NotAssigned\",\"serverType\":\"Unknown\",\"esuEligibility\":\"Ineligible\",\"esuKeyState\":\"Inactive\"}}}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/dakirbytest/providers/Microsoft.HybridCompute/machines/testMachine1\",\"name\":\"testMachine1\",\"location\":\"centraluseuap\",\"type\":\"Microsoft.HybridCompute/machines\",\"tags\":{},\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"09626fd5-6c51-489a-a93e-70e2a36f59e9\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"osProfile\":{},\"vmId\":\"b24cc8ee-df4f-48ac-94cf-46edf36b0fae\",\"clientPublicKey\":\"foo\",\"agentConfiguration\":{},\"agentUpgrade\":{\"enableAutomaticUpgrade\":false},\"licenseProfile\":{\"esuProfile\":{\"licenseAssignmentState\":\"NotAssigned\",\"serverType\":\"Unknown\",\"esuEligibility\":\"Unknown\",\"esuKeyState\":\"Inactive\"}}}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/dakirbytest/providers/Microsoft.HybridCompute/machines/dakirby_ws2012r2\",\"name\":\"dakirby_ws2012r2\",\"location\":\"centraluseuap\",\"type\":\"Microsoft.HybridCompute/machines\",\"tags\":{},\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"d70d5cf5-7ad0-4ca6-9d49-5306a94fd390\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"agentVersion\":\"1.37.02533.1416\",\"status\":\"Expired\",\"lastStatusChange\":\"2024-02-07T19:51:02.6513004Z\",\"errorDetails\":[],\"displayName\":\"WIN-L6CTK3D2TQK\",\"machineFqdn\":\"WIN-L6CTK3D2TQK\",\"osName\":\"windows\",\"osVersion\":\"6.3.9600\",\"osType\":\"windows\",\"osProfile\":{\"computerName\":\"WIN-L6CTK3D2TQK\"},\"vmId\":\"d171c109-dff8-4393-823f-213b2a740cb2\",\"vmUuid\":\"4A46799F-4553-4E39-A835-27EBCEF07194\",\"clientPublicKey\":\"MIIBCgKCAQEA7r7oXlOEudWVq7EADFmx8MCecm8MFQ49UN0OiZ6M9UlSTJGuqIyW92BocCwoU/Y3ftguqdhxeSDCwLwiwOar6jRo/oBXu1nGkT4RLpetc1EWzzl/HtePkl33brNairwxgim6TR661dOt3EyT0QrZm4aM1+/s/EtlK7hka0jj7FZo70dFEenjyY69g8/Q6e51ATs1n9UPUvvyAMLpFxvOxPPDPVP02O5FBfBUgD1WDmn6Kr+Qn/CorBNR63uroKO48XJJMs62OKvtUqHz1jHL+vORw4/6Ylutrwd1izdGbMsMr/Q0h1q0tpXh7gT7ZGd/zTbnOV1C4Npq9yVL9CiGHQIDAQAB\",\"osSku\":\"Windows Server 2012 R2 Datacenter\",\"osEdition\":\"serverdatacenter\",\"osInstallDate\":\"2024-02-05T20:34:21+00:00\",\"domainName\":\"WORKGROUP\",\"adFqdn\":\"WIN-L6CTK3D2TQK\",\"dnsFqdn\":\"WIN-L6CTK3D2TQK\",\"mssqlDiscovered\":\"false\",\"cloudMetadata\":{\"provider\":\"N/A\"},\"detectedProperties\":{\"cloudprovider\":\"N/A\",\"coreCount\":\"4\",\"logicalCoreCount\":\"4\",\"manufacturer\":\"Microsoft Corporation\",\"model\":\"Virtual Machine\",\"mssqldiscovered\":\"false\",\"processorCount\":\"1\",\"processorNames\":\"Intel(R) Core(TM) i7-9700 CPU @ 3.00GHz\",\"productType\":\"8\",\"serialNumber\":\"9867-6367-2355-7721-5498-0481-39\",\"smbiosAssetTag\":\"9867-6367-2355-7721-5498-0481-39\",\"totalPhysicalMemoryInBytes\":\"4297064448\",\"totalPhysicalMemoryInGigabytes\":\"4\"},\"agentConfiguration\":{\"proxyUrl\":\"\",\"incomingConnectionsPorts\":[],\"extensionsAllowList\":[],\"extensionsBlockList\":[],\"proxyBypass\":[],\"extensionsEnabled\":\"true\",\"guestConfigurationEnabled\":\"true\",\"configMode\":\"full\"},\"serviceStatuses\":{\"extensionService\":{\"status\":\"running\",\"startupType\":\"automatic\"},\"guestConfigurationService\":{\"status\":\"running\",\"startupType\":\"automatic\"}},\"agentUpgrade\":{\"enableAutomaticUpgrade\":false},\"networkProfile\":{\"networkInterfaces\":[{\"ipAddresses\":[{\"address\":\"192.168.50.163\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"192.168.50.0/24\"}}]}]},\"licenseProfile\":{\"licenseStatus\":\"Licensed\",\"licenseChannel\":\"Retail\",\"esuProfile\":{\"licenseAssignmentState\":\"Assigned\",\"serverType\":\"Datacenter\",\"esuEligibility\":\"Eligible\",\"esuKeyState\":\"Inactive\",\"esuKeys\":[]}}}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/edyoung/providers/Microsoft.HybridCompute/machines/edyoungubu\",\"name\":\"edyoungubu\",\"location\":\"centraluseuap\",\"type\":\"Microsoft.HybridCompute/machines\",\"tags\":{},\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"96b003ec-87df-4d14-9e3d-c2f9515a9c7b\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"agentVersion\":\"1.35.02478.1194\",\"status\":\"Expired\",\"lastStatusChange\":\"2024-04-22T17:50:03.8905169Z\",\"errorDetails\":[],\"displayName\":\"ubu2004\",\"machineFqdn\":\"ubu2004\",\"osName\":\"linux\",\"osVersion\":\"5.15.0-27-generic\",\"osType\":\"linux\",\"osProfile\":{\"computerName\":\"ubu2004\"},\"vmId\":\"66296720-1009-498b-8fd5-90ecd620503c\",\"vmUuid\":\"ca216d8d-73f2-4ea6-9f33-b96dc9b7c91f\",\"clientPublicKey\":\"MIIBCgKCAQEAzLmn6QFtntF9a2MXPhMoHiwdksmNuBf7q5LCkNCCzlg/gcEr9XxURygzn+lyG3fRgta1L9w+DyNqdxWczrU/+KmJLOvMlBOK58BEGPOxah9R9gfNGZXU+asEQGI6TXdUUcbXYTMewpYII6M5ARK3I7Dr/d++6Xpxt17ykiyu1wlQBpv+b0+DZnqHWpAN40JYVoj+dhZ7RYjCl8KU3xqF/0+kraF8INhhwOQmowbtgGC3pHrT4znttiTlNhAsIOz8HX4Ynucd/Do+FcfqyN3md5PX7NZaLRInRysGp7nbAZEbQwMCAYjfONcKUcSMTAwqKQtdfy64NsivokLV/o2pUQIDAQAB\",\"osSku\":\"Ubuntu 22.04.1 LTS\",\"domainName\":\"unknown\",\"adFqdn\":\"unknown\",\"dnsFqdn\":\"ubu2004\",\"mssqlDiscovered\":\"false\",\"cloudMetadata\":{\"provider\":\"N/A\"},\"detectedProperties\":{\"cloudprovider\":\"N/A\",\"coreCount\":\"6\",\"logicalCoreCount\":\"12\",\"manufacturer\":\"Microsoft Corporation\",\"model\":\"Virtual Machine\",\"mssqldiscovered\":\"false\",\"processorCount\":\"1\",\"processorNames\":\"AMD Ryzen 9 5900X 12-Core Processor\",\"productType\":\"unknown\",\"serialNumber\":\"unknown\",\"smbiosAssetTag\":\"9775-8987-3348-8937-0435-8595-65\",\"totalPhysicalMemoryInBytes\":\"8243585024\",\"totalPhysicalMemoryInGigabytes\":\"7\"},\"agentConfiguration\":{\"proxyUrl\":\"\",\"incomingConnectionsPorts\":[],\"extensionsAllowList\":[],\"extensionsBlockList\":[],\"proxyBypass\":[],\"extensionsEnabled\":\"true\",\"guestConfigurationEnabled\":\"true\",\"configMode\":\"full\"},\"serviceStatuses\":{\"extensionService\":{\"status\":\"active\",\"startupType\":\"enabled\"},\"guestConfigurationService\":{\"status\":\"active\",\"startupType\":\"enabled\"}},\"agentUpgrade\":{\"enableAutomaticUpgrade\":false},\"networkProfile\":{\"networkInterfaces\":[{\"ipAddresses\":[{\"address\":\"172.20.195.94\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"172.20.192.0/20\"}}]}]},\"licenseProfile\":{\"esuProfile\":{\"licenseAssignmentState\":\"NotAssigned\",\"serverType\":\"Unknown\",\"esuEligibility\":\"Ineligible\",\"esuKeyState\":\"Inactive\"}}}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ethanseal/providers/Microsoft.HybridCompute/machines/ethansealtest\",\"name\":\"ethansealtest\",\"location\":\"centraluseuap\",\"type\":\"Microsoft.HybridCompute/machines\",\"tags\":{},\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"6cf3be8f-d465-4a5d-bd1b-b4a77d19fb05\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"agentVersion\":\"1.46.02809.1841\",\"status\":\"Connected\",\"lastStatusChange\":\"2024-09-19T18:11:34.6931515Z\",\"errorDetails\":[],\"displayName\":\"LAPTOP-LJCCLUBK\",\"machineFqdn\":\"LAPTOP-LJCCLUBK\",\"osName\":\"windows\",\"osVersion\":\"10.0.22631.4169\",\"osType\":\"windows\",\"osProfile\":{\"computerName\":\"LAPTOP-LJCCLUBK\"},\"vmId\":\"03ae7d12-b648-4cae-96f2-7d1f15b32177\",\"vmUuid\":\"1A9E1B7E-3894-11EC-80F0-84A9388B563A\",\"clientPublicKey\":\"MIIBCgKCAQEAzcOIBVDvkzUSYMb8WbE9NP6RqyR7X97nnE0x/qWAyn+QnbLwt+7l/8Jt+PLfHusFoIs9PZEKFtPoBNhX5bBySVnQjGSjGX8ixO9yDj58Bh61xMqNsmDyTCQVL2uSgq/n0ImxLFEgRwUi1flSCG+aK62PDLq3Z4nA2dPPYK+voqIIsj69krR9ReENKIEdyL2zfaaDt0M0zDXS9K/AkiZYQjLE9y7EziIqEIGd/n5Q4nQShODsiFEPl1Ce3HSpdP6U+XFU6VD5tGq4Tm2+faPXPd3ITyJNLFj49olFJ5t9InxrkRuEJcRKLBuu2o4bR7N5NMlfUJVS9HWS0J3sxBcNCwIDAQAB\",\"osSku\":\"Windows 11 Enterprise\",\"osEdition\":\"enterprise\",\"osInstallDate\":\"2022-10-05T00:23:13+00:00\",\"domainName\":\"WORKGROUP\",\"adFqdn\":\"LAPTOP-LJCCLUBK\",\"dnsFqdn\":\"LAPTOP-LJCCLUBK\",\"mssqlDiscovered\":\"false\",\"cloudMetadata\":{\"provider\":\"N/A\"},\"detectedProperties\":{\"cloudprovider\":\"N/A\",\"coreCount\":\"4\",\"logicalCoreCount\":\"8\",\"manufacturer\":\"LENOVO\",\"model\":\"20Y0S2PE00\",\"mssqldiscovered\":\"false\",\"processorCount\":\"1\",\"processorNames\":\"11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz\",\"productType\":\"4\",\"serialNumber\":\"PF32NAM4\",\"smbiosAssetTag\":\"14765179\",\"totalPhysicalMemoryInBytes\":\"34359738368\",\"totalPhysicalMemoryInGigabytes\":\"32\",\"vmuuidEsu2012\":\"1A9E1B7E-3894-11EC-80F0-84A9388B563A\"},\"agentConfiguration\":{\"proxyUrl\":\"\",\"incomingConnectionsPorts\":[],\"extensionsAllowList\":[],\"extensionsBlockList\":[],\"proxyBypass\":[],\"extensionsEnabled\":\"true\",\"guestConfigurationEnabled\":\"true\",\"configMode\":\"full\"},\"serviceStatuses\":{\"extensionService\":{\"status\":\"running\",\"startupType\":\"automatic\"},\"guestConfigurationService\":{\"status\":\"running\",\"startupType\":\"automatic\"}},\"agentUpgrade\":{\"enableAutomaticUpgrade\":false},\"networkProfile\":{\"networkInterfaces\":[{\"ipAddresses\":[{\"address\":\"192.168.56.1\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"192.168.56.0/24\"}}],\"macAddress\":\"0a:00:27:00:00:1f\",\"id\":\"31\",\"name\":\"Ethernet 6\"},{\"ipAddresses\":[{\"address\":\"192.168.0.86\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"192.168.0.0/24\"}}],\"macAddress\":\"7c:70:db:1c:62:7c\",\"id\":\"28\",\"name\":\"vEthernet (HCIExtenrnalSwitch)\"},{\"ipAddresses\":[{\"address\":\"192.168.31.1\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"192.168.31.0/24\"}}],\"macAddress\":\"00:50:56:c0:00:01\",\"id\":\"9\",\"name\":\"VMware Network Adapter VMnet1\"},{\"ipAddresses\":[{\"address\":\"192.168.253.1\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"192.168.253.0/24\"}}],\"macAddress\":\"00:50:56:c0:00:08\",\"id\":\"22\",\"name\":\"VMware Network Adapter VMnet8\"},{\"ipAddresses\":[{\"address\":\"2001:0:d5b:9458:380e:1b9b:9e8e:5c0\",\"ipAddressVersion\":\"IPv6\",\"subnet\":{\"addressPrefix\":\"2001:0:d5b:9458::/64\"}}],\"macAddress\":\"00:00:00:00:00:00:00:e0\",\"id\":\"21\",\"name\":\"Teredo Tunneling Pseudo-Interface\"},{\"ipAddresses\":[{\"address\":\"172.26.80.1\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"172.26.80.0/20\"}}],\"macAddress\":\"00:15:5d:a9:4a:54\",\"id\":\"32\",\"name\":\"vEthernet (Default Switch)\"}]},\"licenseProfile\":{\"licenseStatus\":\"Licensed\",\"licenseChannel\":\"Retail\",\"esuProfile\":{\"licenseAssignmentState\":\"NotAssigned\",\"serverType\":\"Unknown\",\"esuEligibility\":\"Ineligible\",\"esuKeyState\":\"Inactive\"}},\"storageProfile\":{\"disks\":[{\"path\":\"\\\\\\\\.\\\\PHYSICALDRIVE0\",\"diskType\":\"Fixed hard disk media\",\"generatedId\":\"\\\\\\\\.\\\\PHYSICALDRIVE0\",\"id\":\"\\\\\\\\.\\\\PHYSICALDRIVE0\",\"name\":\"SKHynix_HFS512GDE9X081N\",\"maxSizeInBytes\":512105932800,\"usedSpaceInBytes\":406877521920}]},\"firmwareProfile\":{\"serialNumber\":\"PF32NAM4\",\"type\":\"EFI\"},\"hardwareProfile\":{\"totalPhysicalMemoryInBytes\":34359738368,\"numberOfCpuSockets\":1,\"processors\":[{\"name\":\"11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz\",\"numberOfCores\":4}]}}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/lijiaq_test/providers/Microsoft.HybridCompute/machines/Jiaqi_at_work\",\"name\":\"Jiaqi_at_work\",\"location\":\"centraluseuap\",\"type\":\"Microsoft.HybridCompute/machines\",\"tags\":{},\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"7afed0db-4fae-4c15-8f87-8c4b311a68eb\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"agentVersion\":\"1.46.02809.1841\",\"status\":\"Connected\",\"lastStatusChange\":\"2024-09-19T18:33:44.4920682Z\",\"errorDetails\":[],\"displayName\":\"Jiaqi_at_work\",\"machineFqdn\":\"Jiaqi_at_work\",\"osName\":\"windows\",\"osVersion\":\"10.0.22631.4169\",\"osType\":\"windows\",\"osProfile\":{\"computerName\":\"Jiaqi_at_work\"},\"vmId\":\"8fdf1771-42fc-4b92-b8c6-e016a70781e8\",\"vmUuid\":\"03B494CC-2E7D-11B2-A85C-9D3B427DB7EE\",\"clientPublicKey\":\"MIIBCgKCAQEA0pkQwjKToAXRXZs8rBI5tVBcBTguLL0qpAoeBCTb6Besc3JwQUaB31VCD7Dd4gTprXPKMC0ns4FXZYwIle02GC2Xceaz7xdfPhWhfrLua8GlXXHp5cxSyZXle9KXh5oj/yGg0M0Zcfs0CxygVCuVt3TovkHWS7FO0BMTaQK89SYYaOxYfOVZbo2KYv1GZm1m3vvrvFJXZ1AGmbMy+rrP/e5NIa2y65Yr3bEz1SB/s1GQ8EjvTTdX72ihSgy32FhCEbdu/sWYuRw6W5e6lfFHNhOn1zYYLVxHVLOXziusQFPqZlZPuzFRbYQR57a6yOnKI9WdXZpHNCa6YAKrSa3nQQIDAQAB\",\"osSku\":\"Windows 11 Enterprise\",\"osEdition\":\"enterprise\",\"osInstallDate\":\"2022-10-18T04:39:19+00:00\",\"domainName\":\"WORKGROUP\",\"adFqdn\":\"Jiaqi_at_work\",\"dnsFqdn\":\"Jiaqi_at_work\",\"mssqlDiscovered\":\"false\",\"cloudMetadata\":{\"provider\":\"N/A\"},\"detectedProperties\":{\"cloudprovider\":\"N/A\",\"coreCount\":\"4\",\"logicalCoreCount\":\"8\",\"manufacturer\":\"LENOVO\",\"model\":\"20VYS2GJ00\",\"mssqldiscovered\":\"false\",\"processorCount\":\"1\",\"processorNames\":\"11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz\",\"productType\":\"4\",\"serialNumber\":\"PF3MPK4G\",\"smbiosAssetTag\":\"18277860\",\"totalPhysicalMemoryInBytes\":\"51539607552\",\"totalPhysicalMemoryInGigabytes\":\"48\",\"vmuuidEsu2012\":\"03B494CC-2E7D-11B2-A85C-9D3B427DB7EE\"},\"agentConfiguration\":{\"proxyUrl\":\"\",\"incomingConnectionsPorts\":[],\"extensionsAllowList\":[{\"publisher\":\"Microsoft.EnterpriseCloud.Monitoring\",\"type\":\"OmsAgentForLinux\"},{\"publisher\":\"Microsoft.Azure.Monitoring.DependencyAgent\",\"type\":\"DependencyAgentLinux\"},{\"publisher\":\"Microsoft.Azure.Monitor\",\"type\":\"AzureMonitorLinuxAgent\"},{\"publisher\":\"Qualys\",\"type\":\"LinuxAgent.AzureSecurityCenter\"},{\"publisher\":\"Microsoft.Azure.Security.Monitoring \",\"type\":\"AzureSecurityLinuxAgent\"},{\"publisher\":\"Microsoft.Azure.AzureDefenderForServers\",\"type\":\"MDE.Linux\"},{\"publisher\":\"Microsoft.Azure.Monitor.VirtualMachines.GuestHealth\",\"type\":\"GuestHealthLinuxAgent\"},{\"publisher\":\"Microsoft.Azure.Monitor.VirtualMachines.GuestHealth.DEV\",\"type\":\"GuestHealthLinuxAgent\"},{\"publisher\":\"Microsoft.EnterpriseCloud.Monitoring\",\"type\":\"MicrosoftMonitoringAgent\"},{\"publisher\":\"Microsoft.Azure.Monitoring.DependencyAgent\",\"type\":\"DependencyAgentWindows\"},{\"publisher\":\"Microsoft.Azure.Monitor\",\"type\":\"AzureMonitorWindowsAgent\"},{\"publisher\":\"Qualys\",\"type\":\"WindowsAgent.AzureSecurityCenter\"},{\"publisher\":\"Microsoft.Azure.AzureDefenderForServers\",\"type\":\"MDE.Windows\"},{\"publisher\":\"Microsoft.Azure.AzureDefenderForSQL\",\"type\":\"AdvancedThreatProtection.Windows\"},{\"publisher\":\"Microsoft.Azure.Security.Monitoring\",\"type\":\"AzureSecurityWindowsAgent\"},{\"publisher\":\"Microsoft.Azure.Security\",\"type\":\"IaaSAntimalware\"},{\"publisher\":\"Microsoft.Azure.Geneva\",\"type\":\"GenevaMonitoring\"},{\"publisher\":\"Microsoft.Azure.AzureDefenderForSQL\",\"type\":\"VulnerabilityAssessment.Windows\"},{\"publisher\":\"Microsoft.Azure.Monitor.VirtualMachines.GuestHealth\",\"type\":\"GuestHealthWindowsAgent\"},{\"publisher\":\"Microsoft.Sentinel.AzureMonitorAgentExtensions.Internal\",\"type\":\"DnsExtension\"},{\"publisher\":\"Microsoft.Sentinel.AzureMonitorAgentExtensions\",\"type\":\"MicrosoftDnsAgent\"}],\"extensionsBlockList\":[],\"proxyBypass\":[],\"extensionsEnabled\":\"true\",\"guestConfigurationEnabled\":\"false\",\"configMode\":\"full\"},\"serviceStatuses\":{\"extensionService\":{\"status\":\"running\",\"startupType\":\"automatic\"},\"guestConfigurationService\":{\"status\":\"running\",\"startupType\":\"automatic\"}},\"agentUpgrade\":{\"enableAutomaticUpgrade\":false},\"networkProfile\":{\"networkInterfaces\":[{\"ipAddresses\":[{\"address\":\"2001:4898:e0:3b2:d038:41f7:6999:41bd\",\"ipAddressVersion\":\"IPv6\",\"subnet\":{\"addressPrefix\":\"2001:4898:e0:3b2::/64\"}},{\"address\":\"2001:4898:e0:3b2:8dc6:2907:b662:5afd\",\"ipAddressVersion\":\"IPv6\",\"subnet\":{\"addressPrefix\":\"2001:4898:e0:3b2:8dc6:2907:b662:5afd/128\"}},{\"address\":\"10.30.70.41\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"10.30.68.0/22\"}}],\"macAddress\":\"80:6d:97:25:3f:95\",\"id\":\"19\",\"name\":\"Ethernet 3\"},{\"ipAddresses\":[{\"address\":\"2001:4898:e0:2024:a056:fd21:c470:a782\",\"ipAddressVersion\":\"IPv6\",\"subnet\":{\"addressPrefix\":\"2001:4898:e0:2024:a056:fd21:c470:a782/128\"}},{\"address\":\"2001:4898:e0:2024:a2bc:3ff0:bc76:49fb\",\"ipAddressVersion\":\"IPv6\",\"subnet\":{\"addressPrefix\":\"2001:4898:e0:2024::/64\"}},{\"address\":\"10.70.136.49\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"10.70.128.0/20\"}}],\"macAddress\":\"2c:0d:a7:72:66:f9\",\"id\":\"2\",\"name\":\"Wi-Fi\"},{\"ipAddresses\":[{\"address\":\"2001:0:d5b:9458:c46:8156:7c94:5156\",\"ipAddressVersion\":\"IPv6\",\"subnet\":{\"addressPrefix\":\"2001:0:d5b:9458::/64\"}}],\"macAddress\":\"00:00:00:00:00:00:00:e0\",\"id\":\"11\",\"name\":\"Teredo Tunneling Pseudo-Interface\"}]},\"licenseProfile\":{\"licenseStatus\":\"Licensed\",\"licenseChannel\":\"Retail\",\"esuProfile\":{\"licenseAssignmentState\":\"NotAssigned\",\"serverType\":\"Unknown\",\"esuEligibility\":\"Ineligible\",\"esuKeyState\":\"Inactive\",\"esuKeys\":[]}},\"storageProfile\":{\"disks\":[{\"path\":\"\\\\\\\\.\\\\PHYSICALDRIVE0\",\"diskType\":\"Fixed hard disk media\",\"generatedId\":\"\\\\\\\\.\\\\PHYSICALDRIVE0\",\"id\":\"\\\\\\\\.\\\\PHYSICALDRIVE0\",\"name\":\"SAMSUNG MZVLB1T0HBLR-000L7\",\"maxSizeInBytes\":1024203640320,\"usedSpaceInBytes\":329057234432}]},\"firmwareProfile\":{\"serialNumber\":\"PF3MPK4G\",\"type\":\"EFI\"},\"hardwareProfile\":{\"totalPhysicalMemoryInBytes\":51539607552,\"numberOfCpuSockets\":1,\"processors\":[{\"name\":\"11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz\",\"numberOfCores\":4}]}}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/lijiaq_test/providers/Microsoft.HybridCompute/machines/jiaqi-Virtual-Machine\",\"name\":\"jiaqi-Virtual-Machine\",\"location\":\"centraluseuap\",\"type\":\"Microsoft.HybridCompute/machines\",\"tags\":{},\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"5b577033-8b1e-4fd6-9ca7-50542074b69d\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"agentVersion\":\"1.45.02769.1661\",\"status\":\"Disconnected\",\"lastStatusChange\":\"2024-08-29T19:54:57.0057189Z\",\"errorDetails\":[],\"displayName\":\"jiaqi-Virtual-Machine\",\"machineFqdn\":\"jiaqi-Virtual-Machine\",\"osName\":\"linux\",\"osVersion\":\"6.8.0-40-generic\",\"osType\":\"linux\",\"osProfile\":{\"computerName\":\"jiaqi-Virtual-Machine\"},\"vmId\":\"789f9479-c884-409b-9e2d-cac693ef5621\",\"vmUuid\":\"8a26c59c-729a-4a1e-aef6-b894f099af8d\",\"clientPublicKey\":\"MIIBCgKCAQEA4ru0jTuSTNSyMPcvwInRkV6a8phZ8dljtgUKRI8pk+UXYCp4g60nsVoxHgl6qY5h35rImrF06coQ4bqkAXIjQAuw67avBS4Ol3DQ++yl16z9v4YkChd26lmPiL1zpR5DBfu5YC3MfbfRSCEeaCfYSooyNPfdT6sBIgceT1y62NV+TfgDfIkDPYzUaEmzpREmUup2TVk2MfUnPp7KfR+MwntloP2fEkZbVg0nwC55uyYHYMK/0rFuZv9CiOBrJjwGdysNQ5IRM6NH7FrZSwryz5zs1AN5Ri1/etwe8Okk62bLXFbcWUkFDcfvZuq+RPdq/On2rSrJvfN3F1tFhHtSPQIDAQAB\",\"osSku\":\"Ubuntu 22.04.4 LTS\",\"osEdition\":\"unknown\",\"domainName\":\"unknown\",\"adFqdn\":\"unknown\",\"dnsFqdn\":\"jiaqi-Virtual-Machine\",\"mssqlDiscovered\":\"false\",\"cloudMetadata\":{\"provider\":\"N/A\"},\"detectedProperties\":{\"cloudprovider\":\"N/A\",\"coreCount\":\"3\",\"logicalCoreCount\":\"6\",\"manufacturer\":\"Microsoft Corporation\",\"model\":\"Virtual Machine\",\"mssqldiscovered\":\"false\",\"processorCount\":\"1\",\"processorNames\":\"Intel(R) Xeon(R) W-2133 CPU @ 3.60GHz\",\"productType\":\"unknown\",\"serialNumber\":\"unknown\",\"smbiosAssetTag\":\"9113-3948-6827-4521-7802-6270-09\",\"totalPhysicalMemoryInBytes\":\"4104650752\",\"totalPhysicalMemoryInGigabytes\":\"3\",\"vmuuidEsu2012\":\"\"},\"agentConfiguration\":{\"proxyUrl\":\"\",\"incomingConnectionsPorts\":[],\"extensionsAllowList\":[],\"extensionsBlockList\":[],\"proxyBypass\":[],\"extensionsEnabled\":\"true\",\"guestConfigurationEnabled\":\"true\",\"configMode\":\"full\"},\"serviceStatuses\":{\"extensionService\":{\"status\":\"active\",\"startupType\":\"enabled\"},\"guestConfigurationService\":{\"status\":\"active\",\"startupType\":\"enabled\"}},\"agentUpgrade\":{\"enableAutomaticUpgrade\":false},\"networkProfile\":{\"networkInterfaces\":[{\"ipAddresses\":[{\"address\":\"10.130.80.17\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"10.130.80.0/23\"}},{\"address\":\"2001:4898:e0:3b2:f4fb:a10d:6feb:97df\",\"ipAddressVersion\":\"IPv6\",\"subnet\":{\"addressPrefix\":\"2001:4898:e0:3b2::/64\"}},{\"address\":\"2001:4898:e0:3b2:d4d0:3fd8:c538:d172\",\"ipAddressVersion\":\"IPv6\",\"subnet\":{\"addressPrefix\":\"2001:4898:e0:3b2::/64\"}}],\"macAddress\":\"00:15:5d:88:33:05\",\"id\":\"2\",\"name\":\"eth0\"}]},\"licenseProfile\":{\"esuProfile\":{\"licenseAssignmentState\":\"NotAssigned\",\"serverType\":\"Unknown\",\"esuEligibility\":\"Ineligible\",\"esuKeyState\":\"Inactive\"}},\"storageProfile\":{\"disks\":[{\"path\":\"/dev/loop0\",\"diskType\":\"loop\",\"generatedId\":\"DataDisk0\",\"id\":\"/dev/loop0\",\"name\":\"/dev/loop0\",\"maxSizeInBytes\":4096,\"usedSpaceInBytes\":128},{\"path\":\"/dev/loop1\",\"diskType\":\"loop\",\"generatedId\":\"DataDisk1\",\"id\":\"/dev/loop1\",\"name\":\"/dev/loop1\",\"maxSizeInBytes\":77848576,\"usedSpaceInBytes\":76032},{\"path\":\"/dev/loop2\",\"diskType\":\"loop\",\"generatedId\":\"DataDisk2\",\"id\":\"/dev/loop2\",\"name\":\"/dev/loop2\",\"maxSizeInBytes\":77881344,\"usedSpaceInBytes\":76160},{\"path\":\"/dev/loop3\",\"diskType\":\"loop\",\"generatedId\":\"DataDisk3\",\"id\":\"/dev/loop3\",\"name\":\"/dev/loop3\",\"maxSizeInBytes\":282869760,\"usedSpaceInBytes\":276352},{\"path\":\"/dev/loop4\",\"diskType\":\"loop\",\"generatedId\":\"DataDisk4\",\"id\":\"/dev/loop4\",\"name\":\"/dev/loop4\",\"maxSizeInBytes\":282873856,\"usedSpaceInBytes\":276352},{\"path\":\"/dev/loop5\",\"diskType\":\"loop\",\"generatedId\":\"DataDisk5\",\"id\":\"/dev/loop5\",\"name\":\"/dev/loop5\",\"maxSizeInBytes\":521121792,\"usedSpaceInBytes\":508928},{\"path\":\"/dev/loop6\",\"diskType\":\"loop\",\"generatedId\":\"DataDisk6\",\"id\":\"/dev/loop6\",\"name\":\"/dev/loop6\",\"maxSizeInBytes\":96141312,\"usedSpaceInBytes\":93952},{\"path\":\"/dev/loop7\",\"diskType\":\"loop\",\"generatedId\":\"DataDisk7\",\"id\":\"/dev/loop7\",\"name\":\"/dev/loop7\",\"maxSizeInBytes\":12922880,\"usedSpaceInBytes\":12672},{\"path\":\"/dev/loop8\",\"diskType\":\"loop\",\"generatedId\":\"DataDisk8\",\"id\":\"/dev/loop8\",\"name\":\"/dev/loop8\",\"maxSizeInBytes\":42393600,\"usedSpaceInBytes\":41472},{\"path\":\"/dev/loop9\",\"diskType\":\"loop\",\"generatedId\":\"DataDisk9\",\"id\":\"/dev/loop9\",\"name\":\"/dev/loop9\",\"maxSizeInBytes\":40714240,\"usedSpaceInBytes\":39808},{\"path\":\"/dev/loop10\",\"diskType\":\"loop\",\"generatedId\":\"DataDisk10\",\"id\":\"/dev/loop10\",\"name\":\"/dev/loop10\",\"maxSizeInBytes\":462848,\"usedSpaceInBytes\":512},{\"path\":\"/dev/sda\",\"diskType\":\"disk\",\"generatedId\":\"RootDisk\",\"id\":\"/dev/sda\",\"name\":\"/dev/sda\",\"maxSizeInBytes\":53687091200,\"usedSpaceInBytes\":14633984},{\"path\":\"/dev/sr0\",\"diskType\":\"rom\",\"generatedId\":\"DataDisk11\",\"id\":\"/dev/sr0\",\"name\":\"/dev/sr0\",\"maxSizeInBytes\":1073741312}]},\"firmwareProfile\":{\"serialNumber\":\"unknown\",\"type\":\"EFI\"},\"hardwareProfile\":{\"totalPhysicalMemoryInBytes\":4104650752,\"numberOfCpuSockets\":1,\"processors\":[{\"name\":\"Intel(R) Xeon(R) W-2133 CPU @ 3.60GHz\",\"numberOfCores\":3}]}}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/edyoung/providers/Microsoft.HybridCompute/machines/monolith8\",\"name\":\"monolith8\",\"location\":\"centraluseuap\",\"type\":\"Microsoft.HybridCompute/machines\",\"tags\":{},\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"7a135acd-d110-48e3-8696-d0b711433bf1\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"agentVersion\":\"1.0.0.0\",\"status\":\"Connected\",\"lastStatusChange\":\"2024-09-15T16:38:55.7043666Z\",\"errorDetails\":[],\"displayName\":\"monolith\",\"machineFqdn\":\"monolith\",\"osName\":\"windows\",\"osVersion\":\"10.0.22631.4169\",\"osType\":\"windows\",\"osProfile\":{\"computerName\":\"monolith\"},\"vmId\":\"bb44dc94-8bfd-42f3-8e41-474600d61e35\",\"vmUuid\":\"3B06A246-696F-8AB5-3A16-04421AE76566\",\"clientPublicKey\":\"MIIBCgKCAQEAsytLS609ie+fZOdtApCdH1x/6/JHGZnOhkGeYTXCuDphAlfavEcN0nKpZF54cHig6poJoJH74TRrZM6qiihbAD/LBNVDjX4FicU732syx58iGgRPjasn2GXt64NGBM1PvNnnFdvcz1+VgHW2xneL020vOX/+SmdFB/m53j8EMvQiHPIyGlWuBjCCmIoZ+u+BhyLvFIcINbyClqBM0GpSkUQCl8ltWbXDrEe0jzuCohOQkpmK/BKyD6qDOSxT0Zip1KRy1dMhpISQ+0Ed4pUvNfHPKFCMNChfpLPuYvcDTgQN16ifJS1Ir9jYGo4xl8+vdPJ+w+OwSIJk6bsQ9RTCYwIDAQAB\",\"osSku\":\"Windows 11 Enterprise\",\"osEdition\":\"enterprise\",\"osInstallDate\":\"2022-09-15T20:18:19+00:00\",\"domainName\":\"WORKGROUP\",\"adFqdn\":\"monolith\",\"dnsFqdn\":\"monolith\",\"mssqlDiscovered\":\"false\",\"cloudMetadata\":{\"provider\":\"N/A\"},\"detectedProperties\":{\"cloudprovider\":\"N/A\",\"coreCount\":\"12\",\"logicalCoreCount\":\"24\",\"manufacturer\":\"System manufacturer\",\"model\":\"System Product Name\",\"mssqldiscovered\":\"false\",\"partner.test\":\"updated value\",\"partner.testkeywithspace\":\"value6\",\"processorCount\":\"1\",\"processorNames\":\"AMD Ryzen 9 5900X 12-Core Processor\",\"productType\":\"4\",\"serialNumber\":\"Default string\",\"smbiosAssetTag\":\"Default string\",\"testpartnerwithspace.key\":\"value7\",\"totalPhysicalMemoryInBytes\":\"68719476736\",\"totalPhysicalMemoryInGigabytes\":\"64\",\"vmuuidEsu2012\":\"3B06A246-696F-8AB5-3A16-04421AE76566\"},\"agentConfiguration\":{\"proxyUrl\":\"\",\"incomingConnectionsPorts\":[],\"extensionsAllowList\":[],\"extensionsBlockList\":[],\"proxyBypass\":[],\"extensionsEnabled\":\"true\",\"guestConfigurationEnabled\":\"true\",\"configMode\":\"full\"},\"serviceStatuses\":{\"extensionService\":{\"status\":\"running\",\"startupType\":\"automatic\"},\"guestConfigurationService\":{\"status\":\"running\",\"startupType\":\"automatic\"}},\"agentUpgrade\":{\"enableAutomaticUpgrade\":false},\"networkProfile\":{\"networkInterfaces\":[{\"ipAddresses\":[{\"address\":\"192.168.0.106\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"192.168.0.0/24\"}}],\"macAddress\":\"04:42:1a:e7:65:66\",\"id\":\"7\",\"name\":\"Ethernet\"},{\"ipAddresses\":[{\"address\":\"2001:0:d5b:9458:20fe:3506:9e81:e976\",\"ipAddressVersion\":\"IPv6\",\"subnet\":{\"addressPrefix\":\"2001:0:d5b:9458::/64\"}}],\"macAddress\":\"00:00:00:00:00:00:00:e0\",\"id\":\"10\",\"name\":\"Teredo Tunneling Pseudo-Interface\"},{\"ipAddresses\":[{\"address\":\"172.19.80.1\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"172.19.80.0/20\"}}],\"macAddress\":\"00:15:5d:9b:7b:cf\",\"id\":\"33\",\"name\":\"vEthernet (Default Switch)\"},{\"ipAddresses\":[{\"address\":\"172.25.48.1\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"172.25.48.0/20\"}}],\"macAddress\":\"00:15:5d:36:4a:27\",\"id\":\"43\",\"name\":\"vEthernet (WSL (Hyper-V firewall))\"}]},\"licenseProfile\":{\"licenseStatus\":\"Licensed\",\"licenseChannel\":\"Retail\",\"esuProfile\":{\"licenseAssignmentState\":\"NotAssigned\",\"serverType\":\"Unknown\",\"esuEligibility\":\"Ineligible\",\"esuKeyState\":\"Inactive\",\"esuKeys\":[]}},\"storageProfile\":{\"disks\":[{\"path\":\"\\\\\\\\.\\\\PHYSICALDRIVE0\",\"diskType\":\"Fixed hard disk media\",\"generatedId\":\"\\\\\\\\.\\\\PHYSICALDRIVE0\",\"id\":\"\\\\\\\\.\\\\PHYSICALDRIVE0\",\"name\":\"Samsung SSD 990 PRO 4TB\",\"maxSizeInBytes\":4000784417280,\"usedSpaceInBytes\":1471469982208}]},\"firmwareProfile\":{\"serialNumber\":\"Default string\",\"type\":\"EFI\"},\"hardwareProfile\":{\"totalPhysicalMemoryInBytes\":68719476736,\"numberOfCpuSockets\":1,\"processors\":[{\"name\":\"AMD Ryzen 9 5900X 12-Core Processor \",\"numberOfCores\":12}]}}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/edyoung/providers/Microsoft.HybridCompute/machines/LAPTOP-72IVU1IV\",\"name\":\"LAPTOP-72IVU1IV\",\"location\":\"centraluseuap\",\"type\":\"Microsoft.HybridCompute/machines\",\"tags\":{},\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"fc7813b8-b15d-4d8d-93f6-1596ee281eb1\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"agentVersion\":\"1.45.02769.1796\",\"status\":\"Disconnected\",\"lastStatusChange\":\"2024-09-11T14:20:02.3795838Z\",\"errorDetails\":[],\"displayName\":\"LAPTOP-72IVU1IV\",\"machineFqdn\":\"LAPTOP-72IVU1IV\",\"osName\":\"windows\",\"osVersion\":\"10.0.22631.4112\",\"osType\":\"windows\",\"osProfile\":{\"computerName\":\"LAPTOP-72IVU1IV\"},\"vmId\":\"4b141ba4-e4f2-4f01-b4be-373b8b04aacb\",\"vmUuid\":\"047C9318-70F7-3BBD-EC54-E5972267FC37\",\"clientPublicKey\":\"MIIBCgKCAQEAw3JuEyn8NzS31mTpCL26RYeTi2OVCoQtdNkYyMfdCJDg+KthZn7l9FTUQzGlcmicUvRHeGZChJauLAgMsHLuSCBg0qMJmJjYWgxyZOm2USbQMTSdQXMnX3oPN/y6GqjK+9YsGKEdJlhQQZx66vjMGy86bu9FMhr3C2Ee151MkaDjiCWICnSXHzUHOJ5Tq//L/iT/mQyoh8dC8JmPjjepon5EEKGrXTVNPGjdsHqnodiemKjDTByZLklfazdW6cELYfKwBMXtnwDcRrLokRmCIGCdWpRfA3+c1zMskn0687d2wmNBBvmgBGxpBWn/28gjDVwiktRfwk8XcCWCMftq9QIDAQAB\",\"osSku\":\"Windows 11 Enterprise\",\"osEdition\":\"enterprise\",\"osInstallDate\":\"2024-02-29T05:29:29+00:00\",\"domainName\":\"WORKGROUP\",\"adFqdn\":\"LAPTOP-72IVU1IV\",\"dnsFqdn\":\"LAPTOP-72IVU1IV\",\"mssqlDiscovered\":\"false\",\"cloudMetadata\":{\"provider\":\"N/A\"},\"detectedProperties\":{\"cloudprovider\":\"N/A\",\"coreCount\":\"10\",\"logicalCoreCount\":\"12\",\"manufacturer\":\"Microsoft Corporation\",\"model\":\"Surface Laptop 5\",\"mssqldiscovered\":\"false\",\"processorCount\":\"1\",\"processorNames\":\"12th Gen Intel(R) Core(TM) i7-1265U\",\"productType\":\"4\",\"serialNumber\":\"0F34PMG24083FB\",\"smbiosAssetTag\":\"18763430\",\"totalPhysicalMemoryInBytes\":\"34359738368\",\"totalPhysicalMemoryInGigabytes\":\"32\",\"vmuuidEsu2012\":\"047C9318-70F7-3BBD-EC54-E5972267FC37\"},\"agentConfiguration\":{\"proxyUrl\":\"\",\"incomingConnectionsPorts\":[],\"extensionsAllowList\":[],\"extensionsBlockList\":[],\"proxyBypass\":[],\"extensionsEnabled\":\"true\",\"guestConfigurationEnabled\":\"true\",\"configMode\":\"full\"},\"serviceStatuses\":{\"extensionService\":{\"status\":\"running\",\"startupType\":\"automatic\"},\"guestConfigurationService\":{\"status\":\"running\",\"startupType\":\"automatic\"}},\"agentUpgrade\":{\"enableAutomaticUpgrade\":false},\"networkProfile\":{\"networkInterfaces\":[{\"ipAddresses\":[{\"address\":\"192.168.0.136\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"192.168.0.0/24\"}}],\"macAddress\":\"e8:c8:29:0d:f5:6b\",\"id\":\"13\",\"name\":\"Wi-Fi\"}]},\"licenseProfile\":{\"licenseStatus\":\"Licensed\",\"licenseChannel\":\"Retail\",\"esuProfile\":{\"licenseAssignmentState\":\"NotAssigned\",\"serverType\":\"Unknown\",\"esuEligibility\":\"Ineligible\",\"esuKeyState\":\"Inactive\"}},\"storageProfile\":{\"disks\":[{\"path\":\"\\\\\\\\.\\\\PHYSICALDRIVE0\",\"diskType\":\"Fixed hard disk media\",\"generatedId\":\"\\\\\\\\.\\\\PHYSICALDRIVE0\",\"id\":\"\\\\\\\\.\\\\PHYSICALDRIVE0\",\"name\":\"KBG50ZNS1T02-KIOXIA\",\"maxSizeInBytes\":1024203640320,\"usedSpaceInBytes\":99860053504}]},\"firmwareProfile\":{\"serialNumber\":\"0F34PMG24083FB\",\"type\":\"EFI\"},\"hardwareProfile\":{\"totalPhysicalMemoryInBytes\":34359738368,\"numberOfCpuSockets\":1,\"processors\":[{\"name\":\"12th Gen Intel(R) Core(TM) i7-1265U\",\"numberOfCores\":10}]}}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/lijiaq_test/providers/Microsoft.HybridCompute/machines/DESKTOP-JQL\",\"name\":\"DESKTOP-JQL\",\"location\":\"centraluseuap\",\"type\":\"Microsoft.HybridCompute/machines\",\"tags\":{},\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"51c8d7ef-84d5-4704-b811-fd255bbbb891\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"agentVersion\":\"1.45.02796.7352\",\"status\":\"Disconnected\",\"lastStatusChange\":\"2024-08-29T20:08:57.7571634Z\",\"errorDetails\":[],\"displayName\":\"DESKTOP-JQL\",\"machineFqdn\":\"DESKTOP-JQL\",\"osName\":\"windows\",\"osVersion\":\"10.0.22631.3880\",\"osType\":\"windows\",\"osProfile\":{\"computerName\":\"DESKTOP-JQL\"},\"vmId\":\"9ef807ae-3acd-44f8-a787-9444defc4f41\",\"vmUuid\":\"B8AE16B2-E3E2-E911-B18D-A4AE11112C76\",\"clientPublicKey\":\"MIIBCgKCAQEAtCqUHdJtwccO2xQEcg6aeoI0JQPFA16hbcAjFVt4um3k6mHNzMOQFwW+ktkDuaPHtREIJxgMgqUFA+3OLe3C0ttdb5V7ljDMlAgq3eaMOcGYsWlFhNcV0QQqQvlyxeyvv8XinsqltN9Sjk1mSiQn1dkoUxpl5u3VY2fCNTpAnjowVcuLMngq0K+X5JI3bCm4PiD6O/X2yn5oWsm/m/5/QXmTB88ROUorEZrDkWgmeZEmh/M0aMT9mV/2NQT8ZCrigkprGIHcSt3mjeMRYnjQXO95SWMEeAXHP8Z3o/QCc61ZN5eC2Pg5K4f48PXwVAVVuW22cP3ps2FONvkfZHhJPQIDAQAB\",\"osSku\":\"Windows 11 Enterprise\",\"osEdition\":\"enterprise\",\"osInstallDate\":\"2023-08-03T00:27:35+00:00\",\"domainName\":\"WORKGROUP\",\"adFqdn\":\"DESKTOP-JQL\",\"dnsFqdn\":\"DESKTOP-JQL\",\"mssqlDiscovered\":\"false\",\"cloudMetadata\":{\"provider\":\"N/A\"},\"detectedProperties\":{\"cloudprovider\":\"N/A\",\"coreCount\":\"6\",\"hci.test\":\"value\",\"logicalCoreCount\":\"12\",\"manufacturer\":\"LENOVO\",\"model\":\"30BFS5MM00\",\"mssqldiscovered\":\"false\",\"processorCount\":\"1\",\"processorNames\":\"Intel(R) Xeon(R) W-2133 CPU @ 3.60GHz\",\"productType\":\"4\",\"serialNumber\":\"Default string\",\"smbiosAssetTag\":\"11160685\",\"totalPhysicalMemoryInBytes\":\"34359738368\",\"totalPhysicalMemoryInGigabytes\":\"32\",\"vmuuidEsu2012\":\"B8AE16B2-E3E2-E911-B18D-A4AE11112C76\"},\"agentConfiguration\":{\"proxyUrl\":\"\",\"incomingConnectionsPorts\":[],\"extensionsAllowList\":[],\"extensionsBlockList\":[],\"proxyBypass\":[],\"extensionsEnabled\":\"true\",\"guestConfigurationEnabled\":\"true\",\"configMode\":\"full\"},\"serviceStatuses\":{\"extensionService\":{\"status\":\"running\",\"startupType\":\"automatic\"},\"guestConfigurationService\":{\"status\":\"running\",\"startupType\":\"automatic\"}},\"agentUpgrade\":{\"enableAutomaticUpgrade\":false},\"networkProfile\":{\"networkInterfaces\":[{\"ipAddresses\":[{\"address\":\"172.17.208.1\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"172.17.208.0/20\"}}],\"macAddress\":\"00:15:5d:88:32:02\",\"id\":\"21\",\"name\":\"vEthernet (Default Switch)\"},{\"ipAddresses\":[{\"address\":\"2001:4898:e0:3b2:8ff7:fa88:cb40:be48\",\"ipAddressVersion\":\"IPv6\",\"subnet\":{\"addressPrefix\":\"2001:4898:e0:3b2::/64\"}},{\"address\":\"2001:4898:e0:3b2:bda9:68d1:74c9:1cae\",\"ipAddressVersion\":\"IPv6\",\"subnet\":{\"addressPrefix\":\"2001:4898:e0:3b2:bda9:68d1:74c9:1cae/128\"}},{\"address\":\"10.30.70.41\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"10.30.68.0/22\"}}],\"macAddress\":\"80:6d:97:25:3f:95\",\"id\":\"30\",\"name\":\"vEthernet (virtual-switch)\"},{\"ipAddresses\":[{\"address\":\"2001:0:349e:d136:14b3:7077:7c94:5f56\",\"ipAddressVersion\":\"IPv6\",\"subnet\":{\"addressPrefix\":\"2001:0:349e:d136::/64\"}}],\"macAddress\":\"00:00:00:00:00:00:00:e0\",\"id\":\"10\",\"name\":\"Teredo Tunneling Pseudo-Interface\"}]},\"licenseProfile\":{\"licenseStatus\":\"Licensed\",\"licenseChannel\":\"Volume:GVLK\",\"esuProfile\":{\"licenseAssignmentState\":\"NotAssigned\",\"serverType\":\"Unknown\",\"esuEligibility\":\"Ineligible\",\"esuKeyState\":\"Inactive\"}},\"storageProfile\":{\"disks\":[{\"path\":\"\\\\\\\\.\\\\PHYSICALDRIVE1\",\"diskType\":\"Fixed hard disk media\",\"generatedId\":\"\\\\\\\\.\\\\PHYSICALDRIVE1\",\"id\":\"\\\\\\\\.\\\\PHYSICALDRIVE1\",\"name\":\"SAMSUNG MZVLB512HAJQ-000L7\",\"maxSizeInBytes\":512105932800,\"usedSpaceInBytes\":268132304896},{\"path\":\"\\\\\\\\.\\\\PHYSICALDRIVE2\",\"diskType\":\"Fixed hard disk media\",\"generatedId\":\"\\\\\\\\.\\\\PHYSICALDRIVE2\",\"id\":\"\\\\\\\\.\\\\PHYSICALDRIVE2\",\"name\":\"SAMSUNG MZVLB1T0HALR-000L7\",\"maxSizeInBytes\":1024203640320,\"usedSpaceInBytes\":35299511808},{\"path\":\"\\\\\\\\.\\\\PHYSICALDRIVE0\",\"diskType\":\"Fixed hard disk media\",\"generatedId\":\"\\\\\\\\.\\\\PHYSICALDRIVE0\",\"id\":\"\\\\\\\\.\\\\PHYSICALDRIVE0\",\"name\":\"ST2000DM001-1ER164\",\"maxSizeInBytes\":2000396321280,\"usedSpaceInBytes\":1400177152}]},\"firmwareProfile\":{\"serialNumber\":\"Default string\",\"type\":\"EFI\"},\"hardwareProfile\":{\"totalPhysicalMemoryInBytes\":34359738368,\"numberOfCpuSockets\":1,\"processors\":[{\"name\":\"Intel(R) Xeon(R) W-2133 CPU @ 3.60GHz\",\"numberOfCores\":6}]}}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/siva-test/providers/Microsoft.HybridCompute/machines/loadtest2\",\"name\":\"loadtest2\",\"location\":\"centraluseuap\",\"type\":\"Microsoft.HybridCompute/machines\",\"tags\":{},\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"868b7f94-372b-43d5-ada8-fa5d3df938e0\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"agentVersion\":\"1.0.0.0\",\"status\":\"Disconnected\",\"lastStatusChange\":\"2024-09-09T18:40:44.6160762Z\",\"errorDetails\":[],\"displayName\":\"WIN-PJQAGMGK66C\",\"machineFqdn\":\"WIN-PJQAGMGK66C\",\"osName\":\"windows\",\"osVersion\":\"6.2.9200.4112\",\"osType\":\"windows\",\"osProfile\":{\"computerName\":\"WIN-PJQAGMGK66C\"},\"vmId\":\"6fb22ddd-07e9-4fe2-ba7e-3b4fee319e99\",\"vmUuid\":\"4C4C4544-0048-4C10-8059-C3C04F324A33\",\"clientPublicKey\":\"MIIBCgKCAQEAwAoi4vLTLo0TtF5Hebe6iSopekIX0tcOCIIcC32/ibRimxeEpivXSAd9YuA9UHFFhg07D2wKQ4tHe5EXGSNhyqdlMkNMOvbAcvLwHpYLXcJiPIoNsGsocz4JwMkMcBcvXU/tO6p8T9ptZNSz0UghgfiK/hOsj0PKlu+kRACgAMLZDItkdl9tJ4k9nPJym+6CwFi/A2y93jYIV4B/UyNSSF+4MWLc0PlH9fJHaZ/sdkcKnb4O+VGqP/kXFDaZLXnALGNicfBkbUZu/I+WTxUA9c6N/rYfZhs3n6YHsokdLJ2r5TihDrUC4bfb91hQtEGAt/N85m42lNP/H2b55hyB8wIDAQAB\",\"osSku\":\"Windows 11 Enterprise\",\"osEdition\":\"professional\",\"osInstallDate\":\"2022-09-08T20:39:17+00:00\",\"domainName\":\"WORKGROUP\",\"adFqdn\":\"WIN-PJQAGMGK66C\",\"dnsFqdn\":\"WIN-PJQAGMGK66C\",\"mssqlDiscovered\":\"false\",\"cloudMetadata\":{\"provider\":\"N/A\"},\"detectedProperties\":{\"cloudprovider\":\"N/A\",\"coreCount\":\"4\",\"logicalCoreCount\":\"8\",\"manufacturer\":\"Dell Inc.\",\"model\":\"Latitude 7420\",\"mssqldiscovered\":\"false\",\"processorCount\":\"1\",\"processorNames\":\"11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz\",\"productType\":\"4\",\"serialNumber\":\"CHLY2J3\",\"smbiosAssetTag\":\"12627885\",\"totalPhysicalMemoryInBytes\":\"34359738368\",\"totalPhysicalMemoryInGigabytes\":\"32\",\"vmuuidEsu2012\":\"4C4C4544-0048-4C10-8059-C3C04F324A33\"},\"agentConfiguration\":{\"proxyUrl\":\"\",\"incomingConnectionsPorts\":[],\"extensionsAllowList\":[],\"extensionsBlockList\":[],\"proxyBypass\":[],\"extensionsEnabled\":\"true\",\"guestConfigurationEnabled\":\"true\",\"configMode\":\"full\"},\"serviceStatuses\":{\"extensionService\":{\"status\":\"running\",\"startupType\":\"automatic\"},\"guestConfigurationService\":{\"status\":\"running\",\"startupType\":\"automatic\"}},\"agentUpgrade\":{\"enableAutomaticUpgrade\":false},\"networkProfile\":{\"networkInterfaces\":[{\"ipAddresses\":[{\"address\":\"10.17.25.41\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"10.17.16.0/20\"}}],\"macAddress\":\"70:cd:0d:9e:cd:6b\",\"id\":\"9\",\"name\":\"vEthernet (New Virtual Switch)\"},{\"ipAddresses\":[{\"address\":\"2001:0:d5b:9458:3818:4a93:7c94:6c56\",\"ipAddressVersion\":\"IPv6\",\"subnet\":{\"addressPrefix\":\"2001:0:d5b:9458::/64\"}}],\"macAddress\":\"00:00:00:00:00:00:00:e0\",\"id\":\"11\",\"name\":\"Teredo Tunneling Pseudo-Interface\"},{\"ipAddresses\":[{\"address\":\"192.168.80.1\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"192.168.80.0/20\"}}],\"macAddress\":\"00:15:5d:db:85:3c\",\"id\":\"47\",\"name\":\"vEthernet (Default Switch)\"}]},\"licenseProfile\":{\"esuProfile\":{\"licenseAssignmentState\":\"NotAssigned\",\"serverType\":\"Unknown\",\"esuEligibility\":\"Ineligible\",\"esuKeyState\":\"Inactive\"}},\"storageProfile\":{\"disks\":[{\"path\":\"\\\\\\\\.\\\\PHYSICALDRIVE0\",\"diskType\":\"Fixed hard disk media\",\"generatedId\":\"\\\\\\\\.\\\\PHYSICALDRIVE0\",\"id\":\"\\\\\\\\.\\\\PHYSICALDRIVE0\",\"name\":\"Micron 2300 NVMe 512GB\",\"maxSizeInBytes\":512105932800,\"usedSpaceInBytes\":350874916864}]},\"firmwareProfile\":{\"serialNumber\":\"CHLY2J3\",\"type\":\"EFI\"},\"hardwareProfile\":{\"totalPhysicalMemoryInBytes\":34359738368,\"numberOfCpuSockets\":1,\"processors\":[{\"name\":\"11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz\",\"numberOfCores\":4}]}}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/siva-test/providers/Microsoft.HybridCompute/machines/loadtest1\",\"name\":\"loadtest1\",\"location\":\"centraluseuap\",\"type\":\"Microsoft.HybridCompute/machines\",\"tags\":{},\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"9e1e7e92-1e63-4a6c-8f15-822a45ebd638\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"agentVersion\":\"1.0.0.0\",\"status\":\"Connected\",\"lastStatusChange\":\"2024-09-09T20:25:32.7781729Z\",\"errorDetails\":[],\"displayName\":\"WIN-PJQAGMGK66C\",\"machineFqdn\":\"WIN-PJQAGMGK66C\",\"osName\":\"windows\",\"osVersion\":\"6.2.9200.4112\",\"osType\":\"windows\",\"osProfile\":{\"computerName\":\"WIN-PJQAGMGK66C\"},\"vmId\":\"90ed6f56-e015-41fc-ba4f-46e5c7601f52\",\"vmUuid\":\"4C4C4544-0048-4C10-8059-C3C04F324A33\",\"clientPublicKey\":\"MIIBCgKCAQEAwAoi4vLTLo0TtF5Hebe6iSopekIX0tcOCIIcC32/ibRimxeEpivXSAd9YuA9UHFFhg07D2wKQ4tHe5EXGSNhyqdlMkNMOvbAcvLwHpYLXcJiPIoNsGsocz4JwMkMcBcvXU/tO6p8T9ptZNSz0UghgfiK/hOsj0PKlu+kRACgAMLZDItkdl9tJ4k9nPJym+6CwFi/A2y93jYIV4B/UyNSSF+4MWLc0PlH9fJHaZ/sdkcKnb4O+VGqP/kXFDaZLXnALGNicfBkbUZu/I+WTxUA9c6N/rYfZhs3n6YHsokdLJ2r5TihDrUC4bfb91hQtEGAt/N85m42lNP/H2b55hyB8wIDAQAB\",\"osSku\":\"Windows 11 Enterprise\",\"osEdition\":\"professional\",\"osInstallDate\":\"2022-09-08T20:39:17+00:00\",\"domainName\":\"WORKGROUP\",\"adFqdn\":\"WIN-PJQAGMGK66C\",\"dnsFqdn\":\"WIN-PJQAGMGK66C\",\"mssqlDiscovered\":\"false\",\"cloudMetadata\":{\"provider\":\"N/A\"},\"detectedProperties\":{\"cloudprovider\":\"N/A\",\"coreCount\":\"4\",\"logicalCoreCount\":\"8\",\"manufacturer\":\"Dell Inc.\",\"model\":\"Latitude 7420\",\"mssqldiscovered\":\"false\",\"processorCount\":\"1\",\"processorNames\":\"11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz\",\"productType\":\"4\",\"serialNumber\":\"CHLY2J3\",\"smbiosAssetTag\":\"12627885\",\"totalPhysicalMemoryInBytes\":\"34359738368\",\"totalPhysicalMemoryInGigabytes\":\"32\",\"vmuuidEsu2012\":\"4C4C4544-0048-4C10-8059-C3C04F324A33\"},\"agentConfiguration\":{\"proxyUrl\":\"\",\"incomingConnectionsPorts\":[],\"extensionsAllowList\":[],\"extensionsBlockList\":[],\"proxyBypass\":[],\"extensionsEnabled\":\"true\",\"guestConfigurationEnabled\":\"true\",\"configMode\":\"full\"},\"serviceStatuses\":{\"extensionService\":{\"status\":\"running\",\"startupType\":\"automatic\"},\"guestConfigurationService\":{\"status\":\"running\",\"startupType\":\"automatic\"}},\"agentUpgrade\":{\"enableAutomaticUpgrade\":false},\"networkProfile\":{\"networkInterfaces\":[{\"ipAddresses\":[{\"address\":\"10.17.25.41\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"10.17.16.0/20\"}}],\"macAddress\":\"70:cd:0d:9e:cd:6b\",\"id\":\"9\",\"name\":\"vEthernet (New Virtual Switch)\"},{\"ipAddresses\":[{\"address\":\"2001:0:d5b:9458:30b2:5c13:7c94:6c56\",\"ipAddressVersion\":\"IPv6\",\"subnet\":{\"addressPrefix\":\"2001:0:d5b:9458::/64\"}}],\"macAddress\":\"00:00:00:00:00:00:00:e0\",\"id\":\"11\",\"name\":\"Teredo Tunneling Pseudo-Interface\"},{\"ipAddresses\":[{\"address\":\"192.168.80.1\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"192.168.80.0/20\"}}],\"macAddress\":\"00:15:5d:db:85:3c\",\"id\":\"47\",\"name\":\"vEthernet (Default Switch)\"}]},\"licenseProfile\":{\"esuProfile\":{\"licenseAssignmentState\":\"NotAssigned\",\"serverType\":\"Unknown\",\"esuEligibility\":\"Ineligible\",\"esuKeyState\":\"Inactive\"}},\"storageProfile\":{\"disks\":[{\"path\":\"\\\\\\\\.\\\\PHYSICALDRIVE0\",\"diskType\":\"Fixed hard disk media\",\"generatedId\":\"\\\\\\\\.\\\\PHYSICALDRIVE0\",\"id\":\"\\\\\\\\.\\\\PHYSICALDRIVE0\",\"name\":\"Micron 2300 NVMe 512GB\",\"maxSizeInBytes\":512105932800,\"usedSpaceInBytes\":351686690816}]},\"firmwareProfile\":{\"serialNumber\":\"CHLY2J3\",\"type\":\"EFI\"},\"hardwareProfile\":{\"totalPhysicalMemoryInBytes\":34359738368,\"numberOfCpuSockets\":1,\"processors\":[{\"name\":\"11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz\",\"numberOfCores\":4}]}}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/edyoung/providers/Microsoft.HybridCompute/machines/WIN-89LGOPE94T3\",\"name\":\"WIN-89LGOPE94T3\",\"location\":\"centraluseuap\",\"type\":\"Microsoft.HybridCompute/machines\",\"tags\":{},\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"183698bf-041a-49fb-81a0-cdb28e6e3480\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"agentVersion\":\"1.46.02809.1841\",\"status\":\"Disconnected\",\"lastStatusChange\":\"2024-09-12T15:33:47.6155281Z\",\"errorDetails\":[],\"displayName\":\"WIN-89LGOPE94T3\",\"machineFqdn\":\"WIN-89LGOPE94T3\",\"osName\":\"windows\",\"osVersion\":\"10.0.26100.1742\",\"osType\":\"windows\",\"osProfile\":{\"computerName\":\"WIN-89LGOPE94T3\"},\"vmId\":\"5d3fb65e-7d25-48b3-9f0e-1a3dd43ba22d\",\"vmUuid\":\"3847158C-9A6B-4257-9B03-687022C0432A\",\"clientPublicKey\":\"MIIBCgKCAQEAwVGPx7tZvA8o7vPEge4nwAC6AsqDw7KUD/YmZgKYiYJcum/0yH9Mz5gg/DEcMlQNRMpsoixqmf9bsCb578SxokNOCwa/GVdmCSqrXpnxduEoSyWl2wwQuDVpY1F+SflBfgL/Yca4gQLX9Q7pRyXIu6JQG3KmN5z/xHDlSrSuhwV0PeYuKZIjAsZ2ZNkafh2J85lV1qtMDjmymhVwWrQb95OsF7PdhZv9MniX04QzfL032UZVI1rzY+wtvu3DSkb6sCbIow9CRuFS8SLKjWE8GAF317FH/Rmh9ZWdWua7o1s8bh6SuUp4VwK3hMR/B136lA/BXiwRGfhKuK/KmTs25QIDAQAB\",\"osSku\":\"Windows Server 2025 Datacenter\",\"osEdition\":\"serverdatacenter\",\"osInstallDate\":\"2024-09-11T23:54:49+00:00\",\"domainName\":\"WORKGROUP\",\"adFqdn\":\"WIN-89LGOPE94T3\",\"dnsFqdn\":\"WIN-89LGOPE94T3\",\"mssqlDiscovered\":\"false\",\"cloudMetadata\":{\"provider\":\"N/A\"},\"detectedProperties\":{\"cloudprovider\":\"N/A\",\"coreCount\":\"6\",\"logicalCoreCount\":\"12\",\"manufacturer\":\"Microsoft Corporation\",\"model\":\"Virtual Machine\",\"mssqldiscovered\":\"false\",\"processorCount\":\"1\",\"processorNames\":\"AMD Ryzen 9 5900X 12-Core Processor\",\"productType\":\"8\",\"serialNumber\":\"9394-5780-6398-6961-3285-8470-38\",\"smbiosAssetTag\":\"9394-5780-6398-6961-3285-8470-38\",\"totalPhysicalMemoryInBytes\":\"8589934592\",\"totalPhysicalMemoryInGigabytes\":\"8\",\"virtualizationBasedSecurityStatus\":\"VbsDisabledSecureKernelNotRunning\",\"vmuuidEsu2012\":\"3847158C-9A6B-4257-9B03-687022C0432A\"},\"agentConfiguration\":{\"proxyUrl\":\"\",\"incomingConnectionsPorts\":[],\"extensionsAllowList\":[],\"extensionsBlockList\":[],\"proxyBypass\":[],\"extensionsEnabled\":\"true\",\"guestConfigurationEnabled\":\"true\",\"configMode\":\"full\"},\"serviceStatuses\":{\"extensionService\":{\"status\":\"running\",\"startupType\":\"automatic\"},\"guestConfigurationService\":{\"status\":\"running\",\"startupType\":\"automatic\"}},\"agentUpgrade\":{\"enableAutomaticUpgrade\":false},\"networkProfile\":{\"networkInterfaces\":[{\"ipAddresses\":[{\"address\":\"172.19.85.81\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"172.19.80.0/20\"}}],\"macAddress\":\"00:15:5d:00:6a:0c\",\"id\":\"4\",\"name\":\"Ethernet\"}]},\"licenseProfile\":{\"licenseStatus\":\"Notification\",\"licenseChannel\":\"Volume:GVLK\",\"esuProfile\":{\"licenseAssignmentState\":\"NotAssigned\",\"serverType\":\"Datacenter\",\"esuEligibility\":\"Ineligible\",\"esuKeyState\":\"Inactive\"},\"productProfile\":{}},\"storageProfile\":{\"disks\":[{\"path\":\"\\\\\\\\.\\\\PHYSICALDRIVE0\",\"diskType\":\"Fixed hard disk media\",\"generatedId\":\"\\\\\\\\.\\\\PHYSICALDRIVE0\",\"id\":\"\\\\\\\\.\\\\PHYSICALDRIVE0\",\"name\":\"Microsoft Virtual Disk\",\"maxSizeInBytes\":68713989120,\"usedSpaceInBytes\":15510619136}]},\"firmwareProfile\":{\"serialNumber\":\"9394-5780-6398-6961-3285-8470-38\",\"type\":\"EFI\"},\"hardwareProfile\":{\"totalPhysicalMemoryInBytes\":8589934592,\"numberOfCpuSockets\":1,\"processors\":[{\"name\":\"AMD Ryzen 9 5900X 12-Core Processor \",\"numberOfCores\":6}]}}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine\",\"name\":\"testmachine\",\"location\":\"centraluseuap\",\"type\":\"Microsoft.HybridCompute/machines\",\"tags\":{},\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"9e42b789-0368-4d7e-80e7-fa17275ff98a\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"agentVersion\":\"1.46.02809.1841\",\"status\":\"Connected\",\"lastStatusChange\":\"2024-09-19T18:17:56.2297124Z\",\"errorDetails\":[],\"displayName\":\"LAPTOP-S0HSJ7FB\",\"machineFqdn\":\"LAPTOP-S0HSJ7FB\",\"osName\":\"windows\",\"osVersion\":\"10.0.19045.4894\",\"osType\":\"windows\",\"osProfile\":{\"computerName\":\"LAPTOP-S0HSJ7FB\"},\"vmId\":\"b32bf557-83a7-47d1-b658-8a16c51af1c8\",\"vmUuid\":\"1A9E1B42-3894-11EC-80F0-84A9388B55FE\",\"clientPublicKey\":\"MIIBCgKCAQEAt/90yiFsz9yiZ5zb8ClkCDY7sdXp3X+BYDcjsF8BnPY5KxXLPGetXGhE50+BIKyXrA/Y/+DmT3y5u+YsYdSQTx9z6gQrAWzcHJkPG20qSUFmw86SibJvNvdPoRpO4PARDFOtrevyf9ALvIhGudMgFCwIz2we57qpTPXSNA5TE78W21YWFbfnUoKVSOGEt0fbCEaBc8q1etRxpqZDlqMqCpB69ApT6KEmssjYgd7OAJ5VdFoVzaclPLyGQ0/3E/3Vm9yBjYZ3WJZVQhVEUKbLUsGINu31KteZ3DMj4QQyeeQZCAaMie/gqZKgNfDsAZV4Mo07DQdb8QoVfFGSWwbNWQIDAQAB\",\"osSku\":\"Windows 10 Enterprise\",\"osEdition\":\"enterprise\",\"osInstallDate\":\"2023-02-07T08:27:20+00:00\",\"domainName\":\"WORKGROUP\",\"adFqdn\":\"LAPTOP-S0HSJ7FB\",\"dnsFqdn\":\"LAPTOP-S0HSJ7FB\",\"mssqlDiscovered\":\"false\",\"cloudMetadata\":{\"provider\":\"N/A\"},\"detectedProperties\":{\"cloudprovider\":\"N/A\",\"coreCount\":\"4\",\"logicalCoreCount\":\"8\",\"manufacturer\":\"LENOVO\",\"model\":\"20Y0S2PE00\",\"mssqldiscovered\":\"false\",\"processorCount\":\"1\",\"processorNames\":\"11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz\",\"productType\":\"4\",\"serialNumber\":\"PF33PR6M\",\"smbiosAssetTag\":\"14765144\",\"totalPhysicalMemoryInBytes\":\"34359738368\",\"totalPhysicalMemoryInGigabytes\":\"32\",\"vmuuidEsu2012\":\"1A9E1B42-3894-11EC-80F0-84A9388B55FE\"},\"agentConfiguration\":{\"proxyUrl\":\"\",\"incomingConnectionsPorts\":[],\"extensionsAllowList\":[],\"extensionsBlockList\":[],\"proxyBypass\":[],\"extensionsEnabled\":\"true\",\"guestConfigurationEnabled\":\"true\",\"configMode\":\"full\"},\"serviceStatuses\":{\"extensionService\":{\"status\":\"running\",\"startupType\":\"automatic\"},\"guestConfigurationService\":{\"status\":\"running\",\"startupType\":\"automatic\"}},\"agentUpgrade\":{\"enableAutomaticUpgrade\":false},\"networkProfile\":{\"networkInterfaces\":[{\"ipAddresses\":[{\"address\":\"172.30.240.1\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"172.30.240.0/20\"}}],\"macAddress\":\"00:15:5d:94:45:7d\",\"id\":\"30\",\"name\":\"vEthernet (Default Switch)\"},{\"ipAddresses\":[{\"address\":\"192.168.1.243\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"192.168.1.0/24\"}}],\"macAddress\":\"7c:70:db:1b:2c:22\",\"id\":\"10\",\"name\":\"Wi-Fi\"},{\"ipAddresses\":[{\"address\":\"2001:0:2841:f634:1c12:2f8a:52bb:ceed\",\"ipAddressVersion\":\"IPv6\",\"subnet\":{\"addressPrefix\":\"2001:0:2841:f634::/64\"}}],\"macAddress\":\"00:00:00:00:00:00:00:e0\",\"id\":\"13\",\"name\":\"Teredo Tunneling Pseudo-Interface\"}]},\"licenseProfile\":{\"licenseStatus\":\"Licensed\",\"licenseChannel\":\"Retail\",\"esuProfile\":{\"licenseAssignmentState\":\"NotAssigned\",\"serverType\":\"Unknown\",\"esuEligibility\":\"Ineligible\",\"esuKeyState\":\"Inactive\"}},\"storageProfile\":{\"disks\":[{\"path\":\"\\\\\\\\.\\\\PHYSICALDRIVE0\",\"diskType\":\"Fixed hard disk media\",\"generatedId\":\"\\\\\\\\.\\\\PHYSICALDRIVE0\",\"id\":\"\\\\\\\\.\\\\PHYSICALDRIVE0\",\"name\":\"SKHynix_HFS512GDE9X081N\",\"maxSizeInBytes\":512105932800,\"usedSpaceInBytes\":254967855104}]},\"firmwareProfile\":{\"serialNumber\":\"PF33PR6M\",\"type\":\"EFI\"},\"hardwareProfile\":{\"totalPhysicalMemoryInBytes\":34359738368,\"numberOfCpuSockets\":1,\"processors\":[{\"name\":\"11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz\",\"numberOfCores\":4}]}}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/manojamp/providers/Microsoft.HybridCompute/machines/ubuntu4\",\"name\":\"ubuntu4\",\"location\":\"centraluseuap\",\"type\":\"Microsoft.HybridCompute/machines\",\"tags\":{},\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"4ea70550-570a-4697-b72b-17d1df705e36\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"agentVersion\":\"1.40.02664.1492\",\"status\":\"Expired\",\"lastStatusChange\":\"2024-08-05T16:09:03.9185169Z\",\"errorDetails\":[],\"displayName\":\"ubuntu4\",\"machineFqdn\":\"ubuntu4\",\"osName\":\"linux\",\"osVersion\":\"5.4.0-177-generic\",\"osType\":\"linux\",\"osProfile\":{\"computerName\":\"ubuntu4\"},\"vmId\":\"1b344ec3-2d35-4565-8117-977b239506c4\",\"vmUuid\":\"16cc6b93-2b9e-944d-bb00-c55fd0ffa70f\",\"clientPublicKey\":\"MIIBCgKCAQEAx84Q10q8oya//si73qLXd4RFRn3/oGnWxYQBc2HWosIlH+JKKsHXUPYokdstfug/FgJBLSnhlL4WKJpdFQwHM1fpfYjwVxkQqv3T+NeY6nQw+Y7IOCqYWqw6XFSaIZbc1ziVcdicomflRPvIqnQBrIijy5udCb9BiifvyFvdr1prJckgDe6XKxc4sXJzer2TQTEgscqwODaA+M1ZBhs+RU8NB8nOaYiL1iMloC0L2AZLvzj8i/ZsFMcvGFLDpRbmdnUKxlWcI4QLR7o9CwS9dUBsXPGzJvnl6wu8mCIJyG4YbXXldEjC3thcaeBx9e4B28AIv28bG9hK9UqkQW1RGQIDAQAB\",\"osSku\":\"Ubuntu 20.04.6 LTS\",\"osEdition\":\"unknown\",\"domainName\":\"unknown\",\"adFqdn\":\"unknown\",\"dnsFqdn\":\"ubuntu4.mshome.net\",\"mssqlDiscovered\":\"false\",\"cloudMetadata\":{\"provider\":\"N/A\"},\"detectedProperties\":{\"cloudprovider\":\"N/A\",\"coreCount\":\"4\",\"logicalCoreCount\":\"8\",\"manufacturer\":\"Microsoft Corporation\",\"model\":\"Virtual Machine\",\"mssqldiscovered\":\"false\",\"processorCount\":\"1\",\"processorNames\":\"AMD EPYC 7763 64-Core Processor\",\"productType\":\"unknown\",\"serialNumber\":\"unknown\",\"smbiosAssetTag\":\"9865-9482-5580-1473-1447-2782-03\",\"totalPhysicalMemoryInBytes\":\"4108869632\",\"totalPhysicalMemoryInGigabytes\":\"3\"},\"agentConfiguration\":{\"proxyUrl\":\"http://localhost:40343\",\"incomingConnectionsPorts\":[],\"extensionsAllowList\":[],\"extensionsBlockList\":[],\"proxyBypass\":[],\"extensionsEnabled\":\"true\",\"guestConfigurationEnabled\":\"true\",\"configMode\":\"full\"},\"serviceStatuses\":{\"extensionService\":{\"status\":\"active\",\"startupType\":\"enabled\"},\"guestConfigurationService\":{\"status\":\"active\",\"startupType\":\"enabled\"}},\"agentUpgrade\":{\"enableAutomaticUpgrade\":false},\"networkProfile\":{\"networkInterfaces\":[{\"ipAddresses\":[{\"address\":\"172.27.21.254\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"172.27.16.0/20\"}}]},{\"ipAddresses\":[{\"address\":\"172.17.0.1\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"172.17.0.0/16\"}}]}]},\"licenseProfile\":{\"esuProfile\":{\"licenseAssignmentState\":\"NotAssigned\",\"serverType\":\"Unknown\",\"esuEligibility\":\"Ineligible\",\"esuKeyState\":\"Inactive\"}}}}]}", + "Content": "{\"value\":[{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/donaliu3/providers/Microsoft.HybridCompute/machines/Arc-Win-Demo\",\"name\":\"Arc-Win-Demo\",\"location\":\"westcentralus\",\"type\":\"Microsoft.HybridCompute/machines\",\"tags\":{\"Project\":\"jumpstart_azure_arc_servers\"},\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"1c1d7add-ec45-4f8b-969b-ceb5e60af94f\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"agentVersion\":\"1.46.02809.1841\",\"status\":\"Connected\",\"lastStatusChange\":\"2024-10-03T20:19:15.1902992Z\",\"errorDetails\":[],\"displayName\":\"Arc-Win-Demo\",\"machineFqdn\":\"Arc-Win-Demo\",\"osName\":\"windows\",\"osVersion\":\"10.0.20348.2700\",\"osType\":\"windows\",\"osProfile\":{\"computerName\":\"Arc-Win-Demo\"},\"vmId\":\"36b1f6d8-7adb-452e-9140-a09d98655c92\",\"vmUuid\":\"4407A197-1DA3-42C2-9F94-1C0ED3E65E6D\",\"clientPublicKey\":\"MIIBCgKCAQEA13fRx1IYqV/49YYa280NWN4Qj95S2yieHnzX/hY8+CXitGM13Id8rkKw4Jw16vZuPl8qshBIEGMJ0yYXQVKUyt3Vb/nfd7E33zh4Z89ApICgAG75j9KvVOeusYgGSDCs8fJrQrZkIzLnVyIQeM+uER672oX2zzVc8DnpPm23z4GcJBcUFO8GxX3mZVz9FviW3byOHa3D9IuTIAIGhpaStI/4rA+CKahHrPk6psi4O03AO+WkRQoo58W0BIbMtnvZQdj3x0AC3iI/jxCYzjoutc9TgACIlYLQc5HcG2iY/RKm9I3PKmPpVbJEPg3cFFuEpKSdSFRtvlwFI9DGXUPDswIDAQAB\",\"osSku\":\"Windows Server 2022 Datacenter\",\"osEdition\":\"serverdatacenter\",\"osInstallDate\":\"2024-09-12T17:44:28Z\",\"domainName\":\"WORKGROUP\",\"adFqdn\":\"Arc-Win-Demo\",\"dnsFqdn\":\"Arc-Win-Demo\",\"mssqlDiscovered\":\"false\",\"cloudMetadata\":{\"provider\":\"N/A\"},\"detectedProperties\":{\"cloudprovider\":\"N/A\",\"coreCount\":\"1\",\"logicalCoreCount\":\"2\",\"manufacturer\":\"Microsoft Corporation\",\"model\":\"Virtual Machine\",\"mssqldiscovered\":\"false\",\"processorCount\":\"1\",\"processorNames\":\"AMD EPYC 7763 64-Core Processor\",\"productType\":\"8\",\"serialNumber\":\"4708-7785-5746-4791-9961-7817-21\",\"smbiosAssetTag\":\"7783-7084-3265-9085-8269-3286-77\",\"totalPhysicalMemoryInBytes\":\"17179869184\",\"totalPhysicalMemoryInGigabytes\":\"16\",\"vmuuidEsu2012\":\"4407A197-1DA3-42C2-9F94-1C0ED3E65E6D\"},\"privateLinkScopeResourceId\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/donaliu3/providers/Microsoft.HybridCompute/privateLinkScopes/Arc-Win-Demo-PLS\",\"agentConfiguration\":{\"proxyUrl\":\"\",\"incomingConnectionsPorts\":[],\"extensionsAllowList\":[],\"extensionsBlockList\":[],\"proxyBypass\":[],\"extensionsEnabled\":\"true\",\"guestConfigurationEnabled\":\"true\",\"configMode\":\"full\"},\"serviceStatuses\":{\"extensionService\":{\"status\":\"running\",\"startupType\":\"automatic\"},\"guestConfigurationService\":{\"status\":\"running\",\"startupType\":\"automatic\"}},\"agentUpgrade\":{\"enableAutomaticUpgrade\":false},\"networkProfile\":{\"networkInterfaces\":[{\"ipAddresses\":[{\"address\":\"10.1.0.4\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"10.1.0.0/24\"}}],\"macAddress\":\"60:45:bd:25:04:4d\",\"id\":\"6\",\"name\":\"Ethernet\"}]},\"licenseProfile\":{\"licenseStatus\":\"Licensed\",\"licenseChannel\":\"Volume:GVLK\",\"esuProfile\":{\"licenseAssignmentState\":\"NotAssigned\",\"serverType\":\"Datacenter\",\"esuEligibility\":\"Ineligible\",\"esuKeyState\":\"Inactive\",\"esuKeys\":[]}},\"storageProfile\":{\"disks\":[{\"path\":\"\\\\\\\\.\\\\PHYSICALDRIVE0\",\"diskType\":\"Fixed hard disk media\",\"generatedId\":\"\\\\\\\\.\\\\PHYSICALDRIVE0\",\"id\":\"\\\\\\\\.\\\\PHYSICALDRIVE0\",\"name\":\"Microsoft Virtual Disk\",\"maxSizeInBytes\":136366917120,\"usedSpaceInBytes\":18043319808}]},\"firmwareProfile\":{\"serialNumber\":\"4708-7785-5746-4791-9961-7817-21\",\"type\":\"EFI\"},\"hardwareProfile\":{\"totalPhysicalMemoryInBytes\":17179869184,\"numberOfCpuSockets\":1,\"processors\":[{\"name\":\"AMD EPYC 7763 64-Core Processor \",\"numberOfCores\":1}]}}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/duyt-test/providers/Microsoft.HybridCompute/machines/duytsni2\",\"name\":\"duytsni2\",\"location\":\"westus2\",\"type\":\"Microsoft.HybridCompute/machines\",\"tags\":{\"ArcSQLServerExtensionDeployment\":\"Disabled\"},\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"15de1476-7f93-4b50-abc3-427dd9de0558\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"agentVersion\":\"1.46.02829.7543\",\"status\":\"Connected\",\"lastStatusChange\":\"2024-10-03T20:16:50.2370471Z\",\"errorDetails\":[],\"displayName\":\"duyt-homevm\",\"machineFqdn\":\"duyt-homevm\",\"osName\":\"windows\",\"osVersion\":\"10.0.26100.1742\",\"osType\":\"windows\",\"osProfile\":{\"computerName\":\"duyt-homevm\"},\"vmId\":\"b35ff3b3-8e99-4dcd-95d9-45202316816d\",\"vmUuid\":\"3C57CCD3-4F38-4413-88DA-C51A0B8B9FB2\",\"clientPublicKey\":\"MIIBCgKCAQEAvv7lhduSsdAVyVoj67cR5vUyr5OUiI9wb2ObVoTTmNjN1qkmTVdP89duXMgnwko9cOq/aNE1X6oC1On6muBm8htCBnkzi1aVqksyNeXwR4LYU4/c5oNIYOQvHMryYIEqGVVGoXr/fndWz1zEu3kbMXsx/bDOy4Ujizn2c0r44jpwORYiw4o+oVTlh3H0rEU+yxuaJTRk7Y84JolwqJzQq4argAUxMExHdjyveQ26n2p+bJFvGwaeZKV6hG3Yc3myGMvTygk4gABMlpAZSvX5bd1sciZPdNIB+Of35ZQjVeIvxiqquUOcREqv1rZnC0Z3907WzskUzShCCrOVRGI/TwIDAQAB\",\"osSku\":\"Windows 11 Enterprise N\",\"osEdition\":\"enterprisen\",\"osInstallDate\":\"2024-09-23T18:23:39+00:00\",\"domainName\":\"WORKGROUP\",\"adFqdn\":\"duyt-homevm\",\"dnsFqdn\":\"duyt-homevm\",\"mssqlDiscovered\":\"false\",\"cloudMetadata\":{\"provider\":\"N/A\"},\"detectedProperties\":{\"architecture\":\"amd64\",\"cloudprovider\":\"N/A\",\"coreCount\":\"3\",\"logicalCoreCount\":\"6\",\"manufacturer\":\"Microsoft Corporation\",\"model\":\"Virtual Machine\",\"mssqldiscovered\":\"false\",\"processorCount\":\"1\",\"processorNames\":\"AMD Ryzen 5 5600X 6-Core Processor\",\"productType\":\"27\",\"serialNumber\":\"0595-3855-9710-4885-7771-6992-11\",\"smbiosAssetTag\":\"0595-3855-9710-4885-7771-6992-11\",\"totalPhysicalMemoryInBytes\":\"4294967296\",\"totalPhysicalMemoryInGigabytes\":\"4\",\"vmuuidEsu2012\":\"3C57CCD3-4F38-4413-88DA-C51A0B8B9FB2\"},\"agentConfiguration\":{\"proxyUrl\":\"\",\"incomingConnectionsPorts\":[],\"extensionsAllowList\":[],\"extensionsBlockList\":[],\"proxyBypass\":[],\"extensionsEnabled\":\"true\",\"guestConfigurationEnabled\":\"true\",\"configMode\":\"full\"},\"serviceStatuses\":{\"extensionService\":{\"status\":\"running\",\"startupType\":\"automatic\"},\"guestConfigurationService\":{\"status\":\"running\",\"startupType\":\"automatic\"}},\"agentUpgrade\":{\"enableAutomaticUpgrade\":false},\"networkProfile\":{\"networkInterfaces\":[{\"ipAddresses\":[{\"address\":\"172.20.43.237\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"172.20.32.0/20\"}}],\"macAddress\":\"00:15:5d:01:02:03\",\"id\":\"5\",\"name\":\"Ethernet\"},{\"ipAddresses\":[{\"address\":\"2001:0:d5b:9458:3875:312a:cddc:dc8b\",\"ipAddressVersion\":\"IPv6\",\"subnet\":{\"addressPrefix\":\"2001:0:d5b:9458::/64\"}}],\"macAddress\":\"00:00:00:00:00:00:00:e0\",\"id\":\"4\",\"name\":\"Teredo Tunneling Pseudo-Interface\"}]},\"licenseProfile\":{\"licenseStatus\":\"Licensed\",\"licenseChannel\":\"Volume:MAK\",\"esuProfile\":{\"licenseAssignmentState\":\"NotAssigned\",\"serverType\":\"Unknown\",\"esuEligibility\":\"Ineligible\",\"esuKeyState\":\"Inactive\",\"esuKeys\":[]}},\"storageProfile\":{\"disks\":[{\"path\":\"\\\\\\\\.\\\\PHYSICALDRIVE0\",\"diskType\":\"Fixed hard disk media\",\"generatedId\":\"\\\\\\\\.\\\\PHYSICALDRIVE0\",\"id\":\"\\\\\\\\.\\\\PHYSICALDRIVE0\",\"name\":\"Microsoft Virtual Disk\",\"maxSizeInBytes\":136358691840,\"usedSpaceInBytes\":37504828416}]},\"firmwareProfile\":{\"serialNumber\":\"0595-3855-9710-4885-7771-6992-11\",\"type\":\"EFI\"},\"hardwareProfile\":{\"totalPhysicalMemoryInBytes\":4294967296,\"numberOfCpuSockets\":1,\"processors\":[{\"name\":\"AMD Ryzen 5 5600X 6-Core Processor \",\"numberOfCores\":3}]}}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/raghu/providers/Microsoft.HybridCompute/machines/raghuarcwin\",\"name\":\"raghuarcwin\",\"location\":\"westeurope\",\"type\":\"Microsoft.HybridCompute/machines\",\"tags\":{},\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"2234fae6-ad4d-4caa-97a1-cafd7da6ee33\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"agentVersion\":\"1.46.02809.1841\",\"status\":\"Connected\",\"lastStatusChange\":\"2024-10-03T19:54:19.2564048Z\",\"errorDetails\":[],\"displayName\":\"raghus-desktop\",\"machineFqdn\":\"raghus-desktop\",\"osName\":\"windows\",\"osVersion\":\"10.0.27695.1000\",\"osType\":\"windows\",\"osProfile\":{\"computerName\":\"raghus-desktop\"},\"vmId\":\"b7e05f15-d7d3-4a69-af0c-ac4c4c6478d4\",\"vmUuid\":\"60FEAF57-A97D-E911-9D28-1CA0B8761FB1\",\"clientPublicKey\":\"MIIBCgKCAQEA6bhtMBEmqmwaFKv/6dB3Fuw7nC4HXxImu+alb5vyHmNIK0lw1EDtzHMLMGRKwKAMjCKsAWuIw/sXqwj2dRpmrTaDClQtGFGsGGF6egxWz/04B1dvb8zan0/WEX+V+COvtOUlMpc24PBqoNVCoDx2M+dh8oOiOZ0yfgWCAPcPuq96v5wZKHtPfXK2VGINYocZ2YrObN+Y6MHHNXwk+l6Xz3EvBS6DM4V9ex1GWZ+mqnBc/dti4Qmrvcd7jub6bCxVqAfbKDVAEd7BASrkVLpX9tZAeHxZeICc3peM7PgAA6/3ANW1+sVeBbKk0ndq8aMLEK0D57Zm1+Efa1Sdl0cfGwIDAQAB\",\"osSku\":\"Windows 11 Enterprise\",\"osEdition\":\"enterprise\",\"osInstallDate\":\"2024-08-31T06:40:11+00:00\",\"domainName\":\"redmond.corp.microsoft.com\",\"adFqdn\":\"raghus-desktop.redmond.corp.microsoft.com\",\"dnsFqdn\":\"raghus-desktop.redmond.corp.microsoft.com\",\"mssqlDiscovered\":\"false\",\"cloudMetadata\":{\"provider\":\"N/A\"},\"detectedProperties\":{\"cloudprovider\":\"N/A\",\"coreCount\":\"6\",\"logicalCoreCount\":\"12\",\"manufacturer\":\"LENOVO\",\"model\":\"30BFS07500\",\"mssqldiscovered\":\"false\",\"processorCount\":\"1\",\"processorNames\":\"Intel(R) Xeon(R) W-2133 CPU @ 3.60GHz\",\"productType\":\"4\",\"serialNumber\":\"Default string\",\"smbiosAssetTag\":\"9920489\",\"totalPhysicalMemoryInBytes\":\"34359738368\",\"totalPhysicalMemoryInGigabytes\":\"32\",\"vmuuidEsu2012\":\"60FEAF57-A97D-E911-9D28-1CA0B8761FB1\"},\"agentConfiguration\":{\"proxyUrl\":\"\",\"incomingConnectionsPorts\":[],\"extensionsAllowList\":[],\"extensionsBlockList\":[],\"proxyBypass\":[],\"extensionsEnabled\":\"true\",\"guestConfigurationEnabled\":\"true\",\"configMode\":\"full\"},\"serviceStatuses\":{\"extensionService\":{\"status\":\"running\",\"startupType\":\"automatic\"},\"guestConfigurationService\":{\"status\":\"running\",\"startupType\":\"automatic\"}},\"agentUpgrade\":{\"enableAutomaticUpgrade\":false},\"networkProfile\":{\"networkInterfaces\":[{\"ipAddresses\":[{\"address\":\"192.168.1.158\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"192.168.1.0/24\"}}],\"macAddress\":\"1c:a0:b8:76:1f:b1\",\"id\":\"2\",\"name\":\"Ethernet\"},{\"ipAddresses\":[{\"address\":\"100.65.0.220\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"100.65.0.220/32\"}}],\"macAddress\":\"\",\"id\":\"50\",\"name\":\"MSFT-AzVPN-Manual\"},{\"ipAddresses\":[{\"address\":\"172.18.16.1\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"172.18.16.0/20\"}}],\"macAddress\":\"00:15:5d:f2:a3:8d\",\"id\":\"19\",\"name\":\"vEthernet (Default Switch)\"}]},\"licenseProfile\":{\"licenseStatus\":\"Licensed\",\"licenseChannel\":\"Volume:GVLK\",\"esuProfile\":{\"licenseAssignmentState\":\"NotAssigned\",\"serverType\":\"Unknown\",\"esuEligibility\":\"Ineligible\",\"esuKeyState\":\"Inactive\"}},\"storageProfile\":{\"disks\":[{\"path\":\"\\\\\\\\.\\\\PHYSICALDRIVE1\",\"diskType\":\"Fixed hard disk media\",\"generatedId\":\"\\\\\\\\.\\\\PHYSICALDRIVE1\",\"id\":\"\\\\\\\\.\\\\PHYSICALDRIVE1\",\"name\":\"SAMSUNG MZVLB512HAJQ-000L7\",\"maxSizeInBytes\":512105932800,\"usedSpaceInBytes\":271875561472},{\"path\":\"\\\\\\\\.\\\\PHYSICALDRIVE2\",\"diskType\":\"Fixed hard disk media\",\"generatedId\":\"\\\\\\\\.\\\\PHYSICALDRIVE2\",\"id\":\"\\\\\\\\.\\\\PHYSICALDRIVE2\",\"name\":\"SAMSUNG MZVLB1T0HALR-000L7\",\"maxSizeInBytes\":1024203640320,\"usedSpaceInBytes\":1024203640320},{\"path\":\"\\\\\\\\.\\\\PHYSICALDRIVE0\",\"diskType\":\"Fixed hard disk media\",\"generatedId\":\"\\\\\\\\.\\\\PHYSICALDRIVE0\",\"id\":\"\\\\\\\\.\\\\PHYSICALDRIVE0\",\"name\":\"ST2000DM001-1ER164\",\"maxSizeInBytes\":2000396321280,\"usedSpaceInBytes\":2000396321280}]},\"firmwareProfile\":{\"serialNumber\":\"Default string\",\"type\":\"EFI\"},\"hardwareProfile\":{\"totalPhysicalMemoryInBytes\":34359738368,\"numberOfCpuSockets\":1,\"processors\":[{\"name\":\"Intel(R) Xeon(R) W-2133 CPU @ 3.60GHz\",\"numberOfCores\":6}]}}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/duyt-test/providers/Microsoft.HybridCompute/machines/duyt-laptop\",\"name\":\"duyt-laptop\",\"location\":\"eastus\",\"type\":\"Microsoft.HybridCompute/machines\",\"tags\":{},\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"bba929c3-51ec-476d-8e55-aed38d83f7b7\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"agentVersion\":\"1.44.02748.1755\",\"status\":\"Expired\",\"lastStatusChange\":\"2024-08-02T20:22:11.4874507Z\",\"errorDetails\":[],\"displayName\":\"duyt-laptop\",\"machineFqdn\":\"duyt-laptop\",\"osName\":\"windows\",\"osVersion\":\"10.0.22631.3880\",\"osType\":\"windows\",\"osProfile\":{\"computerName\":\"duyt-laptop\"},\"vmId\":\"e4c4ec83-51db-4c53-b1ea-9a71efdaa0d5\",\"vmUuid\":\"F9E64AC2-D6FC-11EB-80F0-902E165409AA\",\"clientPublicKey\":\"MIIBCgKCAQEAuiQB/07pqArEO4mz0pWkiM6rVcpx3HO/0+RRHcDwfZkF/CcVrMLiA4c31QU2rbAdmHmUeWAHcD9GgGUVWN264lMujJiNGN/mPBa+E7E2KQrOz7t2VTbhsQpgmPv3BlVwnxFVkcxSNvUu1/p/fSHnBWqurgcGGffNjJdOKMJp7Mdzuj91S9D5FhVAyXMp6FdgiNKfnKUpqjnTDkPUJP7/d8LW/oXS3VuXmUv+UNeCNqrKN3Ywk/Vx8Q66W2vLXo9KnmKKepnvlbEpTXd8j41dpgLRMDpa60XA1oPYYjtu0aB/mGFHGM4zh6QRmyRVprQs+Fr4MxJRQ+WuTTWparPWaQIDAQAB\",\"osSku\":\"Windows 11 Enterprise\",\"osEdition\":\"enterprise\",\"osInstallDate\":\"2022-09-14T22:18:03+00:00\",\"domainName\":\"WORKGROUP\",\"adFqdn\":\"duyt-laptop\",\"dnsFqdn\":\"duyt-laptop\",\"mssqlDiscovered\":\"false\",\"cloudMetadata\":{\"provider\":\"N/A\"},\"detectedProperties\":{\"cloudprovider\":\"N/A\",\"coreCount\":\"4\",\"logicalCoreCount\":\"8\",\"manufacturer\":\"LENOVO\",\"model\":\"20Y0S2PE00\",\"mssqldiscovered\":\"false\",\"processorCount\":\"1\",\"processorNames\":\"11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz\",\"productType\":\"4\",\"serialNumber\":\"PF3427T0\",\"smbiosAssetTag\":\"14705374\",\"totalPhysicalMemoryInBytes\":\"34359738368\",\"totalPhysicalMemoryInGigabytes\":\"32\",\"vmuuidEsu2012\":\"F9E64AC2-D6FC-11EB-80F0-902E165409AA\"},\"agentConfiguration\":{\"proxyUrl\":\"\",\"incomingConnectionsPorts\":[],\"extensionsAllowList\":[],\"extensionsBlockList\":[],\"proxyBypass\":[],\"extensionsEnabled\":\"true\",\"guestConfigurationEnabled\":\"true\",\"configMode\":\"full\"},\"serviceStatuses\":{\"extensionService\":{\"status\":\"running\",\"startupType\":\"automatic\"},\"guestConfigurationService\":{\"status\":\"running\",\"startupType\":\"automatic\"}},\"agentUpgrade\":{\"enableAutomaticUpgrade\":false},\"networkProfile\":{\"networkInterfaces\":[{\"ipAddresses\":[{\"address\":\"192.168.1.22\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"192.168.1.0/24\"}}]},{\"ipAddresses\":[{\"address\":\"2001:0:d5b:9458:1c9c:75a:cdd1:214\",\"ipAddressVersion\":\"IPv6\",\"subnet\":{\"addressPrefix\":\"2001:0:d5b:9458::/64\"}}]},{\"ipAddresses\":[{\"address\":\"172.22.224.1\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"172.22.224.0/20\"}}]}]},\"licenseProfile\":{\"licenseStatus\":\"Licensed\",\"licenseChannel\":\"Retail\",\"esuProfile\":{\"licenseAssignmentState\":\"NotAssigned\",\"serverType\":\"Unknown\",\"esuEligibility\":\"Ineligible\",\"esuKeyState\":\"Inactive\"}},\"hardwareProfile\":{\"totalPhysicalMemoryInBytes\":34359738368,\"numberOfCpuSockets\":1,\"processors\":[{\"name\":\"11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz\",\"numberOfCores\":4}]}}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/stefano-rg/providers/Microsoft.HybridCompute/machines/stefano-laptop\",\"name\":\"stefano-laptop\",\"location\":\"eastus\",\"type\":\"Microsoft.HybridCompute/machines\",\"tags\":{},\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"4548b529-0279-4bd6-97c3-c4a7900cb043\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"agentVersion\":\"1.46.02809.1841\",\"status\":\"Disconnected\",\"lastStatusChange\":\"2024-09-24T23:58:49.7383129Z\",\"errorDetails\":[],\"displayName\":\"DESKTOP-HTF16HT\",\"machineFqdn\":\"DESKTOP-HTF16HT\",\"osName\":\"windows\",\"osVersion\":\"10.0.22631.4169\",\"osType\":\"windows\",\"osProfile\":{\"computerName\":\"DESKTOP-HTF16HT\"},\"vmId\":\"b09857e1-30eb-45f3-b866-5529884779e1\",\"vmUuid\":\"EE0A0AA2-4199-ED47-3472-AA72250FB68A\",\"clientPublicKey\":\"MIIBCgKCAQEAyDrhaU3/UjdB3X6h/PyquRuO0u05JhbGuH41putxncAYp2536aQyHX4Hhc1gjaaEiuPqECvDkVSGHI8lcZnQgM6OMwwE3+qC2+pJLQE4gPP8L7Hy6ohBr59TBRKF3zWhGPWvSTKC/iIjqJTMtWRX/YBiL7KgJhUMC7KVUP9DnDukUh2ZAQRbvApVyAbNeMOy5votPuDFcPAm4YKzLwBaTlfiA9I5cvhk5F1wp1mmd4SphODJ63bAX4jNo4Amqck/tBsEBMqgV28dSz2gCzrsN51OVMKDvJSVTL9RaSOEwelt+UdZ5uQ7d9opUxPJJWVO7luRzQ1kZKW0wuuldxiJGwIDAQAB\",\"osSku\":\"Windows 11 Enterprise\",\"osEdition\":\"enterprise\",\"osInstallDate\":\"2023-11-23T05:33:39+00:00\",\"domainName\":\"WORKGROUP\",\"adFqdn\":\"DESKTOP-HTF16HT\",\"dnsFqdn\":\"DESKTOP-HTF16HT\",\"mssqlDiscovered\":\"false\",\"cloudMetadata\":{\"provider\":\"N/A\"},\"detectedProperties\":{\"cloudprovider\":\"N/A\",\"coreCount\":\"14\",\"logicalCoreCount\":\"20\",\"manufacturer\":\"Microsoft Corporation\",\"model\":\"Surface Laptop Studio 2\",\"mssqldiscovered\":\"false\",\"processorCount\":\"1\",\"processorNames\":\"13th Gen Intel(R) Core(TM) i7-13800H\",\"productType\":\"4\",\"serialNumber\":\"0F369C423473H7\",\"smbiosAssetTag\":\"18763726\",\"totalPhysicalMemoryInBytes\":\"34359738368\",\"totalPhysicalMemoryInGigabytes\":\"32\",\"vmuuidEsu2012\":\"EE0A0AA2-4199-ED47-3472-AA72250FB68A\"},\"agentConfiguration\":{\"proxyUrl\":\"\",\"incomingConnectionsPorts\":[],\"extensionsAllowList\":[],\"extensionsBlockList\":[],\"proxyBypass\":[],\"extensionsEnabled\":\"true\",\"guestConfigurationEnabled\":\"true\",\"configMode\":\"full\"},\"serviceStatuses\":{\"extensionService\":{\"status\":\"running\",\"startupType\":\"automatic\"},\"guestConfigurationService\":{\"status\":\"running\",\"startupType\":\"automatic\"}},\"agentUpgrade\":{\"enableAutomaticUpgrade\":false},\"networkProfile\":{\"networkInterfaces\":[{\"ipAddresses\":[{\"address\":\"172.29.80.1\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"172.29.80.0/20\"}}],\"macAddress\":\"00:15:5d:01:a5:00\",\"id\":\"38\",\"name\":\"vEthernet (Default Switch)\"},{\"ipAddresses\":[{\"address\":\"172.26.240.1\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"172.26.240.0/20\"}}],\"macAddress\":\"00:15:5d:54:e8:fc\",\"id\":\"58\",\"name\":\"vEthernet (WSL (Hyper-V firewall))\"},{\"ipAddresses\":[{\"address\":\"192.168.56.1\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"192.168.56.0/24\"}}],\"macAddress\":\"0a:00:27:00:00:0e\",\"id\":\"14\",\"name\":\"Ethernet 2\"},{\"ipAddresses\":[{\"address\":\"10.17.25.99\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"10.17.16.0/20\"}}],\"macAddress\":\"c8:96:65:e4:23:d0\",\"id\":\"18\",\"name\":\"Wi-Fi\"}]},\"licenseProfile\":{\"licenseStatus\":\"Licensed\",\"licenseChannel\":\"Retail\",\"esuProfile\":{\"licenseAssignmentState\":\"NotAssigned\",\"serverType\":\"Unknown\",\"esuEligibility\":\"Ineligible\",\"esuKeyState\":\"Inactive\"}},\"storageProfile\":{\"disks\":[{\"path\":\"\\\\\\\\.\\\\PHYSICALDRIVE0\",\"diskType\":\"Fixed hard disk media\",\"generatedId\":\"\\\\\\\\.\\\\PHYSICALDRIVE0\",\"id\":\"\\\\\\\\.\\\\PHYSICALDRIVE0\",\"name\":\"HFS001TEJ9X101N-SKhynix\",\"maxSizeInBytes\":1024203640320,\"usedSpaceInBytes\":779466350080}]},\"firmwareProfile\":{\"serialNumber\":\"0F369C423473H7\",\"type\":\"EFI\"},\"hardwareProfile\":{\"totalPhysicalMemoryInBytes\":34359738368,\"numberOfCpuSockets\":1,\"processors\":[{\"name\":\"13th Gen Intel(R) Core(TM) i7-13800H\",\"numberOfCores\":14}]}}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/stefano-rg/providers/Microsoft.HybridCompute/machines/stef-ubuntu-hyperv\",\"name\":\"stef-ubuntu-hyperv\",\"location\":\"eastus\",\"type\":\"Microsoft.HybridCompute/machines\",\"tags\":{},\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"f4049a0f-5d7f-4915-9232-e723726244be\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"agentVersion\":\"1.46.02809.1707\",\"status\":\"Disconnected\",\"lastStatusChange\":\"2024-10-02T02:20:23.0851115Z\",\"errorDetails\":[],\"displayName\":\"stefanoochoa-Virtual-Machine\",\"machineFqdn\":\"stefanoochoa-Virtual-Machine\",\"osName\":\"linux\",\"osVersion\":\"6.5.0-1025-azure\",\"osType\":\"linux\",\"osProfile\":{\"computerName\":\"stefanoochoa-Virtual-Machine\"},\"vmId\":\"8299008c-4a2e-47c9-a352-dbb5647cd5a2\",\"vmUuid\":\"5b44b0f5-f623-41ff-b205-060373469559\",\"clientPublicKey\":\"MIIBCgKCAQEAxZBrdMtIoVZUvHOOIo/nn/DUJJtM3t0ZblUZEVgbknyBbKIcysArNx7eq2RaLJLaGqvwInjLl7wyigIuSN8pj09oSEBTHyGo6QwhJy5XHl2KxyVDn3ruI8dzmHONEv+JbeaWDtv0acMfiv79GvEJVF+0Cc5+z9GmLhLfVsQ9RI/K5OnyKTIXdMcdgOkSsY1EkVrEBS9tm/Epn5i1DSXAU97cStnsdguofr0aUQhVYq+SsUGB2m42XmZg9lppDrfGVelKzjyyv1cpR3UNhQ2Gp5+CcPF3lKab8UKJEskmytWWLnkT+8XxKWYom29L+lGUz/Iw+LbmCqgmKHkN5geJqwIDAQAB\",\"osSku\":\"Ubuntu 22.04.4 LTS\",\"osEdition\":\"unknown\",\"domainName\":\"unknown\",\"adFqdn\":\"unknown\",\"dnsFqdn\":\"stefanoochoa-Virtual-Machine\",\"mssqlDiscovered\":\"false\",\"cloudMetadata\":{\"provider\":\"N/A\"},\"detectedProperties\":{\"cloudprovider\":\"N/A\",\"coreCount\":\"5\",\"logicalCoreCount\":\"10\",\"manufacturer\":\"Microsoft Corporation\",\"model\":\"Virtual Machine\",\"mssqldiscovered\":\"false\",\"processorCount\":\"1\",\"processorNames\":\"13th Gen Intel(R) Core(TM) i7-13800H\",\"productType\":\"unknown\",\"serialNumber\":\"unknown\",\"smbiosAssetTag\":\"5075-7256-4653-8004-4301-8522-78\",\"totalPhysicalMemoryInBytes\":\"8370708480\",\"totalPhysicalMemoryInGigabytes\":\"7\",\"vmuuidEsu2012\":\"\"},\"agentConfiguration\":{\"proxyUrl\":\"\",\"incomingConnectionsPorts\":[],\"extensionsAllowList\":[],\"extensionsBlockList\":[],\"proxyBypass\":[],\"extensionsEnabled\":\"true\",\"guestConfigurationEnabled\":\"true\",\"configMode\":\"full\"},\"serviceStatuses\":{\"extensionService\":{\"status\":\"active\",\"startupType\":\"enabled\"},\"guestConfigurationService\":{\"status\":\"active\",\"startupType\":\"enabled\"}},\"agentUpgrade\":{\"enableAutomaticUpgrade\":false},\"networkProfile\":{\"networkInterfaces\":[{\"ipAddresses\":[{\"address\":\"172.18.241.180\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"172.18.240.0/20\"}}],\"macAddress\":\"00:15:5d:01:a5:01\",\"id\":\"2\",\"name\":\"eth0\"}]},\"licenseProfile\":{\"esuProfile\":{\"licenseAssignmentState\":\"NotAssigned\",\"serverType\":\"Unknown\",\"esuEligibility\":\"Ineligible\",\"esuKeyState\":\"Inactive\"}},\"storageProfile\":{\"disks\":[{\"path\":\"/dev/loop0\",\"diskType\":\"loop\",\"generatedId\":\"DataDisk0\",\"id\":\"/dev/loop0\",\"name\":\"/dev/loop0\",\"maxSizeInBytes\":4096,\"usedSpaceInBytes\":128},{\"path\":\"/dev/loop1\",\"diskType\":\"loop\",\"generatedId\":\"DataDisk1\",\"id\":\"/dev/loop1\",\"name\":\"/dev/loop1\",\"maxSizeInBytes\":64909312,\"usedSpaceInBytes\":63488},{\"path\":\"/dev/loop2\",\"diskType\":\"loop\",\"generatedId\":\"DataDisk2\",\"id\":\"/dev/loop2\",\"name\":\"/dev/loop2\",\"maxSizeInBytes\":67051520,\"usedSpaceInBytes\":65536},{\"path\":\"/dev/loop3\",\"diskType\":\"loop\",\"generatedId\":\"DataDisk3\",\"id\":\"/dev/loop3\",\"name\":\"/dev/loop3\",\"maxSizeInBytes\":284413952,\"usedSpaceInBytes\":277760},{\"path\":\"/dev/loop4\",\"diskType\":\"loop\",\"generatedId\":\"DataDisk4\",\"id\":\"/dev/loop4\",\"name\":\"/dev/loop4\",\"maxSizeInBytes\":77881344,\"usedSpaceInBytes\":76160},{\"path\":\"/dev/loop6\",\"diskType\":\"loop\",\"generatedId\":\"DataDisk5\",\"id\":\"/dev/loop6\",\"name\":\"/dev/loop6\",\"maxSizeInBytes\":282873856,\"usedSpaceInBytes\":276352},{\"path\":\"/dev/loop7\",\"diskType\":\"loop\",\"generatedId\":\"DataDisk6\",\"id\":\"/dev/loop7\",\"name\":\"/dev/loop7\",\"maxSizeInBytes\":366682112,\"usedSpaceInBytes\":358144},{\"path\":\"/dev/loop8\",\"diskType\":\"loop\",\"generatedId\":\"DataDisk7\",\"id\":\"/dev/loop8\",\"name\":\"/dev/loop8\",\"maxSizeInBytes\":260841472,\"usedSpaceInBytes\":254848},{\"path\":\"/dev/loop9\",\"diskType\":\"loop\",\"generatedId\":\"DataDisk8\",\"id\":\"/dev/loop9\",\"name\":\"/dev/loop9\",\"maxSizeInBytes\":529625088,\"usedSpaceInBytes\":517248},{\"path\":\"/dev/loop10\",\"diskType\":\"loop\",\"generatedId\":\"DataDisk9\",\"id\":\"/dev/loop10\",\"name\":\"/dev/loop10\",\"maxSizeInBytes\":68378624,\"usedSpaceInBytes\":66816},{\"path\":\"/dev/loop11\",\"diskType\":\"loop\",\"generatedId\":\"DataDisk10\",\"id\":\"/dev/loop11\",\"name\":\"/dev/loop11\",\"maxSizeInBytes\":96141312,\"usedSpaceInBytes\":93952},{\"path\":\"/dev/loop12\",\"diskType\":\"loop\",\"generatedId\":\"DataDisk11\",\"id\":\"/dev/loop12\",\"name\":\"/dev/loop12\",\"maxSizeInBytes\":13553664,\"usedSpaceInBytes\":13312},{\"path\":\"/dev/loop13\",\"diskType\":\"loop\",\"generatedId\":\"DataDisk12\",\"id\":\"/dev/loop13\",\"name\":\"/dev/loop13\",\"maxSizeInBytes\":48091136,\"usedSpaceInBytes\":46976},{\"path\":\"/dev/loop14\",\"diskType\":\"loop\",\"generatedId\":\"DataDisk13\",\"id\":\"/dev/loop14\",\"name\":\"/dev/loop14\",\"maxSizeInBytes\":40714240,\"usedSpaceInBytes\":39808},{\"path\":\"/dev/loop15\",\"diskType\":\"loop\",\"generatedId\":\"DataDisk14\",\"id\":\"/dev/loop15\",\"name\":\"/dev/loop15\",\"maxSizeInBytes\":487424,\"usedSpaceInBytes\":512},{\"path\":\"/dev/loop16\",\"diskType\":\"loop\",\"generatedId\":\"DataDisk15\",\"id\":\"/dev/loop16\",\"name\":\"/dev/loop16\",\"maxSizeInBytes\":512000,\"usedSpaceInBytes\":512},{\"path\":\"/dev/loop17\",\"diskType\":\"loop\",\"generatedId\":\"DataDisk16\",\"id\":\"/dev/loop17\",\"name\":\"/dev/loop17\",\"maxSizeInBytes\":77881344,\"usedSpaceInBytes\":76160},{\"path\":\"/dev/sda\",\"diskType\":\"disk\",\"generatedId\":\"RootDisk\",\"id\":\"/dev/sda\",\"name\":\"/dev/sda\",\"maxSizeInBytes\":12884901888,\"usedSpaceInBytes\":10812046}]},\"firmwareProfile\":{\"serialNumber\":\"unknown\",\"type\":\"EFI\"},\"hardwareProfile\":{\"totalPhysicalMemoryInBytes\":8370708480,\"numberOfCpuSockets\":1,\"processors\":[{\"name\":\"13th Gen Intel(R) Core(TM) i7-13800H\",\"numberOfCores\":5}]}}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine\",\"name\":\"testmachine\",\"location\":\"eastus\",\"type\":\"Microsoft.HybridCompute/machines\",\"tags\":{},\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"77c88dff-29f9-46b3-96c1-0e268e14c2e9\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"agentVersion\":\"1.46.02809.1841\",\"status\":\"Connected\",\"lastStatusChange\":\"2024-10-03T20:22:21.06354Z\",\"errorDetails\":[],\"displayName\":\"LAPTOP-S0HSJ7FB\",\"machineFqdn\":\"LAPTOP-S0HSJ7FB\",\"osName\":\"windows\",\"osVersion\":\"10.0.19045.4894\",\"osType\":\"windows\",\"osProfile\":{\"computerName\":\"LAPTOP-S0HSJ7FB\"},\"vmId\":\"63619518-ff37-447a-aece-6631b77dd539\",\"vmUuid\":\"1A9E1B42-3894-11EC-80F0-84A9388B55FE\",\"clientPublicKey\":\"MIIBCgKCAQEAsczlsurN559KRp4x6W9aKSle/XqlOdaeP22TfXDVsxCLNjivIHBr0BzufK8F2ly0eX5Q3MMsr51tX1bVD7RKcg53iTG2YMiygA5jjoptXTAMe28BxPQ5S1+6tv7XbRSibIb6pss1UKqrmOYNXWQMU5mHlZ+cv5RAcGMANhqVMYQ1vyLRx5I0zdvWI6PGiHMjjLCL8EMS8qgw43KXtP+t98pojlsMnS8YVwcsQcjYjkR9a64OFdHelr4oCrBNIaVdrSNEOygj8ONEWltt8CUMqHo437x7ZwEuf4dHMBgazzONWDFGr0tO1NhR7w0a3GI/Pdt0VKCIbL+Rb81vsecJPwIDAQAB\",\"osSku\":\"Windows 10 Enterprise\",\"osEdition\":\"enterprise\",\"osInstallDate\":\"2023-02-07T08:27:20+00:00\",\"domainName\":\"WORKGROUP\",\"adFqdn\":\"LAPTOP-S0HSJ7FB\",\"dnsFqdn\":\"LAPTOP-S0HSJ7FB\",\"mssqlDiscovered\":\"false\",\"cloudMetadata\":{\"provider\":\"N/A\"},\"detectedProperties\":{\"cloudprovider\":\"N/A\",\"coreCount\":\"4\",\"logicalCoreCount\":\"8\",\"manufacturer\":\"LENOVO\",\"model\":\"20Y0S2PE00\",\"mssqldiscovered\":\"false\",\"processorCount\":\"1\",\"processorNames\":\"11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz\",\"productType\":\"4\",\"serialNumber\":\"PF33PR6M\",\"smbiosAssetTag\":\"14765144\",\"totalPhysicalMemoryInBytes\":\"34359738368\",\"totalPhysicalMemoryInGigabytes\":\"32\",\"vmuuidEsu2012\":\"1A9E1B42-3894-11EC-80F0-84A9388B55FE\"},\"agentConfiguration\":{\"proxyUrl\":\"\",\"incomingConnectionsPorts\":[],\"extensionsAllowList\":[],\"extensionsBlockList\":[],\"proxyBypass\":[],\"extensionsEnabled\":\"true\",\"guestConfigurationEnabled\":\"true\",\"configMode\":\"full\"},\"serviceStatuses\":{\"extensionService\":{\"status\":\"running\",\"startupType\":\"automatic\"},\"guestConfigurationService\":{\"status\":\"running\",\"startupType\":\"automatic\"}},\"agentUpgrade\":{\"enableAutomaticUpgrade\":false},\"networkProfile\":{\"networkInterfaces\":[{\"ipAddresses\":[{\"address\":\"172.21.0.1\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"172.21.0.0/20\"}}],\"macAddress\":\"00:15:5d:29:94:9c\",\"id\":\"27\",\"name\":\"vEthernet (Default Switch)\"},{\"ipAddresses\":[{\"address\":\"192.168.1.243\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"192.168.1.0/24\"}}],\"macAddress\":\"7c:70:db:1b:2c:22\",\"id\":\"10\",\"name\":\"Wi-Fi\"},{\"ipAddresses\":[{\"address\":\"2001:0:2841:f634:1c12:2f8a:52bb:ceed\",\"ipAddressVersion\":\"IPv6\",\"subnet\":{\"addressPrefix\":\"2001:0:2841:f634::/64\"}}],\"macAddress\":\"00:00:00:00:00:00:00:e0\",\"id\":\"14\",\"name\":\"Teredo Tunneling Pseudo-Interface\"}]},\"licenseProfile\":{\"licenseStatus\":\"Licensed\",\"licenseChannel\":\"Retail\",\"esuProfile\":{\"licenseAssignmentState\":\"NotAssigned\",\"serverType\":\"Unknown\",\"esuEligibility\":\"Ineligible\",\"esuKeyState\":\"Inactive\"}},\"storageProfile\":{\"disks\":[{\"path\":\"\\\\\\\\.\\\\PHYSICALDRIVE0\",\"diskType\":\"Fixed hard disk media\",\"generatedId\":\"\\\\\\\\.\\\\PHYSICALDRIVE0\",\"id\":\"\\\\\\\\.\\\\PHYSICALDRIVE0\",\"name\":\"SKHynix_HFS512GDE9X081N\",\"maxSizeInBytes\":512105932800,\"usedSpaceInBytes\":257882859520}]},\"firmwareProfile\":{\"serialNumber\":\"PF33PR6M\",\"type\":\"EFI\"},\"hardwareProfile\":{\"totalPhysicalMemoryInBytes\":34359738368,\"numberOfCpuSockets\":1,\"processors\":[{\"name\":\"11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz\",\"numberOfCores\":4}]}}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/juschen-test/providers/Microsoft.HybridCompute/machines/juschen-arc-abc\",\"name\":\"juschen-arc-abc\",\"location\":\"eastus2\",\"type\":\"Microsoft.HybridCompute/machines\",\"tags\":{},\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"0dff20f7-c17f-43d8-a56f-efd77d042221\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"agentVersion\":\"1.0.0.0\",\"status\":\"Connected\",\"lastStatusChange\":\"2024-10-03T19:40:57.7944265Z\",\"errorDetails\":[],\"displayName\":\"LAPTOP-6ALJOREQ\",\"machineFqdn\":\"LAPTOP-6ALJOREQ\",\"osName\":\"windows\",\"osVersion\":\"10.0.22631.4169\",\"osType\":\"windows\",\"osProfile\":{\"computerName\":\"LAPTOP-6ALJOREQ\"},\"vmId\":\"6f93d75d-062c-40b6-83dd-d872c3c1ff90\",\"vmUuid\":\"62E541CC-1E9B-11B2-A85C-C3B0E9AC02C8\",\"clientPublicKey\":\"MIIBCgKCAQEAkqWT25Ui1hlrRtjZ5uNiX+JDktKFos32x5dOFd2HljL9rfguZkmxzY3ot9p3uUkpiTJW+2G24h8EDdYUbqtafp9DPrStTVUVaXdygQ5LAhTdkYasvMkRVrbAINWonaXT1eJ/06rRWTma0g7fTKlA9IBVxgCe7dIYKHkaZpbh6bJn7vj1bbeyPr8cEE8l66X5F+1TgVoVEyIAHtnVNthjg0dGwraFiUfd+85ILRRnejnH+026HwicRrWAs3t0nwNKo5ceh6n7srXgMlqF8OUa/Kld8zCPj1Ud904q5krMEXkzSUdzNk1zz262RPm2QT67NxIUNtbzpKmvvUNZkkp5qwIDAQAB\",\"osSku\":\"Windows 11 Enterprise\",\"osEdition\":\"enterprise\",\"osInstallDate\":\"2022-12-11T08:41:31+00:00\",\"domainName\":\"WORKGROUP\",\"adFqdn\":\"LAPTOP-6ALJOREQ\",\"dnsFqdn\":\"LAPTOP-6ALJOREQ\",\"mssqlDiscovered\":\"false\",\"cloudMetadata\":{\"provider\":\"N/A\"},\"detectedProperties\":{\"architecture\":\"amd64\",\"cloudprovider\":\"N/A\",\"coreCount\":\"4\",\"logicalCoreCount\":\"8\",\"manufacturer\":\"LENOVO\",\"model\":\"20T1S4U800\",\"mssqldiscovered\":\"false\",\"processorCount\":\"1\",\"processorNames\":\"Intel(R) Core(TM) i7-10610U CPU @ 1.80GHz\",\"productType\":\"4\",\"serialNumber\":\"PC205SCY\",\"smbiosAssetTag\":\"No Asset Information\",\"totalPhysicalMemoryInBytes\":\"34359738368\",\"totalPhysicalMemoryInGigabytes\":\"32\",\"vmuuidEsu2012\":\"62E541CC-1E9B-11B2-A85C-C3B0E9AC02C8\"},\"agentConfiguration\":{\"proxyUrl\":\"\",\"incomingConnectionsPorts\":[],\"extensionsAllowList\":[],\"extensionsBlockList\":[],\"proxyBypass\":[],\"extensionsEnabled\":\"true\",\"guestConfigurationEnabled\":\"true\",\"configMode\":\"full\"},\"serviceStatuses\":{\"extensionService\":{\"status\":\"unknown\",\"startupType\":\"unknown\"},\"guestConfigurationService\":{\"status\":\"unknown\",\"startupType\":\"unknown\"}},\"agentUpgrade\":{\"enableAutomaticUpgrade\":false},\"networkProfile\":{\"networkInterfaces\":[{\"ipAddresses\":[{\"address\":\"192.168.0.101\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"192.168.0.0/24\"}}],\"macAddress\":\"80:6d:97:1f:24:5d\",\"id\":\"6\",\"name\":\"Ethernet 2\"},{\"ipAddresses\":[{\"address\":\"192.168.56.1\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"192.168.56.0/24\"}}],\"macAddress\":\"0a:00:27:00:00:0c\",\"id\":\"12\",\"name\":\"VirtualBox Host-Only Network\"},{\"ipAddresses\":[{\"address\":\"100.65.160.41\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"100.65.160.41/32\"}}],\"macAddress\":\"\",\"id\":\"74\",\"name\":\"MSFT-AzVPN-Manual\"},{\"ipAddresses\":[{\"address\":\"172.31.48.1\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"172.31.48.0/20\"}}],\"macAddress\":\"00:15:5d:54:f9:d8\",\"id\":\"26\",\"name\":\"vEthernet (Default Switch)\"}]},\"licenseProfile\":{\"licenseStatus\":\"Licensed\",\"licenseChannel\":\"Retail\",\"esuProfile\":{\"licenseAssignmentState\":\"NotAssigned\",\"serverType\":\"Unknown\",\"esuEligibility\":\"Ineligible\",\"esuKeyState\":\"Inactive\",\"esuKeys\":[]}},\"storageProfile\":{\"disks\":[{\"path\":\"\\\\\\\\.\\\\PHYSICALDRIVE0\",\"diskType\":\"Fixed hard disk media\",\"generatedId\":\"\\\\\\\\.\\\\PHYSICALDRIVE0\",\"id\":\"\\\\\\\\.\\\\PHYSICALDRIVE0\",\"name\":\"KXG6AZNV1T02 TOSHIBA\",\"maxSizeInBytes\":1024203640320,\"usedSpaceInBytes\":505626021376}]},\"firmwareProfile\":{\"serialNumber\":\"PC205SCY\",\"type\":\"EFI\"},\"hardwareProfile\":{\"totalPhysicalMemoryInBytes\":34359738368,\"numberOfCpuSockets\":1,\"processors\":[{\"name\":\"Intel(R) Core(TM) i7-10610U CPU @ 1.80GHz\",\"numberOfCores\":4}]}}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/hima-test/providers/Microsoft.HybridCompute/machines/DESKTOP-AVV3TUL\",\"name\":\"DESKTOP-AVV3TUL\",\"location\":\"canadacentral\",\"type\":\"Microsoft.HybridCompute/machines\",\"tags\":{},\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"9f11086f-86c1-45ac-a397-7e27c8fcfc06\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"agentVersion\":\"1.46.02809.1841\",\"status\":\"Disconnected\",\"lastStatusChange\":\"2024-10-03T05:25:25.0579098Z\",\"errorDetails\":[],\"displayName\":\"DESKTOP-AVV3TUL\",\"machineFqdn\":\"DESKTOP-AVV3TUL\",\"osName\":\"windows\",\"osVersion\":\"10.0.26100.1742\",\"osType\":\"windows\",\"osProfile\":{\"computerName\":\"DESKTOP-AVV3TUL\"},\"vmId\":\"a9a7fa9b-c99c-41aa-8c7a-b0ed80c3a740\",\"vmUuid\":\"3251C053-F641-B0CD-6579-94DB0F6676D1\",\"clientPublicKey\":\"MIIBCgKCAQEA7VDL7hnKgc4Y6DMLRXxCs04IdBAhWTkg+gip3/Q1jpcyk3uJKk4UVxWQskJ9BqVCdhUa5dwLA0D5XkFAVtMCCTkspNauGAcMViVUg1CkvZO1tG4x/JC5iQ1bfmutrjlEpEkxG+6oI6QhFWeIgA+6TBvJS4ELo0B9exI9sXVHC+7NzZ/BgeZqvwUNKCf3wgB/tsn9DcoQRQ43vw8dO1Lzf08bEQvWzI3q5S6eN60dPR6w1focUyd2bwYeHHW22FEJucKxfIGiO5H+/mKz1J3gz6wIeCYonqdBRhAkuFR/5j/H925S0VZhwqHuclY+qJhqhIAwyKVnfYzmem3zEnjhqwIDAQAB\",\"osSku\":\"Windows 11 Enterprise\",\"osEdition\":\"enterprise\",\"osInstallDate\":\"2024-09-24T05:14:04+00:00\",\"domainName\":\"WORKGROUP\",\"adFqdn\":\"DESKTOP-AVV3TUL\",\"dnsFqdn\":\"DESKTOP-AVV3TUL\",\"mssqlDiscovered\":\"false\",\"cloudMetadata\":{\"provider\":\"N/A\"},\"detectedProperties\":{\"cloudprovider\":\"N/A\",\"coreCount\":\"4\",\"logicalCoreCount\":\"8\",\"manufacturer\":\"Microsoft Corporation\",\"model\":\"Surface Book 3\",\"mssqldiscovered\":\"false\",\"processorCount\":\"1\",\"processorNames\":\"Intel(R) Core(TM) i7-1065G7 CPU @ 1.30GHz\",\"productType\":\"4\",\"serialNumber\":\"034775204757\",\"totalPhysicalMemoryInBytes\":\"34359738368\",\"totalPhysicalMemoryInGigabytes\":\"32\",\"vmuuidEsu2012\":\"3251C053-F641-B0CD-6579-94DB0F6676D1\"},\"agentConfiguration\":{\"proxyUrl\":\"\",\"incomingConnectionsPorts\":[],\"extensionsAllowList\":[],\"extensionsBlockList\":[],\"proxyBypass\":[],\"extensionsEnabled\":\"true\",\"guestConfigurationEnabled\":\"true\",\"configMode\":\"full\"},\"serviceStatuses\":{\"extensionService\":{\"status\":\"running\",\"startupType\":\"automatic\"},\"guestConfigurationService\":{\"status\":\"running\",\"startupType\":\"automatic\"}},\"agentUpgrade\":{\"enableAutomaticUpgrade\":false},\"networkProfile\":{\"networkInterfaces\":[{\"ipAddresses\":[{\"address\":\"fd14:3744:4bee:1:a960:2b21:4300:11c9\",\"ipAddressVersion\":\"IPv6\",\"subnet\":{\"addressPrefix\":\"fd14:3744:4bee:1::/64\"}},{\"address\":\"fd14:3744:4bee:1:4c4b:3ecf:a0a1:264\",\"ipAddressVersion\":\"IPv6\",\"subnet\":{\"addressPrefix\":\"fd14:3744:4bee:1:4c4b:3ecf:a0a1:264/128\"}},{\"address\":\"192.168.5.92\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"192.168.4.0/22\"}}],\"macAddress\":\"34:c9:3d:5f:fd:84\",\"id\":\"17\",\"name\":\"Wi-Fi\"},{\"ipAddresses\":[{\"address\":\"2001:0:d5b:9458:20df:1831:cdd1:1617\",\"ipAddressVersion\":\"IPv6\",\"subnet\":{\"addressPrefix\":\"2001:0:d5b:9458::/64\"}}],\"macAddress\":\"00:00:00:00:00:00:00:e0\",\"id\":\"15\",\"name\":\"Teredo Tunneling Pseudo-Interface\"},{\"ipAddresses\":[{\"address\":\"172.20.240.1\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"172.20.240.0/20\"}}],\"macAddress\":\"00:15:5d:f1:bf:6d\",\"id\":\"22\",\"name\":\"vEthernet (Default Switch)\"}]},\"licenseProfile\":{\"licenseStatus\":\"Licensed\",\"licenseChannel\":\"Retail\",\"esuProfile\":{\"licenseAssignmentState\":\"NotAssigned\",\"serverType\":\"Unknown\",\"esuEligibility\":\"Ineligible\",\"esuKeyState\":\"Inactive\"}},\"storageProfile\":{\"disks\":[{\"path\":\"\\\\\\\\.\\\\PHYSICALDRIVE1\",\"diskType\":\"External hard disk media\",\"generatedId\":\"\\\\\\\\.\\\\PHYSICALDRIVE1\",\"id\":\"\\\\\\\\.\\\\PHYSICALDRIVE1\",\"name\":\"Seagate Expansion HDD SCSI Disk Device\",\"maxSizeInBytes\":1000202273280,\"usedSpaceInBytes\":148876263936},{\"path\":\"\\\\\\\\.\\\\PHYSICALDRIVE0\",\"diskType\":\"Fixed hard disk media\",\"generatedId\":\"\\\\\\\\.\\\\PHYSICALDRIVE0\",\"id\":\"\\\\\\\\.\\\\PHYSICALDRIVE0\",\"name\":\"HFM512GDGTNG-87A0A\",\"maxSizeInBytes\":512105932800,\"usedSpaceInBytes\":336230922240}]},\"firmwareProfile\":{\"serialNumber\":\"034775204757\",\"type\":\"EFI\"},\"hardwareProfile\":{\"totalPhysicalMemoryInBytes\":34359738368,\"numberOfCpuSockets\":1,\"processors\":[{\"name\":\"Intel(R) Core(TM) i7-1065G7 CPU @ 1.30GHz\",\"numberOfCores\":4}]}}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/hima-test/providers/Microsoft.HybridCompute/machines/higadupu-desk\",\"name\":\"higadupu-desk\",\"location\":\"eastus2euap\",\"type\":\"Microsoft.HybridCompute/machines\",\"tags\":{},\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"ddece7b7-4018-4358-8e70-86167cdca836\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"agentVersion\":\"1.46.02809.1841\",\"status\":\"Connected\",\"lastStatusChange\":\"2024-10-03T20:25:03.9341511Z\",\"errorDetails\":[],\"displayName\":\"higadupu-desk\",\"machineFqdn\":\"higadupu-desk\",\"osName\":\"windows\",\"osVersion\":\"10.0.26100.1882\",\"osType\":\"windows\",\"osProfile\":{\"computerName\":\"higadupu-desk\"},\"vmId\":\"705a8b08-e9b7-4fcd-a156-4e635a0f20a6\",\"vmUuid\":\"20086627-FE04-EB11-9A32-A4AE122C2358\",\"clientPublicKey\":\"MIIBCgKCAQEA0PWxQKY4l552Hstmb+SZb6PgXbHRW7kRtsRC4Z5FwRrr0q0s6lpWJwORdiA8WQv4h/X2CB0CVUinym3y26qlwDYu4pG63ohmijGAynRmdqAE7LsJ3URsNBtjE3UZDKEAT7D9qpqZqI/Qy7R0nyDmPqU0x2MJ2ikD/oecivB7kb2Ij7c4xyppwMOiGMsB7I5gAcZjKeu7rBDwg2MjmvUaCne2GgcEfAEnqaZLiYjDFGFxZRkaUKmrN9YqTK5Jcoqfva3lrvfouVLquA7otZWLMViWATj9gBts7gGN9NeMJrnL++OjewhiTQJXyOy4X08IO5IBkJoUxExyHB5ie+Tk2wIDAQAB\",\"osSku\":\"Windows 11 Enterprise\",\"osEdition\":\"enterprise\",\"osInstallDate\":\"2024-09-27T21:52:30+00:00\",\"domainName\":\"redmond.corp.microsoft.com\",\"adFqdn\":\"higadupu-desk.redmond.corp.microsoft.com\",\"dnsFqdn\":\"higadupu-desk.redmond.corp.microsoft.com\",\"mssqlDiscovered\":\"false\",\"cloudMetadata\":{\"provider\":\"N/A\"},\"detectedProperties\":{\"cloudprovider\":\"N/A\",\"coreCount\":\"6\",\"logicalCoreCount\":\"12\",\"manufacturer\":\"LENOVO\",\"model\":\"30BFS9C900\",\"mssqldiscovered\":\"false\",\"processorCount\":\"1\",\"processorNames\":\"Intel(R) Xeon(R) W-2235 CPU @ 3.80GHz\",\"productType\":\"4\",\"serialNumber\":\"Default string\",\"smbiosAssetTag\":\"12598799\",\"totalPhysicalMemoryInBytes\":\"51539607552\",\"totalPhysicalMemoryInGigabytes\":\"48\",\"vmuuidEsu2012\":\"20086627-FE04-EB11-9A32-A4AE122C2358\"},\"agentConfiguration\":{\"proxyUrl\":\"\",\"incomingConnectionsPorts\":[],\"extensionsAllowList\":[],\"extensionsBlockList\":[],\"proxyBypass\":[],\"extensionsEnabled\":\"true\",\"guestConfigurationEnabled\":\"true\",\"configMode\":\"full\"},\"serviceStatuses\":{\"extensionService\":{\"status\":\"running\",\"startupType\":\"automatic\"},\"guestConfigurationService\":{\"status\":\"running\",\"startupType\":\"automatic\"}},\"agentUpgrade\":{\"enableAutomaticUpgrade\":false},\"networkProfile\":{\"networkInterfaces\":[{\"ipAddresses\":[{\"address\":\"2001:4898:e0:3b2:cc3:6354:692e:70eb\",\"ipAddressVersion\":\"IPv6\",\"subnet\":{\"addressPrefix\":\"2001:4898:e0:3b2::/64\"}},{\"address\":\"2001:4898:b601:1d8:1412:6665:350b:fd6c\",\"ipAddressVersion\":\"IPv6\",\"subnet\":{\"addressPrefix\":\"2001:4898:b601:1d8::/64\"}},{\"address\":\"2001:4898:e0:3b2:fd23:8190:d7ec:e1e7\",\"ipAddressVersion\":\"IPv6\",\"subnet\":{\"addressPrefix\":\"2001:4898:e0:3b2:fd23:8190:d7ec:e1e7/128\"}},{\"address\":\"2001:4898:b601:1d8:f446:4335:5a8:2b7\",\"ipAddressVersion\":\"IPv6\",\"subnet\":{\"addressPrefix\":\"2001:4898:b601:1d8:f446:4335:5a8:2b7/128\"}},{\"address\":\"10.30.70.65\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"10.30.68.0/22\"}}],\"macAddress\":\"a4:ae:12:2c:23:58\",\"id\":\"3\",\"name\":\"Ethernet\"},{\"ipAddresses\":[{\"address\":\"2001:0:349e:d136:3488:93a9:7c94:51be\",\"ipAddressVersion\":\"IPv6\",\"subnet\":{\"addressPrefix\":\"2001:0:349e:d136::/64\"}}],\"macAddress\":\"00:00:00:00:00:00:00:e0\",\"id\":\"12\",\"name\":\"Teredo Tunneling Pseudo-Interface\"},{\"ipAddresses\":[{\"address\":\"172.27.96.1\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"172.27.96.0/20\"}}],\"macAddress\":\"00:15:5d:70:39:02\",\"id\":\"19\",\"name\":\"vEthernet (Default Switch)\"}]},\"licenseProfile\":{\"licenseStatus\":\"Licensed\",\"licenseChannel\":\"Volume:GVLK\",\"esuProfile\":{\"licenseAssignmentState\":\"NotAssigned\",\"serverType\":\"Unknown\",\"esuEligibility\":\"Ineligible\",\"esuKeyState\":\"Inactive\",\"esuKeys\":[]}},\"storageProfile\":{\"disks\":[{\"path\":\"\\\\\\\\.\\\\PHYSICALDRIVE0\",\"diskType\":\"Fixed hard disk media\",\"generatedId\":\"\\\\\\\\.\\\\PHYSICALDRIVE0\",\"id\":\"\\\\\\\\.\\\\PHYSICALDRIVE0\",\"name\":\"ST2000DM008-2FR102\",\"maxSizeInBytes\":2000396321280,\"usedSpaceInBytes\":2000396321280},{\"path\":\"\\\\\\\\.\\\\PHYSICALDRIVE1\",\"diskType\":\"Fixed hard disk media\",\"generatedId\":\"\\\\\\\\.\\\\PHYSICALDRIVE1\",\"id\":\"\\\\\\\\.\\\\PHYSICALDRIVE1\",\"name\":\"WDC PC SN730 SDBQNTY-512G-1001\",\"maxSizeInBytes\":512105932800,\"usedSpaceInBytes\":362282506240},{\"path\":\"\\\\\\\\.\\\\PHYSICALDRIVE2\",\"diskType\":\"Fixed hard disk media\",\"generatedId\":\"\\\\\\\\.\\\\PHYSICALDRIVE2\",\"id\":\"\\\\\\\\.\\\\PHYSICALDRIVE2\",\"name\":\"SAMSUNG MZVLB1T0HBLR-000L7\",\"maxSizeInBytes\":1024203640320,\"usedSpaceInBytes\":1024203640320}]},\"firmwareProfile\":{\"serialNumber\":\"Default string\",\"type\":\"EFI\"},\"hardwareProfile\":{\"totalPhysicalMemoryInBytes\":51539607552,\"numberOfCpuSockets\":1,\"processors\":[{\"name\":\"Intel(R) Xeon(R) W-2235 CPU @ 3.80GHz\",\"numberOfCores\":6}]}}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/duyt-test/providers/Microsoft.HybridCompute/machines/duyt-test\",\"name\":\"duyt-test\",\"location\":\"eastus2euap\",\"type\":\"Microsoft.HybridCompute/machines\",\"tags\":{},\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"af85c587-882e-4104-9aea-1db451e1b56d\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"osName\":\"linux\",\"osProfile\":{},\"vmId\":\"f72f5ab0-e470-408b-9c8c-c4582148d6b1\",\"clientPublicKey\":\"MIIBCgKCAQEAy/6DFsX4uIpPs4ydKHUfqpULcT0dSA0uqqavSK4WIRIkc/Ndmut8SAVL0F5N0YJsMjW+F94Lv5LCBMVB0qBimvQ2/cUhLqwMswvXPCYm7vin7dc4TZtvG00ZI8YjW8jpUgEIeKI7mYBe7R7j2Q89m1ebqZOgFsoORTaNMyVSyYUZuaO/FKN6prTJSI9jpCDTr/OiLfafLAqs5/INf8RHHGoo1rlyjD0RrT8sx65DhHDkQQ7PEE2jhdQeKc/gQ0URsgEWOvYj6qe8IsETTbHSlm+DDIYNDfWeHET1GRbt7YaXhkqsL9r08HYbtpWOl5TDvE+QwgjQq4qLfs2vpF4b6QIDAQAB\",\"agentConfiguration\":{},\"agentUpgrade\":{\"enableAutomaticUpgrade\":false},\"licenseProfile\":{\"esuProfile\":{\"licenseAssignmentState\":\"NotAssigned\",\"serverType\":\"Unknown\",\"esuEligibility\":\"Unknown\",\"esuKeyState\":\"Inactive\"}}}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/dakirbytest/providers/Microsoft.HybridCompute/machines/demo-no-msi\",\"name\":\"demo-no-msi\",\"location\":\"centraluseuap\",\"type\":\"Microsoft.HybridCompute/machines\",\"tags\":{},\"identity\":{\"type\":\"None\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"agentVersion\":\"1.33.02405.1188\",\"status\":\"Expired\",\"lastStatusChange\":\"2023-09-21T18:05:02.6796335Z\",\"errorDetails\":[],\"displayName\":\"DESKTOP-6813QOC\",\"machineFqdn\":\"DESKTOP-6813QOC\",\"osName\":\"windows\",\"osVersion\":\"10.0.22621.2134\",\"osType\":\"windows\",\"osProfile\":{\"computerName\":\"DESKTOP-6813QOC\"},\"vmId\":\"41ce33f8-af56-433b-8c9a-88a9f47059aa\",\"vmUuid\":\"C04478C4-234B-4A71-A425-A365D7DF09FA\",\"clientPublicKey\":\"MIIBCgKCAQEA1pGVv/BVxylSsXPN7p0KLAeRusQlauQmfB9lJKf6DSHLIbx8L0zEvzOeXg7miLu8clfVqzMLRR8Z2a4aS75E5ijQ5n5eNPXxGkgESy52D+sCKlDAQP5QpQr6HjXEIBgkF1yJHYEDO94PBPRP4hZzFWzlm4Zpu06B+Mg5V/DitSVc4ND0xvXjK1GQ0tg5pqFaMeFovS7lihDPBtiTlwia7j6FEmBzK1jQytm5H7b4gOcOxls77qaY+KRwsadBg6ZK2GqQsEwZUJJ4lx1eUjwmmy9pMQKltFF8Bam3tHq6klMy6vCQbCLvcXeFWE0TOCx4uYphuVvnm9vUVzTuyqF7hwIDAQAB\",\"osSku\":\"Windows 10 Enterprise\",\"domainName\":\"WORKGROUP\",\"adFqdn\":\"DESKTOP-6813QOC\",\"dnsFqdn\":\"DESKTOP-6813QOC\",\"mssqlDiscovered\":\"false\",\"cloudMetadata\":{\"provider\":\"N/A\"},\"detectedProperties\":{\"cloudprovider\":\"N/A\",\"coreCount\":\"4\",\"logicalCoreCount\":\"4\",\"manufacturer\":\"Microsoft Corporation\",\"model\":\"Virtual Machine\",\"mssqldiscovered\":\"false\",\"processorCount\":\"1\",\"productType\":\"4\"},\"agentConfiguration\":{\"proxyUrl\":\"\",\"incomingConnectionsPorts\":[],\"extensionsAllowList\":[],\"extensionsBlockList\":[],\"proxyBypass\":[],\"extensionsEnabled\":\"true\",\"guestConfigurationEnabled\":\"true\",\"configMode\":\"full\"},\"serviceStatuses\":{\"extensionService\":{\"status\":\"running\",\"startupType\":\"automatic\"},\"guestConfigurationService\":{\"status\":\"running\",\"startupType\":\"automatic\"}},\"agentUpgrade\":{\"enableAutomaticUpgrade\":false},\"networkProfile\":{\"networkInterfaces\":[{\"ipAddresses\":[{\"address\":\"192.168.50.161\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"192.168.50.0/24\"}}]},{\"ipAddresses\":[{\"address\":\"2001:0:d5b:9458:307a:18d6:e7ee:cd7a\",\"ipAddressVersion\":\"IPv6\",\"subnet\":{\"addressPrefix\":\"2001:0:d5b:9458::/64\"}}]},{\"ipAddresses\":[{\"address\":\"172.30.160.1\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"172.30.160.0/20\"}}]}]},\"licenseProfile\":{\"esuProfile\":{\"licenseAssignmentState\":\"NotAssigned\",\"serverType\":\"Unknown\",\"esuEligibility\":\"Ineligible\",\"esuKeyState\":\"Inactive\"}}}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/dakirbytest/providers/Microsoft.HybridCompute/machines/testMachine1\",\"name\":\"testMachine1\",\"location\":\"centraluseuap\",\"type\":\"Microsoft.HybridCompute/machines\",\"tags\":{},\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"09626fd5-6c51-489a-a93e-70e2a36f59e9\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"osProfile\":{},\"vmId\":\"b24cc8ee-df4f-48ac-94cf-46edf36b0fae\",\"clientPublicKey\":\"foo\",\"agentConfiguration\":{},\"agentUpgrade\":{\"enableAutomaticUpgrade\":false},\"licenseProfile\":{\"esuProfile\":{\"licenseAssignmentState\":\"NotAssigned\",\"serverType\":\"Unknown\",\"esuEligibility\":\"Unknown\",\"esuKeyState\":\"Inactive\"}}}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/dakirbytest/providers/Microsoft.HybridCompute/machines/dakirby_ws2012r2\",\"name\":\"dakirby_ws2012r2\",\"location\":\"centraluseuap\",\"type\":\"Microsoft.HybridCompute/machines\",\"tags\":{},\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"d70d5cf5-7ad0-4ca6-9d49-5306a94fd390\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"agentVersion\":\"1.37.02533.1416\",\"status\":\"Expired\",\"lastStatusChange\":\"2024-02-07T19:51:02.6513004Z\",\"errorDetails\":[],\"displayName\":\"WIN-L6CTK3D2TQK\",\"machineFqdn\":\"WIN-L6CTK3D2TQK\",\"osName\":\"windows\",\"osVersion\":\"6.3.9600\",\"osType\":\"windows\",\"osProfile\":{\"computerName\":\"WIN-L6CTK3D2TQK\"},\"vmId\":\"d171c109-dff8-4393-823f-213b2a740cb2\",\"vmUuid\":\"4A46799F-4553-4E39-A835-27EBCEF07194\",\"clientPublicKey\":\"MIIBCgKCAQEA7r7oXlOEudWVq7EADFmx8MCecm8MFQ49UN0OiZ6M9UlSTJGuqIyW92BocCwoU/Y3ftguqdhxeSDCwLwiwOar6jRo/oBXu1nGkT4RLpetc1EWzzl/HtePkl33brNairwxgim6TR661dOt3EyT0QrZm4aM1+/s/EtlK7hka0jj7FZo70dFEenjyY69g8/Q6e51ATs1n9UPUvvyAMLpFxvOxPPDPVP02O5FBfBUgD1WDmn6Kr+Qn/CorBNR63uroKO48XJJMs62OKvtUqHz1jHL+vORw4/6Ylutrwd1izdGbMsMr/Q0h1q0tpXh7gT7ZGd/zTbnOV1C4Npq9yVL9CiGHQIDAQAB\",\"osSku\":\"Windows Server 2012 R2 Datacenter\",\"osEdition\":\"serverdatacenter\",\"osInstallDate\":\"2024-02-05T20:34:21+00:00\",\"domainName\":\"WORKGROUP\",\"adFqdn\":\"WIN-L6CTK3D2TQK\",\"dnsFqdn\":\"WIN-L6CTK3D2TQK\",\"mssqlDiscovered\":\"false\",\"cloudMetadata\":{\"provider\":\"N/A\"},\"detectedProperties\":{\"cloudprovider\":\"N/A\",\"coreCount\":\"4\",\"logicalCoreCount\":\"4\",\"manufacturer\":\"Microsoft Corporation\",\"model\":\"Virtual Machine\",\"mssqldiscovered\":\"false\",\"processorCount\":\"1\",\"processorNames\":\"Intel(R) Core(TM) i7-9700 CPU @ 3.00GHz\",\"productType\":\"8\",\"serialNumber\":\"9867-6367-2355-7721-5498-0481-39\",\"smbiosAssetTag\":\"9867-6367-2355-7721-5498-0481-39\",\"totalPhysicalMemoryInBytes\":\"4297064448\",\"totalPhysicalMemoryInGigabytes\":\"4\"},\"agentConfiguration\":{\"proxyUrl\":\"\",\"incomingConnectionsPorts\":[],\"extensionsAllowList\":[],\"extensionsBlockList\":[],\"proxyBypass\":[],\"extensionsEnabled\":\"true\",\"guestConfigurationEnabled\":\"true\",\"configMode\":\"full\"},\"serviceStatuses\":{\"extensionService\":{\"status\":\"running\",\"startupType\":\"automatic\"},\"guestConfigurationService\":{\"status\":\"running\",\"startupType\":\"automatic\"}},\"agentUpgrade\":{\"enableAutomaticUpgrade\":false},\"networkProfile\":{\"networkInterfaces\":[{\"ipAddresses\":[{\"address\":\"192.168.50.163\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"192.168.50.0/24\"}}]}]},\"licenseProfile\":{\"licenseStatus\":\"Licensed\",\"licenseChannel\":\"Retail\",\"esuProfile\":{\"licenseAssignmentState\":\"Assigned\",\"serverType\":\"Datacenter\",\"esuEligibility\":\"Eligible\",\"esuKeyState\":\"Inactive\",\"esuKeys\":[]}}}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/edyoung/providers/Microsoft.HybridCompute/machines/edyoungubu\",\"name\":\"edyoungubu\",\"location\":\"centraluseuap\",\"type\":\"Microsoft.HybridCompute/machines\",\"tags\":{},\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"96b003ec-87df-4d14-9e3d-c2f9515a9c7b\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"agentVersion\":\"1.35.02478.1194\",\"status\":\"Expired\",\"lastStatusChange\":\"2024-04-22T17:50:03.8905169Z\",\"errorDetails\":[],\"displayName\":\"ubu2004\",\"machineFqdn\":\"ubu2004\",\"osName\":\"linux\",\"osVersion\":\"5.15.0-27-generic\",\"osType\":\"linux\",\"osProfile\":{\"computerName\":\"ubu2004\"},\"vmId\":\"66296720-1009-498b-8fd5-90ecd620503c\",\"vmUuid\":\"ca216d8d-73f2-4ea6-9f33-b96dc9b7c91f\",\"clientPublicKey\":\"MIIBCgKCAQEAzLmn6QFtntF9a2MXPhMoHiwdksmNuBf7q5LCkNCCzlg/gcEr9XxURygzn+lyG3fRgta1L9w+DyNqdxWczrU/+KmJLOvMlBOK58BEGPOxah9R9gfNGZXU+asEQGI6TXdUUcbXYTMewpYII6M5ARK3I7Dr/d++6Xpxt17ykiyu1wlQBpv+b0+DZnqHWpAN40JYVoj+dhZ7RYjCl8KU3xqF/0+kraF8INhhwOQmowbtgGC3pHrT4znttiTlNhAsIOz8HX4Ynucd/Do+FcfqyN3md5PX7NZaLRInRysGp7nbAZEbQwMCAYjfONcKUcSMTAwqKQtdfy64NsivokLV/o2pUQIDAQAB\",\"osSku\":\"Ubuntu 22.04.1 LTS\",\"domainName\":\"unknown\",\"adFqdn\":\"unknown\",\"dnsFqdn\":\"ubu2004\",\"mssqlDiscovered\":\"false\",\"cloudMetadata\":{\"provider\":\"N/A\"},\"detectedProperties\":{\"cloudprovider\":\"N/A\",\"coreCount\":\"6\",\"logicalCoreCount\":\"12\",\"manufacturer\":\"Microsoft Corporation\",\"model\":\"Virtual Machine\",\"mssqldiscovered\":\"false\",\"processorCount\":\"1\",\"processorNames\":\"AMD Ryzen 9 5900X 12-Core Processor\",\"productType\":\"unknown\",\"serialNumber\":\"unknown\",\"smbiosAssetTag\":\"9775-8987-3348-8937-0435-8595-65\",\"totalPhysicalMemoryInBytes\":\"8243585024\",\"totalPhysicalMemoryInGigabytes\":\"7\"},\"agentConfiguration\":{\"proxyUrl\":\"\",\"incomingConnectionsPorts\":[],\"extensionsAllowList\":[],\"extensionsBlockList\":[],\"proxyBypass\":[],\"extensionsEnabled\":\"true\",\"guestConfigurationEnabled\":\"true\",\"configMode\":\"full\"},\"serviceStatuses\":{\"extensionService\":{\"status\":\"active\",\"startupType\":\"enabled\"},\"guestConfigurationService\":{\"status\":\"active\",\"startupType\":\"enabled\"}},\"agentUpgrade\":{\"enableAutomaticUpgrade\":false},\"networkProfile\":{\"networkInterfaces\":[{\"ipAddresses\":[{\"address\":\"172.20.195.94\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"172.20.192.0/20\"}}]}]},\"licenseProfile\":{\"esuProfile\":{\"licenseAssignmentState\":\"NotAssigned\",\"serverType\":\"Unknown\",\"esuEligibility\":\"Ineligible\",\"esuKeyState\":\"Inactive\"}}}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ethanseal/providers/Microsoft.HybridCompute/machines/ethansealtest\",\"name\":\"ethansealtest\",\"location\":\"centraluseuap\",\"type\":\"Microsoft.HybridCompute/machines\",\"tags\":{},\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"f0f56a5a-c59f-4957-87a3-f8fa00f1b57d\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"agentVersion\":\"1.46.02809.1841\",\"status\":\"Connected\",\"lastStatusChange\":\"2024-10-01T23:00:58.6212729Z\",\"errorDetails\":[],\"displayName\":\"LAPTOP-LJCCLUBK\",\"machineFqdn\":\"LAPTOP-LJCCLUBK\",\"osName\":\"windows\",\"osVersion\":\"10.0.22631.4169\",\"osType\":\"windows\",\"osProfile\":{\"computerName\":\"LAPTOP-LJCCLUBK\"},\"vmId\":\"535602b9-ca65-4fbe-b99e-b2c8c08eaaf5\",\"vmUuid\":\"1A9E1B7E-3894-11EC-80F0-84A9388B563A\",\"clientPublicKey\":\"MIIBCgKCAQEA464o2umrsD1k6CeE5TZC0ZrXvHp61RgcKVBoVZWp7YIuiSgJC2gJvBER8yxwIdScEatSozGc3c5xsVAVcq5Q2tpobztPE4wEaZkEyiFvGsgbR/1av+rT9umiWRhXORr43CJBc3ik4/wzADnji45PhAvt7XJpk4jG5HyCFiItxCdJKFhiuw2R4tctbbVoO010lNoJbOmsh1wAAWvos65Vd+a091Juske6tTU+BELXlr14PNbqyGaqMRrGE/PnjNyIgbk8MuHXEVMh4s3mtni7qcgHAwkznwl+FshArJVc4ge2z3gjqaZFqRiYzjhaodiZiLvC1zZ275QKR6TBgvBGAQIDAQAB\",\"osSku\":\"Windows 11 Enterprise\",\"osEdition\":\"enterprise\",\"osInstallDate\":\"2022-10-05T00:23:13+00:00\",\"domainName\":\"WORKGROUP\",\"adFqdn\":\"LAPTOP-LJCCLUBK\",\"dnsFqdn\":\"LAPTOP-LJCCLUBK\",\"mssqlDiscovered\":\"false\",\"cloudMetadata\":{\"provider\":\"N/A\"},\"detectedProperties\":{\"cloudprovider\":\"N/A\",\"coreCount\":\"4\",\"logicalCoreCount\":\"8\",\"manufacturer\":\"LENOVO\",\"model\":\"20Y0S2PE00\",\"mssqldiscovered\":\"false\",\"processorCount\":\"1\",\"processorNames\":\"11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz\",\"productType\":\"4\",\"serialNumber\":\"PF32NAM4\",\"smbiosAssetTag\":\"14765179\",\"totalPhysicalMemoryInBytes\":\"34359738368\",\"totalPhysicalMemoryInGigabytes\":\"32\",\"vmuuidEsu2012\":\"1A9E1B7E-3894-11EC-80F0-84A9388B563A\"},\"agentConfiguration\":{\"proxyUrl\":\"\",\"incomingConnectionsPorts\":[],\"extensionsAllowList\":[],\"extensionsBlockList\":[],\"proxyBypass\":[],\"extensionsEnabled\":\"true\",\"guestConfigurationEnabled\":\"true\",\"configMode\":\"full\"},\"serviceStatuses\":{\"extensionService\":{\"status\":\"running\",\"startupType\":\"automatic\"},\"guestConfigurationService\":{\"status\":\"running\",\"startupType\":\"automatic\"}},\"agentUpgrade\":{\"enableAutomaticUpgrade\":false},\"networkProfile\":{\"networkInterfaces\":[{\"ipAddresses\":[{\"address\":\"192.168.56.1\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"192.168.56.0/24\"}}],\"macAddress\":\"0a:00:27:00:00:1f\",\"id\":\"31\",\"name\":\"Ethernet 6\"},{\"ipAddresses\":[{\"address\":\"2001:4898:b602:21:3783:490c:718e:c67b\",\"ipAddressVersion\":\"IPv6\",\"subnet\":{\"addressPrefix\":\"2001:4898:b602:21::/64\"}},{\"address\":\"2001:4898:b602:21:fc50:9a3f:78bf:1cfb\",\"ipAddressVersion\":\"IPv6\",\"subnet\":{\"addressPrefix\":\"2001:4898:b602:21:fc50:9a3f:78bf:1cfb/128\"}},{\"address\":\"10.17.25.16\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"10.17.16.0/20\"}}],\"macAddress\":\"7c:70:db:1c:62:7c\",\"id\":\"28\",\"name\":\"vEthernet (HCIExtenrnalSwitch)\"},{\"ipAddresses\":[{\"address\":\"192.168.31.1\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"192.168.31.0/24\"}}],\"macAddress\":\"00:50:56:c0:00:01\",\"id\":\"9\",\"name\":\"VMware Network Adapter VMnet1\"},{\"ipAddresses\":[{\"address\":\"192.168.253.1\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"192.168.253.0/24\"}}],\"macAddress\":\"00:50:56:c0:00:08\",\"id\":\"22\",\"name\":\"VMware Network Adapter VMnet8\"},{\"ipAddresses\":[{\"address\":\"100.65.66.177\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"100.65.66.177/32\"}}],\"macAddress\":\"\",\"id\":\"86\",\"name\":\"MSFT-AzVPN-Manual\"},{\"ipAddresses\":[{\"address\":\"172.26.80.1\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"172.26.80.0/20\"}}],\"macAddress\":\"00:15:5d:a9:4a:54\",\"id\":\"32\",\"name\":\"vEthernet (Default Switch)\"}]},\"licenseProfile\":{\"licenseStatus\":\"Licensed\",\"licenseChannel\":\"Retail\",\"esuProfile\":{\"licenseAssignmentState\":\"NotAssigned\",\"serverType\":\"Unknown\",\"esuEligibility\":\"Ineligible\",\"esuKeyState\":\"Inactive\"}},\"storageProfile\":{\"disks\":[{\"path\":\"\\\\\\\\.\\\\PHYSICALDRIVE0\",\"diskType\":\"Fixed hard disk media\",\"generatedId\":\"\\\\\\\\.\\\\PHYSICALDRIVE0\",\"id\":\"\\\\\\\\.\\\\PHYSICALDRIVE0\",\"name\":\"SKHynix_HFS512GDE9X081N\",\"maxSizeInBytes\":512105932800,\"usedSpaceInBytes\":406877521920}]},\"firmwareProfile\":{\"serialNumber\":\"PF32NAM4\",\"type\":\"EFI\"},\"hardwareProfile\":{\"totalPhysicalMemoryInBytes\":34359738368,\"numberOfCpuSockets\":1,\"processors\":[{\"name\":\"11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz\",\"numberOfCores\":4}]}}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/vedkale-rg/providers/Microsoft.HybridCompute/machines/WIN-T79IVKKSDSB\",\"name\":\"WIN-T79IVKKSDSB\",\"location\":\"centraluseuap\",\"type\":\"Microsoft.HybridCompute/machines\",\"tags\":{},\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"1337cf37-43d6-416b-8582-050c0d64d1ce\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"agentVersion\":\"1.46.02809.1841\",\"status\":\"Connected\",\"lastStatusChange\":\"2024-10-03T20:11:58.0869761Z\",\"errorDetails\":[],\"displayName\":\"WIN-T79IVKKSDSB\",\"machineFqdn\":\"WIN-T79IVKKSDSB\",\"osName\":\"windows\",\"osVersion\":\"10.0.26100.1742\",\"osType\":\"windows\",\"osProfile\":{\"computerName\":\"WIN-T79IVKKSDSB\",\"windowsConfiguration\":{\"patchSettings\":{\"assessmentMode\":\"AutomaticByPlatform\"}}},\"vmId\":\"c8f1801b-6356-4136-9172-12c618ddfa76\",\"vmUuid\":\"4C4C4544-0057-4D10-804D-B9C04F354D33\",\"clientPublicKey\":\"MIIBCgKCAQEA79wt9KGMJxNE0dy/S+7h3p4fIzc5KIj5es6NIKIfJx/FUa61+PDvbpEH0qbqdjIAKbeuO15tprtVaOkCz18wV3Qe5X6Met7ehQw69g8S2eRZYf41OvxZBtnRx8naolA9TY1Q6DpQzJzXoQc6Px5Wk8NHrn1MrIV2ERJPy265vxNYCrMkQPE8gpEO9nKPf5nHIy3/JALiMgkYpdc7Ay2e3Od40FqNoI84ZtalUMclq1qLDLnctR8G+GmP+Icf0p3VLQBAa+vJIB/sHw+aUkcc8gRWkVZV7DqVPJjFzQ7NJvlJb7AGuVfnMCU8nK8hFdksAGBigYfjjVphtiuRPKX38wIDAQAB\",\"osSku\":\"Windows 11 Enterprise\",\"osEdition\":\"enterprise\",\"osInstallDate\":\"2024-10-01T22:16:30+00:00\",\"domainName\":\"WORKGROUP\",\"adFqdn\":\"WIN-T79IVKKSDSB\",\"dnsFqdn\":\"WIN-T79IVKKSDSB\",\"mssqlDiscovered\":\"false\",\"cloudMetadata\":{\"provider\":\"N/A\"},\"detectedProperties\":{\"cloudprovider\":\"N/A\",\"coreCount\":\"4\",\"logicalCoreCount\":\"8\",\"manufacturer\":\"Dell Inc.\",\"model\":\"Latitude 5420\",\"mssqldiscovered\":\"false\",\"processorCount\":\"1\",\"processorNames\":\"11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz\",\"productType\":\"4\",\"serialNumber\":\"9WMM5M3\",\"smbiosAssetTag\":\"18431397\",\"totalPhysicalMemoryInBytes\":\"34359738368\",\"totalPhysicalMemoryInGigabytes\":\"32\",\"vmuuidEsu2012\":\"4C4C4544-0057-4D10-804D-B9C04F354D33\"},\"agentConfiguration\":{\"proxyUrl\":\"\",\"incomingConnectionsPorts\":[],\"extensionsAllowList\":[],\"extensionsBlockList\":[],\"proxyBypass\":[],\"extensionsEnabled\":\"true\",\"guestConfigurationEnabled\":\"true\",\"configMode\":\"full\"},\"serviceStatuses\":{\"extensionService\":{\"status\":\"running\",\"startupType\":\"automatic\"},\"guestConfigurationService\":{\"status\":\"running\",\"startupType\":\"automatic\"}},\"agentUpgrade\":{\"enableAutomaticUpgrade\":false},\"networkProfile\":{\"networkInterfaces\":[{\"ipAddresses\":[{\"address\":\"2601:644:9202:32a0::98b9\",\"ipAddressVersion\":\"IPv6\",\"subnet\":{\"addressPrefix\":\"2601:644:9202:32a0::98b9/128\"}},{\"address\":\"2601:644:9202:32a0:1381:bf80:bfe2:b6d\",\"ipAddressVersion\":\"IPv6\",\"subnet\":{\"addressPrefix\":\"2601:644:9202:32a0::/64\"}},{\"address\":\"fdac:e5f5:b2d6:fc41:7842:d60:e4f1:8d80\",\"ipAddressVersion\":\"IPv6\",\"subnet\":{\"addressPrefix\":\"fdac:e5f5:b2d6:fc41::/64\"}},{\"address\":\"2601:644:9202:32a0:8d88:4ec6:b6cc:de55\",\"ipAddressVersion\":\"IPv6\",\"subnet\":{\"addressPrefix\":\"2601:644:9202:32a0:8d88:4ec6:b6cc:de55/128\"}},{\"address\":\"fdac:e5f5:b2d6:fc41:8d88:4ec6:b6cc:de55\",\"ipAddressVersion\":\"IPv6\",\"subnet\":{\"addressPrefix\":\"fdac:e5f5:b2d6:fc41:8d88:4ec6:b6cc:de55/128\"}},{\"address\":\"10.0.0.72\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"10.0.0.0/24\"}}],\"macAddress\":\"84:7b:57:6c:18:76\",\"id\":\"8\",\"name\":\"Wi-Fi\"},{\"ipAddresses\":[{\"address\":\"100.75.32.164\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"100.75.32.164/32\"}}],\"macAddress\":\"\",\"id\":\"52\",\"name\":\"MSFT-AzVPN-Manual\"},{\"ipAddresses\":[{\"address\":\"172.20.32.1\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"172.20.32.0/20\"}}],\"macAddress\":\"00:15:5d:49:2b:bf\",\"id\":\"21\",\"name\":\"vEthernet (Default Switch)\"}]},\"licenseProfile\":{\"licenseStatus\":\"Licensed\",\"licenseChannel\":\"Retail\",\"esuProfile\":{\"licenseAssignmentState\":\"NotAssigned\",\"serverType\":\"Unknown\",\"esuEligibility\":\"Ineligible\",\"esuKeyState\":\"Inactive\"}},\"storageProfile\":{\"disks\":[{\"path\":\"\\\\\\\\.\\\\PHYSICALDRIVE0\",\"diskType\":\"Fixed hard disk media\",\"generatedId\":\"\\\\\\\\.\\\\PHYSICALDRIVE0\",\"id\":\"\\\\\\\\.\\\\PHYSICALDRIVE0\",\"name\":\"PM9A1 NVMe Samsung 1024GB\",\"maxSizeInBytes\":1024203640320,\"usedSpaceInBytes\":544347782656}]},\"firmwareProfile\":{\"serialNumber\":\"9WMM5M3\",\"type\":\"EFI\"},\"hardwareProfile\":{\"totalPhysicalMemoryInBytes\":34359738368,\"numberOfCpuSockets\":1,\"processors\":[{\"name\":\"11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz\",\"numberOfCores\":4}]}}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/lijiaq_test/providers/Microsoft.HybridCompute/machines/Jiaqi_at_work\",\"name\":\"Jiaqi_at_work\",\"location\":\"centraluseuap\",\"type\":\"Microsoft.HybridCompute/machines\",\"tags\":{},\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"7afed0db-4fae-4c15-8f87-8c4b311a68eb\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"agentVersion\":\"1.46.02809.1841\",\"status\":\"Disconnected\",\"lastStatusChange\":\"2024-09-30T22:39:31.0182244Z\",\"errorDetails\":[],\"displayName\":\"Jiaqi_at_work\",\"machineFqdn\":\"Jiaqi_at_work\",\"osName\":\"windows\",\"osVersion\":\"10.0.26100.1742\",\"osType\":\"windows\",\"osProfile\":{\"computerName\":\"Jiaqi_at_work\"},\"vmId\":\"8fdf1771-42fc-4b92-b8c6-e016a70781e8\",\"vmUuid\":\"03B494CC-2E7D-11B2-A85C-9D3B427DB7EE\",\"clientPublicKey\":\"MIIBCgKCAQEA0pkQwjKToAXRXZs8rBI5tVBcBTguLL0qpAoeBCTb6Besc3JwQUaB31VCD7Dd4gTprXPKMC0ns4FXZYwIle02GC2Xceaz7xdfPhWhfrLua8GlXXHp5cxSyZXle9KXh5oj/yGg0M0Zcfs0CxygVCuVt3TovkHWS7FO0BMTaQK89SYYaOxYfOVZbo2KYv1GZm1m3vvrvFJXZ1AGmbMy+rrP/e5NIa2y65Yr3bEz1SB/s1GQ8EjvTTdX72ihSgy32FhCEbdu/sWYuRw6W5e6lfFHNhOn1zYYLVxHVLOXziusQFPqZlZPuzFRbYQR57a6yOnKI9WdXZpHNCa6YAKrSa3nQQIDAQAB\",\"osSku\":\"Windows 11 Enterprise\",\"osEdition\":\"enterprise\",\"osInstallDate\":\"2024-09-24T18:29:21+00:00\",\"domainName\":\"WORKGROUP\",\"adFqdn\":\"Jiaqi_at_work\",\"dnsFqdn\":\"Jiaqi_at_work\",\"mssqlDiscovered\":\"false\",\"cloudMetadata\":{\"provider\":\"N/A\"},\"detectedProperties\":{\"cloudprovider\":\"N/A\",\"coreCount\":\"4\",\"logicalCoreCount\":\"8\",\"manufacturer\":\"LENOVO\",\"model\":\"20VYS2GJ00\",\"mssqldiscovered\":\"false\",\"processorCount\":\"1\",\"processorNames\":\"11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz\",\"productType\":\"4\",\"serialNumber\":\"PF3MPK4G\",\"smbiosAssetTag\":\"18277860\",\"totalPhysicalMemoryInBytes\":\"51539607552\",\"totalPhysicalMemoryInGigabytes\":\"48\",\"vmuuidEsu2012\":\"03B494CC-2E7D-11B2-A85C-9D3B427DB7EE\"},\"agentConfiguration\":{\"proxyUrl\":\"\",\"incomingConnectionsPorts\":[],\"extensionsAllowList\":[{\"publisher\":\"Microsoft.EnterpriseCloud.Monitoring\",\"type\":\"OmsAgentForLinux\"},{\"publisher\":\"Microsoft.Azure.Monitoring.DependencyAgent\",\"type\":\"DependencyAgentLinux\"},{\"publisher\":\"Microsoft.Azure.Monitor\",\"type\":\"AzureMonitorLinuxAgent\"},{\"publisher\":\"Qualys\",\"type\":\"LinuxAgent.AzureSecurityCenter\"},{\"publisher\":\"Microsoft.Azure.Security.Monitoring \",\"type\":\"AzureSecurityLinuxAgent\"},{\"publisher\":\"Microsoft.Azure.AzureDefenderForServers\",\"type\":\"MDE.Linux\"},{\"publisher\":\"Microsoft.Azure.Monitor.VirtualMachines.GuestHealth\",\"type\":\"GuestHealthLinuxAgent\"},{\"publisher\":\"Microsoft.Azure.Monitor.VirtualMachines.GuestHealth.DEV\",\"type\":\"GuestHealthLinuxAgent\"},{\"publisher\":\"Microsoft.EnterpriseCloud.Monitoring\",\"type\":\"MicrosoftMonitoringAgent\"},{\"publisher\":\"Microsoft.Azure.Monitoring.DependencyAgent\",\"type\":\"DependencyAgentWindows\"},{\"publisher\":\"Microsoft.Azure.Monitor\",\"type\":\"AzureMonitorWindowsAgent\"},{\"publisher\":\"Qualys\",\"type\":\"WindowsAgent.AzureSecurityCenter\"},{\"publisher\":\"Microsoft.Azure.AzureDefenderForServers\",\"type\":\"MDE.Windows\"},{\"publisher\":\"Microsoft.Azure.AzureDefenderForSQL\",\"type\":\"AdvancedThreatProtection.Windows\"},{\"publisher\":\"Microsoft.Azure.Security.Monitoring\",\"type\":\"AzureSecurityWindowsAgent\"},{\"publisher\":\"Microsoft.Azure.Security\",\"type\":\"IaaSAntimalware\"},{\"publisher\":\"Microsoft.Azure.Geneva\",\"type\":\"GenevaMonitoring\"},{\"publisher\":\"Microsoft.Azure.AzureDefenderForSQL\",\"type\":\"VulnerabilityAssessment.Windows\"},{\"publisher\":\"Microsoft.Azure.Monitor.VirtualMachines.GuestHealth\",\"type\":\"GuestHealthWindowsAgent\"},{\"publisher\":\"Microsoft.Sentinel.AzureMonitorAgentExtensions.Internal\",\"type\":\"DnsExtension\"},{\"publisher\":\"Microsoft.Sentinel.AzureMonitorAgentExtensions\",\"type\":\"MicrosoftDnsAgent\"}],\"extensionsBlockList\":[],\"proxyBypass\":[],\"extensionsEnabled\":\"true\",\"guestConfigurationEnabled\":\"false\",\"configMode\":\"full\"},\"serviceStatuses\":{\"extensionService\":{\"status\":\"running\",\"startupType\":\"automatic\"},\"guestConfigurationService\":{\"status\":\"running\",\"startupType\":\"automatic\"}},\"agentUpgrade\":{\"enableAutomaticUpgrade\":false},\"networkProfile\":{\"networkInterfaces\":[{\"ipAddresses\":[{\"address\":\"2601:602:8181:b7b0::f084\",\"ipAddressVersion\":\"IPv6\",\"subnet\":{\"addressPrefix\":\"2601:602:8181:b7b0::f084/128\"}},{\"address\":\"10.0.0.201\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"10.0.0.0/24\"}}],\"macAddress\":\"2c:0d:a7:72:66:f9\",\"id\":\"2\",\"name\":\"Wi-Fi\"}]},\"licenseProfile\":{\"licenseStatus\":\"Licensed\",\"licenseChannel\":\"Retail\",\"esuProfile\":{\"licenseAssignmentState\":\"NotAssigned\",\"serverType\":\"Unknown\",\"esuEligibility\":\"Ineligible\",\"esuKeyState\":\"Inactive\"}},\"storageProfile\":{\"disks\":[{\"path\":\"\\\\\\\\.\\\\PHYSICALDRIVE0\",\"diskType\":\"Fixed hard disk media\",\"generatedId\":\"\\\\\\\\.\\\\PHYSICALDRIVE0\",\"id\":\"\\\\\\\\.\\\\PHYSICALDRIVE0\",\"name\":\"SAMSUNG MZVLB1T0HBLR-000L7\",\"maxSizeInBytes\":1024203640320,\"usedSpaceInBytes\":341869039104}]},\"firmwareProfile\":{\"serialNumber\":\"PF3MPK4G\",\"type\":\"EFI\"},\"hardwareProfile\":{\"totalPhysicalMemoryInBytes\":51539607552,\"numberOfCpuSockets\":1,\"processors\":[{\"name\":\"11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz\",\"numberOfCores\":4}]}}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/lijiaq_test/providers/Microsoft.HybridCompute/machines/jiaqi-Virtual-Machine\",\"name\":\"jiaqi-Virtual-Machine\",\"location\":\"centraluseuap\",\"type\":\"Microsoft.HybridCompute/machines\",\"tags\":{},\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"5b577033-8b1e-4fd6-9ca7-50542074b69d\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"agentVersion\":\"1.45.02769.1661\",\"status\":\"Disconnected\",\"lastStatusChange\":\"2024-08-29T19:54:57.0057189Z\",\"errorDetails\":[],\"displayName\":\"jiaqi-Virtual-Machine\",\"machineFqdn\":\"jiaqi-Virtual-Machine\",\"osName\":\"linux\",\"osVersion\":\"6.8.0-40-generic\",\"osType\":\"linux\",\"osProfile\":{\"computerName\":\"jiaqi-Virtual-Machine\"},\"vmId\":\"789f9479-c884-409b-9e2d-cac693ef5621\",\"vmUuid\":\"8a26c59c-729a-4a1e-aef6-b894f099af8d\",\"clientPublicKey\":\"MIIBCgKCAQEA4ru0jTuSTNSyMPcvwInRkV6a8phZ8dljtgUKRI8pk+UXYCp4g60nsVoxHgl6qY5h35rImrF06coQ4bqkAXIjQAuw67avBS4Ol3DQ++yl16z9v4YkChd26lmPiL1zpR5DBfu5YC3MfbfRSCEeaCfYSooyNPfdT6sBIgceT1y62NV+TfgDfIkDPYzUaEmzpREmUup2TVk2MfUnPp7KfR+MwntloP2fEkZbVg0nwC55uyYHYMK/0rFuZv9CiOBrJjwGdysNQ5IRM6NH7FrZSwryz5zs1AN5Ri1/etwe8Okk62bLXFbcWUkFDcfvZuq+RPdq/On2rSrJvfN3F1tFhHtSPQIDAQAB\",\"osSku\":\"Ubuntu 22.04.4 LTS\",\"osEdition\":\"unknown\",\"domainName\":\"unknown\",\"adFqdn\":\"unknown\",\"dnsFqdn\":\"jiaqi-Virtual-Machine\",\"mssqlDiscovered\":\"false\",\"cloudMetadata\":{\"provider\":\"N/A\"},\"detectedProperties\":{\"cloudprovider\":\"N/A\",\"coreCount\":\"3\",\"logicalCoreCount\":\"6\",\"manufacturer\":\"Microsoft Corporation\",\"model\":\"Virtual Machine\",\"mssqldiscovered\":\"false\",\"processorCount\":\"1\",\"processorNames\":\"Intel(R) Xeon(R) W-2133 CPU @ 3.60GHz\",\"productType\":\"unknown\",\"serialNumber\":\"unknown\",\"smbiosAssetTag\":\"9113-3948-6827-4521-7802-6270-09\",\"totalPhysicalMemoryInBytes\":\"4104650752\",\"totalPhysicalMemoryInGigabytes\":\"3\",\"vmuuidEsu2012\":\"\"},\"agentConfiguration\":{\"proxyUrl\":\"\",\"incomingConnectionsPorts\":[],\"extensionsAllowList\":[],\"extensionsBlockList\":[],\"proxyBypass\":[],\"extensionsEnabled\":\"true\",\"guestConfigurationEnabled\":\"true\",\"configMode\":\"full\"},\"serviceStatuses\":{\"extensionService\":{\"status\":\"active\",\"startupType\":\"enabled\"},\"guestConfigurationService\":{\"status\":\"active\",\"startupType\":\"enabled\"}},\"agentUpgrade\":{\"enableAutomaticUpgrade\":false},\"networkProfile\":{\"networkInterfaces\":[{\"ipAddresses\":[{\"address\":\"10.130.80.17\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"10.130.80.0/23\"}},{\"address\":\"2001:4898:e0:3b2:f4fb:a10d:6feb:97df\",\"ipAddressVersion\":\"IPv6\",\"subnet\":{\"addressPrefix\":\"2001:4898:e0:3b2::/64\"}},{\"address\":\"2001:4898:e0:3b2:d4d0:3fd8:c538:d172\",\"ipAddressVersion\":\"IPv6\",\"subnet\":{\"addressPrefix\":\"2001:4898:e0:3b2::/64\"}}],\"macAddress\":\"00:15:5d:88:33:05\",\"id\":\"2\",\"name\":\"eth0\"}]},\"licenseProfile\":{\"esuProfile\":{\"licenseAssignmentState\":\"NotAssigned\",\"serverType\":\"Unknown\",\"esuEligibility\":\"Ineligible\",\"esuKeyState\":\"Inactive\"}},\"storageProfile\":{\"disks\":[{\"path\":\"/dev/loop0\",\"diskType\":\"loop\",\"generatedId\":\"DataDisk0\",\"id\":\"/dev/loop0\",\"name\":\"/dev/loop0\",\"maxSizeInBytes\":4096,\"usedSpaceInBytes\":128},{\"path\":\"/dev/loop1\",\"diskType\":\"loop\",\"generatedId\":\"DataDisk1\",\"id\":\"/dev/loop1\",\"name\":\"/dev/loop1\",\"maxSizeInBytes\":77848576,\"usedSpaceInBytes\":76032},{\"path\":\"/dev/loop2\",\"diskType\":\"loop\",\"generatedId\":\"DataDisk2\",\"id\":\"/dev/loop2\",\"name\":\"/dev/loop2\",\"maxSizeInBytes\":77881344,\"usedSpaceInBytes\":76160},{\"path\":\"/dev/loop3\",\"diskType\":\"loop\",\"generatedId\":\"DataDisk3\",\"id\":\"/dev/loop3\",\"name\":\"/dev/loop3\",\"maxSizeInBytes\":282869760,\"usedSpaceInBytes\":276352},{\"path\":\"/dev/loop4\",\"diskType\":\"loop\",\"generatedId\":\"DataDisk4\",\"id\":\"/dev/loop4\",\"name\":\"/dev/loop4\",\"maxSizeInBytes\":282873856,\"usedSpaceInBytes\":276352},{\"path\":\"/dev/loop5\",\"diskType\":\"loop\",\"generatedId\":\"DataDisk5\",\"id\":\"/dev/loop5\",\"name\":\"/dev/loop5\",\"maxSizeInBytes\":521121792,\"usedSpaceInBytes\":508928},{\"path\":\"/dev/loop6\",\"diskType\":\"loop\",\"generatedId\":\"DataDisk6\",\"id\":\"/dev/loop6\",\"name\":\"/dev/loop6\",\"maxSizeInBytes\":96141312,\"usedSpaceInBytes\":93952},{\"path\":\"/dev/loop7\",\"diskType\":\"loop\",\"generatedId\":\"DataDisk7\",\"id\":\"/dev/loop7\",\"name\":\"/dev/loop7\",\"maxSizeInBytes\":12922880,\"usedSpaceInBytes\":12672},{\"path\":\"/dev/loop8\",\"diskType\":\"loop\",\"generatedId\":\"DataDisk8\",\"id\":\"/dev/loop8\",\"name\":\"/dev/loop8\",\"maxSizeInBytes\":42393600,\"usedSpaceInBytes\":41472},{\"path\":\"/dev/loop9\",\"diskType\":\"loop\",\"generatedId\":\"DataDisk9\",\"id\":\"/dev/loop9\",\"name\":\"/dev/loop9\",\"maxSizeInBytes\":40714240,\"usedSpaceInBytes\":39808},{\"path\":\"/dev/loop10\",\"diskType\":\"loop\",\"generatedId\":\"DataDisk10\",\"id\":\"/dev/loop10\",\"name\":\"/dev/loop10\",\"maxSizeInBytes\":462848,\"usedSpaceInBytes\":512},{\"path\":\"/dev/sda\",\"diskType\":\"disk\",\"generatedId\":\"RootDisk\",\"id\":\"/dev/sda\",\"name\":\"/dev/sda\",\"maxSizeInBytes\":53687091200,\"usedSpaceInBytes\":14633984},{\"path\":\"/dev/sr0\",\"diskType\":\"rom\",\"generatedId\":\"DataDisk11\",\"id\":\"/dev/sr0\",\"name\":\"/dev/sr0\",\"maxSizeInBytes\":1073741312}]},\"firmwareProfile\":{\"serialNumber\":\"unknown\",\"type\":\"EFI\"},\"hardwareProfile\":{\"totalPhysicalMemoryInBytes\":4104650752,\"numberOfCpuSockets\":1,\"processors\":[{\"name\":\"Intel(R) Xeon(R) W-2133 CPU @ 3.60GHz\",\"numberOfCores\":3}]}}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/edyoung/providers/Microsoft.HybridCompute/machines/LAPTOP-72IVU1IV\",\"name\":\"LAPTOP-72IVU1IV\",\"location\":\"centraluseuap\",\"type\":\"Microsoft.HybridCompute/machines\",\"tags\":{},\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"fc7813b8-b15d-4d8d-93f6-1596ee281eb1\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"agentVersion\":\"1.46.02809.1841\",\"status\":\"Disconnected\",\"lastStatusChange\":\"2024-09-27T04:40:41.8007649Z\",\"errorDetails\":[],\"displayName\":\"LAPTOP-72IVU1IV\",\"machineFqdn\":\"LAPTOP-72IVU1IV\",\"osName\":\"windows\",\"osVersion\":\"10.0.22631.4169\",\"osType\":\"windows\",\"osProfile\":{\"computerName\":\"LAPTOP-72IVU1IV\"},\"vmId\":\"4b141ba4-e4f2-4f01-b4be-373b8b04aacb\",\"vmUuid\":\"047C9318-70F7-3BBD-EC54-E5972267FC37\",\"clientPublicKey\":\"MIIBCgKCAQEAw3JuEyn8NzS31mTpCL26RYeTi2OVCoQtdNkYyMfdCJDg+KthZn7l9FTUQzGlcmicUvRHeGZChJauLAgMsHLuSCBg0qMJmJjYWgxyZOm2USbQMTSdQXMnX3oPN/y6GqjK+9YsGKEdJlhQQZx66vjMGy86bu9FMhr3C2Ee151MkaDjiCWICnSXHzUHOJ5Tq//L/iT/mQyoh8dC8JmPjjepon5EEKGrXTVNPGjdsHqnodiemKjDTByZLklfazdW6cELYfKwBMXtnwDcRrLokRmCIGCdWpRfA3+c1zMskn0687d2wmNBBvmgBGxpBWn/28gjDVwiktRfwk8XcCWCMftq9QIDAQAB\",\"osSku\":\"Windows 11 Enterprise\",\"osEdition\":\"enterprise\",\"osInstallDate\":\"2024-02-29T05:29:29+00:00\",\"domainName\":\"WORKGROUP\",\"adFqdn\":\"LAPTOP-72IVU1IV\",\"dnsFqdn\":\"LAPTOP-72IVU1IV\",\"mssqlDiscovered\":\"false\",\"cloudMetadata\":{\"provider\":\"N/A\"},\"detectedProperties\":{\"cloudprovider\":\"N/A\",\"coreCount\":\"10\",\"logicalCoreCount\":\"12\",\"manufacturer\":\"Microsoft Corporation\",\"model\":\"Surface Laptop 5\",\"mssqldiscovered\":\"false\",\"processorCount\":\"1\",\"processorNames\":\"12th Gen Intel(R) Core(TM) i7-1265U\",\"productType\":\"4\",\"serialNumber\":\"0F34PMG24083FB\",\"smbiosAssetTag\":\"18763430\",\"totalPhysicalMemoryInBytes\":\"34359738368\",\"totalPhysicalMemoryInGigabytes\":\"32\",\"vmuuidEsu2012\":\"047C9318-70F7-3BBD-EC54-E5972267FC37\"},\"agentConfiguration\":{\"proxyUrl\":\"\",\"incomingConnectionsPorts\":[],\"extensionsAllowList\":[],\"extensionsBlockList\":[],\"proxyBypass\":[],\"extensionsEnabled\":\"true\",\"guestConfigurationEnabled\":\"true\",\"configMode\":\"full\"},\"serviceStatuses\":{\"extensionService\":{\"status\":\"running\",\"startupType\":\"automatic\"},\"guestConfigurationService\":{\"status\":\"running\",\"startupType\":\"automatic\"}},\"agentUpgrade\":{\"enableAutomaticUpgrade\":false},\"networkProfile\":{\"networkInterfaces\":[{\"ipAddresses\":[{\"address\":\"192.168.0.136\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"192.168.0.0/24\"}}],\"macAddress\":\"e8:c8:29:0d:f5:6b\",\"id\":\"13\",\"name\":\"Wi-Fi\"}]},\"licenseProfile\":{\"licenseStatus\":\"Licensed\",\"licenseChannel\":\"Retail\",\"esuProfile\":{\"licenseAssignmentState\":\"NotAssigned\",\"serverType\":\"Unknown\",\"esuEligibility\":\"Ineligible\",\"esuKeyState\":\"Inactive\"}},\"storageProfile\":{\"disks\":[{\"path\":\"\\\\\\\\.\\\\PHYSICALDRIVE0\",\"diskType\":\"Fixed hard disk media\",\"generatedId\":\"\\\\\\\\.\\\\PHYSICALDRIVE0\",\"id\":\"\\\\\\\\.\\\\PHYSICALDRIVE0\",\"name\":\"KBG50ZNS1T02-KIOXIA\",\"maxSizeInBytes\":1024203640320,\"usedSpaceInBytes\":107841138176}]},\"firmwareProfile\":{\"serialNumber\":\"0F34PMG24083FB\",\"type\":\"EFI\"},\"hardwareProfile\":{\"totalPhysicalMemoryInBytes\":34359738368,\"numberOfCpuSockets\":1,\"processors\":[{\"name\":\"12th Gen Intel(R) Core(TM) i7-1265U\",\"numberOfCores\":10}]}}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/lijiaq_test/providers/Microsoft.HybridCompute/machines/DESKTOP-JQL\",\"name\":\"DESKTOP-JQL\",\"location\":\"centraluseuap\",\"type\":\"Microsoft.HybridCompute/machines\",\"tags\":{},\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"51c8d7ef-84d5-4704-b811-fd255bbbb891\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"agentVersion\":\"1.45.02796.7352\",\"status\":\"Disconnected\",\"lastStatusChange\":\"2024-09-25T23:34:29.8983274Z\",\"errorDetails\":[],\"displayName\":\"DESKTOP-JQL\",\"machineFqdn\":\"DESKTOP-JQL\",\"osName\":\"windows\",\"osVersion\":\"10.0.22631.3880\",\"osType\":\"windows\",\"osProfile\":{\"computerName\":\"DESKTOP-JQL\"},\"vmId\":\"9ef807ae-3acd-44f8-a787-9444defc4f41\",\"vmUuid\":\"B8AE16B2-E3E2-E911-B18D-A4AE11112C76\",\"clientPublicKey\":\"MIIBCgKCAQEAtCqUHdJtwccO2xQEcg6aeoI0JQPFA16hbcAjFVt4um3k6mHNzMOQFwW+ktkDuaPHtREIJxgMgqUFA+3OLe3C0ttdb5V7ljDMlAgq3eaMOcGYsWlFhNcV0QQqQvlyxeyvv8XinsqltN9Sjk1mSiQn1dkoUxpl5u3VY2fCNTpAnjowVcuLMngq0K+X5JI3bCm4PiD6O/X2yn5oWsm/m/5/QXmTB88ROUorEZrDkWgmeZEmh/M0aMT9mV/2NQT8ZCrigkprGIHcSt3mjeMRYnjQXO95SWMEeAXHP8Z3o/QCc61ZN5eC2Pg5K4f48PXwVAVVuW22cP3ps2FONvkfZHhJPQIDAQAB\",\"osSku\":\"Windows 11 Enterprise\",\"osEdition\":\"enterprise\",\"osInstallDate\":\"2023-08-03T00:27:35+00:00\",\"domainName\":\"WORKGROUP\",\"adFqdn\":\"DESKTOP-JQL\",\"dnsFqdn\":\"DESKTOP-JQL\",\"mssqlDiscovered\":\"false\",\"cloudMetadata\":{\"provider\":\"N/A\"},\"detectedProperties\":{\"cloudprovider\":\"N/A\",\"coreCount\":\"6\",\"hci.test\":\"value\",\"logicalCoreCount\":\"12\",\"manufacturer\":\"LENOVO\",\"model\":\"30BFS5MM00\",\"mssqldiscovered\":\"false\",\"processorCount\":\"1\",\"processorNames\":\"Intel(R) Xeon(R) W-2133 CPU @ 3.60GHz\",\"productType\":\"4\",\"serialNumber\":\"Default string\",\"smbiosAssetTag\":\"11160685\",\"totalPhysicalMemoryInBytes\":\"34359738368\",\"totalPhysicalMemoryInGigabytes\":\"32\",\"vmuuidEsu2012\":\"B8AE16B2-E3E2-E911-B18D-A4AE11112C76\"},\"agentConfiguration\":{\"proxyUrl\":\"\",\"incomingConnectionsPorts\":[],\"extensionsAllowList\":[],\"extensionsBlockList\":[],\"proxyBypass\":[],\"extensionsEnabled\":\"true\",\"guestConfigurationEnabled\":\"true\",\"configMode\":\"full\"},\"serviceStatuses\":{\"extensionService\":{\"status\":\"running\",\"startupType\":\"automatic\"},\"guestConfigurationService\":{\"status\":\"running\",\"startupType\":\"automatic\"}},\"agentUpgrade\":{\"enableAutomaticUpgrade\":false},\"networkProfile\":{\"networkInterfaces\":[{\"ipAddresses\":[{\"address\":\"2001:4898:e0:3b2:6a64:ec54:7705:3308\",\"ipAddressVersion\":\"IPv6\",\"subnet\":{\"addressPrefix\":\"2001:4898:e0:3b2::/64\"}},{\"address\":\"2001:4898:e0:3b2:a4b5:4207:af17:a3cf\",\"ipAddressVersion\":\"IPv6\",\"subnet\":{\"addressPrefix\":\"2001:4898:e0:3b2:a4b5:4207:af17:a3cf/128\"}},{\"address\":\"10.30.70.41\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"10.30.68.0/22\"}}],\"macAddress\":\"80:6d:97:25:3f:95\",\"id\":\"9\",\"name\":\"Ethernet 2\"},{\"ipAddresses\":[{\"address\":\"172.22.176.1\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"172.22.176.0/20\"}}],\"macAddress\":\"00:15:5d:88:33:00\",\"id\":\"21\",\"name\":\"vEthernet (Default Switch)\"}]},\"licenseProfile\":{\"licenseStatus\":\"Licensed\",\"licenseChannel\":\"Volume:GVLK\",\"esuProfile\":{\"licenseAssignmentState\":\"NotAssigned\",\"serverType\":\"Unknown\",\"esuEligibility\":\"Ineligible\",\"esuKeyState\":\"Inactive\"}},\"storageProfile\":{\"disks\":[{\"path\":\"\\\\\\\\.\\\\PHYSICALDRIVE1\",\"diskType\":\"Fixed hard disk media\",\"generatedId\":\"\\\\\\\\.\\\\PHYSICALDRIVE1\",\"id\":\"\\\\\\\\.\\\\PHYSICALDRIVE1\",\"name\":\"SAMSUNG MZVLB512HAJQ-000L7\",\"maxSizeInBytes\":512105932800,\"usedSpaceInBytes\":267644303360},{\"path\":\"\\\\\\\\.\\\\PHYSICALDRIVE2\",\"diskType\":\"Fixed hard disk media\",\"generatedId\":\"\\\\\\\\.\\\\PHYSICALDRIVE2\",\"id\":\"\\\\\\\\.\\\\PHYSICALDRIVE2\",\"name\":\"SAMSUNG MZVLB1T0HALR-000L7\",\"maxSizeInBytes\":1024203640320,\"usedSpaceInBytes\":35299511808},{\"path\":\"\\\\\\\\.\\\\PHYSICALDRIVE0\",\"diskType\":\"Fixed hard disk media\",\"generatedId\":\"\\\\\\\\.\\\\PHYSICALDRIVE0\",\"id\":\"\\\\\\\\.\\\\PHYSICALDRIVE0\",\"name\":\"ST2000DM001-1ER164\",\"maxSizeInBytes\":2000396321280,\"usedSpaceInBytes\":1400181248}]},\"firmwareProfile\":{\"serialNumber\":\"Default string\",\"type\":\"EFI\"},\"hardwareProfile\":{\"totalPhysicalMemoryInBytes\":34359738368,\"numberOfCpuSockets\":1,\"processors\":[{\"name\":\"Intel(R) Xeon(R) W-2133 CPU @ 3.60GHz\",\"numberOfCores\":6}]}}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/siva-test/providers/Microsoft.HybridCompute/machines/loadtest2\",\"name\":\"loadtest2\",\"location\":\"centraluseuap\",\"type\":\"Microsoft.HybridCompute/machines\",\"tags\":{},\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"868b7f94-372b-43d5-ada8-fa5d3df938e0\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"agentVersion\":\"1.0.0.0\",\"status\":\"Disconnected\",\"lastStatusChange\":\"2024-09-09T18:40:44.6160762Z\",\"errorDetails\":[],\"displayName\":\"WIN-PJQAGMGK66C\",\"machineFqdn\":\"WIN-PJQAGMGK66C\",\"osName\":\"windows\",\"osVersion\":\"6.2.9200.4112\",\"osType\":\"windows\",\"osProfile\":{\"computerName\":\"WIN-PJQAGMGK66C\"},\"vmId\":\"6fb22ddd-07e9-4fe2-ba7e-3b4fee319e99\",\"vmUuid\":\"4C4C4544-0048-4C10-8059-C3C04F324A33\",\"clientPublicKey\":\"MIIBCgKCAQEAwAoi4vLTLo0TtF5Hebe6iSopekIX0tcOCIIcC32/ibRimxeEpivXSAd9YuA9UHFFhg07D2wKQ4tHe5EXGSNhyqdlMkNMOvbAcvLwHpYLXcJiPIoNsGsocz4JwMkMcBcvXU/tO6p8T9ptZNSz0UghgfiK/hOsj0PKlu+kRACgAMLZDItkdl9tJ4k9nPJym+6CwFi/A2y93jYIV4B/UyNSSF+4MWLc0PlH9fJHaZ/sdkcKnb4O+VGqP/kXFDaZLXnALGNicfBkbUZu/I+WTxUA9c6N/rYfZhs3n6YHsokdLJ2r5TihDrUC4bfb91hQtEGAt/N85m42lNP/H2b55hyB8wIDAQAB\",\"osSku\":\"Windows 11 Enterprise\",\"osEdition\":\"professional\",\"osInstallDate\":\"2022-09-08T20:39:17+00:00\",\"domainName\":\"WORKGROUP\",\"adFqdn\":\"WIN-PJQAGMGK66C\",\"dnsFqdn\":\"WIN-PJQAGMGK66C\",\"mssqlDiscovered\":\"false\",\"cloudMetadata\":{\"provider\":\"N/A\"},\"detectedProperties\":{\"cloudprovider\":\"N/A\",\"coreCount\":\"4\",\"logicalCoreCount\":\"8\",\"manufacturer\":\"Dell Inc.\",\"model\":\"Latitude 7420\",\"mssqldiscovered\":\"false\",\"processorCount\":\"1\",\"processorNames\":\"11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz\",\"productType\":\"4\",\"serialNumber\":\"CHLY2J3\",\"smbiosAssetTag\":\"12627885\",\"totalPhysicalMemoryInBytes\":\"34359738368\",\"totalPhysicalMemoryInGigabytes\":\"32\",\"vmuuidEsu2012\":\"4C4C4544-0048-4C10-8059-C3C04F324A33\"},\"agentConfiguration\":{\"proxyUrl\":\"\",\"incomingConnectionsPorts\":[],\"extensionsAllowList\":[],\"extensionsBlockList\":[],\"proxyBypass\":[],\"extensionsEnabled\":\"true\",\"guestConfigurationEnabled\":\"true\",\"configMode\":\"full\"},\"serviceStatuses\":{\"extensionService\":{\"status\":\"running\",\"startupType\":\"automatic\"},\"guestConfigurationService\":{\"status\":\"running\",\"startupType\":\"automatic\"}},\"agentUpgrade\":{\"enableAutomaticUpgrade\":false},\"networkProfile\":{\"networkInterfaces\":[{\"ipAddresses\":[{\"address\":\"10.17.25.41\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"10.17.16.0/20\"}}],\"macAddress\":\"70:cd:0d:9e:cd:6b\",\"id\":\"9\",\"name\":\"vEthernet (New Virtual Switch)\"},{\"ipAddresses\":[{\"address\":\"2001:0:d5b:9458:3818:4a93:7c94:6c56\",\"ipAddressVersion\":\"IPv6\",\"subnet\":{\"addressPrefix\":\"2001:0:d5b:9458::/64\"}}],\"macAddress\":\"00:00:00:00:00:00:00:e0\",\"id\":\"11\",\"name\":\"Teredo Tunneling Pseudo-Interface\"},{\"ipAddresses\":[{\"address\":\"192.168.80.1\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"192.168.80.0/20\"}}],\"macAddress\":\"00:15:5d:db:85:3c\",\"id\":\"47\",\"name\":\"vEthernet (Default Switch)\"}]},\"licenseProfile\":{\"esuProfile\":{\"licenseAssignmentState\":\"NotAssigned\",\"serverType\":\"Unknown\",\"esuEligibility\":\"Ineligible\",\"esuKeyState\":\"Inactive\"}},\"storageProfile\":{\"disks\":[{\"path\":\"\\\\\\\\.\\\\PHYSICALDRIVE0\",\"diskType\":\"Fixed hard disk media\",\"generatedId\":\"\\\\\\\\.\\\\PHYSICALDRIVE0\",\"id\":\"\\\\\\\\.\\\\PHYSICALDRIVE0\",\"name\":\"Micron 2300 NVMe 512GB\",\"maxSizeInBytes\":512105932800,\"usedSpaceInBytes\":350874916864}]},\"firmwareProfile\":{\"serialNumber\":\"CHLY2J3\",\"type\":\"EFI\"},\"hardwareProfile\":{\"totalPhysicalMemoryInBytes\":34359738368,\"numberOfCpuSockets\":1,\"processors\":[{\"name\":\"11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz\",\"numberOfCores\":4}]}}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/siva-test/providers/Microsoft.HybridCompute/machines/loadtest1\",\"name\":\"loadtest1\",\"location\":\"centraluseuap\",\"type\":\"Microsoft.HybridCompute/machines\",\"tags\":{},\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"9e1e7e92-1e63-4a6c-8f15-822a45ebd638\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"agentVersion\":\"1.0.0.0\",\"status\":\"Connected\",\"lastStatusChange\":\"2024-09-09T20:25:32.7781729Z\",\"errorDetails\":[],\"displayName\":\"WIN-PJQAGMGK66C\",\"machineFqdn\":\"WIN-PJQAGMGK66C\",\"osName\":\"windows\",\"osVersion\":\"6.2.9200.4112\",\"osType\":\"windows\",\"osProfile\":{\"computerName\":\"WIN-PJQAGMGK66C\"},\"vmId\":\"90ed6f56-e015-41fc-ba4f-46e5c7601f52\",\"vmUuid\":\"4C4C4544-0048-4C10-8059-C3C04F324A33\",\"clientPublicKey\":\"MIIBCgKCAQEAwAoi4vLTLo0TtF5Hebe6iSopekIX0tcOCIIcC32/ibRimxeEpivXSAd9YuA9UHFFhg07D2wKQ4tHe5EXGSNhyqdlMkNMOvbAcvLwHpYLXcJiPIoNsGsocz4JwMkMcBcvXU/tO6p8T9ptZNSz0UghgfiK/hOsj0PKlu+kRACgAMLZDItkdl9tJ4k9nPJym+6CwFi/A2y93jYIV4B/UyNSSF+4MWLc0PlH9fJHaZ/sdkcKnb4O+VGqP/kXFDaZLXnALGNicfBkbUZu/I+WTxUA9c6N/rYfZhs3n6YHsokdLJ2r5TihDrUC4bfb91hQtEGAt/N85m42lNP/H2b55hyB8wIDAQAB\",\"osSku\":\"Windows 11 Enterprise\",\"osEdition\":\"professional\",\"osInstallDate\":\"2022-09-08T20:39:17+00:00\",\"domainName\":\"WORKGROUP\",\"adFqdn\":\"WIN-PJQAGMGK66C\",\"dnsFqdn\":\"WIN-PJQAGMGK66C\",\"mssqlDiscovered\":\"false\",\"cloudMetadata\":{\"provider\":\"N/A\"},\"detectedProperties\":{\"cloudprovider\":\"N/A\",\"coreCount\":\"4\",\"logicalCoreCount\":\"8\",\"manufacturer\":\"Dell Inc.\",\"model\":\"Latitude 7420\",\"mssqldiscovered\":\"false\",\"processorCount\":\"1\",\"processorNames\":\"11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz\",\"productType\":\"4\",\"serialNumber\":\"CHLY2J3\",\"smbiosAssetTag\":\"12627885\",\"totalPhysicalMemoryInBytes\":\"34359738368\",\"totalPhysicalMemoryInGigabytes\":\"32\",\"vmuuidEsu2012\":\"4C4C4544-0048-4C10-8059-C3C04F324A33\"},\"agentConfiguration\":{\"proxyUrl\":\"\",\"incomingConnectionsPorts\":[],\"extensionsAllowList\":[],\"extensionsBlockList\":[],\"proxyBypass\":[],\"extensionsEnabled\":\"true\",\"guestConfigurationEnabled\":\"true\",\"configMode\":\"full\"},\"serviceStatuses\":{\"extensionService\":{\"status\":\"running\",\"startupType\":\"automatic\"},\"guestConfigurationService\":{\"status\":\"running\",\"startupType\":\"automatic\"}},\"agentUpgrade\":{\"enableAutomaticUpgrade\":false},\"networkProfile\":{\"networkInterfaces\":[{\"ipAddresses\":[{\"address\":\"10.17.25.41\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"10.17.16.0/20\"}}],\"macAddress\":\"70:cd:0d:9e:cd:6b\",\"id\":\"9\",\"name\":\"vEthernet (New Virtual Switch)\"},{\"ipAddresses\":[{\"address\":\"2001:0:d5b:9458:30b2:5c13:7c94:6c56\",\"ipAddressVersion\":\"IPv6\",\"subnet\":{\"addressPrefix\":\"2001:0:d5b:9458::/64\"}}],\"macAddress\":\"00:00:00:00:00:00:00:e0\",\"id\":\"11\",\"name\":\"Teredo Tunneling Pseudo-Interface\"},{\"ipAddresses\":[{\"address\":\"192.168.80.1\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"192.168.80.0/20\"}}],\"macAddress\":\"00:15:5d:db:85:3c\",\"id\":\"47\",\"name\":\"vEthernet (Default Switch)\"}]},\"licenseProfile\":{\"esuProfile\":{\"licenseAssignmentState\":\"NotAssigned\",\"serverType\":\"Unknown\",\"esuEligibility\":\"Ineligible\",\"esuKeyState\":\"Inactive\"}},\"storageProfile\":{\"disks\":[{\"path\":\"\\\\\\\\.\\\\PHYSICALDRIVE0\",\"diskType\":\"Fixed hard disk media\",\"generatedId\":\"\\\\\\\\.\\\\PHYSICALDRIVE0\",\"id\":\"\\\\\\\\.\\\\PHYSICALDRIVE0\",\"name\":\"Micron 2300 NVMe 512GB\",\"maxSizeInBytes\":512105932800,\"usedSpaceInBytes\":351686690816}]},\"firmwareProfile\":{\"serialNumber\":\"CHLY2J3\",\"type\":\"EFI\"},\"hardwareProfile\":{\"totalPhysicalMemoryInBytes\":34359738368,\"numberOfCpuSockets\":1,\"processors\":[{\"name\":\"11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz\",\"numberOfCores\":4}]}}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/edyoung/providers/Microsoft.HybridCompute/machines/WIN-89LGOPE94T3\",\"name\":\"WIN-89LGOPE94T3\",\"location\":\"centraluseuap\",\"type\":\"Microsoft.HybridCompute/machines\",\"tags\":{},\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"183698bf-041a-49fb-81a0-cdb28e6e3480\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"agentVersion\":\"1.46.02809.1841\",\"status\":\"Disconnected\",\"lastStatusChange\":\"2024-09-12T15:33:47.6155281Z\",\"errorDetails\":[],\"displayName\":\"WIN-89LGOPE94T3\",\"machineFqdn\":\"WIN-89LGOPE94T3\",\"osName\":\"windows\",\"osVersion\":\"10.0.26100.1742\",\"osType\":\"windows\",\"osProfile\":{\"computerName\":\"WIN-89LGOPE94T3\"},\"vmId\":\"5d3fb65e-7d25-48b3-9f0e-1a3dd43ba22d\",\"vmUuid\":\"3847158C-9A6B-4257-9B03-687022C0432A\",\"clientPublicKey\":\"MIIBCgKCAQEAwVGPx7tZvA8o7vPEge4nwAC6AsqDw7KUD/YmZgKYiYJcum/0yH9Mz5gg/DEcMlQNRMpsoixqmf9bsCb578SxokNOCwa/GVdmCSqrXpnxduEoSyWl2wwQuDVpY1F+SflBfgL/Yca4gQLX9Q7pRyXIu6JQG3KmN5z/xHDlSrSuhwV0PeYuKZIjAsZ2ZNkafh2J85lV1qtMDjmymhVwWrQb95OsF7PdhZv9MniX04QzfL032UZVI1rzY+wtvu3DSkb6sCbIow9CRuFS8SLKjWE8GAF317FH/Rmh9ZWdWua7o1s8bh6SuUp4VwK3hMR/B136lA/BXiwRGfhKuK/KmTs25QIDAQAB\",\"osSku\":\"Windows Server 2025 Datacenter\",\"osEdition\":\"serverdatacenter\",\"osInstallDate\":\"2024-09-11T23:54:49+00:00\",\"domainName\":\"WORKGROUP\",\"adFqdn\":\"WIN-89LGOPE94T3\",\"dnsFqdn\":\"WIN-89LGOPE94T3\",\"mssqlDiscovered\":\"false\",\"cloudMetadata\":{\"provider\":\"N/A\"},\"detectedProperties\":{\"cloudprovider\":\"N/A\",\"coreCount\":\"6\",\"logicalCoreCount\":\"12\",\"manufacturer\":\"Microsoft Corporation\",\"model\":\"Virtual Machine\",\"mssqldiscovered\":\"false\",\"processorCount\":\"1\",\"processorNames\":\"AMD Ryzen 9 5900X 12-Core Processor\",\"productType\":\"8\",\"serialNumber\":\"9394-5780-6398-6961-3285-8470-38\",\"smbiosAssetTag\":\"9394-5780-6398-6961-3285-8470-38\",\"totalPhysicalMemoryInBytes\":\"8589934592\",\"totalPhysicalMemoryInGigabytes\":\"8\",\"virtualizationBasedSecurityStatus\":\"VbsDisabledSecureKernelNotRunning\",\"vmuuidEsu2012\":\"3847158C-9A6B-4257-9B03-687022C0432A\"},\"agentConfiguration\":{\"proxyUrl\":\"\",\"incomingConnectionsPorts\":[],\"extensionsAllowList\":[],\"extensionsBlockList\":[],\"proxyBypass\":[],\"extensionsEnabled\":\"true\",\"guestConfigurationEnabled\":\"true\",\"configMode\":\"full\"},\"serviceStatuses\":{\"extensionService\":{\"status\":\"running\",\"startupType\":\"automatic\"},\"guestConfigurationService\":{\"status\":\"running\",\"startupType\":\"automatic\"}},\"agentUpgrade\":{\"enableAutomaticUpgrade\":false},\"networkProfile\":{\"networkInterfaces\":[{\"ipAddresses\":[{\"address\":\"172.19.85.81\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"172.19.80.0/20\"}}],\"macAddress\":\"00:15:5d:00:6a:0c\",\"id\":\"4\",\"name\":\"Ethernet\"}]},\"licenseProfile\":{\"licenseStatus\":\"Notification\",\"licenseChannel\":\"Volume:GVLK\",\"esuProfile\":{\"licenseAssignmentState\":\"NotAssigned\",\"serverType\":\"Datacenter\",\"esuEligibility\":\"Ineligible\",\"esuKeyState\":\"Inactive\"},\"productProfile\":{}},\"storageProfile\":{\"disks\":[{\"path\":\"\\\\\\\\.\\\\PHYSICALDRIVE0\",\"diskType\":\"Fixed hard disk media\",\"generatedId\":\"\\\\\\\\.\\\\PHYSICALDRIVE0\",\"id\":\"\\\\\\\\.\\\\PHYSICALDRIVE0\",\"name\":\"Microsoft Virtual Disk\",\"maxSizeInBytes\":68713989120,\"usedSpaceInBytes\":15510619136}]},\"firmwareProfile\":{\"serialNumber\":\"9394-5780-6398-6961-3285-8470-38\",\"type\":\"EFI\"},\"hardwareProfile\":{\"totalPhysicalMemoryInBytes\":8589934592,\"numberOfCpuSockets\":1,\"processors\":[{\"name\":\"AMD Ryzen 9 5900X 12-Core Processor \",\"numberOfCores\":6}]}}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/edyoung/providers/Microsoft.HybridCompute/machines/monolith\",\"name\":\"monolith\",\"location\":\"centraluseuap\",\"type\":\"Microsoft.HybridCompute/machines\",\"tags\":{},\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"eed13d0d-ab65-4136-ab49-d6812f816704\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"agentVersion\":\"1.0.0.0\",\"status\":\"Connected\",\"lastStatusChange\":\"2024-10-02T16:04:48.4442167Z\",\"errorDetails\":[],\"displayName\":\"monolith\",\"machineFqdn\":\"monolith\",\"osName\":\"windows\",\"osVersion\":\"10.0.22631.4169\",\"osType\":\"windows\",\"osProfile\":{\"computerName\":\"monolith\"},\"vmId\":\"a7342a37-f2df-42bf-af8c-b7e31401878b\",\"vmUuid\":\"3B06A246-696F-8AB5-3A16-04421AE76566\",\"clientPublicKey\":\"MIIBCgKCAQEAyc0HxBJGAkk7zlJA5Lgen04b4oB8oV8oNCGmGU/NV7ejE1fD4WRE/Dnp/yK6HaOh+PO/F66Cr8dPTCDCGbOKRYDXJS//A/+Jr2D+z96rSM7UuWg476WSz/sZWU1ZlJ91dRfyFIZKRKAuf0r2F8IaF5PeQd0PDGoZxRDYlpTWQjyeNSUKVuP0L8KuD9sAHXfyarwQeBNYmXjXOb4n2nI6Z03ZlqYXmbjcKTigsF0jjdu00K5bnsEFWqBVoecb2gzLcJKEo2y6QinNLtr2dnT6dgwTpW6sTYL8nGlC0oM+rhXX4y/QMOP+zf1lJcuGDJaDr8clmM3NvWQWe3pQMsxt9QIDAQAB\",\"osSku\":\"Windows 11 Enterprise\",\"osEdition\":\"enterprise\",\"osInstallDate\":\"2022-09-15T20:18:19+00:00\",\"domainName\":\"WORKGROUP\",\"adFqdn\":\"monolith\",\"dnsFqdn\":\"monolith\",\"mssqlDiscovered\":\"false\",\"cloudMetadata\":{\"provider\":\"N/A\"},\"detectedProperties\":{\"cloudprovider\":\"N/A\",\"coreCount\":\"12\",\"logicalCoreCount\":\"24\",\"manufacturer\":\"System manufacturer\",\"model\":\"System Product Name\",\"mssqldiscovered\":\"false\",\"processorCount\":\"1\",\"processorNames\":\"AMD Ryzen 9 5900X 12-Core Processor\",\"productType\":\"4\",\"serialNumber\":\"Default string\",\"smbiosAssetTag\":\"Default string\",\"totalPhysicalMemoryInBytes\":\"68719476736\",\"totalPhysicalMemoryInGigabytes\":\"64\",\"vmuuidEsu2012\":\"3B06A246-696F-8AB5-3A16-04421AE76566\"},\"agentConfiguration\":{\"proxyUrl\":\"\",\"incomingConnectionsPorts\":[],\"extensionsAllowList\":[],\"extensionsBlockList\":[],\"proxyBypass\":[\"AMA\"],\"extensionsEnabled\":\"true\",\"guestConfigurationEnabled\":\"true\",\"configMode\":\"full\"},\"serviceStatuses\":{\"extensionService\":{\"status\":\"running\",\"startupType\":\"automatic\"},\"guestConfigurationService\":{\"status\":\"running\",\"startupType\":\"automatic\"}},\"agentUpgrade\":{\"enableAutomaticUpgrade\":false},\"networkProfile\":{\"networkInterfaces\":[{\"ipAddresses\":[{\"address\":\"192.168.0.106\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"192.168.0.0/24\"}}],\"macAddress\":\"04:42:1a:e7:65:66\",\"id\":\"7\",\"name\":\"Ethernet\"},{\"ipAddresses\":[{\"address\":\"100.65.232.180\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"100.65.232.180/32\"}}],\"macAddress\":\"\",\"id\":\"49\",\"name\":\"MSFT-AzVPN-Manual\"},{\"ipAddresses\":[{\"address\":\"172.19.80.1\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"172.19.80.0/20\"}}],\"macAddress\":\"00:15:5d:9b:7b:cf\",\"id\":\"33\",\"name\":\"vEthernet (Default Switch)\"},{\"ipAddresses\":[{\"address\":\"172.25.48.1\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"172.25.48.0/20\"}}],\"macAddress\":\"00:15:5d:36:4a:27\",\"id\":\"43\",\"name\":\"vEthernet (WSL (Hyper-V firewall))\"}]},\"licenseProfile\":{\"licenseStatus\":\"Licensed\",\"licenseChannel\":\"Retail\",\"esuProfile\":{\"licenseAssignmentState\":\"NotAssigned\",\"serverType\":\"Unknown\",\"esuEligibility\":\"Ineligible\",\"esuKeyState\":\"Inactive\"}},\"storageProfile\":{\"disks\":[{\"path\":\"\\\\\\\\.\\\\PHYSICALDRIVE0\",\"diskType\":\"Fixed hard disk media\",\"generatedId\":\"\\\\\\\\.\\\\PHYSICALDRIVE0\",\"id\":\"\\\\\\\\.\\\\PHYSICALDRIVE0\",\"name\":\"Samsung SSD 990 PRO 4TB\",\"maxSizeInBytes\":4000784417280,\"usedSpaceInBytes\":1434795270656}]},\"firmwareProfile\":{\"serialNumber\":\"Default string\",\"type\":\"EFI\"},\"hardwareProfile\":{\"totalPhysicalMemoryInBytes\":68719476736,\"numberOfCpuSockets\":1,\"processors\":[{\"name\":\"AMD Ryzen 9 5900X 12-Core Processor \",\"numberOfCores\":12}]}}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/donaliu4/providers/Microsoft.HybridCompute/machines/Arc-Win-Demo\",\"name\":\"Arc-Win-Demo\",\"location\":\"centraluseuap\",\"type\":\"Microsoft.HybridCompute/machines\",\"tags\":{\"Project\":\"jumpstart_azure_arc_servers\"},\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"3a9e8f40-3e2d-4f5b-b1c8-194d0b5c0303\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"osName\":\"windows\",\"osProfile\":{},\"vmId\":\"e678e510-6f10-44d3-9b5c-63ac8190ff3a\",\"clientPublicKey\":\"MIIBCgKCAQEAttyoRAi+u3ciut7jaWfsLX9RgG2bq8sDPvEkqCXXaLEDsGSB/lCQMRmT1BpKWKlXr4PUUEavplg4RcHWG/6RFiX2dTYGAEeEqcu8U5t8Isd90Qnq8UpaVaOoqzSf7CWjnV2NcQfT4hZ1xQFRx1IEp7N/8Zm4IYnSFPbf2LprIHzfbVVT4/5ll/LnLlyordDIiRUvSaNkgSXlYKB+W8Q2g+cUjSiat0X76oR148fFzLjSb9N/hSDzgYQmZZx/pfWYbpILgl/qYRF/BDInqvxHG6O7I59yhSzYAcA0mRy7s0fQRnF1USNq6E+oRwFWkxYwl8hSO0cRyBrkUu/ucP+3SwIDAQAB\",\"privateLinkScopeResourceId\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/donaliu4/providers/Microsoft.HybridCompute/privateLinkScopes/Arc-Win-Demo-PLS\",\"agentConfiguration\":{},\"agentUpgrade\":{\"enableAutomaticUpgrade\":false},\"licenseProfile\":{\"esuProfile\":{\"licenseAssignmentState\":\"NotAssigned\",\"serverType\":\"Unknown\",\"esuEligibility\":\"Unknown\",\"esuKeyState\":\"Inactive\"}}}}]}", "isContentBase64": false } }, - "Get-AzConnectedMachine+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine?api-version=2024-05-20-preview+1": { + "Get-AzConnectedMachine+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine?api-version=2024-07-10+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine?api-version=2024-05-20-preview", + "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine?api-version=2024-07-10", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "2" ], - "x-ms-client-request-id": [ "76477814-90f0-47b6-b70a-c1c6fc7e9d48" ], + "x-ms-client-request-id": [ "6f534cf0-74fb-4fea-93fd-9ea42b377e9c" ], "CommandName": [ "Get-AzConnectedMachine" ], "FullCommandName": [ "Get-AzConnectedMachine_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.5.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -67,20 +67,20 @@ "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-request-id": [ "82e73fb1-7141-43c3-bd09-33b3cf1dcd84" ], - "x-ms-correlation-request-id": [ "16becb2c-6f81-499d-9c0b-de41654d579d" ], - "x-ms-routing-request-id": [ "EASTUS:20240919T183425Z:16becb2c-6f81-499d-9c0b-de41654d579d" ], + "x-ms-request-id": [ "e83e987a-de04-4bd3-9104-24b8047235d3" ], + "x-ms-correlation-request-id": [ "01aae679-8e60-4a44-aa63-b2c2dda270a0" ], + "x-ms-routing-request-id": [ "EASTUS2:20241003T202506Z:01aae679-8e60-4a44-aa63-b2c2dda270a0" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: EE6C72DD0314466992020CFCF893E282 Ref B: MNZ221060619037 Ref C: 2024-09-19T18:34:25Z" ], - "Date": [ "Thu, 19 Sep 2024 18:34:25 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 8BC67622CA4543F085A0C85079917DDD Ref B: MNZ221060610047 Ref C: 2024-10-03T20:25:06Z" ], + "Date": [ "Thu, 03 Oct 2024 20:25:06 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "4537" ], + "Content-Length": [ "4241" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine\",\"name\":\"testmachine\",\"location\":\"centraluseuap\",\"tags\":{},\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"9e42b789-0368-4d7e-80e7-fa17275ff98a\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"type\":\"Microsoft.HybridCompute/machines\",\"properties\":{\"provisioningState\":\"Succeeded\",\"agentVersion\":\"1.46.02809.1841\",\"status\":\"Connected\",\"lastStatusChange\":\"2024-09-19T18:17:56.2297124Z\",\"errorDetails\":[],\"displayName\":\"LAPTOP-S0HSJ7FB\",\"machineFqdn\":\"LAPTOP-S0HSJ7FB\",\"osName\":\"windows\",\"osVersion\":\"10.0.19045.4894\",\"osType\":\"windows\",\"osProfile\":{\"computerName\":\"LAPTOP-S0HSJ7FB\"},\"vmId\":\"b32bf557-83a7-47d1-b658-8a16c51af1c8\",\"vmUuid\":\"1A9E1B42-3894-11EC-80F0-84A9388B55FE\",\"clientPublicKey\":\"MIIBCgKCAQEAt/90yiFsz9yiZ5zb8ClkCDY7sdXp3X+BYDcjsF8BnPY5KxXLPGetXGhE50+BIKyXrA/Y/+DmT3y5u+YsYdSQTx9z6gQrAWzcHJkPG20qSUFmw86SibJvNvdPoRpO4PARDFOtrevyf9ALvIhGudMgFCwIz2we57qpTPXSNA5TE78W21YWFbfnUoKVSOGEt0fbCEaBc8q1etRxpqZDlqMqCpB69ApT6KEmssjYgd7OAJ5VdFoVzaclPLyGQ0/3E/3Vm9yBjYZ3WJZVQhVEUKbLUsGINu31KteZ3DMj4QQyeeQZCAaMie/gqZKgNfDsAZV4Mo07DQdb8QoVfFGSWwbNWQIDAQAB\",\"osSku\":\"Windows 10 Enterprise\",\"osEdition\":\"enterprise\",\"osInstallDate\":\"2023-02-07T08:27:20+00:00\",\"domainName\":\"WORKGROUP\",\"adFqdn\":\"LAPTOP-S0HSJ7FB\",\"dnsFqdn\":\"LAPTOP-S0HSJ7FB\",\"mssqlDiscovered\":\"false\",\"cloudMetadata\":{\"provider\":\"N/A\"},\"detectedProperties\":{\"cloudprovider\":\"N/A\",\"coreCount\":\"4\",\"logicalCoreCount\":\"8\",\"manufacturer\":\"LENOVO\",\"model\":\"20Y0S2PE00\",\"mssqldiscovered\":\"false\",\"processorCount\":\"1\",\"processorNames\":\"11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz\",\"productType\":\"4\",\"serialNumber\":\"PF33PR6M\",\"smbiosAssetTag\":\"14765144\",\"totalPhysicalMemoryInBytes\":\"34359738368\",\"totalPhysicalMemoryInGigabytes\":\"32\",\"vmuuidEsu2012\":\"1A9E1B42-3894-11EC-80F0-84A9388B55FE\"},\"agentConfiguration\":{\"proxyUrl\":\"\",\"incomingConnectionsPorts\":[],\"extensionsAllowList\":[],\"extensionsBlockList\":[],\"proxyBypass\":[],\"extensionsEnabled\":\"true\",\"guestConfigurationEnabled\":\"true\",\"configMode\":\"full\"},\"serviceStatuses\":{\"extensionService\":{\"status\":\"running\",\"startupType\":\"automatic\"},\"guestConfigurationService\":{\"status\":\"running\",\"startupType\":\"automatic\"}},\"agentUpgrade\":{\"enableAutomaticUpgrade\":false},\"networkProfile\":{\"networkInterfaces\":[{\"ipAddresses\":[{\"address\":\"172.30.240.1\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"172.30.240.0/20\"}}],\"macAddress\":\"00:15:5d:94:45:7d\",\"id\":\"30\",\"name\":\"vEthernet (Default Switch)\"},{\"ipAddresses\":[{\"address\":\"192.168.1.243\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"192.168.1.0/24\"}}],\"macAddress\":\"7c:70:db:1b:2c:22\",\"id\":\"10\",\"name\":\"Wi-Fi\"},{\"ipAddresses\":[{\"address\":\"2001:0:2841:f634:1c12:2f8a:52bb:ceed\",\"ipAddressVersion\":\"IPv6\",\"subnet\":{\"addressPrefix\":\"2001:0:2841:f634::/64\"}}],\"macAddress\":\"00:00:00:00:00:00:00:e0\",\"id\":\"13\",\"name\":\"Teredo Tunneling Pseudo-Interface\"}]},\"licenseProfile\":{\"licenseStatus\":\"Licensed\",\"licenseChannel\":\"Retail\",\"esuProfile\":{\"licenseAssignmentState\":\"NotAssigned\",\"serverType\":\"Unknown\",\"esuEligibility\":\"Ineligible\",\"esuKeyState\":\"Inactive\"}},\"storageProfile\":{\"disks\":[{\"path\":\"\\\\\\\\.\\\\PHYSICALDRIVE0\",\"diskType\":\"Fixed hard disk media\",\"generatedId\":\"\\\\\\\\.\\\\PHYSICALDRIVE0\",\"id\":\"\\\\\\\\.\\\\PHYSICALDRIVE0\",\"name\":\"SKHynix_HFS512GDE9X081N\",\"maxSizeInBytes\":512105932800,\"usedSpaceInBytes\":254967855104}]},\"firmwareProfile\":{\"serialNumber\":\"PF33PR6M\",\"type\":\"EFI\"},\"hardwareProfile\":{\"totalPhysicalMemoryInBytes\":34359738368,\"numberOfCpuSockets\":1,\"processors\":[{\"name\":\"11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz\",\"numberOfCores\":4}]}},\"resources\":[{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine/extensions/WindowsOsUpdateExtension\",\"name\":\"WindowsOsUpdateExtension\",\"type\":\"Microsoft.HybridCompute/machines/extensions\",\"location\":\"centraluseuap\",\"properties\":{\"publisher\":\"Microsoft.SoftwareUpdateManagement\",\"type\":\"WindowsOsUpdateExtension\",\"typeHandlerVersion\":\"1.0.22.0\",\"autoUpgradeMinorVersion\":false,\"enableAutomaticUpgrade\":true,\"settings\":{\"updateConfiguration\":{\"activityId\":\"6ba9e882-0aed-4a7a-ab55-e505c4c572ce\",\"startTime\":\"2024-09-19T18:15:01.0279364Z\",\"action\":\"Assessment\",\"thirdPartyPatchingEnabled\":null,\"thirdPartyAppManager\":null}},\"provisioningState\":\"Creating\",\"instanceView\":{\"name\":\"WindowsOsUpdateExtension\",\"type\":\"WindowsOsUpdateExtension\",\"typeHandlerVersion\":\"1.0.22.0\",\"status\":{}}}}]}", + "Content": "{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine\",\"name\":\"testmachine\",\"location\":\"eastus\",\"tags\":{},\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"77c88dff-29f9-46b3-96c1-0e268e14c2e9\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"type\":\"Microsoft.HybridCompute/machines\",\"properties\":{\"provisioningState\":\"Succeeded\",\"agentVersion\":\"1.46.02809.1841\",\"status\":\"Connected\",\"lastStatusChange\":\"2024-10-03T20:22:21.06354Z\",\"errorDetails\":[],\"displayName\":\"LAPTOP-S0HSJ7FB\",\"machineFqdn\":\"LAPTOP-S0HSJ7FB\",\"osName\":\"windows\",\"osVersion\":\"10.0.19045.4894\",\"osType\":\"windows\",\"osProfile\":{\"computerName\":\"LAPTOP-S0HSJ7FB\"},\"vmId\":\"63619518-ff37-447a-aece-6631b77dd539\",\"vmUuid\":\"1A9E1B42-3894-11EC-80F0-84A9388B55FE\",\"clientPublicKey\":\"MIIBCgKCAQEAsczlsurN559KRp4x6W9aKSle/XqlOdaeP22TfXDVsxCLNjivIHBr0BzufK8F2ly0eX5Q3MMsr51tX1bVD7RKcg53iTG2YMiygA5jjoptXTAMe28BxPQ5S1+6tv7XbRSibIb6pss1UKqrmOYNXWQMU5mHlZ+cv5RAcGMANhqVMYQ1vyLRx5I0zdvWI6PGiHMjjLCL8EMS8qgw43KXtP+t98pojlsMnS8YVwcsQcjYjkR9a64OFdHelr4oCrBNIaVdrSNEOygj8ONEWltt8CUMqHo437x7ZwEuf4dHMBgazzONWDFGr0tO1NhR7w0a3GI/Pdt0VKCIbL+Rb81vsecJPwIDAQAB\",\"osSku\":\"Windows 10 Enterprise\",\"osEdition\":\"enterprise\",\"osInstallDate\":\"2023-02-07T08:27:20+00:00\",\"domainName\":\"WORKGROUP\",\"adFqdn\":\"LAPTOP-S0HSJ7FB\",\"dnsFqdn\":\"LAPTOP-S0HSJ7FB\",\"mssqlDiscovered\":\"false\",\"cloudMetadata\":{\"provider\":\"N/A\"},\"detectedProperties\":{\"cloudprovider\":\"N/A\",\"coreCount\":\"4\",\"logicalCoreCount\":\"8\",\"manufacturer\":\"LENOVO\",\"model\":\"20Y0S2PE00\",\"mssqldiscovered\":\"false\",\"processorCount\":\"1\",\"processorNames\":\"11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz\",\"productType\":\"4\",\"serialNumber\":\"PF33PR6M\",\"smbiosAssetTag\":\"14765144\",\"totalPhysicalMemoryInBytes\":\"34359738368\",\"totalPhysicalMemoryInGigabytes\":\"32\",\"vmuuidEsu2012\":\"1A9E1B42-3894-11EC-80F0-84A9388B55FE\"},\"agentConfiguration\":{\"proxyUrl\":\"\",\"incomingConnectionsPorts\":[],\"extensionsAllowList\":[],\"extensionsBlockList\":[],\"proxyBypass\":[],\"extensionsEnabled\":\"true\",\"guestConfigurationEnabled\":\"true\",\"configMode\":\"full\"},\"serviceStatuses\":{\"extensionService\":{\"status\":\"running\",\"startupType\":\"automatic\"},\"guestConfigurationService\":{\"status\":\"running\",\"startupType\":\"automatic\"}},\"agentUpgrade\":{\"enableAutomaticUpgrade\":false},\"networkProfile\":{\"networkInterfaces\":[{\"ipAddresses\":[{\"address\":\"172.21.0.1\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"172.21.0.0/20\"}}],\"macAddress\":\"00:15:5d:29:94:9c\",\"id\":\"27\",\"name\":\"vEthernet (Default Switch)\"},{\"ipAddresses\":[{\"address\":\"192.168.1.243\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"192.168.1.0/24\"}}],\"macAddress\":\"7c:70:db:1b:2c:22\",\"id\":\"10\",\"name\":\"Wi-Fi\"},{\"ipAddresses\":[{\"address\":\"2001:0:2841:f634:1c12:2f8a:52bb:ceed\",\"ipAddressVersion\":\"IPv6\",\"subnet\":{\"addressPrefix\":\"2001:0:2841:f634::/64\"}}],\"macAddress\":\"00:00:00:00:00:00:00:e0\",\"id\":\"14\",\"name\":\"Teredo Tunneling Pseudo-Interface\"}]},\"licenseProfile\":{\"licenseStatus\":\"Licensed\",\"licenseChannel\":\"Retail\",\"esuProfile\":{\"licenseAssignmentState\":\"NotAssigned\",\"serverType\":\"Unknown\",\"esuEligibility\":\"Ineligible\",\"esuKeyState\":\"Inactive\"}},\"storageProfile\":{\"disks\":[{\"path\":\"\\\\\\\\.\\\\PHYSICALDRIVE0\",\"diskType\":\"Fixed hard disk media\",\"generatedId\":\"\\\\\\\\.\\\\PHYSICALDRIVE0\",\"id\":\"\\\\\\\\.\\\\PHYSICALDRIVE0\",\"name\":\"SKHynix_HFS512GDE9X081N\",\"maxSizeInBytes\":512105932800,\"usedSpaceInBytes\":257882859520}]},\"firmwareProfile\":{\"serialNumber\":\"PF33PR6M\",\"type\":\"EFI\"},\"hardwareProfile\":{\"totalPhysicalMemoryInBytes\":34359738368,\"numberOfCpuSockets\":1,\"processors\":[{\"name\":\"11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz\",\"numberOfCores\":4}]}},\"resources\":[{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine/extensions/customScript\",\"name\":\"customScript\",\"type\":\"Microsoft.HybridCompute/machines/extensions\",\"location\":\"eastus\",\"properties\":{\"publisher\":\"Microsoft.Compute\",\"type\":\"CustomScriptExtension\",\"typeHandlerVersion\":\"1.10.10\",\"autoUpgradeMinorVersion\":false,\"enableAutomaticUpgrade\":true,\"provisioningState\":\"Creating\",\"instanceView\":{\"name\":\"customScript\",\"type\":\"CustomScriptExtension\",\"typeHandlerVersion\":\"1.10.10\",\"status\":{}}}}]}", "isContentBase64": false } } diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/test/Get-AzConnectedMachineExtension.Recording.json b/src/ConnectedMachine/ConnectedMachine.Autorest/test/Get-AzConnectedMachineExtension.Recording.json index aedb13486e6f..db7abd726d8d 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/test/Get-AzConnectedMachineExtension.Recording.json +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/test/Get-AzConnectedMachineExtension.Recording.json @@ -1,17 +1,17 @@ { - "Get-AzConnectedMachineExtension+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine/extensions/networkWatcher?api-version=2024-05-20-preview+1": { + "Get-AzConnectedMachineExtension+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine/extensions/networkWatcher?api-version=2024-07-10+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine/extensions/networkWatcher?api-version=2024-05-20-preview", + "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine/extensions/networkWatcher?api-version=2024-07-10", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "1" ], - "x-ms-client-request-id": [ "068fdb7e-fcb6-47ac-9115-cea84cd5bd50" ], + "x-ms-unique-id": [ "3" ], + "x-ms-client-request-id": [ "d7e82e37-5cc8-407b-bc51-d69534864963" ], "CommandName": [ "Get-AzConnectedMachineExtension" ], "FullCommandName": [ "Get-AzConnectedMachineExtension_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.5.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -22,38 +22,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-request-id": [ "89fdb54a-33e0-4f2b-b84b-461c7c08393b" ], - "x-ms-correlation-request-id": [ "4e826cc5-3554-479a-88a9-a564d21e31ed" ], - "x-ms-routing-request-id": [ "EASTUS2:20240919T233711Z:4e826cc5-3554-479a-88a9-a564d21e31ed" ], + "x-ms-request-id": [ "3dea8e9b-af76-4af5-a8e2-13e1d3c9a43a" ], + "x-ms-correlation-request-id": [ "fa400bd0-0069-4d5a-a3ac-c682c89cb4bb" ], + "x-ms-routing-request-id": [ "EASTUS2:20241007T195202Z:fa400bd0-0069-4d5a-a3ac-c682c89cb4bb" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: B0AD3685D8184EF0A454815573281EDE Ref B: MNZ221060610007 Ref C: 2024-09-19T23:37:11Z" ], - "Date": [ "Thu, 19 Sep 2024 23:37:11 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 19D901E203AA4D87B014D5F0577543AF Ref B: BL2AA2010204029 Ref C: 2024-10-07T19:52:02Z" ], + "Date": [ "Mon, 07 Oct 2024 19:52:02 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "768" ], + "Content-Length": [ "747" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine/extensions/networkWatcher\",\"name\":\"networkWatcher\",\"type\":\"Microsoft.HybridCompute/machines/extensions\",\"location\":\"centraluseuap\",\"properties\":{\"publisher\":\"Microsoft.Azure.NetworkWatcher\",\"type\":\"NetworkWatcherAgentWindows\",\"typeHandlerVersion\":\"1.4.2798.3\",\"autoUpgradeMinorVersion\":false,\"enableAutomaticUpgrade\":true,\"settings\":{\"commandToExecute\":\"powershell.exe ls\"},\"provisioningState\":\"Succeeded\",\"instanceView\":{\"name\":\"networkWatcher\",\"type\":\"NetworkWatcherAgentWindows\",\"typeHandlerVersion\":\"1.4.2798.3\",\"status\":{\"code\":\"0\",\"level\":\"Information\",\"message\":\"Extension Message: Default configuration is in effect.\"}}}}", + "Content": "{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine/extensions/networkWatcher\",\"name\":\"networkWatcher\",\"type\":\"Microsoft.HybridCompute/machines/extensions\",\"location\":\"eastus\",\"properties\":{\"publisher\":\"Microsoft.Azure.NetworkWatcher\",\"type\":\"NetworkWatcherAgentWindows\",\"typeHandlerVersion\":\"1.4.2798.3\",\"autoUpgradeMinorVersion\":false,\"enableAutomaticUpgrade\":true,\"settings\":{\"CommandToExecute\":\"dir\"},\"provisioningState\":\"Succeeded\",\"instanceView\":{\"name\":\"networkWatcher\",\"type\":\"NetworkWatcherAgentWindows\",\"typeHandlerVersion\":\"1.4.2798.3\",\"status\":{\"code\":\"0\",\"level\":\"Information\",\"message\":\"Extension Message: Default configuration is in effect.\"}}}}", "isContentBase64": false } }, - "Get-AzConnectedMachineExtension+[NoContext]+List+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine/extensions?api-version=2024-05-20-preview+1": { + "Get-AzConnectedMachineExtension+[NoContext]+List+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine/extensions?api-version=2024-07-10+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine/extensions?api-version=2024-05-20-preview", + "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine/extensions?api-version=2024-07-10", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "2" ], - "x-ms-client-request-id": [ "37ac11b8-0edc-4f14-84e7-9faf162af43d" ], + "x-ms-unique-id": [ "4" ], + "x-ms-client-request-id": [ "3356877e-c56a-4127-a23e-eded32b49638" ], "CommandName": [ "Get-AzConnectedMachineExtension" ], "FullCommandName": [ "Get-AzConnectedMachineExtension_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.5.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -66,20 +66,20 @@ "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-request-id": [ "92bd7b67-a542-4a99-ad92-c800eeff38f0" ], - "x-ms-correlation-request-id": [ "1754ce5d-5989-48f7-80eb-5bdce31d6c3a" ], - "x-ms-routing-request-id": [ "EASTUS2:20240919T233712Z:1754ce5d-5989-48f7-80eb-5bdce31d6c3a" ], + "x-ms-request-id": [ "b1dc23a2-8986-4199-96ce-a952a07fc5ae" ], + "x-ms-correlation-request-id": [ "6437735a-a6ac-40a5-bafb-031c8fcea3e4" ], + "x-ms-routing-request-id": [ "EASTUS:20241007T195203Z:6437735a-a6ac-40a5-bafb-031c8fcea3e4" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 444BEB1453454FF29B787DDB3B14D1EE Ref B: MNZ221060610007 Ref C: 2024-09-19T23:37:12Z" ], - "Date": [ "Thu, 19 Sep 2024 23:37:11 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 6398A26D448D4795BCCAD3709E3BC32B Ref B: BL2AA2010204029 Ref C: 2024-10-07T19:52:03Z" ], + "Date": [ "Mon, 07 Oct 2024 19:52:02 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "3166" ], + "Content-Length": [ "759" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine/extensions/WindowsOsUpdateExtension\",\"name\":\"WindowsOsUpdateExtension\",\"location\":\"centraluseuap\",\"type\":\"Microsoft.HybridCompute/machines/extensions\",\"properties\":{\"publisher\":\"Microsoft.SoftwareUpdateManagement\",\"type\":\"WindowsOsUpdateExtension\",\"typeHandlerVersion\":\"1.0.22.0\",\"autoUpgradeMinorVersion\":false,\"enableAutomaticUpgrade\":true,\"settings\":{\"updateConfiguration\":{\"activityId\":\"7d2735db-26e2-4ccf-83ca-005787c805f7\",\"startTime\":\"2024-09-19T22:39:30.2045474Z\",\"action\":\"Assessment\",\"thirdPartyPatchingEnabled\":null,\"thirdPartyAppManager\":null}},\"provisioningState\":\"Succeeded\",\"instanceView\":{\"name\":\"WindowsOsUpdateExtension\",\"type\":\"WindowsOsUpdateExtension\",\"typeHandlerVersion\":\"1.0.22.0\",\"status\":{\"code\":\"0\",\"level\":\"Information\",\"message\":\"Extension Message: Assessment operation with activity id 7d2735db-26e2-4ccf-83ca-005787c805f7 completed successfully. 2 patches were found. , OperationResult: {\\\"activityId\\\":\\\"7d2735db-26e2-4ccf-83ca-005787c805f7\\\",\\\"inputStartTime\\\":\\\"2024-09-19T22:39:30Z\\\",\\\"lastModifiedTime\\\":\\\"2024-09-19T22:39:48Z\\\",\\\"extensionTriggerTime\\\":\\\"2024-09-19T22:39:39Z\\\",\\\"action\\\":\\\"Assessment\\\",\\\"actionStatus\\\":\\\"success\\\",\\\"patchServiceUsed\\\":\\\"WU\\\",\\\"isManagedBySccm\\\":true,\\\"assessmentDetails\\\":{\\\"rebootPending\\\":false,\\\"countByCategory\\\":{\\\"critical\\\":0,\\\"security\\\":0,\\\"updateRollup\\\":0,\\\"featurePack\\\":0,\\\"servicePack\\\":0,\\\"definition\\\":0,\\\"tools\\\":0,\\\"updates\\\":0,\\\"other\\\":2},\\\"totalCount\\\":2,\\\"patches\\\":\\\"pZBNSwMxEIb/ypLzpiSb2Y/0qCIKPdWCYPEwSSY22O7W/WgR8b87raB4UhBymMy8mffNs34T0z7gSLdBzAWGCN5UpWywjhIKqqULWEuvjAKvGwJAkYsWd8TqBbXdocsWY5hlMrtO/e6IPXGpZ5WdqZli6bM7LW6n7TYXfovDkGLyOKauHcR8/chN9n7q+kSnuyAXvY6+lLVGkBBrJy16lMZZLJXRClAJftWT67rxgjZ4SF3PWS6xXdLLRMO4PI/Yej+5bRo2FK7YYpXOkQtVgFSNLOxKwVwpPg8s3Q29v6MD9Wl8/Uz7nv8A0wTGUMUotQWUgMBgNNPxhkOZysUS6BvMfWpDdxwyrfOMlw7826wwN8UXD1EqMKquxJ+gmKqxLvhGukKVbB5BNoFjYGVsAb4kG8r/Q7FSq9+gPH4A\\\",\\\"action\\\":\\\"Assessment\\\"},\\\"topLevelStatusMessage\\\":\\\"Assessment operation with activity id 7d2735db-26e2-4ccf-83ca-005787c805f7 completed successfully. 2 patches were found. \\\",\\\"internalErrorMessage\\\":\\\"\\\",\\\"topLevelStatus\\\":0,\\\"logs\\\":\\\"i44FAA==\\\",\\\"errorCount\\\":0,\\\"failureRetryCount\\\":0,\\\"retriggerCount\\\":0,\\\"sequenceNumber\\\":1,\\\"errors\\\":null}\"}}}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine/extensions/networkWatcher\",\"name\":\"networkWatcher\",\"location\":\"centraluseuap\",\"type\":\"Microsoft.HybridCompute/machines/extensions\",\"properties\":{\"publisher\":\"Microsoft.Azure.NetworkWatcher\",\"type\":\"NetworkWatcherAgentWindows\",\"typeHandlerVersion\":\"1.4.2798.3\",\"autoUpgradeMinorVersion\":false,\"enableAutomaticUpgrade\":true,\"settings\":{\"commandToExecute\":\"powershell.exe ls\"},\"provisioningState\":\"Succeeded\",\"instanceView\":{\"name\":\"networkWatcher\",\"type\":\"NetworkWatcherAgentWindows\",\"typeHandlerVersion\":\"1.4.2798.3\",\"status\":{\"code\":\"0\",\"level\":\"Information\",\"message\":\"Extension Message: Default configuration is in effect.\"}}}}]}", + "Content": "{\"value\":[{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine/extensions/networkWatcher\",\"name\":\"networkWatcher\",\"location\":\"eastus\",\"type\":\"Microsoft.HybridCompute/machines/extensions\",\"properties\":{\"publisher\":\"Microsoft.Azure.NetworkWatcher\",\"type\":\"NetworkWatcherAgentWindows\",\"typeHandlerVersion\":\"1.4.2798.3\",\"autoUpgradeMinorVersion\":false,\"enableAutomaticUpgrade\":true,\"settings\":{\"CommandToExecute\":\"dir\"},\"provisioningState\":\"Succeeded\",\"instanceView\":{\"name\":\"networkWatcher\",\"type\":\"NetworkWatcherAgentWindows\",\"typeHandlerVersion\":\"1.4.2798.3\",\"status\":{\"code\":\"0\",\"level\":\"Information\",\"message\":\"Extension Message: Default configuration is in effect.\"}}}}]}", "isContentBase64": false } } diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/test/Get-AzConnectedMachineRunCommand.Recording.json b/src/ConnectedMachine/ConnectedMachine.Autorest/test/Get-AzConnectedMachineRunCommand.Recording.json deleted file mode 100644 index 704f753c0d85..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/test/Get-AzConnectedMachineRunCommand.Recording.json +++ /dev/null @@ -1,86 +0,0 @@ -{ - "Get-AzConnectedMachineRunCommand+[NoContext]+List+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine/runCommands?api-version=2024-05-20-preview+1": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine/runCommands?api-version=2024-05-20-preview", - "Content": null, - "isContentBase64": false, - "Headers": { - "x-ms-unique-id": [ "1" ], - "x-ms-client-request-id": [ "6282e232-b1c9-49fb-8d91-9c2a925001ba" ], - "CommandName": [ "Get-AzConnectedMachineRunCommand" ], - "FullCommandName": [ "Get-AzConnectedMachineRunCommand_List" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.5.0" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-request-id": [ "579cb525-0939-484f-82be-bafc41d33b58" ], - "x-ms-correlation-request-id": [ "49bad31c-ff68-48fa-8507-b37513875116" ], - "x-ms-routing-request-id": [ "EASTUS2:20240919T200757Z:49bad31c-ff68-48fa-8507-b37513875116" ], - "X-Content-Type-Options": [ "nosniff" ], - "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: EAADB64E2D48478E900C33F62EC025BE Ref B: MNZ221060610009 Ref C: 2024-09-19T20:07:57Z" ], - "Date": [ "Thu, 19 Sep 2024 20:07:57 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "473" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"value\":[{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine/runcommands/myRunCommand\",\"name\":\"myRunCommand\",\"location\":\"centraluseuap\",\"type\":\"Microsoft.HybridCompute/machines/runcommands\",\"properties\":{\"source\":{\"script\":\"Write-Host Hello World!\"},\"asyncExecution\":false,\"timeoutInSeconds\":0,\"provisioningState\":\"Creating\",\"instanceView\":{\"exitCode\":0,\"executionState\":\"Unknown\"}}}]}", - "isContentBase64": false - } - }, - "Get-AzConnectedMachineRunCommand+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine/runCommands/myRunCommand?api-version=2024-05-20-preview+1": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine/runCommands/myRunCommand?api-version=2024-05-20-preview", - "Content": null, - "isContentBase64": false, - "Headers": { - "x-ms-unique-id": [ "2" ], - "x-ms-client-request-id": [ "dc585c50-3b95-44fd-a8e2-c83eae4a8b71" ], - "CommandName": [ "Get-AzConnectedMachineRunCommand" ], - "FullCommandName": [ "Get-AzConnectedMachineRunCommand_Get" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.5.0" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11997" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-request-id": [ "8dc5254d-4e0d-4d3a-b545-ddf7451d7760" ], - "x-ms-correlation-request-id": [ "7d76d035-00f8-4b81-838d-5fcf541ad6b7" ], - "x-ms-routing-request-id": [ "EASTUS2:20240919T200758Z:7d76d035-00f8-4b81-838d-5fcf541ad6b7" ], - "X-Content-Type-Options": [ "nosniff" ], - "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 267857D737FB48FDB44032A71652EDCA Ref B: MNZ221060610009 Ref C: 2024-09-19T20:07:58Z" ], - "Date": [ "Thu, 19 Sep 2024 20:07:57 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "461" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"myRunCommand\",\"type\":\"Microsoft.HybridCompute/machines/runcommands\",\"location\":\"centraluseuap\",\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine/runcommands/myRunCommand\",\"properties\":{\"source\":{\"script\":\"Write-Host Hello World!\"},\"asyncExecution\":false,\"timeoutInSeconds\":0,\"provisioningState\":\"Creating\",\"instanceView\":{\"exitCode\":0,\"executionState\":\"Unknown\"}}}", - "isContentBase64": false - } - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/test/Get-AzConnectedMachineRunCommand.Tests.ps1 b/src/ConnectedMachine/ConnectedMachine.Autorest/test/Get-AzConnectedMachineRunCommand.Tests.ps1 deleted file mode 100644 index ebde0e017e10..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/test/Get-AzConnectedMachineRunCommand.Tests.ps1 +++ /dev/null @@ -1,27 +0,0 @@ -if(($null -eq $TestName) -or ($TestName -contains 'Get-AzConnectedMachineRunCommand')) -{ - $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' - if (-Not (Test-Path -Path $loadEnvPath)) { - $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' - } - . ($loadEnvPath) - $TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzConnectedMachineRunCommand.Recording.json' - $currentPath = $PSScriptRoot - while(-not $mockingPath) { - $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File - $currentPath = Split-Path -Path $currentPath -Parent - } - . ($mockingPath | Select-Object -First 1).FullName -} - -Describe 'Get-AzConnectedMachineRunCommand' { - It 'List' { - $runCommand = Get-AzConnectedMachineRunCommand -ResourceGroupName $env.ResourceGroupName -MachineName $env.MachineName - $runCommand.Count | Should -Not -BeNullOrEmpty - } - - It 'Get' { - $runCommand = Get-AzConnectedMachineRunCommand -ResourceGroupName $env.ResourceGroupName -RunCommandName $env.RunCommandName -MachineName $env.MachineName - $runCommand.Count | Should -Not -BeNullOrEmpty - } -} diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/test/Get-AzConnectedNetworkSecurityPerimeterConfiguration.Recording.json b/src/ConnectedMachine/ConnectedMachine.Autorest/test/Get-AzConnectedNetworkSecurityPerimeterConfiguration.Recording.json index f9d0afb5715b..9c726e067f5c 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/test/Get-AzConnectedNetworkSecurityPerimeterConfiguration.Recording.json +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/test/Get-AzConnectedNetworkSecurityPerimeterConfiguration.Recording.json @@ -1,17 +1,17 @@ { - "Get-AzConnectedNetworkSecurityPerimeterConfiguration+[NoContext]+List+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/adrielk_test/providers/Microsoft.HybridCompute/privateLinkScopes/adrielScope/networkSecurityPerimeterConfigurations?api-version=2024-05-20-preview+1": { + "Get-AzConnectedNetworkSecurityPerimeterConfiguration+[NoContext]+List+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/adrielk_test/providers/Microsoft.HybridCompute/privateLinkScopes/adrielScope/networkSecurityPerimeterConfigurations?api-version=2024-07-10+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/adrielk_test/providers/Microsoft.HybridCompute/privateLinkScopes/adrielScope/networkSecurityPerimeterConfigurations?api-version=2024-05-20-preview", + "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/adrielk_test/providers/Microsoft.HybridCompute/privateLinkScopes/adrielScope/networkSecurityPerimeterConfigurations?api-version=2024-07-10", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "5" ], - "x-ms-client-request-id": [ "a4069a1c-145e-40d7-9c19-a5366f24dfd9" ], + "x-ms-unique-id": [ "1" ], + "x-ms-client-request-id": [ "001899db-cf8c-4a11-ac62-37b90cb82c5b" ], "CommandName": [ "Get-AzConnectedNetworkSecurityPerimeterConfiguration" ], "FullCommandName": [ "Get-AzConnectedNetworkSecurityPerimeterConfiguration_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.5.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -22,15 +22,15 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11997" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-request-id": [ "784c52d9-8802-4a4a-93ed-6bc12aec4847" ], - "x-ms-correlation-request-id": [ "5b6596b4-1f55-4ba0-8bcb-8a543aa3660d" ], - "x-ms-routing-request-id": [ "EASTUS2:20240919T203454Z:5b6596b4-1f55-4ba0-8bcb-8a543aa3660d" ], + "x-ms-request-id": [ "c8334dc4-2b9c-4e94-aef9-89b0a4f3d99e" ], + "x-ms-correlation-request-id": [ "72e4c615-3452-41bb-a8c1-a85c668d0542" ], + "x-ms-routing-request-id": [ "EASTUS:20241004T183855Z:72e4c615-3452-41bb-a8c1-a85c668d0542" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 8E7FF4B616D54980AC0E971FF483A640 Ref B: MNZ221060608011 Ref C: 2024-09-19T20:34:53Z" ], - "Date": [ "Thu, 19 Sep 2024 20:34:53 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 8E83C1F398EC46D392E31626A100DF05 Ref B: MNZ221060619011 Ref C: 2024-10-04T18:38:54Z" ], + "Date": [ "Fri, 04 Oct 2024 18:38:54 GMT" ] }, "ContentHeaders": { "Content-Length": [ "1721" ], @@ -41,19 +41,19 @@ "isContentBase64": false } }, - "Get-AzConnectedNetworkSecurityPerimeterConfiguration+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/adrielk_test/providers/Microsoft.HybridCompute/privateLinkScopes/adrielScope/networkSecurityPerimeterConfigurations/fd1289de-e8d3-4f76-8008-de297232dbf6.adrielScope-e1bf45b1-b9a1-4f8b-a76e-3607869aed94?api-version=2024-05-20-preview+1": { + "Get-AzConnectedNetworkSecurityPerimeterConfiguration+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/adrielk_test/providers/Microsoft.HybridCompute/privateLinkScopes/adrielScope/networkSecurityPerimeterConfigurations/fd1289de-e8d3-4f76-8008-de297232dbf6.adrielScope-e1bf45b1-b9a1-4f8b-a76e-3607869aed94?api-version=2024-07-10+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/adrielk_test/providers/Microsoft.HybridCompute/privateLinkScopes/adrielScope/networkSecurityPerimeterConfigurations/fd1289de-e8d3-4f76-8008-de297232dbf6.adrielScope-e1bf45b1-b9a1-4f8b-a76e-3607869aed94?api-version=2024-05-20-preview", + "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/adrielk_test/providers/Microsoft.HybridCompute/privateLinkScopes/adrielScope/networkSecurityPerimeterConfigurations/fd1289de-e8d3-4f76-8008-de297232dbf6.adrielScope-e1bf45b1-b9a1-4f8b-a76e-3607869aed94?api-version=2024-07-10", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "6" ], - "x-ms-client-request-id": [ "5c64ca93-6093-4ac2-9d1b-fbe4166bc101" ], + "x-ms-unique-id": [ "2" ], + "x-ms-client-request-id": [ "aa96a600-c9db-4690-959d-2a467928a009" ], "CommandName": [ "Get-AzConnectedNetworkSecurityPerimeterConfiguration" ], "FullCommandName": [ "Get-AzConnectedNetworkSecurityPerimeterConfiguration_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.5.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -64,15 +64,15 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11995" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-request-id": [ "c8461ea4-893a-4df5-89c0-f692a8e6a6ee" ], - "x-ms-correlation-request-id": [ "f339377b-4fb4-42f1-b5bd-2d8bfb2ac8a7" ], - "x-ms-routing-request-id": [ "EASTUS2:20240919T203454Z:f339377b-4fb4-42f1-b5bd-2d8bfb2ac8a7" ], + "x-ms-request-id": [ "52dc14c2-8b62-476c-92de-569ee5caaacb" ], + "x-ms-correlation-request-id": [ "99bb870b-edf5-412f-aed1-75bae7a9e159" ], + "x-ms-routing-request-id": [ "EASTUS2:20241004T183856Z:99bb870b-edf5-412f-aed1-75bae7a9e159" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: F0BF7A2A00284D10AD10DACD8A607985 Ref B: MNZ221060608011 Ref C: 2024-09-19T20:34:54Z" ], - "Date": [ "Thu, 19 Sep 2024 20:34:54 GMT" ] + "X-MSEdge-Ref": [ "Ref A: D2F95A37378D4DF3BB3EDBA871B45540 Ref B: MNZ221060619011 Ref C: 2024-10-04T18:38:55Z" ], + "Date": [ "Fri, 04 Oct 2024 18:38:55 GMT" ] }, "ContentHeaders": { "Content-Length": [ "1709" ], diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/test/Get-AzConnectedPrivateLinkScope.Recording.json b/src/ConnectedMachine/ConnectedMachine.Autorest/test/Get-AzConnectedPrivateLinkScope.Recording.json index b6cecbf59280..9c6a39f3cc6b 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/test/Get-AzConnectedPrivateLinkScope.Recording.json +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/test/Get-AzConnectedPrivateLinkScope.Recording.json @@ -1,17 +1,17 @@ { - "Get-AzConnectedPrivateLinkScope+[NoContext]+List+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/privateLinkScopes?api-version=2024-05-20-preview+1": { + "Get-AzConnectedPrivateLinkScope+[NoContext]+List+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/privateLinkScopes?api-version=2024-07-10+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/privateLinkScopes?api-version=2024-05-20-preview", + "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/privateLinkScopes?api-version=2024-07-10", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "1" ], - "x-ms-client-request-id": [ "f86f013e-ed61-4d5a-8aa9-ba1d53f31f76" ], + "x-ms-client-request-id": [ "e15af552-de63-468c-b4b6-87dba469667b" ], "CommandName": [ "Get-AzConnectedPrivateLinkScope" ], "FullCommandName": [ "Get-AzConnectedPrivateLinkScope_List1" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.5.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -22,39 +22,39 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-original-request-ids": [ "884c4141-cb36-44be-85e4-ee906dc8d62c", "7f0884d3-d993-475b-bb6e-6ab971c63cbf" ], + "x-ms-original-request-ids": [ "a29377f8-cbe2-4e1b-9573-3e9cc7172bb7", "a7194a6a-6f9c-40de-9b38-9bc663a259a2" ], "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], - "x-ms-request-id": [ "fd2e23a1-4c69-4140-8862-312025da434d" ], - "x-ms-correlation-request-id": [ "fd2e23a1-4c69-4140-8862-312025da434d" ], - "x-ms-routing-request-id": [ "EASTUS:20240920T035856Z:fd2e23a1-4c69-4140-8862-312025da434d" ], + "x-ms-request-id": [ "325ae838-171a-46a9-8f64-17d2e0e5e035" ], + "x-ms-correlation-request-id": [ "325ae838-171a-46a9-8f64-17d2e0e5e035" ], + "x-ms-routing-request-id": [ "EASTUS2:20241004T155645Z:325ae838-171a-46a9-8f64-17d2e0e5e035" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 6AEC6AEA34A543F4BB2C18D273364956 Ref B: MNZ221060619033 Ref C: 2024-09-20T03:58:55Z" ], - "Date": [ "Fri, 20 Sep 2024 03:58:55 GMT" ] + "X-MSEdge-Ref": [ "Ref A: E244BBAEACBF4D468488254DE47E5ED4 Ref B: MNZ221060619025 Ref C: 2024-10-04T15:56:44Z" ], + "Date": [ "Fri, 04 Oct 2024 15:56:44 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "1251" ], + "Content-Length": [ "837" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/privateLinkScopes/myScope3\",\"name\":\"myScope3\",\"type\":\"Microsoft.HybridCompute/privateLinkScopes\",\"location\":\"westcentralus\",\"properties\":{\"privateLinkScopeId\":\"3d3b6265-c0f0-41a2-9154-b8062a3039ae\",\"publicNetworkAccess\":\"Enabled\",\"provisioningState\":\"Succeeded\",\"privateEndpointConnections\":[]}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/privateLinkScopes/myScope\",\"name\":\"myScope\",\"type\":\"Microsoft.HybridCompute/privateLinkScopes\",\"location\":\"centraluseuap\",\"properties\":{\"privateLinkScopeId\":\"37f947da-7f40-40c2-bb85-36eda7ab607a\",\"publicNetworkAccess\":\"Enabled\",\"provisioningState\":\"Succeeded\",\"privateEndpointConnections\":[]}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/privateLinkScopes/myScope2\",\"name\":\"myScope2\",\"type\":\"Microsoft.HybridCompute/privateLinkScopes\",\"location\":\"centraluseuap\",\"properties\":{\"privateLinkScopeId\":\"9cc03479-61f1-43e9-8a13-62ced33bc1d2\",\"publicNetworkAccess\":\"Enabled\",\"provisioningState\":\"Succeeded\",\"privateEndpointConnections\":[]}}]}", + "Content": "{\"value\":[{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/privateLinkScopes/myScope3\",\"name\":\"myScope3\",\"type\":\"Microsoft.HybridCompute/privateLinkScopes\",\"location\":\"westcentralus\",\"properties\":{\"privateLinkScopeId\":\"8b195ead-d75b-4280-8d34-ed0732426e62\",\"publicNetworkAccess\":\"Enabled\",\"provisioningState\":\"Succeeded\",\"privateEndpointConnections\":[]}},{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/privateLinkScopes/myScope\",\"name\":\"myScope\",\"type\":\"Microsoft.HybridCompute/privateLinkScopes\",\"location\":\"centraluseuap\",\"properties\":{\"privateLinkScopeId\":\"37f947da-7f40-40c2-bb85-36eda7ab607a\",\"publicNetworkAccess\":\"Enabled\",\"provisioningState\":\"Succeeded\",\"privateEndpointConnections\":[]}}]}", "isContentBase64": false } }, - "Get-AzConnectedPrivateLinkScope+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/privateLinkScopes/myScope3?api-version=2024-05-20-preview+1": { + "Get-AzConnectedPrivateLinkScope+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/privateLinkScopes/myScope3?api-version=2024-07-10+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/privateLinkScopes/myScope3?api-version=2024-05-20-preview", + "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/privateLinkScopes/myScope3?api-version=2024-07-10", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "2" ], - "x-ms-client-request-id": [ "7a272ed5-ccc6-4da2-be3f-b928c6dd0bcf" ], + "x-ms-client-request-id": [ "41118999-c603-4822-8938-b352a4c03c22" ], "CommandName": [ "Get-AzConnectedPrivateLinkScope" ], "FullCommandName": [ "Get-AzConnectedPrivateLinkScope_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.5.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -67,20 +67,20 @@ "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-request-id": [ "a6650585-155f-4a25-80fe-6b4b434441b2" ], - "x-ms-correlation-request-id": [ "7e78f19f-deaf-4645-8b73-f71ee07f5958" ], - "x-ms-routing-request-id": [ "EASTUS:20240920T035856Z:7e78f19f-deaf-4645-8b73-f71ee07f5958" ], + "x-ms-request-id": [ "ba2da06a-c0b9-4fb4-a732-05d4582742db" ], + "x-ms-correlation-request-id": [ "50fa1dde-3245-49cf-bced-17515a333a77" ], + "x-ms-routing-request-id": [ "EASTUS2:20241004T155645Z:50fa1dde-3245-49cf-bced-17515a333a77" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 7928B5FBEEA349AAA5C6BF16D9B6FA06 Ref B: MNZ221060619033 Ref C: 2024-09-20T03:58:56Z" ], - "Date": [ "Fri, 20 Sep 2024 03:58:56 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 89556952B8E74100BF185204C9D9625E Ref B: MNZ221060619025 Ref C: 2024-10-04T15:56:45Z" ], + "Date": [ "Fri, 04 Oct 2024 15:56:45 GMT" ] }, "ContentHeaders": { "Content-Length": [ "413" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/privateLinkScopes/myScope3\",\"name\":\"myScope3\",\"type\":\"Microsoft.HybridCompute/privateLinkScopes\",\"location\":\"westcentralus\",\"properties\":{\"privateLinkScopeId\":\"3d3b6265-c0f0-41a2-9154-b8062a3039ae\",\"publicNetworkAccess\":\"Enabled\",\"provisioningState\":\"Succeeded\",\"privateEndpointConnections\":[]}}", + "Content": "{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/privateLinkScopes/myScope3\",\"name\":\"myScope3\",\"type\":\"Microsoft.HybridCompute/privateLinkScopes\",\"location\":\"westcentralus\",\"properties\":{\"privateLinkScopeId\":\"8b195ead-d75b-4280-8d34-ed0732426e62\",\"publicNetworkAccess\":\"Enabled\",\"provisioningState\":\"Succeeded\",\"privateEndpointConnections\":[]}}", "isContentBase64": false } } diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/test/Install-AzConnectedMachinePatch.Recording.json b/src/ConnectedMachine/ConnectedMachine.Autorest/test/Install-AzConnectedMachinePatch.Recording.json index af58d3947902..3129ac32fe33 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/test/Install-AzConnectedMachinePatch.Recording.json +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/test/Install-AzConnectedMachinePatch.Recording.json @@ -1,8 +1,8 @@ { - "Install-AzConnectedMachinePatch+[NoContext]+Install+$POST+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine/installPatches?api-version=2024-05-20-preview+1": { + "Install-AzConnectedMachinePatch+[NoContext]+Install+$POST+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine/installPatches?api-version=2024-07-10+1": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine/installPatches?api-version=2024-05-20-preview", + "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine/installPatches?api-version=2024-07-10", "Content": "{\r\n \"windowsParameters\": {\r\n \"classificationsToInclude\": [ \"Critical\" ]\r\n },\r\n \"maximumDuration\": \"PT4H\",\r\n \"rebootSetting\": \"IfRequired\"\r\n}", "isContentBase64": false, "Headers": { @@ -17,19 +17,19 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/updateCenterOperationResults/0da690e3-5b33-467b-928b-2741d0e96936?api-version=2024-05-20-preview\u0026t=638623821059523491\u0026c=MIIHpTCCBo2gAwIBAgITfwN43MjEi0W8quEp-gAEA3jcyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwNjI0MTIwMzUxWhcNMjUwNjE5MTIwMzUxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALiUzQ72miF3S8xuwVdDASkfTayfNuL2xoGjIYUp6ggSGWwqcFLd9Wyqc3F6x8NaURchp8S0iOYM5xMdEBYAsj1xu3zzvdMwM4vUqHIbG6w3GEP4tj7-UIz-btgan_NW7rOEM9oubY9dUtfuCg-mayRYdWezidp70abA2mUEj9ioVQ0CKe9kIzMPn7WFnuLRExud0yMQzDsWTVbaC5Eb_4Hx6vT5bnnLDisXEEQMzG96dJaC9KQZ-tFvcDzGz6diIqaancayRsE-Q5tMUFT-HqewL96WS1vsLjZx9weQsiyqFubDmhMVRawaS26swEjXSSzVp-b3R4MYD-Oh7GkmiFECAwEAAaOCBJIwggSOMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQ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V74duNroeQ_GFUJWANnD6rPfLYDbK-wY8K844-8ylPgrvoYKap_7jv_cKqJ8YtFixxw\u0026h=b5HMbYyM9jfrDi2o1_u5RJ9IhihPE6r8pJQ-UO4uRNU" ], + "Location": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/updateCenterOperationResults/cb45626c-2d96-47bd-bfcd-6c456534d8a6?api-version=2024-07-10\u0026t=638639286662210155\u0026c=MIIHpTCCBo2gAwIBAgITOgOyui871wRtge60rAAEA7K6LzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSU5GUkEgQ0EgMDEwHhcNMjQwOTIyMTIyOTEzWhcNMjUwMzIxMTIyOTEzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALthCEIs4vwfpBtc8a6akzk9FNp-luTjsKhTETKForQzaFdF5S6PDjwZJVAOcVWePFAecP08Qp1FzfiX_Cl9StTirn6FO-MjJbWSG2THMvz756N87v6UNTXfNr29-Y-iFxGXE0LRwZ39GG4hV9nUekLb8OlN6VC48-A54O0iJybH12xGD4eKLbn4ilMqeYCyiivgk_AAxCvO75VjkDUu1PztXTqXfeLvWxaeqT1RTux_k8SPeFde5JPpWGKFNih2uv3JG5KjyszNBV6b2MaWQRiNYIiPo9N_DvTiv2r7BWNvocSISt9wLymfNp0mmAvGajmSbXqs2iphrYgHuVIhOskCAwEAAaOCBJIwggSOMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfm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Rylj8WsmnagLH565sZQ\u0026h=oICKcGoyPzsRPe5-Ic2d-60djjGbE0fq8VBd7rg-u70" ], "Retry-After": [ "60" ], "api-supported-versions": [ "2020-08-15-preview" ], - "x-ms-client-request-id": [ "f01f2678-e4ef-4852-b231-727a195e9bb5" ], + "x-ms-client-request-id": [ "e03b6de4-07cb-4d24-8401-1907b05b6d91" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], - "x-ms-request-id": [ "e5c3fd5d-42b7-4550-ad91-4a31f457fcdd" ], - "x-ms-correlation-request-id": [ "e5c3fd5d-42b7-4550-ad91-4a31f457fcdd" ], - "x-ms-routing-request-id": [ "EASTUS2:20240919T223505Z:e5c3fd5d-42b7-4550-ad91-4a31f457fcdd" ], + "x-ms-request-id": [ "acde4770-830a-4f74-8c90-d1e611b41287" ], + "x-ms-correlation-request-id": [ "acde4770-830a-4f74-8c90-d1e611b41287" ], + "x-ms-routing-request-id": [ "EASTUS2:20241007T201106Z:acde4770-830a-4f74-8c90-d1e611b41287" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 7B56CF44C7AA44B3859D822AABFD757B Ref B: MNZ221060618027 Ref C: 2024-09-19T22:35:04Z" ], - "Date": [ "Thu, 19 Sep 2024 22:35:05 GMT" ] + "X-MSEdge-Ref": [ "Ref A: EB206A50B38F4F44ABD50F3DB049C259 Ref B: MNZ221060609009 Ref C: 2024-10-07T20:11:05Z" ], + "Date": [ "Mon, 07 Oct 2024 20:11:05 GMT" ] }, "ContentHeaders": { "Expires": [ "-1" ], @@ -39,20 +39,20 @@ "isContentBase64": false } }, - "Install-AzConnectedMachinePatch+[NoContext]+Install+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/updateCenterOperationResults/0da690e3-5b33-467b-928b-2741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GEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwEwDAYKKwYBBAGCN3sEATAfBgNVHSMEGDAWgBSuecJrXSWIEwb2BwnDl3x7l48dVTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADbkVmxlTl8VUMrDJBuRWlmxRWKlxGiR-kZINt99ksV65ZBhsigLjAZYo4HpzQydRwwPVGUebtBD3XhFnalnYK3EoU3yr5LEyfJCQqOCPvAt1AZ3bMR5moP6HXLcSlsDicH7R97FRrKO_6GywgIPDmt2Mm2VBO6p3qPCi2do79OCNlD3OpKaWuuuC6lnZB1ilSIi1w9vpGdji0ixc_dnfMVgL_z1lnM1nLDCsALgv8ghCQDVX4h_Net36CgZgv16gbE71947exvQNJZVVQfXQe0YRTktFsCJVlPmvV5d0KukZUDMAiH0oFJCto8W6ggMMy7u4JLzsLIxcJxrFMaGaz8\u0026s=tDfaKI0NCwEG85mULc7ST2E_vbYdrQhKq_vjAenGGm4KkfVYIFv_FPSkTRgm8fovFNgKULSR6xGYJbM0rH8k_p4NxT3mJwltxeCO2-YgSrZ4XUxn1j7FfmbS_oWqRElt2GOMDClRJ8ROrFvBJ9auLJgQ6iXsf38uFaXKt3sUl6IbS_22PCAoBXZ3eGLhPGRyRWeMSnEWhpF1Lq97tiGNdMHBLW5WDuqmZeflenPchcB3OYFt-58WdVMFW5VIBd1rrpJDgVIhwTBi5ts-q-bV74duNroeQ_GFUJWANnD6rPfLYDbK-wY8K844-8ylPgrvoYKap_7jv_cKqJ8YtFixxw\u0026h=b5HMbYyM9jfrDi2o1_u5RJ9IhihPE6r8pJQ-UO4uRNU+2": { + "Install-AzConnectedMachinePatch+[NoContext]+Install+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/updateCenterOperationResults/cb45626c-2d96-47bd-bfcd-6c456534d8a6?api-version=2024-07-10\u0026t=638639286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wEwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBTl2Ztn_PjsurvwwKidileIud8-YzAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAHkWc1KMstXAU5p0ciSSzPoB_W772N_r2ITPfnNv7OdZGLyDL8VTUXFgLP_lVJgsrUcSXJi6GSjDB9ww5vQCsXJQgzO4bCx-jKgHjqphvAtqaiiUEs6HJZYAXzjGr6BPLIlx2qov7eiI-vLqT3h9gqiUGYjLwwKJdO4PIGGzt5oIY5oWtLkqoxoad8CfpX7z8WM9YAUv1l-majml_BXWMmN0t5BbCB5MAuZPnD2rg3mtvh4FEV5pnTtTLPwpw7AAt-9DReZQOgsVkBLNSAzvuXHJzMAm03Gr-uZw7fY_-p1aqDgZ4KMTnQqVr8NvFE02_Gj_5hIaAdCp1bUhZ3ZrmZY\u0026s=G7WEJM7bYRdSNCdZahC2GPMk2NLhs3xO3s96-OAaKYh5tO6fDGgtmllYHOvSq4u3F1X8WZFmKcg82ZfiwUe3MjXTnTDSR0FWeAORqk6llMEOLsOH87f-Qbt2-3Q7b_GufyemLcfSvzXm2yAQ4KsF20VkWW4oTC3wdV862Tr-_ggdKKc0jsmLouJZ8PZEMjU_dN77uGuj150zPaO9sQ0UcnuuiyhZ6Q0fmLj_wps53HImQYFJd5xsOaBGKsKeU2WX12S6FNKUGWvY-c4v9h_vx7hNVn2XRneUsCW5l_3N5Id_aaUGgjnjyvtRgyOQ6LYQrs8Rylj8WsmnagLH565sZQ\u0026h=oICKcGoyPzsRPe5-Ic2d-60djjGbE0fq8VBd7rg-u70+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/updateCenterOperationResults/0da690e3-5b33-467b-928b-2741d0e96936?api-version=2024-05-20-preview\u0026t=638623821059523491\u0026c=MIIHpTCCBo2gAwIBAgITfwN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BgNVHSMEGDAWgBSuecJrXSWIEwb2BwnDl3x7l48dVTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADbkVmxlTl8VUMrDJBuRWlmxRWKlxGiR-kZINt99ksV65ZBhsigLjAZYo4HpzQydRwwPVGUebtBD3XhFnalnYK3EoU3yr5LEyfJCQqOCPvAt1AZ3bMR5moP6HXLcSlsDicH7R97FRrKO_6GywgIPDmt2Mm2VBO6p3qPCi2do79OCNlD3OpKaWuuuC6lnZB1ilSIi1w9vpGdji0ixc_dnfMVgL_z1lnM1nLDCsALgv8ghCQDVX4h_Net36CgZgv16gbE71947exvQNJZVVQfXQe0YRTktFsCJVlPmvV5d0KukZUDMAiH0oFJCto8W6ggMMy7u4JLzsLIxcJxrFMaGaz8\u0026s=tDfaKI0NCwEG85mULc7ST2E_vbYdrQhKq_vjAenGGm4KkfVYIFv_FPSkTRgm8fovFNgKULSR6xGYJbM0rH8k_p4NxT3mJwltxeCO2-YgSrZ4XUxn1j7FfmbS_oWqRElt2GOMDClRJ8ROrFvBJ9auLJgQ6iXsf38uFaXKt3sUl6IbS_22PCAoBXZ3eGLhPGRyRWeMSnEWhpF1Lq97tiGNdMHBLW5WDuqmZeflenPchcB3OYFt-58WdVMFW5VIBd1rrpJDgVIhwTBi5ts-q-bV74duNroeQ_GFUJWANnD6rPfLYDbK-wY8K844-8ylPgrvoYKap_7jv_cKqJ8YtFixxw\u0026h=b5HMbYyM9jfrDi2o1_u5RJ9IhihPE6r8pJQ-UO4uRNU", + "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/updateCenterOperationResults/cb45626c-2d96-47bd-bfcd-6c456534d8a6?api-version=2024-07-10\u0026t=638639286662210155\u0026c=MIIHpTCCBo2gAwIBAgITOgOyui871wRtge60rAAEA7K6LzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyL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DAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAHkWc1KMstXAU5p0ciSSzPoB_W772N_r2ITPfnNv7OdZGLyDL8VTUXFgLP_lVJgsrUcSXJi6GSjDB9ww5vQCsXJQgzO4bCx-jKgHjqphvAtqaiiUEs6HJZYAXzjGr6BPLIlx2qov7eiI-vLqT3h9gqiUGYjLwwKJdO4PIGGzt5oIY5oWtLkqoxoad8CfpX7z8WM9YAUv1l-majml_BXWMmN0t5BbCB5MAuZPnD2rg3mtvh4FEV5pnTtTLPwpw7AAt-9DReZQOgsVkBLNSAzvuXHJzMAm03Gr-uZw7fY_-p1aqDgZ4KMTnQqVr8NvFE02_Gj_5hIaAdCp1bUhZ3ZrmZY\u0026s=G7WEJM7bYRdSNCdZahC2GPMk2NLhs3xO3s96-OAaKYh5tO6fDGgtmllYHOvSq4u3F1X8WZFmKcg82ZfiwUe3MjXTnTDSR0FWeAORqk6llMEOLsOH87f-Qbt2-3Q7b_GufyemLcfSvzXm2yAQ4KsF20VkWW4oTC3wdV862Tr-_ggdKKc0jsmLouJZ8PZEMjU_dN77uGuj150zPaO9sQ0UcnuuiyhZ6Q0fmLj_wps53HImQYFJd5xsOaBGKsKeU2WX12S6FNKUGWvY-c4v9h_vx7hNVn2XRneUsCW5l_3N5Id_aaUGgjnjyvtRgyOQ6LYQrs8Rylj8WsmnagLH565sZQ\u0026h=oICKcGoyPzsRPe5-Ic2d-60djjGbE0fq8VBd7rg-u70", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "2" ], - "x-ms-client-request-id": [ "f01f2678-e4ef-4852-b231-727a195e9bb5" ], + "x-ms-client-request-id": [ "e03b6de4-07cb-4d24-8401-1907b05b6d91" ], "CommandName": [ "Install-AzConnectedMachinePatch" ], "FullCommandName": [ "Install-AzConnectedMachinePatch_InstallExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.5.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.1.0" ] }, "ContentHeaders": { } @@ -62,19 +62,19 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/updateCenterOperationResults/0da690e3-5b33-467b-928b-2741d0e96936?api-version=2024-05-20-preview\u0026t=638623821667303853\u0026c=MIIHpTCCBo2gAwIBAgITfwN43MjEi0W8quEp-gAEA3jcyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwNjI0MTIwMzUxWhcNMjUwNjE5MTIwMzUxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALiUzQ72miF3S8xuwVdDASkfTayfNuL2xoGjIYUp6ggSGWwqcFLd9Wyqc3F6x8NaURchp8S0iOYM5xMdEBYAsj1xu3zzvdMwM4vUqHIbG6w3GEP4tj7-UIz-btgan_NW7rOEM9oubY9dUtfuCg-mayRYdWezidp70abA2mUEj9ioVQ0CKe9kIzMPn7WFnuLRExud0yMQzDsWTVbaC5Eb_4Hx6vT5bnnLDisXEEQMzG96dJaC9KQZ-tFvcDzGz6diIqaancayRsE-Q5tMUFT-HqewL96WS1vsLjZx9weQsiyqFubDmhMVRawaS26swEjXSSzVp-b3R4MYD-Oh7GkmiFECAwEAAaOCBJIwggSOMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBA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yQbGtXTksaGCWU548GbCxWgZ41PHcQ4KsLqDEP5juyg-6Jfh6ciO6Q\u0026h=m-d630AVrcy5gp_Bxwb6EbCgyCECg7tcObNJelCV7UI" ], + "Location": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/updateCenterOperationResults/cb45626c-2d96-47bd-bfcd-6c456534d8a6?api-version=2024-07-10\u0026t=638639287269786174\u0026c=MIIHpTCCBo2gAwIBAgITOgOyui871wRtge60rAAEA7K6LzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSU5GUkEgQ0EgMDEwHhcNMjQwOTIyMTIyOTEzWhcNMjUwMzIxMTIyOTEzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALthCEIs4vwfpBtc8a6akzk9FNp-luTjsKhTETKForQzaFdF5S6PDjwZJVAOcVWePFAecP08Qp1FzfiX_Cl9StTirn6FO-MjJbWSG2THMvz756N87v6UNTXfNr29-Y-iFxGXE0LRwZ39GG4hV9nUekLb8OlN6VC48-A54O0iJybH12xGD4eKLbn4ilMqeYCyiivgk_AAxCvO75VjkDUu1PztXTqXfeLvWxaeqT1RTux_k8SPeFde5JPpWGKFNih2uv3JG5KjyszNBV6b2MaWQRiNYIiPo9N_DvTiv2r7BWNvocSISt9wLymfNp0mmAvGajmSbXqs2iphrYgHuVIhOskCAwEAAaOCBJIwggSOMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQC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=hlXHneeM8jBQ_ZopPebQa1BdgdTu_MgalLasAwmUO2A" ], "Retry-After": [ "60" ], "api-supported-versions": [ "2020-08-15-preview" ], - "x-ms-client-request-id": [ "f01f2678-e4ef-4852-b231-727a195e9bb5" ], + "x-ms-client-request-id": [ "e03b6de4-07cb-4d24-8401-1907b05b6d91" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "999" ], - "x-ms-request-id": [ "96f8faa1-82b2-48fc-a7c4-765cb15ad622" ], - "x-ms-correlation-request-id": [ "96f8faa1-82b2-48fc-a7c4-765cb15ad622" ], - "x-ms-routing-request-id": [ "EASTUS2:20240919T223606Z:96f8faa1-82b2-48fc-a7c4-765cb15ad622" ], + "x-ms-request-id": [ "e9439d89-ad98-43e9-9d4b-9e0d2f49e587" ], + "x-ms-correlation-request-id": [ "e9439d89-ad98-43e9-9d4b-9e0d2f49e587" ], + "x-ms-routing-request-id": [ "EASTUS2:20241007T201206Z:e9439d89-ad98-43e9-9d4b-9e0d2f49e587" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 82438FC87D1543D79805EDE62B23AD8C Ref B: MNZ221060618027 Ref C: 2024-09-19T22:36:06Z" ], - "Date": [ "Thu, 19 Sep 2024 22:36:06 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 398B748CC6284A6B97B148B94E1C82DE Ref B: MNZ221060609009 Ref C: 2024-10-07T20:12:06Z" ], + "Date": [ "Mon, 07 Oct 2024 20:12:06 GMT" ] }, "ContentHeaders": { "Expires": [ "-1" ], @@ -84,20 +84,20 @@ "isContentBase64": false } }, - "Install-AzConnectedMachinePatch+[NoContext]+Install+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/updateCenterOperationResults/0da690e3-5b33-467b-928b-2741d0e96936?api-version=2024-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lADMAMwBkMAwGCisGAQQBgjd7AwEwDAYKKwYBBAGCN3sEATAfBgNVHSMEGDAWgBSuecJrXSWIEwb2BwnDl3x7l48dVTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADbkVmxlTl8VUMrDJBuRWlmxRWKlxGiR-kZINt99ksV65ZBhsigLjAZYo4HpzQydRwwPVGUebtBD3XhFnalnYK3EoU3yr5LEyfJCQqOCPvAt1AZ3bMR5moP6HXLcSlsDicH7R97FRrKO_6GywgIPDmt2Mm2VBO6p3qPCi2do79OCNlD3OpKaWuuuC6lnZB1ilSIi1w9vpGdji0ixc_dnfMVgL_z1lnM1nLDCsALgv8ghCQDVX4h_Net36CgZgv16gbE71947exvQNJZVVQfXQe0YRTktFsCJVlPmvV5d0KukZUDMAiH0oFJCto8W6ggMMy7u4JLzsLIxcJxrFMaGaz8\u0026s=iKLniAnIQ20k8HQGXl6ie7swF2PmBfNe7ZmTOuhLjZUpj0s0olQFJEkg5A0gcAf5QZKXd5sQdNTP-DXltVCslVvkw7aqeIqiowJHgvp3gX47pm-m2cyyrbEtxiuf_EqKZve9LgYm7Ms93naAY-_YMsuPgasB5kIByGpPTZeyqx2QV46D3eVg8kEghHiFdoTFz1u13dRGktXoRgJQTCkGCmf8h3LZWVtE7HzSxP48OGsoVPiDzvZN0fU9ZlwUT2vDjaLWfAtVSRPX9JhSMoEqUBgz6WBaZow_yQbGtXTksaGCWU548GbCxWgZ41PHcQ4KsLqDEP5juyg-6Jfh6ciO6Q\u0026h=m-d630AVrcy5gp_Bxwb6EbCgyCECg7tcObNJelCV7UI+3": { + "Install-AzConnectedMachinePatch+[NoContext]+Install+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/updateCenterOperationResults/cb45626c-2d96-47bd-bfcd-6c456534d8a6?api-version=2024-07-10\u0026t=638639287269786174\u0026c=MIIHpTCCB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EAjAfBgNVHSMEGDAWgBTl2Ztn_PjsurvwwKidileIud8-YzAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAHkWc1KMstXAU5p0ciSSzPoB_W772N_r2ITPfnNv7OdZGLyDL8VTUXFgLP_lVJgsrUcSXJi6GSjDB9ww5vQCsXJQgzO4bCx-jKgHjqphvAtqaiiUEs6HJZYAXzjGr6BPLIlx2qov7eiI-vLqT3h9gqiUGYjLwwKJdO4PIGGzt5oIY5oWtLkqoxoad8CfpX7z8WM9YAUv1l-majml_BXWMmN0t5BbCB5MAuZPnD2rg3mtvh4FEV5pnTtTLPwpw7AAt-9DReZQOgsVkBLNSAzvuXHJzMAm03Gr-uZw7fY_-p1aqDgZ4KMTnQqVr8NvFE02_Gj_5hIaAdCp1bUhZ3ZrmZY\u0026s=RvYA4eKCBCew5co7OJ0aZp5kVwplfk5d6pM19A-fd_JbEWvlHo1DiPmsY2Hi2ym4voEY8jZDn4QbWk3aAfBs9KoOQDT018Sp_YD4k7i4YEai77OlwLM636nqcYZHUqWtsWRGNPUPCVdMDmT_Dewl0LRvfUit4yeXqAhke8VFVmzDs1PeTtmg-ACDDs8xKAq6yICGlQhbgZOdFRUcoBLJeQcUMFccsaA79f0opa0VRRlO_WWhGUwatS99OJkiWRxhAB-Kt--1PcqQBNeJNraQPaSGb0-dBQndAxXu2m8VTlSx0u8F8w5ZKohxClZmH3WzZnew3YdtpwmYByXckRgL3w\u0026h=hlXHneeM8jBQ_ZopPebQa1BdgdTu_MgalLasAwmUO2A+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/updateCenterOperationResults/0da690e3-5b33-467b-928b-2741d0e96936?api-version=2024-05-20-preview\u0026t=638623821667303853\u0026c=MIIHpTCCBo2gAwIBAgITfwN43MjEi0W8quEp-gAEA3jcyDANBgkqh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BwnDl3x7l48dVTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADbkVmxlTl8VUMrDJBuRWlmxRWKlxGiR-kZINt99ksV65ZBhsigLjAZYo4HpzQydRwwPVGUebtBD3XhFnalnYK3EoU3yr5LEyfJCQqOCPvAt1AZ3bMR5moP6HXLcSlsDicH7R97FRrKO_6GywgIPDmt2Mm2VBO6p3qPCi2do79OCNlD3OpKaWuuuC6lnZB1ilSIi1w9vpGdji0ixc_dnfMVgL_z1lnM1nLDCsALgv8ghCQDVX4h_Net36CgZgv16gbE71947exvQNJZVVQfXQe0YRTktFsCJVlPmvV5d0KukZUDMAiH0oFJCto8W6ggMMy7u4JLzsLIxcJxrFMaGaz8\u0026s=iKLniAnIQ20k8HQGXl6ie7swF2PmBfNe7ZmTOuhLjZUpj0s0olQFJEkg5A0gcAf5QZKXd5sQdNTP-DXltVCslVvkw7aqeIqiowJHgvp3gX47pm-m2cyyrbEtxiuf_EqKZve9LgYm7Ms93naAY-_YMsuPgasB5kIByGpPTZeyqx2QV46D3eVg8kEghHiFdoTFz1u13dRGktXoRgJQTCkGCmf8h3LZWVtE7HzSxP48OGsoVPiDzvZN0fU9ZlwUT2vDjaLWfAtVSRPX9JhSMoEqUBgz6WBaZow_yQbGtXTksaGCWU548GbCxWgZ41PHcQ4KsLqDEP5juyg-6Jfh6ciO6Q\u0026h=m-d630AVrcy5gp_Bxwb6EbCgyCECg7tcObNJelCV7UI", + "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/updateCenterOperationResults/cb45626c-2d96-47bd-bfcd-6c456534d8a6?api-version=2024-07-10\u0026t=638639287269786174\u0026c=MIIHpTCCBo2gAwIBAgITOgOyui871wRtge60rAAEA7K6LzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGR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BQADggEBAHkWc1KMstXAU5p0ciSSzPoB_W772N_r2ITPfnNv7OdZGLyDL8VTUXFgLP_lVJgsrUcSXJi6GSjDB9ww5vQCsXJQgzO4bCx-jKgHjqphvAtqaiiUEs6HJZYAXzjGr6BPLIlx2qov7eiI-vLqT3h9gqiUGYjLwwKJdO4PIGGzt5oIY5oWtLkqoxoad8CfpX7z8WM9YAUv1l-majml_BXWMmN0t5BbCB5MAuZPnD2rg3mtvh4FEV5pnTtTLPwpw7AAt-9DReZQOgsVkBLNSAzvuXHJzMAm03Gr-uZw7fY_-p1aqDgZ4KMTnQqVr8NvFE02_Gj_5hIaAdCp1bUhZ3ZrmZY\u0026s=RvYA4eKCBCew5co7OJ0aZp5kVwplfk5d6pM19A-fd_JbEWvlHo1DiPmsY2Hi2ym4voEY8jZDn4QbWk3aAfBs9KoOQDT018Sp_YD4k7i4YEai77OlwLM636nqcYZHUqWtsWRGNPUPCVdMDmT_Dewl0LRvfUit4yeXqAhke8VFVmzDs1PeTtmg-ACDDs8xKAq6yICGlQhbgZOdFRUcoBLJeQcUMFccsaA79f0opa0VRRlO_WWhGUwatS99OJkiWRxhAB-Kt--1PcqQBNeJNraQPaSGb0-dBQndAxXu2m8VTlSx0u8F8w5ZKohxClZmH3WzZnew3YdtpwmYByXckRgL3w\u0026h=hlXHneeM8jBQ_ZopPebQa1BdgdTu_MgalLasAwmUO2A", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "3" ], - "x-ms-client-request-id": [ "f01f2678-e4ef-4852-b231-727a195e9bb5" ], + "x-ms-client-request-id": [ "e03b6de4-07cb-4d24-8401-1907b05b6d91" ], "CommandName": [ "Install-AzConnectedMachinePatch" ], "FullCommandName": [ "Install-AzConnectedMachinePatch_InstallExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.5.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.1.0" ] }, "ContentHeaders": { } @@ -107,19 +107,19 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/updateCenterOperationResults/0da690e3-5b33-467b-928b-2741d0e96936?api-version=2024-05-20-preview\u0026t=638623822275744752\u0026c=MIIHpTCCBo2gAwIBAgITfwN43MjEi0W8quEp-gAEA3jcyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwNjI0MTIwMzUxWhcNMjUwNjE5MTIwMzUxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALiUzQ72miF3S8xuwVdDASkfTayfNuL2xoGjIYUp6ggSGWwqcFLd9Wyqc3F6x8NaURchp8S0iOYM5xMdEBYAsj1xu3zzvdMwM4vUqHIbG6w3GEP4tj7-UIz-btgan_NW7rOEM9oubY9dUtfuCg-mayRYdWezidp70abA2mUEj9ioVQ0CKe9kIzMPn7WFnuLRExud0yMQzDsWTVbaC5Eb_4Hx6vT5bnnLDisXEEQMzG96dJaC9KQZ-tFvcDzGz6diIqaancayRsE-Q5tMUFT-HqewL96WS1vsLjZx9weQsiyqFubDmhMVRawaS26swEjXSSzVp-b3R4MYD-Oh7GkmiFECAwEAAaOCBJIwggSOMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8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S4zwhMkvj_mA\u0026h=Ytapp8NgIswOOJLgRqKmsqROCMxutouA6scQFZiYfFI" ], + "Location": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/updateCenterOperationResults/cb45626c-2d96-47bd-bfcd-6c456534d8a6?api-version=2024-07-10\u0026t=638639287877434580\u0026c=MIIHpTCCBo2gAwIBAgITOgOyui871wRtge60rAAEA7K6LzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSU5GUkEgQ0EgMDEwHhcNMjQwOTIyMTIyOTEzWhcNMjUwMzIxMTIyOTEzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALthCEIs4vwfpBtc8a6akzk9FNp-luTjsKhTETKForQzaFdF5S6PDjwZJVAOcVWePFAecP08Qp1FzfiX_Cl9StTirn6FO-MjJbWSG2THMvz756N87v6UNTXfNr29-Y-iFxGXE0LRwZ39GG4hV9nUekLb8OlN6VC48-A54O0iJybH12xGD4eKLbn4ilMqeYCyiivgk_AAxCvO75VjkDUu1PztXTqXfeLvWxaeqT1RTux_k8SPeFde5JPpWGKFNih2uv3JG5KjyszNBV6b2MaWQRiNYIiPo9N_DvTiv2r7BWNvocSISt9wLymfNp0mmAvGajmSbXqs2iphrYgHuVIhOskCAwEAAaOCBJIwggSOMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFB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A6Jr5oAg74" ], "Retry-After": [ "60" ], "api-supported-versions": [ "2020-08-15-preview" ], - "x-ms-client-request-id": [ "f01f2678-e4ef-4852-b231-727a195e9bb5" ], + "x-ms-client-request-id": [ "e03b6de4-07cb-4d24-8401-1907b05b6d91" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "999" ], - "x-ms-request-id": [ "4e172d03-fefe-49ae-bd9b-dadcc48a676a" ], - "x-ms-correlation-request-id": [ "4e172d03-fefe-49ae-bd9b-dadcc48a676a" ], - "x-ms-routing-request-id": [ "EASTUS2:20240919T223707Z:4e172d03-fefe-49ae-bd9b-dadcc48a676a" ], + "x-ms-request-id": [ "3ac391a0-0f14-4d69-bd02-376a7c06681b" ], + "x-ms-correlation-request-id": [ "3ac391a0-0f14-4d69-bd02-376a7c06681b" ], + "x-ms-routing-request-id": [ "EASTUS2:20241007T201307Z:3ac391a0-0f14-4d69-bd02-376a7c06681b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 3F941E843150474DB11F5773E9E99218 Ref B: MNZ221060618027 Ref C: 2024-09-19T22:37:07Z" ], - "Date": [ "Thu, 19 Sep 2024 22:37:07 GMT" ] + "X-MSEdge-Ref": [ "Ref A: C0B2E58B2B1649F0B1DA48FE41E92AE7 Ref B: MNZ221060609009 Ref C: 2024-10-07T20:13:07Z" ], + "Date": [ "Mon, 07 Oct 2024 20:13:06 GMT" ] }, "ContentHeaders": { "Expires": [ "-1" ], @@ -129,20 +129,20 @@ "isContentBase64": false } }, - "Install-AzConnectedMachinePatch+[NoContext]+Install+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/updateCenterOperationResults/0da690e3-5b33-467b-928b-2741d0e96936?api-version=2024-05-20-preview\u0026t=638623822275744752\u0026c=MIIHpTCCBo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BBAGCN3sEATAfBgNVHSMEGDAWgBSuecJrXSWIEwb2BwnDl3x7l48dVTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADbkVmxlTl8VUMrDJBuRWlmxRWKlxGiR-kZINt99ksV65ZBhsigLjAZYo4HpzQydRwwPVGUebtBD3XhFnalnYK3EoU3yr5LEyfJCQqOCPvAt1AZ3bMR5moP6HXLcSlsDicH7R97FRrKO_6GywgIPDmt2Mm2VBO6p3qPCi2do79OCNlD3OpKaWuuuC6lnZB1ilSIi1w9vpGdji0ixc_dnfMVgL_z1lnM1nLDCsALgv8ghCQDVX4h_Net36CgZgv16gbE71947exvQNJZVVQfXQe0YRTktFsCJVlPmvV5d0KukZUDMAiH0oFJCto8W6ggMMy7u4JLzsLIxcJxrFMaGaz8\u0026s=Glsoc0JbEKwir1F_1GY6Hk_M610ah3zv6K2yH_dEzq24t-7bkKt6RTuZtQ_i6Rm5kGQEyQzuDXRT1KM1kagbGGYS3KaHMGw0ED3crtVwygs_m-gkOelR6zpRJoMH8Cy5o7ushs-1xal028j4gF3zuw6eVL6HOgac_h4f97vkJXBR9LYaIycWoQjFzaQ7aIXuk4HZRSVTgNCzETluJdy0lv0kgs_3UihoGPV972ZE8flH0n3JQS-H-BwZ1Mssv2oqkzGDkj3gLW5WZmJSf7S03pNlTrxlF9fnxzR4VLq0T--Xq4V3HbP8dE-UwwSxd6RiXppLhyzjlxS4zwhMkvj_mA\u0026h=Ytapp8NgIswOOJLgRqKmsqROCMxutouA6scQFZiYfFI+4": { + "Install-AzConnectedMachinePatch+[NoContext]+Install+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/updateCenterOperationResults/cb45626c-2d96-47bd-bfcd-6c456534d8a6?api-version=2024-07-10\u0026t=638639287877434580\u0026c=MIIHpTCCBo2gAwIBAgITOgOyui871wRtge60rAAEA7K6LzANBgk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idileIud8-YzAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAHkWc1KMstXAU5p0ciSSzPoB_W772N_r2ITPfnNv7OdZGLyDL8VTUXFgLP_lVJgsrUcSXJi6GSjDB9ww5vQCsXJQgzO4bCx-jKgHjqphvAtqaiiUEs6HJZYAXzjGr6BPLIlx2qov7eiI-vLqT3h9gqiUGYjLwwKJdO4PIGGzt5oIY5oWtLkqoxoad8CfpX7z8WM9YAUv1l-majml_BXWMmN0t5BbCB5MAuZPnD2rg3mtvh4FEV5pnTtTLPwpw7AAt-9DReZQOgsVkBLNSAzvuXHJzMAm03Gr-uZw7fY_-p1aqDgZ4KMTnQqVr8NvFE02_Gj_5hIaAdCp1bUhZ3ZrmZY\u0026s=rSDXoNkAQTRu49TQyOzKkTFm6OltKYmCqTpgQUqcUHieHgYud7xTz8HD-kc5ZRgNVA7P9wloaDh15czcZSFQ37o-FOzVT-CnRGplhHqIqtyzJb_Y4bbViIEVVA2Te6HPzyozuuHi2qO8bsqld9hPI_suCJdyv5iNsN4hxOxf9C0VqWGId15uVBaIcFx-Ew5xqIiTEfsJTaHa4m5CnI8yhQmDqSSEVOEiI4z-eBu8NGCIxZQ5RTtA-XBdqpOcxqsFV8c0abvanzlWrsJESmmHdeD20s7gQtfrv5DA4OxUrYmNcf9Yj3GF5MGzfmqMChFG82Zp2BBsFSdcZLfCzbqwpA\u0026h=Z3cToGGsp2uNbNfKsRh1JEf_qnFoQHMHhA6Jr5oAg74+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/updateCenterOperationResults/0da690e3-5b33-467b-928b-2741d0e96936?api-version=2024-05-20-preview\u0026t=638623822275744752\u0026c=MIIHpTCCBo2gAwIBAgITfwN43MjEi0W8quEp-gAEA3jcyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZ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jAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADbkVmxlTl8VUMrDJBuRWlmxRWKlxGiR-kZINt99ksV65ZBhsigLjAZYo4HpzQydRwwPVGUebtBD3XhFnalnYK3EoU3yr5LEyfJCQqOCPvAt1AZ3bMR5moP6HXLcSlsDicH7R97FRrKO_6GywgIPDmt2Mm2VBO6p3qPCi2do79OCNlD3OpKaWuuuC6lnZB1ilSIi1w9vpGdji0ixc_dnfMVgL_z1lnM1nLDCsALgv8ghCQDVX4h_Net36CgZgv16gbE71947exvQNJZVVQfXQe0YRTktFsCJVlPmvV5d0KukZUDMAiH0oFJCto8W6ggMMy7u4JLzsLIxcJxrFMaGaz8\u0026s=Glsoc0JbEKwir1F_1GY6Hk_M610ah3zv6K2yH_dEzq24t-7bkKt6RTuZtQ_i6Rm5kGQEyQzuDXRT1KM1kagbGGYS3KaHMGw0ED3crtVwygs_m-gkOelR6zpRJoMH8Cy5o7ushs-1xal028j4gF3zuw6eVL6HOgac_h4f97vkJXBR9LYaIycWoQjFzaQ7aIXuk4HZRSVTgNCzETluJdy0lv0kgs_3UihoGPV972ZE8flH0n3JQS-H-BwZ1Mssv2oqkzGDkj3gLW5WZmJSf7S03pNlTrxlF9fnxzR4VLq0T--Xq4V3HbP8dE-UwwSxd6RiXppLhyzjlxS4zwhMkvj_mA\u0026h=Ytapp8NgIswOOJLgRqKmsqROCMxutouA6scQFZiYfFI", + "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/updateCenterOperationResults/cb45626c-2d96-47bd-bfcd-6c456534d8a6?api-version=2024-07-10\u0026t=638639287877434580\u0026c=MIIHpTCCBo2gAwIBAgITOgOyui871wRtge60rAAEA7K6LzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUU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zPoB_W772N_r2ITPfnNv7OdZGLyDL8VTUXFgLP_lVJgsrUcSXJi6GSjDB9ww5vQCsXJQgzO4bCx-jKgHjqphvAtqaiiUEs6HJZYAXzjGr6BPLIlx2qov7eiI-vLqT3h9gqiUGYjLwwKJdO4PIGGzt5oIY5oWtLkqoxoad8CfpX7z8WM9YAUv1l-majml_BXWMmN0t5BbCB5MAuZPnD2rg3mtvh4FEV5pnTtTLPwpw7AAt-9DReZQOgsVkBLNSAzvuXHJzMAm03Gr-uZw7fY_-p1aqDgZ4KMTnQqVr8NvFE02_Gj_5hIaAdCp1bUhZ3ZrmZY\u0026s=rSDXoNkAQTRu49TQyOzKkTFm6OltKYmCqTpgQUqcUHieHgYud7xTz8HD-kc5ZRgNVA7P9wloaDh15czcZSFQ37o-FOzVT-CnRGplhHqIqtyzJb_Y4bbViIEVVA2Te6HPzyozuuHi2qO8bsqld9hPI_suCJdyv5iNsN4hxOxf9C0VqWGId15uVBaIcFx-Ew5xqIiTEfsJTaHa4m5CnI8yhQmDqSSEVOEiI4z-eBu8NGCIxZQ5RTtA-XBdqpOcxqsFV8c0abvanzlWrsJESmmHdeD20s7gQtfrv5DA4OxUrYmNcf9Yj3GF5MGzfmqMChFG82Zp2BBsFSdcZLfCzbqwpA\u0026h=Z3cToGGsp2uNbNfKsRh1JEf_qnFoQHMHhA6Jr5oAg74", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "4" ], - "x-ms-client-request-id": [ "f01f2678-e4ef-4852-b231-727a195e9bb5" ], + "x-ms-client-request-id": [ "e03b6de4-07cb-4d24-8401-1907b05b6d91" ], "CommandName": [ "Install-AzConnectedMachinePatch" ], "FullCommandName": [ "Install-AzConnectedMachinePatch_InstallExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.5.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.1.0" ] }, "ContentHeaders": { } @@ -154,38 +154,38 @@ "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "999" ], "api-supported-versions": [ "2020-08-15-preview" ], - "x-ms-request-id": [ "82e7c9b4-d9ab-4f1e-bd03-3978f0a28a3d" ], - "x-ms-correlation-request-id": [ "82e7c9b4-d9ab-4f1e-bd03-3978f0a28a3d" ], - "x-ms-routing-request-id": [ "EASTUS2:20240919T223808Z:82e7c9b4-d9ab-4f1e-bd03-3978f0a28a3d" ], + "x-ms-request-id": [ "bb9d9d9b-fe3a-4ddb-8a8a-50b9d37b24ce" ], + "x-ms-correlation-request-id": [ "bb9d9d9b-fe3a-4ddb-8a8a-50b9d37b24ce" ], + "x-ms-routing-request-id": [ "EASTUS2:20241007T201408Z:bb9d9d9b-fe3a-4ddb-8a8a-50b9d37b24ce" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: FB9CF82AA8A34F03B2BF5EC3EBFD4C84 Ref B: MNZ221060618027 Ref C: 2024-09-19T22:38:08Z" ], - "Date": [ "Thu, 19 Sep 2024 22:38:08 GMT" ] + "X-MSEdge-Ref": [ "Ref A: A4A87A90B5054B06BF61517135512385 Ref B: MNZ221060609009 Ref C: 2024-10-07T20:14:08Z" ], + "Date": [ "Mon, 07 Oct 2024 20:14:08 GMT" ] }, "ContentHeaders": { "Content-Length": [ "426" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"startDateTime\":\"2024-09-19T22:35:05.7211311Z\",\"lastModifiedDateTime\":\"2024-09-19T22:37:20.4799196Z\",\"startedBy\":\"User\",\"patchServiceUsed\":\"WU\",\"status\":\"Succeeded\",\"maintenanceWindowExceeded\":false,\"rebootStatus\":\"NotNeeded\",\"notSelectedPatchCount\":3,\"pendingPatchCount\":0,\"failedPatchCount\":0,\"installedPatchCount\":0,\"excludedPatchCount\":0,\"osType\":\"Windows\",\"installationActivityId\":\"0da690e3-5b33-467b-928b-2741d0e96936\"}", + "Content": "{\"startDateTime\":\"2024-10-07T20:11:06.0907663Z\",\"lastModifiedDateTime\":\"2024-10-07T20:13:16.3578305Z\",\"startedBy\":\"User\",\"patchServiceUsed\":\"WU\",\"status\":\"Succeeded\",\"maintenanceWindowExceeded\":false,\"rebootStatus\":\"NotNeeded\",\"notSelectedPatchCount\":3,\"pendingPatchCount\":0,\"failedPatchCount\":0,\"installedPatchCount\":0,\"excludedPatchCount\":0,\"osType\":\"Windows\",\"installationActivityId\":\"cb45626c-2d96-47bd-bfcd-6c456534d8a6\"}", "isContentBase64": false } }, - "Install-AzConnectedMachinePatch+[NoContext]+Install+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/updateCenterOperationResults/0da690e3-5b33-467b-928b-2741d0e96936?api-version=2024-05-20-preview\u0026t=638623821059523491\u0026c=MIIHpTCCBo2gAwIBAgITfwN43MjEi0W8quEp-gAEA3jcyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwNjI0MTIwMzUxWhcNMjUwNjE5MTIwMzUxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALiUzQ72miF3S8xuwVdDASkfTayfNuL2xoGjIYUp6ggSGWwqcFLd9Wyqc3F6x8NaURchp8S0iOYM5xMdEBYAsj1xu3zzvdMwM4vUqHIbG6w3GEP4tj7-UIz-btgan_NW7rOEM9oubY9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faKI0NCwEG85mULc7ST2E_vbYdrQhKq_vjAenGGm4KkfVYIFv_FPSkTRgm8fovFNgKULSR6xGYJbM0rH8k_p4NxT3mJwltxeCO2-YgSrZ4XUxn1j7FfmbS_oWqRElt2GOMDClRJ8ROrFvBJ9auLJgQ6iXsf38uFaXKt3sUl6IbS_22PCAoBXZ3eGLhPGRyRWeMSnEWhpF1Lq97tiGNdMHBLW5WDuqmZeflenPchcB3OYFt-58WdVMFW5VIBd1rrpJDgVIhwTBi5ts-q-bV74duNroeQ_GFUJWANnD6rPfLYDbK-wY8K844-8ylPgrvoYKap_7jv_cKqJ8YtFixxw\u0026h=b5HMbYyM9jfrDi2o1_u5RJ9IhihPE6r8pJQ-UO4uRNU+5": { + "Install-AzConnectedMachinePatch+[NoContext]+Install+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/updateCenterOperationResults/cb45626c-2d96-47bd-bfcd-6c456534d8a6?api-version=2024-07-10\u0026t=638639286662210155\u0026c=MIIHpTCCBo2gAwIBAgITOgOyui871wRtge60rAAEA7K6LzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSU5GUkEgQ0EgMDEwHhcNMjQwOTIyMTIyOTEzWhcNMjUwMzIxMTIyOTEzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALthCEIs4vwfpBtc8a6akzk9FNp-luTjsKhTETKForQzaFdF5S6PDjwZJVAOcVWePFAecP08Qp1FzfiX_Cl9StTirn6FO-MjJbWSG2THMvz756N87v6UNTXfNr29-Y-iFxGXE0LRwZ39GG4hV9nUekLb8OlN6VC48-A54O0iJybH12xGD4eKL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NLhs3xO3s96-OAaKYh5tO6fDGgtmllYHOvSq4u3F1X8WZFmKcg82ZfiwUe3MjXTnTDSR0FWeAORqk6llMEOLsOH87f-Qbt2-3Q7b_GufyemLcfSvzXm2yAQ4KsF20VkWW4oTC3wdV862Tr-_ggdKKc0jsmLouJZ8PZEMjU_dN77uGuj150zPaO9sQ0UcnuuiyhZ6Q0fmLj_wps53HImQYFJd5xsOaBGKsKeU2WX12S6FNKUGWvY-c4v9h_vx7hNVn2XRneUsCW5l_3N5Id_aaUGgjnjyvtRgyOQ6LYQrs8Rylj8WsmnagLH565sZQ\u0026h=oICKcGoyPzsRPe5-Ic2d-60djjGbE0fq8VBd7rg-u70+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/updateCenterOperationResults/0da690e3-5b33-467b-928b-2741d0e96936?api-version=2024-05-20-preview\u0026t=638623821059523491\u0026c=MIIHpTCCBo2gAwIBAgITfwN43MjEi0W8quEp-gAEA3jcyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwNjI0MTIwMzUxWhcNMjUwNjE5MTIwMzUxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALiUzQ72miF3S8xuwVdDASkfTayfNuL2xoGjIYUp6ggSGWwqcFLd9Wyqc3F6x8NaURchp8S0iOYM5xMdEBYAsj1xu3zzvdMwM4vUqHIbG6w3GEP4tj7-UIz-btgan_NW7rOEM9oubY9dUtfuCg-mayRYdWezidp70abA2mUEj9ioVQ0CKe9kIzMPn7WFnuLRExud0yMQzDsW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NgKULSR6xGYJbM0rH8k_p4NxT3mJwltxeCO2-YgSrZ4XUxn1j7FfmbS_oWqRElt2GOMDClRJ8ROrFvBJ9auLJgQ6iXsf38uFaXKt3sUl6IbS_22PCAoBXZ3eGLhPGRyRWeMSnEWhpF1Lq97tiGNdMHBLW5WDuqmZeflenPchcB3OYFt-58WdVMFW5VIBd1rrpJDgVIhwTBi5ts-q-bV74duNroeQ_GFUJWANnD6rPfLYDbK-wY8K844-8ylPgrvoYKap_7jv_cKqJ8YtFixxw\u0026h=b5HMbYyM9jfrDi2o1_u5RJ9IhihPE6r8pJQ-UO4uRNU", + "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/updateCenterOperationResults/cb45626c-2d96-47bd-bfcd-6c456534d8a6?api-version=2024-07-10\u0026t=638639286662210155\u0026c=MIIHpTCCBo2gAwIBAgITOgOyui871wRtge60rAAEA7K6LzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSU5GUkEgQ0EgMDEwHhcNMjQwOTIyMTIyOTEzWhcNMjUwMzIxMTIyOTEzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALthCEIs4vwfpBtc8a6akzk9FNp-luTjsKhTETKForQzaFdF5S6PDjwZJVAOcVWePFAecP08Qp1FzfiX_Cl9StTirn6FO-MjJbWSG2THMvz756N87v6UNTXfNr29-Y-iFxGXE0LRwZ39GG4hV9nUekLb8OlN6VC48-A54O0iJybH12xGD4eKLbn4ilMqeYCyiivgk_AAxCvO75VjkDUu1PztXTqXfeLvWxaeqT1RTux_k8SPeFde5JPpWGKFNih2uv3JG5KjyszNBV6b2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-Qbt2-3Q7b_GufyemLcfSvzXm2yAQ4KsF20VkWW4oTC3wdV862Tr-_ggdKKc0jsmLouJZ8PZEMjU_dN77uGuj150zPaO9sQ0UcnuuiyhZ6Q0fmLj_wps53HImQYFJd5xsOaBGKsKeU2WX12S6FNKUGWvY-c4v9h_vx7hNVn2XRneUsCW5l_3N5Id_aaUGgjnjyvtRgyOQ6LYQrs8Rylj8WsmnagLH565sZQ\u0026h=oICKcGoyPzsRPe5-Ic2d-60djjGbE0fq8VBd7rg-u70", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "5" ], - "x-ms-client-request-id": [ "f01f2678-e4ef-4852-b231-727a195e9bb5" ], + "x-ms-client-request-id": [ "e03b6de4-07cb-4d24-8401-1907b05b6d91" ], "CommandName": [ "Install-AzConnectedMachinePatch" ], "FullCommandName": [ "Install-AzConnectedMachinePatch_InstallExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.5.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.1.0" ] }, "ContentHeaders": { } @@ -197,21 +197,21 @@ "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "999" ], "api-supported-versions": [ "2020-08-15-preview" ], - "x-ms-request-id": [ "2aed43d1-5f7a-42b5-b492-46080dffbc24" ], - "x-ms-correlation-request-id": [ "2aed43d1-5f7a-42b5-b492-46080dffbc24" ], - "x-ms-routing-request-id": [ "EASTUS2:20240919T223809Z:2aed43d1-5f7a-42b5-b492-46080dffbc24" ], + "x-ms-request-id": [ "5366f9ab-c23b-484d-80f3-f2cee53632e1" ], + "x-ms-correlation-request-id": [ "5366f9ab-c23b-484d-80f3-f2cee53632e1" ], + "x-ms-routing-request-id": [ "EASTUS2:20241007T201408Z:5366f9ab-c23b-484d-80f3-f2cee53632e1" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: F144570F5AA44B599F79927BFF7E275A Ref B: MNZ221060618027 Ref C: 2024-09-19T22:38:08Z" ], - "Date": [ "Thu, 19 Sep 2024 22:38:08 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 84FA163F1532427FB9A09E7CB6D85F75 Ref B: MNZ221060609009 Ref C: 2024-10-07T20:14:08Z" ], + "Date": [ "Mon, 07 Oct 2024 20:14:08 GMT" ] }, "ContentHeaders": { "Content-Length": [ "426" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"startDateTime\":\"2024-09-19T22:35:05.7211311Z\",\"lastModifiedDateTime\":\"2024-09-19T22:37:20.4799196Z\",\"startedBy\":\"User\",\"patchServiceUsed\":\"WU\",\"status\":\"Succeeded\",\"maintenanceWindowExceeded\":false,\"rebootStatus\":\"NotNeeded\",\"notSelectedPatchCount\":3,\"pendingPatchCount\":0,\"failedPatchCount\":0,\"installedPatchCount\":0,\"excludedPatchCount\":0,\"osType\":\"Windows\",\"installationActivityId\":\"0da690e3-5b33-467b-928b-2741d0e96936\"}", + "Content": "{\"startDateTime\":\"2024-10-07T20:11:06.0907663Z\",\"lastModifiedDateTime\":\"2024-10-07T20:13:16.3578305Z\",\"startedBy\":\"User\",\"patchServiceUsed\":\"WU\",\"status\":\"Succeeded\",\"maintenanceWindowExceeded\":false,\"rebootStatus\":\"NotNeeded\",\"notSelectedPatchCount\":3,\"pendingPatchCount\":0,\"failedPatchCount\":0,\"installedPatchCount\":0,\"excludedPatchCount\":0,\"osType\":\"Windows\",\"installationActivityId\":\"cb45626c-2d96-47bd-bfcd-6c456534d8a6\"}", "isContentBase64": false } } diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/test/Invoke-AzConnectedAssessMachinePatch.Recording.json b/src/ConnectedMachine/ConnectedMachine.Autorest/test/Invoke-AzConnectedAssessMachinePatch.Recording.json index d02259c91879..ec21fee38a22 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/test/Invoke-AzConnectedAssessMachinePatch.Recording.json +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/test/Invoke-AzConnectedAssessMachinePatch.Recording.json @@ -1,17 +1,17 @@ { - "Invoke-AzConnectedAssessMachinePatch+[NoContext]+Assess+$POST+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine/assessPatches?api-version=2024-05-20-preview+1": { + "Invoke-AzConnectedAssessMachinePatch+[NoContext]+Assess+$POST+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine/assessPatches?api-version=2024-07-10+1": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine/assessPatches?api-version=2024-05-20-preview", + "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine/assessPatches?api-version=2024-07-10", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "1" ], - "x-ms-client-request-id": [ "8d828f2e-a5f1-4c17-93b6-fd5ee29d220c" ], + "x-ms-client-request-id": [ "209f9a64-4471-4567-8406-1bc0eb03636f" ], "CommandName": [ "Invoke-AzConnectedAssessMachinePatch" ], "FullCommandName": [ "Invoke-AzConnectedAssessMachinePatch_Assess" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.5.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -22,19 +22,19 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/updateCenterOperationResults/7d2735db-26e2-4ccf-83ca-005787c805f7?api-version=2024-05-20-preview\u0026t=638623823704492949\u0026c=MIIHpTCCBo2gAwIBAgITfwN43MjEi0W8quEp-gAEA3jcyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwNjI0MTIwMzUxWhcNMjUwNjE5MTIwMzUxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALiUzQ72miF3S8xuwVdDASkfTayfNuL2xoGjIYUp6ggSGWwqcFLd9Wyqc3F6x8NaURchp8S0iOYM5xMdEBYAsj1xu3zzvdMwM4vUqHIbG6w3GEP4tj7-UIz-btgan_NW7rOEM9oubY9dUtfuCg-mayRYdWezidp70abA2mUEj9ioVQ0CKe9kIzMPn7WFnuLRExud0yMQzDsWTVbaC5Eb_4Hx6vT5bnnLDisXEEQMzG96dJaC9KQZ-tFvcDzGz6diIqaancayRsE-Q5tMUFT-HqewL96WS1vsLjZx9weQsiyqFubDmhMVRawaS26swEjXSSzVp-b3R4MYD-Oh7GkmiFECAwEAAaOCBJIwggSOMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8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X3Q\u0026h=mbOzu7uazGlV0sXtw5ZTAgggKPeM_KLy5igxpp6FAcw" ], + "Location": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/updateCenterOperationResults/70dcf4d3-4796-421f-8987-31422799f70f?api-version=2024-07-10\u0026t=638639282340916079\u0026c=MIIHpTCCBo2gAwIBAgITOgOyui871wRtge60rAAEA7K6LzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSU5GUkEgQ0EgMDEwHhcNMjQwOTIyMTIyOTEzWhcNMjUwMzIxMTIyOTEzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALthCEIs4vwfpBtc8a6akzk9FNp-luTjsKhTETKForQzaFdF5S6PDjwZJVAOcVWePFAecP08Qp1FzfiX_Cl9StTirn6FO-MjJbWSG2THMvz756N87v6UNTXfNr29-Y-iFxGXE0LRwZ39GG4hV9nUekLb8OlN6VC48-A54O0iJybH12xGD4eKLbn4ilMqeYCyiivgk_AAxCvO75VjkDUu1PztXTqXfeLvWxaeqT1RTux_k8SPeFde5JPpWGKFNih2uv3JG5KjyszNBV6b2MaWQRiNYIiPo9N_DvTiv2r7BWNvocSISt9wLymfNp0mmAvGajmSbXqs2iphrYgHuVIhOskCAwEAAaOCBJIwggSOMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRw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"api-supported-versions": [ "2020-08-15-preview" ], - "x-ms-client-request-id": [ "8d828f2e-a5f1-4c17-93b6-fd5ee29d220c" ], + "x-ms-client-request-id": [ "209f9a64-4471-4567-8406-1bc0eb03636f" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], - "x-ms-request-id": [ "fe6123d8-ee75-48d0-bcb4-b5415a4c6087" ], - "x-ms-correlation-request-id": [ "fe6123d8-ee75-48d0-bcb4-b5415a4c6087" ], - "x-ms-routing-request-id": [ "EASTUS2:20240919T223930Z:fe6123d8-ee75-48d0-bcb4-b5415a4c6087" ], + "x-ms-request-id": [ "8893257f-e74f-4ab8-b558-a8f74cb61c7a" ], + "x-ms-correlation-request-id": [ "8893257f-e74f-4ab8-b558-a8f74cb61c7a" ], + "x-ms-routing-request-id": [ "EASTUS2:20241007T200354Z:8893257f-e74f-4ab8-b558-a8f74cb61c7a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: D6A54A9934074B0AB6A60817693A7404 Ref B: MNZ221060619025 Ref C: 2024-09-19T22:39:29Z" ], - "Date": [ "Thu, 19 Sep 2024 22:39:29 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 419B81B712B54744BEA5B9088711299F Ref B: MNZ221060610053 Ref C: 2024-10-07T20:03:53Z" ], + "Date": [ "Mon, 07 Oct 2024 20:03:53 GMT" ] }, "ContentHeaders": { "Expires": [ "-1" ], @@ -44,20 +44,20 @@ "isContentBase64": false } }, - "Invoke-AzConnectedAssessMachinePatch+[NoContext]+Assess+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/updateCenterOperationResults/7d2735db-26e2-4ccf-83ca-005787c805f7?api-version=2024-05-20-preview\u0026t=638623823704492949\u0026c=MIIHpTCCBo2gAwIBAgITfwN43MjEi0W8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GDAWgBSuecJrXSWIEwb2BwnDl3x7l48dVTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADbkVmxlTl8VUMrDJBuRWlmxRWKlxGiR-kZINt99ksV65ZBhsigLjAZYo4HpzQydRwwPVGUebtBD3XhFnalnYK3EoU3yr5LEyfJCQqOCPvAt1AZ3bMR5moP6HXLcSlsDicH7R97FRrKO_6GywgIPDmt2Mm2VBO6p3qPCi2do79OCNlD3OpKaWuuuC6lnZB1ilSIi1w9vpGdji0ixc_dnfMVgL_z1lnM1nLDCsALgv8ghCQDVX4h_Net36CgZgv16gbE71947exvQNJZVVQfXQe0YRTktFsCJVlPmvV5d0KukZUDMAiH0oFJCto8W6ggMMy7u4JLzsLIxcJxrFMaGaz8\u0026s=Go5uODkeXd7PkBz62O_mZnxMtk35yFIkph6X8_BoD16xJaleo_b5wgHpxG7r9gEZdA_yAvWHHmI-lu8l9Tq_fIlN0G3q4GPS0fpwl9FORCI1mgIPN8YmHtXrjox7QzAesQj9QOZDgh0jD5bahx_MBV5hoeVAojhu83qhby5nTLbf2JP_mVfAVElxEATroNq117_PwGs0SeAjz0bwT1sQlZ5TMtQV6_smbYvrlJ9mrC07XvJTo5QiAfsggg3tdpEIXnkbXwOWp03k08fXQycOoxdo0XvXuj8VwlYwvkyCQXLyucDhhFjQJjJCgZkxGy410edKyIwmuHLEgtlfv5jX3Q\u0026h=mbOzu7uazGlV0sXtw5ZTAgggKPeM_KLy5igxpp6FAcw+2": { + "Invoke-AzConnectedAssessMachinePatch+[NoContext]+Assess+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/updateCenterOperationResults/70dcf4d3-4796-421f-8987-31422799f70f?api-version=2024-07-10\u0026t=638639282340916079\u0026c=MIIHpTCCBo2gAwIBAgITOgOyui871wRtge60rAAEA7K6LzANBgkqhkiG9w0BAQsFADBEMRMwEQY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ggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAHkWc1KMstXAU5p0ciSSzPoB_W772N_r2ITPfnNv7OdZGLyDL8VTUXFgLP_lVJgsrUcSXJi6GSjDB9ww5vQCsXJQgzO4bCx-jKgHjqphvAtqaiiUEs6HJZYAXzjGr6BPLIlx2qov7eiI-vLqT3h9gqiUGYjLwwKJdO4PIGGzt5oIY5oWtLkqoxoad8CfpX7z8WM9YAUv1l-majml_BXWMmN0t5BbCB5MAuZPnD2rg3mtvh4FEV5pnTtTLPwpw7AAt-9DReZQOgsVkBLNSAzvuXHJzMAm03Gr-uZw7fY_-p1aqDgZ4KMTnQqVr8NvFE02_Gj_5hIaAdCp1bUhZ3ZrmZY\u0026s=ktqpjYdj0uJNzGcC-cvLp07yLKEH4cEFVIAQFMn0HRlAquolx-gu_CDoKlr5LCnQ8sUQ12sC9Jr3SlxXCFSy-I8FB8SsQ0MbVJKMzUqYDm-346PTbNulfmVR80k2OZ61edP8_7wCkWsOxwcXOWKBUMNu215xgdjH17-n7UxBijGAxpYyPnK2I7VADTdIT16kOCvv9-65f7XwHbKPXNIWeHqVURWws3AcFCHgyFlXztUcfkxzOJb2rffb_bQCW7fhFry70pAFc46J25sgsU7J0ollmEvCZL_nNXQwnbU13CQcfze65MGkiucLe46AouWvrxKpwak94cZUjcrh-ZukGw\u0026h=JAmlK9NCDzmtpusiGCNnt-sghnVTlFBCSQCbPiv9N68+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/updateCenterOperationResults/7d2735db-26e2-4ccf-83ca-005787c805f7?api-version=2024-05-20-preview\u0026t=638623823704492949\u0026c=MIIHpTCCBo2gAwIBAgITfwN43MjEi0W8quEp-gAEA3jcyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRY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vcNAQELBQADggEBADbkVmxlTl8VUMrDJBuRWlmxRWKlxGiR-kZINt99ksV65ZBhsigLjAZYo4HpzQydRwwPVGUebtBD3XhFnalnYK3EoU3yr5LEyfJCQqOCPvAt1AZ3bMR5moP6HXLcSlsDicH7R97FRrKO_6GywgIPDmt2Mm2VBO6p3qPCi2do79OCNlD3OpKaWuuuC6lnZB1ilSIi1w9vpGdji0ixc_dnfMVgL_z1lnM1nLDCsALgv8ghCQDVX4h_Net36CgZgv16gbE71947exvQNJZVVQfXQe0YRTktFsCJVlPmvV5d0KukZUDMAiH0oFJCto8W6ggMMy7u4JLzsLIxcJxrFMaGaz8\u0026s=Go5uODkeXd7PkBz62O_mZnxMtk35yFIkph6X8_BoD16xJaleo_b5wgHpxG7r9gEZdA_yAvWHHmI-lu8l9Tq_fIlN0G3q4GPS0fpwl9FORCI1mgIPN8YmHtXrjox7QzAesQj9QOZDgh0jD5bahx_MBV5hoeVAojhu83qhby5nTLbf2JP_mVfAVElxEATroNq117_PwGs0SeAjz0bwT1sQlZ5TMtQV6_smbYvrlJ9mrC07XvJTo5QiAfsggg3tdpEIXnkbXwOWp03k08fXQycOoxdo0XvXuj8VwlYwvkyCQXLyucDhhFjQJjJCgZkxGy410edKyIwmuHLEgtlfv5jX3Q\u0026h=mbOzu7uazGlV0sXtw5ZTAgggKPeM_KLy5igxpp6FAcw", + "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/updateCenterOperationResults/70dcf4d3-4796-421f-8987-31422799f70f?api-version=2024-07-10\u0026t=638639282340916079\u0026c=MIIHpTCCBo2gAwIBAgITOgOyui871wRtge60rAAEA7K6LzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSU5GUkEgQ0EgMDEwHhcNMjQwOTIyMTIyOTEzWhcNMjUwMz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i6GSjDB9ww5vQCsXJQgzO4bCx-jKgHjqphvAtqaiiUEs6HJZYAXzjGr6BPLIlx2qov7eiI-vLqT3h9gqiUGYjLwwKJdO4PIGGzt5oIY5oWtLkqoxoad8CfpX7z8WM9YAUv1l-majml_BXWMmN0t5BbCB5MAuZPnD2rg3mtvh4FEV5pnTtTLPwpw7AAt-9DReZQOgsVkBLNSAzvuXHJzMAm03Gr-uZw7fY_-p1aqDgZ4KMTnQqVr8NvFE02_Gj_5hIaAdCp1bUhZ3ZrmZY\u0026s=ktqpjYdj0uJNzGcC-cvLp07yLKEH4cEFVIAQFMn0HRlAquolx-gu_CDoKlr5LCnQ8sUQ12sC9Jr3SlxXCFSy-I8FB8SsQ0MbVJKMzUqYDm-346PTbNulfmVR80k2OZ61edP8_7wCkWsOxwcXOWKBUMNu215xgdjH17-n7UxBijGAxpYyPnK2I7VADTdIT16kOCvv9-65f7XwHbKPXNIWeHqVURWws3AcFCHgyFlXztUcfkxzOJb2rffb_bQCW7fhFry70pAFc46J25sgsU7J0ollmEvCZL_nNXQwnbU13CQcfze65MGkiucLe46AouWvrxKpwak94cZUjcrh-ZukGw\u0026h=JAmlK9NCDzmtpusiGCNnt-sghnVTlFBCSQCbPiv9N68", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "2" ], - "x-ms-client-request-id": [ "8d828f2e-a5f1-4c17-93b6-fd5ee29d220c" ], + "x-ms-client-request-id": [ "209f9a64-4471-4567-8406-1bc0eb03636f" ], "CommandName": [ "Invoke-AzConnectedAssessMachinePatch" ], "FullCommandName": [ "Invoke-AzConnectedAssessMachinePatch_Assess" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.5.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.1.0" ] }, "ContentHeaders": { } @@ -67,19 +67,19 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/updateCenterOperationResults/7d2735db-26e2-4ccf-83ca-005787c805f7?api-version=2024-05-20-preview\u0026t=638623824313160921\u0026c=MIIHpTCCBo2gAwIBAgITfwN43MjEi0W8quEp-gAEA3jcyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwNjI0MTIwMzUxWhcNMjUwNjE5MTIwMzUxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALiUzQ72miF3S8xuwVdDASkfTayfNuL2xoGjIYUp6ggSGWwqcFLd9Wyqc3F6x8NaURchp8S0iOYM5xMdEBYAsj1xu3zzvdMwM4vUqHIbG6w3GEP4tj7-UIz-btgan_NW7rOEM9oubY9dUtfuCg-mayRYdWezidp70abA2mUEj9ioVQ0CKe9kIzMPn7WFnuLRExud0yMQzDsWTVbaC5Eb_4Hx6vT5bnnLDisXEEQMzG96dJaC9KQZ-tFvcDzGz6diIqaancayRsE-Q5tMUFT-HqewL96WS1vsLjZx9weQsiyqFubDmhMVRawaS26swEjXSSzVp-b3R4MYD-Oh7GkmiFECAwEAAaOCBJIwggSOMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBz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management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/updateCenterOperationResults/70dcf4d3-4796-421f-8987-31422799f70f?api-version=2024-07-10\u0026t=638639282948964871\u0026c=MIIHpTCCBo2gAwIBAgITOgOyui871wRtge60rAAEA7K6LzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSU5GUkEgQ0EgMDEwHhcNMjQwOTIyMTIyOTEzWhcNMjUwMzIxMTIyOTEzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALthCEIs4vwfpBtc8a6akzk9FNp-luTjsKhTETKForQzaFdF5S6PDjwZJVAOcVWePFAecP08Qp1FzfiX_Cl9StTirn6FO-MjJbWSG2THMvz756N87v6UNTXfNr29-Y-iFxGXE0LRwZ39GG4hV9nUekLb8OlN6VC48-A54O0iJybH12xGD4eKLbn4ilMqeYCyiivgk_AAxCvO75VjkDUu1PztXTqXfeLvWxaeqT1RTux_k8SPeFde5JPpWGKFNih2uv3JG5KjyszNBV6b2MaWQRiNYIiPo9N_DvTiv2r7BWNvocSISt9wLymfNp0mmAvGajmSbXqs2iphrYgHuVIhOskCAwEAAaOCBJIwggSOMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQlkyUEtJSU5UQ0Ew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2e-a5f1-4c17-93b6-fd5ee29d220c" ], + "x-ms-client-request-id": [ "209f9a64-4471-4567-8406-1bc0eb03636f" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "999" ], - "x-ms-request-id": [ "0a884cfc-1922-489f-a7db-9282b537b8f6" ], - "x-ms-correlation-request-id": [ "0a884cfc-1922-489f-a7db-9282b537b8f6" ], - "x-ms-routing-request-id": [ "EASTUS2:20240919T224031Z:0a884cfc-1922-489f-a7db-9282b537b8f6" ], + "x-ms-request-id": [ "c7755573-24ac-4c10-b382-22d60b23d51c" ], + "x-ms-correlation-request-id": [ "c7755573-24ac-4c10-b382-22d60b23d51c" ], + "x-ms-routing-request-id": [ "EASTUS2:20241007T200454Z:c7755573-24ac-4c10-b382-22d60b23d51c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: E7C8E974927948CF9DECAAFC90981C20 Ref B: MNZ221060619025 Ref C: 2024-09-19T22:40:31Z" ], - "Date": [ "Thu, 19 Sep 2024 22:40:31 GMT" ] + "X-MSEdge-Ref": [ "Ref A: B0363357B35D45308726B8AECED01926 Ref B: MNZ221060610053 Ref C: 2024-10-07T20:04:54Z" ], + "Date": [ "Mon, 07 Oct 2024 20:04:54 GMT" ] }, "ContentHeaders": { "Expires": [ "-1" ], @@ -89,20 +89,20 @@ "isContentBase64": false } }, - "Invoke-AzConnectedAssessMachinePatch+[NoContext]+Assess+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/updateCenterOperationResults/7d2735db-26e2-4ccf-83ca-005787c805f7?api-version=2024-05-20-preview\u0026t=638623824313160921\u0026c=MIIHpTCCBo2gAwIBAgITfwN43MjEi0W8quEp-gAEA3jcyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JM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IKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADbkVmxlTl8VUMrDJBuRWlmxRWKlxGiR-kZINt99ksV65ZBhsigLjAZYo4HpzQydRwwPVGUebtBD3XhFnalnYK3EoU3yr5LEyfJCQqOCPvAt1AZ3bMR5moP6HXLcSlsDicH7R97FRrKO_6GywgIPDmt2Mm2VBO6p3qPCi2do79OCNlD3OpKaWuuuC6lnZB1ilSIi1w9vpGdji0ixc_dnfMVgL_z1lnM1nLDCsALgv8ghCQDVX4h_Net36CgZgv16gbE71947exvQNJZVVQfXQe0YRTktFsCJVlPmvV5d0KukZUDMAiH0oFJCto8W6ggMMy7u4JLzsLIxcJxrFMaGaz8\u0026s=PI2x5ibft1FeAozuX4NIpBbAQf3QCO6rFP3w1TZngdJldi_c77zNv1doe4zqLO2nZq56lKr_4_DxPzksRgyPQztElrFW1TwejGV1KMeF-4uzPGL_t9vWkMzgnSp6PPhRIa4M3-ewRFkiO6mf8xaoOPtX8C1BoPmTueB1Sh2awZJty8T4AT1t51YxA8FPqSd_rZWVmrKo-9wMsHqYxfE_0iZ4RimECq7pUZObLxidgOs4EXgLSaBgpiNvy4OTjG3jFq4zIJCra_zTPZcKrOQwPUHWIZO_ThIz-mrwmUPOSVoRTCFCf3h-9PC_Uhg_h9IxkYhtAK5SloFYVL7KM29jbQ\u0026h=-KdDK_d3c2X7SgVVMVwt2ypZdITtqE_n5wCYCY3x__0+3": { + "Invoke-AzConnectedAssessMachinePatch+[NoContext]+Assess+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/updateCenterOperationResults/70dcf4d3-4796-421f-8987-31422799f70f?api-version=2024-07-10\u0026t=638639282948964871\u0026c=MIIHpTCCBo2gAwIBAgITOgOyui871wRtge60rAAEA7K6LzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgY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MstXAU5p0ciSSzPoB_W772N_r2ITPfnNv7OdZGLyDL8VTUXFgLP_lVJgsrUcSXJi6GSjDB9ww5vQCsXJQgzO4bCx-jKgHjqphvAtqaiiUEs6HJZYAXzjGr6BPLIlx2qov7eiI-vLqT3h9gqiUGYjLwwKJdO4PIGGzt5oIY5oWtLkqoxoad8CfpX7z8WM9YAUv1l-majml_BXWMmN0t5BbCB5MAuZPnD2rg3mtvh4FEV5pnTtTLPwpw7AAt-9DReZQOgsVkBLNSAzvuXHJzMAm03Gr-uZw7fY_-p1aqDgZ4KMTnQqVr8NvFE02_Gj_5hIaAdCp1bUhZ3ZrmZY\u0026s=SgFBhBNoGsx4Tsw8YI8B_bhmiiT_2TVMxECKglc1kWrDPw2iasn8waqNO23rnZeIPGt7YwHvZD1h-umdkWeOK3TtQi5MVg6jCY4GxpLfNY4wX7yVr_hUiW1TcFluAmncyI4eBcxPaKziwIDqfgw3mg-SoX1EAlgxCO4lp5rd1QAYDv_WQ7gV9lVmtM5PXfdVA6b1kP-5EXbySTEQbANg8ETmfRdrnTUc6OdcTJx2YkrvX0aBN_vQeplbgxsbv3uY9APAz6Gotoq3qTFE888H8DkaeJ3uF-WNS1sL2QxkPNP-1YlVnKjtsIb62pNLQJgpIIlu1mHZOUT9_qGKH5WlFQ\u0026h=HVpbu_5EIcNmVLJiEsJSLLdnmc1IyUnLu8obYBGxl2Y+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/updateCenterOperationResults/7d2735db-26e2-4ccf-83ca-005787c805f7?api-version=2024-05-20-preview\u0026t=638623824313160921\u0026c=MIIHpTCCBo2gAwIBAgITfwN43MjEi0W8quEp-gAEA3jcyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ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xRWKlxGiR-kZINt99ksV65ZBhsigLjAZYo4HpzQydRwwPVGUebtBD3XhFnalnYK3EoU3yr5LEyfJCQqOCPvAt1AZ3bMR5moP6HXLcSlsDicH7R97FRrKO_6GywgIPDmt2Mm2VBO6p3qPCi2do79OCNlD3OpKaWuuuC6lnZB1ilSIi1w9vpGdji0ixc_dnfMVgL_z1lnM1nLDCsALgv8ghCQDVX4h_Net36CgZgv16gbE71947exvQNJZVVQfXQe0YRTktFsCJVlPmvV5d0KukZUDMAiH0oFJCto8W6ggMMy7u4JLzsLIxcJxrFMaGaz8\u0026s=PI2x5ibft1FeAozuX4NIpBbAQf3QCO6rFP3w1TZngdJldi_c77zNv1doe4zqLO2nZq56lKr_4_DxPzksRgyPQztElrFW1TwejGV1KMeF-4uzPGL_t9vWkMzgnSp6PPhRIa4M3-ewRFkiO6mf8xaoOPtX8C1BoPmTueB1Sh2awZJty8T4AT1t51YxA8FPqSd_rZWVmrKo-9wMsHqYxfE_0iZ4RimECq7pUZObLxidgOs4EXgLSaBgpiNvy4OTjG3jFq4zIJCra_zTPZcKrOQwPUHWIZO_ThIz-mrwmUPOSVoRTCFCf3h-9PC_Uhg_h9IxkYhtAK5SloFYVL7KM29jbQ\u0026h=-KdDK_d3c2X7SgVVMVwt2ypZdITtqE_n5wCYCY3x__0", + "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/updateCenterOperationResults/70dcf4d3-4796-421f-8987-31422799f70f?api-version=2024-07-10\u0026t=638639282948964871\u0026c=MIIHpTCCBo2gAwIBAgITOgOyui871wRtge60rAAEA7K6LzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSU5GUkEgQ0EgMDEwHhcNMjQwOTIyMTIyOTEzWhcNMjUwMzIxMTIyOTEzWjBAMT4wPAYDVQQDEz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gHjqphvAtqaiiUEs6HJZYAXzjGr6BPLIlx2qov7eiI-vLqT3h9gqiUGYjLwwKJdO4PIGGzt5oIY5oWtLkqoxoad8CfpX7z8WM9YAUv1l-majml_BXWMmN0t5BbCB5MAuZPnD2rg3mtvh4FEV5pnTtTLPwpw7AAt-9DReZQOgsVkBLNSAzvuXHJzMAm03Gr-uZw7fY_-p1aqDgZ4KMTnQqVr8NvFE02_Gj_5hIaAdCp1bUhZ3ZrmZY\u0026s=SgFBhBNoGsx4Tsw8YI8B_bhmiiT_2TVMxECKglc1kWrDPw2iasn8waqNO23rnZeIPGt7YwHvZD1h-umdkWeOK3TtQi5MVg6jCY4GxpLfNY4wX7yVr_hUiW1TcFluAmncyI4eBcxPaKziwIDqfgw3mg-SoX1EAlgxCO4lp5rd1QAYDv_WQ7gV9lVmtM5PXfdVA6b1kP-5EXbySTEQbANg8ETmfRdrnTUc6OdcTJx2YkrvX0aBN_vQeplbgxsbv3uY9APAz6Gotoq3qTFE888H8DkaeJ3uF-WNS1sL2QxkPNP-1YlVnKjtsIb62pNLQJgpIIlu1mHZOUT9_qGKH5WlFQ\u0026h=HVpbu_5EIcNmVLJiEsJSLLdnmc1IyUnLu8obYBGxl2Y", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "3" ], - "x-ms-client-request-id": [ "8d828f2e-a5f1-4c17-93b6-fd5ee29d220c" ], + "x-ms-client-request-id": [ "209f9a64-4471-4567-8406-1bc0eb03636f" ], "CommandName": [ "Invoke-AzConnectedAssessMachinePatch" ], "FullCommandName": [ "Invoke-AzConnectedAssessMachinePatch_Assess" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.5.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.1.0" ] }, "ContentHeaders": { } @@ -112,19 +112,19 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/updateCenterOperationResults/7d2735db-26e2-4ccf-83ca-005787c805f7?api-version=2024-05-20-preview\u0026t=638623824919294782\u0026c=MIIHpTCCBo2gAwIBAgITfwN43MjEi0W8quEp-gAEA3jcyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwNjI0MTIwMzUxWhcNMjUwNjE5MTIwMzUxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALiUzQ72miF3S8xuwVdDASkfTayfNuL2xoGjIYUp6ggSGWwqcFLd9Wyqc3F6x8NaURchp8S0iOYM5xMdEBYAsj1xu3zzvdMwM4vUqHIbG6w3GEP4tj7-UIz-btgan_NW7rOEM9oubY9dUtfuCg-mayRYdWezidp70abA2mUEj9ioVQ0CKe9kIzMPn7WFnuLRExud0yMQzDsWTVbaC5Eb_4Hx6vT5bnnLDisXEEQMzG96dJaC9KQZ-tFvcDzGz6diIqaancayRsE-Q5tMUFT-HqewL96WS1vsLjZx9weQsiyqFubDmhMVRawaS26swEjXSSzVp-b3R4MYD-Oh7GkmiFECAwEAAaOCBJIwggSOMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRw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ure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/updateCenterOperationResults/70dcf4d3-4796-421f-8987-31422799f70f?api-version=2024-07-10\u0026t=638639283557056268\u0026c=MIIHpTCCBo2gAwIBAgITOgOyui871wRtge60rAAEA7K6LzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSU5GUkEgQ0EgMDEwHhcNMjQwOTIyMTIyOTEzWhcNMjUwMzIxMTIyOTEzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALthCEIs4vwfpBtc8a6akzk9FNp-luTjsKhTETKForQzaFdF5S6PDjwZJVAOcVWePFAecP08Qp1FzfiX_Cl9StTirn6FO-MjJbWSG2THMvz756N87v6UNTXfNr29-Y-iFxGXE0LRwZ39GG4hV9nUekLb8OlN6VC48-A54O0iJybH12xGD4eKLbn4ilMqeYCyiivgk_AAxCvO75VjkDUu1PztXTqXfeLvWxaeqT1RTux_k8SPeFde5JPpWGKFNih2uv3JG5KjyszNBV6b2MaWQRiNYIiPo9N_DvTiv2r7BWNvocSISt9wLymfNp0mmAvGajmSbXqs2iphrYgHuVIhOskCAwEAAaOCBJIwggSOMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQlkyUEtJSU5UQ0EwMS5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YBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwEwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBTl2Ztn_PjsurvwwKidileIud8-YzAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAHkWc1KMstXAU5p0ciSSzPoB_W772N_r2ITPfnNv7OdZGLyDL8VTUXFgLP_lVJgsrUcSXJi6GSjDB9ww5vQCsXJQgzO4bCx-jKgHjqphvAtqaiiUEs6HJZYAXzjGr6BPLIlx2qov7eiI-vLqT3h9gqiUGYjLwwKJdO4PIGGzt5oIY5oWtLkqoxoad8CfpX7z8WM9YAUv1l-majml_BXWMmN0t5BbCB5MAuZPnD2rg3mtvh4FEV5pnTtTLPwpw7AAt-9DReZQOgsVkBLNSAzvuXHJzMAm03Gr-uZw7fY_-p1aqDgZ4KMTnQqVr8NvFE02_Gj_5hIaAdCp1bUhZ3ZrmZY\u0026s=SR2tFVxvdrz1D1FVI-IVP3UQvhhK28EZ78ureg-gIhzcKNoX2BdPn8MNpBe1kosNFC4NQs2NUjxV2tEI06xK6_-DzPMMA8zkYvs8FDQZZ2zQVBo-zBlKyzgikzKalpQ2RyklS1GefSA_EHaSuafjIzBh-MxP8lYGt8l3q91S3rIvf_kM1gXPDudRhHiRIpwGMnAkXCD9PAOK-zNw22gFJnQ_fjnc5vhp33T9Zay0uidmGXZCXWKdhbbVkxUxF5AUOXSvNC2oohg7L9ipVhgD5x_zAhar6D_maNcrkSL81aq7bMSghOVZd6lmMO8rxcH9sPyaM8d9onxFu38Pt4RtVg\u0026h=Q-zOxuTIK9Hs_hbew54m3OVEcXUs3IUpT-JTYHZWYyM" ], "Retry-After": [ "60" ], "api-supported-versions": [ "2020-08-15-preview" ], - "x-ms-client-request-id": [ "8d828f2e-a5f1-4c17-93b6-fd5ee29d220c" ], + "x-ms-client-request-id": [ "209f9a64-4471-4567-8406-1bc0eb03636f" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "999" ], - "x-ms-request-id": [ "1f9a55c1-b8fc-49cb-a6bf-4c48c5599dc0" ], - "x-ms-correlation-request-id": [ "1f9a55c1-b8fc-49cb-a6bf-4c48c5599dc0" ], - "x-ms-routing-request-id": [ "EASTUS2:20240919T224131Z:1f9a55c1-b8fc-49cb-a6bf-4c48c5599dc0" ], + "x-ms-request-id": [ "da9796ec-1c5a-439e-bb7b-7fe6e7eb1e8c" ], + "x-ms-correlation-request-id": [ "da9796ec-1c5a-439e-bb7b-7fe6e7eb1e8c" ], + "x-ms-routing-request-id": [ "EASTUS2:20241007T200555Z:da9796ec-1c5a-439e-bb7b-7fe6e7eb1e8c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 525481E7E60340538CBE062A904A78C5 Ref B: MNZ221060619025 Ref C: 2024-09-19T22:41:31Z" ], - "Date": [ "Thu, 19 Sep 2024 22:41:31 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 9FFAA3374ADE41E49775914EEA847262 Ref B: MNZ221060610053 Ref C: 2024-10-07T20:05:55Z" ], + "Date": [ "Mon, 07 Oct 2024 20:05:55 GMT" ] }, "ContentHeaders": { "Expires": [ "-1" ], @@ -134,20 +134,20 @@ "isContentBase64": false } }, - "Invoke-AzConnectedAssessMachinePatch+[NoContext]+Assess+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/updateCenterOperationResults/7d2735db-26e2-4ccf-83ca-005787c805f7?api-version=2024-05-20-preview\u0026t=638623824919294782\u0026c=MIIHpTCCBo2gAwIBAgITfwN43MjEi0W8quEp-gAEA3jcyDANBgkqhkiG9w0BA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l48dVTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADbkVmxlTl8VUMrDJBuRWlmxRWKlxGiR-kZINt99ksV65ZBhsigLjAZYo4HpzQydRwwPVGUebtBD3XhFnalnYK3EoU3yr5LEyfJCQqOCPvAt1AZ3bMR5moP6HXLcSlsDicH7R97FRrKO_6GywgIPDmt2Mm2VBO6p3qPCi2do79OCNlD3OpKaWuuuC6lnZB1ilSIi1w9vpGdji0ixc_dnfMVgL_z1lnM1nLDCsALgv8ghCQDVX4h_Net36CgZgv16gbE71947exvQNJZVVQfXQe0YRTktFsCJVlPmvV5d0KukZUDMAiH0oFJCto8W6ggMMy7u4JLzsLIxcJxrFMaGaz8\u0026s=PvniJN-_LNUXOCGSSaULASsSDi26Xfhrvh2WkvWVFeLnT1KWeuFEtMc3w8Wu50XCa5eKeTisvKiPRqEc3RjaRnrDKVGggd4teVpEBfZYR59uDYQClFQFczmaO2hm0oPNlay5lDmUmoJ1dZFmzBQK8gpX5Tq0VIv-KG8uv8sLZNGGvJum2yr4U_O7iXEPk1QNkapxxH2fdS2ULzhGkgGVZnG9hDskdNbF1ir_FX3HVNcqaFeYf2Hv7ask9mc2Wn0pgh6IQ_vAHA4NwIiHzxu1Po1VKEb13y0Ng37EtPZXQfYHEZIVXBwR4B91Tj8yisuS5y6QGkQjW-Z36HsCkmOqIA\u0026h=1cQ70ceOk5LveSLvZncDoXL3RKcgZYo9xncbTnnA7So+4": { + "Invoke-AzConnectedAssessMachinePatch+[NoContext]+Assess+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/updateCenterOperationResults/70dcf4d3-4796-421f-8987-31422799f70f?api-version=2024-07-10\u0026t=638639283557056268\u0026c=MIIHpTCCBo2gAwIBAgITOgOyui871wRtge60rAAEA7K6LzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYD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YBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAHkWc1KMstXAU5p0ciSSzPoB_W772N_r2ITPfnNv7OdZGLyDL8VTUXFgLP_lVJgsrUcSXJi6GSjDB9ww5vQCsXJQgzO4bCx-jKgHjqphvAtqaiiUEs6HJZYAXzjGr6BPLIlx2qov7eiI-vLqT3h9gqiUGYjLwwKJdO4PIGGzt5oIY5oWtLkqoxoad8CfpX7z8WM9YAUv1l-majml_BXWMmN0t5BbCB5MAuZPnD2rg3mtvh4FEV5pnTtTLPwpw7AAt-9DReZQOgsVkBLNSAzvuXHJzMAm03Gr-uZw7fY_-p1aqDgZ4KMTnQqVr8NvFE02_Gj_5hIaAdCp1bUhZ3ZrmZY\u0026s=SR2tFVxvdrz1D1FVI-IVP3UQvhhK28EZ78ureg-gIhzcKNoX2BdPn8MNpBe1kosNFC4NQs2NUjxV2tEI06xK6_-DzPMMA8zkYvs8FDQZZ2zQVBo-zBlKyzgikzKalpQ2RyklS1GefSA_EHaSuafjIzBh-MxP8lYGt8l3q91S3rIvf_kM1gXPDudRhHiRIpwGMnAkXCD9PAOK-zNw22gFJnQ_fjnc5vhp33T9Zay0uidmGXZCXWKdhbbVkxUxF5AUOXSvNC2oohg7L9ipVhgD5x_zAhar6D_maNcrkSL81aq7bMSghOVZd6lmMO8rxcH9sPyaM8d9onxFu38Pt4RtVg\u0026h=Q-zOxuTIK9Hs_hbew54m3OVEcXUs3IUpT-JTYHZWYyM+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/updateCenterOperationResults/7d2735db-26e2-4ccf-83ca-005787c805f7?api-version=2024-05-20-preview\u0026t=638623824919294782\u0026c=MIIHpTCCBo2gAwIBAgITfwN43MjEi0W8quEp-gAEA3jcyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYD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cNAQELBQADggEBADbkVmxlTl8VUMrDJBuRWlmxRWKlxGiR-kZINt99ksV65ZBhsigLjAZYo4HpzQydRwwPVGUebtBD3XhFnalnYK3EoU3yr5LEyfJCQqOCPvAt1AZ3bMR5moP6HXLcSlsDicH7R97FRrKO_6GywgIPDmt2Mm2VBO6p3qPCi2do79OCNlD3OpKaWuuuC6lnZB1ilSIi1w9vpGdji0ixc_dnfMVgL_z1lnM1nLDCsALgv8ghCQDVX4h_Net36CgZgv16gbE71947exvQNJZVVQfXQe0YRTktFsCJVlPmvV5d0KukZUDMAiH0oFJCto8W6ggMMy7u4JLzsLIxcJxrFMaGaz8\u0026s=PvniJN-_LNUXOCGSSaULASsSDi26Xfhrvh2WkvWVFeLnT1KWeuFEtMc3w8Wu50XCa5eKeTisvKiPRqEc3RjaRnrDKVGggd4teVpEBfZYR59uDYQClFQFczmaO2hm0oPNlay5lDmUmoJ1dZFmzBQK8gpX5Tq0VIv-KG8uv8sLZNGGvJum2yr4U_O7iXEPk1QNkapxxH2fdS2ULzhGkgGVZnG9hDskdNbF1ir_FX3HVNcqaFeYf2Hv7ask9mc2Wn0pgh6IQ_vAHA4NwIiHzxu1Po1VKEb13y0Ng37EtPZXQfYHEZIVXBwR4B91Tj8yisuS5y6QGkQjW-Z36HsCkmOqIA\u0026h=1cQ70ceOk5LveSLvZncDoXL3RKcgZYo9xncbTnnA7So", + "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/updateCenterOperationResults/70dcf4d3-4796-421f-8987-31422799f70f?api-version=2024-07-10\u0026t=638639283557056268\u0026c=MIIHpTCCBo2gAwIBAgITOgOyui871wRtge60rAAEA7K6LzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSU5GUkEgQ0EgMDEwHhcNMjQwOTIyMTIyOTEz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VJgsrUcSXJi6GSjDB9ww5vQCsXJQgzO4bCx-jKgHjqphvAtqaiiUEs6HJZYAXzjGr6BPLIlx2qov7eiI-vLqT3h9gqiUGYjLwwKJdO4PIGGzt5oIY5oWtLkqoxoad8CfpX7z8WM9YAUv1l-majml_BXWMmN0t5BbCB5MAuZPnD2rg3mtvh4FEV5pnTtTLPwpw7AAt-9DReZQOgsVkBLNSAzvuXHJzMAm03Gr-uZw7fY_-p1aqDgZ4KMTnQqVr8NvFE02_Gj_5hIaAdCp1bUhZ3ZrmZY\u0026s=SR2tFVxvdrz1D1FVI-IVP3UQvhhK28EZ78ureg-gIhzcKNoX2BdPn8MNpBe1kosNFC4NQs2NUjxV2tEI06xK6_-DzPMMA8zkYvs8FDQZZ2zQVBo-zBlKyzgikzKalpQ2RyklS1GefSA_EHaSuafjIzBh-MxP8lYGt8l3q91S3rIvf_kM1gXPDudRhHiRIpwGMnAkXCD9PAOK-zNw22gFJnQ_fjnc5vhp33T9Zay0uidmGXZCXWKdhbbVkxUxF5AUOXSvNC2oohg7L9ipVhgD5x_zAhar6D_maNcrkSL81aq7bMSghOVZd6lmMO8rxcH9sPyaM8d9onxFu38Pt4RtVg\u0026h=Q-zOxuTIK9Hs_hbew54m3OVEcXUs3IUpT-JTYHZWYyM", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "4" ], - "x-ms-client-request-id": [ "8d828f2e-a5f1-4c17-93b6-fd5ee29d220c" ], + "x-ms-client-request-id": [ "209f9a64-4471-4567-8406-1bc0eb03636f" ], "CommandName": [ "Invoke-AzConnectedAssessMachinePatch" ], "FullCommandName": [ "Invoke-AzConnectedAssessMachinePatch_Assess" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.5.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.1.0" ] }, "ContentHeaders": { } @@ -157,19 +157,19 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/updateCenterOperationResults/7d2735db-26e2-4ccf-83ca-005787c805f7?api-version=2024-05-20-preview\u0026t=638623825526965499\u0026c=MIIHpTCCBo2gAwIBAgITfwN43MjEi0W8quEp-gAEA3jcyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwNjI0MTIwMzUxWhcNMjUwNjE5MTIwMzUxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALiUzQ72miF3S8xuwVdDASkfTayfNuL2xoGjIYUp6ggSGWwqcFLd9Wyqc3F6x8NaURchp8S0iOYM5xMdEBYAsj1xu3zzvdMwM4vUqHIbG6w3GEP4tj7-UIz-btgan_NW7rOEM9oubY9dUtfuCg-mayRYdWezidp70abA2mUEj9ioVQ0CKe9kIzMPn7WFnuLRExud0yMQzDsWTVbaC5Eb_4Hx6vT5bnnLDisXEEQMzG96dJaC9KQZ-tFvcDzGz6diIqaancayRsE-Q5tMUFT-HqewL96WS1vsLjZx9weQsiyqFubDmhMVRawaS26swEjXSSzVp-b3R4MYD-Oh7GkmiFECAwEAAaOCBJIwggSOMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcB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q2qhSQSiMQ863xkk" ], + "Location": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/updateCenterOperationResults/70dcf4d3-4796-421f-8987-31422799f70f?api-version=2024-07-10\u0026t=638639284165617860\u0026c=MIIHpTCCBo2gAwIBAgITOgOyui871wRtge60rAAEA7K6LzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSU5GUkEgQ0EgMDEwHhcNMjQwOTIyMTIyOTEzWhcNMjUwMzIxMTIyOTEzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALthCEIs4vwfpBtc8a6akzk9FNp-luTjsKhTETKForQzaFdF5S6PDjwZJVAOcVWePFAecP08Qp1FzfiX_Cl9StTirn6FO-MjJbWSG2THMvz756N87v6UNTXfNr29-Y-iFxGXE0LRwZ39GG4hV9nUekLb8OlN6VC48-A54O0iJybH12xGD4eKLbn4ilMqeYCyiivgk_AAxCvO75VjkDUu1PztXTqXfeLvWxaeqT1RTux_k8SPeFde5JPpWGKFNih2uv3JG5KjyszNBV6b2MaWQRiNYIiPo9N_DvTiv2r7BWNvocSISt9wLymfNp0mmAvGajmSbXqs2iphrYgHuVIhOskCAwEAAaOCBJIwggSOMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mc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x-ms-client-request-id": [ "8d828f2e-a5f1-4c17-93b6-fd5ee29d220c" ], + "x-ms-client-request-id": [ "209f9a64-4471-4567-8406-1bc0eb03636f" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "999" ], - "x-ms-request-id": [ "8629a05b-7443-4d67-ba16-8586f0f4469b" ], - "x-ms-correlation-request-id": [ "8629a05b-7443-4d67-ba16-8586f0f4469b" ], - "x-ms-routing-request-id": [ "EASTUS2:20240919T224232Z:8629a05b-7443-4d67-ba16-8586f0f4469b" ], + "x-ms-request-id": [ "ff1749dc-b37f-4129-bb30-d72e453dc54f" ], + "x-ms-correlation-request-id": [ "ff1749dc-b37f-4129-bb30-d72e453dc54f" ], + "x-ms-routing-request-id": [ "EASTUS2:20241007T200656Z:ff1749dc-b37f-4129-bb30-d72e453dc54f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: B488A3E880A5402AB9957DD82ED4AA39 Ref B: MNZ221060619025 Ref C: 2024-09-19T22:42:32Z" ], - "Date": [ "Thu, 19 Sep 2024 22:42:32 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 52F127766E41439683F90A98466AC7E2 Ref B: MNZ221060610053 Ref C: 2024-10-07T20:06:56Z" ], + "Date": [ "Mon, 07 Oct 2024 20:06:55 GMT" ] }, "ContentHeaders": { "Expires": [ "-1" ], @@ -179,20 +179,20 @@ "isContentBase64": false } }, - "Invoke-AzConnectedAssessMachinePatch+[NoContext]+Assess+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/updateCenterOperationResults/7d2735db-26e2-4ccf-83ca-005787c805f7?api-version=2024-05-20-preview\u0026t=638623825526965499\u0026c=MIIHpTCCBo2gAwIBAgITfwN43MjEi0W8quEp-gAEA3jcyDANBgkqhkiG9w0BAQsFADBE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dBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADbkVmxlTl8VUMrDJBuRWlmxRWKlxGiR-kZINt99ksV65ZBhsigLjAZYo4HpzQydRwwPVGUebtBD3XhFnalnYK3EoU3yr5LEyfJCQqOCPvAt1AZ3bMR5moP6HXLcSlsDicH7R97FRrKO_6GywgIPDmt2Mm2VBO6p3qPCi2do79OCNlD3OpKaWuuuC6lnZB1ilSIi1w9vpGdji0ixc_dnfMVgL_z1lnM1nLDCsALgv8ghCQDVX4h_Net36CgZgv16gbE71947exvQNJZVVQfXQe0YRTktFsCJVlPmvV5d0KukZUDMAiH0oFJCto8W6ggMMy7u4JLzsLIxcJxrFMaGaz8\u0026s=Xi3NYPGXTje742Tdn8rkSL38ght4AkogaVuja21bHtLQsroBqeMUxFS_QLbdcqkTaCFm-kM8Lh5xy5hgqdBIn-9wlyx0WFnpSmZamcrk14EdUhggNiMOhbPb_xc0gi0RwRt9GHnm_Th7a7H7Ph4bbPRozg2n4brvxVlSV2jBs-dSIq3gjrJv44eyr14w3gAdP53HiYSJ9_cuywl5tCzbbZJiaw_NPS6AAUKI0-tIMPua_E2Du4RflxE6Pa41UfFJGp_5hNIUvjMs_q7aNyn1ESbZU0uNq4dJeA_A2lq5dglgtIJGtLysIy0bSjHg-AAgF0mVKz19bIS-NQQOwrMVmg\u0026h=utEZ3prOHh3ye7Ri2jAd5S6Gd_0Q2qhSQSiMQ863xkk+5": { + "Invoke-AzConnectedAssessMachinePatch+[NoContext]+Assess+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/updateCenterOperationResults/70dcf4d3-4796-421f-8987-31422799f70f?api-version=2024-07-10\u0026t=638639284165617860\u0026c=MIIHpTCCBo2gAwIBAgITOgOyui871wRtge60rAAEA7K6LzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMw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IwDQYJKoZIhvcNAQELBQADggEBAHkWc1KMstXAU5p0ciSSzPoB_W772N_r2ITPfnNv7OdZGLyDL8VTUXFgLP_lVJgsrUcSXJi6GSjDB9ww5vQCsXJQgzO4bCx-jKgHjqphvAtqaiiUEs6HJZYAXzjGr6BPLIlx2qov7eiI-vLqT3h9gqiUGYjLwwKJdO4PIGGzt5oIY5oWtLkqoxoad8CfpX7z8WM9YAUv1l-majml_BXWMmN0t5BbCB5MAuZPnD2rg3mtvh4FEV5pnTtTLPwpw7AAt-9DReZQOgsVkBLNSAzvuXHJzMAm03Gr-uZw7fY_-p1aqDgZ4KMTnQqVr8NvFE02_Gj_5hIaAdCp1bUhZ3ZrmZY\u0026s=AZzrbaTFWKUbW1BmOLT1wZVIOG5zzmndyI8omk35jprs3MCVlCBdST9V7UqYtPWlQX97wb2_4YdYjPLaeELCfVKD7IibvSjo9faFOsXbWlox7LtGKms_6H9cEKSkCn0eJQkfxstF5f1tEWhZbq7NNgbgrzMZ5La0CzTLBoT1N0RIRJjMrkisEBAOdav4Rc_DxyPwmfVXpwTiXWyAuVl6pETbw3kaG_tg5Jf_9So5Oygn9-sOTlE1z2e_EDq1KJ-jQ6V6UGicmPJNCWcfg7NU95zGmVAAd8AldxxKJvi49abnIXvimkHacGgGy2V-6N-HijsbA0bd_gQ62HVxFI-xng\u0026h=1kKiMWH0UwGAIhyHQq9ZQPE0IuQm_tESiXHkytVQXI0+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/updateCenterOperationResults/7d2735db-26e2-4ccf-83ca-005787c805f7?api-version=2024-05-20-preview\u0026t=638623825526965499\u0026c=MIIHpTCCBo2gAwIBAgITfwN43MjEi0W8quEp-gAEA3jcyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDV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kVmxlTl8VUMrDJBuRWlmxRWKlxGiR-kZINt99ksV65ZBhsigLjAZYo4HpzQydRwwPVGUebtBD3XhFnalnYK3EoU3yr5LEyfJCQqOCPvAt1AZ3bMR5moP6HXLcSlsDicH7R97FRrKO_6GywgIPDmt2Mm2VBO6p3qPCi2do79OCNlD3OpKaWuuuC6lnZB1ilSIi1w9vpGdji0ixc_dnfMVgL_z1lnM1nLDCsALgv8ghCQDVX4h_Net36CgZgv16gbE71947exvQNJZVVQfXQe0YRTktFsCJVlPmvV5d0KukZUDMAiH0oFJCto8W6ggMMy7u4JLzsLIxcJxrFMaGaz8\u0026s=Xi3NYPGXTje742Tdn8rkSL38ght4AkogaVuja21bHtLQsroBqeMUxFS_QLbdcqkTaCFm-kM8Lh5xy5hgqdBIn-9wlyx0WFnpSmZamcrk14EdUhggNiMOhbPb_xc0gi0RwRt9GHnm_Th7a7H7Ph4bbPRozg2n4brvxVlSV2jBs-dSIq3gjrJv44eyr14w3gAdP53HiYSJ9_cuywl5tCzbbZJiaw_NPS6AAUKI0-tIMPua_E2Du4RflxE6Pa41UfFJGp_5hNIUvjMs_q7aNyn1ESbZU0uNq4dJeA_A2lq5dglgtIJGtLysIy0bSjHg-AAgF0mVKz19bIS-NQQOwrMVmg\u0026h=utEZ3prOHh3ye7Ri2jAd5S6Gd_0Q2qhSQSiMQ863xkk", + "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/updateCenterOperationResults/70dcf4d3-4796-421f-8987-31422799f70f?api-version=2024-07-10\u0026t=638639284165617860\u0026c=MIIHpTCCBo2gAwIBAgITOgOyui871wRtge60rAAEA7K6LzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSU5GUkEgQ0EgMDEwHhcNMjQwOTIyMTIyOTEzWhcNMjUwMzIxMTI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DB9ww5vQCsXJQgzO4bCx-jKgHjqphvAtqaiiUEs6HJZYAXzjGr6BPLIlx2qov7eiI-vLqT3h9gqiUGYjLwwKJdO4PIGGzt5oIY5oWtLkqoxoad8CfpX7z8WM9YAUv1l-majml_BXWMmN0t5BbCB5MAuZPnD2rg3mtvh4FEV5pnTtTLPwpw7AAt-9DReZQOgsVkBLNSAzvuXHJzMAm03Gr-uZw7fY_-p1aqDgZ4KMTnQqVr8NvFE02_Gj_5hIaAdCp1bUhZ3ZrmZY\u0026s=AZzrbaTFWKUbW1BmOLT1wZVIOG5zzmndyI8omk35jprs3MCVlCBdST9V7UqYtPWlQX97wb2_4YdYjPLaeELCfVKD7IibvSjo9faFOsXbWlox7LtGKms_6H9cEKSkCn0eJQkfxstF5f1tEWhZbq7NNgbgrzMZ5La0CzTLBoT1N0RIRJjMrkisEBAOdav4Rc_DxyPwmfVXpwTiXWyAuVl6pETbw3kaG_tg5Jf_9So5Oygn9-sOTlE1z2e_EDq1KJ-jQ6V6UGicmPJNCWcfg7NU95zGmVAAd8AldxxKJvi49abnIXvimkHacGgGy2V-6N-HijsbA0bd_gQ62HVxFI-xng\u0026h=1kKiMWH0UwGAIhyHQq9ZQPE0IuQm_tESiXHkytVQXI0", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "5" ], - "x-ms-client-request-id": [ "8d828f2e-a5f1-4c17-93b6-fd5ee29d220c" ], + "x-ms-client-request-id": [ "209f9a64-4471-4567-8406-1bc0eb03636f" ], "CommandName": [ "Invoke-AzConnectedAssessMachinePatch" ], "FullCommandName": [ "Invoke-AzConnectedAssessMachinePatch_Assess" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.5.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.1.0" ] }, "ContentHeaders": { } @@ -202,19 +202,19 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/updateCenterOperationResults/7d2735db-26e2-4ccf-83ca-005787c805f7?api-version=2024-05-20-preview\u0026t=638623826132600617\u0026c=MIIHpTCCBo2gAwIBAgITfwN43MjEi0W8quEp-gAEA3jcyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwNjI0MTIwMzUxWhcNMjUwNjE5MTIwMzUxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALiUzQ72miF3S8xuwVdDASkfTayfNuL2xoGjIYUp6ggSGWwqcFLd9Wyqc3F6x8NaURchp8S0iOYM5xMdEBYAsj1xu3zzvdMwM4vUqHIbG6w3GEP4tj7-UIz-btgan_NW7rOEM9oubY9dUtfuCg-mayRYdWezidp70abA2mUEj9ioVQ0CKe9kIzMPn7WFnuLRExud0yMQzDsWTVbaC5Eb_4Hx6vT5bnnLDisXEEQMzG96dJaC9KQZ-tFvcDzGz6diIqaancayRsE-Q5tMUFT-HqewL96WS1vsLjZx9weQsiyqFubDmhMVRawaS26swEjXSSzVp-b3R4MYD-Oh7GkmiFECAwEAAaOCBJIwggSOMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGA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JTIwMDIoNCkuY3JsMIGdBgNVHSAEgZUwgZIwDAYKKwYBBAGCN3sBATBmBgorBgEEAYI3ewICMFgwVgYIKwYBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwEwDAYKKwYBBAGCN3sEATAfBgNVHSMEGDAWgBSuecJrXSWIEwb2BwnDl3x7l48dVTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADbkVmxlTl8VUMrDJBuRWlmxRWKlxGiR-kZINt99ksV65ZBhsigLjAZYo4HpzQydRwwPVGUebtBD3XhFnalnYK3EoU3yr5LEyfJCQqOCPvAt1AZ3bMR5moP6HXLcSlsDicH7R97FRrKO_6GywgIPDmt2Mm2VBO6p3qPCi2do79OCNlD3OpKaWuuuC6lnZB1ilSIi1w9vpGdji0ixc_dnfMVgL_z1lnM1nLDCsALgv8ghCQDVX4h_Net36CgZgv16gbE71947exvQNJZVVQfXQe0YRTktFsCJVlPmvV5d0KukZUDMAiH0oFJCto8W6ggMMy7u4JLzsLIxcJxrFMaGaz8\u0026s=COhL5EkT2pkCrRxjGx582SYG6AcycdCi1CPO7HDKlcC8ZLsqkDvtNWCQCKTNP5YFiH6N2J2xw0S9d2E38Q0qRoHOSXYRJ2Tqs09MncYy8jWVfvPhhzNM4xqkpOdfVzQKb5k5uMjNd4IQZGbmXZlUjRXAcEDsGCodYQxlImpLPMJOoziAd8TBB5SdBgda0UNXTwSBeJK6ZAlYhzAux61t43lySqIyZ4jF4B2EAByk8cJzQjEgDft93pbjBkFMSDRk5W81wlJhPtUed14youMboscdGCx1e7h4EmQN5H1p8LoGr5jXVpbbGfF1619lxCIs_ekuiHkLkzk5448rr-T43Q\u0026h=YyGlRXvcic891eAw1XBF59LuCrSxwX71PQpsI_NTnJU" ], + "Location": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/updateCenterOperationResults/70dcf4d3-4796-421f-8987-31422799f70f?api-version=2024-07-10\u0026t=638639284774143108\u0026c=MIIHpTCCBo2gAwIBAgITOgOyui871wRtge60rAAEA7K6LzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSU5GUkEgQ0EgMDEwHhcNMjQwOTIyMTIyOTEzWhcNMjUwMzIxMTIyOTEzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALthCEIs4vwfpBtc8a6akzk9FNp-luTjsKhTETKForQzaFdF5S6PDjwZJVAOcVWePFAecP08Qp1FzfiX_Cl9StTirn6FO-MjJbWSG2THMvz756N87v6UNTXfNr29-Y-iFxGXE0LRwZ39GG4hV9nUekLb8OlN6VC48-A54O0iJybH12xGD4eKLbn4ilMqeYCyiivgk_AAxCvO75VjkDUu1PztXTqXfeLvWxaeqT1RTux_k8SPeFde5JPpWGKFNih2uv3JG5KjyszNBV6b2MaWQRiNYIiPo9N_DvTiv2r7BWNvocSISt9wLymfNp0mmAvGajmSbXqs2iphrYgHuVIhOskCAwEAAaOCBJIwggSOMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQlkyUEtJSU5UQ0EwMS5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YBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwEwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBTl2Ztn_PjsurvwwKidileIud8-YzAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAHkWc1KMstXAU5p0ciSSzPoB_W772N_r2ITPfnNv7OdZGLyDL8VTUXFgLP_lVJgsrUcSXJi6GSjDB9ww5vQCsXJQgzO4bCx-jKgHjqphvAtqaiiUEs6HJZYAXzjGr6BPLIlx2qov7eiI-vLqT3h9gqiUGYjLwwKJdO4PIGGzt5oIY5oWtLkqoxoad8CfpX7z8WM9YAUv1l-majml_BXWMmN0t5BbCB5MAuZPnD2rg3mtvh4FEV5pnTtTLPwpw7AAt-9DReZQOgsVkBLNSAzvuXHJzMAm03Gr-uZw7fY_-p1aqDgZ4KMTnQqVr8NvFE02_Gj_5hIaAdCp1bUhZ3ZrmZY\u0026s=TW-XKXEHMudWAXDDkxDmkXGnGEk5w8Vah66j7m0siIizqr5rMeLH2RO90vaZ2H1cq4LfSLKEQrZW1ZottUlU7w8FQTQ1fWw565i_U4IIo7akDCEhgKMuC7Ao8heE7q6uAaatHs-Q_-kMdQijYsZ4B2owsBcaa6yjtVSubLFS5ECSbzhfHSIb7Ct2p1MMlxRiy0Zzm6wsHpf16Wsq7siaH8ymrrfULGqUbMWXtZW3blM4HVSv_rZoFlxKAJRf6XEwO8kLJuToAeS3qeAsP_8t0z4cH0DijbnYAUKIuHUjzMDeCHeRHLD97yPquZk9_SjH4dWRJmXIpiW2we8q5Mn1Ag\u0026h=5czTCw-9ISuePm0suUJy7wYTtwFFLnpmYJwQcd5BeBg" ], "Retry-After": [ "60" ], "api-supported-versions": [ "2020-08-15-preview" ], - "x-ms-client-request-id": [ "8d828f2e-a5f1-4c17-93b6-fd5ee29d220c" ], + "x-ms-client-request-id": [ "209f9a64-4471-4567-8406-1bc0eb03636f" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "999" ], - "x-ms-request-id": [ "4f392a26-1772-44e6-bf15-a8eb73c99ebf" ], - "x-ms-correlation-request-id": [ "4f392a26-1772-44e6-bf15-a8eb73c99ebf" ], - "x-ms-routing-request-id": [ "EASTUS2:20240919T224333Z:4f392a26-1772-44e6-bf15-a8eb73c99ebf" ], + "x-ms-request-id": [ "65df4cb1-617b-43d3-94a2-bdeb43036aab" ], + "x-ms-correlation-request-id": [ "65df4cb1-617b-43d3-94a2-bdeb43036aab" ], + "x-ms-routing-request-id": [ "EASTUS2:20241007T200757Z:65df4cb1-617b-43d3-94a2-bdeb43036aab" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: EAC6E19CCCF04ED2AF36981F1C1FF035 Ref B: MNZ221060619025 Ref C: 2024-09-19T22:43:33Z" ], - "Date": [ "Thu, 19 Sep 2024 22:43:33 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 96DAFE8447D14A97BFAE3D1EC98BB1C0 Ref B: MNZ221060610053 Ref C: 2024-10-07T20:07:57Z" ], + "Date": [ "Mon, 07 Oct 2024 20:07:56 GMT" ] }, "ContentHeaders": { "Expires": [ "-1" ], @@ -224,20 +224,20 @@ "isContentBase64": false } }, - "Invoke-AzConnectedAssessMachinePatch+[NoContext]+Assess+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/updateCenterOperationResults/7d2735db-26e2-4ccf-83ca-005787c805f7?api-version=2024-05-20-preview\u0026t=638623826132600617\u0026c=MIIHpTCCBo2gAwIBAgITfwN43MjEi0W8quEp-gAEA3jcyDANBgkqhkiG9w0BAQsFADBEMRMwEQYK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EFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADbkVmxlTl8VUMrDJBuRWlmxRWKlxGiR-kZINt99ksV65ZBhsigLjAZYo4HpzQydRwwPVGUebtBD3XhFnalnYK3EoU3yr5LEyfJCQqOCPvAt1AZ3bMR5moP6HXLcSlsDicH7R97FRrKO_6GywgIPDmt2Mm2VBO6p3qPCi2do79OCNlD3OpKaWuuuC6lnZB1ilSIi1w9vpGdji0ixc_dnfMVgL_z1lnM1nLDCsALgv8ghCQDVX4h_Net36CgZgv16gbE71947exvQNJZVVQfXQe0YRTktFsCJVlPmvV5d0KukZUDMAiH0oFJCto8W6ggMMy7u4JLzsLIxcJxrFMaGaz8\u0026s=COhL5EkT2pkCrRxjGx582SYG6AcycdCi1CPO7HDKlcC8ZLsqkDvtNWCQCKTNP5YFiH6N2J2xw0S9d2E38Q0qRoHOSXYRJ2Tqs09MncYy8jWVfvPhhzNM4xqkpOdfVzQKb5k5uMjNd4IQZGbmXZlUjRXAcEDsGCodYQxlImpLPMJOoziAd8TBB5SdBgda0UNXTwSBeJK6ZAlYhzAux61t43lySqIyZ4jF4B2EAByk8cJzQjEgDft93pbjBkFMSDRk5W81wlJhPtUed14youMboscdGCx1e7h4EmQN5H1p8LoGr5jXVpbbGfF1619lxCIs_ekuiHkLkzk5448rr-T43Q\u0026h=YyGlRXvcic891eAw1XBF59LuCrSxwX71PQpsI_NTnJU+6": { + "Invoke-AzConnectedAssessMachinePatch+[NoContext]+Assess+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/updateCenterOperationResults/70dcf4d3-4796-421f-8987-31422799f70f?api-version=2024-07-10\u0026t=638639284774143108\u0026c=MIIHpTCCBo2gAwIBAgITOgOyui871wRtge60rAAEA7K6LzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYD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ADggEBAHkWc1KMstXAU5p0ciSSzPoB_W772N_r2ITPfnNv7OdZGLyDL8VTUXFgLP_lVJgsrUcSXJi6GSjDB9ww5vQCsXJQgzO4bCx-jKgHjqphvAtqaiiUEs6HJZYAXzjGr6BPLIlx2qov7eiI-vLqT3h9gqiUGYjLwwKJdO4PIGGzt5oIY5oWtLkqoxoad8CfpX7z8WM9YAUv1l-majml_BXWMmN0t5BbCB5MAuZPnD2rg3mtvh4FEV5pnTtTLPwpw7AAt-9DReZQOgsVkBLNSAzvuXHJzMAm03Gr-uZw7fY_-p1aqDgZ4KMTnQqVr8NvFE02_Gj_5hIaAdCp1bUhZ3ZrmZY\u0026s=TW-XKXEHMudWAXDDkxDmkXGnGEk5w8Vah66j7m0siIizqr5rMeLH2RO90vaZ2H1cq4LfSLKEQrZW1ZottUlU7w8FQTQ1fWw565i_U4IIo7akDCEhgKMuC7Ao8heE7q6uAaatHs-Q_-kMdQijYsZ4B2owsBcaa6yjtVSubLFS5ECSbzhfHSIb7Ct2p1MMlxRiy0Zzm6wsHpf16Wsq7siaH8ymrrfULGqUbMWXtZW3blM4HVSv_rZoFlxKAJRf6XEwO8kLJuToAeS3qeAsP_8t0z4cH0DijbnYAUKIuHUjzMDeCHeRHLD97yPquZk9_SjH4dWRJmXIpiW2we8q5Mn1Ag\u0026h=5czTCw-9ISuePm0suUJy7wYTtwFFLnpmYJwQcd5BeBg+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/updateCenterOperationResults/7d2735db-26e2-4ccf-83ca-005787c805f7?api-version=2024-05-20-preview\u0026t=638623826132600617\u0026c=MIIHpTCCBo2gAwIBAgITfwN43MjEi0W8quEp-gAEA3jcyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW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JBuRWlmxRWKlxGiR-kZINt99ksV65ZBhsigLjAZYo4HpzQydRwwPVGUebtBD3XhFnalnYK3EoU3yr5LEyfJCQqOCPvAt1AZ3bMR5moP6HXLcSlsDicH7R97FRrKO_6GywgIPDmt2Mm2VBO6p3qPCi2do79OCNlD3OpKaWuuuC6lnZB1ilSIi1w9vpGdji0ixc_dnfMVgL_z1lnM1nLDCsALgv8ghCQDVX4h_Net36CgZgv16gbE71947exvQNJZVVQfXQe0YRTktFsCJVlPmvV5d0KukZUDMAiH0oFJCto8W6ggMMy7u4JLzsLIxcJxrFMaGaz8\u0026s=COhL5EkT2pkCrRxjGx582SYG6AcycdCi1CPO7HDKlcC8ZLsqkDvtNWCQCKTNP5YFiH6N2J2xw0S9d2E38Q0qRoHOSXYRJ2Tqs09MncYy8jWVfvPhhzNM4xqkpOdfVzQKb5k5uMjNd4IQZGbmXZlUjRXAcEDsGCodYQxlImpLPMJOoziAd8TBB5SdBgda0UNXTwSBeJK6ZAlYhzAux61t43lySqIyZ4jF4B2EAByk8cJzQjEgDft93pbjBkFMSDRk5W81wlJhPtUed14youMboscdGCx1e7h4EmQN5H1p8LoGr5jXVpbbGfF1619lxCIs_ekuiHkLkzk5448rr-T43Q\u0026h=YyGlRXvcic891eAw1XBF59LuCrSxwX71PQpsI_NTnJU", + "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/updateCenterOperationResults/70dcf4d3-4796-421f-8987-31422799f70f?api-version=2024-07-10\u0026t=638639284774143108\u0026c=MIIHpTCCBo2gAwIBAgITOgOyui871wRtge60rAAEA7K6LzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSU5GUkEgQ0EgMDEwHhcNMjQwOTIyMTIyOTEzWhcNMjUwMzIxMTIyOTEzWjBAMT4wPAYDVQQDEzV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HjqphvAtqaiiUEs6HJZYAXzjGr6BPLIlx2qov7eiI-vLqT3h9gqiUGYjLwwKJdO4PIGGzt5oIY5oWtLkqoxoad8CfpX7z8WM9YAUv1l-majml_BXWMmN0t5BbCB5MAuZPnD2rg3mtvh4FEV5pnTtTLPwpw7AAt-9DReZQOgsVkBLNSAzvuXHJzMAm03Gr-uZw7fY_-p1aqDgZ4KMTnQqVr8NvFE02_Gj_5hIaAdCp1bUhZ3ZrmZY\u0026s=TW-XKXEHMudWAXDDkxDmkXGnGEk5w8Vah66j7m0siIizqr5rMeLH2RO90vaZ2H1cq4LfSLKEQrZW1ZottUlU7w8FQTQ1fWw565i_U4IIo7akDCEhgKMuC7Ao8heE7q6uAaatHs-Q_-kMdQijYsZ4B2owsBcaa6yjtVSubLFS5ECSbzhfHSIb7Ct2p1MMlxRiy0Zzm6wsHpf16Wsq7siaH8ymrrfULGqUbMWXtZW3blM4HVSv_rZoFlxKAJRf6XEwO8kLJuToAeS3qeAsP_8t0z4cH0DijbnYAUKIuHUjzMDeCHeRHLD97yPquZk9_SjH4dWRJmXIpiW2we8q5Mn1Ag\u0026h=5czTCw-9ISuePm0suUJy7wYTtwFFLnpmYJwQcd5BeBg", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "6" ], - "x-ms-client-request-id": [ "8d828f2e-a5f1-4c17-93b6-fd5ee29d220c" ], + "x-ms-client-request-id": [ "209f9a64-4471-4567-8406-1bc0eb03636f" ], "CommandName": [ "Invoke-AzConnectedAssessMachinePatch" ], "FullCommandName": [ "Invoke-AzConnectedAssessMachinePatch_Assess" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.5.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.1.0" ] }, "ContentHeaders": { } @@ -249,38 +249,38 @@ "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "999" ], "api-supported-versions": [ "2020-08-15-preview" ], - "x-ms-request-id": [ "00c2190c-ba2f-40cd-88fd-bd76c973986e" ], - "x-ms-correlation-request-id": [ "00c2190c-ba2f-40cd-88fd-bd76c973986e" ], - "x-ms-routing-request-id": [ "EASTUS2:20240919T224434Z:00c2190c-ba2f-40cd-88fd-bd76c973986e" ], + "x-ms-request-id": [ "58b51121-3fea-499f-9d3c-8635f2675658" ], + "x-ms-correlation-request-id": [ "58b51121-3fea-499f-9d3c-8635f2675658" ], + "x-ms-routing-request-id": [ "EASTUS2:20241007T200858Z:58b51121-3fea-499f-9d3c-8635f2675658" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: F858C97411A842279449A1C568912493 Ref B: MNZ221060619025 Ref C: 2024-09-19T22:44:33Z" ], - "Date": [ "Thu, 19 Sep 2024 22:44:34 GMT" ] + "X-MSEdge-Ref": [ "Ref A: ABFF55B110E24552B5EEDD9A57EE4989 Ref B: MNZ221060610053 Ref C: 2024-10-07T20:08:58Z" ], + "Date": [ "Mon, 07 Oct 2024 20:08:57 GMT" ] }, "ContentHeaders": { "Content-Length": [ "421" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"startDateTime\":\"2024-09-19T22:39:30.2045474Z\",\"lastModifiedDateTime\":\"2024-09-19T22:43:34.0552969Z\",\"startedBy\":\"User\",\"rebootPending\":false,\"patchServiceUsed\":\"WU\",\"status\":\"Succeeded\",\"availablePatchCountByClassification\":{\"security\":0,\"critical\":0,\"definition\":0,\"updateRollup\":0,\"featurePack\":0,\"servicePack\":0,\"tools\":0,\"updates\":0},\"assessmentActivityId\":\"7d2735db-26e2-4ccf-83ca-005787c805f7\",\"osType\":\"Windows\"}", + "Content": "{\"startDateTime\":\"2024-10-07T20:03:54.0656499Z\",\"lastModifiedDateTime\":\"2024-10-07T20:08:05.5706036Z\",\"startedBy\":\"User\",\"rebootPending\":false,\"patchServiceUsed\":\"WU\",\"status\":\"Succeeded\",\"availablePatchCountByClassification\":{\"security\":0,\"critical\":0,\"definition\":0,\"updateRollup\":0,\"featurePack\":0,\"servicePack\":0,\"tools\":0,\"updates\":0},\"assessmentActivityId\":\"70dcf4d3-4796-421f-8987-31422799f70f\",\"osType\":\"Windows\"}", "isContentBase64": false } }, - "Invoke-AzConnectedAssessMachinePatch+[NoContext]+Assess+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/updateCenterOperationResults/7d2735db-26e2-4ccf-83ca-005787c805f7?api-version=2024-05-20-preview\u0026t=638623823704492949\u0026c=MIIHpTCCBo2gAwIBAgITfwN43MjEi0W8quEp-gAEA3jcyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwNjI0MTIwMzUxWhcNMjUwNjE5MTIwMzUxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALiUzQ72miF3S8xuwVdDASkfTayfNuL2xoGjIYUp6ggSGWwqcFLd9Wyqc3F6x8NaURchp8S0iOYM5xMdEBYAsj1xu3zzvdMwM4vUqHIbG6w3GEP4tj7-UIz-btgan_NW7rOEM9oubY9dUtfuCg-mayRYdWezidp70abA2mUEj9ioVQ0CKe9kIzMPn7WFnuLRExud0yMQzDsWTVbaC5Eb_4Hx6vT5bnnLDisXEEQMzG96dJaC9KQZ-tFvcDzGz6diIqaancayRsE-Q5tMUFT-HqewL96WS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MBV5hoeVAojhu83qhby5nTLbf2JP_mVfAVElxEATroNq117_PwGs0SeAjz0bwT1sQlZ5TMtQV6_smbYvrlJ9mrC07XvJTo5QiAfsggg3tdpEIXnkbXwOWp03k08fXQycOoxdo0XvXuj8VwlYwvkyCQXLyucDhhFjQJjJCgZkxGy410edKyIwmuHLEgtlfv5jX3Q\u0026h=mbOzu7uazGlV0sXtw5ZTAgggKPeM_KLy5igxpp6FAcw+7": { + "Invoke-AzConnectedAssessMachinePatch+[NoContext]+Assess+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/updateCenterOperationResults/70dcf4d3-4796-421f-8987-31422799f70f?api-version=2024-07-10\u0026t=638639282340916079\u0026c=MIIHpTCCBo2gAwIBAgITOgOyui871wRtge60rAAEA7K6LzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSU5GUkEgQ0EgMDEwHhcNMjQwOTIyMTIyOTEzWhcNMjUwMzIxMTIyOTEzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALthCEIs4vwfpBtc8a6akzk9FNp-luTjsKhTETKForQzaFdF5S6PDjwZJVAOcVWePFAecP08Qp1FzfiX_Cl9StTirn6FO-MjJbWSG2THMvz756N87v6UNTXfNr29-Y-iFxGXE0LRwZ39GG4hV9nUekLb8OlN6VC48-A54O0iJybH12xGD4eKLbn4ilMqeYCyiivgk_AAxCvO75VjkDUu1PztXTqXfeLvWxaeqT1RTux_k8SPeFde5JPpWGKFNih2uv3JG5KjyszNBV6b2MaWQRiNYIiPo9N_DvTiv2r7BWNvocSISt9wLymfNp0mmAvGajmSbXqs2iphrYgHuV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K2I7VADTdIT16kOCvv9-65f7XwHbKPXNIWeHqVURWws3AcFCHgyFlXztUcfkxzOJb2rffb_bQCW7fhFry70pAFc46J25sgsU7J0ollmEvCZL_nNXQwnbU13CQcfze65MGkiucLe46AouWvrxKpwak94cZUjcrh-ZukGw\u0026h=JAmlK9NCDzmtpusiGCNnt-sghnVTlFBCSQCbPiv9N68+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/updateCenterOperationResults/7d2735db-26e2-4ccf-83ca-005787c805f7?api-version=2024-05-20-preview\u0026t=638623823704492949\u0026c=MIIHpTCCBo2gAwIBAgITfwN43MjEi0W8quEp-gAEA3jcyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwNjI0MTIwMzUxWhcNMjUwNjE5MTIwMzUxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALiUzQ72miF3S8xuwVdDASkfTayfNuL2xoGjIYUp6ggSGWwqcFLd9Wyqc3F6x8NaURchp8S0iOYM5xMdEBYAsj1xu3zzvdMwM4vUqHIbG6w3GEP4tj7-UIz-btgan_NW7rOEM9oubY9dUtfuCg-mayRYdWezidp70abA2mUEj9ioVQ0CKe9kIzMPn7WFnuLRExud0yMQzDsWTVbaC5Eb_4Hx6vT5bnnLDisXEEQMzG96dJaC9KQZ-tFvcDzGz6diIqaancayRsE-Q5tMUFT-HqewL96WS1vsLjZx9weQsiyqFubDmhMVRawaS26swEjXSSzVp-b3R4MYD-Oh7GkmiFECAwEAAaOCBJIwggSOMCcGCSsGAQQBg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vJTo5QiAfsggg3tdpEIXnkbXwOWp03k08fXQycOoxdo0XvXuj8VwlYwvkyCQXLyucDhhFjQJjJCgZkxGy410edKyIwmuHLEgtlfv5jX3Q\u0026h=mbOzu7uazGlV0sXtw5ZTAgggKPeM_KLy5igxpp6FAcw", + "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/updateCenterOperationResults/70dcf4d3-4796-421f-8987-31422799f70f?api-version=2024-07-10\u0026t=638639282340916079\u0026c=MIIHpTCCBo2gAwIBAgITOgOyui871wRtge60rAAEA7K6LzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSU5GUkEgQ0EgMDEwHhcNMjQwOTIyMTIyOTEzWhcNMjUwMzIxMTIyOTEzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALthCEIs4vwfpBtc8a6akzk9FNp-luTjsKhTETKForQzaFdF5S6PDjwZJVAOcVWePFAecP08Qp1FzfiX_Cl9StTirn6FO-MjJbWSG2THMvz756N87v6UNTXfNr29-Y-iFxGXE0LRwZ39GG4hV9nUekLb8OlN6VC48-A54O0iJybH12xGD4eKLbn4ilMqeYCyiivgk_AAxCvO75VjkDUu1PztXTqXfeLvWxaeqT1RTux_k8SPeFde5JPpWGKFNih2uv3JG5KjyszNBV6b2MaWQRiNYIiPo9N_DvTiv2r7BWNvocSISt9wLymfNp0mmAvGajmSbXqs2iphrYgHuVIhOskCAwEAAaOCBJIwggSOMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhp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kiucLe46AouWvrxKpwak94cZUjcrh-ZukGw\u0026h=JAmlK9NCDzmtpusiGCNnt-sghnVTlFBCSQCbPiv9N68", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "7" ], - "x-ms-client-request-id": [ "8d828f2e-a5f1-4c17-93b6-fd5ee29d220c" ], + "x-ms-client-request-id": [ "209f9a64-4471-4567-8406-1bc0eb03636f" ], "CommandName": [ "Invoke-AzConnectedAssessMachinePatch" ], "FullCommandName": [ "Invoke-AzConnectedAssessMachinePatch_Assess" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.5.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.1.0" ] }, "ContentHeaders": { } @@ -292,21 +292,21 @@ "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "999" ], "api-supported-versions": [ "2020-08-15-preview" ], - "x-ms-request-id": [ "effe28ca-99e9-4b0b-a281-5b4b24f11151" ], - "x-ms-correlation-request-id": [ "effe28ca-99e9-4b0b-a281-5b4b24f11151" ], - "x-ms-routing-request-id": [ "EASTUS2:20240919T224434Z:effe28ca-99e9-4b0b-a281-5b4b24f11151" ], + "x-ms-request-id": [ "70dff0d8-2896-413f-b311-31c47d770b11" ], + "x-ms-correlation-request-id": [ "70dff0d8-2896-413f-b311-31c47d770b11" ], + "x-ms-routing-request-id": [ "EASTUS2:20241007T200858Z:70dff0d8-2896-413f-b311-31c47d770b11" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 0CA660F9CB9D4E70ADAFCEC36DFE17F3 Ref B: MNZ221060619025 Ref C: 2024-09-19T22:44:34Z" ], - "Date": [ "Thu, 19 Sep 2024 22:44:34 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 445A8A121756488C851F9BDD6AB654FF Ref B: MNZ221060610053 Ref C: 2024-10-07T20:08:58Z" ], + "Date": [ "Mon, 07 Oct 2024 20:08:57 GMT" ] }, "ContentHeaders": { "Content-Length": [ "421" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"startDateTime\":\"2024-09-19T22:39:30.2045474Z\",\"lastModifiedDateTime\":\"2024-09-19T22:43:34.0552969Z\",\"startedBy\":\"User\",\"rebootPending\":false,\"patchServiceUsed\":\"WU\",\"status\":\"Succeeded\",\"availablePatchCountByClassification\":{\"security\":0,\"critical\":0,\"definition\":0,\"updateRollup\":0,\"featurePack\":0,\"servicePack\":0,\"tools\":0,\"updates\":0},\"assessmentActivityId\":\"7d2735db-26e2-4ccf-83ca-005787c805f7\",\"osType\":\"Windows\"}", + "Content": "{\"startDateTime\":\"2024-10-07T20:03:54.0656499Z\",\"lastModifiedDateTime\":\"2024-10-07T20:08:05.5706036Z\",\"startedBy\":\"User\",\"rebootPending\":false,\"patchServiceUsed\":\"WU\",\"status\":\"Succeeded\",\"availablePatchCountByClassification\":{\"security\":0,\"critical\":0,\"definition\":0,\"updateRollup\":0,\"featurePack\":0,\"servicePack\":0,\"tools\":0,\"updates\":0},\"assessmentActivityId\":\"70dcf4d3-4796-421f-8987-31422799f70f\",\"osType\":\"Windows\"}", "isContentBase64": false } } diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/test/Invoke-AzConnectedReconcileNetworkSecurityPerimeterConfiguration.Recording.json b/src/ConnectedMachine/ConnectedMachine.Autorest/test/Invoke-AzConnectedReconcileNetworkSecurityPerimeterConfiguration.Recording.json new file mode 100644 index 000000000000..376dcac376a4 --- /dev/null +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/test/Invoke-AzConnectedReconcileNetworkSecurityPerimeterConfiguration.Recording.json @@ -0,0 +1,131 @@ +{ + "Invoke-AzConnectedReconcileNetworkSecurityPerimeterConfiguration+[NoContext]+Reconcile+$POST+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/adrielk_test/providers/Microsoft.HybridCompute/privateLinkScopes/adrielScope/networkSecurityPerimeterConfigurations/fd1289de-e8d3-4f76-8008-de297232dbf6.adrielScope-e1bf45b1-b9a1-4f8b-a76e-3607869aed94/reconcile?api-version=2024-07-10+1": { + "Request": { + "Method": "POST", + "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/adrielk_test/providers/Microsoft.HybridCompute/privateLinkScopes/adrielScope/networkSecurityPerimeterConfigurations/fd1289de-e8d3-4f76-8008-de297232dbf6.adrielScope-e1bf45b1-b9a1-4f8b-a76e-3607869aed94/reconcile?api-version=2024-07-10", + "Content": null, + "isContentBase64": false, + "Headers": { + "x-ms-unique-id": [ "3" ], + "x-ms-client-request-id": [ "23910288-0ea1-4b2d-bb79-63eb9c3d3b38" ], + "CommandName": [ "Invoke-AzConnectedReconcileNetworkSecurityPerimeterConfiguration" ], + "FullCommandName": [ "Invoke-AzConnectedReconcileNetworkSecurityPerimeterConfiguration_Reconcile" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.1.0" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationresults/4690d7ad-d4cb-48d9-ad53-463f8b436367?api-version=2022-12-27\u0026t=638636639379772936\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQ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UHAwIwDQYJKoZIhvcNAQELBQADggEBAG0WbzLPsmSSMI7aTe2npixmkdCmwcdZHGd43tUnB8JKrLNJEFcBsQmbcIH0adpnQNrDgRkNBBOTZ4s1LIBlRQapZpPsRItAMUguVpGVRH08T0i43w9xrp_clNbAJrrfRbmYroF0WJKMJ0nwW2rPjxdevSRygGK_nEfywwFi-p1RhHnkiEGL4GnP7PpQcRvAYMdH9LO5MRY7iLbBmosKatS_eWtSJD1CvzglNwy_vQzx81Vnk0CgndqXcVq-loGu7R4U7mkQ2NNqLbp447STxkpP-6Mdyv8J4bdnf1s3vFBNpgvJWKogWcNLlo8jnkbEf6RPNGe1W5lma7JwMKAcPzY\u0026s=fLuo_5jSziYPNjjI-U96UfNPdFO0dqf8U-v0tXrY8t5wPG-_ZnAQYDuTWqzp3NPDrJT_W4Ot9Ao2ESHfW-gFNLpDLkJx1ZOyGbB3u3v6qyhvreMwFZbgaESgYU8iG6YiynyGhyUOm24VAChN1S6ngpVT6-A6Z2hoWpqND5csmMeKWkDS3tN0gnZH7zgveTOeDWFnkdshWF0VmjSzyZlUvaiQA8DWY-6iBZbF_ryBnR-eAjkosPr7thBuuPbGJC9B-XzABZMLt6PsAIk5jQo6hn7Q9YQONK6t_H4W3p21R-rW2-KPR_dxGOuK0iw23Ou8UnfvPWWx3s5oaFgEVjgxRw\u0026h=EFrCaQAOLqd2msaejWlQrki-8cQsZHmsKNrYOjihl2w" ], + "Retry-After": [ "120" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "x-ms-request-id": [ "8382dc85-e0d1-4bae-a447-79c30e9a0544", "8382dc85-e0d1-4bae-a447-79c30e9a0544" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/4690d7ad-d4cb-48d9-ad53-463f8b436367?api-version=2022-12-27\u0026t=638636639379772936\u0026c=MIIHhzCCBm-gAwIBAgITH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TxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAG0WbzLPsmSSMI7aTe2npixmkdCmwcdZHGd43tUnB8JKrLNJEFcBsQmbcIH0adpnQNrDgRkNBBOTZ4s1LIBlRQapZpPsRItAMUguVpGVRH08T0i43w9xrp_clNbAJrrfRbmYroF0WJKMJ0nwW2rPjxdevSRygGK_nEfywwFi-p1RhHnkiEGL4GnP7PpQcRvAYMdH9LO5MRY7iLbBmosKatS_eWtSJD1CvzglNwy_vQzx81Vnk0CgndqXcVq-loGu7R4U7mkQ2NNqLbp447STxkpP-6Mdyv8J4bdnf1s3vFBNpgvJWKogWcNLlo8jnkbEf6RPNGe1W5lma7JwMKAcPzY\u0026s=JaC-tFURgQznNHXRG4JxVq706vcYM6Aus7SPqpDs-gQVBRvrB8MpCcgsxxysBcdbtINKDGX3BceLx56wOstDrPUpnq40CgcP9RvmFMl25CUPsqu0Ov8rM2Mhj-sTI__0sfH0hm47GTpyAaB4ww5TSrFX0JMIoI1TsmjrWPfbQxIIT_ZKVYK-ZXkhT1UkHMygeed0TMrm63yaIySO9kJZNALWM9YHBuf2bIA-7h4E6Ss9oy6QbhqLon3H73Sbcn3bhaNhcTvXAk2PhzuzWV8ZZ5XSf1wOaSpSHuhyBv52RPYAKxX1R-R57Km1muY_JF7OOnjQgQUrV11xFpifkbcK5A\u0026h=dUMPflWT9-nzhjYzOl6z461enj0vqOnd1O6yp2oBeDE" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-correlation-request-id": [ "9dce94df-032b-4022-b43b-ad16742b5e85" ], + "x-ms-routing-request-id": [ "EASTUS:20241004T183858Z:9dce94df-032b-4022-b43b-ad16742b5e85" ], + "X-Content-Type-Options": [ "nosniff" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 03893386C10C4B0FB0706F11938435C5 Ref B: MNZ221060619011 Ref C: 2024-10-04T18:38:57Z" ], + "Date": [ "Fri, 04 Oct 2024 18:38:57 GMT" ] + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Expires": [ "-1" ], + "Content-Length": [ "0" ] + }, + "Content": null, + "isContentBase64": false + } + }, + "Invoke-AzConnectedReconcileNetworkSecurityPerimeterConfiguration+[NoContext]+Reconcile+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/4690d7ad-d4cb-48d9-ad53-463f8b436367?api-version=2022-12-27\u0026t=638636639379772936\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwMjMxMTQxWhcNMjUwMzE5MjMxMTQxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKRtcYDBXS7zz5tRtvVyhrUAjudYhej1E2D3dp6XWuPdbVMbQZwMlye8vdT-kDhFD7T2mrdWqsoGnTGk0_xOHBfLGnW-0QRUqpeoTNIhu8vc2CfTUtm2t2s_-fzvFtRyhDA4mfCH1cz92EVj0vd3FD4ikW6bdOp1NkYFqUVBhKlbvJk6y-TbLFBLP5Zx4m0Ua-_P7aMzbgvOJgMOTC2jLs5w_lFDJWeP3IKUOiJmrfLpf4ey5Ov94oCE6YncDBSHJZKWcrSxDHgSz9AXrxarL4HLajGbF3MRvfkMN2gNXCoiJXBEqCLDnyQZ0BgXIvuK7vG8Rj0TyhJNj-QPr8taY6UCAwEAAaOCBHQwggRwMCcGCSsGAQQB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k2PhzuzWV8ZZ5XSf1wOaSpSHuhyBv52RPYAKxX1R-R57Km1muY_JF7OOnjQgQUrV11xFpifkbcK5A\u0026h=dUMPflWT9-nzhjYzOl6z461enj0vqOnd1O6yp2oBeDE+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/4690d7ad-d4cb-48d9-ad53-463f8b436367?api-version=2022-12-27\u0026t=638636639379772936\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwMjMxMTQxWhcNMjUwMzE5MjMxMTQxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKRtcYDBXS7zz5tRtvVyhrUAjudYhej1E2D3dp6XWuPdbVMbQZwMlye8vdT-kDhFD7T2mrdWqsoGnTGk0_xOHBfLGnW-0QRUqpeoTNIhu8vc2CfTUtm2t2s_-fzvFtRyhDA4mfCH1cz92EVj0vd3FD4ikW6bdOp1NkYFqUVBhKlbvJk6y-TbLFBLP5Zx4m0Ua-_P7aMzbgvOJgMOTC2jLs5w_lFDJWeP3IKUOiJmrfLpf4ey5Ov94oCE6YncDBSHJZKWcrSxDHgSz9AXrxarL4HLajGbF3MRvfkMN2gNXCoiJXBEqCLDnyQZ0BgXIvuK7vG8Rj0TyhJNj-QPr8taY6UCAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCN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QgQUrV11xFpifkbcK5A\u0026h=dUMPflWT9-nzhjYzOl6z461enj0vqOnd1O6yp2oBeDE", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "4" ], + "x-ms-client-request-id": [ "23910288-0ea1-4b2d-bb79-63eb9c3d3b38" ], + "CommandName": [ "Invoke-AzConnectedReconcileNetworkSecurityPerimeterConfiguration" ], + "FullCommandName": [ "Invoke-AzConnectedReconcileNetworkSecurityPerimeterConfiguration_Reconcile" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "x-ms-request-id": [ "8c41bc5a-b026-487a-9e28-6b81c5c30b84" ], + "x-ms-correlation-request-id": [ "7dc6f2de-c8e4-41c8-93a5-fce60556f585" ], + "x-ms-routing-request-id": [ "EASTUS2:20241004T184059Z:7dc6f2de-c8e4-41c8-93a5-fce60556f585" ], + "X-Content-Type-Options": [ "nosniff" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 723EDF5F0DA04077AFF92ED3D9BA4E43 Ref B: MNZ221060609007 Ref C: 2024-10-04T18:40:59Z" ], + "Date": [ "Fri, 04 Oct 2024 18:40:58 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "111" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"4690d7ad-d4cb-48d9-ad53-463f8b436367\",\"status\":\"Succeeded\",\"startTime\":\"2024-10-04T18:38:57.8724303Z\"}", + "isContentBase64": false + } + }, + "Invoke-AzConnectedReconcileNetworkSecurityPerimeterConfiguration+[NoContext]+Reconcile+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationresults/4690d7ad-d4cb-48d9-ad53-463f8b436367?api-version=2022-12-27\u0026t=638636639379772936\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwMjMxMTQxWhcNMjUwMzE5MjMxMTQxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKRtcYDBXS7zz5tRtvVyhrUAjudYhej1E2D3dp6XWuPdbVMbQZwMlye8vdT-kDhFD7T2mrdWqsoGnTGk0_xOHBfLGnW-0QRUqpeoTNIhu8vc2CfTUtm2t2s_-fzvFtRyhDA4mfCH1cz92EVj0vd3FD4ikW6bdOp1NkYFqUVBhKlbvJk6y-TbLFBLP5Zx4m0Ua-_P7aMzbgvOJgMOTC2jLs5w_lFDJWeP3IKUOiJmrfLpf4ey5Ov94oCE6YncDBSHJZKWcrSxDHgSz9AXrxarL4HLajGbF3MRvfkMN2gNXCoiJXBEqCLDnyQZ0BgXIvuK7vG8Rj0TyhJNj-QPr8taY6UCAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi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BmBgorBgEEAYI3ewICMFgwVgYIKwYBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwEwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAG0WbzLPsmSSMI7aTe2npixmkdCmwcdZHGd43tUnB8JKrLNJEFcBsQmbcIH0adpnQNrDgRkNBBOTZ4s1LIBlRQapZpPsRItAMUguVpGVRH08T0i43w9xrp_clNbAJrrfRbmYroF0WJKMJ0nwW2rPjxdevSRygGK_nEfywwFi-p1RhHnkiEGL4GnP7PpQcRvAYMdH9LO5MRY7iLbBmosKatS_eWtSJD1CvzglNwy_vQzx81Vnk0CgndqXcVq-loGu7R4U7mkQ2NNqLbp447STxkpP-6Mdyv8J4bdnf1s3vFBNpgvJWKogWcNLlo8jnkbEf6RPNGe1W5lma7JwMKAcPzY\u0026s=fLuo_5jSziYPNjjI-U96UfNPdFO0dqf8U-v0tXrY8t5wPG-_ZnAQYDuTWqzp3NPDrJT_W4Ot9Ao2ESHfW-gFNLpDLkJx1ZOyGbB3u3v6qyhvreMwFZbgaESgYU8iG6YiynyGhyUOm24VAChN1S6ngpVT6-A6Z2hoWpqND5csmMeKWkDS3tN0gnZH7zgveTOeDWFnkdshWF0VmjSzyZlUvaiQA8DWY-6iBZbF_ryBnR-eAjkosPr7thBuuPbGJC9B-XzABZMLt6PsAIk5jQo6hn7Q9YQONK6t_H4W3p21R-rW2-KPR_dxGOuK0iw23Ou8UnfvPWWx3s5oaFgEVjgxRw\u0026h=EFrCaQAOLqd2msaejWlQrki-8cQsZHmsKNrYOjihl2w+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationresults/4690d7ad-d4cb-48d9-ad53-463f8b436367?api-version=2022-12-27\u0026t=638636639379772936\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwMjMxMTQxWhcNMjUwMzE5MjMxMTQxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKRtcYDBXS7zz5tRtvVyhrUAjudYhej1E2D3dp6XWuPdbVMbQZwMlye8vdT-kDhFD7T2mrdWqsoGnTGk0_xOHBfLGnW-0QRUqpeoTNIhu8vc2CfTUtm2t2s_-fzvFtRyhDA4mfCH1cz92EVj0vd3FD4ikW6bdOp1NkYFqUVBhKlbvJk6y-TbLFBLP5Zx4m0Ua-_P7aMzbgvOJgMOTC2jLs5w_lFDJWeP3IKUOiJmrfLpf4ey5Ov94oCE6YncDBSHJZKWcrSxDHgSz9AXrxarL4HLajGbF3MRvfkMN2gNXCoiJXBEqCLDnyQZ0BgXIvuK7vG8Rj0TyhJNj-QPr8taY6UCAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUE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QA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwEwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAG0WbzLPsmSSMI7aTe2npixmkdCmwcdZHGd43tUnB8JKrLNJEFcBsQmbcIH0adpnQNrDgRkNBBOTZ4s1LIBlRQapZpPsRItAMUguVpGVRH08T0i43w9xrp_clNbAJrrfRbmYroF0WJKMJ0nwW2rPjxdevSRygGK_nEfywwFi-p1RhHnkiEGL4GnP7PpQcRvAYMdH9LO5MRY7iLbBmosKatS_eWtSJD1CvzglNwy_vQzx81Vnk0CgndqXcVq-loGu7R4U7mkQ2NNqLbp447STxkpP-6Mdyv8J4bdnf1s3vFBNpgvJWKogWcNLlo8jnkbEf6RPNGe1W5lma7JwMKAcPzY\u0026s=fLuo_5jSziYPNjjI-U96UfNPdFO0dqf8U-v0tXrY8t5wPG-_ZnAQYDuTWqzp3NPDrJT_W4Ot9Ao2ESHfW-gFNLpDLkJx1ZOyGbB3u3v6qyhvreMwFZbgaESgYU8iG6YiynyGhyUOm24VAChN1S6ngpVT6-A6Z2hoWpqND5csmMeKWkDS3tN0gnZH7zgveTOeDWFnkdshWF0VmjSzyZlUvaiQA8DWY-6iBZbF_ryBnR-eAjkosPr7thBuuPbGJC9B-XzABZMLt6PsAIk5jQo6hn7Q9YQONK6t_H4W3p21R-rW2-KPR_dxGOuK0iw23Ou8UnfvPWWx3s5oaFgEVjgxRw\u0026h=EFrCaQAOLqd2msaejWlQrki-8cQsZHmsKNrYOjihl2w", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "5" ], + "x-ms-client-request-id": [ "23910288-0ea1-4b2d-bb79-63eb9c3d3b38" ], + "CommandName": [ "Invoke-AzConnectedReconcileNetworkSecurityPerimeterConfiguration" ], + "FullCommandName": [ "Invoke-AzConnectedReconcileNetworkSecurityPerimeterConfiguration_Reconcile" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "x-ms-request-id": [ "7efd0047-4f0b-4cf9-a311-f99e991babe7" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], + "x-ms-correlation-request-id": [ "642fcfb6-edc0-4ff8-ba21-a5ee0fa882af" ], + "x-ms-routing-request-id": [ "EASTUS2:20241004T184100Z:642fcfb6-edc0-4ff8-ba21-a5ee0fa882af" ], + "X-Content-Type-Options": [ "nosniff" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 9FE1BA5C413842D5B301C2394BBBCA0C Ref B: MNZ221060609007 Ref C: 2024-10-04T18:40:59Z" ], + "Date": [ "Fri, 04 Oct 2024 18:40:59 GMT" ] + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Expires": [ "-1" ], + "Content-Length": [ "0" ] + }, + "Content": null, + "isContentBase64": false + } + } +} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/test/Invoke-AzConnectedReconcileNetworkSecurityPerimeterConfiguration.Tests.ps1 b/src/ConnectedMachine/ConnectedMachine.Autorest/test/Invoke-AzConnectedReconcileNetworkSecurityPerimeterConfiguration.Tests.ps1 new file mode 100644 index 000000000000..27c354fc7ad2 --- /dev/null +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/test/Invoke-AzConnectedReconcileNetworkSecurityPerimeterConfiguration.Tests.ps1 @@ -0,0 +1,29 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Invoke-AzConnectedReconcileNetworkSecurityPerimeterConfiguration')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Invoke-AzConnectedReconcileNetworkSecurityPerimeterConfiguration.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Invoke-AzConnectedReconcileNetworkSecurityPerimeterConfiguration' { + It 'Reconcile' { + Invoke-AzConnectedReconcileNetworkSecurityPerimeterConfiguration -PerimeterName $env.PerimeterName -ResourceGroupName $env.ResourceGroupNameNSP -ScopeName $env.PrivateLinkScopeNameNSP + } + + It 'ReconcileViaIdentityPrivateLinkScope' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'ReconcileViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/test/New-AzConnectedLicense.Recording.json b/src/ConnectedMachine/ConnectedMachine.Autorest/test/New-AzConnectedLicense.Recording.json index a1ba0d5b51f5..e576b7aa7732 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/test/New-AzConnectedLicense.Recording.json +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/test/New-AzConnectedLicense.Recording.json @@ -1,15 +1,15 @@ { - "New-AzConnectedLicense+[NoContext]+Create+$PUT+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/licenses/myEsuLicense?api-version=2024-05-20-preview+1": { + "New-AzConnectedLicense+[NoContext]+Create+$PUT+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/licenses/myEsuLicense2?api-version=2024-07-10+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/licenses/myEsuLicense?api-version=2024-05-20-preview", - "Content": "{\r\n \"location\": \"centraluseuap\",\r\n \"properties\": {\r\n \"licenseDetails\": {\r\n \"state\": \"Activated\",\r\n \"target\": \"Windows Server 2012\",\r\n \"edition\": \"Datacenter\",\r\n \"type\": \"pCore\",\r\n \"processors\": 16\r\n },\r\n \"licenseType\": \"ESU\"\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/licenses/myEsuLicense2?api-version=2024-07-10", + "Content": "{\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"licenseDetails\": {\r\n \"state\": \"Activated\",\r\n \"target\": \"Windows Server 2012\",\r\n \"edition\": \"Datacenter\",\r\n \"type\": \"pCore\",\r\n \"processors\": 16\r\n },\r\n \"licenseType\": \"ESU\"\r\n }\r\n}", "isContentBase64": false, "Headers": { }, "ContentHeaders": { "Content-Type": [ "application/json" ], - "Content-Length": [ "268" ] + "Content-Length": [ "261" ] } }, "Response": { @@ -19,37 +19,37 @@ "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-request-id": [ "9d0ef2c8-9ebb-483a-9aa9-df5b01daec2e" ], - "x-ms-correlation-request-id": [ "9a3d79d8-1218-4427-9439-f331013a155d" ], - "x-ms-routing-request-id": [ "EASTUS2:20240919T202829Z:9a3d79d8-1218-4427-9439-f331013a155d" ], + "x-ms-request-id": [ "8c91f09b-811e-4605-a697-401270eb9d46" ], + "x-ms-correlation-request-id": [ "f4e76439-8278-4c7e-bb12-2075394f40f6" ], + "x-ms-routing-request-id": [ "EASTUS2:20241003T202122Z:f4e76439-8278-4c7e-bb12-2075394f40f6" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 668A28F4ED8F4EA4BA9F004E16022704 Ref B: MNZ221060619047 Ref C: 2024-09-19T20:28:27Z" ], - "Date": [ "Thu, 19 Sep 2024 20:28:29 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 40732860054F4D40BBEA439450DA81ED Ref B: MNZ221060610029 Ref C: 2024-10-03T20:21:21Z" ], + "Date": [ "Thu, 03 Oct 2024 20:21:21 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "515" ], + "Content-Length": [ "510" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/licenses/myEsuLicense\",\"name\":\"myEsuLicense\",\"location\":\"centraluseuap\",\"type\":\"Microsoft.HybridCompute/licenses\",\"properties\":{\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"licenseType\":\"ESU\",\"licenseDetails\":{\"state\":\"Activated\",\"target\":\"Windows Server 2012\",\"edition\":\"Datacenter\",\"type\":\"pCore\",\"processors\":16,\"assignedLicenses\":8,\"immutableId\":\"add55cb2-4a65-40b6-8f50-62000c9bf26e\"}}}", + "Content": "{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/licenses/myEsuLicense2\",\"name\":\"myEsuLicense2\",\"location\":\"eastus\",\"type\":\"Microsoft.HybridCompute/licenses\",\"properties\":{\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"licenseType\":\"ESU\",\"licenseDetails\":{\"state\":\"Activated\",\"target\":\"Windows Server 2012\",\"edition\":\"Datacenter\",\"type\":\"pCore\",\"processors\":16,\"assignedLicenses\":8,\"immutableId\":\"ddd0d283-d0d0-4aa2-89c6-d8d4a2189909\"}}}", "isContentBase64": false } }, - "New-AzConnectedLicense+[NoContext]+Create+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/licenses/myEsuLicense?api-version=2024-05-20-preview+2": { + "New-AzConnectedLicense+[NoContext]+Create+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/licenses/myEsuLicense2?api-version=2024-07-10+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/licenses/myEsuLicense?api-version=2024-05-20-preview", + "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/licenses/myEsuLicense2?api-version=2024-07-10", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "2" ], - "x-ms-client-request-id": [ "4aa681d4-0f96-4b66-872f-ef2fa5e4fba5" ], + "x-ms-client-request-id": [ "f6a7dd4c-ed8d-4fa6-86f8-e244a87f59cd" ], "CommandName": [ "New-AzConnectedLicense" ], "FullCommandName": [ "New-AzConnectedLicense_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.5.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.1.0" ] }, "ContentHeaders": { } @@ -59,22 +59,22 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11997" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-request-id": [ "9f0f6e92-4a28-4cd4-b3a0-13517d5e5730" ], - "x-ms-correlation-request-id": [ "a2608d34-0a89-4993-a404-07f17825ef40" ], - "x-ms-routing-request-id": [ "EASTUS2:20240919T202900Z:a2608d34-0a89-4993-a404-07f17825ef40" ], + "x-ms-request-id": [ "9e352532-e9ea-4773-a3b6-56330741c5d1" ], + "x-ms-correlation-request-id": [ "dd812006-0fbb-411d-b214-db1a5fc090bc" ], + "x-ms-routing-request-id": [ "EASTUS2:20241003T202152Z:dd812006-0fbb-411d-b214-db1a5fc090bc" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 341A5AC300094EA3AEA76A894DC24AA8 Ref B: MNZ221060619047 Ref C: 2024-09-19T20:29:00Z" ], - "Date": [ "Thu, 19 Sep 2024 20:28:59 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 7697325AC6E7468A883B4A177B4B82BC Ref B: MNZ221060610029 Ref C: 2024-10-03T20:21:52Z" ], + "Date": [ "Thu, 03 Oct 2024 20:21:52 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "515" ], + "Content-Length": [ "510" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/licenses/myEsuLicense\",\"name\":\"myEsuLicense\",\"location\":\"centraluseuap\",\"type\":\"Microsoft.HybridCompute/licenses\",\"properties\":{\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"licenseType\":\"ESU\",\"licenseDetails\":{\"state\":\"Activated\",\"target\":\"Windows Server 2012\",\"edition\":\"Datacenter\",\"type\":\"pCore\",\"processors\":16,\"assignedLicenses\":8,\"immutableId\":\"add55cb2-4a65-40b6-8f50-62000c9bf26e\"}}}", + "Content": "{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/licenses/myEsuLicense2\",\"name\":\"myEsuLicense2\",\"location\":\"eastus\",\"type\":\"Microsoft.HybridCompute/licenses\",\"properties\":{\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"licenseType\":\"ESU\",\"licenseDetails\":{\"state\":\"Activated\",\"target\":\"Windows Server 2012\",\"edition\":\"Datacenter\",\"type\":\"pCore\",\"processors\":16,\"assignedLicenses\":8,\"immutableId\":\"ddd0d283-d0d0-4aa2-89c6-d8d4a2189909\"}}}", "isContentBase64": false } } diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/test/New-AzConnectedMachineExtension.Recording.json b/src/ConnectedMachine/ConnectedMachine.Autorest/test/New-AzConnectedMachineExtension.Recording.json index dec2dd0d70d8..e95452c961d6 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/test/New-AzConnectedMachineExtension.Recording.json +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/test/New-AzConnectedMachineExtension.Recording.json @@ -1,15 +1,15 @@ { - "New-AzConnectedMachineExtension+[NoContext]+Create+$PUT+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine/extensions/networkWatcher?api-version=2024-05-20-preview+1": { + "New-AzConnectedMachineExtension+[NoContext]+Create+$PUT+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine/extensions/networkWatcher?api-version=2024-07-10+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine/extensions/networkWatcher?api-version=2024-05-20-preview", - "Content": "{\r\n \"location\": \"centraluseuap\",\r\n \"properties\": {\r\n \"publisher\": \"Microsoft.Azure.NetworkWatcher\",\r\n \"type\": \"NetworkWatcherAgentWindows\",\r\n \"typeHandlerVersion\": \"1.4.2798.3\",\r\n \"settings\": {\r\n \"CommandToExecute\": \"dir\"\r\n }\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine/extensions/networkWatcher?api-version=2024-07-10", + "Content": "{\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"publisher\": \"Microsoft.Azure.NetworkWatcher\",\r\n \"type\": \"NetworkWatcherAgentWindows\",\r\n \"typeHandlerVersion\": \"1.4.2798.3\",\r\n \"settings\": {\r\n \"CommandToExecute\": \"dir\"\r\n }\r\n }\r\n}", "isContentBase64": false, "Headers": { }, "ContentHeaders": { "Content-Type": [ "application/json" ], - "Content-Length": [ "255" ] + "Content-Length": [ "248" ] } }, "Response": { @@ -17,18 +17,18 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationresults/cab07552-3e58-4fa0-a66b-6f2ea4e802de?api-version=2024-05-20-preview\u0026t=638623837776282010\u0026c=MIIHpTCCBo2gAwIBAgITfwN43MjEi0W8quEp-gAEA3jcyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwNjI0MTIwMzUxWhcNMjUwNjE5MTIwMzUxWjBAMT4w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K3EoU3yr5LEyfJCQqOCPvAt1AZ3bMR5moP6HXLcSlsDicH7R97FRrKO_6GywgIPDmt2Mm2VBO6p3qPCi2do79OCNlD3OpKaWuuuC6lnZB1ilSIi1w9vpGdji0ixc_dnfMVgL_z1lnM1nLDCsALgv8ghCQDVX4h_Net36CgZgv16gbE71947exvQNJZVVQfXQe0YRTktFsCJVlPmvV5d0KukZUDMAiH0oFJCto8W6ggMMy7u4JLzsLIxcJxrFMaGaz8\u0026s=qpTCq_oQ416t0qIVOJ0eFI6XS2znBqNUVYbaVR8o58igAX1vSt-QYuOv4jBH4WW1QQuYsu9FttOzdLaPnIuj0KAGWQQesHHi4HUa48cyVYgFDpsTPP7oCzASvsiSLknH_WdHFYsxWTW6mMbCjrL-60jnEXBomfsUv0ozjcOWgq0E04SyzdofNhVLIuELlwzlOC4yS6C_g80zKXfXNITnIU9T0QTndXx4ofq4YxJgKGlo7dpmJWK_oVGoUKFUUn_wn6KH4eltOQAGKpl-oD6B1cq3RL1bR1WVuVXEoiHGuKEEIJZh1krqnUF8lfLD8RRwh6YAhK9HzG7xk8PZw5ETNQ\u0026h=Z3uOstRweyVjK4h75-7LR6ZiCHIix_KjbjGMDYcYmUU" ], + "Location": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationresults/49f57239-ef23-4b30-8036-7a7a7f17fc9e?api-version=2024-07-10\u0026t=638639267360253211\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwMjMxMTQxWhcNMjUwMzE5MjMxMTQxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ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-p1RhHnkiEGL4GnP7PpQcRvAYMdH9LO5MRY7iLbBmosKatS_eWtSJD1CvzglNwy_vQzx81Vnk0CgndqXcVq-loGu7R4U7mkQ2NNqLbp447STxkpP-6Mdyv8J4bdnf1s3vFBNpgvJWKogWcNLlo8jnkbEf6RPNGe1W5lma7JwMKAcPzY\u0026s=cnsBR3qCVPsaTCD5Nu_k_4yMO48P8ansIgSYrCM58D2ny-VUUMtFlmonyW-r0ZDL7DPXJ5Mqd1-0BJakkRrTYVRvbMVmwKrZ_tvC4JBbStI2YxOHJx5w4tUCkRnsw8huzeYXE51jIKisjL06iiBoz76K_JtOts5zLwjMjBWUHGQoYbMlT8FwU8CUCVl382DO2s_t1UxImE-rMsFuuzxlIqZMGmWvaGSCYAGWrwq1LgfsI5ymWdXbwAlplxzUtwRBYr1lO_VLD98Xv6ljWnXsFeZmt8YYQsER9MqFdXWv0mAjEKflZq5NZslDxlV7uIGpXF-KzHOTNTYvJNnPVF5GQA\u0026h=zZTA4moqbgV4KoKfFUi3AT9Jf6suCy1YAqt2UkEouQM" ], "Retry-After": [ "15" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-request-id": [ "cab07552-3e58-4fa0-a66b-6f2ea4e802de" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/cab07552-3e58-4fa0-a66b-6f2ea4e802de?api-version=2024-05-20-preview\u0026t=638623837776126257\u0026c=MIIHpTCCBo2gAwIBAgITfwN43MjEi0W8quEp-gAEA3jcyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwNjI0MTIwMzUxWhcNMjUwNjE5MTIwMzUxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbn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bMR5moP6HXLcSlsDicH7R97FRrKO_6GywgIPDmt2Mm2VBO6p3qPCi2do79OCNlD3OpKaWuuuC6lnZB1ilSIi1w9vpGdji0ixc_dnfMVgL_z1lnM1nLDCsALgv8ghCQDVX4h_Net36CgZgv16gbE71947exvQNJZVVQfXQe0YRTktFsCJVlPmvV5d0KukZUDMAiH0oFJCto8W6ggMMy7u4JLzsLIxcJxrFMaGaz8\u0026s=Yw0swMUNfhoIlkoAyChh2X73zyHsSZO49UmnZZX3ErZfsRGbWL87ZwXZ6UbgRU308s7IlOYgO5D9LhwFH2YF2LW9tMLDyTAgtJhKPgbiUQDP1zryuBEIoSj2C-QNFgrBJsvqZsRNllAPsVNafFDlb50ynMPI1v8NYG9nDP2OvC9GZzUn06ooCd4lU_avzVSw0ZyFMNCeauuom1memRweGPHH24RKE5zf_lKd9UbY0FZwLvkwIaf_4V-T5yB2I12hOxGQJ79zYc4A6VaR05Zl63rfwqivKoNGHFSGlq9VqAP8kaQavoajRvvYcg5yW6S092gaEmR_8Kh-vmNdXY2ZWw\u0026h=l6fbdk1Ae6vqlQcKXkN7Rhwa75j0N1SR2im90500KBw" ], + "x-ms-request-id": [ "49f57239-ef23-4b30-8036-7a7a7f17fc9e" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/49f57239-ef23-4b30-8036-7a7a7f17fc9e?api-version=2024-07-10\u0026t=638639267360097467\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwMjMxMTQxWhcNMjUwMzE5MjMxMTQxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZX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wW2rPjxdevSRygGK_nEfywwFi-p1RhHnkiEGL4GnP7PpQcRvAYMdH9LO5MRY7iLbBmosKatS_eWtSJD1CvzglNwy_vQzx81Vnk0CgndqXcVq-loGu7R4U7mkQ2NNqLbp447STxkpP-6Mdyv8J4bdnf1s3vFBNpgvJWKogWcNLlo8jnkbEf6RPNGe1W5lma7JwMKAcPzY\u0026s=YTO93G88a5rih8g9_fCFY5Fa7ITwlzVt71vn9z_qoH2gnfVjv5kmR8aU0HB55O50gVdwVxsDT1ODBzE48TzHSxCf7rS7mTaDnlXr2WPonGgfyhxQJrxsMUU6QCMe-UuRfyOiYw_xhVx5z0uMO9jURuWJIRZuPfNo_LyX8WdRyPTiQOouH7ZRp6EbaZYDTbONzGn1auour53K_FpxLOZxGcTLn_3zyLEURCK7A8iyrm23vhsE7ndJBOEypb5xuXIt1DlQ7UIgfVLkwcSDKTrqM_-D-W2g6jzGLD0cLmfBPP9kjazzsSJmL4E6FwXh0sgbqveoMijlndWN5YV8HA_mKQ\u0026h=m9rAKPT2vCocwS5y7IGnZfVl7Sscpx8Yo-XA6qwbhgA" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "319" ], - "x-ms-correlation-request-id": [ "bdbb4208-8dce-4f2e-9bf1-bd2ca28e0341" ], - "x-ms-routing-request-id": [ "EASTUS2:20240919T230257Z:bdbb4208-8dce-4f2e-9bf1-bd2ca28e0341" ], + "x-ms-correlation-request-id": [ "4c9172bd-96df-44c3-8c38-a0c728a4da0b" ], + "x-ms-routing-request-id": [ "EASTUS:20241007T193856Z:4c9172bd-96df-44c3-8c38-a0c728a4da0b" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 954156DF8EF0459DA1E633D015FBD177 Ref B: MNZ221060619027 Ref C: 2024-09-19T23:02:56Z" ], - "Date": [ "Thu, 19 Sep 2024 23:02:57 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 4ED39E5E20CE4F87BF326C9EBCDC1A7F Ref B: MNZ221060618047 Ref C: 2024-10-07T19:38:54Z" ], + "Date": [ "Mon, 07 Oct 2024 19:38:55 GMT" ] }, "ContentHeaders": { "Content-Type": [ "application/json" ], @@ -39,20 +39,20 @@ "isContentBase64": false } }, - "New-AzConnectedMachineExtension+[NoContext]+Create+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/cab07552-3e58-4fa0-a66b-6f2ea4e802de?api-version=2024-05-20-preview\u0026t=638623837776126257\u0026c=MIIHpTCCBo2gAwIBAgITfwN43MjEi0W8quEp-gAEA3jcyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwNjI0MTIwMzUxWhcNMjUwNjE5MTIwMzUxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALiUzQ72miF3S8xuwVdDASkfTayfNuL2xoGjIYUp6ggSGWwqcFLd9Wyqc3F6x8NaURchp8S0iOYM5xMdEBYAsj1xu3zzvdMwM4vUqHIbG6w3GEP4tj7-UIz-btgan_NW7rOEM9oubY9dUtfuCg-mayRYdWezidp70abA2mUEj9ioVQ0CKe9kIzMPn7WFnuLRExud0yMQzDsWTVbaC5Eb_4Hx6vT5bnnLDisXEEQMzG96dJaC9KQZ-tFvcDzGz6diIqaancayRsE-Q5tMUFT-HqewL96WS1vsLjZx9weQsiyqFubDmhMVRawaS26swEjXSSzVp-b3R4MYD-Oh7GkmiFECAwEAAaOCBJIwggSOMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwI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fwqivKoNGHFSGlq9VqAP8kaQavoajRvvYcg5yW6S092gaEmR_8Kh-vmNdXY2ZWw\u0026h=l6fbdk1Ae6vqlQcKXkN7Rhwa75j0N1SR2im90500KBw+2": { + "New-AzConnectedMachineExtension+[NoContext]+Create+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/49f57239-ef23-4b30-8036-7a7a7f17fc9e?api-version=2024-07-10\u0026t=638639267360097467\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwMjMxMTQxWhcNMjUwMzE5MjMxMTQxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKRtcYDBXS7zz5tRtvVyhrUAjudYhej1E2D3dp6XWuPdbVMbQZwMlye8vdT-kDhFD7T2mrdWqsoGnTGk0_xOHBfLGnW-0QRUqpeoTNIhu8vc2CfTUtm2t2s_-fzvFtRyhDA4mfCH1cz92EVj0vd3FD4ikW6bdOp1NkYFqUVBhKlbvJk6y-TbLFBLP5Zx4m0Ua-_P7aMzbgvOJgMOTC2jLs5w_lFDJWeP3IKUOiJmrfLpf4ey5Ov94oCE6YncDBSHJZKWcrSxDHgSz9AXrxarL4HLajGbF3MRvfkMN2gNXCoiJXBEqCLDnyQZ0BgXIvuK7vG8Rj0TyhJNj-QPr8taY6UCAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwL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8HA_mKQ\u0026h=m9rAKPT2vCocwS5y7IGnZfVl7Sscpx8Yo-XA6qwbhgA+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/cab07552-3e58-4fa0-a66b-6f2ea4e802de?api-version=2024-05-20-preview\u0026t=638623837776126257\u0026c=MIIHpTCCBo2gAwIBAgITfwN43MjEi0W8quEp-gAEA3jcyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwNjI0MTIwMzUxWhcNMjUwNjE5MTIwMzUxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALiUzQ72miF3S8xuwVdDASkfTayfNuL2xoGjIYUp6ggSGWwqcFLd9Wyqc3F6x8NaURchp8S0iOYM5xMdEBYAsj1xu3zzvdMwM4vUqHIbG6w3GEP4tj7-UIz-btgan_NW7rOEM9oubY9dUtfuCg-mayRYdWezidp70abA2mUEj9ioVQ0CKe9kIzMPn7WFnuLRExud0yMQzDsWTVbaC5Eb_4Hx6vT5bnnLDisXEEQMzG96dJaC9KQZ-tFvcDzGz6diIqaancayRsE-Q5tMUFT-HqewL96WS1vsLjZx9weQsiyqFubDmhMVRawaS26swEjXSSzVp-b3R4MYD-Oh7GkmiFECAwEAAaOCBJIwggSOMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFB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0N1SR2im90500KBw", + "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/49f57239-ef23-4b30-8036-7a7a7f17fc9e?api-version=2024-07-10\u0026t=638639267360097467\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwMjMxMTQxWhcNMjUwMzE5MjMxMTQxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKRtcYDBXS7zz5tRtvVyhrUAjudYhej1E2D3dp6XWuPdbVMbQZwMlye8vdT-kDhFD7T2mrdWqsoGnTGk0_xOHBfLGnW-0QRUqpeoTNIhu8vc2CfTUtm2t2s_-fzvFtRyhDA4mfCH1cz92EVj0vd3FD4ikW6bdOp1NkYFqUVBhKlbvJk6y-TbLFBLP5Zx4m0Ua-_P7aMzbgvOJgMOTC2jLs5w_lFDJWeP3IKUOiJmrfLpf4ey5Ov94oCE6YncDBSHJZKWcrSxDHgSz9AXrxarL4HLajGbF3MRvfkMN2gNXCoiJXBEqCLDnyQZ0BgXIvuK7vG8Rj0TyhJNj-QPr8taY6UCAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm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EAYI3ewICMFgwVgYIKwYBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwEwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAG0WbzLPsmSSMI7aTe2npixmkdCmwcdZHGd43tUnB8JKrLNJEFcBsQmbcIH0adpnQNrDgRkNBBOTZ4s1LIBlRQapZpPsRItAMUguVpGVRH08T0i43w9xrp_clNbAJrrfRbmYroF0WJKMJ0nwW2rPjxdevSRygGK_nEfywwFi-p1RhHnkiEGL4GnP7PpQcRvAYMdH9LO5MRY7iLbBmosKatS_eWtSJD1CvzglNwy_vQzx81Vnk0CgndqXcVq-loGu7R4U7mkQ2NNqLbp447STxkpP-6Mdyv8J4bdnf1s3vFBNpgvJWKogWcNLlo8jnkbEf6RPNGe1W5lma7JwMKAcPzY\u0026s=YTO93G88a5rih8g9_fCFY5Fa7ITwlzVt71vn9z_qoH2gnfVjv5kmR8aU0HB55O50gVdwVxsDT1ODBzE48TzHSxCf7rS7mTaDnlXr2WPonGgfyhxQJrxsMUU6QCMe-UuRfyOiYw_xhVx5z0uMO9jURuWJIRZuPfNo_LyX8WdRyPTiQOouH7ZRp6EbaZYDTbONzGn1auour53K_FpxLOZxGcTLn_3zyLEURCK7A8iyrm23vhsE7ndJBOEypb5xuXIt1DlQ7UIgfVLkwcSDKTrqM_-D-W2g6jzGLD0cLmfBPP9kjazzsSJmL4E6FwXh0sgbqveoMijlndWN5YV8HA_mKQ\u0026h=m9rAKPT2vCocwS5y7IGnZfVl7Sscpx8Yo-XA6qwbhgA", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "2" ], - "x-ms-client-request-id": [ "a6b7ed2c-436e-4abb-9d79-10ed9e0e0993" ], + "x-ms-client-request-id": [ "d91e392b-2a7e-4d2c-afb7-295fe888d11e" ], "CommandName": [ "New-AzConnectedMachineExtension" ], "FullCommandName": [ "New-AzConnectedMachineExtension_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.5.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.1.0" ] }, "ContentHeaders": { } @@ -62,42 +62,42 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationresults/cab07552-3e58-4fa0-a66b-6f2ea4e802de?api-version=2024-05-20-preview\u0026t=638623837930872522\u0026c=MIIHpTCCBo2gAwIBAgITfwN43MjEi0W8quEp-gAEA3jcyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwNjI0MTIwMzUxWhcNMjUwNjE5MTIwMzUxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALiUzQ72miF3S8xuwVdDASkfTayfNuL2xoGjIYUp6ggSGWwqcFLd9Wyqc3F6x8NaURchp8S0iOYM5xMdEBYAsj1xu3zzvdMwM4vUqHIbG6w3GEP4tj7-UIz-btgan_NW7rOEM9oubY9dUtfuCg-mayRYdWezidp70abA2mUEj9ioVQ0CKe9kIzMPn7WFnuLRExud0yMQzDsWTVba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5K2trJUZfoywK9Esjv6r2bjVA2qi0n88jeLkbHtUHtlWf06537CR_HNQ9-CL9APPKXO6XOI8ytkuiVu6uHEadktDouhSuHr7BeTzslKSd_91mBcD5Q7dMNSlBGP6lI7lFMUEtmBf4FEuU8svIkYYHQwDcKa4GMTxjFTKnTz3sFXJUTc2tI2Eeerf_QraKsYPVIK3-aPNgrkk_gmOuv36V-vK0qEjFSveeMb1Mt48P1hb1T2yrzix0XZvEJngLtrObIaguHFWnbMkU5KAaSA\u0026h=uJTQosAXEvgjB6J7X-VE0650mym90NT61HipiuMTJfQ" ], + "Location": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationresults/49f57239-ef23-4b30-8036-7a7a7f17fc9e?api-version=2024-07-10\u0026t=638639267512961046\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwMjMxMTQxWhcNMjUwMzE5MjMxMTQxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKRtcYDBXS7zz5tRtvVyhrUAjudYhej1E2D3dp6XWuPdbVMbQZwMlye8vdT-kDhFD7T2mrdWqsoGnTGk0_xOHBfLGnW-0QRUqpeoTNIhu8vc2CfTUtm2t2s_-fzvFtRyhDA4mfCH1cz92EVj0vd3FD4ikW6bdOp1NkYFqUVBhKlbvJk6y-TbLFBLP5Zx4m0Ua-_P7aMzbgvOJgMOTC2jLs5w_lFDJWeP3IKUOiJmrfLpf4ey5Ov94oCE6YncDBSHJZKWcrSxDH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Bt0R590mOsClj5g9E-vDuqcVF_YRY3tV6KEgovOiE5-8OW5yEbeFYHrli5QeDM6sbk-cRysZ0iUBAa7_2IlGljL4e6oSZsYjFNvcvb2MiQ9E0DK-w3DPardzxziQig2MZsBkFAuoZLHBn8SenAVw6IUR2kD5AnIeEc7ZMc_L4KrZp9dISwd5eiX9MA\u0026h=FER58BBFEQWyVkjJihLS1O5kl4XQsnRKCaZVLGxV3xw" ], "Retry-After": [ "15" ], "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-request-id": [ "432e7980-4c2b-4389-9f14-6205672ff736" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/cab07552-3e58-4fa0-a66b-6f2ea4e802de?api-version=2024-05-20-preview\u0026t=638623837930716311\u0026c=MIIHpTCCBo2gAwIBAgITfwN43MjEi0W8quEp-gAEA3jcyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwNjI0MTIwMzUxWhcNMjUwNjE5MTIwMzUxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALiUzQ72miF3S8xuwVdDASkfTayfNuL2xoGjIYUp6ggSGWwqcFLd9Wyqc3F6x8NaURchp8S0iOYM5xMdEBYAsj1xu3zzvdMwM4vUqHIbG6w3GEP4tj7-UIz-btgan_NW7rOEM9oubY9dUtfuCg-mayRYdWezidp70abA2mUEj9ioVQ0CKe9kIzMPn7WFnuLRExud0yMQzDsWTVbaC5Eb_4Hx6vT5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rcTRpWeOsBm_2gseF11RcSc_GNLjAA54As1Wz0RHUuEe2J6g-edV_HD26MM2OJAn9Ibqca4Q2OU-eHReRiAaa3qvJ_4dSr1ceCDZ36BQyh-YQrZz0oMDLjF3AV3eDNGn2Tvh4ekrcaxBrNdELojyd8QECibMkQLuzEfhpt3drLF1T2IHy5tglCN3UqxKrpR0hCsydHTUKHky2aXZQkzrNtudhPoZBzrxjKT0QayIGMohNbgSxJkiyweEdZDuvg\u0026h=hDsRT4PmxueeYPJHgsois9u9K6u-kGeGdHW9MD1ceIk" ], - "x-ms-correlation-request-id": [ "30e023e3-ea27-4c25-900b-432e8205c427" ], - "x-ms-routing-request-id": [ "EASTUS2:20240919T230313Z:30e023e3-ea27-4c25-900b-432e8205c427" ], + "x-ms-request-id": [ "10030340-82a1-42d9-bfbb-704dfea27f4b" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/49f57239-ef23-4b30-8036-7a7a7f17fc9e?api-version=2024-07-10\u0026t=638639267512961046\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwMjMxMTQxWhcNMjUwMzE5MjMxMTQxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKRtcYDBXS7zz5tRtvVyhrUAjudYhej1E2D3dp6XWuPdbVMbQZwMlye8vdT-kDhFD7T2mrdWqsoGnTGk0_xOHBfLGnW-0QRUqpeoTNIhu8vc2CfTUtm2t2s_-fzvFt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bMBE0U7_hKbaMmo3MF_4Yr0TbVYgS0Fmwqpa79MnL8tUZCHMO8BRYaKrkvXmWdxChpgESZDfSVsp-fZXmk9MrHKuYBdqZHE5y4FOqEApSXxtSU08ZaI6ZWxHbuPjzZmReDeAjjRYAf-m_Fm24mvL6ODe8eFPZd4xtc36sfva4Riwce9E7xWhsZC9I_vuxt1OZ57NEgjp1ZBs6BXxYHKGa8Ic07sKflMI0vC4g0ubvykbSoiOPPlM-O6m-Q3gR4TT-qlIR_i0DnceoIRa0OSu3aMwZAcVHl99ztM4KSBjFPTRyRqK4Dy2SVr6Ass_mtOacrvSsU8TupdZPjA\u0026h=mNDGXg4BJXNxuDCxIBVJfvUx1lWyHfocI38XhLf4MP4" ], + "x-ms-correlation-request-id": [ "87a1281f-0bc7-472c-a0ac-86821f9851f5" ], + "x-ms-routing-request-id": [ "EASTUS:20241007T193911Z:87a1281f-0bc7-472c-a0ac-86821f9851f5" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 810D4EF955CE42A486D83C00D7B0840F Ref B: MNZ221060619027 Ref C: 2024-09-19T23:03:12Z" ], - "Date": [ "Thu, 19 Sep 2024 23:03:12 GMT" ] + "X-MSEdge-Ref": [ "Ref A: AF12387800224F629A82AB8F8FC18062 Ref B: MNZ221060618047 Ref C: 2024-10-07T19:39:11Z" ], + "Date": [ "Mon, 07 Oct 2024 19:39:10 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "111" ], + "Content-Length": [ "112" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"cab07552-3e58-4fa0-a66b-6f2ea4e802de\",\"status\":\"InProgress\",\"startTime\":\"2024-09-19T23:02:57.597051Z\"}", + "Content": "{\"name\":\"49f57239-ef23-4b30-8036-7a7a7f17fc9e\",\"status\":\"InProgress\",\"startTime\":\"2024-10-07T19:38:55.9341818Z\"}", "isContentBase64": false } }, - "New-AzConnectedMachineExtension+[NoContext]+Create+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/cab07552-3e58-4fa0-a66b-6f2ea4e802de?api-version=2024-05-20-preview\u0026t=638623837930716311\u0026c=MIIHpTCCBo2gAwIBAgITfwN43MjEi0W8quEp-gAEA3jcyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwNjI0MTIwMzUxWhcNMjUwNjE5MTIwMzUxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALiUzQ72miF3S8xuwVdDASkfTayfNuL2xoGjIYUp6ggSGWwqcFLd9Wyqc3F6x8NaURchp8S0iOYM5xMdEBYAsj1xu3zzvdMwM4vUqHIbG6w3GEP4tj7-UIz-btgan_NW7rOEM9oubY9dUtfuCg-mayRYdWezidp70abA2mUEj9ioVQ0CKe9kIzMPn7WFnuLRExud0yMQzDsWTVbaC5Eb_4Hx6vT5bnnLDisXEEQMzG96dJaC9KQZ-tFvcDzGz6diIqaancayRsE-Q5tMUFT-HqewL96WS1vsLjZx9weQsiyqFubDmhMVRawaS26swEjXSSzVp-b3R4MYD-Oh7GkmiFECAwEAAaOCBJIwggSOMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRwOi8vY3JsLm1pY3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EgZUwgZIwDAYKKwYBBAGCN3sBATBmBgorBgEEAYI3ewICMFgwVgYIKwYBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwEwDAYKKwYBBAGCN3sEATAfBgNVHSMEGDAWgBSuecJrXSWIEwb2BwnDl3x7l48dVTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADbkVmxlTl8VUMrDJBuRWlmxRWKlxGiR-kZINt99ksV65ZBhsigLjAZYo4HpzQydRwwPVGUebtBD3XhFnalnYK3EoU3yr5LEyfJCQqOCPvAt1AZ3bMR5moP6HXLcSlsDicH7R97FRrKO_6GywgIPDmt2Mm2VBO6p3qPCi2do79OCNlD3OpKaWuuuC6lnZB1ilSIi1w9vpGdji0ixc_dnfMVgL_z1lnM1nLDCsALgv8ghCQDVX4h_Net36CgZgv16gbE71947exvQNJZVVQfXQe0YRTktFsCJVlPmvV5d0KukZUDMAiH0oFJCto8W6ggMMy7u4JLzsLIxcJxrFMaGaz8\u0026s=e7ge4axs6dbf30DN3AEVz53-y-fdODT0i3h1DpMQTGsEvSS2LPhA-c8Ccox-_toypYBWTy2vpUrUilQoraQGlW03rcTRpWeOsBm_2gseF11RcSc_GNLjAA54As1Wz0RHUuEe2J6g-edV_HD26MM2OJAn9Ibqca4Q2OU-eHReRiAaa3qvJ_4dSr1ceCDZ36BQyh-YQrZz0oMDLjF3AV3eDNGn2Tvh4ekrcaxBrNdELojyd8QECibMkQLuzEfhpt3drLF1T2IHy5tglCN3UqxKrpR0hCsydHTUKHky2aXZQkzrNtudhPoZBzrxjKT0QayIGMohNbgSxJkiyweEdZDuvg\u0026h=hDsRT4PmxueeYPJHgsois9u9K6u-kGeGdHW9MD1ceIk+3": { + "New-AzConnectedMachineExtension+[NoContext]+Create+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/49f57239-ef23-4b30-8036-7a7a7f17fc9e?api-version=2024-07-10\u0026t=638639267512961046\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwMjMxMTQxWhcNMjUwMzE5MjMxMTQxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKRtcYDBXS7zz5tRtvVyhrUAjudYhej1E2D3dp6XWuPdbVMbQZwMlye8vdT-kDhFD7T2mrdWqsoGnTGk0_xOHBfLGnW-0QRUqpeoTNIhu8vc2CfTUtm2t2s_-fzvFtRyhDA4mfCH1cz92EVj0vd3FD4ikW6bdOp1NkYFqUVBhKlbvJk6y-TbLFBLP5Zx4m0Ua-_P7aMzbgvOJgMOTC2jLs5w_lFDJWeP3IKUOiJmrfLpf4ey5Ov94oCE6YncDBSHJZKWcrSxDHgSz9AXrxarL4HLajGbF3MRvfkMN2gNXCoiJXBEqCLDnyQZ0BgXIvuK7vG8Rj0TyhJNj-QPr8taY6UCAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEv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h5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwEwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAG0WbzLPsmSSMI7aTe2npixmkdCmwcdZHGd43tUnB8JKrLNJEFcBsQmbcIH0adpnQNrDgRkNBBOTZ4s1LIBlRQapZpPsRItAMUguVpGVRH08T0i43w9xrp_clNbAJrrfRbmYroF0WJKMJ0nwW2rPjxdevSRygGK_nEfywwFi-p1RhHnkiEGL4GnP7PpQcRvAYMdH9LO5MRY7iLbBmosKatS_eWtSJD1CvzglNwy_vQzx81Vnk0CgndqXcVq-loGu7R4U7mkQ2NNqLbp447STxkpP-6Mdyv8J4bdnf1s3vFBNpgvJWKogWcNLlo8jnkbEf6RPNGe1W5lma7JwMKAcPzY\u0026s=mdtKL8lbMBE0U7_hKbaMmo3MF_4Yr0TbVYgS0Fmwqpa79MnL8tUZCHMO8BRYaKrkvXmWdxChpgESZDfSVsp-fZXmk9MrHKuYBdqZHE5y4FOqEApSXxtSU08ZaI6ZWxHbuPjzZmReDeAjjRYAf-m_Fm24mvL6ODe8eFPZd4xtc36sfva4Riwce9E7xWhsZC9I_vuxt1OZ57NEgjp1ZBs6BXxYHKGa8Ic07sKflMI0vC4g0ubvykbSoiOPPlM-O6m-Q3gR4TT-qlIR_i0DnceoIRa0OSu3aMwZAcVHl99ztM4KSBjFPTRyRqK4Dy2SVr6Ass_mtOacrvSsU8TupdZPjA\u0026h=mNDGXg4BJXNxuDCxIBVJfvUx1lWyHfocI38XhLf4MP4+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/cab07552-3e58-4fa0-a66b-6f2ea4e802de?api-version=2024-05-20-preview\u0026t=638623837930716311\u0026c=MIIHpTCCBo2gAwIBAgITfwN43MjEi0W8quEp-gAEA3jcyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwNjI0MTIwMzUxWhcNMjUwNjE5MTIwMzUxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALiUzQ72miF3S8xuwVdDASkfTayfNuL2xoGjIYUp6ggSGWwqcFLd9Wyqc3F6x8NaURchp8S0iOYM5xMdEBYAsj1xu3zzvdMwM4vUqHIbG6w3GEP4tj7-UIz-btgan_NW7rOEM9oubY9dUtfuCg-mayRYdWezidp70abA2mUEj9ioVQ0CKe9kIzMPn7WFnuLRExud0yMQzDsWTVbaC5Eb_4Hx6vT5bnnLDisXEEQMzG96dJaC9KQZ-tFvcDzGz6diIqaancayRsE-Q5tMUFT-HqewL96WS1vsLjZx9weQsiyqFubDmhMVRawaS26swEjXSSzVp-b3R4MYD-Oh7GkmiFECAwEAAaOCBJIwggSOMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAw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AZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwEwDAYKKwYBBAGCN3sEATAfBgNVHSMEGDAWgBSuecJrXSWIEwb2BwnDl3x7l48dVTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADbkVmxlTl8VUMrDJBuRWlmxRWKlxGiR-kZINt99ksV65ZBhsigLjAZYo4HpzQydRwwPVGUebtBD3XhFnalnYK3EoU3yr5LEyfJCQqOCPvAt1AZ3bMR5moP6HXLcSlsDicH7R97FRrKO_6GywgIPDmt2Mm2VBO6p3qPCi2do79OCNlD3OpKaWuuuC6lnZB1ilSIi1w9vpGdji0ixc_dnfMVgL_z1lnM1nLDCsALgv8ghCQDVX4h_Net36CgZgv16gbE71947exvQNJZVVQfXQe0YRTktFsCJVlPmvV5d0KukZUDMAiH0oFJCto8W6ggMMy7u4JLzsLIxcJxrFMaGaz8\u0026s=e7ge4axs6dbf30DN3AEVz53-y-fdODT0i3h1DpMQTGsEvSS2LPhA-c8Ccox-_toypYBWTy2vpUrUilQoraQGlW03rcTRpWeOsBm_2gseF11RcSc_GNLjAA54As1Wz0RHUuEe2J6g-edV_HD26MM2OJAn9Ibqca4Q2OU-eHReRiAaa3qvJ_4dSr1ceCDZ36BQyh-YQrZz0oMDLjF3AV3eDNGn2Tvh4ekrcaxBrNdELojyd8QECibMkQLuzEfhpt3drLF1T2IHy5tglCN3UqxKrpR0hCsydHTUKHky2aXZQkzrNtudhPoZBzrxjKT0QayIGMohNbgSxJkiyweEdZDuvg\u0026h=hDsRT4PmxueeYPJHgsois9u9K6u-kGeGdHW9MD1ceIk", + "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/49f57239-ef23-4b30-8036-7a7a7f17fc9e?api-version=2024-07-10\u0026t=638639267512961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BBAGCN3sEAjAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAG0WbzLPsmSSMI7aTe2npixmkdCmwcdZHGd43tUnB8JKrLNJEFcBsQmbcIH0adpnQNrDgRkNBBOTZ4s1LIBlRQapZpPsRItAMUguVpGVRH08T0i43w9xrp_clNbAJrrfRbmYroF0WJKMJ0nwW2rPjxdevSRygGK_nEfywwFi-p1RhHnkiEGL4GnP7PpQcRvAYMdH9LO5MRY7iLbBmosKatS_eWtSJD1CvzglNwy_vQzx81Vnk0CgndqXcVq-loGu7R4U7mkQ2NNqLbp447STxkpP-6Mdyv8J4bdnf1s3vFBNpgvJWKogWcNLlo8jnkbEf6RPNGe1W5lma7JwMKAcPzY\u0026s=mdtKL8lbMBE0U7_hKbaMmo3MF_4Yr0TbVYgS0Fmwqpa79MnL8tUZCHMO8BRYaKrkvXmWdxChpgESZDfSVsp-fZXmk9MrHKuYBdqZHE5y4FOqEApSXxtSU08ZaI6ZWxHbuPjzZmReDeAjjRYAf-m_Fm24mvL6ODe8eFPZd4xtc36sfva4Riwce9E7xWhsZC9I_vuxt1OZ57NEgjp1ZBs6BXxYHKGa8Ic07sKflMI0vC4g0ubvykbSoiOPPlM-O6m-Q3gR4TT-qlIR_i0DnceoIRa0OSu3aMwZAcVHl99ztM4KSBjFPTRyRqK4Dy2SVr6Ass_mtOacrvSsU8TupdZPjA\u0026h=mNDGXg4BJXNxuDCxIBVJfvUx1lWyHfocI38XhLf4MP4", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "3" ], - "x-ms-client-request-id": [ "a6b7ed2c-436e-4abb-9d79-10ed9e0e0993" ], + "x-ms-client-request-id": [ "d91e392b-2a7e-4d2c-afb7-295fe888d11e" ], "CommandName": [ "New-AzConnectedMachineExtension" ], "FullCommandName": [ "New-AzConnectedMachineExtension_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.5.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.1.0" ] }, "ContentHeaders": { } @@ -107,42 +107,42 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationresults/cab07552-3e58-4fa0-a66b-6f2ea4e802de?api-version=2024-05-20-preview\u0026t=638623838085089728\u0026c=MIIHpTCCBo2gAwIBAgITfwN43MjEi0W8quEp-gAEA3jcyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwNjI0MTIwMzUxWhcNMjUwNjE5MTIwMzUxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALiUzQ72miF3S8xuwVdDASkfTayfNuL2xoGjIYUp6ggSGWwqcFLd9Wyqc3F6x8NaURchp8S0iOYM5xMdEBYAsj1xu3zzvdMwM4vUqHIbG6w3GEP4tj7-UIz-btgan_NW7rOEM9oubY9dUtfuCg-mayRYdWezidp70abA2mUEj9ioVQ0CKe9kIzMPn7WFnuLRExud0yMQzDsWTVbaC5Eb_4Hx6vT5bnnLDisXEEQMzG96dJaC9KQZ-tFvcDzGz6diIqaancayRsE-Q5tMUFT-HqewL96WS1vsLjZx9weQsiyqFubDmhMVRawaS26swEjXSSzVp-b3R4MYD-Oh7GkmiFECAwEAAaOCB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DtV5v7rP9xJ5OubieFDxe0VHGM4eT1lB1_C4zlzlZ3QVclsJVEGVWQWXgyoT1TXao_LPreq8M_p52jkZL9hME6yEhd4bmtuMvBMkhvzmZgNLX6FHN6UF9cm9HcJdtELGmhMpjA\u0026h=Yu3_KxJ-zhtPnbmEp8Htqj8QCxS0gtEm6mTBgni3tsI" ], + "Location": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationresults/49f57239-ef23-4b30-8036-7a7a7f17fc9e?api-version=2024-07-10\u0026t=638639267666072582\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwMjMxMTQxWhcNMjUwMzE5MjMxMTQxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKRtcYDBXS7zz5tRtvVyhrUAjudYhej1E2D3dp6XWuPdbVMbQZwMlye8vdT-kDhFD7T2mrdWqsoGnTGk0_xOHBfLGnW-0QRUqpeoTNIhu8vc2CfTUtm2t2s_-fzvFtRyhDA4mfCH1cz92EVj0vd3FD4ikW6bdOp1NkYFqUVBhKlbvJk6y-TbLFBLP5Zx4m0Ua-_P7aMzbgvOJgMOTC2jLs5w_lFDJWeP3IKUOiJmrfLpf4ey5Ov94oCE6YncDBSHJZKWcrSxDHgSz9AXrxarL4HLajGbF3MRvfkMN2gNXCoiJXBEqCLDnyQZ0BgXIvuK7vG8Rj0TyhJNj-QPr8taY6UCAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKw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Fc9sgcA1jo16LWZyaEjvq6g44-pduwRdDtQfE-bOHHZnDxMBBRhICPw\u0026h=-DSzBrgPQRDmXaoKwnjZHJcDbhqFPYjTlFQWuGcyJrA" ], "Retry-After": [ "15" ], "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-request-id": [ "e7b91dcc-fba5-4c78-b116-3b4a139601db" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/cab07552-3e58-4fa0-a66b-6f2ea4e802de?api-version=2024-05-20-preview\u0026t=638623838085089728\u0026c=MIIHpTCCBo2gAwIBAgITfwN43MjEi0W8quEp-gAEA3jcyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwNjI0MTIwMzUxWhcNMjUwNjE5MTIwMzUxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALiUzQ72miF3S8xuwVdDASkfTayfNuL2xoGjIYUp6ggSGWwqcFLd9Wyqc3F6x8NaURchp8S0iOYM5xMdEBYAsj1xu3zzvdMwM4vUqHIbG6w3GEP4tj7-UIz-btgan_NW7rOEM9oubY9dUtfuCg-mayRYdWezidp70abA2mUEj9ioVQ0CKe9kIzMPn7WFnuLRExud0yMQzDsWTVbaC5Eb_4Hx6vT5bnnLDisXEEQMzG96dJaC9KQZ-tFvcDzGz6diIqaancayRsE-Q5tMUFT-HqewL96WS1vsLjZx9weQsiyqFubDmhMVRawaS26swEjXSSzVp-b3R4MYD-Oh7GkmiFECAwEAAa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A5wrCemZAFysCutVr2Z708s4PFnWEOmWQ96PFPxuruA-IE2xZQgYNUpmycQseVKsIqRLo9gLcPqC9O16Ki-Zr4Oac_VcGOgpkBP0N1ZCwI55Chbi6ULw0BnIo0b5uEsdL_04Q\u0026h=4AidUa4HEmwQ3dhlFAhBX-tNACXcMjA1p65CJJwMKdI" ], - "x-ms-correlation-request-id": [ "b1b7cc29-e423-4a9e-831a-2394ed35138f" ], - "x-ms-routing-request-id": [ "EASTUS2:20240919T230328Z:b1b7cc29-e423-4a9e-831a-2394ed35138f" ], + "x-ms-request-id": [ "5630b9d5-aecc-4654-87d3-6ab607c16ffd" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/49f57239-ef23-4b30-8036-7a7a7f17fc9e?api-version=2024-07-10\u0026t=638639267666072582\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwMjMxMTQxWhcNMjUwMzE5MjMxMTQxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKRtcYDBXS7zz5tRtvVyhrUAjudYhej1E2D3dp6XWuPdbVMbQZwMlye8vdT-kDhFD7T2mrdWqsoGnTGk0_xOHBfLGnW-0QRUqpeoTNIhu8vc2CfTUtm2t2s_-fzvFtRyhDA4mfCH1cz92EVj0vd3FD4ikW6bdOp1NkYFqUVBhKlbvJk6y-TbLFBLP5Zx4m0Ua-_P7aMzbgvOJgMOTC2jLs5w_lFDJWeP3IKU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2_jz7aBcX2S4mByssm4E31SlhaB1Ux0ayT9K3CCE97usAXQUsw_ttE4HRC60EBuoqh7QwFpGwCtHNT9j4ELQntk48hyV5mzUzw_xgsi4Mjwdum4VGNKRLVQluNqyCKRlwlwP-s1DJnbuBn3hnKvgtKRqZcTcYWB7QCk9RE5tuNoE6B7v9mTklHIe-bEmR68tIpoaLv0BEIo_W9Zluc0I1d_sPKqbntEwQ\u0026h=AJZr44wOp9Tc3-TKuqOyFQ3B2i4jdpP-Yl09oTQ92Qk" ], + "x-ms-correlation-request-id": [ "5e5bca04-933a-474d-a018-9c3d2dda74d2" ], + "x-ms-routing-request-id": [ "EASTUS:20241007T193926Z:5e5bca04-933a-474d-a018-9c3d2dda74d2" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 390366D9E9614CF2A6BB1C8B7CE663B4 Ref B: MNZ221060619027 Ref C: 2024-09-19T23:03:28Z" ], - "Date": [ "Thu, 19 Sep 2024 23:03:27 GMT" ] + "X-MSEdge-Ref": [ "Ref A: F39C206F3AA244FE967D682BF6A85194 Ref B: MNZ221060618047 Ref C: 2024-10-07T19:39:26Z" ], + "Date": [ "Mon, 07 Oct 2024 19:39:26 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "111" ], + "Content-Length": [ "112" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"cab07552-3e58-4fa0-a66b-6f2ea4e802de\",\"status\":\"InProgress\",\"startTime\":\"2024-09-19T23:02:57.597051Z\"}", + "Content": "{\"name\":\"49f57239-ef23-4b30-8036-7a7a7f17fc9e\",\"status\":\"InProgress\",\"startTime\":\"2024-10-07T19:38:55.9341818Z\"}", "isContentBase64": false } }, - "New-AzConnectedMachineExtension+[NoContext]+Create+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/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GYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwEwDAYKKwYBBAGCN3sEATAfBgNVHSMEGDAWgBSuecJrXSWIEwb2BwnDl3x7l48dVTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADbkVmxlTl8VUMrDJBuRWlmxRWKlxGiR-kZINt99ksV65ZBhsigLjAZYo4HpzQydRwwPVGUebtBD3XhFnalnYK3EoU3yr5LEyfJCQqOCPvAt1AZ3bMR5moP6HXLcSlsDicH7R97FRrKO_6GywgIPDmt2Mm2VBO6p3qPCi2do79OCNlD3OpKaWuuuC6lnZB1ilSIi1w9vpGdji0ixc_dnfMVgL_z1lnM1nLDCsALgv8ghCQDVX4h_Net36CgZgv16gbE71947exvQNJZVVQfXQe0YRTktFsCJVlPmvV5d0KukZUDMAiH0oFJCto8W6ggMMy7u4JLzsLIxcJxrFMaGaz8\u0026s=haZbDmy_xm7uP_WoPt-EED7Ii19Ews2UswUHrwpkkgMSNusP8aG_8wCpDx1oVJFHIL4CF7esaV6NFcnKpCxFQSpYsyn70gWFHhmYf1vc43tluMF4JH_M5nbPBTMXQNrs1BIdmhvYwD_GI5vGMYSfXl35ytIqFsUAFYHQhaGAlY7vmMW-UO-QwICifzAnW1I7qiRl6HkT6ipAwfSMmA5wrCemZAFysCutVr2Z708s4PFnWEOmWQ96PFPxuruA-IE2xZQgYNUpmycQseVKsIqRLo9gLcPqC9O16Ki-Zr4Oac_VcGOgpkBP0N1ZCwI55Chbi6ULw0BnIo0b5uEsdL_04Q\u0026h=4AidUa4HEmwQ3dhlFAhBX-tNACXcMjA1p65CJJwMKdI+4": { + "New-AzConnectedMachineExtension+[NoContext]+Create+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/49f57239-ef23-4b30-8036-7a7a7f17fc9e?api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GAQQBgjd7AwEwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAG0WbzLPsmSSMI7aTe2npixmkdCmwcdZHGd43tUnB8JKrLNJEFcBsQmbcIH0adpnQNrDgRkNBBOTZ4s1LIBlRQapZpPsRItAMUguVpGVRH08T0i43w9xrp_clNbAJrrfRbmYroF0WJKMJ0nwW2rPjxdevSRygGK_nEfywwFi-p1RhHnkiEGL4GnP7PpQcRvAYMdH9LO5MRY7iLbBmosKatS_eWtSJD1CvzglNwy_vQzx81Vnk0CgndqXcVq-loGu7R4U7mkQ2NNqLbp447STxkpP-6Mdyv8J4bdnf1s3vFBNpgvJWKogWcNLlo8jnkbEf6RPNGe1W5lma7JwMKAcPzY\u0026s=lq1qacvqHJlThEf7O7xH9IUayU0hzhL8FK0am2yUaqHRdxJZedPJQt7HPzTLTmBoJO2Z4SkHvsVyseZEVi9aPEvCacfXdqntbm6k-bcU8AHIzrmFGaxGX2_jz7aBcX2S4mByssm4E31SlhaB1Ux0ayT9K3CCE97usAXQUsw_ttE4HRC60EBuoqh7QwFpGwCtHNT9j4ELQntk48hyV5mzUzw_xgsi4Mjwdum4VGNKRLVQluNqyCKRlwlwP-s1DJnbuBn3hnKvgtKRqZcTcYWB7QCk9RE5tuNoE6B7v9mTklHIe-bEmR68tIpoaLv0BEIo_W9Zluc0I1d_sPKqbntEwQ\u0026h=AJZr44wOp9Tc3-TKuqOyFQ3B2i4jdpP-Yl09oTQ92Qk+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/cab07552-3e58-4fa0-a66b-6f2ea4e802de?api-version=2024-05-20-preview\u0026t=638623838085089728\u0026c=MIIHpTCCBo2gAwIBAgITfwN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BgNVHSMEGDAWgBSuecJrXSWIEwb2BwnDl3x7l48dVTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADbkVmxlTl8VUMrDJBuRWlmxRWKlxGiR-kZINt99ksV65ZBhsigLjAZYo4HpzQydRwwPVGUebtBD3XhFnalnYK3EoU3yr5LEyfJCQqOCPvAt1AZ3bMR5moP6HXLcSlsDicH7R97FRrKO_6GywgIPDmt2Mm2VBO6p3qPCi2do79OCNlD3OpKaWuuuC6lnZB1ilSIi1w9vpGdji0ixc_dnfMVgL_z1lnM1nLDCsALgv8ghCQDVX4h_Net36CgZgv16gbE71947exvQNJZVVQfXQe0YRTktFsCJVlPmvV5d0KukZUDMAiH0oFJCto8W6ggMMy7u4JLzsLIxcJxrFMaGaz8\u0026s=haZbDmy_xm7uP_WoPt-EED7Ii19Ews2UswUHrwpkkgMSNusP8aG_8wCpDx1oVJFHIL4CF7esaV6NFcnKpCxFQSpYsyn70gWFHhmYf1vc43tluMF4JH_M5nbPBTMXQNrs1BIdmhvYwD_GI5vGMYSfXl35ytIqFsUAFYHQhaGAlY7vmMW-UO-QwICifzAnW1I7qiRl6HkT6ipAwfSMmA5wrCemZAFysCutVr2Z708s4PFnWEOmWQ96PFPxuruA-IE2xZQgYNUpmycQseVKsIqRLo9gLcPqC9O16Ki-Zr4Oac_VcGOgpkBP0N1ZCwI55Chbi6ULw0BnIo0b5uEsdL_04Q\u0026h=4AidUa4HEmwQ3dhlFAhBX-tNACXcMjA1p65CJJwMKdI", + "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/49f57239-ef23-4b30-8036-7a7a7f17fc9e?api-version=2024-07-10\u0026t=638639267666072582\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGR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wIwDQYJKoZIhvcNAQELBQADggEBAG0WbzLPsmSSMI7aTe2npixmkdCmwcdZHGd43tUnB8JKrLNJEFcBsQmbcIH0adpnQNrDgRkNBBOTZ4s1LIBlRQapZpPsRItAMUguVpGVRH08T0i43w9xrp_clNbAJrrfRbmYroF0WJKMJ0nwW2rPjxdevSRygGK_nEfywwFi-p1RhHnkiEGL4GnP7PpQcRvAYMdH9LO5MRY7iLbBmosKatS_eWtSJD1CvzglNwy_vQzx81Vnk0CgndqXcVq-loGu7R4U7mkQ2NNqLbp447STxkpP-6Mdyv8J4bdnf1s3vFBNpgvJWKogWcNLlo8jnkbEf6RPNGe1W5lma7JwMKAcPzY\u0026s=lq1qacvqHJlThEf7O7xH9IUayU0hzhL8FK0am2yUaqHRdxJZedPJQt7HPzTLTmBoJO2Z4SkHvsVyseZEVi9aPEvCacfXdqntbm6k-bcU8AHIzrmFGaxGX2_jz7aBcX2S4mByssm4E31SlhaB1Ux0ayT9K3CCE97usAXQUsw_ttE4HRC60EBuoqh7QwFpGwCtHNT9j4ELQntk48hyV5mzUzw_xgsi4Mjwdum4VGNKRLVQluNqyCKRlwlwP-s1DJnbuBn3hnKvgtKRqZcTcYWB7QCk9RE5tuNoE6B7v9mTklHIe-bEmR68tIpoaLv0BEIo_W9Zluc0I1d_sPKqbntEwQ\u0026h=AJZr44wOp9Tc3-TKuqOyFQ3B2i4jdpP-Yl09oTQ92Qk", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "4" ], - "x-ms-client-request-id": [ "a6b7ed2c-436e-4abb-9d79-10ed9e0e0993" ], + "x-ms-client-request-id": [ "d91e392b-2a7e-4d2c-afb7-295fe888d11e" ], "CommandName": [ "New-AzConnectedMachineExtension" ], "FullCommandName": [ "New-AzConnectedMachineExtension_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.5.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.1.0" ] }, "ContentHeaders": { } @@ -152,42 +152,42 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationresults/cab07552-3e58-4fa0-a66b-6f2ea4e802de?api-version=2024-05-20-preview\u0026t=638623838239392934\u0026c=MIIHpTCCBo2gAwIBAgITfwN43MjEi0W8quEp-gAEA3jcyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwNjI0MTIwMzUxWhcNMjUwNjE5MTIwMzUxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALiUzQ72miF3S8xuwVdDASkfTayfNuL2xoGjIYUp6ggSGWwqcFLd9Wyqc3F6x8NaURchp8S0iOYM5xMdEBYAsj1xu3zzvdMwM4vUqHIbG6w3GEP4tj7-UIz-btgan_NW7rOEM9oubY9dUtfuCg-mayRYdWezidp70abA2mUEj9ioVQ0CKe9kIzMPn7WFnuLRExud0yMQzDsWTVbaC5Eb_4Hx6vT5bnnLDisXEEQMzG96dJaC9KQZ-tFvcDzGz6diIqaancayRsE-Q5tMUFT-HqewL96WS1vsLjZx9weQsiyqFubDmhMVRawaS26swEjXSSzVp-b3R4MYD-Oh7GkmiFECAwEAAaOCBJIwggSOMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxU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BfcvqJwL1-pDoN6CFc4dOm-m-RpA\u0026h=4mzWlPcKJfZUWwDLTKoRbz6G6Xz6t2cU1zR-JRg4lyI" ], + "Location": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationresults/49f57239-ef23-4b30-8036-7a7a7f17fc9e?api-version=2024-07-10\u0026t=638639267825327035\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwMjMxMTQxWhcNMjUwMzE5MjMxMTQxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKRtcYDBXS7zz5tRtvVyhrUAjudYhej1E2D3dp6XWuPdbVMbQZwMlye8vdT-kDhFD7T2mrdWqsoGnTGk0_xOHBfLGnW-0QRUqpeoTNIhu8vc2CfTUtm2t2s_-fzvFtRyhDA4mfCH1cz92EVj0vd3FD4ikW6bdOp1NkYFqUVBhKlbvJk6y-TbLFBLP5Zx4m0Ua-_P7aMzbgvOJgMOTC2jLs5w_lFDJWeP3IKUOiJmrfLpf4ey5Ov94oCE6YncDBSHJZKWcrSxDHgSz9AXrxarL4HLajGbF3MRvfkMN2gNXCoiJXBEqCLDnyQZ0BgXIvuK7vG8Rj0TyhJNj-QPr8taY6UCAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmT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2yDm1h0dVzircxfh_Q" ], "Retry-After": [ "15" ], "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-request-id": [ "63180b83-99d1-4788-aec5-8124e1bf09b1" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/cab07552-3e58-4fa0-a66b-6f2ea4e802de?api-version=2024-05-20-preview\u0026t=638623838239392934\u0026c=MIIHpTCCBo2gAwIBAgITfwN43MjEi0W8quEp-gAEA3jcyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwNjI0MTIwMzUxWhcNMjUwNjE5MTIwMzUxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALiUzQ72miF3S8xuwVdDASkfTayfNuL2xoGjIYUp6ggSGWwqcFLd9Wyqc3F6x8NaURchp8S0iOYM5xMdEBYAsj1xu3zzvdMwM4vUqHIbG6w3GEP4tj7-UIz-btgan_NW7rOEM9oubY9dUtfuCg-mayRYdWezidp70abA2mUEj9ioVQ0CKe9kIzMPn7WFnuLRExud0yMQzDsWTVbaC5Eb_4Hx6vT5bnnLDisXEEQMzG96dJaC9KQZ-tFvcDzGz6diIqaancayRsE-Q5tMUFT-HqewL96WS1vsLjZx9weQsiyqFubDmhMVRawaS26swEjXSSzVp-b3R4MYD-Oh7GkmiFECAwEAAaOCBJIwggSOMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDA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tvsWPKpbVv2ApzVnVkbX0Br8fVyAELt-tXsujvaHkyg\u0026h=m85KiSNeXBEB7R1FzPtMgedhEn3zHaci_yQzDJ6uwu4" ], - "x-ms-correlation-request-id": [ "d55a7445-8d30-4182-84dc-2744ba78d0b1" ], - "x-ms-routing-request-id": [ "EASTUS2:20240919T230343Z:d55a7445-8d30-4182-84dc-2744ba78d0b1" ], + "x-ms-request-id": [ "cb492b14-848d-4e34-b5f7-09026bd469e6" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/49f57239-ef23-4b30-8036-7a7a7f17fc9e?api-version=2024-07-10\u0026t=638639267825014538\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwMjMxMTQxWhcNMjUwMzE5MjMxMTQxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKRtcYDBXS7zz5tRtvVyhrUAjudYhej1E2D3dp6XWuPdbVMbQZwMlye8vdT-kDhFD7T2mrdWqsoGnTGk0_xOHBfLGnW-0QRUqpeoTNIhu8vc2CfTUtm2t2s_-fzvFtRyhDA4mfCH1cz92EVj0vd3FD4ikW6bdOp1NkYFqUVBhKlbvJk6y-TbLFBLP5Zx4m0Ua-_P7aMzbgvOJgMOTC2jLs5w_lFDJWeP3IKUOiJmrfLpf4ey5Ov94oCE6YncDBSHJZKWcrSxDHgSz9AXrxarL4HLajGbF3MRvfkMN2gNXCoiJXBEqCLDnyQZ0BgXIv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YmnglMKux1hVj2OEsKl0JDj1MyQadpWtB_VY9nU1nrUeSutUzQcqXRG35C8QyhNzhmF5jnQcIK3rjcabORRShyWCh4pMn_WNL70HTdhRwG-LDP8VAbinY2CLMeY2X3kUvCA\u0026h=uSe4Xidp4yjscYy4dHTopv5v5l1F9M1hk_dDd5hvcyE" ], + "x-ms-correlation-request-id": [ "5b91da66-23db-4ea9-b883-0429fec5e21d" ], + "x-ms-routing-request-id": [ "EASTUS:20241007T193942Z:5b91da66-23db-4ea9-b883-0429fec5e21d" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 83A7C66461634AC48CD11BFFDB10DBDD Ref B: MNZ221060619027 Ref C: 2024-09-19T23:03:43Z" ], - "Date": [ "Thu, 19 Sep 2024 23:03:43 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 88149AA45BC54CA28A54737EF00DE74B Ref B: MNZ221060618047 Ref C: 2024-10-07T19:39:41Z" ], + "Date": [ "Mon, 07 Oct 2024 19:39:42 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "111" ], + "Content-Length": [ "112" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"cab07552-3e58-4fa0-a66b-6f2ea4e802de\",\"status\":\"InProgress\",\"startTime\":\"2024-09-19T23:02:57.597051Z\"}", + "Content": "{\"name\":\"49f57239-ef23-4b30-8036-7a7a7f17fc9e\",\"status\":\"InProgress\",\"startTime\":\"2024-10-07T19:38:55.9341818Z\"}", "isContentBase64": false } }, - "New-AzConnectedMachineExtension+[NoContext]+Create+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/cab07552-3e58-4fa0-a66b-6f2ea4e802de?api-version=2024-05-20-preview\u0026t=638623838239392934\u0026c=MIIHpTCCBo2gAwIBAgITfwN43MjEi0W8quEp-gA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SuecJrXSWIEwb2BwnDl3x7l48dVTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADbkVmxlTl8VUMrDJBuRWlmxRWKlxGiR-kZINt99ksV65ZBhsigLjAZYo4HpzQydRwwPVGUebtBD3XhFnalnYK3EoU3yr5LEyfJCQqOCPvAt1AZ3bMR5moP6HXLcSlsDicH7R97FRrKO_6GywgIPDmt2Mm2VBO6p3qPCi2do79OCNlD3OpKaWuuuC6lnZB1ilSIi1w9vpGdji0ixc_dnfMVgL_z1lnM1nLDCsALgv8ghCQDVX4h_Net36CgZgv16gbE71947exvQNJZVVQfXQe0YRTktFsCJVlPmvV5d0KukZUDMAiH0oFJCto8W6ggMMy7u4JLzsLIxcJxrFMaGaz8\u0026s=FT5P4Zw2HtPmVc0Kh6lBnRRIMz9_WgVQJUsKdfe7JeBaALIQ_BVpO7vwrFT65Zt-l9XvgfSD76XJ77o0t50gHz5WAoDXi9yQifXeoPpawHhcpicSpLOf7z-YEPFOttiCdC2BtKDLqna8ow-vA_lChAz5P9KqadEEQTzgrmt0YYpH_peX9A5m6SbskNSzrKd60RbiskQrRIs07LfXr-J9jqzKqp5SfGIWYIBb_buyKJsUSADQvJMbpRLw2eqVrJKl6hUKX5dFa4pPWIVtr4v31VccDCbT-kPGqdRk8kYV98mtvsWPKpbVv2ApzVnVkbX0Br8fVyAELt-tXsujvaHkyg\u0026h=m85KiSNeXBEB7R1FzPtMgedhEn3zHaci_yQzDJ6uwu4+5": { + "New-AzConnectedMachineExtension+[NoContext]+Create+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/49f57239-ef23-4b30-8036-7a7a7f17fc9e?api-version=2024-07-10\u0026t=638639267825014538\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImi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KwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAG0WbzLPsmSSMI7aTe2npixmkdCmwcdZHGd43tUnB8JKrLNJEFcBsQmbcIH0adpnQNrDgRkNBBOTZ4s1LIBlRQapZpPsRItAMUguVpGVRH08T0i43w9xrp_clNbAJrrfRbmYroF0WJKMJ0nwW2rPjxdevSRygGK_nEfywwFi-p1RhHnkiEGL4GnP7PpQcRvAYMdH9LO5MRY7iLbBmosKatS_eWtSJD1CvzglNwy_vQzx81Vnk0CgndqXcVq-loGu7R4U7mkQ2NNqLbp447STxkpP-6Mdyv8J4bdnf1s3vFBNpgvJWKogWcNLlo8jnkbEf6RPNGe1W5lma7JwMKAcPzY\u0026s=OxAUYFwNIge_IUELji4x8JjuGDp_yCpvndEn5noAofm5kgs25v5gi0QOZW-em0fnnUwqwf5CxXrNk-uUoDsnAQDkqr7Jha1nAZU0HSS4IIRRh-A05Kx6Hc73W9xhRBHQ4RtXpjJjS77eVUO60UuIMN3uhBkzrv87IpctzIZeZ3X7-DNoGYRC7rs24sSlX1x98KzQLC0nNjHxbq22mEJYmnglMKux1hVj2OEsKl0JDj1MyQadpWtB_VY9nU1nrUeSutUzQcqXRG35C8QyhNzhmF5jnQcIK3rjcabORRShyWCh4pMn_WNL70HTdhRwG-LDP8VAbinY2CLMeY2X3kUvCA\u0026h=uSe4Xidp4yjscYy4dHTopv5v5l1F9M1hk_dDd5hvcyE+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/cab07552-3e58-4fa0-a66b-6f2ea4e802de?api-version=2024-05-20-preview\u0026t=638623838239392934\u0026c=MIIHpTCCBo2gAwIBAgITfwN43MjEi0W8quEp-gAEA3jcyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTU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UMrDJBuRWlmxRWKlxGiR-kZINt99ksV65ZBhsigLjAZYo4HpzQydRwwPVGUebtBD3XhFnalnYK3EoU3yr5LEyfJCQqOCPvAt1AZ3bMR5moP6HXLcSlsDicH7R97FRrKO_6GywgIPDmt2Mm2VBO6p3qPCi2do79OCNlD3OpKaWuuuC6lnZB1ilSIi1w9vpGdji0ixc_dnfMVgL_z1lnM1nLDCsALgv8ghCQDVX4h_Net36CgZgv16gbE71947exvQNJZVVQfXQe0YRTktFsCJVlPmvV5d0KukZUDMAiH0oFJCto8W6ggMMy7u4JLzsLIxcJxrFMaGaz8\u0026s=FT5P4Zw2HtPmVc0Kh6lBnRRIMz9_WgVQJUsKdfe7JeBaALIQ_BVpO7vwrFT65Zt-l9XvgfSD76XJ77o0t50gHz5WAoDXi9yQifXeoPpawHhcpicSpLOf7z-YEPFOttiCdC2BtKDLqna8ow-vA_lChAz5P9KqadEEQTzgrmt0YYpH_peX9A5m6SbskNSzrKd60RbiskQrRIs07LfXr-J9jqzKqp5SfGIWYIBb_buyKJsUSADQvJMbpRLw2eqVrJKl6hUKX5dFa4pPWIVtr4v31VccDCbT-kPGqdRk8kYV98mtvsWPKpbVv2ApzVnVkbX0Br8fVyAELt-tXsujvaHkyg\u0026h=m85KiSNeXBEB7R1FzPtMgedhEn3zHaci_yQzDJ6uwu4", + "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/49f57239-ef23-4b30-8036-7a7a7f17fc9e?api-version=2024-07-10\u0026t=638639267825014538\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwMjMxMTQxWhcNMjUwMzE5MjMxMTQxWjBAM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MUguVpGVRH08T0i43w9xrp_clNbAJrrfRbmYroF0WJKMJ0nwW2rPjxdevSRygGK_nEfywwFi-p1RhHnkiEGL4GnP7PpQcRvAYMdH9LO5MRY7iLbBmosKatS_eWtSJD1CvzglNwy_vQzx81Vnk0CgndqXcVq-loGu7R4U7mkQ2NNqLbp447STxkpP-6Mdyv8J4bdnf1s3vFBNpgvJWKogWcNLlo8jnkbEf6RPNGe1W5lma7JwMKAcPzY\u0026s=OxAUYFwNIge_IUELji4x8JjuGDp_yCpvndEn5noAofm5kgs25v5gi0QOZW-em0fnnUwqwf5CxXrNk-uUoDsnAQDkqr7Jha1nAZU0HSS4IIRRh-A05Kx6Hc73W9xhRBHQ4RtXpjJjS77eVUO60UuIMN3uhBkzrv87IpctzIZeZ3X7-DNoGYRC7rs24sSlX1x98KzQLC0nNjHxbq22mEJYmnglMKux1hVj2OEsKl0JDj1MyQadpWtB_VY9nU1nrUeSutUzQcqXRG35C8QyhNzhmF5jnQcIK3rjcabORRShyWCh4pMn_WNL70HTdhRwG-LDP8VAbinY2CLMeY2X3kUvCA\u0026h=uSe4Xidp4yjscYy4dHTopv5v5l1F9M1hk_dDd5hvcyE", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "5" ], - "x-ms-client-request-id": [ "a6b7ed2c-436e-4abb-9d79-10ed9e0e0993" ], + "x-ms-client-request-id": [ "d91e392b-2a7e-4d2c-afb7-295fe888d11e" ], "CommandName": [ "New-AzConnectedMachineExtension" ], "FullCommandName": [ "New-AzConnectedMachineExtension_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.5.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.1.0" ] }, "ContentHeaders": { } @@ -197,42 +197,42 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationresults/cab07552-3e58-4fa0-a66b-6f2ea4e802de?api-version=2024-05-20-preview\u0026t=638623838393997996\u0026c=MIIHpTCCBo2gAwIBAgITfwN43MjEi0W8quEp-gAEA3jcyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwNjI0MTIwMzUxWhcNMjUwNjE5MTIwMzUxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALiUzQ72miF3S8xuwVdDASkfTayfNuL2xoGjIYUp6ggSGWwqcFLd9Wyqc3F6x8NaURchp8S0iOYM5xMdEBYAsj1xu3zzvdMwM4vUqHIbG6w3GEP4tj7-UIz-btgan_NW7rOEM9oubY9dUtfuCg-mayRYdWezidp70abA2mUEj9ioVQ0CKe9kIzMPn7WFnuLRExud0yMQzDsWTVbaC5Eb_4Hx6vT5bnnLDisXEEQMzG96dJaC9KQZ-tFvcDzGz6diIqaancayRsE-Q5tMUFT-HqewL96WS1vsLjZx9weQsiyqFubDmhMVRawaS26swEjXSSzVp-b3R4MYD-Oh7GkmiFECAwEAAaOCBJIwggSOMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtp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BAGCN3sBATBmBgorBgEEAYI3ewICMFgwVgYIKwYBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwEwDAYKKwYBBAGCN3sEATAfBgNVHSMEGDAWgBSuecJrXSWIEwb2BwnDl3x7l48dVTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADbkVmxlTl8VUMrDJBuRWlmxRWKlxGiR-kZINt99ksV65ZBhsigLjAZYo4HpzQydRwwPVGUebtBD3XhFnalnYK3EoU3yr5LEyfJCQqOCPvAt1AZ3bMR5moP6HXLcSlsDicH7R97FRrKO_6GywgIPDmt2Mm2VBO6p3qPCi2do79OCNlD3OpKaWuuuC6lnZB1ilSIi1w9vpGdji0ixc_dnfMVgL_z1lnM1nLDCsALgv8ghCQDVX4h_Net36CgZgv16gbE71947exvQNJZVVQfXQe0YRTktFsCJVlPmvV5d0KukZUDMAiH0oFJCto8W6ggMMy7u4JLzsLIxcJxrFMaGaz8\u0026s=XZeZk9C1YrVIpyQmeJm-zVeSKRJlqTgGP6hpqp-elZvT26fVhmURhI1vgZ9xXDj6DH9PN2MUIahQDojNTKuCeVUNq5ntl_KurFiR_myox73pexuyXi2u5ylZSbodSJe3yEsBJsWeXcM4PhGm3TFKJjq41vAWHqzNKJe9qugUcs63NyNK6sZcPj3xG5P0mAqxJSEraScPG4lzThVOFvI0DHEWBJrf8sL7_NWHHdFyBJwyIaEx0vtng3e7SaCxFtMhgXFBkCKiE_NX_kEaNPR87MY5IoBpXem3UT3EG3Wr8O_cKiJjQn-i2ngf7RhcpHKrdvet8GNWS5-Uwn2q_uR7iQ\u0026h=pyD-qiwY-QisKkigrE2I5krWPr5FobglZAvtm16jiqE" ], + "Location": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/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0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwEwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAG0WbzLPsmSSMI7aTe2npixmkdCmwcdZHGd43tUnB8JKrLNJEFcBsQmbcIH0adpnQNrDgRkNBBOTZ4s1LIBlRQapZpPsRItAMUguVpGVRH08T0i43w9xrp_clNbAJrrfRbmYroF0WJKMJ0nwW2rPjxdevSRygGK_nEfywwFi-p1RhHnkiEGL4GnP7PpQcRvAYMdH9LO5MRY7iLbBmosKatS_eWtSJD1CvzglNwy_vQzx81Vnk0CgndqXcVq-loGu7R4U7mkQ2NNqLbp447STxkpP-6Mdyv8J4bdnf1s3vFBNpgvJWKogWcNLlo8jnkbEf6RPNGe1W5lma7JwMKAcPzY\u0026s=YGQLiufF9qk3Hcnb3IjewF4UCovWGIHtVA0yOSYycf3QC4pWzigA3ujiHILKwN-UIO77WvOweg9UIXyUK5igjk7nzXQeNwbkBm0ahQVmzghcuttR-hs25gTcGcTGnFb3hZFnxvo5Gm8CVBWo9KM36V_3ScjzdHgxFacVvaauo_Jzal8aafYyjbj6fWV6qHtpbaSkHVkhxQkckO56XVqlZQzhW7cS2dRsdhQa4zFyCZcLCs9lUCiTSUxEKyN9xlcEBD75FEiCug6GeyonyK8ElajhHk4qDvBXcnwAxDmis1RGug1Lwuoprk1BVt0AtC41ivmMM-SOTtFZrlNkO-33Qg\u0026h=sZ-YNTAI-FTDCwn3580aLqX1y7eGEs19dexLhGNLaA0" ], "Retry-After": [ "15" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-request-id": [ "37147270-0e27-4d2e-b500-8cfb6ec10690" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/cab07552-3e58-4fa0-a66b-6f2ea4e802de?api-version=2024-05-20-preview\u0026t=638623838393997996\u0026c=MIIHpTCCBo2gAwIBAgITfwN43MjEi0W8quEp-gAEA3jcyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwNjI0MTIwMzUxWhcNMjUwNjE5MTIwMzUxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALiUzQ72miF3S8xuwVdDASkfTayfNuL2xoGjIYUp6ggSGWwqcFLd9Wyqc3F6x8NaURchp8S0iOYM5xMdEBYAsj1xu3zzvdMwM4vUqHIbG6w3GEP4tj7-UIz-btgan_NW7rOEM9oubY9dUtfuCg-mayRYdWezidp70abA2mUEj9ioVQ0CKe9kIzMPn7WFnuLRExud0yMQzDsWTVbaC5Eb_4Hx6vT5bnnLDisXEEQMzG96dJaC9KQZ-tFvcDzGz6diIqaancayRsE-Q5tMUFT-HqewL96WS1vsLjZx9weQsiyqFubDmhMVRawaS26swEjXSSzVp-b3R4MYD-Oh7GkmiFECAwEAAaOCBJIwggSOMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRwOi8vY3JsLm1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6afba-d4c0-4936-8742-6759247f2440" ], - "x-ms-routing-request-id": [ "EASTUS2:20240919T230359Z:a9d6afba-d4c0-4936-8742-6759247f2440" ], + "x-ms-request-id": [ "44097907-f4a1-4bf6-8551-60c9f9a403fb" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/49f57239-ef23-4b30-8036-7a7a7f17fc9e?api-version=2024-07-10\u0026t=638639267978536255\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwMjMxMTQxWhcNMjUwMzE5MjMxMTQxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKRtcYDBXS7zz5tRtvVyhrUAjudYhej1E2D3dp6XWuPdbVMbQZwMlye8vdT-kDhFD7T2mrdWqsoGnTGk0_xOHBfLGnW-0QRUqpeoTNIhu8vc2CfTUtm2t2s_-fzvFtRyhDA4mfCH1cz92EVj0vd3FD4ikW6bdOp1NkYFqUVBhKlbvJk6y-TbLFBLP5Zx4m0Ua-_P7aMzbgvOJgMOTC2jLs5w_lFDJWeP3IKUOiJmrfLpf4ey5Ov94oCE6YncDBSHJZKWcrSxDHgSz9AXrxarL4HLajGbF3MRvfkMN2gNXCoiJXBEqCLDnyQZ0BgXIvuK7vG8Rj0TyhJNj-QPr8taY6UCAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBD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dVIDgLWqIkA\u0026h=-MjKO-sbtyAD7F_cmqG4V1-0-GEtWSo1yfTVo9wzolg" ], + "x-ms-correlation-request-id": [ "0ce38a4c-1998-4523-b5da-dc536f7bccde" ], + "x-ms-routing-request-id": [ "EASTUS:20241007T193957Z:0ce38a4c-1998-4523-b5da-dc536f7bccde" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 0E39C04446CD43CBA08F506527385B29 Ref B: MNZ221060619027 Ref C: 2024-09-19T23:03:59Z" ], - "Date": [ "Thu, 19 Sep 2024 23:03:58 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 342458BF402E414DB5BE8535543DC1BD Ref B: MNZ221060618047 Ref C: 2024-10-07T19:39:57Z" ], + "Date": [ "Mon, 07 Oct 2024 19:39:57 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "111" ], + "Content-Length": [ "112" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"cab07552-3e58-4fa0-a66b-6f2ea4e802de\",\"status\":\"InProgress\",\"startTime\":\"2024-09-19T23:02:57.597051Z\"}", + "Content": "{\"name\":\"49f57239-ef23-4b30-8036-7a7a7f17fc9e\",\"status\":\"InProgress\",\"startTime\":\"2024-10-07T19:38:55.9341818Z\"}", "isContentBase64": false } }, - "New-AzConnectedMachineExtension+[NoContext]+Create+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/cab07552-3e58-4fa0-a66b-6f2ea4e802de?api-version=2024-05-20-preview\u0026t=638623838393997996\u0026c=MIIHpTCCBo2gAwIBAgITfwN43MjEi0W8quEp-gAEA3jcyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ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RWKlxGiR-kZINt99ksV65ZBhsigLjAZYo4HpzQydRwwPVGUebtBD3XhFnalnYK3EoU3yr5LEyfJCQqOCPvAt1AZ3bMR5moP6HXLcSlsDicH7R97FRrKO_6GywgIPDmt2Mm2VBO6p3qPCi2do79OCNlD3OpKaWuuuC6lnZB1ilSIi1w9vpGdji0ixc_dnfMVgL_z1lnM1nLDCsALgv8ghCQDVX4h_Net36CgZgv16gbE71947exvQNJZVVQfXQe0YRTktFsCJVlPmvV5d0KukZUDMAiH0oFJCto8W6ggMMy7u4JLzsLIxcJxrFMaGaz8\u0026s=cIJzDfmBTnSyNEgLN7AAYijuxJEBOPEEnuQ69eFepBgYKMMQByE_8kZJAYzYMGC_12ZEH3z7AECBuDiA-EfLdcNR-ETGpQkIlix7ZtV2mvgtiwF3dMgJsicBO9Y8TPRzCd6ZfN0V_S_Hgr7bsaEXn-6BFAskGc9bvmqF4bkn8l8yBpdOP6bqXKimP2NUxQ9KA1kF64hS0sqZ6c1CSjsjMJ34VZy2loULF398dhwaC3jj1CJyTO_Ad6PeiIJWEf0ggm0_s54ACPOwshEqnLAnNZ33jgDnLs8PQj1kVzRPr_EaQcrApwcWcohTUfyJ6dlH18dHQhUFGuZOdAf9Qu11nw\u0026h=eB3e_ewPX8LqS7Y_3GAHNpIDJMefVziyiX5GU63Enfo+6": { + "New-AzConnectedMachineExtension+[NoContext]+Create+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/49f57239-ef23-4b30-8036-7a7a7f17fc9e?api-version=2024-07-10\u0026t=638639267978536255\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwMjMxMTQxWhc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BOTZ4s1LIBlRQapZpPsRItAMUguVpGVRH08T0i43w9xrp_clNbAJrrfRbmYroF0WJKMJ0nwW2rPjxdevSRygGK_nEfywwFi-p1RhHnkiEGL4GnP7PpQcRvAYMdH9LO5MRY7iLbBmosKatS_eWtSJD1CvzglNwy_vQzx81Vnk0CgndqXcVq-loGu7R4U7mkQ2NNqLbp447STxkpP-6Mdyv8J4bdnf1s3vFBNpgvJWKogWcNLlo8jnkbEf6RPNGe1W5lma7JwMKAcPzY\u0026s=R3WA3dkAMI2jtzpDp2NL_hss4r3dLFJwzSKujHqKbIuEWB0H1GHRirLefVmMbisH2Q2fJI0xkUfM8XbWfvFB1pgn0pQVhWt8m_7uxEL4RZXLU8Sk2oFxX3brt_vytxnZjs0xucZ5OkNWeCfN40_FoZSM07E-pc3ve2HtQtf7i74sQjILXxy3bAYPORkDBHVy2vzzGvyvUEdn-k2bpEcwtxAlQBm6lhu-X_brX0nhn_l821cMZ8RATs0-W6JYbuXt8b215K0kT8ASrkB1vcKAp7D6VHLRGen6iRTMSqC3N4FXzqKSCE90fR8ghLMpDpu5iLSB2XFH73EdVIDgLWqIkA\u0026h=-MjKO-sbtyAD7F_cmqG4V1-0-GEtWSo1yfTVo9wzolg+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/cab07552-3e58-4fa0-a66b-6f2ea4e802de?api-version=2024-05-20-preview\u0026t=638623838393997996\u0026c=MIIHpTCCBo2gAwIBAgITfwN43MjEi0W8quEp-gAEA3jcyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwNjI0MTIwMzUxWhcNMjUwNjE5MTIwMzUxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnN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MR5moP6HXLcSlsDicH7R97FRrKO_6GywgIPDmt2Mm2VBO6p3qPCi2do79OCNlD3OpKaWuuuC6lnZB1ilSIi1w9vpGdji0ixc_dnfMVgL_z1lnM1nLDCsALgv8ghCQDVX4h_Net36CgZgv16gbE71947exvQNJZVVQfXQe0YRTktFsCJVlPmvV5d0KukZUDMAiH0oFJCto8W6ggMMy7u4JLzsLIxcJxrFMaGaz8\u0026s=cIJzDfmBTnSyNEgLN7AAYijuxJEBOPEEnuQ69eFepBgYKMMQByE_8kZJAYzYMGC_12ZEH3z7AECBuDiA-EfLdcNR-ETGpQkIlix7ZtV2mvgtiwF3dMgJsicBO9Y8TPRzCd6ZfN0V_S_Hgr7bsaEXn-6BFAskGc9bvmqF4bkn8l8yBpdOP6bqXKimP2NUxQ9KA1kF64hS0sqZ6c1CSjsjMJ34VZy2loULF398dhwaC3jj1CJyTO_Ad6PeiIJWEf0ggm0_s54ACPOwshEqnLAnNZ33jgDnLs8PQj1kVzRPr_EaQcrApwcWcohTUfyJ6dlH18dHQhUFGuZOdAf9Qu11nw\u0026h=eB3e_ewPX8LqS7Y_3GAHNpIDJMefVziyiX5GU63Enfo", + "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/49f57239-ef23-4b30-8036-7a7a7f17fc9e?api-version=2024-07-10\u0026t=638639267978536255\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwMjMxMTQxWhcNMjUwMzE5MjMxMTQxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCC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vAYMdH9LO5MRY7iLbBmosKatS_eWtSJD1CvzglNwy_vQzx81Vnk0CgndqXcVq-loGu7R4U7mkQ2NNqLbp447STxkpP-6Mdyv8J4bdnf1s3vFBNpgvJWKogWcNLlo8jnkbEf6RPNGe1W5lma7JwMKAcPzY\u0026s=R3WA3dkAMI2jtzpDp2NL_hss4r3dLFJwzSKujHqKbIuEWB0H1GHRirLefVmMbisH2Q2fJI0xkUfM8XbWfvFB1pgn0pQVhWt8m_7uxEL4RZXLU8Sk2oFxX3brt_vytxnZjs0xucZ5OkNWeCfN40_FoZSM07E-pc3ve2HtQtf7i74sQjILXxy3bAYPORkDBHVy2vzzGvyvUEdn-k2bpEcwtxAlQBm6lhu-X_brX0nhn_l821cMZ8RATs0-W6JYbuXt8b215K0kT8ASrkB1vcKAp7D6VHLRGen6iRTMSqC3N4FXzqKSCE90fR8ghLMpDpu5iLSB2XFH73EdVIDgLWqIkA\u0026h=-MjKO-sbtyAD7F_cmqG4V1-0-GEtWSo1yfTVo9wzolg", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "6" ], - "x-ms-client-request-id": [ "a6b7ed2c-436e-4abb-9d79-10ed9e0e0993" ], + "x-ms-client-request-id": [ "d91e392b-2a7e-4d2c-afb7-295fe888d11e" ], "CommandName": [ "New-AzConnectedMachineExtension" ], "FullCommandName": [ "New-AzConnectedMachineExtension_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.5.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.1.0" ] }, "ContentHeaders": { } @@ -242,42 +242,42 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/cent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ALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwEwDAYKKwYBBAGCN3sEATAfBgNVHSMEGDAWgBSuecJrXSWIEwb2BwnDl3x7l48dVTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADbkVmxlTl8VUMrDJBuRWlmxRWKlxGiR-kZINt99ksV65ZBhsigLjAZYo4HpzQydRwwPVGUebtBD3XhFnalnYK3EoU3yr5LEyfJCQqOCPvAt1AZ3bMR5moP6HXLcSlsDicH7R97FRrKO_6GywgIPDmt2Mm2VBO6p3qPCi2do79OCNlD3OpKaWuuuC6lnZB1ilSIi1w9vpGdji0ixc_dnfMVgL_z1lnM1nLDCsALgv8ghCQDVX4h_Net36CgZgv16gbE71947exvQNJZVVQfXQe0YRTktFsCJVlPmvV5d0KukZUDMAiH0oFJCto8W6ggMMy7u4JLzsLIxcJxrFMaGaz8\u0026s=qqCmXQXuAc0i6w3bkIcCi1K1EIv-d_1v3UZ0QmEvLkwb4uyVN9973_WcITLDiNKF0EKhSOB5qglzb7YpoNpx8tWhpnwVNgsOGkE_6kjX1nfw0oWLtUM3R3t2i66G2o7Kpb7MoyUwnTdww_7fPEfn8NpzNEYWX0gd9pibflAVY0Aea_CqfSdfCs-kNxjdOj8VurkC34aEuygMG5328lkBm4UXVewgeNe_Q9zHb4YcC45u3MhSyiqtZtgulU_gr6Cx7QlzCd-dU-Nf4hVVcCtlDz-lkc5UgQ0PNga1LdUNQO2a6fDyMLsK5mwc6rqbA85I7pNKk9r-YKpHHmzxlbiXZg\u0026h=VtTRkUSnorRp-bfzmzY4X27oh3xUqV3fNR748LQhtZ0" ], + "Location": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationresults/49f57239-ef23-4b30-8036-7a7a7f17fc9e?api-version=2024-07-10\u0026t=638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KKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAG0WbzLPsmSSMI7aTe2npixmkdCmwcdZHGd43tUnB8JKrLNJEFcBsQmbcIH0adpnQNrDgRkNBBOTZ4s1LIBlRQapZpPsRItAMUguVpGVRH08T0i43w9xrp_clNbAJrrfRbmYroF0WJKMJ0nwW2rPjxdevSRygGK_nEfywwFi-p1RhHnkiEGL4GnP7PpQcRvAYMdH9LO5MRY7iLbBmosKatS_eWtSJD1CvzglNwy_vQzx81Vnk0CgndqXcVq-loGu7R4U7mkQ2NNqLbp447STxkpP-6Mdyv8J4bdnf1s3vFBNpgvJWKogWcNLlo8jnkbEf6RPNGe1W5lma7JwMKAcPzY\u0026s=jZryozZdIeJRZaQLsS7AHrAus3NzsBfpKG_EcjUQHbuL_F5ixyLH5iOmGKP62_teiqCj7RFt-Ue1dlWoqE42Khc3fCsKHH-MynKWDDWgZRNapsFTCVt9qOFKs4hGvRLEg_aH-vmw9dZeYfmDhbsax0rjVNcwjBuASyOrWJlGJ40zQ9UEcW61kN3MWXqseDl93G04htzYz6osTNwukkbw6Mq1Evmm35ELeOexxsngAleEXWWg7D1wGQTav_VOjp_V8uwgq5BUpYweawKwYz_Ir5JchcaYVSr3vL3-JQdlh05bLCfZ_ddWaucMwZOskUr_AvG26qKl-tQoUzDEpjSpLw\u0026h=Rd1Q-g12v2PamkWnQNDXsirLdOaBzl6g3JX3rdPeCEQ" ], "Retry-After": [ "15" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-request-id": [ "9508abc2-b7a8-4748-9efd-67a609ec789f" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/cab07552-3e58-4fa0-a66b-6f2ea4e802de?api-version=2024-05-20-preview\u0026t=638623838548497105\u0026c=MIIHpTCCBo2gAwIBAgITfwN43MjEi0W8quEp-gAEA3jcyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwNjI0MTIwMzUxWhcNMjUwNjE5MTIwMzUxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALiUzQ72miF3S8xuwVdDASkfTayfNuL2xoGjIYUp6ggSGWwqcFLd9Wyqc3F6x8NaURchp8S0iOYM5xMdEBYAsj1xu3zzvdMwM4vUqHIbG6w3GEP4tj7-UIz-btgan_NW7rOEM9oubY9dUtfuCg-mayRYdWezidp70abA2mUEj9ioVQ0CKe9kIzMPn7WFnuLRExud0yMQzDsWTVbaC5Eb_4Hx6vT5bnnLDisXEEQMzG96dJaC9KQZ-tFvcDzGz6diIqaancayRsE-Q5tMUFT-HqewL96WS1vsLjZx9weQsiyqFubDmhMVRawaS26swEjXSSzVp-b3R4MYD-Oh7GkmiFECAwEAAaOCBJIwggSOMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRS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AMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwEwDAYKKwYBBAGCN3sEATAfBgNVHSMEGDAWgBSuecJrXSWIEwb2BwnDl3x7l48dVTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADbkVmxlTl8VUMrDJBuRWlmxRWKlxGiR-kZINt99ksV65ZBhsigLjAZYo4HpzQydRwwPVGUebtBD3XhFnalnYK3EoU3yr5LEyfJCQqOCPvAt1AZ3bMR5moP6HXLcSlsDicH7R97FRrKO_6GywgIPDmt2Mm2VBO6p3qPCi2do79OCNlD3OpKaWuuuC6lnZB1ilSIi1w9vpGdji0ixc_dnfMVgL_z1lnM1nLDCsALgv8ghCQDVX4h_Net36CgZgv16gbE71947exvQNJZVVQfXQe0YRTktFsCJVlPmvV5d0KukZUDMAiH0oFJCto8W6ggMMy7u4JLzsLIxcJxrFMaGaz8\u0026s=AHtkX4PCvbmkO6hIYccu6YlhRNKVy86i_OE_ymbP0tMvaDKc_sXFfZaUXZXLXwi6CVrS3lcJ506TRq4-Z38LVn9vYsPj0VOioECfLJS5phXvr7GBvTpoqdWY3SbnRvb13zwQc6ns3rHLtLMLXopjYiiYHK97y5YJ-8QXsu1MSbavT030ZBm0PjzsU9lKnunH-e-JKv8GUSbTSb8CGtl2qOGhNsZcRH9wF4m3QsdASX2IGq8rgzoFUgkCLJwRJKEtjb6w6j0qSs_Vnt-7UmRLT0xJJEXp8l-y29Rzwf2cigBygQCaTz5eVztRVZKwEsK-mo22xEoh5-BEybbo5xhwAw\u0026h=laaspA1_iUwMJ9XunEEKYq3_swQ5FNfoSkv91F4u8fA" ], - "x-ms-correlation-request-id": [ "17b691a2-31ad-4b5c-9cb2-d727647aea62" ], - "x-ms-routing-request-id": [ "EASTUS2:20240919T230414Z:17b691a2-31ad-4b5c-9cb2-d727647aea62" ], + "x-ms-request-id": [ "ed664c44-05cc-436c-ac02-2cbdd665a720" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/49f57239-ef23-4b30-8036-7a7a7f17fc9e?api-version=2024-07-10\u0026t=638639268133229210\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwMjMxMTQxWhcNMjUwMzE5MjMxMTQxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKRtcYDBXS7zz5tRtvVyhrUAjudYhej1E2D3dp6XWuPdbVMbQZwMlye8vdT-kDhFD7T2mrdWqsoGnTGk0_xOHBfLGnW-0QRUqpeoTNIhu8vc2CfTUtm2t2s_-fzvFtRyhDA4mfCH1cz92EVj0vd3FD4ikW6bdOp1NkYFqUVBhKlbvJk6y-TbLFBLP5Zx4m0Ua-_P7aMzbgvOJgMOTC2jLs5w_lFDJWeP3IKUOiJmrfLpf4ey5Ov94oCE6YncDBSHJZKWcrSxDHgSz9AXrxarL4HLajGbF3MRvfkMN2gNXCoiJXBEqCLDnyQZ0BgXIvuK7vG8Rj0TyhJNj-QPr8taY6UCAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHLBggrBgE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5bc95b7c-f000-4705-841e-2ed53b8340e7" ], + "x-ms-routing-request-id": [ "EASTUS:20241007T194013Z:5bc95b7c-f000-4705-841e-2ed53b8340e7" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 1E64DF054CF54E5CA7B78B19D61B0332 Ref B: MNZ221060619027 Ref C: 2024-09-19T23:04:14Z" ], - "Date": [ "Thu, 19 Sep 2024 23:04:14 GMT" ] + "X-MSEdge-Ref": [ "Ref A: A3E15745D0FE40CFB852664531645FB8 Ref B: MNZ221060618047 Ref C: 2024-10-07T19:40:13Z" ], + "Date": [ "Mon, 07 Oct 2024 19:40:12 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "111" ], + "Content-Length": [ "112" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"cab07552-3e58-4fa0-a66b-6f2ea4e802de\",\"status\":\"InProgress\",\"startTime\":\"2024-09-19T23:02:57.597051Z\"}", + "Content": "{\"name\":\"49f57239-ef23-4b30-8036-7a7a7f17fc9e\",\"status\":\"InProgress\",\"startTime\":\"2024-10-07T19:38:55.9341818Z\"}", "isContentBase64": false } }, - "New-AzConnectedMachineExtension+[NoContext]+Create+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/cab07552-3e58-4fa0-a66b-6f2ea4e802de?api-version=2024-05-20-preview\u0026t=638623838548497105\u0026c=MIIHpTCCBo2gAwIBAgITfwN43MjEi0W8quEp-gAEA3jcyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwNjI0MTIwMzUxWhcNMjUwNjE5MTIwMzUxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJ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At1AZ3bMR5moP6HXLcSlsDicH7R97FRrKO_6GywgIPDmt2Mm2VBO6p3qPCi2do79OCNlD3OpKaWuuuC6lnZB1ilSIi1w9vpGdji0ixc_dnfMVgL_z1lnM1nLDCsALgv8ghCQDVX4h_Net36CgZgv16gbE71947exvQNJZVVQfXQe0YRTktFsCJVlPmvV5d0KukZUDMAiH0oFJCto8W6ggMMy7u4JLzsLIxcJxrFMaGaz8\u0026s=AHtkX4PCvbmkO6hIYccu6YlhRNKVy86i_OE_ymbP0tMvaDKc_sXFfZaUXZXLXwi6CVrS3lcJ506TRq4-Z38LVn9vYsPj0VOioECfLJS5phXvr7GBvTpoqdWY3SbnRvb13zwQc6ns3rHLtLMLXopjYiiYHK97y5YJ-8QXsu1MSbavT030ZBm0PjzsU9lKnunH-e-JKv8GUSbTSb8CGtl2qOGhNsZcRH9wF4m3QsdASX2IGq8rgzoFUgkCLJwRJKEtjb6w6j0qSs_Vnt-7UmRLT0xJJEXp8l-y29Rzwf2cigBygQCaTz5eVztRVZKwEsK-mo22xEoh5-BEybbo5xhwAw\u0026h=laaspA1_iUwMJ9XunEEKYq3_swQ5FNfoSkv91F4u8fA+7": { + "New-AzConnectedMachineExtension+[NoContext]+Create+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/49f57239-ef23-4b30-8036-7a7a7f17fc9e?api-version=2024-07-10\u0026t=638639268133229210\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwMjMxMTQxWhcNMjUwMzE5MjMxMTQxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW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ywwFi-p1RhHnkiEGL4GnP7PpQcRvAYMdH9LO5MRY7iLbBmosKatS_eWtSJD1CvzglNwy_vQzx81Vnk0CgndqXcVq-loGu7R4U7mkQ2NNqLbp447STxkpP-6Mdyv8J4bdnf1s3vFBNpgvJWKogWcNLlo8jnkbEf6RPNGe1W5lma7JwMKAcPzY\u0026s=htcDTTy6RXrTKzUaCb9-F8BPXxBaM2GcruWmv9e7SofE2BtwKKG89AG9ho9ST4YfMq6FHpGQKWxw3u5SpccGDow_u2tWD6o4ImPbRBMDck3sm4aSInoff8N5OHmjm84i6jXSfD3nrV94PbQX4CJJ0v8joT0UH7KslSWMlxyojSpLXFU35t4D3McFzfKIitQDxWaATyuhdZY-jbCLN9-hnXWSI9d3OiusYZ8xMwjvogiwTdBfqme8GVO96PYNf9IXqHNHBeCPiebSMwWEVJvt8YNXvuA-mtFnhdmXBwHMNEriwVaVEqRvJPtPfUqK_g2V8vz1mlRB3fu1Ecra-jiznA\u0026h=N90dkVVn3FwMvrTLFEE1VE6sBEKu3hQI3vSQIPpoJFk+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/cab07552-3e58-4fa0-a66b-6f2ea4e802de?api-version=2024-05-20-preview\u0026t=638623838548497105\u0026c=MIIHpTCCBo2gAwIBAgITfwN43MjEi0W8quEp-gAEA3jcyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwNjI0MTIwMzUxWhcNMjUwNjE5MTIwMzUxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCgg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ixc_dnfMVgL_z1lnM1nLDCsALgv8ghCQDVX4h_Net36CgZgv16gbE71947exvQNJZVVQfXQe0YRTktFsCJVlPmvV5d0KukZUDMAiH0oFJCto8W6ggMMy7u4JLzsLIxcJxrFMaGaz8\u0026s=AHtkX4PCvbmkO6hIYccu6YlhRNKVy86i_OE_ymbP0tMvaDKc_sXFfZaUXZXLXwi6CVrS3lcJ506TRq4-Z38LVn9vYsPj0VOioECfLJS5phXvr7GBvTpoqdWY3SbnRvb13zwQc6ns3rHLtLMLXopjYiiYHK97y5YJ-8QXsu1MSbavT030ZBm0PjzsU9lKnunH-e-JKv8GUSbTSb8CGtl2qOGhNsZcRH9wF4m3QsdASX2IGq8rgzoFUgkCLJwRJKEtjb6w6j0qSs_Vnt-7UmRLT0xJJEXp8l-y29Rzwf2cigBygQCaTz5eVztRVZKwEsK-mo22xEoh5-BEybbo5xhwAw\u0026h=laaspA1_iUwMJ9XunEEKYq3_swQ5FNfoSkv91F4u8fA", + "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/49f57239-ef23-4b30-8036-7a7a7f17fc9e?api-version=2024-07-10\u0026t=638639268133229210\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwMjMxMTQxWhcNMjUwMzE5MjMxMTQxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKRtcYDBXS7zz5tRtvVyhrUAjudYhej1E2D3dp6XWuPdbVMbQZwMlye8vdT-kDh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nf1s3vFBNpgvJWKogWcNLlo8jnkbEf6RPNGe1W5lma7JwMKAcPzY\u0026s=htcDTTy6RXrTKzUaCb9-F8BPXxBaM2GcruWmv9e7SofE2BtwKKG89AG9ho9ST4YfMq6FHpGQKWxw3u5SpccGDow_u2tWD6o4ImPbRBMDck3sm4aSInoff8N5OHmjm84i6jXSfD3nrV94PbQX4CJJ0v8joT0UH7KslSWMlxyojSpLXFU35t4D3McFzfKIitQDxWaATyuhdZY-jbCLN9-hnXWSI9d3OiusYZ8xMwjvogiwTdBfqme8GVO96PYNf9IXqHNHBeCPiebSMwWEVJvt8YNXvuA-mtFnhdmXBwHMNEriwVaVEqRvJPtPfUqK_g2V8vz1mlRB3fu1Ecra-jiznA\u0026h=N90dkVVn3FwMvrTLFEE1VE6sBEKu3hQI3vSQIPpoJFk", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "7" ], - "x-ms-client-request-id": [ "a6b7ed2c-436e-4abb-9d79-10ed9e0e0993" ], + "x-ms-client-request-id": [ "d91e392b-2a7e-4d2c-afb7-295fe888d11e" ], "CommandName": [ "New-AzConnectedMachineExtension" ], "FullCommandName": [ "New-AzConnectedMachineExtension_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.5.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.1.0" ] }, "ContentHeaders": { } @@ -287,42 +287,42 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationresults/cab07552-3e58-4fa0-a66b-6f2ea4e802de?api-version=2024-05-20-preview\u0026t=638623838703488571\u0026c=MIIHpTCCBo2gAwIBAgITfwN43MjEi0W8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GDAWgBSuecJrXSWIEwb2BwnDl3x7l48dVTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADbkVmxlTl8VUMrDJBuRWlmxRWKlxGiR-kZINt99ksV65ZBhsigLjAZYo4HpzQydRwwPVGUebtBD3XhFnalnYK3EoU3yr5LEyfJCQqOCPvAt1AZ3bMR5moP6HXLcSlsDicH7R97FRrKO_6GywgIPDmt2Mm2VBO6p3qPCi2do79OCNlD3OpKaWuuuC6lnZB1ilSIi1w9vpGdji0ixc_dnfMVgL_z1lnM1nLDCsALgv8ghCQDVX4h_Net36CgZgv16gbE71947exvQNJZVVQfXQe0YRTktFsCJVlPmvV5d0KukZUDMAiH0oFJCto8W6ggMMy7u4JLzsLIxcJxrFMaGaz8\u0026s=JdOkzQhUWnDPpIJZiN-_A7DlE4Ae3NVBQwKwUpPfGxz2gHLMVBwSekkTugjUQ7Y6oOQFnpOh05AjNf-FMsgRWoMMlNGvh-4cM59m57SJdnLkn3ICxYgvvQGBocbha8iNohsaJLMpiLCPGqvlh1zga40Y4fwfRiMTNywYUx7g1Ns29fd8s2qGJBFgW9A1EC577W2k-JFyqSmd1e8V9w4HQNLcswxh92lf1U3w5RJId3dFNy8lZO1fau1IkDLYu9MocsP7PBtmHUS846d5VUDL426QCDd-16Lu45JxO8Syrt3jY2m25NrbMvBrarI5cvKIbyo2tii8k2jWTHeFMwKfLA\u0026h=U6gframJLfCes9JkLileFhN4R0rYIUTApzVGN3E1iTM" ], + "Location": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationresults/49f57239-ef23-4b30-8036-7a7a7f17fc9e?api-version=2024-07-10\u0026t=638639268286225352\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImi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BQADggEBAG0WbzLPsmSSMI7aTe2npixmkdCmwcdZHGd43tUnB8JKrLNJEFcBsQmbcIH0adpnQNrDgRkNBBOTZ4s1LIBlRQapZpPsRItAMUguVpGVRH08T0i43w9xrp_clNbAJrrfRbmYroF0WJKMJ0nwW2rPjxdevSRygGK_nEfywwFi-p1RhHnkiEGL4GnP7PpQcRvAYMdH9LO5MRY7iLbBmosKatS_eWtSJD1CvzglNwy_vQzx81Vnk0CgndqXcVq-loGu7R4U7mkQ2NNqLbp447STxkpP-6Mdyv8J4bdnf1s3vFBNpgvJWKogWcNLlo8jnkbEf6RPNGe1W5lma7JwMKAcPzY\u0026s=DZUaI19Mn6Emol_sHkhuxqEJiN_XUNhhFImR_s1Iz1_0gNayz5i582Eq0BlOUSGFEJxaCtAWq-SHkXFickX3rR1ak6EflZYWhs3QPezwD1J6D1hDKYTrJ5RDv3r0f4kzqzoHYM5IaElm_HzQAdWQrsB4wOwgHBqeya3CIyI8rWK5ANH7yBOI_1Z7YSFXnIcxKmF5owM8ule4Z-zRFzHzmBGiWmkASupDq1YeC-QqLbSkTXU2E1waFT4j5tRFx1HbVVZE9RoPuimluPNWeQ-GkbE1CvcS6AaskCgmDU4TX6trgXKDhKjadxjkf3uasB9QZd2umIimM5LK3RfS8eiqdA\u0026h=qkqZK-IXg4NmUYaGGH-movsCIMxJYWqROwMtSwy9BdY" ], "Retry-After": [ "15" ], "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-request-id": [ "1a6fee01-32ee-42fb-a5e5-445eec13b105" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/cab07552-3e58-4fa0-a66b-6f2ea4e802de?api-version=2024-05-20-preview\u0026t=638623838703332348\u0026c=MIIHpTCCBo2gAwIBAgITfwN43MjEi0W8quEp-gAEA3jcyD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WIEwb2BwnDl3x7l48dVTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADbkVmxlTl8VUMrDJBuRWlmxRWKlxGiR-kZINt99ksV65ZBhsigLjAZYo4HpzQydRwwPVGUebtBD3XhFnalnYK3EoU3yr5LEyfJCQqOCPvAt1AZ3bMR5moP6HXLcSlsDicH7R97FRrKO_6GywgIPDmt2Mm2VBO6p3qPCi2do79OCNlD3OpKaWuuuC6lnZB1ilSIi1w9vpGdji0ixc_dnfMVgL_z1lnM1nLDCsALgv8ghCQDVX4h_Net36CgZgv16gbE71947exvQNJZVVQfXQe0YRTktFsCJVlPmvV5d0KukZUDMAiH0oFJCto8W6ggMMy7u4JLzsLIxcJxrFMaGaz8\u0026s=pQPNPIt5rfXpOT_AakzmkiqeaLhpxu6mROsgzUdtsdUGM5dyulRPbX0sUIE3EQbe2Oe5dTt5b2MEt04-o6miLybaYv1i2-bwv57XFzFYRE6VClLW8TxFR-nKLxatbi3w2qW0DRqE3z7Nd3-HJzErW1mPixmwLD1KXU6iDhbq9HNtE3AROuzYYmy7o5hh7LMSYp5GM0bZQsh7-TOHiPD6gU1TyaSRczSg6k-Trjp5EFOeDBOyUemNM5981FJM6Wz5DcaeMGfLoA2azpU5zDjlADudx5R8VzhheXuoJ_ojcSPAAWlCxIoO5TxSkOV-EauLzk8k9LaNtg3VFuD0ApBisg\u0026h=mQfjJfJ-1izU6ULjwOgS2Nu76sSEsYW1anrVJjn-8gk" ], - "x-ms-correlation-request-id": [ "e31f7289-4dd7-45d1-9eba-ba939f16c0e2" ], - "x-ms-routing-request-id": [ "EASTUS2:20240919T230430Z:e31f7289-4dd7-45d1-9eba-ba939f16c0e2" ], + "x-ms-request-id": [ "03fbc1f9-69ef-4297-8a0f-5cb91e026b3d" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus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tADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwEwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAG0WbzLPsmSSMI7aTe2npixmkdCmwcdZHGd43tUnB8JKrLNJEFcBsQmbcIH0adpnQNrDgRkNBBOTZ4s1LIBlRQapZpPsRItAMUguVpGVRH08T0i43w9xrp_clNbAJrrfRbmYroF0WJKMJ0nwW2rPjxdevSRygGK_nEfywwFi-p1RhHnkiEGL4GnP7PpQcRvAYMdH9LO5MRY7iLbBmosKatS_eWtSJD1CvzglNwy_vQzx81Vnk0CgndqXcVq-loGu7R4U7mkQ2NNqLbp447STxkpP-6Mdyv8J4bdnf1s3vFBNpgvJWKogWcNLlo8jnkbEf6RPNGe1W5lma7JwMKAcPzY\u0026s=dW4fzJtlS4Gke9YrDOuwVTxEWRPbqEvIUJfRROoaR92pTFS5erKaC5V_WQAkvP-ZFsUlMX_JowUS5NfD5lsR-v9AeGEm3Q_R7BwUeF--KUkNvbWaHOCyVylOiIzvFNZeHA0HEp2KQ8F9tXzNx0iUXpDulp78ff2QyLBoRsXFPsXUizpZOvw1dsKeMm_Xwsb5dGRMmqcf_LG9biN0yVhaIb9pJyJszCrTiPm0o6z8-z0hfUVyP9BDUuQDyuoSMfx4bReBcQL5cZ_6hKOP_oV0C8H1ZrgDidPsGxwfIEygE5D28CCcNAvnGXuPjiRmQVdN1Rd8kHp0M9FIaeqX09mxOw\u0026h=1Pgqh41g1w3ahoqDziDnFy54wuewG7btMg8IiNkKafg" ], + "x-ms-correlation-request-id": [ "550cbbb9-c55a-45c9-a8fd-f0512d57ec89" ], + "x-ms-routing-request-id": [ "EASTUS:20241007T194028Z:550cbbb9-c55a-45c9-a8fd-f0512d57ec89" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 03AD798CEF274CFE89275780F36A0849 Ref B: MNZ221060619027 Ref C: 2024-09-19T23:04:30Z" ], - "Date": [ "Thu, 19 Sep 2024 23:04:29 GMT" ] + "X-MSEdge-Ref": [ "Ref A: E685793931214B20A1F637035ED99310 Ref B: MNZ221060618047 Ref C: 2024-10-07T19:40:28Z" ], + "Date": [ "Mon, 07 Oct 2024 19:40:28 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "111" ], + "Content-Length": [ "112" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"cab07552-3e58-4fa0-a66b-6f2ea4e802de\",\"status\":\"InProgress\",\"startTime\":\"2024-09-19T23:02:57.597051Z\"}", + "Content": "{\"name\":\"49f57239-ef23-4b30-8036-7a7a7f17fc9e\",\"status\":\"InProgress\",\"startTime\":\"2024-10-07T19:38:55.9341818Z\"}", "isContentBase64": false } }, - "New-AzConnectedMachineExtension+[NoContext]+Create+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/cab07552-3e58-4fa0-a66b-6f2ea4e802de?api-version=2024-05-20-preview\u0026t=638623838703332348\u0026c=MIIHpTCCBo2gAwIBAgITfwN43MjEi0W8quEp-gAEA3jcyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwNjI0MTIwMzUxWhcNMjUwNjE5MTIwMzUxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALiUzQ72miF3S8xuwVdDASkfTayfNuL2xoG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4h_Net36CgZgv16gbE71947exvQNJZVVQfXQe0YRTktFsCJVlPmvV5d0KukZUDMAiH0oFJCto8W6ggMMy7u4JLzsLIxcJxrFMaGaz8\u0026s=pQPNPIt5rfXpOT_AakzmkiqeaLhpxu6mROsgzUdtsdUGM5dyulRPbX0sUIE3EQbe2Oe5dTt5b2MEt04-o6miLybaYv1i2-bwv57XFzFYRE6VClLW8TxFR-nKLxatbi3w2qW0DRqE3z7Nd3-HJzErW1mPixmwLD1KXU6iDhbq9HNtE3AROuzYYmy7o5hh7LMSYp5GM0bZQsh7-TOHiPD6gU1TyaSRczSg6k-Trjp5EFOeDBOyUemNM5981FJM6Wz5DcaeMGfLoA2azpU5zDjlADudx5R8VzhheXuoJ_ojcSPAAWlCxIoO5TxSkOV-EauLzk8k9LaNtg3VFuD0ApBisg\u0026h=mQfjJfJ-1izU6ULjwOgS2Nu76sSEsYW1anrVJjn-8gk+8": { + "New-AzConnectedMachineExtension+[NoContext]+Create+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/49f57239-ef23-4b30-8036-7a7a7f17fc9e?api-version=2024-07-10\u0026t=638639268286225352\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwMjMxMTQxWhcNMjUwMzE5MjMxMTQxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKRtcYDBXS7zz5tRtvVyhrUAjudYhej1E2D3dp6XWuPdbVMbQZwMlye8vdT-kDhFD7T2mrd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NpgvJWKogWcNLlo8jnkbEf6RPNGe1W5lma7JwMKAcPzY\u0026s=dW4fzJtlS4Gke9YrDOuwVTxEWRPbqEvIUJfRROoaR92pTFS5erKaC5V_WQAkvP-ZFsUlMX_JowUS5NfD5lsR-v9AeGEm3Q_R7BwUeF--KUkNvbWaHOCyVylOiIzvFNZeHA0HEp2KQ8F9tXzNx0iUXpDulp78ff2QyLBoRsXFPsXUizpZOvw1dsKeMm_Xwsb5dGRMmqcf_LG9biN0yVhaIb9pJyJszCrTiPm0o6z8-z0hfUVyP9BDUuQDyuoSMfx4bReBcQL5cZ_6hKOP_oV0C8H1ZrgDidPsGxwfIEygE5D28CCcNAvnGXuPjiRmQVdN1Rd8kHp0M9FIaeqX09mxOw\u0026h=1Pgqh41g1w3ahoqDziDnFy54wuewG7btMg8IiNkKafg+8": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/cab07552-3e58-4fa0-a66b-6f2ea4e802de?api-version=2024-05-20-preview\u0026t=638623838703332348\u0026c=MIIHpTCCBo2gAwIBAgITfwN43MjEi0W8quEp-gAEA3jcyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwNjI0MTIwMzUxWhcNMjUwNjE5MTIwMzUxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALiUzQ72miF3S8xuwVdDASkfTayfNuL2xoGjIYUp6ggSGWwqcFLd9Wyqc3F6x8NaURchp8S0iOYM5xMdEBYAsj1xu3zzvdMwM4vUqHIbG6w3GEP4tj7-UIz-btg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MaGaz8\u0026s=pQPNPIt5rfXpOT_AakzmkiqeaLhpxu6mROsgzUdtsdUGM5dyulRPbX0sUIE3EQbe2Oe5dTt5b2MEt04-o6miLybaYv1i2-bwv57XFzFYRE6VClLW8TxFR-nKLxatbi3w2qW0DRqE3z7Nd3-HJzErW1mPixmwLD1KXU6iDhbq9HNtE3AROuzYYmy7o5hh7LMSYp5GM0bZQsh7-TOHiPD6gU1TyaSRczSg6k-Trjp5EFOeDBOyUemNM5981FJM6Wz5DcaeMGfLoA2azpU5zDjlADudx5R8VzhheXuoJ_ojcSPAAWlCxIoO5TxSkOV-EauLzk8k9LaNtg3VFuD0ApBisg\u0026h=mQfjJfJ-1izU6ULjwOgS2Nu76sSEsYW1anrVJjn-8gk", + "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/49f57239-ef23-4b30-8036-7a7a7f17fc9e?api-version=2024-07-10\u0026t=638639268286225352\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwMjMxMTQxWhcNMjUwMzE5MjMxMTQxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKRtcYDBXS7zz5tRtvVyhrUAjudYhej1E2D3dp6XWuPdbVMbQZwMlye8vdT-kDhFD7T2mrdWqsoGnTGk0_xOHBfLGnW-0QRUqpeoTNIhu8vc2CfTUtm2t2s_-fzvFtRyhDA4mfCH1cz92EVj0vd3FD4ikW6bdOp1NkYFqUVBhKlbvJk6y-TbLFB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sUlMX_JowUS5NfD5lsR-v9AeGEm3Q_R7BwUeF--KUkNvbWaHOCyVylOiIzvFNZeHA0HEp2KQ8F9tXzNx0iUXpDulp78ff2QyLBoRsXFPsXUizpZOvw1dsKeMm_Xwsb5dGRMmqcf_LG9biN0yVhaIb9pJyJszCrTiPm0o6z8-z0hfUVyP9BDUuQDyuoSMfx4bReBcQL5cZ_6hKOP_oV0C8H1ZrgDidPsGxwfIEygE5D28CCcNAvnGXuPjiRmQVdN1Rd8kHp0M9FIaeqX09mxOw\u0026h=1Pgqh41g1w3ahoqDziDnFy54wuewG7btMg8IiNkKafg", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "8" ], - "x-ms-client-request-id": [ "a6b7ed2c-436e-4abb-9d79-10ed9e0e0993" ], + "x-ms-client-request-id": [ "d91e392b-2a7e-4d2c-afb7-295fe888d11e" ], "CommandName": [ "New-AzConnectedMachineExtension" ], "FullCommandName": [ "New-AzConnectedMachineExtension_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.5.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.1.0" ] }, "ContentHeaders": { } @@ -332,42 +332,42 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationresults/cab07552-3e58-4fa0-a66b-6f2ea4e802de?api-version=2024-05-20-preview\u0026t=638623838858307914\u0026c=MIIHpTCCBo2gAwIBAgITfwN43MjEi0W8quEp-gAEA3jcyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW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JBuRWlmxRWKlxGiR-kZINt99ksV65ZBhsigLjAZYo4HpzQydRwwPVGUebtBD3XhFnalnYK3EoU3yr5LEyfJCQqOCPvAt1AZ3bMR5moP6HXLcSlsDicH7R97FRrKO_6GywgIPDmt2Mm2VBO6p3qPCi2do79OCNlD3OpKaWuuuC6lnZB1ilSIi1w9vpGdji0ixc_dnfMVgL_z1lnM1nLDCsALgv8ghCQDVX4h_Net36CgZgv16gbE71947exvQNJZVVQfXQe0YRTktFsCJVlPmvV5d0KukZUDMAiH0oFJCto8W6ggMMy7u4JLzsLIxcJxrFMaGaz8\u0026s=G7V9hnVoExBsjKsWVZSKYMYmlp6dN6TLtOuFW4ERlZZ-WLj2Fsf5NmaSpXcR91nPXdQ7ezk3HcyU5QpRNTAqhSFftrHdcZVp_dhqvI8_Sb21znp6tvyJ31oeifbQd84Q_Q2M2Ua0cqar8mt-l6-rsNI85n8aQV3KXwu-u4bxaxgS2IBR1a8U-eEqQqkEqnXjdwZu_PZN3t3zDXFGzKOLS0gbGQ77DtASJknnWNmtaBWlf5Q9YKA3wqT1X-rM2sZfuGLdaCVjbCNnlefySoMOOMxVkr-p54nDgEKeVKjil9G2d3ONfCmDcajP7bABqyePZ05wMsgbeLJntDRiwQJc-Q\u0026h=R9gF05lEa2G1ZcWy4V5JWOiQIXWTJU1XXHxGiXH5Lts" ], + "Location": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationresults/49f57239-ef23-4b30-8036-7a7a7f17fc9e?api-version=2024-07-10\u0026t=638639268442314961\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwMjMxMTQxWhcNMjUwMzE5MjMxMT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ZpPsRItAMUguVpGVRH08T0i43w9xrp_clNbAJrrfRbmYroF0WJKMJ0nwW2rPjxdevSRygGK_nEfywwFi-p1RhHnkiEGL4GnP7PpQcRvAYMdH9LO5MRY7iLbBmosKatS_eWtSJD1CvzglNwy_vQzx81Vnk0CgndqXcVq-loGu7R4U7mkQ2NNqLbp447STxkpP-6Mdyv8J4bdnf1s3vFBNpgvJWKogWcNLlo8jnkbEf6RPNGe1W5lma7JwMKAcPzY\u0026s=gEMHV5oH0E-ra57g9sv_oN3ENet5C5F3CytbuOV169oKPy4tjQenbakU3ON5C_oyKQeiyE9BHHuNL68gKh5TEwz22YAlhNnIfyhC-MvAh_q3i-3eXjm0XU4lm022WNZPKnlIMSDDVyELa1J5xgHDrEORt5gvESawunRy2IN0FgKm6zvfldCKU8TdzapxXgFRr4Hq9gSQ8qihbRtJ-YTAZzfPBv1H0-gCdot4sj80p9pFosDuj69J5IJlMEIoTyPICt-GQOHgLbU-zI23VscW9yWPA-MYVzMTDylhBaemDw4pbHV0Oa4tZ9pr_LBvVa7Z9iNcI-5LsssMfgoW0hmR3Q\u0026h=w3AKnNvaXWWy2doymrSLnsleTtXVkkWOPF1a6H3r_gE" ], "Retry-After": [ "15" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11991" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-request-id": [ "b0ac89c8-3e9f-406a-b73b-e46be8d37c97" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/cab07552-3e58-4fa0-a66b-6f2ea4e802de?api-version=2024-05-20-preview\u0026t=638623838858151691\u0026c=MIIHpTCCBo2gAwIBAgITfwN43MjEi0W8quEp-gAEA3jcyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImi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wDQYJKoZIhvcNAQELBQADggEBADbkVmxlTl8VUMrDJBuRWlmxRWKlxGiR-kZINt99ksV65ZBhsigLjAZYo4HpzQydRwwPVGUebtBD3XhFnalnYK3EoU3yr5LEyfJCQqOCPvAt1AZ3bMR5moP6HXLcSlsDicH7R97FRrKO_6GywgIPDmt2Mm2VBO6p3qPCi2do79OCNlD3OpKaWuuuC6lnZB1ilSIi1w9vpGdji0ixc_dnfMVgL_z1lnM1nLDCsALgv8ghCQDVX4h_Net36CgZgv16gbE71947exvQNJZVVQfXQe0YRTktFsCJVlPmvV5d0KukZUDMAiH0oFJCto8W6ggMMy7u4JLzsLIxcJxrFMaGaz8\u0026s=fzt1MXnsrfsgNb8JuHHFDniT_3bUl8gTTZvHpLrFyXuDEOGn7I1IX84DVpPeemh4HWdWm_vMAaKmumMLk9dhYHbUM6lUJmxwffl1ZNHPTLTSxA-wAl05s4iuGV4Rw99d7pEOtP8EVU1yNhTPQgdZRyPkKrRBxL3zjz-y0AXNyrPN1xPlENxUVbDSZZY6nbXCzqP3AoJgrcf-WKJG3rbW90wzYKMjekezrbVqdULTr3f4GfypiUw7QZQAOuOKLEFZ_hsbrRunBXRdv9Ht4xWMKy5UhEum6GjFqBTmrUdylqNn4KAu3Ex9lrTKFYs0ZjbTW3K3k_VWPPzoGpM5_uMuuQ\u0026h=wWVcu8z2hvUsdY5qYbef9eaXUHUYGEXhr7dchqpr9NU" ], - "x-ms-correlation-request-id": [ "39100408-60d7-45e5-a309-e18016160f5a" ], - "x-ms-routing-request-id": [ "EASTUS2:20240919T230445Z:39100408-60d7-45e5-a309-e18016160f5a" ], + "x-ms-request-id": [ "2ae49e4e-ddce-45ac-aaaf-80a32fa61462" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/49f57239-ef23-4b30-8036-7a7a7f17fc9e?api-version=2024-07-10\u0026t=638639268442314961\u0026c=M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EAjAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAG0WbzLPsmSSMI7aTe2npixmkdCmwcdZHGd43tUnB8JKrLNJEFcBsQmbcIH0adpnQNrDgRkNBBOTZ4s1LIBlRQapZpPsRItAMUguVpGVRH08T0i43w9xrp_clNbAJrrfRbmYroF0WJKMJ0nwW2rPjxdevSRygGK_nEfywwFi-p1RhHnkiEGL4GnP7PpQcRvAYMdH9LO5MRY7iLbBmosKatS_eWtSJD1CvzglNwy_vQzx81Vnk0CgndqXcVq-loGu7R4U7mkQ2NNqLbp447STxkpP-6Mdyv8J4bdnf1s3vFBNpgvJWKogWcNLlo8jnkbEf6RPNGe1W5lma7JwMKAcPzY\u0026s=gLoBp7rNA_hHTuthQR_mSuokEeLwLQmcR3C3GWD3ReB9dO8Ns1TiSD-W_uM3ftfdPCpiFQUIumRZYUFHIo4uIZ0mcK6ebATQ-IlLm34aaP9XYJsSwAft6oylFwz8E_Sp0eKJuWhPGiezEa77oFR9aftfoM7__PjTbcQGbkQYccMQzHR36l2pWN0v_etR_POcuoxM1I0thNoodWLdU1cgx3-i0irAXaWHisRQCGTz9jESW-EsbmcicxiSUQ6-UFuj2S5OQC34XS7et8uRBwNl-CUWUJrs-m-bqrf8mJYDug_5DPFVa7vVjfao9V9MzEJyBmahUGBQSO87p8VKaqOd5g\u0026h=Tq9XZRp2UwuwBRv2lR_3dq8H7XSv0i3oBZxrXbEGp_k" ], + "x-ms-correlation-request-id": [ "c0315043-6347-4e79-93c5-061f578efdf4" ], + "x-ms-routing-request-id": [ "EASTUS:20241007T194044Z:c0315043-6347-4e79-93c5-061f578efdf4" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 6E826B67EA5A46E99B90F8A358F3FB28 Ref B: MNZ221060619027 Ref C: 2024-09-19T23:04:45Z" ], - "Date": [ "Thu, 19 Sep 2024 23:04:45 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 686182B5E3A040438AE5E8278B4A9042 Ref B: MNZ221060618047 Ref C: 2024-10-07T19:40:43Z" ], + "Date": [ "Mon, 07 Oct 2024 19:40:43 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "111" ], + "Content-Length": [ "112" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"cab07552-3e58-4fa0-a66b-6f2ea4e802de\",\"status\":\"InProgress\",\"startTime\":\"2024-09-19T23:02:57.597051Z\"}", + "Content": "{\"name\":\"49f57239-ef23-4b30-8036-7a7a7f17fc9e\",\"status\":\"InProgress\",\"startTime\":\"2024-10-07T19:38:55.9341818Z\"}", "isContentBase64": false } }, - "New-AzConnectedMachineExtension+[NoContext]+Create+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/cab07552-3e58-4fa0-a66b-6f2ea4e802de?api-version=2024-05-20-preview\u0026t=638623838858151691\u0026c=MIIHpTCCBo2gAwIBAgITfwN43MjEi0W8quEp-gAEA3jcyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwNjI0MTIwMzUxWhcNMjUwNjE5MTIwMzUxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALiUzQ72miF3S8xuwVdDASkfTayfNuL2xoGjIYUp6ggSGWwqcFLd9Wyqc3F6x8NaURchp8S0iOYM5xMdEBYAsj1xu3zzvdMwM4vUqHIbG6w3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u4JLzsLIxcJxrFMaGaz8\u0026s=fzt1MXnsrfsgNb8JuHHFDniT_3bUl8gTTZvHpLrFyXuDEOGn7I1IX84DVpPeemh4HWdWm_vMAaKmumMLk9dhYHbUM6lUJmxwffl1ZNHPTLTSxA-wAl05s4iuGV4Rw99d7pEOtP8EVU1yNhTPQgdZRyPkKrRBxL3zjz-y0AXNyrPN1xPlENxUVbDSZZY6nbXCzqP3AoJgrcf-WKJG3rbW90wzYKMjekezrbVqdULTr3f4GfypiUw7QZQAOuOKLEFZ_hsbrRunBXRdv9Ht4xWMKy5UhEum6GjFqBTmrUdylqNn4KAu3Ex9lrTKFYs0ZjbTW3K3k_VWPPzoGpM5_uMuuQ\u0026h=wWVcu8z2hvUsdY5qYbef9eaXUHUYGEXhr7dchqpr9NU+9": { + "New-AzConnectedMachineExtension+[NoContext]+Create+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/49f57239-ef23-4b30-8036-7a7a7f17fc9e?api-version=2024-07-10\u0026t=638639268442314961\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwMjMxMTQxWhcNMjUwMzE5MjMxMTQxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKRtcYDBXS7zz5tRtvVyhrUAjudYhej1E2D3dp6XWuPdbVMbQZwMlye8vdT-kDhFD7T2mrdWqsoGnTGk0_xOHBfLGnW-0QRUqpeoTNIhu8vc2CfTUtm2t2s_-fzvFtRyhDA4mfC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R_mSuokEeLwLQmcR3C3GWD3ReB9dO8Ns1TiSD-W_uM3ftfdPCpiFQUIumRZYUFHIo4uIZ0mcK6ebATQ-IlLm34aaP9XYJsSwAft6oylFwz8E_Sp0eKJuWhPGiezEa77oFR9aftfoM7__PjTbcQGbkQYccMQzHR36l2pWN0v_etR_POcuoxM1I0thNoodWLdU1cgx3-i0irAXaWHisRQCGTz9jESW-EsbmcicxiSUQ6-UFuj2S5OQC34XS7et8uRBwNl-CUWUJrs-m-bqrf8mJYDug_5DPFVa7vVjfao9V9MzEJyBmahUGBQSO87p8VKaqOd5g\u0026h=Tq9XZRp2UwuwBRv2lR_3dq8H7XSv0i3oBZxrXbEGp_k+9": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/cab07552-3e58-4fa0-a66b-6f2ea4e802de?api-version=2024-05-20-preview\u0026t=638623838858151691\u0026c=MIIHpTCCBo2gAwIBAgITfwN43MjEi0W8quEp-gAEA3jcyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwNjI0MTIwMzUxWhcNMjUwNjE5MTIwMzUxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALiUzQ72miF3S8xuwVdDASkfTayfNuL2xoGjIYUp6ggSGWwqcFLd9Wyqc3F6x8NaURchp8S0iOYM5xMdEBYAsj1xu3zzvdMwM4vUqHIbG6w3GEP4tj7-UIz-btgan_NW7rOEM9oubY9dUtfuCg-mayRYdWezidp70abA2mUEj9ioVQ0CKe9kIzMPn7WFnuLRExud0yMQzD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h4HWdWm_vMAaKmumMLk9dhYHbUM6lUJmxwffl1ZNHPTLTSxA-wAl05s4iuGV4Rw99d7pEOtP8EVU1yNhTPQgdZRyPkKrRBxL3zjz-y0AXNyrPN1xPlENxUVbDSZZY6nbXCzqP3AoJgrcf-WKJG3rbW90wzYKMjekezrbVqdULTr3f4GfypiUw7QZQAOuOKLEFZ_hsbrRunBXRdv9Ht4xWMKy5UhEum6GjFqBTmrUdylqNn4KAu3Ex9lrTKFYs0ZjbTW3K3k_VWPPzoGpM5_uMuuQ\u0026h=wWVcu8z2hvUsdY5qYbef9eaXUHUYGEXhr7dchqpr9NU", + "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/49f57239-ef23-4b30-8036-7a7a7f17fc9e?api-version=2024-07-10\u0026t=638639268442314961\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwMjMxMTQxWhcNMjUwMzE5MjMxMTQxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKRtcYDBXS7zz5tRtvVyhrUAjudYhej1E2D3dp6XWuPdbVMbQZwMlye8vdT-kDhFD7T2mrdWqsoGnTGk0_xOHBfLGnW-0QRUqpeoTNIhu8vc2CfTUtm2t2s_-fzvFtRyhDA4mfCH1cz92EVj0vd3FD4ikW6bdOp1NkYFqUVBhKlbvJk6y-TbLFBLP5Zx4m0Ua-_P7aMzbgvOJgMOTC2jLs5w_lFDJWeP3IKUOiJmrfLpf4ey5Ov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eKJuWhPGiezEa77oFR9aftfoM7__PjTbcQGbkQYccMQzHR36l2pWN0v_etR_POcuoxM1I0thNoodWLdU1cgx3-i0irAXaWHisRQCGTz9jESW-EsbmcicxiSUQ6-UFuj2S5OQC34XS7et8uRBwNl-CUWUJrs-m-bqrf8mJYDug_5DPFVa7vVjfao9V9MzEJyBmahUGBQSO87p8VKaqOd5g\u0026h=Tq9XZRp2UwuwBRv2lR_3dq8H7XSv0i3oBZxrXbEGp_k", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "9" ], - "x-ms-client-request-id": [ "a6b7ed2c-436e-4abb-9d79-10ed9e0e0993" ], + "x-ms-client-request-id": [ "d91e392b-2a7e-4d2c-afb7-295fe888d11e" ], "CommandName": [ "New-AzConnectedMachineExtension" ], "FullCommandName": [ "New-AzConnectedMachineExtension_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.5.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.1.0" ] }, "ContentHeaders": { } @@ -377,42 +377,42 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationresults/cab07552-3e58-4fa0-a66b-6f2ea4e802de?api-version=2024-05-20-preview\u0026t=638623839019018841\u0026c=MIIHpTCCBo2gAwIBAgITfwN43MjEi0W8quEp-gAEA3jcyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwNjI0MTIwMzUxWhcNMjUwNjE5MTIwMzUxWjBAMT4wPAYDVQQ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r5LEyfJCQqOCPvAt1AZ3bMR5moP6HXLcSlsDicH7R97FRrKO_6GywgIPDmt2Mm2VBO6p3qPCi2do79OCNlD3OpKaWuuuC6lnZB1ilSIi1w9vpGdji0ixc_dnfMVgL_z1lnM1nLDCsALgv8ghCQDVX4h_Net36CgZgv16gbE71947exvQNJZVVQfXQe0YRTktFsCJVlPmvV5d0KukZUDMAiH0oFJCto8W6ggMMy7u4JLzsLIxcJxrFMaGaz8\u0026s=SYQfvRmIKAoTtl1a9Wow_CFlyqHvOmFA_3fZK4-xA9Fnsk74TELhhaxXqBF73iNopJKHbIuBhsfHRyMGmW-Ym4TFkW20zlas9Akzj0eF1TW5t4UVjT6KBVlZ_cvtJmeAXr91daAG3GF4C4X8HO1hwXT5edz2P5SOIbmFy2XumZ3slwTHJ5xnsgDK8N-3IUyG3Rx1qJ3-4BwCULcu2m1LZX8hYLExtmvWFCU7mhdoFBZ4x2Gl9J4lO9cJ9sEzoPXrTfMMf6q1EirBjrMVlZ0P9Avzjr5g3RbeYYrL1i5nMn53RyufnraQpIM8uTWBWuC2TZ-Ov2O4BiT8G4KLHFhZ-A\u0026h=YqsrUCi5sZXHfxtXN1Hh3GfiHWZczYR-7UzufbfPPuQ" ], + "Location": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationresults/49f57239-ef23-4b30-8036-7a7a7f17fc9e?api-version=2024-07-10\u0026t=638639268595699927\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwMjMxMTQxWhcNMjUwMzE5MjMxMTQxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0Z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K_nEfywwFi-p1RhHnkiEGL4GnP7PpQcRvAYMdH9LO5MRY7iLbBmosKatS_eWtSJD1CvzglNwy_vQzx81Vnk0CgndqXcVq-loGu7R4U7mkQ2NNqLbp447STxkpP-6Mdyv8J4bdnf1s3vFBNpgvJWKogWcNLlo8jnkbEf6RPNGe1W5lma7JwMKAcPzY\u0026s=TdjDX-3EKO8Ram3QZeqt43CZd8QEO7TBMGvh8Ibr6zXJj5YaQOF9gfe-33yQM-xBEataF2rPZQcVQnQNkUSBCJIdoT8imhtQfaSIKDeufkaRmXhnp1JQq-tEajn1ucUDrUb9QV-cOy_HX_IjxMKaZervfNt8XAsFSdYeTF0Rz_p-vAK2TgWmExxPrhCLIHMvNVQMgrMpCX96eJf5H7q06FGPMLR6An6-3IAy8Be-vrv0QtR6d1EwGEBJbH1cGzcgK1XdKxIFTeXTjeNXKH5NDBLDLKjeMgOw5clM-EVV6WlVk0HSlZiypNjPYdwBre0xZ-tKGEzZV5Izdv7U-Xvxvw\u0026h=ePrxNmfDKbGbv2o_g9biNtJz-r7F4PaY7FgO9hmPoZU" ], "Retry-After": [ "15" ], "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-request-id": [ "9f72c82b-7729-4890-90c2-9ace3ca74b5f" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/cab07552-3e58-4fa0-a66b-6f2ea4e802de?api-version=2024-05-20-preview\u0026t=638623839018862711\u0026c=MIIHpTCCBo2gAwIBAgITfwN43MjEi0W8quEp-gAEA3jcyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwNjI0MTIwMzUxWhcNMjUwNjE5M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VGUebtBD3XhFnalnYK3EoU3yr5LEyfJCQqOCPvAt1AZ3bMR5moP6HXLcSlsDicH7R97FRrKO_6GywgIPDmt2Mm2VBO6p3qPCi2do79OCNlD3OpKaWuuuC6lnZB1ilSIi1w9vpGdji0ixc_dnfMVgL_z1lnM1nLDCsALgv8ghCQDVX4h_Net36CgZgv16gbE71947exvQNJZVVQfXQe0YRTktFsCJVlPmvV5d0KukZUDMAiH0oFJCto8W6ggMMy7u4JLzsLIxcJxrFMaGaz8\u0026s=KddXkIpR1FzFFX3F5gGRQ-f2PG0RRu8u2gqrQpoV2lr-pdnFRV6CLTLPSqnvhN0yNNROskUyUaezGqhO9yN-vSr6W6zIFJqEd2vwyO5_C66Ua4Yehp_eMHJQXECqvhvQ6iXdH3tG6XbmdmFpoRFuM-n6Teb_T8sCnrJ94-i52Ij5LFDKVAgDb6e4XXlW-NoBnjTFOfAbz7IsO757GMOYz1j2b-XnCVulAEmU2nJ4Ym_zSnNdDKYhoXfl7WojY0ZbK_gaEdyV8CwcAx8zu0dTkfnB4ZV_ZjYfnXXZk1Fl5tpNJ5nGPWPP26RJB_Bf0bnWRAKbyYVbsySiwlt3MJk04Q\u0026h=m-cQXhWljnP9DDcmN6yJNiqFCWWUspBKMwOPsbdA8IE" ], - "x-ms-correlation-request-id": [ "b6ff752a-529c-4f77-aea9-bb61b1c13f7b" ], - "x-ms-routing-request-id": [ "EASTUS2:20240919T230501Z:b6ff752a-529c-4f77-aea9-bb61b1c13f7b" ], + "x-ms-request-id": [ "e4950196-5576-4648-9e8e-038c43ad2885" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/49f57239-ef23-4b30-8036-7a7a7f17fc9e?api-version=2024-07-10\u0026t=638639268595699927\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQY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DAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAG0WbzLPsmSSMI7aTe2npixmkdCmwcdZHGd43tUnB8JKrLNJEFcBsQmbcIH0adpnQNrDgRkNBBOTZ4s1LIBlRQapZpPsRItAMUguVpGVRH08T0i43w9xrp_clNbAJrrfRbmYroF0WJKMJ0nwW2rPjxdevSRygGK_nEfywwFi-p1RhHnkiEGL4GnP7PpQcRvAYMdH9LO5MRY7iLbBmosKatS_eWtSJD1CvzglNwy_vQzx81Vnk0CgndqXcVq-loGu7R4U7mkQ2NNqLbp447STxkpP-6Mdyv8J4bdnf1s3vFBNpgvJWKogWcNLlo8jnkbEf6RPNGe1W5lma7JwMKAcPzY\u0026s=aacLV6TYbYO8QjrNETjoYnVsKCiDaLpieOf5Qy81wCRRIKs9IGTB5HDvu9_pIRdlf2tet5Xsa0sHo8doJeT_oow9SIvGKEYeQZ-eIar8_5E9daurh0D7n6slEAzv0E1Ex5iv_YNUpjOL7IpgNGPFxkglG3dVvYUUHQLnjgk2vYQKaBdVm5YnEo5m_i5uhU2zsNG-eEPWL0Ys8Ov7165C2fTzJNk3bR2h_SrWqRv5qtiCEcVoVbBklRc9WtJpl_4rbFgvEedF2Gp9loj_dDNMCP8iMpsffeWEOgTe14O_UD6Ks5zkx1-7p3hxf4ohzvSwomRxcmp9LQcY853BCpvcLg\u0026h=YNx1qjaDRytEzLmwvptmuEFUUnpNNiGlZ5P_JP61E2s" ], + "x-ms-correlation-request-id": [ "7a5da61f-7819-4452-8f42-2f33fa7545b6" ], + "x-ms-routing-request-id": [ "EASTUS:20241007T194059Z:7a5da61f-7819-4452-8f42-2f33fa7545b6" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: FC104382168744E38D3E857021EF0BD8 Ref B: MNZ221060619027 Ref C: 2024-09-19T23:05:01Z" ], - "Date": [ "Thu, 19 Sep 2024 23:05:01 GMT" ] + "X-MSEdge-Ref": [ "Ref A: E489EFFE26084CF2A324E63571EED37D Ref B: MNZ221060618047 Ref C: 2024-10-07T19:40:59Z" ], + "Date": [ "Mon, 07 Oct 2024 19:40:59 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "111" ], + "Content-Length": [ "112" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"cab07552-3e58-4fa0-a66b-6f2ea4e802de\",\"status\":\"InProgress\",\"startTime\":\"2024-09-19T23:02:57.597051Z\"}", + "Content": "{\"name\":\"49f57239-ef23-4b30-8036-7a7a7f17fc9e\",\"status\":\"InProgress\",\"startTime\":\"2024-10-07T19:38:55.9341818Z\"}", "isContentBase64": false } }, - "New-AzConnectedMachineExtension+[NoContext]+Create+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/cab07552-3e58-4fa0-a66b-6f2ea4e802de?api-version=2024-05-20-preview\u0026t=638623839018862711\u0026c=MIIHpTCCBo2gAwIBAgITfwN43MjEi0W8quEp-gAEA3jcyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwNjI0MTIwMzUxWhcNMjUwNjE5MTIwMzUxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALiUzQ72miF3S8xuwVdDASkfTayfNuL2xoGjIYUp6ggSGWwqcFLd9Wyqc3F6x8NaURchp8S0iOYM5xMdEBYAsj1xu3zzvdMwM4vUqHIbG6w3GEP4tj7-UIz-btgan_NW7rOEM9oubY9dUtfuCg-mayRYdWezidp70abA2mUEj9ioVQ0CKe9kI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2lr-pdnFRV6CLTLPSqnvhN0yNNROskUyUaezGqhO9yN-vSr6W6zIFJqEd2vwyO5_C66Ua4Yehp_eMHJQXECqvhvQ6iXdH3tG6XbmdmFpoRFuM-n6Teb_T8sCnrJ94-i52Ij5LFDKVAgDb6e4XXlW-NoBnjTFOfAbz7IsO757GMOYz1j2b-XnCVulAEmU2nJ4Ym_zSnNdDKYhoXfl7WojY0ZbK_gaEdyV8CwcAx8zu0dTkfnB4ZV_ZjYfnXXZk1Fl5tpNJ5nGPWPP26RJB_Bf0bnWRAKbyYVbsySiwlt3MJk04Q\u0026h=m-cQXhWljnP9DDcmN6yJNiqFCWWUspBKMwOPsbdA8IE+10": { + "New-AzConnectedMachineExtension+[NoContext]+Create+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/49f57239-ef23-4b30-8036-7a7a7f17fc9e?api-version=2024-07-10\u0026t=638639268595699927\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwMjMxMTQxWhcNMjUwMzE5MjMxMTQxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKRtcYDBXS7zz5tRtvVyhrUAjudYhej1E2D3dp6XWuPdbVMbQZwMlye8vdT-kDhFD7T2mrdWqsoGnTGk0_xOHBfLGnW-0QRUqpeoTNIhu8vc2CfTUtm2t2s_-fzvFtRyhDA4mfCH1cz92EVj0vd3FD4ikW6bdOp1NkYFqUVBhKlbvJk6y-TbLFBLP5Zx4m0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8doJeT_oow9SIvGKEYeQZ-eIar8_5E9daurh0D7n6slEAzv0E1Ex5iv_YNUpjOL7IpgNGPFxkglG3dVvYUUHQLnjgk2vYQKaBdVm5YnEo5m_i5uhU2zsNG-eEPWL0Ys8Ov7165C2fTzJNk3bR2h_SrWqRv5qtiCEcVoVbBklRc9WtJpl_4rbFgvEedF2Gp9loj_dDNMCP8iMpsffeWEOgTe14O_UD6Ks5zkx1-7p3hxf4ohzvSwomRxcmp9LQcY853BCpvcLg\u0026h=YNx1qjaDRytEzLmwvptmuEFUUnpNNiGlZ5P_JP61E2s+10": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/cab07552-3e58-4fa0-a66b-6f2ea4e802de?api-version=2024-05-20-preview\u0026t=638623839018862711\u0026c=MIIHpTCCBo2gAwIBAgITfwN43MjEi0W8quEp-gAEA3jcyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwNjI0MTIwMzUxWhcNMjUwNjE5MTIwMzUxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALiUzQ72miF3S8xuwVdDASkfTayfNuL2xoGjIYUp6ggSGWwqcFLd9Wyqc3F6x8NaURchp8S0iOYM5xMdEBYAsj1xu3zzvdMwM4vUqHIbG6w3GEP4tj7-UIz-btgan_NW7rOEM9oubY9dUtfuCg-mayRYdWezidp70abA2mUEj9ioVQ0CKe9kIzMPn7WFnuLRExud0yMQzDsWTVbaC5Eb_4Hx6vT5bnnLDisXEEQMzG96dJaC9KQZ-tFvcDzGz6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eMHJQXECqvhvQ6iXdH3tG6XbmdmFpoRFuM-n6Teb_T8sCnrJ94-i52Ij5LFDKVAgDb6e4XXlW-NoBnjTFOfAbz7IsO757GMOYz1j2b-XnCVulAEmU2nJ4Ym_zSnNdDKYhoXfl7WojY0ZbK_gaEdyV8CwcAx8zu0dTkfnB4ZV_ZjYfnXXZk1Fl5tpNJ5nGPWPP26RJB_Bf0bnWRAKbyYVbsySiwlt3MJk04Q\u0026h=m-cQXhWljnP9DDcmN6yJNiqFCWWUspBKMwOPsbdA8IE", + "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/49f57239-ef23-4b30-8036-7a7a7f17fc9e?api-version=2024-07-10\u0026t=638639268595699927\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwMjMxMTQxWhcNMjUwMzE5MjMxMTQxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKRtcYDBXS7zz5tRtvVyhrUAjudYhej1E2D3dp6XWuPdbVMbQZwMlye8vdT-kDhFD7T2mrdWqsoGnTGk0_xOHBfLGnW-0QRUqpeoTNIhu8vc2CfTUtm2t2s_-fzvFtRyhDA4mfCH1cz92EVj0vd3FD4ikW6bdOp1NkYFqUVBhKlbvJk6y-TbLFBLP5Zx4m0Ua-_P7aMzbgvOJgMOTC2jLs5w_lFDJWeP3IKUOiJmrfLpf4ey5Ov94oCE6YncDBSHJZKWcrSxDHgSz9AXrxarL4HLajGbF3MRvfkM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nEo5m_i5uhU2zsNG-eEPWL0Ys8Ov7165C2fTzJNk3bR2h_SrWqRv5qtiCEcVoVbBklRc9WtJpl_4rbFgvEedF2Gp9loj_dDNMCP8iMpsffeWEOgTe14O_UD6Ks5zkx1-7p3hxf4ohzvSwomRxcmp9LQcY853BCpvcLg\u0026h=YNx1qjaDRytEzLmwvptmuEFUUnpNNiGlZ5P_JP61E2s", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "10" ], - "x-ms-client-request-id": [ "a6b7ed2c-436e-4abb-9d79-10ed9e0e0993" ], + "x-ms-client-request-id": [ "d91e392b-2a7e-4d2c-afb7-295fe888d11e" ], "CommandName": [ "New-AzConnectedMachineExtension" ], "FullCommandName": [ "New-AzConnectedMachineExtension_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.5.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.1.0" ] }, "ContentHeaders": { } @@ -422,39 +422,39 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-request-id": [ "f1ab0f36-a7fc-474b-8c93-2581d1a1ada2" ], - "x-ms-correlation-request-id": [ "3f82417b-17ee-47c5-b1a4-ecf803f6293d" ], - "x-ms-routing-request-id": [ "EASTUS2:20240919T230517Z:3f82417b-17ee-47c5-b1a4-ecf803f6293d" ], + "x-ms-request-id": [ "a8e729c2-d3b9-4f33-a309-24cc51e75aa7" ], + "x-ms-correlation-request-id": [ "d107d794-9223-44de-bb4d-c3d7a167e6e0" ], + "x-ms-routing-request-id": [ "EASTUS:20241007T194114Z:d107d794-9223-44de-bb4d-c3d7a167e6e0" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 76E99FA13F0B49DA985594828AE1B4FF Ref B: MNZ221060619027 Ref C: 2024-09-19T23:05:17Z" ], - "Date": [ "Thu, 19 Sep 2024 23:05:16 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 6B41A3B74569432EA06E94C41B46AD03 Ref B: MNZ221060618047 Ref C: 2024-10-07T19:41:14Z" ], + "Date": [ "Mon, 07 Oct 2024 19:41:14 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "878" ], + "Content-Length": [ "872" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"cab07552-3e58-4fa0-a66b-6f2ea4e802de\",\"status\":\"Succeeded\",\"startTime\":\"2024-09-19T23:02:57.597051Z\",\"properties\":{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine/extensions/networkWatcher\",\"name\":\"networkWatcher\",\"location\":\"centraluseuap\",\"type\":\"Microsoft.HybridCompute/machines/extensions\",\"properties\":{\"publisher\":\"Microsoft.Azure.NetworkWatcher\",\"type\":\"NetworkWatcherAgentWindows\",\"typeHandlerVersion\":\"1.4.2798.3\",\"autoUpgradeMinorVersion\":false,\"enableAutomaticUpgrade\":true,\"settings\":{\"CommandToExecute\":\"dir\"},\"provisioningState\":\"Succeeded\",\"instanceView\":{\"name\":\"networkWatcher\",\"type\":\"NetworkWatcherAgentWindows\",\"typeHandlerVersion\":\"1.4.2798.3\",\"status\":{\"code\":\"0\",\"level\":\"Information\",\"message\":\"Extension Message: Default configuration is in effect.\"}}}}}", + "Content": "{\"name\":\"49f57239-ef23-4b30-8036-7a7a7f17fc9e\",\"status\":\"Succeeded\",\"startTime\":\"2024-10-07T19:38:55.9341818Z\",\"properties\":{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine/extensions/networkWatcher\",\"name\":\"networkWatcher\",\"location\":\"eastus\",\"type\":\"Microsoft.HybridCompute/machines/extensions\",\"properties\":{\"publisher\":\"Microsoft.Azure.NetworkWatcher\",\"type\":\"NetworkWatcherAgentWindows\",\"typeHandlerVersion\":\"1.4.2798.3\",\"autoUpgradeMinorVersion\":false,\"enableAutomaticUpgrade\":true,\"settings\":{\"CommandToExecute\":\"dir\"},\"provisioningState\":\"Succeeded\",\"instanceView\":{\"name\":\"networkWatcher\",\"type\":\"NetworkWatcherAgentWindows\",\"typeHandlerVersion\":\"1.4.2798.3\",\"status\":{\"code\":\"0\",\"level\":\"Information\",\"message\":\"Extension Message: Default configuration is in effect.\"}}}}}", "isContentBase64": false } }, - "New-AzConnectedMachineExtension+[NoContext]+Create+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine/extensions/networkWatcher?api-version=2024-05-20-preview+11": { + "New-AzConnectedMachineExtension+[NoContext]+Create+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine/extensions/networkWatcher?api-version=2024-07-10+11": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine/extensions/networkWatcher?api-version=2024-05-20-preview", + "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine/extensions/networkWatcher?api-version=2024-07-10", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "11" ], - "x-ms-client-request-id": [ "a6b7ed2c-436e-4abb-9d79-10ed9e0e0993" ], + "x-ms-client-request-id": [ "d91e392b-2a7e-4d2c-afb7-295fe888d11e" ], "CommandName": [ "New-AzConnectedMachineExtension" ], "FullCommandName": [ "New-AzConnectedMachineExtension_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.5.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.1.0" ] }, "ContentHeaders": { } @@ -466,20 +466,20 @@ "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ "11997" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-request-id": [ "d24186c3-17a4-47e7-8a7a-ce06733f05ae" ], - "x-ms-correlation-request-id": [ "7910172d-8d28-4141-8eb2-3bc54da4f90f" ], - "x-ms-routing-request-id": [ "EASTUS2:20240919T230518Z:7910172d-8d28-4141-8eb2-3bc54da4f90f" ], + "x-ms-request-id": [ "91fe519b-822d-430d-96a2-eeff036e6c40" ], + "x-ms-correlation-request-id": [ "dabf30f6-bbcc-4ae9-b6f4-15505ca3ec95" ], + "x-ms-routing-request-id": [ "EASTUS:20241007T194115Z:dabf30f6-bbcc-4ae9-b6f4-15505ca3ec95" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 0DC716E6B36D47AE8CBD2A5179091D54 Ref B: MNZ221060619027 Ref C: 2024-09-19T23:05:17Z" ], - "Date": [ "Thu, 19 Sep 2024 23:05:17 GMT" ] + "X-MSEdge-Ref": [ "Ref A: FDB4AB4B60844244838F33C17E894CC9 Ref B: MNZ221060618047 Ref C: 2024-10-07T19:41:14Z" ], + "Date": [ "Mon, 07 Oct 2024 19:41:14 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "754" ], + "Content-Length": [ "747" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine/extensions/networkWatcher\",\"name\":\"networkWatcher\",\"type\":\"Microsoft.HybridCompute/machines/extensions\",\"location\":\"centraluseuap\",\"properties\":{\"publisher\":\"Microsoft.Azure.NetworkWatcher\",\"type\":\"NetworkWatcherAgentWindows\",\"typeHandlerVersion\":\"1.4.2798.3\",\"autoUpgradeMinorVersion\":false,\"enableAutomaticUpgrade\":true,\"settings\":{\"CommandToExecute\":\"dir\"},\"provisioningState\":\"Succeeded\",\"instanceView\":{\"name\":\"networkWatcher\",\"type\":\"NetworkWatcherAgentWindows\",\"typeHandlerVersion\":\"1.4.2798.3\",\"status\":{\"code\":\"0\",\"level\":\"Information\",\"message\":\"Extension Message: Default configuration is in effect.\"}}}}", + "Content": "{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine/extensions/networkWatcher\",\"name\":\"networkWatcher\",\"type\":\"Microsoft.HybridCompute/machines/extensions\",\"location\":\"eastus\",\"properties\":{\"publisher\":\"Microsoft.Azure.NetworkWatcher\",\"type\":\"NetworkWatcherAgentWindows\",\"typeHandlerVersion\":\"1.4.2798.3\",\"autoUpgradeMinorVersion\":false,\"enableAutomaticUpgrade\":true,\"settings\":{\"CommandToExecute\":\"dir\"},\"provisioningState\":\"Succeeded\",\"instanceView\":{\"name\":\"networkWatcher\",\"type\":\"NetworkWatcherAgentWindows\",\"typeHandlerVersion\":\"1.4.2798.3\",\"status\":{\"code\":\"0\",\"level\":\"Information\",\"message\":\"Extension Message: Default configuration is in effect.\"}}}}", "isContentBase64": false } } diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/test/New-AzConnectedMachineRunCommand.Recording.json b/src/ConnectedMachine/ConnectedMachine.Autorest/test/New-AzConnectedMachineRunCommand.Recording.json deleted file mode 100644 index 5ba97ee994f8..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/test/New-AzConnectedMachineRunCommand.Recording.json +++ /dev/null @@ -1,171 +0,0 @@ -{ - "New-AzConnectedMachineRunCommand+[NoContext]+Create+$PUT+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine/runCommands/myRunCommand?api-version=2024-05-20-preview+1": { - "Request": { - "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine/runCommands/myRunCommand?api-version=2024-05-20-preview", - "Content": "{\r\n \"location\": \"centraluseuap\",\r\n \"properties\": {\r\n \"source\": {\r\n \"script\": \"Write-Host Hello World!\"\r\n }\r\n }\r\n}", - "isContentBase64": false, - "Headers": { - }, - "ContentHeaders": { - "Content-Type": [ "application/json" ], - "Content-Length": [ "127" ] - } - }, - "Response": { - "StatusCode": 201, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationresults/0139a35a-9055-4514-b802-64cc87585d71?api-version=2024-05-20-preview\u0026t=638623983806494059\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwNjIyMjE1NzIzWhcNMjUwNjE3MjE1NzIzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5t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dZU5hNT74RwV32cg3gLtbUsPK22Kv1gf5KsCUZe9tEsEkyq_bSxaNCWnh3lfmsstE0Jo_zL1O6cPKMMtvD21xFYchjWKjYGr1p5mGiM-OLLi8_ETKkYQTS0_gB7wZOGtsc0pIsvgAnqA-sMNn8Oy953Q4\u0026s=QjTPuqLPlQ6zD3Tf4XlTPqlfKVAV8032bVUr0ONOfD2G7zLLGiog4lBB9ajJmAZJs-sGS0sKPeBNKArLVXQ3iH_Hyb27GhFLORw90HE5GM4rcOSx8cJLvBXOCB06_SH0i13K3rJMozhNG4qfSUx4rcmOCzba_Uikh0BZ4aWaqsV7FxESUd5girvk2FuHguBrMk5QKSDYhhBhkUSTcjLnIM_nnO7kYVBcYIfNvPmY0KQF_s6SlxLRKbAMVqt0xeOMu9m9ahUebTvz1N2Ks8xuYcHHX1_iDndouxVoyxA3h3UtQR-er4FCgwT5EFPW1Vli7Cu0cWzeaF75OJyWIbXW6A\u0026h=TQnN6UXixJtTtfRBdmp0mmxkjsnrMs91vDGFwuXamys" ], - "Retry-After": [ "120" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "319" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-request-id": [ "f0964c34-b5ee-4bde-a808-f0c7a15af52f" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/0139a35a-9055-4514-b802-64cc87585d71?api-version=2024-05-20-preview\u0026t=638623983806337806\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwNjIyMjE1NzIzWhcNMjUwNjE3MjE1NzIzWjBAMT4wPAYDVQQDEzVhc3luY29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Xl_CzdRsvuGKmprgkbrMIS6t5V8ds7REAX8SiE37hqdZU5hNT74RwV32cg3gLtbUsPK22Kv1gf5KsCUZe9tEsEkyq_bSxaNCWnh3lfmsstE0Jo_zL1O6cPKMMtvD21xFYchjWKjYGr1p5mGiM-OLLi8_ETKkYQTS0_gB7wZOGtsc0pIsvgAnqA-sMNn8Oy953Q4\u0026s=AbcxEUP3cpmIv6I3MkdNdYsHOataqcAw7kppqKybVrJtxuJo35z7NbI1nKFWsMukHb36YfVdF8tlQF7RAFgUzCdLzQb-Adwj4mKWNnj9rMhh1aHEcgss3qpyXGxJejjnaG3R3hvP2IopjfRt-xglECdhlJ7wsArA00B5pGK-Npkm1KpqDIYfUNM-WtUzeH2WiYC9--jWcUBUZ08ZoM2m3OnW483GKRLjn-OKMWPjeySFJfqmwRsuX5k65u40kC8JIDD1HkFYfnt3qkvnAGbJUxfR4hQapW-vKtgq5qGXV7c4QKcRNmPi5R42kTLpPxvx6b2DTe7wIiAAfcGGYInykQ\u0026h=YRmU1A5sw43di1RNFAYlLMN7SUnO5rY8iEwUy2NWME8" ], - "x-ms-correlation-request-id": [ "2009b247-e47b-46d0-b93e-493dd2e6db2b" ], - "x-ms-routing-request-id": [ "EASTUS:20240920T030620Z:2009b247-e47b-46d0-b93e-493dd2e6db2b" ], - "X-Content-Type-Options": [ "nosniff" ], - "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: D3BABB9607A14ACB9B465D50984658DA Ref B: MNZ221060610017 Ref C: 2024-09-20T03:06:19Z" ], - "Date": [ "Fri, 20 Sep 2024 03:06:20 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "404" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"myRunCommand\",\"type\":\"Microsoft.HybridCompute/machines/runcommands\",\"location\":\"centraluseuap\",\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine/runcommands/myRunCommand\",\"properties\":{\"source\":{\"script\":\"Write-Host Hello World!\"},\"asyncExecution\":false,\"timeoutInSeconds\":0,\"provisioningState\":\"Creating\"}}", - "isContentBase64": false - } - }, - "New-AzConnectedMachineRunCommand+[NoContext]+Create+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/0139a35a-9055-4514-b802-64cc87585d71?api-version=2024-05-20-preview\u0026t=638623983806337806\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwNjIyMjE1NzIzWhcNMjUwNjE3MjE1NzIzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALhRxgv00I_kIXwCJCxn0QIbiBxztKV5N7VUsmJclkirZBo6v69H49qwFEyTyf6TsDRZiDyUNhhfYpqgthcgDoGvOa0_uYNIt0GINfkDoySgM3HurzdD12Zyaj2woPrEkxHdoetI4nepp_ytiAmF81Z7YZyv05HKxV_WspPeyLBxorHcJ_drtY13Ez5tLDFiX_NnqLjf1oZojfYarEmVhETopjp53RxjVOKKRI4K2YWjs44wk0T2jaYGo5macYriIx3aHAxhN0aCURkqI1nWMC6SkdMrP1wdgAcHD5niTqQC5ql2zaSMLmcGFm50nyqRNylI1LJdmgPwGhN_dGd0E6ECAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwL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GGYInykQ\u0026h=YRmU1A5sw43di1RNFAYlLMN7SUnO5rY8iEwUy2NWME8+2": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/0139a35a-9055-4514-b802-64cc87585d71?api-version=2024-05-20-preview\u0026t=638623983806337806\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwNjIyMjE1NzIzWhcNMjUwNjE3MjE1NzIzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALhRxgv00I_kIXwCJCxn0QIbiBxztKV5N7VUsmJclkirZBo6v69H49qwFEyTyf6TsDRZiDyUNhhfYpqgthcgDoGvOa0_uYNIt0GINfkDoySgM3HurzdD12Zyaj2woPrEkxHdoetI4nepp_ytiAmF81Z7YZyv05HKxV_WspPeyLBxorHcJ_drtY13Ez5tLDFiX_NnqLjf1oZojfYarEmVhETopjp53RxjVOKKRI4K2YWjs44wk0T2jaYGo5macYriIx3aHAxhN0aCURkqI1nWMC6SkdMrP1wdgAcHD5niTqQC5ql2zaSMLmcGFm50nyqRNylI1LJdmgPwGhN_dGd0E6ECAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5M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UwgZIwDAYKKwYBBAGCN3sBATBmBgorBgEEAYI3ewICMFgwVgYIKwYBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwEwDAYKKwYBBAGCN3sEATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADe3mHC76LsKVL9fkhYlwBSfOx_cb-6YFuiqGA60VGCoc_qwfcn9leu0FbnJEquloNzG8tG_ZwhaFVsQ-_we0Vgl03BjC-BOem7ZES6XywaYv4X1vEBc0SNaQ8EQVToFyCD9wf1ZGu5uv4jk-oILXl_CzdRsvuGKmprgkbrMIS6t5V8ds7REAX8SiE37hqdZU5hNT74RwV32cg3gLtbUsPK22Kv1gf5KsCUZe9tEsEkyq_bSxaNCWnh3lfmsstE0Jo_zL1O6cPKMMtvD21xFYchjWKjYGr1p5mGiM-OLLi8_ETKkYQTS0_gB7wZOGtsc0pIsvgAnqA-sMNn8Oy953Q4\u0026s=AbcxEUP3cpmIv6I3MkdNdYsHOataqcAw7kppqKybVrJtxuJo35z7NbI1nKFWsMukHb36YfVdF8tlQF7RAFgUzCdLzQb-Adwj4mKWNnj9rMhh1aHEcgss3qpyXGxJejjnaG3R3hvP2IopjfRt-xglECdhlJ7wsArA00B5pGK-Npkm1KpqDIYfUNM-WtUzeH2WiYC9--jWcUBUZ08ZoM2m3OnW483GKRLjn-OKMWPjeySFJfqmwRsuX5k65u40kC8JIDD1HkFYfnt3qkvnAGbJUxfR4hQapW-vKtgq5qGXV7c4QKcRNmPi5R42kTLpPxvx6b2DTe7wIiAAfcGGYInykQ\u0026h=YRmU1A5sw43di1RNFAYlLMN7SUnO5rY8iEwUy2NWME8", - "Content": null, - "isContentBase64": false, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "2" ], - "x-ms-client-request-id": [ "7cb5f086-7653-4e39-a458-b669b76b4fa7" ], - "CommandName": [ "New-AzConnectedMachineRunCommand" ], - "FullCommandName": [ "New-AzConnectedMachineRunCommand_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.5.0" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationresults/0139a35a-9055-4514-b802-64cc87585d71?api-version=2024-05-20-preview\u0026t=638623985021902260\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwNjIyMjE1NzIzWhcNMjUwNjE3MjE1NzIzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALhRxgv00I_kIXwCJCxn0QIbiBxztKV5N7VUsmJclkirZBo6v69H49qwFEyTyf6TsDRZiDyUNhhfYpqgthcgDoGvOa0_uYNIt0GINfkDoySgM3HurzdD12Zyaj2woPrEkxHdoetI4nepp_ytiAmF81Z7YZyv05HKxV_WspPeyLBxorHcJ_drtY13Ez5tLDFiX_NnqLjf1oZojfYarEmVhETopjp53RxjVOKKRI4K2YWjs44wk0T2jaYGo5macYriIx3aHAxhN0aCURkqI1nWMC6SkdMrP1w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c_Vyuq6zTsosT_iV3IdVsK2-GM7VdSDYPq_wfRADko5I2Qbiv5uQzNt3bfGjLJ-IizzawvmDtJe83wIg-zrmckyJEhIpwnoVFEbswIn-RlxI9tajdR6uWdfCk-KryZbikMn8bgKRV_berjC2BF5bwKBZl5i3XF_w\u0026h=1jXsIjRHIy7ztbU2NnRerx7Niw2dH_H0K2T2jCs2BIM" ], - "Retry-After": [ "15" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-request-id": [ "0741cef6-01f8-45ec-9bf0-7880c871123f" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/0139a35a-9055-4514-b802-64cc87585d71?api-version=2024-05-20-preview\u0026t=638623985021717054\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwNjIyMjE1NzIzWhcNMjUwNjE3MjE1NzIzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALhRxgv00I_kIXwCJCxn0QIbiBxztKV5N7VUsmJclkirZBo6v69H49qwFEyTyf6TsDRZiDyUNhhfYpqgthcgDoGvOa0_uYNIt0GINfkDoySgM3HurzdD12Zyaj2woPrEkxHdoetI4nepp_ytiAmF81Z7YZyv05HKxV_WspPeyLBxorHcJ_drtY13Ez5tLDFiX_NnqLjf1oZojfYarEmVhETopjp53RxjVOKKRI4K2YWjs44wk0T2jaYGo5macYriIx3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XGdEnzg1cQEw68hxPyn9R0667XC4Gffx4HbtwkI0PdFc6QknfQjm9K43Crj5MxF8kLp3bvh4FKkD-V6oj0gnuNRrIuvvDhLmwpE5OzyYPYXj0xdE8jlbN9un20qZaHijiC7Rt7FMAewLEDW07bpEZUXzFjmwtQ19BmTfMvZ4eb8V9641uMaOSZeffgterHJA\u0026h=3IiMmkxS5N-sM2aFN1v2Ec-xNkQqbbyx-G5DWdTfqvA" ], - "x-ms-correlation-request-id": [ "6dae2213-2581-43e2-9642-906733896c58" ], - "x-ms-routing-request-id": [ "EASTUS:20240920T030822Z:6dae2213-2581-43e2-9642-906733896c58" ], - "X-Content-Type-Options": [ "nosniff" ], - "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 3080D7A493364E4C9CF9A332E04481DF Ref B: MNZ221060609035 Ref C: 2024-09-20T03:08:21Z" ], - "Date": [ "Fri, 20 Sep 2024 03:08:21 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "112" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"0139a35a-9055-4514-b802-64cc87585d71\",\"status\":\"InProgress\",\"startTime\":\"2024-09-20T03:06:20.5448907Z\"}", - "isContentBase64": false - } - }, - "New-AzConnectedMachineRunCommand+[NoContext]+Create+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/0139a35a-9055-4514-b802-64cc87585d71?api-version=2024-05-20-preview\u0026t=638623985021717054\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwNjIyMjE1NzIzWhcNMjUwNjE3MjE1NzIzWjBAMT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CD9wf1ZGu5uv4jk-oILXl_CzdRsvuGKmprgkbrMIS6t5V8ds7REAX8SiE37hqdZU5hNT74RwV32cg3gLtbUsPK22Kv1gf5KsCUZe9tEsEkyq_bSxaNCWnh3lfmsstE0Jo_zL1O6cPKMMtvD21xFYchjWKjYGr1p5mGiM-OLLi8_ETKkYQTS0_gB7wZOGtsc0pIsvgAnqA-sMNn8Oy953Q4\u0026s=gg5ILfFcPnjiiLKJauVsUwCt6xCewQtNoQylMkmUjuX3alSuNLJ9fgLQRB9pEtqmShDdIo4ybPOrxLHuHcOTwY76-VPWXdlcz29ZMyhtzeILXnKp0elP8zjJmiwLEOnqptaJcUMrCz8pMilSoWlTTXXGdEnzg1cQEw68hxPyn9R0667XC4Gffx4HbtwkI0PdFc6QknfQjm9K43Crj5MxF8kLp3bvh4FKkD-V6oj0gnuNRrIuvvDhLmwpE5OzyYPYXj0xdE8jlbN9un20qZaHijiC7Rt7FMAewLEDW07bpEZUXzFjmwtQ19BmTfMvZ4eb8V9641uMaOSZeffgterHJA\u0026h=3IiMmkxS5N-sM2aFN1v2Ec-xNkQqbbyx-G5DWdTfqvA+3": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/0139a35a-9055-4514-b802-64cc87585d71?api-version=2024-05-20-preview\u0026t=638623985021717054\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwNjIyMjE1NzIzWhcNMjUwNjE3MjE1NzIzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbT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v1gf5KsCUZe9tEsEkyq_bSxaNCWnh3lfmsstE0Jo_zL1O6cPKMMtvD21xFYchjWKjYGr1p5mGiM-OLLi8_ETKkYQTS0_gB7wZOGtsc0pIsvgAnqA-sMNn8Oy953Q4\u0026s=gg5ILfFcPnjiiLKJauVsUwCt6xCewQtNoQylMkmUjuX3alSuNLJ9fgLQRB9pEtqmShDdIo4ybPOrxLHuHcOTwY76-VPWXdlcz29ZMyhtzeILXnKp0elP8zjJmiwLEOnqptaJcUMrCz8pMilSoWlTTXXGdEnzg1cQEw68hxPyn9R0667XC4Gffx4HbtwkI0PdFc6QknfQjm9K43Crj5MxF8kLp3bvh4FKkD-V6oj0gnuNRrIuvvDhLmwpE5OzyYPYXj0xdE8jlbN9un20qZaHijiC7Rt7FMAewLEDW07bpEZUXzFjmwtQ19BmTfMvZ4eb8V9641uMaOSZeffgterHJA\u0026h=3IiMmkxS5N-sM2aFN1v2Ec-xNkQqbbyx-G5DWdTfqvA", - "Content": null, - "isContentBase64": false, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "3" ], - "x-ms-client-request-id": [ "7cb5f086-7653-4e39-a458-b669b76b4fa7" ], - "CommandName": [ "New-AzConnectedMachineRunCommand" ], - "FullCommandName": [ "New-AzConnectedMachineRunCommand_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.5.0" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-request-id": [ "3aa8da1f-66da-4c9a-92f8-c709e996a9d2" ], - "x-ms-correlation-request-id": [ "6520fbe6-89ac-4696-96f5-b2706787c1d6" ], - "x-ms-routing-request-id": [ "EASTUS:20240920T030837Z:6520fbe6-89ac-4696-96f5-b2706787c1d6" ], - "X-Content-Type-Options": [ "nosniff" ], - "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 6B47E25F5BCD4BC98FEC6CD6735F95F1 Ref B: MNZ221060609035 Ref C: 2024-09-20T03:08:37Z" ], - "Date": [ "Fri, 20 Sep 2024 03:08:37 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "777" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"0139a35a-9055-4514-b802-64cc87585d71\",\"status\":\"Succeeded\",\"startTime\":\"2024-09-20T03:06:20.5448907Z\",\"properties\":{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine/runcommands/myRunCommand\",\"name\":\"myRunCommand\",\"location\":\"centraluseuap\",\"type\":\"Microsoft.HybridCompute/machines/runcommands\",\"properties\":{\"source\":{\"script\":\"Write-Host Hello World!\"},\"asyncExecution\":false,\"timeoutInSeconds\":0,\"provisioningState\":\"Succeeded\",\"instanceView\":{\"exitCode\":0,\"executionState\":\"Succeeded\",\"executionMessage\":\"RunCommand script execution completed\",\"output\":\"Hello World!\",\"error\":\"\",\"startTime\":\"2024-09-20T03:07:19.7240034+00:00\",\"endTime\":\"2024-09-20T03:07:20.0506909+00:00\"}}}}", - "isContentBase64": false - } - }, - "New-AzConnectedMachineRunCommand+[NoContext]+Create+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine/runCommands/myRunCommand?api-version=2024-05-20-preview+4": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine/runCommands/myRunCommand?api-version=2024-05-20-preview", - "Content": null, - "isContentBase64": false, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "4" ], - "x-ms-client-request-id": [ "7cb5f086-7653-4e39-a458-b669b76b4fa7" ], - "CommandName": [ "New-AzConnectedMachineRunCommand" ], - "FullCommandName": [ "New-AzConnectedMachineRunCommand_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.5.0" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-request-id": [ "89889940-c3dd-497e-817f-e88bcfd9e670" ], - "x-ms-correlation-request-id": [ "99c5890b-5044-4f6c-b1e9-ba40b3723f55" ], - "x-ms-routing-request-id": [ "EASTUS:20240920T030838Z:99c5890b-5044-4f6c-b1e9-ba40b3723f55" ], - "X-Content-Type-Options": [ "nosniff" ], - "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 8F04D135EFBC478996FD601309D007DD Ref B: MNZ221060609035 Ref C: 2024-09-20T03:08:37Z" ], - "Date": [ "Fri, 20 Sep 2024 03:08:37 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "652" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"myRunCommand\",\"type\":\"Microsoft.HybridCompute/machines/runcommands\",\"location\":\"centraluseuap\",\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine/runcommands/myRunCommand\",\"properties\":{\"source\":{\"script\":\"Write-Host Hello World!\"},\"asyncExecution\":false,\"timeoutInSeconds\":0,\"provisioningState\":\"Succeeded\",\"instanceView\":{\"exitCode\":0,\"executionState\":\"Succeeded\",\"executionMessage\":\"RunCommand script execution completed\",\"output\":\"Hello World!\",\"error\":\"\",\"startTime\":\"2024-09-20T03:07:19.7240034+00:00\",\"endTime\":\"2024-09-20T03:07:20.0506909+00:00\"}}}", - "isContentBase64": false - } - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/test/New-AzConnectedMachineRunCommand.Tests.ps1 b/src/ConnectedMachine/ConnectedMachine.Autorest/test/New-AzConnectedMachineRunCommand.Tests.ps1 deleted file mode 100644 index 82f13eba95d5..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/test/New-AzConnectedMachineRunCommand.Tests.ps1 +++ /dev/null @@ -1,34 +0,0 @@ -if(($null -eq $TestName) -or ($TestName -contains 'New-AzConnectedMachineRunCommand')) -{ - $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' - if (-Not (Test-Path -Path $loadEnvPath)) { - $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' - } - . ($loadEnvPath) - $TestRecordingFile = Join-Path $PSScriptRoot 'New-AzConnectedMachineRunCommand.Recording.json' - $currentPath = $PSScriptRoot - while(-not $mockingPath) { - $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File - $currentPath = Split-Path -Path $currentPath -Parent - } - . ($mockingPath | Select-Object -First 1).FullName -} - -Describe 'New-AzConnectedMachineRunCommand' { - It 'CreateExpanded' -skip { - { throw [System.NotImplementedException] } | Should -Not -Throw - } - - It 'Create' { - $runCommand = New-AzConnectedMachineRunCommand -ResourceGroupName $env.ResourceGroupName -Location $env.Location -SourceScript $env.Script -RunCommandName $env.RunCommandName -MachineName $env.MachineName -Subscription $env.SubscriptionId - $runCommand.Count | Should -Not -BeNullOrEmpty - } - - It 'CreateViaIdentityExpanded' -skip { - { throw [System.NotImplementedException] } | Should -Not -Throw - } - - It 'CreateViaIdentity' -skip { - { throw [System.NotImplementedException] } | Should -Not -Throw - } -} diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/test/New-AzConnectedPrivateLinkScope.Recording.json b/src/ConnectedMachine/ConnectedMachine.Autorest/test/New-AzConnectedPrivateLinkScope.Recording.json index 2e5d96bdb9f0..b6a23a30ad6b 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/test/New-AzConnectedPrivateLinkScope.Recording.json +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/test/New-AzConnectedPrivateLinkScope.Recording.json @@ -1,15 +1,15 @@ { - "New-AzConnectedPrivateLinkScope+[NoContext]+Create+$PUT+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/privateLinkScopes/myScope3?api-version=2024-05-20-preview+1": { + "New-AzConnectedPrivateLinkScope+[NoContext]+Create+$PUT+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/privateLinkScopes/myScope3?api-version=2024-07-10+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/privateLinkScopes/myScope3?api-version=2024-05-20-preview", - "Content": "{\r\n \"location\": \"westcentralus\",\r\n \"properties\": {\r\n \"publicNetworkAccess\": \"Enabled\"\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/privateLinkScopes/myScope3?api-version=2024-07-10", + "Content": "{\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"publicNetworkAccess\": \"Enabled\"\r\n }\r\n}", "isContentBase64": false, "Headers": { }, "ContentHeaders": { "Content-Type": [ "application/json" ], - "Content-Length": [ "98" ] + "Content-Length": [ "91" ] } }, "Response": { @@ -17,22 +17,23 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "799" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-request-id": [ "64e6be6a-9201-4e27-b1fb-f90ac8354a0d" ], - "x-ms-correlation-request-id": [ "56e37000-8bf9-464e-ab93-21d396a30021" ], - "x-ms-routing-request-id": [ "EASTUS2:20240920T035636Z:56e37000-8bf9-464e-ab93-21d396a30021" ], + "x-ms-request-id": [ "ca7d5d5f-14a0-4cc8-8b96-1d6d59c9d114" ], + "x-ms-ratelimit-remaining-subscription-global-writes": [ "11999" ], + "x-ms-correlation-request-id": [ "94bd83de-4133-4e73-9482-c7f408bc437d" ], + "x-ms-routing-request-id": [ "EASTUS:20241011T181006Z:94bd83de-4133-4e73-9482-c7f408bc437d" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 8C683D81BD9340F38FCCBF8F98619D89 Ref B: MNZ221060610027 Ref C: 2024-09-20T03:56:35Z" ], - "Date": [ "Fri, 20 Sep 2024 03:56:36 GMT" ] + "X-MSEdge-Ref": [ "Ref A: A94B3403D32F4AE88985CFC635F6CCCE Ref B: BL2AA2030101005 Ref C: 2024-10-11T18:10:05Z" ], + "Date": [ "Fri, 11 Oct 2024 18:10:06 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "413" ], + "Content-Length": [ "406" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/privateLinkScopes/myScope3\",\"name\":\"myScope3\",\"type\":\"Microsoft.HybridCompute/privateLinkScopes\",\"location\":\"westcentralus\",\"properties\":{\"privateLinkScopeId\":\"3d3b6265-c0f0-41a2-9154-b8062a3039ae\",\"publicNetworkAccess\":\"Enabled\",\"provisioningState\":\"Succeeded\",\"privateEndpointConnections\":[]}}", + "Content": "{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/privateLinkScopes/myScope3\",\"name\":\"myScope3\",\"type\":\"Microsoft.HybridCompute/privateLinkScopes\",\"location\":\"eastus\",\"properties\":{\"privateLinkScopeId\":\"bd4171de-1fcd-4c30-80df-fc2b96827f1c\",\"publicNetworkAccess\":\"Enabled\",\"provisioningState\":\"Succeeded\",\"privateEndpointConnections\":[]}}", "isContentBase64": false } } diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/test/New-AzConnectedPrivateLinkScope.Tests.ps1 b/src/ConnectedMachine/ConnectedMachine.Autorest/test/New-AzConnectedPrivateLinkScope.Tests.ps1 index 5d4699d72723..d67474bcc17e 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/test/New-AzConnectedPrivateLinkScope.Tests.ps1 +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/test/New-AzConnectedPrivateLinkScope.Tests.ps1 @@ -28,7 +28,7 @@ Describe 'New-AzConnectedPrivateLinkScope' { } It 'Create' { - $all = (New-AzConnectedPrivateLinkScope -ResourceGroupName $env.ResourceGroupName -ScopeName $env.PrivateLinkScopeName -PublicNetworkAccess "Enabled" -Location "westcentralus") + $all = (New-AzConnectedPrivateLinkScope -ResourceGroupName $env.ResourceGroupName -ScopeName $env.PrivateLinkScopeName -PublicNetworkAccess "Enabled" -Location $env.Location) $all | Should -Not -BeNullOrEmpty } diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/test/Remove-AzConnectedLicense.Recording.json b/src/ConnectedMachine/ConnectedMachine.Autorest/test/Remove-AzConnectedLicense.Recording.json index 8b08c4cbfe28..03aac84b0476 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/test/Remove-AzConnectedLicense.Recording.json +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/test/Remove-AzConnectedLicense.Recording.json @@ -1,17 +1,17 @@ { - "Remove-AzConnectedLicense+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/licenses/myEsuLicense?api-version=2024-05-20-preview+1": { + "Remove-AzConnectedLicense+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/licenses/myEsuLicense2?api-version=2024-07-10+1": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/licenses/myEsuLicense?api-version=2024-05-20-preview", + "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/licenses/myEsuLicense2?api-version=2024-07-10", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "1" ], - "x-ms-client-request-id": [ "3476b1a4-42ce-46e5-881b-483f0c18d3b6" ], + "x-ms-unique-id": [ "3" ], + "x-ms-client-request-id": [ "a2588da2-cda7-4782-be2b-6cbc7d074384" ], "CommandName": [ "Remove-AzConnectedLicense" ], "FullCommandName": [ "Remove-AzConnectedLicense_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.5.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -23,14 +23,14 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-request-id": [ "e73ba492-7f30-4f6e-bd75-b7ea4f42bceb" ], + "x-ms-request-id": [ "598fdb0c-11a6-4ca4-9f81-0a123b90f0ef" ], "x-ms-ratelimit-remaining-subscription-deletes": [ "14999" ], - "x-ms-correlation-request-id": [ "b4829a8e-a46b-41a5-9c11-814fad687675" ], - "x-ms-routing-request-id": [ "EASTUS2:20240919T203240Z:b4829a8e-a46b-41a5-9c11-814fad687675" ], + "x-ms-correlation-request-id": [ "e51fd6b2-76d5-418e-a4c7-9b5be65154b0" ], + "x-ms-routing-request-id": [ "EASTUS2:20241003T202508Z:e51fd6b2-76d5-418e-a4c7-9b5be65154b0" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: BB192B99A4024C71A8116535424F7EA7 Ref B: MNZ221060619051 Ref C: 2024-09-19T20:32:38Z" ], - "Date": [ "Thu, 19 Sep 2024 20:32:39 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 568564AA02C54A4D9C4CEF9C0B2A760D Ref B: MNZ221060610047 Ref C: 2024-10-03T20:25:07Z" ], + "Date": [ "Thu, 03 Oct 2024 20:25:08 GMT" ] }, "ContentHeaders": { "Content-Type": [ "application/json" ], diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/test/Remove-AzConnectedMachine.Recording.json b/src/ConnectedMachine/ConnectedMachine.Autorest/test/Remove-AzConnectedMachine.Recording.json index 22eff5669629..44759659b11d 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/test/Remove-AzConnectedMachine.Recording.json +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/test/Remove-AzConnectedMachine.Recording.json @@ -1,17 +1,17 @@ { - "Remove-AzConnectedMachine+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine?api-version=2024-05-20-preview+1": { + "Remove-AzConnectedMachine+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine?api-version=2024-07-10+1": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine?api-version=2024-05-20-preview", + "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine?api-version=2024-07-10", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "1" ], - "x-ms-client-request-id": [ "0fdb1ec7-592e-4cca-b977-d95e17e3ec86" ], + "x-ms-client-request-id": [ "4d036cc2-a7ea-4db9-873b-12756f44cbee" ], "CommandName": [ "Remove-AzConnectedMachine" ], "FullCommandName": [ "Remove-AzConnectedMachine_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.5.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -23,14 +23,14 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-request-id": [ "e3e8358c-f43b-4e99-919c-66cf905ced6f" ], + "x-ms-request-id": [ "f5569efe-b9b5-41ee-b356-86cc1694393f" ], "x-ms-ratelimit-remaining-subscription-deletes": [ "14999" ], - "x-ms-correlation-request-id": [ "e8d7a872-4faf-4dcc-bd5b-f19bb76b0b28" ], - "x-ms-routing-request-id": [ "EASTUS2:20240919T204336Z:e8d7a872-4faf-4dcc-bd5b-f19bb76b0b28" ], + "x-ms-correlation-request-id": [ "4f2cb668-9fde-46e6-9746-efab41266c34" ], + "x-ms-routing-request-id": [ "EASTUS2:20241007T201845Z:4f2cb668-9fde-46e6-9746-efab41266c34" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 45F5FD941F754482A2F7FE01768A5481 Ref B: MNZ221060610011 Ref C: 2024-09-19T20:43:30Z" ], - "Date": [ "Thu, 19 Sep 2024 20:43:35 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 9F4AE7EE092C440E9635394AE7EC897E Ref B: BL2AA2030104003 Ref C: 2024-10-07T20:18:40Z" ], + "Date": [ "Mon, 07 Oct 2024 20:18:44 GMT" ] }, "ContentHeaders": { "Content-Type": [ "application/json" ], diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/test/Remove-AzConnectedMachineExtension.Recording.json b/src/ConnectedMachine/ConnectedMachine.Autorest/test/Remove-AzConnectedMachineExtension.Recording.json index 727bb489410a..c43b8b4d900b 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/test/Remove-AzConnectedMachineExtension.Recording.json +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/test/Remove-AzConnectedMachineExtension.Recording.json @@ -1,17 +1,17 @@ { - "Remove-AzConnectedMachineExtension+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine/extensions/networkWatcher?api-version=2024-05-20-preview+1": { + "Remove-AzConnectedMachineExtension+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine/extensions/networkWatcher?api-version=2024-07-10+1": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine/extensions/networkWatcher?api-version=2024-05-20-preview", + "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine/extensions/networkWatcher?api-version=2024-07-10", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "1" ], - "x-ms-client-request-id": [ "87cf4a6f-1972-4464-8617-edfd37d526ce" ], + "x-ms-client-request-id": [ "b9ab0a74-7091-47c1-a496-654d899b998e" ], "CommandName": [ "Remove-AzConnectedMachineExtension" ], "FullCommandName": [ "Remove-AzConnectedMachineExtension_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.5.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -22,18 +22,18 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationresults/4a68e5dd-4a32-4a27-9fbd-8a918ed9db1f?api-version=2024-05-20-preview\u0026t=638623858893628307\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwNjIyMjE1NzIzWhcNMjUwNjE3MjE1NzIzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZI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EsEkyq_bSxaNCWnh3lfmsstE0Jo_zL1O6cPKMMtvD21xFYchjWKjYGr1p5mGiM-OLLi8_ETKkYQTS0_gB7wZOGtsc0pIsvgAnqA-sMNn8Oy953Q4\u0026s=bYeSyU7dcKQ3SPQPeMZOHfDFgxxZYx1ojLCmboZGzBb0GBt5wC1-x2PyiGlA725wR97igtO0Y52srYDJ4AaoYcUfPpkSKujshZB07jenz5dDkjPKx2lSl3uRLpBeQNH-52ItdoqMzyDW_nlvl3oYrhhlOBNS2cts8QuVVKenDVycWIaS5KEnpPGGdUwbmq0jh0M1qXND9jFgNt2wCQO7UR9-QWcls4VY17HC5-JZh27ZoHho-3IrC76tXM_lNxlpFy0-F5c96ExjWTaTppIL5FNPma6ts4WkJXfWF8MivX0cGwpZIOT5N9wua6zcDLeBZGSY5uVc6-qWhU8QZ53j4Q\u0026h=sMQxprppMoqNjRIW0E5zdhqEu44yZngmv-TuJODFoYE" ], + "Location": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationresults/d6125855-471f-442e-8cad-09e41d1d7e36?api-version=2024-07-10\u0026t=638639288802249175\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwMjMxMTQxWhcNMjUwMzE5MjMxMTQxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKRtcYDBXS7zz5tRtvVyhrUAjudYhej1E2D3dp6XWuPdbVMbQZwMlye8vdT-kDhFD7T2mrdWqsoGnTGk0_xOHBfL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kbEf6RPNGe1W5lma7JwMKAcPzY\u0026s=UK_l6IG4vzHgn0rpotCG11KY0cHHacPZI6J44Vw22Yfmi-crOed-6JG6zoFLnYWAS9E4E061058vS18PK2W9fYLvdvoqa13PUJWyiFS14atcyK24WfYTn52DyFHbtQ3M9h0hyeIrlVLvgIPCgl5NmLZOb342f4iBqJ0j84LGGSR8xk7LqzdV9BPT6Y52e17zaCY-lwLqFQDt_XHQPhRHZESV_SmXSCS1Rw9bPw3XQW5Z0IlRMrqrUkmxPE_9xSpmhVNp2Wx4zbpaccFdPJuDid4TKOPQX0raRBihiO7vvWSOyQy_ZOPX8gnxNElxLSAn6QhjXP3R9v8zu0hMO0DPqA\u0026h=PTn80asf2zideks9681CsnZdCHFlxtare_wQjCrf_-o" ], "Retry-After": [ "15" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-request-id": [ "4a68e5dd-4a32-4a27-9fbd-8a918ed9db1f" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/4a68e5dd-4a32-4a27-9fbd-8a918ed9db1f?api-version=2024-05-20-preview\u0026t=638623858893472072\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwNjIyMjE1NzIzWhcNMjUwNjE3MjE1NzIzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALhRxgv00I_kIXwCJCxn0QIbiBxztKV5N7VUsmJclkirZBo6v69H49qwFEyTyf6Ts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OGtsc0pIsvgAnqA-sMNn8Oy953Q4\u0026s=MyAu8sOQLUJSeLxkKarixxj7XcC2XmpD-1QCIsnHqLSkgQ5jAZrJWVPdgJUCClhL2gRQIK41z-yt1S9iH2KTGssH0a-eGvMiVAlQ1UOLNUpl_SiliJuJa8GvKJOeViYmsPUvUbKY1lrN_2Nz8iAJnLpWf8cjpV6rrIlOFzqmJZmj3MnkzDC0wcPN_NGu3xfR2OMXgP42SWNOW5FCl1fUzHI1e9N6DtXZ8hEUKak5vrJvMwP2UfG3uoJDnjPrV3tK6rBIcLnjfy8d99mgvDo8qjui7d4fM-2VkfY3BSU0zAhHrWRHkeN77W5W4PkumXgrbY8UHfMQOgHjIfjiCKKWUg\u0026h=GHJMzYpl7dnyJW2-kJnBpCCWMMIkL6uh8EN7UeLXNk0" ], + "x-ms-request-id": [ "d6125855-471f-442e-8cad-09e41d1d7e36" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/d6125855-471f-442e-8cad-09e41d1d7e36?api-version=2024-07-10\u0026t=638639288802092929\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwMjMxMTQxWhcNMjUwMzE5MjMxMTQxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKRtcYDBXS7zz5tRtvVyhrUAjudYhej1E2D3dp6XWuPdbVMbQZwMlye8vdT-kDhFD7T2mrdWqsoGnTGk0_xOHBfLGnW-0QRUqpeoTN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ma7JwMKAcPzY\u0026s=QEhxbtQXKxCe8LXi2wEYzQZ6T2yG8-k3gi8NuVVZU2oURhPguf7FIg42vFXyGl7JheF13lxzD6WrUwQ9Gt6EKC74TSKwXK9hc5dU7WfBhgdFlzzCz0cuxWhG_kEh52JrnU5EPetladOZgPWqkuCCwUv-Lfrw6L27OKW53kvOw8fyR7g0nGf7YMbnpLBRvTj95cB18lvnKrLCnnrgFcbn5RvUpBBA5cM_3M98MwJpN3c9wHUiQrsVJX-8A-tsHiB-QyJMRYn5APoQo6TU-7HQzquae26dLS-USi0IouZ-zZMkcahcxX3YMkYSljZ10l9R5hPZ6T_PlxD9e7pyLB5Swg\u0026h=gIClPKxXiosJDUB9XVkON393ClIsT9xDBnLkx1JGI78" ], "x-ms-ratelimit-remaining-subscription-deletes": [ "14999" ], - "x-ms-correlation-request-id": [ "75cff22b-8d89-4a0d-a228-1dfbbfaefb2e" ], - "x-ms-routing-request-id": [ "EASTUS:20240919T233809Z:75cff22b-8d89-4a0d-a228-1dfbbfaefb2e" ], + "x-ms-correlation-request-id": [ "e1f9f652-2dc6-4954-8a8d-ca69d5f3e562" ], + "x-ms-routing-request-id": [ "EASTUS:20241007T201440Z:e1f9f652-2dc6-4954-8a8d-ca69d5f3e562" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 0CE5FD2E25E74F0BBB6DCC4AE77C0FFB Ref B: MNZ221060609047 Ref C: 2024-09-19T23:38:08Z" ], - "Date": [ "Thu, 19 Sep 2024 23:38:08 GMT" ] + "X-MSEdge-Ref": [ "Ref A: DC4A5FDC316A4F09A6727E96C338FB5D Ref B: MNZ221060619025 Ref C: 2024-10-07T20:14:39Z" ], + "Date": [ "Mon, 07 Oct 2024 20:14:40 GMT" ] }, "ContentHeaders": { "Content-Type": [ "application/json" ], @@ -44,20 +44,20 @@ "isContentBase64": false } }, - "Remove-AzConnectedMachineExtension+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/4a68e5dd-4a32-4a27-9fbd-8a918ed9db1f?api-version=2024-05-20-preview\u0026t=638623858893472072\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwNjIyMjE1NzIzWhcNMjUwNjE3MjE1NzIzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALhRxgv00I_kIXwCJCxn0QIbiBxztKV5N7VUsmJclkirZBo6v69H49qwFEyTyf6TsDRZiDyUNhhfYpqgthcgDoGvOa0_uYNIt0GINfkDoySgM3HurzdD12Zyaj2woPrEkxHdoetI4nepp_ytiAmF81Z7YZyv05HKxV_WspPeyLBxorHcJ_drtY13Ez5tLDFiX_NnqLjf1oZojfYarEmVhETopjp53RxjVOKKRI4K2YWjs44wk0T2jaYGo5macYriIx3aHAxhN0aCURkqI1nWMC6SkdMrP1wdgAcHD5niTqQC5ql2zaSMLmcGFm50nyqRNylI1LJdmgPwGhN_dGd0E6ECAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xU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AMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwEwDAYKKwYBBAGCN3sEATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADe3mHC76LsKVL9fkhYlwBSfOx_cb-6YFuiqGA60VGCoc_qwfcn9leu0FbnJEquloNzG8tG_ZwhaFVsQ-_we0Vgl03BjC-BOem7ZES6XywaYv4X1vEBc0SNaQ8EQVToFyCD9wf1ZGu5uv4jk-oILXl_CzdRsvuGKmprgkbrMIS6t5V8ds7REAX8SiE37hqdZU5hNT74RwV32cg3gLtbUsPK22Kv1gf5KsCUZe9tEsEkyq_bSxaNCWnh3lfmsstE0Jo_zL1O6cPKMMtvD21xFYchjWKjYGr1p5mGiM-OLLi8_ETKkYQTS0_gB7wZOGtsc0pIsvgAnqA-sMNn8Oy953Q4\u0026s=MyAu8sOQLUJSeLxkKarixxj7XcC2XmpD-1QCIsnHqLSkgQ5jAZrJWVPdgJUCClhL2gRQIK41z-yt1S9iH2KTGssH0a-eGvMiVAlQ1UOLNUpl_SiliJuJa8GvKJOeViYmsPUvUbKY1lrN_2Nz8iAJnLpWf8cjpV6rrIlOFzqmJZmj3MnkzDC0wcPN_NGu3xfR2OMXgP42SWNOW5FCl1fUzHI1e9N6DtXZ8hEUKak5vrJvMwP2UfG3uoJDnjPrV3tK6rBIcLnjfy8d99mgvDo8qjui7d4fM-2VkfY3BSU0zAhHrWRHkeN77W5W4PkumXgrbY8UHfMQOgHjIfjiCKKWUg\u0026h=GHJMzYpl7dnyJW2-kJnBpCCWMMIkL6uh8EN7UeLXNk0+2": { + "Remove-AzConnectedMachineExtension+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.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AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwEwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAG0WbzLPsmSSMI7aTe2npixmkdCmwcdZHGd43tUnB8JKrLNJEFcBsQmbcIH0adpnQNrDgRkNBBOTZ4s1LIBlRQapZpPsRItAMUguVpGVRH08T0i43w9xrp_clNbAJrrfRbmYroF0WJKMJ0nwW2rPjxdevSRygGK_nEfywwFi-p1RhHnkiEGL4GnP7PpQcRvAYMdH9LO5MRY7iLbBmosKatS_eWtSJD1CvzglNwy_vQzx81Vnk0CgndqXcVq-loGu7R4U7mkQ2NNqLbp447STxkpP-6Mdyv8J4bdnf1s3vFBNpgvJWKogWcNLlo8jnkbEf6RPNGe1W5lma7JwMKAcPzY\u0026s=QEhxbtQXKxCe8LXi2wEYzQZ6T2yG8-k3gi8NuVVZU2oURhPguf7FIg42vFXyGl7JheF13lxzD6WrUwQ9Gt6EKC74TSKwXK9hc5dU7WfBhgdFlzzCz0cuxWhG_kEh52JrnU5EPetladOZgPWqkuCCwUv-Lfrw6L27OKW53kvOw8fyR7g0nGf7YMbnpLBRvTj95cB18lvnKrLCnnrgFcbn5RvUpBBA5cM_3M98MwJpN3c9wHUiQrsVJX-8A-tsHiB-QyJMRYn5APoQo6TU-7HQzquae26dLS-USi0IouZ-zZMkcahcxX3YMkYSljZ10l9R5hPZ6T_PlxD9e7pyLB5Swg\u0026h=gIClPKxXiosJDUB9XVkON393ClIsT9xDBnLkx1JGI78+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/4a68e5dd-4a32-4a27-9fbd-8a918ed9db1f?api-version=2024-05-20-pre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SMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADe3mHC76LsKVL9fkhYlwBSfOx_cb-6YFuiqGA60VGCoc_qwfcn9leu0FbnJEquloNzG8tG_ZwhaFVsQ-_we0Vgl03BjC-BOem7ZES6XywaYv4X1vEBc0SNaQ8EQVToFyCD9wf1ZGu5uv4jk-oILXl_CzdRsvuGKmprgkbrMIS6t5V8ds7REAX8SiE37hqdZU5hNT74RwV32cg3gLtbUsPK22Kv1gf5KsCUZe9tEsEkyq_bSxaNCWnh3lfmsstE0Jo_zL1O6cPKMMtvD21xFYchjWKjYGr1p5mGiM-OLLi8_ETKkYQTS0_gB7wZOGtsc0pIsvgAnqA-sMNn8Oy953Q4\u0026s=MyAu8sOQLUJSeLxkKarixxj7XcC2XmpD-1QCIsnHqLSkgQ5jAZrJWVPdgJUCClhL2gRQIK41z-yt1S9iH2KTGssH0a-eGvMiVAlQ1UOLNUpl_SiliJuJa8GvKJOeViYmsPUvUbKY1lrN_2Nz8iAJnLpWf8cjpV6rrIlOFzqmJZmj3MnkzDC0wcPN_NGu3xfR2OMXgP42SWNOW5FCl1fUzHI1e9N6DtXZ8hEUKak5vrJvMwP2UfG3uoJDnjPrV3tK6rBIcLnjfy8d99mgvDo8qjui7d4fM-2VkfY3BSU0zAhHrWRHkeN77W5W4PkumXgrbY8UHfMQOgHjIfjiCKKWUg\u0026h=GHJMzYpl7dnyJW2-kJnBpCCWMMIkL6uh8EN7UeLXNk0", + "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/d6125855-471f-442e-8cad-09e41d1d7e36?api-version=2024-07-10\u0026t=638639288802092929\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZIm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IKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAG0WbzLPsmSSMI7aTe2npixmkdCmwcdZHGd43tUnB8JKrLNJEFcBsQmbcIH0adpnQNrDgRkNBBOTZ4s1LIBlRQapZpPsRItAMUguVpGVRH08T0i43w9xrp_clNbAJrrfRbmYroF0WJKMJ0nwW2rPjxdevSRygGK_nEfywwFi-p1RhHnkiEGL4GnP7PpQcRvAYMdH9LO5MRY7iLbBmosKatS_eWtSJD1CvzglNwy_vQzx81Vnk0CgndqXcVq-loGu7R4U7mkQ2NNqLbp447STxkpP-6Mdyv8J4bdnf1s3vFBNpgvJWKogWcNLlo8jnkbEf6RPNGe1W5lma7JwMKAcPzY\u0026s=QEhxbtQXKxCe8LXi2wEYzQZ6T2yG8-k3gi8NuVVZU2oURhPguf7FIg42vFXyGl7JheF13lxzD6WrUwQ9Gt6EKC74TSKwXK9hc5dU7WfBhgdFlzzCz0cuxWhG_kEh52JrnU5EPetladOZgPWqkuCCwUv-Lfrw6L27OKW53kvOw8fyR7g0nGf7YMbnpLBRvTj95cB18lvnKrLCnnrgFcbn5RvUpBBA5cM_3M98MwJpN3c9wHUiQrsVJX-8A-tsHiB-QyJMRYn5APoQo6TU-7HQzquae26dLS-USi0IouZ-zZMkcahcxX3YMkYSljZ10l9R5hPZ6T_PlxD9e7pyLB5Swg\u0026h=gIClPKxXiosJDUB9XVkON393ClIsT9xDBnLkx1JGI78", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "2" ], - "x-ms-client-request-id": [ "87cf4a6f-1972-4464-8617-edfd37d526ce" ], + "x-ms-client-request-id": [ "b9ab0a74-7091-47c1-a496-654d899b998e" ], "CommandName": [ "Remove-AzConnectedMachineExtension" ], "FullCommandName": [ "Remove-AzConnectedMachineExtension_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.5.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.1.0" ] }, "ContentHeaders": { } @@ -67,42 +67,42 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationresults/4a68e5dd-4a32-4a27-9fbd-8a918ed9db1f?api-version=2024-05-20-preview\u0026t=638623859047752926\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwNjIyMjE1NzIzWhcNMjUwNjE3MjE1NzIzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALhRxgv00I_kIXwCJCxn0QIbiBxztKV5N7VUsmJclkirZBo6v69H49qwFEyTyf6TsDRZiDyUNhhfYpqgthcgDoGvOa0_uYNIt0GINfkDoySgM3HurzdD12Zyaj2woPrEkxHdoetI4nepp_ytiAmF81Z7YZyv05HKxV_WspPeyLBxorHcJ_drtY13Ez5tLDFiX_NnqLjf1oZojfYarEmVhETopjp53RxjVOKKRI4K2YWjs44wk0T2jaYGo5macYriIx3aHAxhN0aCURkqI1nWMC6SkdMrP1wdgAcHD5niTqQC5ql2zaSMLmcGFm50nyqRNylI1LJdmgPwGhN_dGd0E6ECAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVt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P_o-NAsR0b6unmkJO0CJSaEGrsY" ], + "Location": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationresults/d6125855-471f-442e-8cad-09e41d1d7e36?api-version=2024-07-10\u0026t=638639288955936757\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwMjMxMTQxWhcNMjUwMzE5MjMxMTQxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKRtcYDBXS7zz5tRtvVyhrUAjudYhej1E2D3dp6XWuPdbVMbQZwMlye8vdT-kDhFD7T2mrdWqsoGnTGk0_xOHBfLGnW-0QRUqpeoTNIhu8vc2CfTUtm2t2s_-fzvFtRyhDA4mfCH1cz92EVj0vd3FD4ikW6bdOp1NkYFqUVBhKlbvJk6y-TbLFBLP5Zx4m0Ua-_P7aMzbgvOJgMOTC2jLs5w_lFDJWeP3IKUOiJmrfLpf4ey5Ov94oCE6YncDBSHJZKWcrSxDHgSz9AXrxarL4HLajGbF3MRvfkMN2gNXCoiJXBEqCLDnyQZ0BgXIvuK7vG8Rj0TyhJNj-QPr8taY6UCAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHR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sBATBmBgorBgEEAYI3ewICMFgwVgYIKwYBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwEwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAG0WbzLPsmSSMI7aTe2npixmkdCmwcdZHGd43tUnB8JKrLNJEFcBsQmbcIH0adpnQNrDgRkNBBOTZ4s1LIBlRQapZpPsRItAMUguVpGVRH08T0i43w9xrp_clNbAJrrfRbmYroF0WJKMJ0nwW2rPjxdevSRygGK_nEfywwFi-p1RhHnkiEGL4GnP7PpQcRvAYMdH9LO5MRY7iLbBmosKatS_eWtSJD1CvzglNwy_vQzx81Vnk0CgndqXcVq-loGu7R4U7mkQ2NNqLbp447STxkpP-6Mdyv8J4bdnf1s3vFBNpgvJWKogWcNLlo8jnkbEf6RPNGe1W5lma7JwMKAcPzY\u0026s=n32sir3lwtUNLpcyHccUWTm_AIz7OEOE4onzMh_wD_iOiVK2hviMBDSOLDS_k14Vw0s3WecEJ2G1RqWGbo_bhDCDmGoUpqK3Rjtmr11t8eTIjAelFEFpEn_6N6JtMjkafcj1jD6liEIaP0NLNCowND8lq4gGds_pMARkMakeFt4zEPotwt8eUKkezb6mzMpruCfLqXZgwHy8nXo-kVMuRp57NooQ2yjBbolqURR0Mu7Q3Ex1KjjxUtBoc905Df1TXHLnZhZUMskWECCfIu0ByB3CCUQaGeJCyegVG2qpw8_g0fbahrETA_QCOAk3_tCGWyqDb5PU6HGbFuTs936PtA\u0026h=Tyyzbt-C4oRwMf9Aciobs7XTZakScSz8_vYHfVLO7MI" ], "Retry-After": [ "15" ], "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-request-id": [ "cdbf7ad1-5655-4452-b00c-0868c1665e5a" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/4a68e5dd-4a32-4a27-9fbd-8a918ed9db1f?api-version=2024-05-20-preview\u0026t=638623859047596650\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwNjIyMjE1NzIzWhcNMjUwNjE3MjE1NzIzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALhRxgv00I_kIXwCJCxn0QIbiBxztKV5N7VUsmJclkirZBo6v69H49qwFEyTyf6TsDRZiDyUNhhfYpqgthcgDoGvOa0_uYNIt0GINfkDoySgM3HurzdD12Zyaj2woPrEkxHdoetI4nepp_ytiAmF81Z7YZyv05HKxV_WspPeyLBxorHcJ_drtY13Ez5tLDFiX_NnqLjf1oZojfYarEmVhETopjp53RxjVOKKRI4K2YWjs44wk0T2jaYGo5macYriIx3aHAxhN0aCURkqI1nWMC6SkdMrP1wdgAcHD5niTqQC5ql2zaSMLmcGFm50nyqRNylI1LJdmgPwGhN_dGd0E6ECAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQS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c3-c6dc-493b-894c-9245eb8ac46b" ], - "x-ms-routing-request-id": [ "EASTUS:20240919T233824Z:88cc90c3-c6dc-493b-894c-9245eb8ac46b" ], + "x-ms-request-id": [ "07bfae8c-69c1-46fa-8fb9-c98d64f825db" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/d6125855-471f-442e-8cad-09e41d1d7e36?api-version=2024-07-10\u0026t=638639288955936757\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwMjMxMTQxWhcNMjUwMzE5MjMxMTQxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKRtcYDBXS7zz5tRtvVyhrUAjudYhej1E2D3dp6XWuPdbVMbQZwMlye8vdT-kDhFD7T2mrdWqsoGnTGk0_xOHBfLGnW-0QRUqpeoTNIhu8vc2CfTUtm2t2s_-fzvFtRyhDA4mfCH1cz92EVj0vd3FD4ikW6bdOp1NkYFqUVBhKlbvJk6y-TbLFBLP5Zx4m0Ua-_P7aMzbgvOJgMOTC2jLs5w_lFDJWeP3IKUOiJmrfLpf4ey5Ov94oCE6YncDBSHJZKWcrSxDHgSz9AXrxarL4HLajGbF3MRvfkMN2gNXCoiJXBEqCLDnyQZ0BgXIvuK7vG8Rj0TyhJNj-QPr8taY6UCAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUH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LuxRh_ikCRyvjQYIfazw\u0026h=8gi3giVfytsPtsq6JSHenTvtlL5xgfgoKm6eAbA5w00" ], + "x-ms-correlation-request-id": [ "0d70a596-44b4-4dd1-85c7-defdeb80cc8c" ], + "x-ms-routing-request-id": [ "EASTUS:20241007T201455Z:0d70a596-44b4-4dd1-85c7-defdeb80cc8c" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: AEFBC00E68A04A69A1860569DD963763 Ref B: MNZ221060609047 Ref C: 2024-09-19T23:38:24Z" ], - "Date": [ "Thu, 19 Sep 2024 23:38:24 GMT" ] + "X-MSEdge-Ref": [ "Ref A: E237E9CD048E438D9E3EB704E8D55197 Ref B: MNZ221060619025 Ref C: 2024-10-07T20:14:55Z" ], + "Date": [ "Mon, 07 Oct 2024 20:14:55 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "111" ], + "Content-Length": [ "112" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"4a68e5dd-4a32-4a27-9fbd-8a918ed9db1f\",\"status\":\"InProgress\",\"startTime\":\"2024-09-19T23:38:09.229909Z\"}", + "Content": "{\"name\":\"d6125855-471f-442e-8cad-09e41d1d7e36\",\"status\":\"InProgress\",\"startTime\":\"2024-10-07T20:14:40.1540388Z\"}", "isContentBase64": false } }, - "Remove-AzConnectedMachineExtension+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/4a68e5dd-4a32-4a27-9fbd-8a918ed9db1f?api-version=2024-05-20-preview\u0026t=638623859047596650\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9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nJEquloNzG8tG_ZwhaFVsQ-_we0Vgl03BjC-BOem7ZES6XywaYv4X1vEBc0SNaQ8EQVToFyCD9wf1ZGu5uv4jk-oILXl_CzdRsvuGKmprgkbrMIS6t5V8ds7REAX8SiE37hqdZU5hNT74RwV32cg3gLtbUsPK22Kv1gf5KsCUZe9tEsEkyq_bSxaNCWnh3lfmsstE0Jo_zL1O6cPKMMtvD21xFYchjWKjYGr1p5mGiM-OLLi8_ETKkYQTS0_gB7wZOGtsc0pIsvgAnqA-sMNn8Oy953Q4\u0026s=sR3ZQpm_Yq9eS2fhtGIEJk5tV_ZdYivBcFRphyWB-tNFWxM_mrBVKEiCXWItweWeTEg9vEJVknwhmbj-lFe3EGRe-ipSClfBUYyKNPe6g0giFNudmMKVaSox0KsRRot1670dQWrrTJ10w5PhNumr0N9aTCpJlHPFG2G8Kh0JQF6BS3Kll0weTsvMHvajAmxY-SD2mGakekxyB6S5MQiFej7KYY0nD6-hJl61Wjlf8ej7PT6SjgYQsneqoYrS4Glxpf0hb9bkSJ37_w-8Pi_4h_McJhWSSB12c92Of1CocZyztC6FqStw9g3WXq8sM5vmbQEPTnT4abXCZoV801f1JQ\u0026h=LiOu6pTCjkjp-4CKZOvNfs5jQ93maFboZuxiL7E0jGc+3": { + "Remove-AzConnectedMachineExtension+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/d6125855-471f-442e-8cad-09e41d1d7e36?api-version=2024-07-10\u0026t=638639288955936757\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwMjMxMTQxWhcNMjUwMzE5MjMxMTQxWjBAMT4wPAYDVQQDE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i43w9xrp_clNbAJrrfRbmYroF0WJKMJ0nwW2rPjxdevSRygGK_nEfywwFi-p1RhHnkiEGL4GnP7PpQcRvAYMdH9LO5MRY7iLbBmosKatS_eWtSJD1CvzglNwy_vQzx81Vnk0CgndqXcVq-loGu7R4U7mkQ2NNqLbp447STxkpP-6Mdyv8J4bdnf1s3vFBNpgvJWKogWcNLlo8jnkbEf6RPNGe1W5lma7JwMKAcPzY\u0026s=dJEJvHMVWnctiAh33NNFS3p7QbQpfEo63hBaS-rZGRpp-AT_wW3yJkjN4977AybcKy7Ruf6kSIAhZkVm09BGxKiQAXzTHr6FoDcA-gHIjuuNS8J2Y3Ac9V5WeWtsk1YRJOF2gLhe8zQGqsHJvc62o2fS4ZHUA1_BTS76MCGeHrLp9qF0cSL-ZqYn2Bnb1EcB6Az_1bdEID9xkf1o1-WLKQt33mgAry1qswImXLSO7SFNO2hyiiWbjzUbKPLzSzpgelB4oZ674fFXwZfuSayiYDMLT4wxOGHhmqEJfTjrmpRHQN08MS1XzSUFhcFDGJ-uGZLuxRh_ikCRyvjQYIfazw\u0026h=8gi3giVfytsPtsq6JSHenTvtlL5xgfgoKm6eAbA5w00+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/4a68e5dd-4a32-4a27-9fbd-8a918ed9db1f?api-version=2024-05-20-preview\u0026t=638623859047596650\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwNjIyMjE1NzIzWhcNMjUwNjE3MjE1NzIzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW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U5hNT74RwV32cg3gLtbUsPK22Kv1gf5KsCUZe9tEsEkyq_bSxaNCWnh3lfmsstE0Jo_zL1O6cPKMMtvD21xFYchjWKjYGr1p5mGiM-OLLi8_ETKkYQTS0_gB7wZOGtsc0pIsvgAnqA-sMNn8Oy953Q4\u0026s=sR3ZQpm_Yq9eS2fhtGIEJk5tV_ZdYivBcFRphyWB-tNFWxM_mrBVKEiCXWItweWeTEg9vEJVknwhmbj-lFe3EGRe-ipSClfBUYyKNPe6g0giFNudmMKVaSox0KsRRot1670dQWrrTJ10w5PhNumr0N9aTCpJlHPFG2G8Kh0JQF6BS3Kll0weTsvMHvajAmxY-SD2mGakekxyB6S5MQiFej7KYY0nD6-hJl61Wjlf8ej7PT6SjgYQsneqoYrS4Glxpf0hb9bkSJ37_w-8Pi_4h_McJhWSSB12c92Of1CocZyztC6FqStw9g3WXq8sM5vmbQEPTnT4abXCZoV801f1JQ\u0026h=LiOu6pTCjkjp-4CKZOvNfs5jQ93maFboZuxiL7E0jGc", + "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/d6125855-471f-442e-8cad-09e41d1d7e36?api-version=2024-07-10\u0026t=638639288955936757\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwMjMxMTQxWhcNMjUwMzE5MjMxMTQxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKRtcYDBXS7zz5tRtvVyhrUAjudYhej1E2D3dp6XWuPdbVMb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pP-6Mdyv8J4bdnf1s3vFBNpgvJWKogWcNLlo8jnkbEf6RPNGe1W5lma7JwMKAcPzY\u0026s=dJEJvHMVWnctiAh33NNFS3p7QbQpfEo63hBaS-rZGRpp-AT_wW3yJkjN4977AybcKy7Ruf6kSIAhZkVm09BGxKiQAXzTHr6FoDcA-gHIjuuNS8J2Y3Ac9V5WeWtsk1YRJOF2gLhe8zQGqsHJvc62o2fS4ZHUA1_BTS76MCGeHrLp9qF0cSL-ZqYn2Bnb1EcB6Az_1bdEID9xkf1o1-WLKQt33mgAry1qswImXLSO7SFNO2hyiiWbjzUbKPLzSzpgelB4oZ674fFXwZfuSayiYDMLT4wxOGHhmqEJfTjrmpRHQN08MS1XzSUFhcFDGJ-uGZLuxRh_ikCRyvjQYIfazw\u0026h=8gi3giVfytsPtsq6JSHenTvtlL5xgfgoKm6eAbA5w00", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "3" ], - "x-ms-client-request-id": [ "87cf4a6f-1972-4464-8617-edfd37d526ce" ], + "x-ms-client-request-id": [ "b9ab0a74-7091-47c1-a496-654d899b998e" ], "CommandName": [ "Remove-AzConnectedMachineExtension" ], "FullCommandName": [ "Remove-AzConnectedMachineExtension_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.5.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.1.0" ] }, "ContentHeaders": { } @@ -112,42 +112,42 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationresults/4a68e5dd-4a32-4a27-9fbd-8a918ed9db1f?api-version=2024-05-20-preview\u0026t=638623859202728332\u0026c=MIIHhzCCBm-g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WHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADe3mHC76LsKVL9fkhYlwBSfOx_cb-6YFuiqGA60VGCoc_qwfcn9leu0FbnJEquloNzG8tG_ZwhaFVsQ-_we0Vgl03BjC-BOem7ZES6XywaYv4X1vEBc0SNaQ8EQVToFyCD9wf1ZGu5uv4jk-oILXl_CzdRsvuGKmprgkbrMIS6t5V8ds7REAX8SiE37hqdZU5hNT74RwV32cg3gLtbUsPK22Kv1gf5KsCUZe9tEsEkyq_bSxaNCWnh3lfmsstE0Jo_zL1O6cPKMMtvD21xFYchjWKjYGr1p5mGiM-OLLi8_ETKkYQTS0_gB7wZOGtsc0pIsvgAnqA-sMNn8Oy953Q4\u0026s=adKAANUAT22Kb9NYuu_hhhO979jjaj3SXYZofTo7hoBfvEUavAa9uvB7AX_lX4kxY2jUnLdjiJTrBgI-OCVHDhoiOJs4Klr4T4AUPZyfs0p4lTQZMYUFQ6loFcmPrWEIezKZAnWd9JAjPthHIxsVWB27kRgJbUDFtbyV87MndKv8r1_5QXuCzNU9tlk5u8jWGwPf8fd0FlxaH0NIXzkOjr4jJ38Zdjq-q3-ZZAKvG-2hGDWT4M8-xsncWh0b81zy3PMjqdsCe2xqOlyCXVRtjZB1sqlqNc0M7lW6BmkvCv_C3Ymp1AGTnb9o8xW8FcP9Geyso0RV9WBzZh61l_hF3w\u0026h=zoeC6ByfqxGYira-qainlhUUuA6i27fvHpi7UDRF5BA" ], + "Location": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationresults/d6125855-471f-442e-8cad-09e41d1d7e36?api-version=2024-07-10\u0026t=638639289109276986\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYD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zLPsmSSMI7aTe2npixmkdCmwcdZHGd43tUnB8JKrLNJEFcBsQmbcIH0adpnQNrDgRkNBBOTZ4s1LIBlRQapZpPsRItAMUguVpGVRH08T0i43w9xrp_clNbAJrrfRbmYroF0WJKMJ0nwW2rPjxdevSRygGK_nEfywwFi-p1RhHnkiEGL4GnP7PpQcRvAYMdH9LO5MRY7iLbBmosKatS_eWtSJD1CvzglNwy_vQzx81Vnk0CgndqXcVq-loGu7R4U7mkQ2NNqLbp447STxkpP-6Mdyv8J4bdnf1s3vFBNpgvJWKogWcNLlo8jnkbEf6RPNGe1W5lma7JwMKAcPzY\u0026s=ggXbhAyKdzUXjKFfjLaAWWaquCJpRFgs5tHW0oWhQgGMHSnaaRVvYWji5oJrhjsdUA9PibqYiZGRWQtusSl3-Dx6d44TPDfmF6zcZQDny5DdkW77-_wqtgVMRPOzKeKK-hILA2GXyKrFt7tfb807ahYnIRqGagM5ms7LFGT3XX1nbrb1XxC3a_5joP3VSfgE96nOPcyPvhIdouLCbrIYcdcoi6GwMdqxBeY2QqOHbUwxsY_s-lobLPIkq6N0BCue5lncpjfZGIQNm800xaz9pD-i8BkNHL-C2ZAU_hqYd5YtSFGglWoBM3vIVRuYiEbM-QViNmfG-7c0V-tDs-yyYg\u0026h=BG4dxZSKm1XAlfvvspIr-4eyok7thespSJghGB5wa98" ], "Retry-After": [ "15" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11983" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-request-id": [ "f123cdac-39fa-4dd2-8bde-4332727aa31e" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/4a68e5dd-4a32-4a27-9fbd-8a918ed9db1f?api-version=2024-05-20-preview\u0026t=638623859202728332\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ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UEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADe3mHC76LsKVL9fkhYlwBSfOx_cb-6YFuiqGA60VGCoc_qwfcn9leu0FbnJEquloNzG8tG_ZwhaFVsQ-_we0Vgl03BjC-BOem7ZES6XywaYv4X1vEBc0SNaQ8EQVToFyCD9wf1ZGu5uv4jk-oILXl_CzdRsvuGKmprgkbrMIS6t5V8ds7REAX8SiE37hqdZU5hNT74RwV32cg3gLtbUsPK22Kv1gf5KsCUZe9tEsEkyq_bSxaNCWnh3lfmsstE0Jo_zL1O6cPKMMtvD21xFYchjWKjYGr1p5mGiM-OLLi8_ETKkYQTS0_gB7wZOGtsc0pIsvgAnqA-sMNn8Oy953Q4\u0026s=UmWX9YO6DuTeFZp_DgrfQVd2bhGTRJXwGtVeySl9d8hUWglWvrkpst9LIFLlG0tZBbCCNBFaHg8AhSJwnqI9L4TuC_kIvk340V4UCN2FaYsZSCz86Dgcj7edKl5zAyb21aUZDOZBFHYasKoarYYyT5ccg9fC3wvZJ0O52wVIq-mvA1fhZZz84ZYlzshJHlEbayMsggH3g1eJdKOek7h9sl_r_D1cJE_RZ_BbRU92kp5g6vdrZbEJfqb_t1pZKMr5hKinqMuBT6f6b6XrI3sNPtNaFFJuo6AFHKkCVHNTrbwGNhFA-z9XHLG9zlf07yDk_r-mJDVCAtDyuGgjRaFJXA\u0026h=Su2GsBIuHpWp-QlA6tRtjqT8lLM5xlaB7t01aOB55f0" ], - "x-ms-correlation-request-id": [ "5c266a6a-d4ea-4f08-9d61-5d349351be6b" ], - "x-ms-routing-request-id": [ "EASTUS:20240919T233840Z:5c266a6a-d4ea-4f08-9d61-5d349351be6b" ], + "x-ms-request-id": [ "40ceeb18-43f1-46c5-9943-f6bb396e2628" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/d6125855-471f-442e-8cad-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AMwBkMAwGCisGAQQBgjd7AwEwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAG0WbzLPsmSSMI7aTe2npixmkdCmwcdZHGd43tUnB8JKrLNJEFcBsQmbcIH0adpnQNrDgRkNBBOTZ4s1LIBlRQapZpPsRItAMUguVpGVRH08T0i43w9xrp_clNbAJrrfRbmYroF0WJKMJ0nwW2rPjxdevSRygGK_nEfywwFi-p1RhHnkiEGL4GnP7PpQcRvAYMdH9LO5MRY7iLbBmosKatS_eWtSJD1CvzglNwy_vQzx81Vnk0CgndqXcVq-loGu7R4U7mkQ2NNqLbp447STxkpP-6Mdyv8J4bdnf1s3vFBNpgvJWKogWcNLlo8jnkbEf6RPNGe1W5lma7JwMKAcPzY\u0026s=K_awtaEYNSDeDOBiTady0-TQZLNILpvV1NoCAisRHhq3VqqiQevx9g_0cbFm9vxR9EfO4HkAImzP1PH1jIlr4PNpxaGBlTmdFzCyMqBd2EMOkR496GY6dMCb1xu_4rpt1xBWZLVJ7A7Z-YHQmhDBYLGvoAmz6GJIPSFjV8WkM9z1T_J8gM2zL6-6BtLhjr63QmC7OUtXziiohh-i7J08-HN2BfBqEfRXPQgncIPZ0ml7zyY97Oflw5z95_iAvnbxs5ppqVPZ_xHO8FXrfvknZlsYJeMPLjeiwUcTn3ROQzVFM7BXOuJH_VEEL72XzrE4kkr3TBRPM0cFf2YnuL-r2A\u0026h=HHvZSPYSYqoBvIaAXxY1hRW7MjrqiEDc57OOJrnyw_w" ], + "x-ms-correlation-request-id": [ "c9f33019-8f52-44a6-bcd6-1b1cb2036261" ], + "x-ms-routing-request-id": [ "EASTUS:20241007T201510Z:c9f33019-8f52-44a6-bcd6-1b1cb2036261" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 233F9C2A394A4765ADCDC86D09A5EA4A Ref B: MNZ221060609047 Ref C: 2024-09-19T23:38:39Z" ], - "Date": [ "Thu, 19 Sep 2024 23:38:39 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 373D7561949443A190E020E3CBA207D3 Ref B: MNZ221060619025 Ref C: 2024-10-07T20:15:10Z" ], + "Date": [ "Mon, 07 Oct 2024 20:15:10 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "111" ], + "Content-Length": [ "112" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"4a68e5dd-4a32-4a27-9fbd-8a918ed9db1f\",\"status\":\"InProgress\",\"startTime\":\"2024-09-19T23:38:09.229909Z\"}", + "Content": "{\"name\":\"d6125855-471f-442e-8cad-09e41d1d7e36\",\"status\":\"InProgress\",\"startTime\":\"2024-10-07T20:14:40.1540388Z\"}", "isContentBase64": false } }, - "Remove-AzConnectedMachineExtension+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/4a68e5dd-4a32-4a27-9fbd-8a918ed9db1f?api-version=2024-05-20-preview\u0026t=638623859202728332\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwNjIyMjE1NzIzWhcNMjUwNjE3MjE1NzIzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALhRxgv00I_kIXwCJCxn0QIbiBxztKV5N7VUsmJclkirZBo6v69H49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YQTS0_gB7wZOGtsc0pIsvgAnqA-sMNn8Oy953Q4\u0026s=UmWX9YO6DuTeFZp_DgrfQVd2bhGTRJXwGtVeySl9d8hUWglWvrkpst9LIFLlG0tZBbCCNBFaHg8AhSJwnqI9L4TuC_kIvk340V4UCN2FaYsZSCz86Dgcj7edKl5zAyb21aUZDOZBFHYasKoarYYyT5ccg9fC3wvZJ0O52wVIq-mvA1fhZZz84ZYlzshJHlEbayMsggH3g1eJdKOek7h9sl_r_D1cJE_RZ_BbRU92kp5g6vdrZbEJfqb_t1pZKMr5hKinqMuBT6f6b6XrI3sNPtNaFFJuo6AFHKkCVHNTrbwGNhFA-z9XHLG9zlf07yDk_r-mJDVCAtDyuGgjRaFJXA\u0026h=Su2GsBIuHpWp-QlA6tRtjqT8lLM5xlaB7t01aOB55f0+4": { + "Remove-AzConnectedMachineExtension+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/d6125855-471f-442e-8cad-09e41d1d7e36?api-version=2024-07-10\u0026t=638639289109120751\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwMjMxMTQxWhcNMjUwMzE5MjMxMTQxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKRtcYDBXS7zz5tRtvVyhrUAjudYhej1E2D3dp6XWuPdbVMbQZwMlye8vdT-kDhFD7T2mrdWqsoGnTGk0_xOHBfLGnW-0QRUqpeoTNIhu8vc2CfTUtm2t2s_-f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taEYNSDeDOBiTady0-TQZLNILpvV1NoCAisRHhq3VqqiQevx9g_0cbFm9vxR9EfO4HkAImzP1PH1jIlr4PNpxaGBlTmdFzCyMqBd2EMOkR496GY6dMCb1xu_4rpt1xBWZLVJ7A7Z-YHQmhDBYLGvoAmz6GJIPSFjV8WkM9z1T_J8gM2zL6-6BtLhjr63QmC7OUtXziiohh-i7J08-HN2BfBqEfRXPQgncIPZ0ml7zyY97Oflw5z95_iAvnbxs5ppqVPZ_xHO8FXrfvknZlsYJeMPLjeiwUcTn3ROQzVFM7BXOuJH_VEEL72XzrE4kkr3TBRPM0cFf2YnuL-r2A\u0026h=HHvZSPYSYqoBvIaAXxY1hRW7MjrqiEDc57OOJrnyw_w+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/4a68e5dd-4a32-4a27-9fbd-8a918ed9db1f?api-version=2024-05-20-preview\u0026t=638623859202728332\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwNjIyMjE1NzIzWhcNMjUwNjE3MjE1NzIzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALhRxgv00I_kIXwCJCxn0QIbiBxztKV5N7VUsmJclkirZBo6v69H49qwFEyTyf6TsDRZiDyUNhhfYpqgthcgDoGvOa0_uYNIt0GINfkDoySgM3HurzdD12Zyaj2woPrEkxHdoetI4nepp_ytiAmF81Z7YZyv05HKxV_WspPeyLBxorHcJ_drtY13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JwnqI9L4TuC_kIvk340V4UCN2FaYsZSCz86Dgcj7edKl5zAyb21aUZDOZBFHYasKoarYYyT5ccg9fC3wvZJ0O52wVIq-mvA1fhZZz84ZYlzshJHlEbayMsggH3g1eJdKOek7h9sl_r_D1cJE_RZ_BbRU92kp5g6vdrZbEJfqb_t1pZKMr5hKinqMuBT6f6b6XrI3sNPtNaFFJuo6AFHKkCVHNTrbwGNhFA-z9XHLG9zlf07yDk_r-mJDVCAtDyuGgjRaFJXA\u0026h=Su2GsBIuHpWp-QlA6tRtjqT8lLM5xlaB7t01aOB55f0", + "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/d6125855-471f-442e-8cad-09e41d1d7e36?api-version=2024-07-10\u0026t=638639289109120751\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwMjMxMTQxWhcNMjUwMzE5MjMxMTQxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKRtcYDBXS7zz5tRtvVyhrUAjudYhej1E2D3dp6XWuPdbVMbQZwMlye8vdT-kDhFD7T2mrdWqsoGnTGk0_xOHBfLGnW-0QRUqpeoTNIhu8vc2CfTUtm2t2s_-fzvFtRyhDA4mfCH1cz92EVj0vd3FD4ikW6bdOp1NkYFqUVBhKlbvJk6y-TbLFBLP5Zx4m0Ua-_P7aMzbgvOJgMOTC2jLs5w_lFDJWeP3IKUOiJmrfLpf4ey5Ov94oCE6YncDBSHJZKWcrSxDHgSz9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JIPSFjV8WkM9z1T_J8gM2zL6-6BtLhjr63QmC7OUtXziiohh-i7J08-HN2BfBqEfRXPQgncIPZ0ml7zyY97Oflw5z95_iAvnbxs5ppqVPZ_xHO8FXrfvknZlsYJeMPLjeiwUcTn3ROQzVFM7BXOuJH_VEEL72XzrE4kkr3TBRPM0cFf2YnuL-r2A\u0026h=HHvZSPYSYqoBvIaAXxY1hRW7MjrqiEDc57OOJrnyw_w", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "4" ], - "x-ms-client-request-id": [ "87cf4a6f-1972-4464-8617-edfd37d526ce" ], + "x-ms-client-request-id": [ "b9ab0a74-7091-47c1-a496-654d899b998e" ], "CommandName": [ "Remove-AzConnectedMachineExtension" ], "FullCommandName": [ "Remove-AzConnectedMachineExtension_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.5.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.1.0" ] }, "ContentHeaders": { } @@ -157,42 +157,42 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationresults/4a68e5dd-4a32-4a27-9fbd-8a918ed9db1f?api-version=2024-05-20-preview\u0026t=638623859356886627\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwNjIyMjE1NzIzWhcNMjUwNjE3MjE1NzIzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ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gkbrMIS6t5V8ds7REAX8SiE37hqdZU5hNT74RwV32cg3gLtbUsPK22Kv1gf5KsCUZe9tEsEkyq_bSxaNCWnh3lfmsstE0Jo_zL1O6cPKMMtvD21xFYchjWKjYGr1p5mGiM-OLLi8_ETKkYQTS0_gB7wZOGtsc0pIsvgAnqA-sMNn8Oy953Q4\u0026s=S_6Nq879ucBU1htpAk9fDNhOzmeXW4sgoeXhqLwe2aPXnFAs9N3qaVe-GRIM4xR8GbZIrFLbKUgT_eF-8wDtmV5jyqjAIe9xe4mNcxRfJBcMlXkkhyt4yCQB7cOyv3g00CbJOJrigAGI_1QtsFMymJOK8aV3zwaVw_0j9y66qdN9Zdlh_uCRRVq1zoOHPiIFe69FuREIhvK8tEAnHEnpHGMcdEP1D2q2evy4xl_ZlwR1SPonA6LX3IN2XHQjIutfL8PxrEN8KHInFhwmDU1ZRISTtUOCj730jtYkH0w3XgcjkQlYEZjrosSNLnSLGFFavEsqp5IGGKgIn40pYb_zXw\u0026h=FbvVD2x35OJa7LTN7KmEZdGZvOWdRkfGi-f3XfegH3I" ], + "Location": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationresults/d6125855-471f-442e-8cad-09e41d1d7e36?api-version=2024-07-10\u0026t=638639289262485388\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwMjMxMTQxWhcNMjUwMzE5MjMxMTQxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKRtcYDBXS7z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k0CgndqXcVq-loGu7R4U7mkQ2NNqLbp447STxkpP-6Mdyv8J4bdnf1s3vFBNpgvJWKogWcNLlo8jnkbEf6RPNGe1W5lma7JwMKAcPzY\u0026s=IteugnK_zCxHLjcQrj_FDRJbX4_gpVinUfYx0ACLdqJGZVGi-0HF-8ay912uBtfE9TO03WTMRuhX9US7V3aKq2VR8xZXF5HItuX_Po6MvtKEFEq4MPBpFwWwmA8uFjIMPGpaQzfwjpQn-iBZJEy4gg6Fxqweby8JToapv4gKPebEEZmh9nJogN41xZX6Y4drxQcGjPUEUFk6j66yq_t_39UqDRJ8U9K_CAsKP9muZULvdYZfqjqSitU0erxN44TOcI48OUs410erwy3hmXyUDZ-i3OHH1Kr4vhzxY80o1KUEleVe1mkz5d3AjPwYxu_aixUFNWUziAahEj9-c3uHIQ\u0026h=D-7qEoSoO80moun_-6g6xQgD0D907mTM-kr5uEwrj2w" ], "Retry-After": [ "15" ], "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-request-id": [ "54dada19-8dc4-4b2a-8883-247876fbed8e" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/4a68e5dd-4a32-4a27-9fbd-8a918ed9db1f?api-version=2024-05-20-preview\u0026t=638623859356886627\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwNjIyMjE1NzIzWhcNMjUwNjE3MjE1NzIzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvb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kv1gf5KsCUZe9tEsEkyq_bSxaNCWnh3lfmsstE0Jo_zL1O6cPKMMtvD21xFYchjWKjYGr1p5mGiM-OLLi8_ETKkYQTS0_gB7wZOGtsc0pIsvgAnqA-sMNn8Oy953Q4\u0026s=qZtD2nDbnN5pwjlHvwIOhHB46rdvYUd1YfWy100rrOhPs2lOCtjjtznJNK1EyO14R8DPAsEshZYZLdQvRZj1oMSJOLSRpgx5GYEA_LhGsy1UNT3ZZAdrpGoRlCjth9OqB7-ttqP6czqFEnM4bKFT1a8CmeShAWvvDvAMTlmmoelHdN35yn_2AuYq1dGrMcmAk6ih7Kp07Va0-rapWMPhXZcvtOm9CSdVCO38BI4vhRy7OoNTBanjllprV0M1defP0OzEZqVnEx_lI5rfyM4GcqqNkHgru99zoVxXtoeMBdVYWMBzfO5bIZLyk-t3bJc-gEp_NxepAAUy3DE46-E5Gw\u0026h=xknrOVayqYC9Ob5WTv63NAw9jzuwI4uqjnv4kIvR-Bg" ], - "x-ms-correlation-request-id": [ "cbb472bf-54f7-41de-8100-25cd34082f33" ], - "x-ms-routing-request-id": [ "EASTUS:20240919T233855Z:cbb472bf-54f7-41de-8100-25cd34082f33" ], + "x-ms-request-id": [ "9473a4a1-006c-4038-8b4e-98bfc49a8b7c" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/d6125855-471f-442e-8cad-09e41d1d7e36?api-version=2024-07-10\u0026t=638639289262329075\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwMjMxMTQxWhcNMjUwMzE5MjMxMTQxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlv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bmYroF0WJKMJ0nwW2rPjxdevSRygGK_nEfywwFi-p1RhHnkiEGL4GnP7PpQcRvAYMdH9LO5MRY7iLbBmosKatS_eWtSJD1CvzglNwy_vQzx81Vnk0CgndqXcVq-loGu7R4U7mkQ2NNqLbp447STxkpP-6Mdyv8J4bdnf1s3vFBNpgvJWKogWcNLlo8jnkbEf6RPNGe1W5lma7JwMKAcPzY\u0026s=Wi1z9AsIhAtZVfFG63Wm8ll_-ypPlCEij3w1TCPPOKqusyiafHUx0NShay-hvpnKuEkraQ-Cm68Cl0pJr6jMEe0yGsGnWXZWXD8rxYDeED-Bh84AS4m3MVwfAHrvYVy7olIkaO0RpX1Cg7S_4pD5_5FyHrvQ9n0LDFxJqGJWWt7UhXMqrv_r2WdAcM6NFGspHEw7cayJqGK_Grs8MKPdTTEEqrSv5YxOqgW3Q1sX7wplkD15ZrvrFycjJvkOvG8x_exTfuJAZaUm-m0m7mHLzOzca7vDqq8okFWZK94tM8PLRJCXFIjftMrYtB0xnovOKODSyMkPBBbUEy69NxvEig\u0026h=JhiVAtWPFogTgTLO6ZKRGppkLj99Xw50MmzI-MZxEp4" ], + "x-ms-correlation-request-id": [ "50cf4cee-f92d-4cbf-8033-41548549c1b2" ], + "x-ms-routing-request-id": [ "EASTUS:20241007T201526Z:50cf4cee-f92d-4cbf-8033-41548549c1b2" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 87FF3F3FCBCD4EFDB0B8C7C0872B28C6 Ref B: MNZ221060609047 Ref C: 2024-09-19T23:38:55Z" ], - "Date": [ "Thu, 19 Sep 2024 23:38:55 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 0D40DF24020F42CEA5A994A2FEF5D432 Ref B: MNZ221060619025 Ref C: 2024-10-07T20:15:26Z" ], + "Date": [ "Mon, 07 Oct 2024 20:15:26 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "111" ], + "Content-Length": [ "112" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"4a68e5dd-4a32-4a27-9fbd-8a918ed9db1f\",\"status\":\"InProgress\",\"startTime\":\"2024-09-19T23:38:09.229909Z\"}", + "Content": "{\"name\":\"d6125855-471f-442e-8cad-09e41d1d7e36\",\"status\":\"InProgress\",\"startTime\":\"2024-10-07T20:14:40.1540388Z\"}", "isContentBase64": false } }, - "Remove-AzConnectedMachineExtension+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/4a68e5dd-4a32-4a27-9fbd-8a918ed9db1f?api-version=2024-05-20-preview\u0026t=638623859356886627\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwNjIyMjE1NzIzWhcNMjUwNjE3MjE1NzIzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALhRxgv00I_kIXwCJCxn0QIbiBxztKV5N7VUsmJclkirZBo6v69H49qwFEyTyf6TsDRZiDyUNhhfYpqgthcgDoGvOa0_uYNIt0GINfkDoySgM3HurzdD12Zyaj2woPrEkxHdoetI4nepp_ytiAmF81Z7YZyv05HKxV_WspPeyLBxorHcJ_drtY13Ez5tLDFiX_NnqLjf1oZojfYarEmVhETopjp53RxjVOKKRI4K2YWjs44wk0T2jaYGo5macYriIx3aHAxhN0aCURkqI1nWMC6SkdMrP1wdgAcHD5niTqQC5ql2zaSMLmcGFm50nyqRNylI1LJdmgPwGhN_dG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BI4vhRy7OoNTBanjllprV0M1defP0OzEZqVnEx_lI5rfyM4GcqqNkHgru99zoVxXtoeMBdVYWMBzfO5bIZLyk-t3bJc-gEp_NxepAAUy3DE46-E5Gw\u0026h=xknrOVayqYC9Ob5WTv63NAw9jzuwI4uqjnv4kIvR-Bg+5": { + "Remove-AzConnectedMachineExtension+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/d6125855-471f-442e-8cad-09e41d1d7e36?api-version=2024-07-10\u0026t=638639289262329075\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwMjMxMTQxWhcNMjUwMzE5MjMxMTQxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKRtcYDBXS7zz5tRtvVyhrUAjudYhej1E2D3dp6XWuPdbVMbQZwMlye8vdT-kDhFD7T2mrdWqsoGnTGk0_xOHBfLGnW-0QRUqpeoTNIhu8vc2CfTUtm2t2s_-fzvFtRyhDA4mfCH1cz92EVj0vd3FD4ikW6bdOp1NkYFqUVBhKlbvJk6y-TbLFBLP5Zx4m0Ua-_P7aMzbgvOJgMOTC2jLs5w_lFDJWeP3IKUOiJmrfLpf4ey5Ov94oCE6YncDBSHJZKWcrSxDHgSz9AXrxarL4HLajGbF3MRvfkMN2gNXCoiJXBEqCLDnyQZ0BgXIvuK7vG8Rj0TyhJNj-QPr8taY6UCAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIK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LzOzca7vDqq8okFWZK94tM8PLRJCXFIjftMrYtB0xnovOKODSyMkPBBbUEy69NxvEig\u0026h=JhiVAtWPFogTgTLO6ZKRGppkLj99Xw50MmzI-MZxEp4+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/4a68e5dd-4a32-4a27-9fbd-8a918ed9db1f?api-version=2024-05-20-preview\u0026t=638623859356886627\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwNjIyMjE1NzIzWhcNMjUwNjE3MjE1NzIzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALhRxgv00I_kIXwCJCxn0QIbiBxztKV5N7VUsmJclkirZBo6v69H49qwFEyTyf6TsDRZiDyUNhhfYpqgthcgDoGvOa0_uYNIt0GINfkDoySgM3HurzdD12Zyaj2woPrEkxHdoetI4nepp_ytiAmF81Z7YZyv05HKxV_WspPeyLBxorHcJ_drtY13Ez5tLDFiX_NnqLjf1oZojfYarEmVhETopjp53RxjVOKKRI4K2YWjs44wk0T2jaYGo5macYriIx3aHAxhN0aCURkqI1nWMC6SkdMrP1wdgAcHD5niTqQC5ql2zaSMLmcGFm50nyqRNylI1LJdmgPwGhN_dGd0E6ECAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8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WTv63NAw9jzuwI4uqjnv4kIvR-Bg", + "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/d6125855-471f-442e-8cad-09e41d1d7e36?api-version=2024-07-10\u0026t=638639289262329075\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwMjMxMTQxWhcNMjUwMzE5MjMxMTQxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKRtcYDBXS7zz5tRtvVyhrUAjudYhej1E2D3dp6XWuPdbVMbQZwMlye8vdT-kDhFD7T2mrdWqsoGnTGk0_xOHBfLGnW-0QRUqpeoTNIhu8vc2CfTUtm2t2s_-fzvFtRyhDA4mfCH1cz92EVj0vd3FD4ikW6bdOp1NkYFqUVBhKlbvJk6y-TbLFBLP5Zx4m0Ua-_P7aMzbgvOJgMOTC2jLs5w_lFDJWeP3IKUOiJmrfLpf4ey5Ov94oCE6YncDBSHJZKWcrSxDHgSz9AXrxarL4HLajGbF3MRvfkMN2gNXCoiJXBEqCLDnyQZ0BgXIvuK7vG8Rj0TyhJNj-QPr8taY6UCAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldod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N3sBATBmBgorBgEEAYI3ewICMFgwVgYIKwYBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwEwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAG0WbzLPsmSSMI7aTe2npixmkdCmwcdZHGd43tUnB8JKrLNJEFcBsQmbcIH0adpnQNrDgRkNBBOTZ4s1LIBlRQapZpPsRItAMUguVpGVRH08T0i43w9xrp_clNbAJrrfRbmYroF0WJKMJ0nwW2rPjxdevSRygGK_nEfywwFi-p1RhHnkiEGL4GnP7PpQcRvAYMdH9LO5MRY7iLbBmosKatS_eWtSJD1CvzglNwy_vQzx81Vnk0CgndqXcVq-loGu7R4U7mkQ2NNqLbp447STxkpP-6Mdyv8J4bdnf1s3vFBNpgvJWKogWcNLlo8jnkbEf6RPNGe1W5lma7JwMKAcPzY\u0026s=Wi1z9AsIhAtZVfFG63Wm8ll_-ypPlCEij3w1TCPPOKqusyiafHUx0NShay-hvpnKuEkraQ-Cm68Cl0pJr6jMEe0yGsGnWXZWXD8rxYDeED-Bh84AS4m3MVwfAHrvYVy7olIkaO0RpX1Cg7S_4pD5_5FyHrvQ9n0LDFxJqGJWWt7UhXMqrv_r2WdAcM6NFGspHEw7cayJqGK_Grs8MKPdTTEEqrSv5YxOqgW3Q1sX7wplkD15ZrvrFycjJvkOvG8x_exTfuJAZaUm-m0m7mHLzOzca7vDqq8okFWZK94tM8PLRJCXFIjftMrYtB0xnovOKODSyMkPBBbUEy69NxvEig\u0026h=JhiVAtWPFogTgTLO6ZKRGppkLj99Xw50MmzI-MZxEp4", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "5" ], - "x-ms-client-request-id": [ "87cf4a6f-1972-4464-8617-edfd37d526ce" ], + "x-ms-client-request-id": [ "b9ab0a74-7091-47c1-a496-654d899b998e" ], "CommandName": [ "Remove-AzConnectedMachineExtension" ], "FullCommandName": [ "Remove-AzConnectedMachineExtension_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.5.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.1.0" ] }, "ContentHeaders": { } @@ -202,42 +202,42 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationresults/4a68e5dd-4a32-4a27-9fbd-8a918ed9db1f?api-version=2024-05-20-preview\u0026t=638623859511736610\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwNjIyMjE1NzIzWhcNMjUwNjE3MjE1NzIzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALhRxgv00I_kIXwCJCxn0QIbiBxztKV5N7VUsmJclkirZBo6v69H49qwFEyTyf6TsDRZiDyUNhhfYpqgthcgDoGvOa0_uYNIt0GINfkDoySgM3HurzdD12Zyaj2woPrEkxHdoetI4nepp_ytiAmF81Z7YZyv05HKxV_WspPeyLBxorHcJ_drtY13Ez5tLDFiX_NnqLjf1o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n7JFP8HNGFfLZiVAurpt4NMTdrMkHzJpLFwUE3E8zZJjQ-1cCuYkcdHHyjvzltGDhWO7P0D2l75Z4-X4UieftswsJUabjWiOzJZqCv0MoFBZXyISiKpIbfKIHRMpELXtpRUsM0FOnryRDgMR9EZRyRYYgL7XjkAmTZowQScQmpO3MURkydIXKjyBo2CHkrbQgxdMsP9wG6r4kZFZoGFQQ3hIb3bf-BnwrJn7eR29khrHAUgtw\u0026h=UKFMo7UyMBJEHRt071DRi_IWWqs1-H_t0Q7M1vOCVlA" ], + "Location": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationresults/d6125855-471f-442e-8cad-09e41d1d7e36?api-version=2024-07-10\u0026t=638639289416452941\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwMjMxMTQxWhcNMjUwMzE5MjMxMTQxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKRtcYDBXS7zz5tRtvVyhrUAjudYhej1E2D3dp6XWuPdbVMbQZwMlye8vdT-kDhFD7T2mrdWqsoGnTGk0_xOHBfLGnW-0QRUqpeoTNIhu8vc2CfTUtm2t2s_-fzvFtRyhDA4mfCH1cz92EVj0vd3FD4ikW6bdOp1NkYFqUVBhKlbvJk6y-TbLFBLP5Zx4m0Ua-_P7aMzbgvOJgMOTC2jLs5w_lFDJWeP3IKUOiJmrfLpf4ey5Ov94oCE6YncDBSHJZKWcrSxDHgSz9AXrxarL4HLajGbF3MRvfkMN2g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4gh9fa35aZe1XA5G3xRlcwNdPwzY4kWc6DL_fbVh2_Z_hpqzor656VANsHL4YzU7_F0pF7cYOyKMVrFbaYvmWFxWSxPVxeMwMsuQuDy_YlQQe8F-f1kkuXdWj2eKlYZfohA-f5BnGxQMQaWhKAPVX9Qf8vHV4XA\u0026h=63UzfGWcE77OWei9c_QvVPvpOSq47CAH-m-78gSLPwU" ], "Retry-After": [ "15" ], "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-request-id": [ "46fd130b-bac9-4a73-adce-443c25986f37" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/4a68e5dd-4a32-4a27-9fbd-8a918ed9db1f?api-version=2024-05-20-preview\u0026t=638623859511574885\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwNjIyMjE1NzIzWhcNMjUwNjE3MjE1NzIzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALhRxgv00I_kIXwCJCxn0QIbiBxztKV5N7VUsmJclkirZBo6v69H49qwFEyTyf6TsDRZiDyUNhhfYpqgthcgDoGvOa0_uYNIt0GINfkDoySgM3HurzdD12Zyaj2woPrEkxHdoetI4nepp_ytiAmF81Z7YZyv05HKxV_WspPeyLBxorHcJ_drtY13Ez5tLDFiX_NnqLjf1oZojfYarEmVhETopjp53RxjVOKKRI4K2YWjs44wk0T2jaYGo5macY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pvEeWvyEobwY6SU6vJB6uprqxI_BhTzNRWnlxOFNbU-_7O8F9laOBSONh7njU6l6m1WEuiKAnwPGcBlV24vpe1ylbiUoJcnwbLP5kv7fHm2oQ0LMVEcNOLtW-F8rgXCysHtE1T0pQKtf13T44kgjBqTTiNuAe2jJILwrvI6M1c6l4ytXXepzduiTvzodZSPpjH1xJK2g\u0026h=WctGcJ3tQUh2s6K5_VB_9XOjYkHjm7Grtx7Ck7Kgypg" ], - "x-ms-correlation-request-id": [ "43f11989-9acf-406f-b636-475a737dc3ff" ], - "x-ms-routing-request-id": [ "EASTUS:20240919T233911Z:43f11989-9acf-406f-b636-475a737dc3ff" ], + "x-ms-request-id": [ "ec230507-76d2-4b98-bbbf-545c3d73a246" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/d6125855-471f-442e-8cad-09e41d1d7e36?api-version=2024-07-10\u0026t=638639289416140405\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwMjMxMTQxWhcNMjUwMzE5MjMxMTQxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKRtcYDBXS7zz5tRtvVyhrUAjudYhej1E2D3dp6XWuPdbVMbQZwMlye8vdT-kDhFD7T2mrdWqsoGnTGk0_xOHBfLGnW-0QRUqpeoTNIhu8vc2CfTUtm2t2s_-fzvFtRyhDA4mfCH1cz92EVj0vd3FD4ikW6bdOp1NkYFqUVBhKlbvJk6y-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3GkYVDh1-nv-pZzVEfUgYvIKoiM4H9fzybNKGzDvTW2jssogtKQWgEvRptuwL5iQyVB0MVhxCVToq3q1NndyVqGPMWGZogfDtyQekeQ8Fktub7eoslM-tnv3XT3zAr_1cl_f2tRF8gUAEisu0JfVrqUZB8Rap8CKBb5_65RgIUhxERbZFqBxq848DhOYXgPsk4A6HOkmZo03-Qvi3BB0y2O0larHVusxSROCQVV2xuOjcP9VWDY9W255VLNQgteRdkfbAeJR1n5q9TpniKZ8pWA\u0026h=8CH1jeLCtgofLwANp7aCd15-oe5yrwhpHuQgoTHYmrA" ], + "x-ms-correlation-request-id": [ "135ca51c-24e8-4ade-bde0-13c26bc77ee6" ], + "x-ms-routing-request-id": [ "EASTUS:20241007T201541Z:135ca51c-24e8-4ade-bde0-13c26bc77ee6" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 4C7A066B351C42C6A5A25EB9937FC3ED Ref B: MNZ221060609047 Ref C: 2024-09-19T23:39:10Z" ], - "Date": [ "Thu, 19 Sep 2024 23:39:10 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 10D9116512434701BB79AF67193E1D24 Ref B: MNZ221060619025 Ref C: 2024-10-07T20:15:41Z" ], + "Date": [ "Mon, 07 Oct 2024 20:15:41 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "111" ], + "Content-Length": [ "112" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"4a68e5dd-4a32-4a27-9fbd-8a918ed9db1f\",\"status\":\"InProgress\",\"startTime\":\"2024-09-19T23:38:09.229909Z\"}", + "Content": "{\"name\":\"d6125855-471f-442e-8cad-09e41d1d7e36\",\"status\":\"InProgress\",\"startTime\":\"2024-10-07T20:14:40.1540388Z\"}", "isContentBase64": false } }, - "Remove-AzConnectedMachineExtension+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/4a68e5dd-4a32-4a27-9fbd-8a918ed9db1f?api-version=2024-05-20-preview\u0026t=638623859511574885\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwNjIyMjE1NzIzWhcNMjUwNjE3MjE1NzIzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALhRxgv00I_kIXwCJCxn0QIbiBxztKV5N7VUsmJclkirZBo6v69H49qwFEyTyf6TsDRZiDyUNhhfYpqgthcgDoGvOa0_uYNIt0GINfkDoySgM3HurzdD12Zyaj2woPrEkxHdoetI4nepp_ytiAmF81Z7YZyv05HKxV_WspPeyLBxorHcJ_drtY13Ez5tLDFiX_NnqLjf1oZojfYarEmVhETopjp53RxjVOKKRI4K2YWjs44wk0T2jaYGo5macYriIx3aHAxhN0aCURkqI1nWMC6SkdMrP1wdgAcHD5niTqQC5ql2zaSMLmcGFm50nyqRNylI1LJdmgPwGhN_dGd0E6ECAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRS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AOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwEwDAYKKwYBBAGCN3sEATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADe3mHC76LsKVL9fkhYlwBSfOx_cb-6YFuiqGA60VGCoc_qwfcn9leu0FbnJEquloNzG8tG_ZwhaFVsQ-_we0Vgl03BjC-BOem7ZES6XywaYv4X1vEBc0SNaQ8EQVToFyCD9wf1ZGu5uv4jk-oILXl_CzdRsvuGKmprgkbrMIS6t5V8ds7REAX8SiE37hqdZU5hNT74RwV32cg3gLtbUsPK22Kv1gf5KsCUZe9tEsEkyq_bSxaNCWnh3lfmsstE0Jo_zL1O6cPKMMtvD21xFYchjWKjYGr1p5mGiM-OLLi8_ETKkYQTS0_gB7wZOGtsc0pIsvgAnqA-sMNn8Oy953Q4\u0026s=edX6SXJsKT0xu0Yez8H-W_ZW-pB56wgL_U7rYyTC08Yerd6_7zIaQyUR7pG3XyuT_eeDPeam-CesxvLHiLIIEiRrQsO9WPMFVPpfI5EHk5ybxTAGa92lkVhsh4FBXEmlCEXKhHg2uLXQPPpvEeWvyEobwY6SU6vJB6uprqxI_BhTzNRWnlxOFNbU-_7O8F9laOBSONh7njU6l6m1WEuiKAnwPGcBlV24vpe1ylbiUoJcnwbLP5kv7fHm2oQ0LMVEcNOLtW-F8rgXCysHtE1T0pQKtf13T44kgjBqTTiNuAe2jJILwrvI6M1c6l4ytXXepzduiTvzodZSPpjH1xJK2g\u0026h=WctGcJ3tQUh2s6K5_VB_9XOjYkHjm7Grtx7Ck7Kgypg+6": { + "Remove-AzConnectedMachineExtension+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/d6125855-471f-442e-8cad-09e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wBkMAwGCisGAQQBgjd7AwEwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAG0WbzLPsmSSMI7aTe2npixmkdCmwcdZHGd43tUnB8JKrLNJEFcBsQmbcIH0adpnQNrDgRkNBBOTZ4s1LIBlRQapZpPsRItAMUguVpGVRH08T0i43w9xrp_clNbAJrrfRbmYroF0WJKMJ0nwW2rPjxdevSRygGK_nEfywwFi-p1RhHnkiEGL4GnP7PpQcRvAYMdH9LO5MRY7iLbBmosKatS_eWtSJD1CvzglNwy_vQzx81Vnk0CgndqXcVq-loGu7R4U7mkQ2NNqLbp447STxkpP-6Mdyv8J4bdnf1s3vFBNpgvJWKogWcNLlo8jnkbEf6RPNGe1W5lma7JwMKAcPzY\u0026s=KteQzEiHGIjexN-8jMWiS1wW9vrS0e887vXdlj6YguoIjNEAPPxlQJZQrkAr4cu3GkYVDh1-nv-pZzVEfUgYvIKoiM4H9fzybNKGzDvTW2jssogtKQWgEvRptuwL5iQyVB0MVhxCVToq3q1NndyVqGPMWGZogfDtyQekeQ8Fktub7eoslM-tnv3XT3zAr_1cl_f2tRF8gUAEisu0JfVrqUZB8Rap8CKBb5_65RgIUhxERbZFqBxq848DhOYXgPsk4A6HOkmZo03-Qvi3BB0y2O0larHVusxSROCQVV2xuOjcP9VWDY9W255VLNQgteRdkfbAeJR1n5q9TpniKZ8pWA\u0026h=8CH1jeLCtgofLwANp7aCd15-oe5yrwhpHuQgoTHYmrA+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/4a68e5dd-4a32-4a27-9fbd-8a918ed9db1f?api-version=2024-05-20-preview\u0026t=638623859511574885\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ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EFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADe3mHC76LsKVL9fkhYlwBSfOx_cb-6YFuiqGA60VGCoc_qwfcn9leu0FbnJEquloNzG8tG_ZwhaFVsQ-_we0Vgl03BjC-BOem7ZES6XywaYv4X1vEBc0SNaQ8EQVToFyCD9wf1ZGu5uv4jk-oILXl_CzdRsvuGKmprgkbrMIS6t5V8ds7REAX8SiE37hqdZU5hNT74RwV32cg3gLtbUsPK22Kv1gf5KsCUZe9tEsEkyq_bSxaNCWnh3lfmsstE0Jo_zL1O6cPKMMtvD21xFYchjWKjYGr1p5mGiM-OLLi8_ETKkYQTS0_gB7wZOGtsc0pIsvgAnqA-sMNn8Oy953Q4\u0026s=edX6SXJsKT0xu0Yez8H-W_ZW-pB56wgL_U7rYyTC08Yerd6_7zIaQyUR7pG3XyuT_eeDPeam-CesxvLHiLIIEiRrQsO9WPMFVPpfI5EHk5ybxTAGa92lkVhsh4FBXEmlCEXKhHg2uLXQPPpvEeWvyEobwY6SU6vJB6uprqxI_BhTzNRWnlxOFNbU-_7O8F9laOBSONh7njU6l6m1WEuiKAnwPGcBlV24vpe1ylbiUoJcnwbLP5kv7fHm2oQ0LMVEcNOLtW-F8rgXCysHtE1T0pQKtf13T44kgjBqTTiNuAe2jJILwrvI6M1c6l4ytXXepzduiTvzodZSPpjH1xJK2g\u0026h=WctGcJ3tQUh2s6K5_VB_9XOjYkHjm7Grtx7Ck7Kgypg", + "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/d6125855-471f-442e-8cad-09e41d1d7e36?api-version=2024-07-10\u0026t=638639289416140405\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgY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Te2npixmkdCmwcdZHGd43tUnB8JKrLNJEFcBsQmbcIH0adpnQNrDgRkNBBOTZ4s1LIBlRQapZpPsRItAMUguVpGVRH08T0i43w9xrp_clNbAJrrfRbmYroF0WJKMJ0nwW2rPjxdevSRygGK_nEfywwFi-p1RhHnkiEGL4GnP7PpQcRvAYMdH9LO5MRY7iLbBmosKatS_eWtSJD1CvzglNwy_vQzx81Vnk0CgndqXcVq-loGu7R4U7mkQ2NNqLbp447STxkpP-6Mdyv8J4bdnf1s3vFBNpgvJWKogWcNLlo8jnkbEf6RPNGe1W5lma7JwMKAcPzY\u0026s=KteQzEiHGIjexN-8jMWiS1wW9vrS0e887vXdlj6YguoIjNEAPPxlQJZQrkAr4cu3GkYVDh1-nv-pZzVEfUgYvIKoiM4H9fzybNKGzDvTW2jssogtKQWgEvRptuwL5iQyVB0MVhxCVToq3q1NndyVqGPMWGZogfDtyQekeQ8Fktub7eoslM-tnv3XT3zAr_1cl_f2tRF8gUAEisu0JfVrqUZB8Rap8CKBb5_65RgIUhxERbZFqBxq848DhOYXgPsk4A6HOkmZo03-Qvi3BB0y2O0larHVusxSROCQVV2xuOjcP9VWDY9W255VLNQgteRdkfbAeJR1n5q9TpniKZ8pWA\u0026h=8CH1jeLCtgofLwANp7aCd15-oe5yrwhpHuQgoTHYmrA", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "6" ], - "x-ms-client-request-id": [ "87cf4a6f-1972-4464-8617-edfd37d526ce" ], + "x-ms-client-request-id": [ "b9ab0a74-7091-47c1-a496-654d899b998e" ], "CommandName": [ "Remove-AzConnectedMachineExtension" ], "FullCommandName": [ "Remove-AzConnectedMachineExtension_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.5.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.1.0" ] }, "ContentHeaders": { } @@ -247,42 +247,42 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationresults/4a68e5dd-4a32-4a27-9fbd-8a918ed9db1f?api-version=2024-05-20-preview\u0026t=638623859666475016\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwNjIyMjE1NzIzWhcNMjUwNjE3MjE1NzIzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALhRxgv00I_kIXwCJCxn0QIbiBxztKV5N7VUsmJclkirZBo6v69H49qwFEyTyf6TsDRZiDyUNhhfYpqgthcgDoGvOa0_uYNIt0GINfkDoySgM3HurzdD12Zyaj2woPrEkxHdoetI4nepp_ytiAmF81Z7YZyv05HKxV_WspPeyLBxorHcJ_drtY13Ez5tLDFiX_NnqLjf1oZojfYarEmVhETopjp53RxjVOKKRI4K2YWjs44wk0T2jaYGo5macYriIx3aHAxhN0aCURkqI1nWMC6SkdMrP1wdgAcHD5niTqQC5ql2zaSMLmcGFm50nyqRNylI1LJdmgPwGhN_dGd0E6ECAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCA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subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationresults/d6125855-471f-442e-8cad-09e41d1d7e36?api-version=2024-07-10\u0026t=638639289570200393\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwMjMxMTQxWhcNMjUwMzE5MjMxMTQxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKRtcYDBXS7zz5tRtvVyhrUAjudYhej1E2D3dp6XWuPdbVMbQZwMlye8vdT-kDhFD7T2mrdWqsoGnTGk0_xOHBfLGnW-0QRUqpeoTNIhu8vc2CfTUtm2t2s_-fzvFtRyhDA4mfCH1cz92EVj0vd3FD4ikW6bdOp1NkYFqUVBhKlbvJk6y-TbLFBLP5Zx4m0Ua-_P7aMzbgvOJgMOTC2jLs5w_lFDJWeP3IKUOiJmrfLpf4ey5Ov94oCE6YncDBSHJZKWcrSxDHgSz9AXrxarL4HLajGbF3MRvfkMN2gNXCoiJXBEqCLDnyQZ0BgXIvuK7vG8Rj0TyhJNj-QPr8taY6UCAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydH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MwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwEwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAG0WbzLPsmSSMI7aTe2npixmkdCmwcdZHGd43tUnB8JKrLNJEFcBsQmbcIH0adpnQNrDgRkNBBOTZ4s1LIBlRQapZpPsRItAMUguVpGVRH08T0i43w9xrp_clNbAJrrfRbmYroF0WJKMJ0nwW2rPjxdevSRygGK_nEfywwFi-p1RhHnkiEGL4GnP7PpQcRvAYMdH9LO5MRY7iLbBmosKatS_eWtSJD1CvzglNwy_vQzx81Vnk0CgndqXcVq-loGu7R4U7mkQ2NNqLbp447STxkpP-6Mdyv8J4bdnf1s3vFBNpgvJWKogWcNLlo8jnkbEf6RPNGe1W5lma7JwMKAcPzY\u0026s=iY_Ok1PzdIo2P3q9eqHRFvQg8mIh15cERuJauqZ_i7L8xmi8o1PzPgiVzO6_TilyN_ggGABa38yzsKB_EQE6A-fJxN0to9sR0waj8sNyQcFq3DRoMfwg2w7G8m0_UH6LJgYAwOPkhMwLaiBBdSLP9FRogxGBZbPv3wLtVaFyNJRbP6iJ0rEa4NDgYbF0Le-f-J9l9nRA4g4VHYEMSyO0fzJNhzIIsqy8hcGhvVdwbC-Y07fsVRXn4hs_BwZOPenC1AzvvykejalzE4sdyZGxkQw3ak-fqMJSfk3ZvT-Sztw3s1xAOoddDFwPWyBqxeeVsmtUzqB-LlN94rEbSMZeng\u0026h=F17Q6Ep4BDdeaC42Cd15vcemqxqNysoXJhzBHgVRz_s" ], "Retry-After": [ "15" ], "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-request-id": [ "a8371242-0cfe-4447-ba1a-8946e89fd406" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/4a68e5dd-4a32-4a27-9fbd-8a918ed9db1f?api-version=2024-05-20-preview\u0026t=638623859666318773\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwNjIyMjE1NzIzWhcNMjUwNjE3MjE1NzIzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALhRxgv00I_kIXwCJCxn0QIbiBxztKV5N7VUsmJclkirZBo6v69H49qwFEyTyf6TsDRZiDyUNhhfYpqgthcgDoGvOa0_uYNIt0GINfkDoySgM3HurzdD12Zyaj2woPrEkxHdoetI4nepp_ytiAmF81Z7YZyv05HKxV_WspPeyLBxorHcJ_drtY13Ez5tLDFiX_NnqLjf1oZojfYarEmVhETopjp53RxjVOKKRI4K2YWjs44wk0T2jaYGo5macYriIx3aHAxhN0aCURkqI1nWMC6SkdMrP1wdgAcHD5niTqQC5ql2zaSMLmcGFm50nyqRNylI1LJdmgPwGhN_dGd0E6ECAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3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gorBgEEAYI3ewICMFgwVgYIKwYBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwEwDAYKKwYBBAGCN3sEATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADe3mHC76LsKVL9fkhYlwBSfOx_cb-6YFuiqGA60VGCoc_qwfcn9leu0FbnJEquloNzG8tG_ZwhaFVsQ-_we0Vgl03BjC-BOem7ZES6XywaYv4X1vEBc0SNaQ8EQVToFyCD9wf1ZGu5uv4jk-oILXl_CzdRsvuGKmprgkbrMIS6t5V8ds7REAX8SiE37hqdZU5hNT74RwV32cg3gLtbUsPK22Kv1gf5KsCUZe9tEsEkyq_bSxaNCWnh3lfmsstE0Jo_zL1O6cPKMMtvD21xFYchjWKjYGr1p5mGiM-OLLi8_ETKkYQTS0_gB7wZOGtsc0pIsvgAnqA-sMNn8Oy953Q4\u0026s=G3iqdU2jaDginVF-uV65vah08cJkhZ1H-BoKkqtbuzM7THDgmKy8s5afelgOS6XdozFX7wjxgHDp220D6y5sht8X7p5kMxKkdE23Ig637tnM0rmpN9uRjNITeVXUkO_VKO0ZXJ40PxioPhVuHZ4ES52snGCty_9FdST9g3q8MEksE2-QrbX967gvcVYJw3mKTOEVOxUxSux9YYlIdGwmKeWsy954dtxONLtWk1OW_FBW4-OGxskSVlVLC8BHDh3pXpnsZb-OSS3ro_n1xa0elmUHQ24Rcgv-J7JDFDmSl5hpFjoH-QoMwIqlkchmJThYO2zIHCcyPnC2S1yYx-EHOw\u0026h=YI3UutsZ3ZVhtHOG4gYMtE9Cn0beyChhhF6bQ-hYauA" ], - "x-ms-correlation-request-id": [ "5163f0be-3da9-4208-8463-69f133f2df7f" ], - "x-ms-routing-request-id": [ "EASTUS:20240919T233926Z:5163f0be-3da9-4208-8463-69f133f2df7f" ], + "x-ms-request-id": [ "28149ecc-a423-41e1-b16e-177dfa31c302" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/d6125855-471f-442e-8cad-09e41d1d7e36?api-version=2024-07-10\u0026t=638639289570044107\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwMjMxMTQxWhcNMjUwMzE5MjMxMTQxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKRtcYDBXS7zz5tRtvVyhrUAjudYhej1E2D3dp6XWuPdbVMbQZwMlye8vdT-kDhFD7T2mrdWqsoGnTGk0_xOHBfLGnW-0QRUqpeoTNIhu8vc2CfTUtm2t2s_-fzvFtRyhDA4mfCH1cz92EVj0vd3FD4ikW6bdOp1NkYFqUVBhKlbvJk6y-TbLFBLP5Zx4m0Ua-_P7aMzbgvOJgMOTC2jLs5w_lFDJWeP3IKUOiJmrfLpf4ey5Ov94oCE6YncDBSHJZKWcrSxDHgSz9AXrxarL4HLajGbF3MRvfkMN2gNXCoiJXBEqCLDnyQZ0BgXIvuK7vG8Rj0TyhJNj-QPr8taY6UCAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEo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m4WOL9SqXF3oZo0k" ], + "x-ms-correlation-request-id": [ "62d5e96d-1fab-4bcf-976f-c5718ab7466a" ], + "x-ms-routing-request-id": [ "EASTUS:20241007T201557Z:62d5e96d-1fab-4bcf-976f-c5718ab7466a" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 2385E044293D483FBD90DC807034B6E3 Ref B: MNZ221060609047 Ref C: 2024-09-19T23:39:26Z" ], - "Date": [ "Thu, 19 Sep 2024 23:39:25 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 05ABE68FCAFD4F61B2F2FDA2D85396BC Ref B: MNZ221060619025 Ref C: 2024-10-07T20:15:56Z" ], + "Date": [ "Mon, 07 Oct 2024 20:15:56 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "111" ], + "Content-Length": [ "112" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"4a68e5dd-4a32-4a27-9fbd-8a918ed9db1f\",\"status\":\"InProgress\",\"startTime\":\"2024-09-19T23:38:09.229909Z\"}", + "Content": "{\"name\":\"d6125855-471f-442e-8cad-09e41d1d7e36\",\"status\":\"InProgress\",\"startTime\":\"2024-10-07T20:14:40.1540388Z\"}", "isContentBase64": false } }, - "Remove-AzConnectedMachineExtension+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/4a68e5dd-4a32-4a27-9fbd-8a918ed9db1f?api-version=2024-05-20-preview\u0026t=638623859666318773\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwNjIyMjE1NzIzWhc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aYv4X1vEBc0SNaQ8EQVToFyCD9wf1ZGu5uv4jk-oILXl_CzdRsvuGKmprgkbrMIS6t5V8ds7REAX8SiE37hqdZU5hNT74RwV32cg3gLtbUsPK22Kv1gf5KsCUZe9tEsEkyq_bSxaNCWnh3lfmsstE0Jo_zL1O6cPKMMtvD21xFYchjWKjYGr1p5mGiM-OLLi8_ETKkYQTS0_gB7wZOGtsc0pIsvgAnqA-sMNn8Oy953Q4\u0026s=G3iqdU2jaDginVF-uV65vah08cJkhZ1H-BoKkqtbuzM7THDgmKy8s5afelgOS6XdozFX7wjxgHDp220D6y5sht8X7p5kMxKkdE23Ig637tnM0rmpN9uRjNITeVXUkO_VKO0ZXJ40PxioPhVuHZ4ES52snGCty_9FdST9g3q8MEksE2-QrbX967gvcVYJw3mKTOEVOxUxSux9YYlIdGwmKeWsy954dtxONLtWk1OW_FBW4-OGxskSVlVLC8BHDh3pXpnsZb-OSS3ro_n1xa0elmUHQ24Rcgv-J7JDFDmSl5hpFjoH-QoMwIqlkchmJThYO2zIHCcyPnC2S1yYx-EHOw\u0026h=YI3UutsZ3ZVhtHOG4gYMtE9Cn0beyChhhF6bQ-hYauA+7": { + "Remove-AzConnectedMachineExtension+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/d6125855-471f-442e-8cad-09e41d1d7e36?api-version=2024-07-10\u0026t=638639289570044107\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwMjMxMTQxWhcNMjUwMzE5MjMxMTQxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tY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fywwFi-p1RhHnkiEGL4GnP7PpQcRvAYMdH9LO5MRY7iLbBmosKatS_eWtSJD1CvzglNwy_vQzx81Vnk0CgndqXcVq-loGu7R4U7mkQ2NNqLbp447STxkpP-6Mdyv8J4bdnf1s3vFBNpgvJWKogWcNLlo8jnkbEf6RPNGe1W5lma7JwMKAcPzY\u0026s=h0y8F_Rjgu0jsiNNSbcJAX-kRqDJeBEaa-JQNoDBJy7FUjDMimBut_2l5yojpIS8xoWNyzIvYlbmIZ3VRVlV_JNfcTuNQiDXbWsiigGFsdQdmm0-4g4wsuzWHdut9lKLi8uuliQStsAob0Emtx55SUX5KnUsElH6mXTgnGN6I7PRvp8WYB4K2mhOjZRAy2TkMgO8bH33nhcGPgOoYUmN0OfpQf-pSUqltjPFTo1gacK7hwzhSm0qQywMbDq6WEEBtlJ-PmpL6YiybkwyqiPlDXLQl8n3U_-8DRsGYuYQtw_gbFVv8dAePlQCGyZHIFTKIkb76t4qa6izLr-TgcNOaw\u0026h=QMnDt-k5E2YunDqAnF9BAtQy94jm4WOL9SqXF3oZo0k+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/4a68e5dd-4a32-4a27-9fbd-8a918ed9db1f?api-version=2024-05-20-preview\u0026t=638623859666318773\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwNjIyMjE1NzIzWhcNMjUwNjE3MjE1NzIzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADgg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CWnh3lfmsstE0Jo_zL1O6cPKMMtvD21xFYchjWKjYGr1p5mGiM-OLLi8_ETKkYQTS0_gB7wZOGtsc0pIsvgAnqA-sMNn8Oy953Q4\u0026s=G3iqdU2jaDginVF-uV65vah08cJkhZ1H-BoKkqtbuzM7THDgmKy8s5afelgOS6XdozFX7wjxgHDp220D6y5sht8X7p5kMxKkdE23Ig637tnM0rmpN9uRjNITeVXUkO_VKO0ZXJ40PxioPhVuHZ4ES52snGCty_9FdST9g3q8MEksE2-QrbX967gvcVYJw3mKTOEVOxUxSux9YYlIdGwmKeWsy954dtxONLtWk1OW_FBW4-OGxskSVlVLC8BHDh3pXpnsZb-OSS3ro_n1xa0elmUHQ24Rcgv-J7JDFDmSl5hpFjoH-QoMwIqlkchmJThYO2zIHCcyPnC2S1yYx-EHOw\u0026h=YI3UutsZ3ZVhtHOG4gYMtE9Cn0beyChhhF6bQ-hYauA", + "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/d6125855-471f-442e-8cad-09e41d1d7e36?api-version=2024-07-10\u0026t=638639289570044107\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwMjMxMTQxWhcNMjUwMzE5MjMxMTQxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKRtcYDBXS7zz5tRtvVyhrUAjudYhej1E2D3dp6XWuPdbVMbQZwMlye8vdT-kDhFD7T2mrdWqsoGnTGk0_xOHBfLGnW-0QRUqpeoT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lma7JwMKAcPzY\u0026s=h0y8F_Rjgu0jsiNNSbcJAX-kRqDJeBEaa-JQNoDBJy7FUjDMimBut_2l5yojpIS8xoWNyzIvYlbmIZ3VRVlV_JNfcTuNQiDXbWsiigGFsdQdmm0-4g4wsuzWHdut9lKLi8uuliQStsAob0Emtx55SUX5KnUsElH6mXTgnGN6I7PRvp8WYB4K2mhOjZRAy2TkMgO8bH33nhcGPgOoYUmN0OfpQf-pSUqltjPFTo1gacK7hwzhSm0qQywMbDq6WEEBtlJ-PmpL6YiybkwyqiPlDXLQl8n3U_-8DRsGYuYQtw_gbFVv8dAePlQCGyZHIFTKIkb76t4qa6izLr-TgcNOaw\u0026h=QMnDt-k5E2YunDqAnF9BAtQy94jm4WOL9SqXF3oZo0k", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "7" ], - "x-ms-client-request-id": [ "87cf4a6f-1972-4464-8617-edfd37d526ce" ], + "x-ms-client-request-id": [ "b9ab0a74-7091-47c1-a496-654d899b998e" ], "CommandName": [ "Remove-AzConnectedMachineExtension" ], "FullCommandName": [ "Remove-AzConnectedMachineExtension_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.5.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.1.0" ] }, "ContentHeaders": { } @@ -292,42 +292,42 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationresults/4a68e5dd-4a32-4a27-9fbd-8a918ed9db1f?api-version=2024-05-20-preview\u0026t=638623859820852747\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADBEMRM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vcNAQELBQADggEBADe3mHC76LsKVL9fkhYlwBSfOx_cb-6YFuiqGA60VGCoc_qwfcn9leu0FbnJEquloNzG8tG_ZwhaFVsQ-_we0Vgl03BjC-BOem7ZES6XywaYv4X1vEBc0SNaQ8EQVToFyCD9wf1ZGu5uv4jk-oILXl_CzdRsvuGKmprgkbrMIS6t5V8ds7REAX8SiE37hqdZU5hNT74RwV32cg3gLtbUsPK22Kv1gf5KsCUZe9tEsEkyq_bSxaNCWnh3lfmsstE0Jo_zL1O6cPKMMtvD21xFYchjWKjYGr1p5mGiM-OLLi8_ETKkYQTS0_gB7wZOGtsc0pIsvgAnqA-sMNn8Oy953Q4\u0026s=L2bDIwRwkK8b6scU_uhQ3oEppz-XQUHsR6dyaRGbfNphoYBkKxZf9-C1krC-JgIYUhZq5uO8exX3ov_7a1ErKtmRSC9ZObjptRBaJrgxIhTVOI5ZRFNDOclWtnSXXoOa3sJW-dd3ipwxEoiy6FBa8DDHsww5So3nABDFmkTvgG741qzXguxVxNIYdHecD7DMxvOXCetNQc1HR_L9DAqpEJ0i1BfUVyh5AS666241scmAPndDLY1CAgxOZYZj1HZ5lmu40FsXCan_htt6OSIGYjfLMZNVZhx0JDpTic08iLTWEKF2X6bf0URP6muBWxdL1GygRRUNxUtQtVDdzv1qHQ\u0026h=liuZ5fezCzD5v7kdx6TJHXp6QFX4d7AGDv3kfLIrgzE" ], + "Location": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationresults/d6125855-471f-442e-8cad-09e41d1d7e36?api-version=2024-07-10\u0026t=638639289723675314\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwMjMxMTQx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kNBBOTZ4s1LIBlRQapZpPsRItAMUguVpGVRH08T0i43w9xrp_clNbAJrrfRbmYroF0WJKMJ0nwW2rPjxdevSRygGK_nEfywwFi-p1RhHnkiEGL4GnP7PpQcRvAYMdH9LO5MRY7iLbBmosKatS_eWtSJD1CvzglNwy_vQzx81Vnk0CgndqXcVq-loGu7R4U7mkQ2NNqLbp447STxkpP-6Mdyv8J4bdnf1s3vFBNpgvJWKogWcNLlo8jnkbEf6RPNGe1W5lma7JwMKAcPzY\u0026s=TYVxomNnS-R1KSTp8onK91IvUW3FoXLvzoBwC2TXTG6N2yZ4FVKopfnjrtvkIlKSe9TZeLE6LeDDHutXp1u9WyYa9oVLy09xzMBEgEyy2ADACBH9Idt9ORbXQqoVOJyvXaQaY69KC9T1p9ai-cr_tR44qDWyxEGWQpK5NowrTsmG3Zco9XpuZAN50CyRw14EHRFoM8Lrcwpz4bFJywZgmcezt5B6gtWEvyOWXG8CVvup52I3MQaPQ8-A4KRZmyAiKig01Gd4Xfd0Itew5ij8FMqcjWf2TIM6EJ6549YoJxCa-xVm-lvoCopTKpbxEjoOBrP_UDdJi_A9DbkpF-ObaA\u0026h=yPcvBnnMizonjmUXq604WhwQirR3OEJWFB1dULXLK4I" ], "Retry-After": [ "15" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-request-id": [ "576f0aff-fdc9-4533-b6dc-3d3fefde8bd0" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/4a68e5dd-4a32-4a27-9fbd-8a918ed9db1f?api-version=2024-05-20-preview\u0026t=638623859820697012\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPy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ADe3mHC76LsKVL9fkhYlwBSfOx_cb-6YFuiqGA60VGCoc_qwfcn9leu0FbnJEquloNzG8tG_ZwhaFVsQ-_we0Vgl03BjC-BOem7ZES6XywaYv4X1vEBc0SNaQ8EQVToFyCD9wf1ZGu5uv4jk-oILXl_CzdRsvuGKmprgkbrMIS6t5V8ds7REAX8SiE37hqdZU5hNT74RwV32cg3gLtbUsPK22Kv1gf5KsCUZe9tEsEkyq_bSxaNCWnh3lfmsstE0Jo_zL1O6cPKMMtvD21xFYchjWKjYGr1p5mGiM-OLLi8_ETKkYQTS0_gB7wZOGtsc0pIsvgAnqA-sMNn8Oy953Q4\u0026s=VkbaVKjXbefg_LymbcyqlieNGavMPLQudkj0T1bxTGPPP6erqjvsKEgUlMxdEdFaiWURWAQgtbLGyq4-TTi4NBw2H_EA0te1i67N_e3OkoXakfL0429Il5jRaQitwuPoIm66-UdGqCv3eoXoeJuNO63aChG0puj0F8KdBGlH_i1AiZcqNMPe9wvuSTZmwH1erOZ1qlafdYqpd9A1s2hBWjSCPB2OVZlUS1BvWVD9BjVIIftvYtAbE_vSh0ZpZjf1rzfQjjHAI2Qk63IMy4wLdYUB7pPex3wR5bDbB-Koicwh1oNQbHTouPmSYJ8el8u9OaJUDSUHPupx1DbXa1hkSg\u0026h=kcakm5o354LDArvW-n3Ulkgv0xxQBAMW2kAkhhQc18Y" ], - "x-ms-correlation-request-id": [ "6cd044f2-d54f-44d2-a11e-2877c877e048" ], - "x-ms-routing-request-id": [ "EASTUS:20240919T233942Z:6cd044f2-d54f-44d2-a11e-2877c877e048" ], + "x-ms-request-id": [ "dc92b8bf-25b9-443f-8940-7bc8449890b9" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/d6125855-471f-442e-8cad-09e41d1d7e36?api-version=2024-07-10\u0026t=638639289723518996\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GO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PwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAG0WbzLPsmSSMI7aTe2npixmkdCmwcdZHGd43tUnB8JKrLNJEFcBsQmbcIH0adpnQNrDgRkNBBOTZ4s1LIBlRQapZpPsRItAMUguVpGVRH08T0i43w9xrp_clNbAJrrfRbmYroF0WJKMJ0nwW2rPjxdevSRygGK_nEfywwFi-p1RhHnkiEGL4GnP7PpQcRvAYMdH9LO5MRY7iLbBmosKatS_eWtSJD1CvzglNwy_vQzx81Vnk0CgndqXcVq-loGu7R4U7mkQ2NNqLbp447STxkpP-6Mdyv8J4bdnf1s3vFBNpgvJWKogWcNLlo8jnkbEf6RPNGe1W5lma7JwMKAcPzY\u0026s=REW30aQa7MySwJtq4t1o3Bfe7hiujghUqeEKvVTp0AWxBTZ_-6iYjvOGTG1OoPRwWEyF8IzYVO4hZAoRcMqVK_feLYg6UB0x6kr38sNm7-o7l5q8UcgEdnHWywbA6H94EHl2udznnrouvvmDyg6cQu2DiaYVO1lNJNnVIN1abT0CBFgW4ZcwLai7qgjssXCqi8bLyc2t0S_bs9J2UokouYYBob5T5bEhfg_FZiZTNQNDU9A2bnftf4BLl02H6EGrMi5Sl28byWFs9J_BO5Sr3SoPA-31vDPng8bH2UpxWZuWTX2-UB0mYuoZoOPFfvzdFZhQlKJh0EUqUuqI5VNSLw\u0026h=cdq-gugngE7zujbMIuDSgqF_HnESYU81USNYmGFqpRU" ], + "x-ms-correlation-request-id": [ "797280f0-fa17-4b23-81e9-9973326dcda2" ], + "x-ms-routing-request-id": [ "EASTUS:20241007T201612Z:797280f0-fa17-4b23-81e9-9973326dcda2" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 65061ACBB50C4FDA986E68398B04D3F9 Ref B: MNZ221060609047 Ref C: 2024-09-19T23:39:41Z" ], - "Date": [ "Thu, 19 Sep 2024 23:39:41 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 8508E3D364974F8ABA42D287A378C84D Ref B: MNZ221060619025 Ref C: 2024-10-07T20:16:12Z" ], + "Date": [ "Mon, 07 Oct 2024 20:16:12 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "111" ], + "Content-Length": [ "112" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"4a68e5dd-4a32-4a27-9fbd-8a918ed9db1f\",\"status\":\"InProgress\",\"startTime\":\"2024-09-19T23:38:09.229909Z\"}", + "Content": "{\"name\":\"d6125855-471f-442e-8cad-09e41d1d7e36\",\"status\":\"InProgress\",\"startTime\":\"2024-10-07T20:14:40.1540388Z\"}", "isContentBase64": false } }, - "Remove-AzConnectedMachineExtension+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/4a68e5dd-4a32-4a27-9fbd-8a918ed9db1f?api-version=2024-05-20-preview\u0026t=638623859820697012\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwNjIyMjE1NzIzWhcNMjUwNjE3MjE1NzIzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALhRxgv00I_kIXwCJCxn0QIbiBxztKV5N7VUsmJclkirZBo6v69H49qwFEyTyf6TsDRZiDyUNhhfYpqgthcgDoGvOa0_uYNIt0GINfkDoySgM3HurzdD12Zyaj2woPrEkxHdoetI4nepp_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PPP6erqjvsKEgUlMxdEdFaiWURWAQgtbLGyq4-TTi4NBw2H_EA0te1i67N_e3OkoXakfL0429Il5jRaQitwuPoIm66-UdGqCv3eoXoeJuNO63aChG0puj0F8KdBGlH_i1AiZcqNMPe9wvuSTZmwH1erOZ1qlafdYqpd9A1s2hBWjSCPB2OVZlUS1BvWVD9BjVIIftvYtAbE_vSh0ZpZjf1rzfQjjHAI2Qk63IMy4wLdYUB7pPex3wR5bDbB-Koicwh1oNQbHTouPmSYJ8el8u9OaJUDSUHPupx1DbXa1hkSg\u0026h=kcakm5o354LDArvW-n3Ulkgv0xxQBAMW2kAkhhQc18Y+8": { + "Remove-AzConnectedMachineExtension+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/d6125855-471f-442e-8cad-09e41d1d7e36?api-version=2024-07-10\u0026t=638639289723518996\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwMjMxMTQxWhcNMjUwMzE5MjMxMTQxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKRtcYDBXS7zz5tRtvVyhrUAjudYhej1E2D3dp6XWuPdbVMbQZwMlye8vdT-kDhFD7T2mrdWqsoGnTGk0_xOHBfLGnW-0QRUqpeoTNIhu8vc2CfTUtm2t2s_-fzvFtRyhDA4mfCH1cz92EVj0vd3FD4ikW6bdOp1NkYFqUVBhKlbvJk6y-TbLFBLP5Zx4m0Ua-_P7aMzbgvOJgMOTC2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kr38sNm7-o7l5q8UcgEdnHWywbA6H94EHl2udznnrouvvmDyg6cQu2DiaYVO1lNJNnVIN1abT0CBFgW4ZcwLai7qgjssXCqi8bLyc2t0S_bs9J2UokouYYBob5T5bEhfg_FZiZTNQNDU9A2bnftf4BLl02H6EGrMi5Sl28byWFs9J_BO5Sr3SoPA-31vDPng8bH2UpxWZuWTX2-UB0mYuoZoOPFfvzdFZhQlKJh0EUqUuqI5VNSLw\u0026h=cdq-gugngE7zujbMIuDSgqF_HnESYU81USNYmGFqpRU+8": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/4a68e5dd-4a32-4a27-9fbd-8a918ed9db1f?api-version=2024-05-20-preview\u0026t=638623859820697012\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwNjIyMjE1NzIzWhcNMjUwNjE3MjE1NzIzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALhRxgv00I_kIXwCJCxn0QIbiBxztKV5N7VUsmJclkirZBo6v69H49qwFEyTyf6TsDRZiDyUNhhfYpqgthcgDoGvOa0_uYNIt0GINfkDoySgM3HurzdD12Zyaj2woPrEkxHdoetI4nepp_ytiAmF81Z7YZyv05HKxV_WspPeyLBxorHcJ_drtY13Ez5tLDFiX_NnqLjf1oZojfYarEmVhETopjp53RxjVOKKRI4K2YWjs44wk0T2jaYGo5macYriIx3aHAxhN0aCURkqI1nWMC6SkdMrP1wdgAcHD5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OZ1qlafdYqpd9A1s2hBWjSCPB2OVZlUS1BvWVD9BjVIIftvYtAbE_vSh0ZpZjf1rzfQjjHAI2Qk63IMy4wLdYUB7pPex3wR5bDbB-Koicwh1oNQbHTouPmSYJ8el8u9OaJUDSUHPupx1DbXa1hkSg\u0026h=kcakm5o354LDArvW-n3Ulkgv0xxQBAMW2kAkhhQc18Y", + "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/d6125855-471f-442e-8cad-09e41d1d7e36?api-version=2024-07-10\u0026t=638639289723518996\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwMjMxMTQxWhcNMjUwMzE5MjMxMTQxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKRtcYDBXS7zz5tRtvVyhrUAjudYhej1E2D3dp6XWuPdbVMbQZwMlye8vdT-kDhFD7T2mrdWqsoGnTGk0_xOHBfLGnW-0QRUqpeoTNIhu8vc2CfTUtm2t2s_-fzvFtRyhDA4mfCH1cz92EVj0vd3FD4ikW6bdOp1NkYFqUVBhKlbvJk6y-TbLFBLP5Zx4m0Ua-_P7aMzbgvOJgMOTC2jLs5w_lFDJWeP3IKUOiJmrfLpf4ey5Ov94oCE6YncDBSHJZKWcrSxDHgSz9AXrxarL4HLajGbF3MRvfkMN2gNXCoiJXBEqCLDnyQZ0BgXIvuK7vG8Rj0TyhJNj-QPr8taY6UCAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQa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3SoPA-31vDPng8bH2UpxWZuWTX2-UB0mYuoZoOPFfvzdFZhQlKJh0EUqUuqI5VNSLw\u0026h=cdq-gugngE7zujbMIuDSgqF_HnESYU81USNYmGFqpRU", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "8" ], - "x-ms-client-request-id": [ "87cf4a6f-1972-4464-8617-edfd37d526ce" ], + "x-ms-client-request-id": [ "b9ab0a74-7091-47c1-a496-654d899b998e" ], "CommandName": [ "Remove-AzConnectedMachineExtension" ], "FullCommandName": [ "Remove-AzConnectedMachineExtension_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.5.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.1.0" ] }, "ContentHeaders": { } @@ -337,42 +337,42 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationresults/4a68e5dd-4a32-4a27-9fbd-8a918ed9db1f?api-version=2024-05-20-preview\u0026t=638623859974606051\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwNjIyMjE1NzIzWhcNMjUwNjE3MjE1NzIzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALhRxgv00I_kIXwCJCxn0QIbiBxztKV5N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p5mGiM-OLLi8_ETKkYQTS0_gB7wZOGtsc0pIsvgAnqA-sMNn8Oy953Q4\u0026s=lSR2AwPOoTPZp_jAvKQk-Xf6Qa8pIn5TFEOS-eQJCBy8qlLvJAie-hXi9oKl90g1ncRAQsz1PmernM4kGezX6FaIeRMUXQIXxUBE_cl7BWc4luGBgrGgd1y-Oxs8L7GPVy2gpooDb0ow9WEGVo9My0H6LCUTvGv6ryld5HEBMCnV2gAGEGAtXjeN1tcXb9OmcJNDDcg0gW7q8NQN7bIuC1vjGQdGVP6AjeMMMJxRuRNrvLn81JnnZCZQcYGy7Cb_VqHjQMGV-PUdB2RH4Q8hlZXpZ23eHF1yv0stzpqcouRn7f7zoQhP13Dl78afRfkwKrFox7lbMFBKB79D6qGTjg\u0026h=RNodPpkPLpV9Ig2u5qag7eAS7HAfRUMQ-jdRgbXvlPE" ], + "Location": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationresults/d6125855-471f-442e-8cad-09e41d1d7e36?api-version=2024-07-10\u0026t=638639289877753198\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwMjMxMTQxWhcNMjUwMzE5MjMxMTQxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKRtcYDBXS7zz5tRtvVyhrUAjudYhej1E2D3dp6XWuPdbVMbQZwMlye8vdT-kDhFD7T2mrdWqsoGnTGk0_xOHBfLGnW-0QRUqpeoTNIhu8vc2CfTUtm2t2s_-fzvFtR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FTbEYAgHJIyXLLJjf6EMYaSznzng9j4bE02GBWCqa7MhYBrNivxj7wY_RWutzvqGpxxvm3nc3Mmfv3nSWkVRAK6ojvaTxIYZC3Mf13PnCAJKt7oi15PHSbyBzd7cak7ShQ3mzmUYTTe50onNr2dmgE7Nhr1prFkfYnVQQzWxyz25XxDzvsBpwBPf80nbK889KbQqMlgr744_yseFZPIX371fU45EqpsWGlb3PeArG59qFqxpCWAskiJf-ynApocHuM51qtylKo61IoWSadaWxElIxuAthk0IzzX9uKl-214OvShBX_l_4nLJdW6JvEffJmbBe9_XfK1sw\u0026h=8RM-kfe-2N6ldF5weH8PmTrLf1OTSLoK-oPEjMJq9O4" ], "Retry-After": [ "15" ], "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-request-id": [ "9bd9124c-c51d-4554-89ec-7777daffddae" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/4a68e5dd-4a32-4a27-9fbd-8a918ed9db1f?api-version=2024-05-20-preview\u0026t=638623859974606051\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwNjIyMjE1NzIzWhcNMjUwNjE3MjE1NzIzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALhRxgv00I_kIXwCJCxn0QIbiBxztKV5N7VUsmJclkirZBo6v69H49qwFEyTyf6TsDRZiDyUNhhfYpqgthcgDo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8Oy953Q4\u0026s=b-JusRZ0OjaouLZbaJqtlBkHlSa6-Lrh8jhrtKyjQlRkYB6NWVRUCQSabK-xmd72rfCz2bl8qcIsTTJO20BcCU9ywQidCHfeTI3lMERtzFYfAoZ-5N51K41h99uV-7LEVFML9gLX9o7p6RlUWKgOH4hOAsm3C61qPKswFnRoKSqpTVOp27B-dREGyofqy_PUxrgd3nBjD069L7SgirF1efgHX00Qgl2Crp_miAbRpBN2nYP477_gdKSGLg0IvRhIm2sFEagf6w22PzkC8dciAGcs9YuV8W2w5-gX4DdEKcltFpTuYZqeQ5b0iwVr7qri_KhM_gohSn-wYVrwagGl-A\u0026h=k4wS5HXKZQZxEUrY-ICMjaw7W2PrWe_ThsiDiNcajN8" ], - "x-ms-correlation-request-id": [ "6934956d-8940-4bfe-8559-c5ebe64170be" ], - "x-ms-routing-request-id": [ "EASTUS:20240919T233957Z:6934956d-8940-4bfe-8559-c5ebe64170be" ], + "x-ms-request-id": [ "de842567-b440-4512-81a3-d5cdbbc3b96a" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/d6125855-471f-442e-8cad-09e41d1d7e36?api-version=2024-07-10\u0026t=638639289877597031\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwMjMxMTQxWhcNMjUwMzE5MjMxMTQxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKRtcYDBXS7zz5tRtvVyhrUAjudYhej1E2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kQ2NNqLbp447STxkpP-6Mdyv8J4bdnf1s3vFBNpgvJWKogWcNLlo8jnkbEf6RPNGe1W5lma7JwMKAcPzY\u0026s=YRrOTE9UK81UBFcNzzQopR2JhMlnwzNRGSn2rwkFOA-cTvcIRuwKqhZUtLAW70fDLEz0_iv8nWln1HpQA93h3Miq7vzInGYRAMOHhwf5iYMQaGEroIaEeqD0MQ9vdHV579H2X0GMcohA-T6MEF_BcGtltv4v1lsKCda89XqNb06Mo-4E0xzT8O8mIY3-yTUgfGGrFdiVR9VWg8aQbFdnT9Df1Bv5yWW7VXvxK3iMHVMH85gCa24ug3Yz3KK03nDUZdmz8mxtZSyQ2u9wFWbb8gzytuc_dTX64Gk4bsnylj9pJwqSVZyewAP9hMSmXhegMM-9cVVmLLB4WNHiQySjbg\u0026h=VwoMho8t4rV114fCExLxomOQgba8Fa7Z6i8WI9m_icU" ], + "x-ms-correlation-request-id": [ "779c90b1-f3a7-44ab-9bf5-3af1460b5446" ], + "x-ms-routing-request-id": [ "EASTUS:20241007T201627Z:779c90b1-f3a7-44ab-9bf5-3af1460b5446" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 15B20716F0D74FBAB3E858C65C4328D2 Ref B: MNZ221060609047 Ref C: 2024-09-19T23:39:57Z" ], - "Date": [ "Thu, 19 Sep 2024 23:39:56 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 108D49D5486441EF810337D24EEA35ED Ref B: MNZ221060619025 Ref C: 2024-10-07T20:16:27Z" ], + "Date": [ "Mon, 07 Oct 2024 20:16:27 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "111" ], + "Content-Length": [ "112" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"4a68e5dd-4a32-4a27-9fbd-8a918ed9db1f\",\"status\":\"InProgress\",\"startTime\":\"2024-09-19T23:38:09.229909Z\"}", + "Content": "{\"name\":\"d6125855-471f-442e-8cad-09e41d1d7e36\",\"status\":\"InProgress\",\"startTime\":\"2024-10-07T20:14:40.1540388Z\"}", "isContentBase64": false } }, - "Remove-AzConnectedMachineExtension+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/4a68e5dd-4a32-4a27-9fbd-8a918ed9db1f?api-version=2024-05-20-preview\u0026t=638623859974606051\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwNjIyMjE1NzIzWhcNMjUwNjE3MjE1NzIzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALhRxgv00I_kIXwCJCxn0QIbiBxztKV5N7VUsmJclkirZBo6v69H49qwFEyTyf6TsDRZiDyUNhhfYpqgthcgDoGvOa0_uYNIt0GINfkDoySgM3HurzdD12Zyaj2woPrEkxHdoetI4nepp_ytiAmF81Z7YZyv05HKxV_WspPeyLBxorHcJ_drtY13Ez5tLDFiX_NnqLjf1oZojfYarEmVhETopjp53RxjVOKKRI4K2YWjs44wk0T2jaYGo5macYriIx3aHAxhN0aCURkqI1nWMC6SkdMrP1wdgAcHD5niTqQC5ql2zaSMLmcGFm50nyqRNylI1LJdmgPwGhN_dGd0E6ECAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dE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siDiNcajN8+9": { + "Remove-AzConnectedMachineExtension+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/d6125855-471f-442e-8cad-09e41d1d7e36?api-version=2024-07-10\u0026t=638639289877597031\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwMjMxMTQxWhcNMjUwMzE5MjMxMTQxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKRtcYDBXS7zz5tRtvVyhrUAjudYhej1E2D3dp6XWuPdbVMbQZwMlye8vdT-kDhFD7T2mrdWqsoGnTGk0_xOHBfLGnW-0QRUqpeoTNIhu8vc2CfTUtm2t2s_-fzvFtRyhDA4mfCH1cz92EVj0vd3FD4ikW6bdOp1NkYFqUVBhKlbvJk6y-TbLFBLP5Zx4m0Ua-_P7aMzbgvOJgMOTC2jLs5w_lFDJWeP3IKUOiJmrfLpf4ey5Ov94oCE6YncDBSHJZKWcrSxDHgSz9AXrxarL4HLajGbF3MRvfkMN2gNXCoiJXBEqCLDnyQZ0BgXIvuK7vG8Rj0TyhJNj-QPr8taY6UCAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGA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KKwYBBAGCN3sBATBmBgorBgEEAYI3ewICMFgwVgYIKwYBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwEwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAG0WbzLPsmSSMI7aTe2npixmkdCmwcdZHGd43tUnB8JKrLNJEFcBsQmbcIH0adpnQNrDgRkNBBOTZ4s1LIBlRQapZpPsRItAMUguVpGVRH08T0i43w9xrp_clNbAJrrfRbmYroF0WJKMJ0nwW2rPjxdevSRygGK_nEfywwFi-p1RhHnkiEGL4GnP7PpQcRvAYMdH9LO5MRY7iLbBmosKatS_eWtSJD1CvzglNwy_vQzx81Vnk0CgndqXcVq-loGu7R4U7mkQ2NNqLbp447STxkpP-6Mdyv8J4bdnf1s3vFBNpgvJWKogWcNLlo8jnkbEf6RPNGe1W5lma7JwMKAcPzY\u0026s=YRrOTE9UK81UBFcNzzQopR2JhMlnwzNRGSn2rwkFOA-cTvcIRuwKqhZUtLAW70fDLEz0_iv8nWln1HpQA93h3Miq7vzInGYRAMOHhwf5iYMQaGEroIaEeqD0MQ9vdHV579H2X0GMcohA-T6MEF_BcGtltv4v1lsKCda89XqNb06Mo-4E0xzT8O8mIY3-yTUgfGGrFdiVR9VWg8aQbFdnT9Df1Bv5yWW7VXvxK3iMHVMH85gCa24ug3Yz3KK03nDUZdmz8mxtZSyQ2u9wFWbb8gzytuc_dTX64Gk4bsnylj9pJwqSVZyewAP9hMSmXhegMM-9cVVmLLB4WNHiQySjbg\u0026h=VwoMho8t4rV114fCExLxomOQgba8Fa7Z6i8WI9m_icU+9": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/4a68e5dd-4a32-4a27-9fbd-8a918ed9db1f?api-version=2024-05-20-preview\u0026t=638623859974606051\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwNjIyMjE1NzIzWhcNMjUwNjE3MjE1NzIzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALhRxgv00I_kIXwCJCxn0QIbiBxztKV5N7VUsmJclkirZBo6v69H49qwFEyTyf6TsDRZiDyUNhhfYpqgthcgDoGvOa0_uYNIt0GINfkDoySgM3HurzdD12Zyaj2woPrEkxHdoetI4nepp_ytiAmF81Z7YZyv05HKxV_WspPeyLBxorHcJ_drtY13Ez5tLDFiX_NnqLjf1oZojfYarEmVhETopjp53RxjVOKKRI4K2YWjs44wk0T2jaYGo5macYriIx3aHAxhN0aCURkqI1nWMC6SkdMrP1wdgAcHD5niTqQC5ql2zaSMLmcGFm50nyqRNylI1LJdmgPwGhN_dGd0E6ECAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUU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2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwEwDAYKKwYBBAGCN3sEATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADe3mHC76LsKVL9fkhYlwBSfOx_cb-6YFuiqGA60VGCoc_qwfcn9leu0FbnJEquloNzG8tG_ZwhaFVsQ-_we0Vgl03BjC-BOem7ZES6XywaYv4X1vEBc0SNaQ8EQVToFyCD9wf1ZGu5uv4jk-oILXl_CzdRsvuGKmprgkbrMIS6t5V8ds7REAX8SiE37hqdZU5hNT74RwV32cg3gLtbUsPK22Kv1gf5KsCUZe9tEsEkyq_bSxaNCWnh3lfmsstE0Jo_zL1O6cPKMMtvD21xFYchjWKjYGr1p5mGiM-OLLi8_ETKkYQTS0_gB7wZOGtsc0pIsvgAnqA-sMNn8Oy953Q4\u0026s=b-JusRZ0OjaouLZbaJqtlBkHlSa6-Lrh8jhrtKyjQlRkYB6NWVRUCQSabK-xmd72rfCz2bl8qcIsTTJO20BcCU9ywQidCHfeTI3lMERtzFYfAoZ-5N51K41h99uV-7LEVFML9gLX9o7p6RlUWKgOH4hOAsm3C61qPKswFnRoKSqpTVOp27B-dREGyofqy_PUxrgd3nBjD069L7SgirF1efgHX00Qgl2Crp_miAbRpBN2nYP477_gdKSGLg0IvRhIm2sFEagf6w22PzkC8dciAGcs9YuV8W2w5-gX4DdEKcltFpTuYZqeQ5b0iwVr7qri_KhM_gohSn-wYVrwagGl-A\u0026h=k4wS5HXKZQZxEUrY-ICMjaw7W2PrWe_ThsiDiNcajN8", + "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/d6125855-471f-442e-8cad-09e41d1d7e36?api-version=2024-07-10\u0026t=638639289877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YBBAGCN3sEAjAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAG0WbzLPsmSSMI7aTe2npixmkdCmwcdZHGd43tUnB8JKrLNJEFcBsQmbcIH0adpnQNrDgRkNBBOTZ4s1LIBlRQapZpPsRItAMUguVpGVRH08T0i43w9xrp_clNbAJrrfRbmYroF0WJKMJ0nwW2rPjxdevSRygGK_nEfywwFi-p1RhHnkiEGL4GnP7PpQcRvAYMdH9LO5MRY7iLbBmosKatS_eWtSJD1CvzglNwy_vQzx81Vnk0CgndqXcVq-loGu7R4U7mkQ2NNqLbp447STxkpP-6Mdyv8J4bdnf1s3vFBNpgvJWKogWcNLlo8jnkbEf6RPNGe1W5lma7JwMKAcPzY\u0026s=YRrOTE9UK81UBFcNzzQopR2JhMlnwzNRGSn2rwkFOA-cTvcIRuwKqhZUtLAW70fDLEz0_iv8nWln1HpQA93h3Miq7vzInGYRAMOHhwf5iYMQaGEroIaEeqD0MQ9vdHV579H2X0GMcohA-T6MEF_BcGtltv4v1lsKCda89XqNb06Mo-4E0xzT8O8mIY3-yTUgfGGrFdiVR9VWg8aQbFdnT9Df1Bv5yWW7VXvxK3iMHVMH85gCa24ug3Yz3KK03nDUZdmz8mxtZSyQ2u9wFWbb8gzytuc_dTX64Gk4bsnylj9pJwqSVZyewAP9hMSmXhegMM-9cVVmLLB4WNHiQySjbg\u0026h=VwoMho8t4rV114fCExLxomOQgba8Fa7Z6i8WI9m_icU", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "9" ], - "x-ms-client-request-id": [ "87cf4a6f-1972-4464-8617-edfd37d526ce" ], + "x-ms-client-request-id": [ "b9ab0a74-7091-47c1-a496-654d899b998e" ], "CommandName": [ "Remove-AzConnectedMachineExtension" ], "FullCommandName": [ "Remove-AzConnectedMachineExtension_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.5.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.1.0" ] }, "ContentHeaders": { } @@ -382,42 +382,42 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationresults/4a68e5dd-4a32-4a27-9fbd-8a918ed9db1f?api-version=2024-05-20-preview\u0026t=638623860128525452\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwNjIyMjE1NzIzWhcNMjUwNjE3MjE1NzIzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALhRxgv00I_kIXwCJCxn0QIbiBxztKV5N7VUsmJclkirZBo6v69H49qwFEyTyf6TsDRZiDyUNhhfYpqgthcgDoGvOa0_uYNIt0GINfkDoySgM3HurzdD12Zyaj2woPrEkxHdoetI4nepp_ytiAmF81Z7YZyv05HKxV_WspPeyLBxorHcJ_drtY13Ez5tLDFiX_NnqLjf1oZojfYarEmVhETopjp53RxjVOKKRI4K2YWjs44wk0T2jaYGo5macYriIx3aHAxhN0aCURkqI1nWMC6SkdMrP1wdgAcHD5niTqQC5ql2zaSMLmcGFm50nyqRNylI1LJdmgPwGhN_dGd0E6ECAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVC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D71uakYFO1F44N-ZfNasQATw2shgRRmykxpMrp9ScCYbZis8-3DvBEJpfP6Z_i1jP3dumA\u0026h=Q0e5SrdO2BCD50PBWEhdAopRvOkC1gCMrzD-rV8LPBs" ], + "Location": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationresults/d6125855-471f-442e-8cad-09e41d1d7e36?api-version=2024-07-10\u0026t=638639290030624438\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwMjMxMTQxWhcNMjUwMzE5MjMxMTQxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKRtcYDBXS7zz5tRtvVyhrUAjudYhej1E2D3dp6XWuPdbVMbQZwMlye8vdT-kDhFD7T2mrdWqsoGnTGk0_xOHBfLGnW-0QRUqpeoTNIhu8vc2CfTUtm2t2s_-fzvFtRyhDA4mfCH1cz92EVj0vd3FD4ikW6bdOp1NkYFqUVBhKlbvJk6y-TbLFBLP5Zx4m0Ua-_P7aMzbgvOJgMOTC2jLs5w_lFDJWeP3IKUOiJmrfLpf4ey5Ov94oCE6YncDBSHJZKWcrSxDHgSz9AXrxarL4HLajGbF3MRvfkMN2gNXCoiJXBEqCLDnyQZ0BgXIvuK7vG8Rj0TyhJNj-QPr8taY6UCAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTV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LczbY6Cz4_oolKiIn1288aQUV6yE_YKApw" ], "Retry-After": [ "15" ], "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-request-id": [ "29d21997-5ea6-4d0f-89dc-ca3b393024a4" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/4a68e5dd-4a32-4a27-9fbd-8a918ed9db1f?api-version=2024-05-20-preview\u0026t=638623860128525452\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwNjIyMjE1NzIzWhcNMjUwNjE3MjE1NzIzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALhRxgv00I_kIXwCJCxn0QIbiBxztKV5N7VUsmJclkirZBo6v69H49qwFEyTyf6TsDRZiDyUNhhfYpqgthcgDoGvOa0_uYNIt0GINfkDoySgM3HurzdD12Zyaj2woPrEkxHdoetI4nepp_ytiAmF81Z7YZyv05HKxV_WspPeyLBxorHcJ_drtY13Ez5tLDFiX_NnqLjf1oZojfYarEmVhETopjp53RxjVOKKRI4K2YWjs44wk0T2jaYGo5macYriIx3aHAxhN0aCURkqI1nWMC6SkdMrP1wdgAcHD5niTqQC5ql2zaSMLmcGFm50nyqRNylI1LJdmgPwGhN_dGd0E6ECAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBB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AhzkYwGtoTJEXWx7FWo6j8gdb8bhV6Kw\u0026h=zWtQ0Obyv6kKb5iHbin9HVmeZ8dHN7yCPERg830mYew" ], - "x-ms-correlation-request-id": [ "98b6f3f5-5d6c-4741-a745-f2d911c4a387" ], - "x-ms-routing-request-id": [ "EASTUS:20240919T234012Z:98b6f3f5-5d6c-4741-a745-f2d911c4a387" ], + "x-ms-request-id": [ "e1175a68-ad11-40f3-be38-50a850a9c422" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/d6125855-471f-442e-8cad-09e41d1d7e36?api-version=2024-07-10\u0026t=638639290030468160\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwMjMxMTQxWhcNMjUwMzE5MjMxMTQxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKRtcYDBXS7zz5tRtvVyhrUAjudYhej1E2D3dp6XWuPdbVMbQZwMlye8vdT-kDhFD7T2mrdWqsoGnTGk0_xOHBfLGnW-0QRUqpeoTNIhu8vc2CfTUtm2t2s_-fzvFtRyhDA4mfCH1cz92EVj0vd3FD4ikW6bdOp1NkYFqUVBhKlbvJk6y-TbLFBLP5Zx4m0Ua-_P7aMzbgvOJgMOTC2jLs5w_lFDJWeP3IKUOiJmrfLpf4ey5Ov94oCE6YncDBSHJZKWcrSxDHgSz9AXrxarL4HLajGbF3MRvfkMN2gNXCoiJXBEqCLDnyQZ0BgXIvuK7vG8Rj0Ty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NKMCCOfeLXy0I0-MPAYJu19PpwSlVkOYycanozmp0ixGzIe4GQvIuxwQAJBZktEbZCLoNjSd1xhWwnjmHGOq0Goi-J9EwsvnbZTGWpsTJE6iaXfjGYaedUe_fg\u0026h=JcnEkVFcDsGIUbAiT7HJ4nV7cWCeKqG5eOKf9OIDFUw" ], + "x-ms-correlation-request-id": [ "a9088933-15d9-4dff-b77f-629a4c14bba1" ], + "x-ms-routing-request-id": [ "EASTUS:20241007T201643Z:a9088933-15d9-4dff-b77f-629a4c14bba1" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: C0AF641589394E59AA416DEAD2E9BC55 Ref B: MNZ221060609047 Ref C: 2024-09-19T23:40:12Z" ], - "Date": [ "Thu, 19 Sep 2024 23:40:12 GMT" ] + "X-MSEdge-Ref": [ "Ref A: D4D8FA400B2D4452B787A8767A05BF0B Ref B: MNZ221060619025 Ref C: 2024-10-07T20:16:42Z" ], + "Date": [ "Mon, 07 Oct 2024 20:16:42 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "111" ], + "Content-Length": [ "112" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"4a68e5dd-4a32-4a27-9fbd-8a918ed9db1f\",\"status\":\"InProgress\",\"startTime\":\"2024-09-19T23:38:09.229909Z\"}", + "Content": "{\"name\":\"d6125855-471f-442e-8cad-09e41d1d7e36\",\"status\":\"InProgress\",\"startTime\":\"2024-10-07T20:14:40.1540388Z\"}", "isContentBase64": false } }, - "Remove-AzConnectedMachineExtension+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/4a68e5dd-4a32-4a27-9fbd-8a918ed9db1f?api-version=2024-05-20-preview\u0026t=638623860128525452\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objz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BgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADe3mHC76LsKVL9fkhYlwBSfOx_cb-6YFuiqGA60VGCoc_qwfcn9leu0FbnJEquloNzG8tG_ZwhaFVsQ-_we0Vgl03BjC-BOem7ZES6XywaYv4X1vEBc0SNaQ8EQVToFyCD9wf1ZGu5uv4jk-oILXl_CzdRsvuGKmprgkbrMIS6t5V8ds7REAX8SiE37hqdZU5hNT74RwV32cg3gLtbUsPK22Kv1gf5KsCUZe9tEsEkyq_bSxaNCWnh3lfmsstE0Jo_zL1O6cPKMMtvD21xFYchjWKjYGr1p5mGiM-OLLi8_ETKkYQTS0_gB7wZOGtsc0pIsvgAnqA-sMNn8Oy953Q4\u0026s=qKIttgzOvPVieN1LM65XagBWzabfB6nEOX-dE1QLfNDsGOecOZdgM02Av-xGiEKOC2UAPuehSqVSf77mBND4Tl8Zv8T7-Eghj0ExwstC3O77_VoYW5VUTvxf7m0AfCF5ohQ7NBGQkX3s0Pvt6wZhdYQ4ateC8iKRLQU66L3PZsXz5lJNBYCz0Pwxqy4sRBvw-dLQOssrB2B_NyMKA3Swbyz--o0Bd-Y-Xc-M8qoj3ly3XxdrXmVL6Lvn-0e9W9HcJyk0cOpQ8sGLmzWLlWa8WtVO9fYzuB0UAm0DClOFBm80fP35wQ9PArAhzkYwGtoTJEXWx7FWo6j8gdb8bhV6Kw\u0026h=zWtQ0Obyv6kKb5iHbin9HVmeZ8dHN7yCPERg830mYew+10": { + "Remove-AzConnectedMachineExtension+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/d6125855-471f-442e-8cad-09e41d1d7e36?api-version=2024-07-10\u0026t=638639290030468160\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYK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NAQELBQADggEBAG0WbzLPsmSSMI7aTe2npixmkdCmwcdZHGd43tUnB8JKrLNJEFcBsQmbcIH0adpnQNrDgRkNBBOTZ4s1LIBlRQapZpPsRItAMUguVpGVRH08T0i43w9xrp_clNbAJrrfRbmYroF0WJKMJ0nwW2rPjxdevSRygGK_nEfywwFi-p1RhHnkiEGL4GnP7PpQcRvAYMdH9LO5MRY7iLbBmosKatS_eWtSJD1CvzglNwy_vQzx81Vnk0CgndqXcVq-loGu7R4U7mkQ2NNqLbp447STxkpP-6Mdyv8J4bdnf1s3vFBNpgvJWKogWcNLlo8jnkbEf6RPNGe1W5lma7JwMKAcPzY\u0026s=F-UcJjhaNGaqHsfilpYlGaMFGyVAIoID5WW0AhcHaY4hFU6AcLD2Bz35C-Sd2LDX0H4kF7j8Wr9miGaYAtA8d2lWWClUofs9U1CuBbfOsFcGcEWxZxseGj7r13LQ_GDeoPcPSucWS1Fkr3K-csAectlgMLwGNqEDoTeyJo8XyUgVLS9D4b7osH4ptjKaGEq73k-_5GuJcz8XMr0iiI79H1bn2ee3NKMCCOfeLXy0I0-MPAYJu19PpwSlVkOYycanozmp0ixGzIe4GQvIuxwQAJBZktEbZCLoNjSd1xhWwnjmHGOq0Goi-J9EwsvnbZTGWpsTJE6iaXfjGYaedUe_fg\u0026h=JcnEkVFcDsGIUbAiT7HJ4nV7cWCeKqG5eOKf9OIDFUw+10": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/4a68e5dd-4a32-4a27-9fbd-8a918ed9db1f?api-version=2024-05-20-preview\u0026t=638623860128525452\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ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whaFVsQ-_we0Vgl03BjC-BOem7ZES6XywaYv4X1vEBc0SNaQ8EQVToFyCD9wf1ZGu5uv4jk-oILXl_CzdRsvuGKmprgkbrMIS6t5V8ds7REAX8SiE37hqdZU5hNT74RwV32cg3gLtbUsPK22Kv1gf5KsCUZe9tEsEkyq_bSxaNCWnh3lfmsstE0Jo_zL1O6cPKMMtvD21xFYchjWKjYGr1p5mGiM-OLLi8_ETKkYQTS0_gB7wZOGtsc0pIsvgAnqA-sMNn8Oy953Q4\u0026s=qKIttgzOvPVieN1LM65XagBWzabfB6nEOX-dE1QLfNDsGOecOZdgM02Av-xGiEKOC2UAPuehSqVSf77mBND4Tl8Zv8T7-Eghj0ExwstC3O77_VoYW5VUTvxf7m0AfCF5ohQ7NBGQkX3s0Pvt6wZhdYQ4ateC8iKRLQU66L3PZsXz5lJNBYCz0Pwxqy4sRBvw-dLQOssrB2B_NyMKA3Swbyz--o0Bd-Y-Xc-M8qoj3ly3XxdrXmVL6Lvn-0e9W9HcJyk0cOpQ8sGLmzWLlWa8WtVO9fYzuB0UAm0DClOFBm80fP35wQ9PArAhzkYwGtoTJEXWx7FWo6j8gdb8bhV6Kw\u0026h=zWtQ0Obyv6kKb5iHbin9HVmeZ8dHN7yCPERg830mYew", + "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/d6125855-471f-442e-8cad-09e41d1d7e36?api-version=2024-07-10\u0026t=638639290030468160\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwMjMxMTQxWhcNMjUwMzE5MjMxMTQxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmd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0nwW2rPjxdevSRygGK_nEfywwFi-p1RhHnkiEGL4GnP7PpQcRvAYMdH9LO5MRY7iLbBmosKatS_eWtSJD1CvzglNwy_vQzx81Vnk0CgndqXcVq-loGu7R4U7mkQ2NNqLbp447STxkpP-6Mdyv8J4bdnf1s3vFBNpgvJWKogWcNLlo8jnkbEf6RPNGe1W5lma7JwMKAcPzY\u0026s=F-UcJjhaNGaqHsfilpYlGaMFGyVAIoID5WW0AhcHaY4hFU6AcLD2Bz35C-Sd2LDX0H4kF7j8Wr9miGaYAtA8d2lWWClUofs9U1CuBbfOsFcGcEWxZxseGj7r13LQ_GDeoPcPSucWS1Fkr3K-csAectlgMLwGNqEDoTeyJo8XyUgVLS9D4b7osH4ptjKaGEq73k-_5GuJcz8XMr0iiI79H1bn2ee3NKMCCOfeLXy0I0-MPAYJu19PpwSlVkOYycanozmp0ixGzIe4GQvIuxwQAJBZktEbZCLoNjSd1xhWwnjmHGOq0Goi-J9EwsvnbZTGWpsTJE6iaXfjGYaedUe_fg\u0026h=JcnEkVFcDsGIUbAiT7HJ4nV7cWCeKqG5eOKf9OIDFUw", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "10" ], - "x-ms-client-request-id": [ "87cf4a6f-1972-4464-8617-edfd37d526ce" ], + "x-ms-client-request-id": [ "b9ab0a74-7091-47c1-a496-654d899b998e" ], "CommandName": [ "Remove-AzConnectedMachineExtension" ], "FullCommandName": [ "Remove-AzConnectedMachineExtension_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.5.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.1.0" ] }, "ContentHeaders": { } @@ -429,37 +429,37 @@ "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-request-id": [ "e65b1a03-b363-4690-8019-e2e396d4e019" ], - "x-ms-correlation-request-id": [ "433e5f6b-9d5f-449d-99b4-f96cceb334db" ], - "x-ms-routing-request-id": [ "EASTUS:20240919T234028Z:433e5f6b-9d5f-449d-99b4-f96cceb334db" ], + "x-ms-request-id": [ "1820a951-a9db-4887-a9c3-1241490ea100" ], + "x-ms-correlation-request-id": [ "e4069ba1-b74c-4c28-8898-035e0a899104" ], + "x-ms-routing-request-id": [ "EASTUS:20241007T201658Z:e4069ba1-b74c-4c28-8898-035e0a899104" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: F1D34710CBA448A986BD8B738F4BB77B Ref B: MNZ221060609047 Ref C: 2024-09-19T23:40:28Z" ], - "Date": [ "Thu, 19 Sep 2024 23:40:27 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 47CFC630FF8043BA9E28BF1E8AB98D0C Ref B: MNZ221060619025 Ref C: 2024-10-07T20:16:58Z" ], + "Date": [ "Mon, 07 Oct 2024 20:16:58 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "110" ], + "Content-Length": [ "111" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"4a68e5dd-4a32-4a27-9fbd-8a918ed9db1f\",\"status\":\"Succeeded\",\"startTime\":\"2024-09-19T23:38:09.229909Z\"}", + "Content": "{\"name\":\"d6125855-471f-442e-8cad-09e41d1d7e36\",\"status\":\"Succeeded\",\"startTime\":\"2024-10-07T20:14:40.1540388Z\"}", "isContentBase64": false } }, - "Remove-AzConnectedMachineExtension+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationresults/4a68e5dd-4a32-4a27-9fbd-8a918ed9db1f?api-version=2024-05-20-preview\u0026t=638623858893628307\u0026c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XYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADe3mHC76LsKVL9fkhYlwBSfOx_cb-6YFuiqGA60VGCoc_qwfcn9leu0FbnJEquloNzG8tG_ZwhaFVsQ-_we0Vgl03BjC-BOem7ZES6XywaYv4X1vEBc0SNaQ8EQVToFyCD9wf1ZGu5uv4jk-oILXl_CzdRsvuGKmprgkbrMIS6t5V8ds7REAX8SiE37hqdZU5hNT74RwV32cg3gLtbUsPK22Kv1gf5KsCUZe9tEsEkyq_bSxaNCWnh3lfmsstE0Jo_zL1O6cPKMMtvD21xFYchjWKjYGr1p5mGiM-OLLi8_ETKkYQTS0_gB7wZOGtsc0pIsvgAnqA-sMNn8Oy953Q4\u0026s=bYeSyU7dcKQ3SPQPeMZOHfDFgxxZYx1ojLCmboZGzBb0GBt5wC1-x2PyiGlA725wR97igtO0Y52srYDJ4AaoYcUfPpkSKujshZB07jenz5dDkjPKx2lSl3uRLpBeQNH-52ItdoqMzyDW_nlvl3oYrhhlOBNS2cts8QuVVKenDVycWIaS5KEnpPGGdUwbmq0jh0M1qXND9jFgNt2wCQO7UR9-QWcls4VY17HC5-JZh27ZoHho-3IrC76tXM_lNxlpFy0-F5c96ExjWTaTppIL5FNPma6ts4WkJXfWF8MivX0cGwpZIOT5N9wua6zcDLeBZGSY5uVc6-qWhU8QZ53j4Q\u0026h=sMQxprppMoqNjRIW0E5zdhqEu44yZngmv-TuJODFoYE+11": { + "Remove-AzConnectedMachineExtension+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationresults/d6125855-471f-442e-8cad-09e41d1d7e36?api-version=2024-07-10\u0026t=638639288802249175\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQB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HAwIwDQYJKoZIhvcNAQELBQADggEBAG0WbzLPsmSSMI7aTe2npixmkdCmwcdZHGd43tUnB8JKrLNJEFcBsQmbcIH0adpnQNrDgRkNBBOTZ4s1LIBlRQapZpPsRItAMUguVpGVRH08T0i43w9xrp_clNbAJrrfRbmYroF0WJKMJ0nwW2rPjxdevSRygGK_nEfywwFi-p1RhHnkiEGL4GnP7PpQcRvAYMdH9LO5MRY7iLbBmosKatS_eWtSJD1CvzglNwy_vQzx81Vnk0CgndqXcVq-loGu7R4U7mkQ2NNqLbp447STxkpP-6Mdyv8J4bdnf1s3vFBNpgvJWKogWcNLlo8jnkbEf6RPNGe1W5lma7JwMKAcPzY\u0026s=UK_l6IG4vzHgn0rpotCG11KY0cHHacPZI6J44Vw22Yfmi-crOed-6JG6zoFLnYWAS9E4E061058vS18PK2W9fYLvdvoqa13PUJWyiFS14atcyK24WfYTn52DyFHbtQ3M9h0hyeIrlVLvgIPCgl5NmLZOb342f4iBqJ0j84LGGSR8xk7LqzdV9BPT6Y52e17zaCY-lwLqFQDt_XHQPhRHZESV_SmXSCS1Rw9bPw3XQW5Z0IlRMrqrUkmxPE_9xSpmhVNp2Wx4zbpaccFdPJuDid4TKOPQX0raRBihiO7vvWSOyQy_ZOPX8gnxNElxLSAn6QhjXP3R9v8zu0hMO0DPqA\u0026h=PTn80asf2zideks9681CsnZdCHFlxtare_wQjCrf_-o+11": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationresults/4a68e5dd-4a32-4a27-9fbd-8a918ed9db1f?api-version=2024-05-20-preview\u0026t=638623858893628307\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmE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ZwhaFVsQ-_we0Vgl03BjC-BOem7ZES6XywaYv4X1vEBc0SNaQ8EQVToFyCD9wf1ZGu5uv4jk-oILXl_CzdRsvuGKmprgkbrMIS6t5V8ds7REAX8SiE37hqdZU5hNT74RwV32cg3gLtbUsPK22Kv1gf5KsCUZe9tEsEkyq_bSxaNCWnh3lfmsstE0Jo_zL1O6cPKMMtvD21xFYchjWKjYGr1p5mGiM-OLLi8_ETKkYQTS0_gB7wZOGtsc0pIsvgAnqA-sMNn8Oy953Q4\u0026s=bYeSyU7dcKQ3SPQPeMZOHfDFgxxZYx1ojLCmboZGzBb0GBt5wC1-x2PyiGlA725wR97igtO0Y52srYDJ4AaoYcUfPpkSKujshZB07jenz5dDkjPKx2lSl3uRLpBeQNH-52ItdoqMzyDW_nlvl3oYrhhlOBNS2cts8QuVVKenDVycWIaS5KEnpPGGdUwbmq0jh0M1qXND9jFgNt2wCQO7UR9-QWcls4VY17HC5-JZh27ZoHho-3IrC76tXM_lNxlpFy0-F5c96ExjWTaTppIL5FNPma6ts4WkJXfWF8MivX0cGwpZIOT5N9wua6zcDLeBZGSY5uVc6-qWhU8QZ53j4Q\u0026h=sMQxprppMoqNjRIW0E5zdhqEu44yZngmv-TuJODFoYE", + "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationresults/d6125855-471f-442e-8cad-09e41d1d7e36?api-version=2024-07-10\u0026t=638639288802249175\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwMjMxMTQxWhcNMjUwMzE5MjMxMTQxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0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GK_nEfywwFi-p1RhHnkiEGL4GnP7PpQcRvAYMdH9LO5MRY7iLbBmosKatS_eWtSJD1CvzglNwy_vQzx81Vnk0CgndqXcVq-loGu7R4U7mkQ2NNqLbp447STxkpP-6Mdyv8J4bdnf1s3vFBNpgvJWKogWcNLlo8jnkbEf6RPNGe1W5lma7JwMKAcPzY\u0026s=UK_l6IG4vzHgn0rpotCG11KY0cHHacPZI6J44Vw22Yfmi-crOed-6JG6zoFLnYWAS9E4E061058vS18PK2W9fYLvdvoqa13PUJWyiFS14atcyK24WfYTn52DyFHbtQ3M9h0hyeIrlVLvgIPCgl5NmLZOb342f4iBqJ0j84LGGSR8xk7LqzdV9BPT6Y52e17zaCY-lwLqFQDt_XHQPhRHZESV_SmXSCS1Rw9bPw3XQW5Z0IlRMrqrUkmxPE_9xSpmhVNp2Wx4zbpaccFdPJuDid4TKOPQX0raRBihiO7vvWSOyQy_ZOPX8gnxNElxLSAn6QhjXP3R9v8zu0hMO0DPqA\u0026h=PTn80asf2zideks9681CsnZdCHFlxtare_wQjCrf_-o", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "11" ], - "x-ms-client-request-id": [ "87cf4a6f-1972-4464-8617-edfd37d526ce" ], + "x-ms-client-request-id": [ "b9ab0a74-7091-47c1-a496-654d899b998e" ], "CommandName": [ "Remove-AzConnectedMachineExtension" ], "FullCommandName": [ "Remove-AzConnectedMachineExtension_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.5.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.1.0" ] }, "ContentHeaders": { } @@ -470,14 +470,14 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-request-id": [ "29957702-cd6a-436f-b631-e8e0632e4105" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], - "x-ms-correlation-request-id": [ "cd29a43a-9b6d-4e59-b253-6e1c9be5cc35" ], - "x-ms-routing-request-id": [ "EASTUS:20240919T234028Z:cd29a43a-9b6d-4e59-b253-6e1c9be5cc35" ], + "x-ms-request-id": [ "a1c97c65-9638-4bec-97c5-920facc665c2" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], + "x-ms-correlation-request-id": [ "f3b1d97c-034a-4bc2-832b-5871ae0d14ed" ], + "x-ms-routing-request-id": [ "EASTUS:20241007T201658Z:f3b1d97c-034a-4bc2-832b-5871ae0d14ed" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 7A306CD8EDD640CB97AA80343908E5EE Ref B: MNZ221060609047 Ref C: 2024-09-19T23:40:28Z" ], - "Date": [ "Thu, 19 Sep 2024 23:40:27 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 52FB7FB17ADE4EF39A0064D18AE3635E Ref B: MNZ221060619025 Ref C: 2024-10-07T20:16:58Z" ], + "Date": [ "Mon, 07 Oct 2024 20:16:58 GMT" ] }, "ContentHeaders": { "Content-Type": [ "application/json" ], diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/test/Remove-AzConnectedMachineRunCommand.Recording.json b/src/ConnectedMachine/ConnectedMachine.Autorest/test/Remove-AzConnectedMachineRunCommand.Recording.json deleted file mode 100644 index 3023c475388e..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/test/Remove-AzConnectedMachineRunCommand.Recording.json +++ /dev/null @@ -1,176 +0,0 @@ -{ - "Remove-AzConnectedMachineRunCommand+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine/runCommands/myRunCommand?api-version=2024-05-20-preview+1": { - "Request": { - "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine/runCommands/myRunCommand?api-version=2024-05-20-preview", - "Content": null, - "isContentBase64": false, - "Headers": { - "x-ms-unique-id": [ "1" ], - "x-ms-client-request-id": [ "d7dd918b-6b0f-457a-aa2e-d1781cf3fcc3" ], - "CommandName": [ "Remove-AzConnectedMachineRunCommand" ], - "FullCommandName": [ "Remove-AzConnectedMachineRunCommand_Delete" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.5.0" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationresults/791ab704-3b56-41c3-a1f1-0893c37bdc02?api-version=2024-05-20-preview\u0026t=638623989741312256\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwNjIyMjE1NzIzWhcNMjUwNjE3MjE1NzIzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALhRxgv00I_kIXwCJCxn0QIbiBxztKV5N7VUsmJclkirZBo6v69H49qwFEyTyf6TsDRZiDyUNhhfYpqgthcgDoGvOa0_uYNIt0GINfkD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gGRV3UOIjFC_6q_r8j5wo4ZlrJZ4iM1mJvIzQ4cZ5tMZLgaGU5Tb8hyAn0aPVkLjeVcE1_8WJyr5a1qwy2Ek7gXoThObZbJiU-CZ_n7yNuEJM2drehwtUq3QT3NiVjuX67utYTGbGgIlzz2sdq9BKzKznB2Epb4v2iUwaHlbQHhrMC-S2_3VViH3bfY8sGW2OhzaJOboMIoHSzy2TDgrqSgZ_cBLnHQhTudm5WWm1QfuwU9_XlPohGwVSYrSGIi-XDIGuTrPwBwlAKedLfDxqhvtAPcGCdDeCHLKkFAYfIqd4a044iA0DgCgBZn4JrcCmBnfi2-X6SooQRJ6BQ\u0026h=JmYid71TvskgsW7gpjE1OcCSmteAOaKlBi85GkYsDr8" ], - "Retry-After": [ "120" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-request-id": [ "df374fba-b184-4593-8f09-ad77627998af" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/791ab704-3b56-41c3-a1f1-0893c37bdc02?api-version=2024-05-20-preview\u0026t=638623989741312256\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwNjIyMjE1NzIzWhcNMjUwNjE3MjE1NzIzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALhRxgv00I_kIXwCJCxn0QIbiBxztKV5N7VUsmJclkirZBo6v69H49qwFEyTyf6TsDRZiDyUNhhfYpqgthcgDoGvOa0_uY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\u0026s=baN-yBGxcckwOZOl3wuC4kKLsD_U86Y9Zbfpl87PSV_F7GwRPCHla2O8SeO3gnL49Z_17UIthB9cFcp6WCZKpZOuk5YVwcNvhKonCyKNYq2D4LlVFSTti4pGANOzZyDerSiL_6yDaGmcYTRaY23zo3JImxUirpu6hoQiYq7oWvvp2l27XkprZgmBhuXdcur-gt2aTUsFiRFcuYxBpgRJpq3ifqM_G5eDnKQXrzU8y-ZMCuDurZ3NVybZxdBslR12i-fZ8kOFfDmqcVtsqQP3QCaOWGxo0dd0R-xiBTh87d1zQFBtuC8xKlZH5wDnEdFjjU6jp9sZLlgKsnG6FTbOLQ\u0026h=_Q4504afTJaR3Ir9r1tIlaElQn0YTlOAy0lljFouKw4" ], - "x-ms-ratelimit-remaining-subscription-deletes": [ "14999" ], - "x-ms-correlation-request-id": [ "19f3ef21-0f31-478f-aeaa-71fc525e1b7e" ], - "x-ms-routing-request-id": [ "EASTUS:20240920T031614Z:19f3ef21-0f31-478f-aeaa-71fc525e1b7e" ], - "X-Content-Type-Options": [ "nosniff" ], - "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: D3BDC2F9B06F450888DFD91AA775A3BE Ref B: MNZ221060619037 Ref C: 2024-09-20T03:16:13Z" ], - "Date": [ "Fri, 20 Sep 2024 03:16:13 GMT" ] - }, - "ContentHeaders": { - "Content-Type": [ "application/json" ], - "Expires": [ "-1" ], - "Content-Length": [ "0" ] - }, - "Content": null, - "isContentBase64": false - } - }, - "Remove-AzConnectedMachineRunCommand+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/791ab704-3b56-41c3-a1f1-0893c37bdc02?api-version=2024-05-20-preview\u0026t=638623989741312256\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyL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e3mHC76LsKVL9fkhYlwBSfOx_cb-6YFuiqGA60VGCoc_qwfcn9leu0FbnJEquloNzG8tG_ZwhaFVsQ-_we0Vgl03BjC-BOem7ZES6XywaYv4X1vEBc0SNaQ8EQVToFyCD9wf1ZGu5uv4jk-oILXl_CzdRsvuGKmprgkbrMIS6t5V8ds7REAX8SiE37hqdZU5hNT74RwV32cg3gLtbUsPK22Kv1gf5KsCUZe9tEsEkyq_bSxaNCWnh3lfmsstE0Jo_zL1O6cPKMMtvD21xFYchjWKjYGr1p5mGiM-OLLi8_ETKkYQTS0_gB7wZOGtsc0pIsvgAnqA-sMNn8Oy953Q4\u0026s=baN-yBGxcckwOZOl3wuC4kKLsD_U86Y9Zbfpl87PSV_F7GwRPCHla2O8SeO3gnL49Z_17UIthB9cFcp6WCZKpZOuk5YVwcNvhKonCyKNYq2D4LlVFSTti4pGANOzZyDerSiL_6yDaGmcYTRaY23zo3JImxUirpu6hoQiYq7oWvvp2l27XkprZgmBhuXdcur-gt2aTUsFiRFcuYxBpgRJpq3ifqM_G5eDnKQXrzU8y-ZMCuDurZ3NVybZxdBslR12i-fZ8kOFfDmqcVtsqQP3QCaOWGxo0dd0R-xiBTh87d1zQFBtuC8xKlZH5wDnEdFjjU6jp9sZLlgKsnG6FTbOLQ\u0026h=_Q4504afTJaR3Ir9r1tIlaElQn0YTlOAy0lljFouKw4+2": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/791ab704-3b56-41c3-a1f1-0893c37bdc02?api-version=2024-05-20-preview\u0026t=638623989741312256\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcN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Vgl03BjC-BOem7ZES6XywaYv4X1vEBc0SNaQ8EQVToFyCD9wf1ZGu5uv4jk-oILXl_CzdRsvuGKmprgkbrMIS6t5V8ds7REAX8SiE37hqdZU5hNT74RwV32cg3gLtbUsPK22Kv1gf5KsCUZe9tEsEkyq_bSxaNCWnh3lfmsstE0Jo_zL1O6cPKMMtvD21xFYchjWKjYGr1p5mGiM-OLLi8_ETKkYQTS0_gB7wZOGtsc0pIsvgAnqA-sMNn8Oy953Q4\u0026s=baN-yBGxcckwOZOl3wuC4kKLsD_U86Y9Zbfpl87PSV_F7GwRPCHla2O8SeO3gnL49Z_17UIthB9cFcp6WCZKpZOuk5YVwcNvhKonCyKNYq2D4LlVFSTti4pGANOzZyDerSiL_6yDaGmcYTRaY23zo3JImxUirpu6hoQiYq7oWvvp2l27XkprZgmBhuXdcur-gt2aTUsFiRFcuYxBpgRJpq3ifqM_G5eDnKQXrzU8y-ZMCuDurZ3NVybZxdBslR12i-fZ8kOFfDmqcVtsqQP3QCaOWGxo0dd0R-xiBTh87d1zQFBtuC8xKlZH5wDnEdFjjU6jp9sZLlgKsnG6FTbOLQ\u0026h=_Q4504afTJaR3Ir9r1tIlaElQn0YTlOAy0lljFouKw4", - "Content": null, - "isContentBase64": false, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "2" ], - "x-ms-client-request-id": [ "d7dd918b-6b0f-457a-aa2e-d1781cf3fcc3" ], - "CommandName": [ "Remove-AzConnectedMachineRunCommand" ], - "FullCommandName": [ "Remove-AzConnectedMachineRunCommand_Delete" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.5.0" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationresults/791ab704-3b56-41c3-a1f1-0893c37bdc02?api-version=2024-05-20-preview\u0026t=638623990954516379\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwNjIyMjE1NzIzWhcNMjUwNjE3MjE1NzIzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALhRxgv00I_kIXwCJCxn0QIbiBxztKV5N7VUsmJclkirZBo6v69H49qwFEyTyf6TsDRZiDyUNhhfYpqgthcgDoGvOa0_uYNIt0GINfkDoySgM3HurzdD12Zyaj2woPrEkxHdoetI4nepp_ytiAmF81Z7YZyv05HKxV_WspPeyLBxorHcJ_drtY13Ez5tLDFiX_NnqLjf1oZojfYarEmVhETopjp53RxjVOKKRI4K2YWjs44wk0T2jaYGo5macYriIx3aHAxhN0aCURkqI1nWMC6SkdMrP1wdgAcHD5niTqQC5ql2zaSMLmcGFm50nyqRNylI1LJdmgPwGhN_dGd0E6ECAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjA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YgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwEwDAYKKwYBBAGCN3sEATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADe3mHC76LsKVL9fkhYlwBSfOx_cb-6YFuiqGA60VGCoc_qwfcn9leu0FbnJEquloNzG8tG_ZwhaFVsQ-_we0Vgl03BjC-BOem7ZES6XywaYv4X1vEBc0SNaQ8EQVToFyCD9wf1ZGu5uv4jk-oILXl_CzdRsvuGKmprgkbrMIS6t5V8ds7REAX8SiE37hqdZU5hNT74RwV32cg3gLtbUsPK22Kv1gf5KsCUZe9tEsEkyq_bSxaNCWnh3lfmsstE0Jo_zL1O6cPKMMtvD21xFYchjWKjYGr1p5mGiM-OLLi8_ETKkYQTS0_gB7wZOGtsc0pIsvgAnqA-sMNn8Oy953Q4\u0026s=I_ysbZ7gR7_Yg8KjywcWjV4ZrHWOJI2W_rWhmXaBO7214HU4HA3Q4YO55pY3DsC0CzOBRY7ayfMeFEq0DWHrQyTcKzKlskhUIyZCXdIiJ36QP0XLBoWZKJZDc5_3aLyUDr5_4ObpbL2eyrR1zL_xBBxjAa0iS0CFf3EcWi9061AzmeUVeq-4XvM0s3DqwC2lFHjR1Bg8ncypWz1PX4X16P4VCbtAaW_6HICOZ48MbzpaAwgpwxMeS_evQYJZ64MJPU91CXZUdkMVoJVDRHE9DRw22xavxYcZcwm2B3lw6Zb7-_aHUpDtDoqzG5qvv69mr3uFyxNZlWTmVR6_4Uiyhg\u0026h=dln9aPRxkzVsW_PYlZaBnc5QTXGUIXpyf1RsmwzJFoQ" ], - "Retry-After": [ "15" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-request-id": [ "222a07fc-7e89-446a-b0e7-8ecd650bdd9f" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/791ab704-3b56-41c3-a1f1-0893c37bdc02?api-version=2024-05-20-preview\u0026t=638623990954360151\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwNjIyMjE1NzIzWhcNMjUwNjE3MjE1NzIzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALhRxgv00I_kIXwCJCxn0QIbiBxztKV5N7VUsmJclkirZBo6v69H49qwFEyTyf6TsDRZiDyUNhhfYpqgthcgDoGvOa0_uYNIt0GINfkDoySgM3HurzdD12Zyaj2woPrEkxHdoetI4nepp_ytiAmF81Z7YZyv05HKxV_WspPeyLBxorHcJ_drtY13Ez5tLDFiX_NnqLjf1oZojfYarEmVhETopjp53RxjVOKKRI4K2YWjs44wk0T2jaYGo5macYriIx3aHAxhN0aCURkqI1nWMC6SkdMrP1wdgAcHD5niTqQC5ql2zaSMLmcGFm50nyqRNylI1LJdmgPwGhN_dGd0E6ECAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xU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AMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwEwDAYKKwYBBAGCN3sEATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADe3mHC76LsKVL9fkhYlwBSfOx_cb-6YFuiqGA60VGCoc_qwfcn9leu0FbnJEquloNzG8tG_ZwhaFVsQ-_we0Vgl03BjC-BOem7ZES6XywaYv4X1vEBc0SNaQ8EQVToFyCD9wf1ZGu5uv4jk-oILXl_CzdRsvuGKmprgkbrMIS6t5V8ds7REAX8SiE37hqdZU5hNT74RwV32cg3gLtbUsPK22Kv1gf5KsCUZe9tEsEkyq_bSxaNCWnh3lfmsstE0Jo_zL1O6cPKMMtvD21xFYchjWKjYGr1p5mGiM-OLLi8_ETKkYQTS0_gB7wZOGtsc0pIsvgAnqA-sMNn8Oy953Q4\u0026s=QvlLmi0LPm-4dpvDQXVe_-oMROds-PSZ6aLaxF0L4GKRCZ3WZ4jpSjl6yCW-cI14VFQFiZZRv1cQI0Vgi4YJdbqW2h4kdCPLpLx6srrk7XKqc9kWBAM0WNO2m3P91CW9mjM1KPQVfLQu5FaTeoMxXBP6vq2M18-y7w-P4G2RZG38auVhwDv7GKBZCuFqQBy1yjuBmh0qCPzBrUq_1wqq2ADjZBxLR9H_eDK-8TJv-038u6xFyZ2TYRjWG6i8yP2vWbtOGamGXNel8GpQBtK30C5Y6gtyTplXfS0Qpos1bIqTHFS5betbVcCGvcVaXo_OoxKxpbejX3pQmMFxjAgQ3g\u0026h=BNtRzGGRc80t4aaYk1OQU1X6i6SYiRmg2cL28h6ihzo" ], - "x-ms-correlation-request-id": [ "5cd853f0-15a5-4f9c-ac66-2141dc9c50e8" ], - "x-ms-routing-request-id": [ "EASTUS:20240920T031815Z:5cd853f0-15a5-4f9c-ac66-2141dc9c50e8" ], - "X-Content-Type-Options": [ "nosniff" ], - "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 25371B4B3EA34B3F97C0E6DEBF8EA598 Ref B: MNZ221060608047 Ref C: 2024-09-20T03:18:15Z" ], - "Date": [ "Fri, 20 Sep 2024 03:18:15 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "112" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"791ab704-3b56-41c3-a1f1-0893c37bdc02\",\"status\":\"InProgress\",\"startTime\":\"2024-09-20T03:16:14.0872519Z\"}", - "isContentBase64": false - } - }, - "Remove-AzConnectedMachineRunCommand+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/791ab704-3b56-41c3-a1f1-0893c37bdc02?api-version=2024-05-20-preview\u0026t=638623990954360151\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwNjIyMjE1NzIzWhcNMjUwNjE3MjE1NzIzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALhRxgv00I_kIXwCJCxn0QIbiBxztKV5N7VUsmJclkirZBo6v69H49qwFEyTyf6TsDRZiDyUNhhfYpqgthcgDoGvOa0_uYNIt0GINfkDoySgM3HurzdD12Zyaj2woPrEkxHdoetI4nepp_ytiAmF81Z7YZyv05HKxV_WspPeyLBxorHcJ_drtY13Ez5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Vgi4YJdbqW2h4kdCPLpLx6srrk7XKqc9kWBAM0WNO2m3P91CW9mjM1KPQVfLQu5FaTeoMxXBP6vq2M18-y7w-P4G2RZG38auVhwDv7GKBZCuFqQBy1yjuBmh0qCPzBrUq_1wqq2ADjZBxLR9H_eDK-8TJv-038u6xFyZ2TYRjWG6i8yP2vWbtOGamGXNel8GpQBtK30C5Y6gtyTplXfS0Qpos1bIqTHFS5betbVcCGvcVaXo_OoxKxpbejX3pQmMFxjAgQ3g\u0026h=BNtRzGGRc80t4aaYk1OQU1X6i6SYiRmg2cL28h6ihzo+3": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/791ab704-3b56-41c3-a1f1-0893c37bdc02?api-version=2024-05-20-preview\u0026t=638623990954360151\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwNjIyMjE1NzIzWhcNMjUwNjE3MjE1NzIzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALhRxgv00I_kIXwCJCxn0QIbiBxztKV5N7VUsmJclkirZBo6v69H49qwFEyTyf6TsDRZiDyUNhhfYpqgthcgDoGvOa0_uYNIt0GINfkDoySgM3HurzdD12Zyaj2woPrEkxHdoetI4nepp_ytiAmF81Z7YZyv05HKxV_WspPeyLBxorHcJ_drtY13Ez5tLDFiX_NnqLjf1oZojfYarEmVhETopjp53RxjVOKKRI4K2YWjs44wk0T2jaYGo5macYriIx3aHAxhN0a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P6vq2M18-y7w-P4G2RZG38auVhwDv7GKBZCuFqQBy1yjuBmh0qCPzBrUq_1wqq2ADjZBxLR9H_eDK-8TJv-038u6xFyZ2TYRjWG6i8yP2vWbtOGamGXNel8GpQBtK30C5Y6gtyTplXfS0Qpos1bIqTHFS5betbVcCGvcVaXo_OoxKxpbejX3pQmMFxjAgQ3g\u0026h=BNtRzGGRc80t4aaYk1OQU1X6i6SYiRmg2cL28h6ihzo", - "Content": null, - "isContentBase64": false, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "3" ], - "x-ms-client-request-id": [ "d7dd918b-6b0f-457a-aa2e-d1781cf3fcc3" ], - "CommandName": [ "Remove-AzConnectedMachineRunCommand" ], - "FullCommandName": [ "Remove-AzConnectedMachineRunCommand_Delete" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.5.0" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-request-id": [ "8e56f56f-6110-412e-a733-a65ffd83726e" ], - "x-ms-correlation-request-id": [ "4d6f1cc4-60a2-4057-95ed-52ce5185aac1" ], - "x-ms-routing-request-id": [ "EASTUS:20240920T031830Z:4d6f1cc4-60a2-4057-95ed-52ce5185aac1" ], - "X-Content-Type-Options": [ "nosniff" ], - "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 77DFCAD36EE441DDAE406C15F79DAF02 Ref B: MNZ221060608047 Ref C: 2024-09-20T03:18:30Z" ], - "Date": [ "Fri, 20 Sep 2024 03:18:30 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "111" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"791ab704-3b56-41c3-a1f1-0893c37bdc02\",\"status\":\"Succeeded\",\"startTime\":\"2024-09-20T03:16:14.0872519Z\"}", - "isContentBase64": false - } - }, - "Remove-AzConnectedMachineRunCommand+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationresults/791ab704-3b56-41c3-a1f1-0893c37bdc02?api-version=2024-05-20-preview\u0026t=638623989741312256\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwNjIyMjE1NzIzWhcNMjUwNjE3MjE1NzIzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALhRxgv00I_kIXwCJCxn0QIbiBxztKV5N7VUsmJclkirZBo6v69H49qwFEyTyf6TsDRZiDyUNhhfYpqgthcgDoGvOa0_uYNIt0GINfkDoySgM3HurzdD12Zyaj2woPrEkxHdoetI4nepp_ytiAmF81Z7YZyv05HKxV_WspPeyLBxorHcJ_drtY13Ez5tLDFiX_NnqLjf1oZojfYarEmVhETopjp53RxjVOKKRI4K2YWjs44wk0T2jaYGo5macYriIx3aHAxhN0aCURkqI1nWMC6SkdMrP1wdgAcHD5niTqQC5ql2zaSMLmcGFm50nyqRNylI1LJdmgPwGhN_dGd0E6ECAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDj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BQ\u0026h=JmYid71TvskgsW7gpjE1OcCSmteAOaKlBi85GkYsDr8+4": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationresults/791ab704-3b56-41c3-a1f1-0893c37bdc02?api-version=2024-05-20-preview\u0026t=638623989741312256\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwNjIyMjE1NzIzWhcNMjUwNjE3MjE1NzIzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALhRxgv00I_kIXwCJCxn0QIbiBxztKV5N7VUsmJclkirZBo6v69H49qwFEyTyf6TsDRZiDyUNhhfYpqgthcgDoGvOa0_uYNIt0GINfkDoySgM3HurzdD12Zyaj2woPrEkxHdoetI4nepp_ytiAmF81Z7YZyv05HKxV_WspPeyLBxorHcJ_drtY13Ez5tLDFiX_NnqLjf1oZojfYarEmVhETopjp53RxjVOKKRI4K2YWjs44wk0T2jaYGo5macYriIx3aHAxhN0aCURkqI1nWMC6SkdMrP1wdgAcHD5niTqQC5ql2zaSMLmcGFm50nyqRNylI1LJdmgPwGhN_dGd0E6ECAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMG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": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "4" ], - "x-ms-client-request-id": [ "d7dd918b-6b0f-457a-aa2e-d1781cf3fcc3" ], - "CommandName": [ "Remove-AzConnectedMachineRunCommand" ], - "FullCommandName": [ "Remove-AzConnectedMachineRunCommand_Delete" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.5.0" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-request-id": [ "5ffaaadd-b436-4cd2-8fba-862769333bfa" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], - "x-ms-correlation-request-id": [ "b31141ce-7611-4e63-a2c2-b2cbc8de6d6e" ], - "x-ms-routing-request-id": [ "EASTUS:20240920T031831Z:b31141ce-7611-4e63-a2c2-b2cbc8de6d6e" ], - "X-Content-Type-Options": [ "nosniff" ], - "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 7F718DC9BD6B474B93AB53A139D18825 Ref B: MNZ221060608047 Ref C: 2024-09-20T03:18:31Z" ], - "Date": [ "Fri, 20 Sep 2024 03:18:30 GMT" ] - }, - "ContentHeaders": { - "Content-Type": [ "application/json" ], - "Expires": [ "-1" ], - "Content-Length": [ "0" ] - }, - "Content": null, - "isContentBase64": false - } - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/test/Remove-AzConnectedMachineRunCommand.Tests.ps1 b/src/ConnectedMachine/ConnectedMachine.Autorest/test/Remove-AzConnectedMachineRunCommand.Tests.ps1 deleted file mode 100644 index 73cfe18d7c13..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/test/Remove-AzConnectedMachineRunCommand.Tests.ps1 +++ /dev/null @@ -1,25 +0,0 @@ -if(($null -eq $TestName) -or ($TestName -contains 'Remove-AzConnectedMachineRunCommand')) -{ - $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' - if (-Not (Test-Path -Path $loadEnvPath)) { - $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' - } - . ($loadEnvPath) - $TestRecordingFile = Join-Path $PSScriptRoot 'Remove-AzConnectedMachineRunCommand.Recording.json' - $currentPath = $PSScriptRoot - while(-not $mockingPath) { - $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File - $currentPath = Split-Path -Path $currentPath -Parent - } - . ($mockingPath | Select-Object -First 1).FullName -} - -Describe 'Remove-AzConnectedMachineRunCommand' { - It 'Delete' { - Remove-AzConnectedMachineRunCommand -ResourceGroupName $env.ResourceGroupName -RunCommandName $env.RunCommandName -MachineName $env.MachineName - } - - It 'DeleteViaIdentity' -skip { - { throw [System.NotImplementedException] } | Should -Not -Throw - } -} diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/test/Remove-AzConnectedPrivateLinkScope.Recording.json b/src/ConnectedMachine/ConnectedMachine.Autorest/test/Remove-AzConnectedPrivateLinkScope.Recording.json index ced49bf4af60..887a0ac5e2e9 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/test/Remove-AzConnectedPrivateLinkScope.Recording.json +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/test/Remove-AzConnectedPrivateLinkScope.Recording.json @@ -1,17 +1,17 @@ { - "Remove-AzConnectedPrivateLinkScope+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/privateLinkScopes/myScope3?api-version=2024-05-20-preview+1": { + "Remove-AzConnectedPrivateLinkScope+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/privateLinkScopes/myScope3?api-version=2024-07-10+1": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/privateLinkScopes/myScope3?api-version=2024-05-20-preview", + "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/privateLinkScopes/myScope3?api-version=2024-07-10", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "2" ], - "x-ms-client-request-id": [ "c179ee97-128c-4b60-8a37-61cccd09d409" ], + "x-ms-unique-id": [ "1" ], + "x-ms-client-request-id": [ "0e781817-a2ce-4fd3-8110-b127f67b9eb1" ], "CommandName": [ "Remove-AzConnectedPrivateLinkScope" ], "FullCommandName": [ "Remove-AzConnectedPrivateLinkScope_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.5.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -22,15 +22,16 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "799" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-request-id": [ "42a0935b-ffb8-4b05-a8ac-c696b44e38d2" ], - "x-ms-ratelimit-remaining-subscription-deletes": [ "14999" ], - "x-ms-correlation-request-id": [ "bf1e7474-ec7b-477a-a1ca-ade425356670" ], - "x-ms-routing-request-id": [ "EASTUS:20240920T032322Z:bf1e7474-ec7b-477a-a1ca-ade425356670" ], + "x-ms-request-id": [ "30f593fd-3028-4d0e-bcb7-6bafd830105b" ], + "x-ms-ratelimit-remaining-subscription-global-deletes": [ "11999" ], + "x-ms-correlation-request-id": [ "b9fe2efd-8330-412f-bcb5-83240e93739a" ], + "x-ms-routing-request-id": [ "EASTUS:20241011T181133Z:b9fe2efd-8330-412f-bcb5-83240e93739a" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: D90160BD057D48999453354A77F7C8A1 Ref B: MNZ221060609039 Ref C: 2024-09-20T03:23:21Z" ], - "Date": [ "Fri, 20 Sep 2024 03:23:22 GMT" ] + "X-MSEdge-Ref": [ "Ref A: A5545BEB06354F8DA359E890FE296836 Ref B: BL2AA2010205029 Ref C: 2024-10-11T18:11:32Z" ], + "Date": [ "Fri, 11 Oct 2024 18:11:32 GMT" ] }, "ContentHeaders": { "Content-Type": [ "application/json" ], diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/test/Set-AzConnectedLicense.Recording.json b/src/ConnectedMachine/ConnectedMachine.Autorest/test/Set-AzConnectedLicense.Recording.json index eae72eb5e582..41fec4127e0e 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/test/Set-AzConnectedLicense.Recording.json +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/test/Set-AzConnectedLicense.Recording.json @@ -1,15 +1,15 @@ { - "Set-AzConnectedLicense+[NoContext]+Update+$PUT+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/licenses/myEsuLicense?api-version=2024-05-20-preview+1": { + "Set-AzConnectedLicense+[NoContext]+Update+$PUT+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/licenses/myEsuLicense2?api-version=2024-07-10+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/licenses/myEsuLicense?api-version=2024-05-20-preview", - "Content": "{\r\n \"location\": \"centraluseuap\",\r\n \"properties\": {\r\n \"licenseDetails\": {\r\n \"state\": \"Deactivated\",\r\n \"target\": \"Windows Server 2012\",\r\n \"edition\": \"Datacenter\",\r\n \"type\": \"pCore\",\r\n \"processors\": 16\r\n },\r\n \"licenseType\": \"ESU\"\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/licenses/myEsuLicense2?api-version=2024-07-10", + "Content": "{\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"licenseDetails\": {\r\n \"state\": \"Deactivated\",\r\n \"target\": \"Windows Server 2012\",\r\n \"edition\": \"Datacenter\",\r\n \"type\": \"pCore\",\r\n \"processors\": 16\r\n },\r\n \"licenseType\": \"ESU\"\r\n }\r\n}", "isContentBase64": false, "Headers": { }, "ContentHeaders": { "Content-Type": [ "application/json" ], - "Content-Length": [ "270" ] + "Content-Length": [ "263" ] } }, "Response": { @@ -19,37 +19,37 @@ "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-request-id": [ "2ced4aff-e346-4a77-aaa7-d3c501a08c62" ], - "x-ms-correlation-request-id": [ "b497fbda-6958-421e-b1e6-895341123024" ], - "x-ms-routing-request-id": [ "EASTUS2:20240919T203013Z:b497fbda-6958-421e-b1e6-895341123024" ], + "x-ms-request-id": [ "476eb719-b34f-460e-ae46-ae919b5a50a3" ], + "x-ms-correlation-request-id": [ "ec3e36df-7329-4d09-aedd-8b46e7c36ca7" ], + "x-ms-routing-request-id": [ "EASTUS2:20241003T202318Z:ec3e36df-7329-4d09-aedd-8b46e7c36ca7" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: CFA61FEF491F40F0A4937857B614E7C1 Ref B: MNZ221060609011 Ref C: 2024-09-19T20:30:12Z" ], - "Date": [ "Thu, 19 Sep 2024 20:30:13 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 63CD4618C0774DF088424DB638F1F4BE Ref B: MNZ221060610039 Ref C: 2024-10-03T20:23:18Z" ], + "Date": [ "Thu, 03 Oct 2024 20:23:18 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "517" ], + "Content-Length": [ "512" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/licenses/myEsuLicense\",\"name\":\"myEsuLicense\",\"location\":\"centraluseuap\",\"type\":\"Microsoft.HybridCompute/licenses\",\"properties\":{\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"licenseType\":\"ESU\",\"licenseDetails\":{\"state\":\"Deactivated\",\"target\":\"Windows Server 2012\",\"edition\":\"Datacenter\",\"type\":\"pCore\",\"processors\":16,\"assignedLicenses\":8,\"immutableId\":\"add55cb2-4a65-40b6-8f50-62000c9bf26e\"}}}", + "Content": "{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/licenses/myEsuLicense2\",\"name\":\"myEsuLicense2\",\"location\":\"eastus\",\"type\":\"Microsoft.HybridCompute/licenses\",\"properties\":{\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"licenseType\":\"ESU\",\"licenseDetails\":{\"state\":\"Deactivated\",\"target\":\"Windows Server 2012\",\"edition\":\"Datacenter\",\"type\":\"pCore\",\"processors\":16,\"assignedLicenses\":8,\"immutableId\":\"ddd0d283-d0d0-4aa2-89c6-d8d4a2189909\"}}}", "isContentBase64": false } }, - "Set-AzConnectedLicense+[NoContext]+Update+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/licenses/myEsuLicense?api-version=2024-05-20-preview+2": { + "Set-AzConnectedLicense+[NoContext]+Update+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/licenses/myEsuLicense2?api-version=2024-07-10+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/licenses/myEsuLicense?api-version=2024-05-20-preview", + "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/licenses/myEsuLicense2?api-version=2024-07-10", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "5" ], - "x-ms-client-request-id": [ "bb502c2d-0065-4b86-acdf-eaa3aee9914c" ], + "x-ms-client-request-id": [ "e1f11a85-bb30-445b-baa8-3f74229f6be5" ], "CommandName": [ "Set-AzConnectedLicense" ], "FullCommandName": [ "Set-AzConnectedLicense_UpdateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.5.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.1.0" ] }, "ContentHeaders": { } @@ -61,20 +61,20 @@ "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-request-id": [ "b11b93a1-372a-4251-801e-1a0138a9e5d3" ], - "x-ms-correlation-request-id": [ "2e7fdbed-5de3-4147-ba90-57f216d2c57e" ], - "x-ms-routing-request-id": [ "EASTUS2:20240919T203044Z:2e7fdbed-5de3-4147-ba90-57f216d2c57e" ], + "x-ms-request-id": [ "548e5409-2211-47e7-80ea-6d804f9a7e0a" ], + "x-ms-correlation-request-id": [ "db283c30-bf9d-493a-8b1d-b17fa8669628" ], + "x-ms-routing-request-id": [ "EASTUS2:20241003T202349Z:db283c30-bf9d-493a-8b1d-b17fa8669628" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: A5BF3EC57D2B4687A60A18291C4B7AF5 Ref B: MNZ221060609011 Ref C: 2024-09-19T20:30:43Z" ], - "Date": [ "Thu, 19 Sep 2024 20:30:43 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 42760EB8F54A4B10AE797E66953B02D7 Ref B: MNZ221060610039 Ref C: 2024-10-03T20:23:48Z" ], + "Date": [ "Thu, 03 Oct 2024 20:23:48 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "517" ], + "Content-Length": [ "512" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/licenses/myEsuLicense\",\"name\":\"myEsuLicense\",\"location\":\"centraluseuap\",\"type\":\"Microsoft.HybridCompute/licenses\",\"properties\":{\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"licenseType\":\"ESU\",\"licenseDetails\":{\"state\":\"Deactivated\",\"target\":\"Windows Server 2012\",\"edition\":\"Datacenter\",\"type\":\"pCore\",\"processors\":16,\"assignedLicenses\":8,\"immutableId\":\"add55cb2-4a65-40b6-8f50-62000c9bf26e\"}}}", + "Content": "{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/licenses/myEsuLicense2\",\"name\":\"myEsuLicense2\",\"location\":\"eastus\",\"type\":\"Microsoft.HybridCompute/licenses\",\"properties\":{\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"licenseType\":\"ESU\",\"licenseDetails\":{\"state\":\"Deactivated\",\"target\":\"Windows Server 2012\",\"edition\":\"Datacenter\",\"type\":\"pCore\",\"processors\":16,\"assignedLicenses\":8,\"immutableId\":\"ddd0d283-d0d0-4aa2-89c6-d8d4a2189909\"}}}", "isContentBase64": false } } diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/test/Set-AzConnectedMachineExtension.Recording.json b/src/ConnectedMachine/ConnectedMachine.Autorest/test/Set-AzConnectedMachineExtension.Recording.json index 3985b1378ccb..76d4b11168f3 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/test/Set-AzConnectedMachineExtension.Recording.json +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/test/Set-AzConnectedMachineExtension.Recording.json @@ -1,15 +1,15 @@ { - "Set-AzConnectedMachineExtension+[NoContext]+Update+$PUT+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine/extensions/networkWatcher?api-version=2024-05-20-preview+1": { + "Set-AzConnectedMachineExtension+[NoContext]+Update+$PUT+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine/extensions/networkWatcher?api-version=2024-07-10+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine/extensions/networkWatcher?api-version=2024-05-20-preview", - "Content": "{\r\n \"location\": \"centraluseuap\",\r\n \"properties\": {\r\n \"publisher\": \"Microsoft.Azure.NetworkWatcher\",\r\n \"type\": \"NetworkWatcherAgentWindows\",\r\n \"typeHandlerVersion\": \"1.4.2798.3\",\r\n \"settings\": {\r\n \"commandToExecute\": \"powershell.exe ls\"\r\n }\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine/extensions/networkWatcher?api-version=2024-07-10", + "Content": "{\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"publisher\": \"Microsoft.Azure.NetworkWatcher\",\r\n \"type\": \"NetworkWatcherAgentWindows\",\r\n \"typeHandlerVersion\": \"1.4.2798.3\",\r\n \"settings\": {\r\n \"commandToExecute\": \"powershell.exe ls\"\r\n }\r\n }\r\n}", "isContentBase64": false, "Headers": { }, "ContentHeaders": { "Content-Type": [ "application/json" ], - "Content-Length": [ "269" ] + "Content-Length": [ "262" ] } }, "Response": { @@ -17,18 +17,18 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationresults/100b45a5-48f9-4125-af74-23c4ff26d007?api-version=2024-05-20-preview\u0026t=638623841920287248\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwNjIyMjE1NzIzWhcNMjUwNjE3MjE1NzIzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALhRxgv00I_kIXwCJCxn0QIbiBxztKV5N7VUsmJclkirZBo6v69H49qwFEyTyf6TsDRZiDyUNhhfYpqgthcgDoGvOa0_uYNIt0GINfkDoySgM3HurzdD12Zyaj2woPrEkxHdoet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3-qvYjFhTmQ2a7NrFCCfcVDMEvjN7CNqzgxqJr_xZiP0FwxwvAp4yZ6PTX7z0zVfYNUR0OLqymQ0HCqXJmvzaa67WeCLAsEKpRXUcsB4iZu0ug4GJyvN1Xca5SP3einhb0YTNRuoWTXtpw6FMeqVWduPcrIGBz8WNZCYxQpzaZi24HEzPmsNiEE8BvsBNLmzWhTzD2QJLpVgi_FdzQHBRj09EkotQQ5XYdjccGvZhWqdJZBo-b3AmlIfMfByLt_8othKDNUdb4Nsuf9mQqLbZk5vByuqVEaOOy0ckaoSCYUm7-IVQFbd9Jw\u0026h=vffNawBeMtKQ8qqMOh0MqVdkHgRFZTxhHF5HnSPfjYw" ], + "Location": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationresults/c71f89fa-0d91-4611-8ceb-6db1a4a3ab7d?api-version=2024-07-10\u0026t=638639275248164471\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwMjMxMTQxWhcNMjUwMzE5MjMxMTQxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKRtcYDBXS7zz5tRtvVyhrUAjudYhej1E2D3dp6XWuPdbVMbQZwMlye8vdT-kDhFD7T2mrdWqsoGnTGk0_xOHBfLGnW-0QRUqpeoTNIhu8vc2CfTUtm2t2s_-fzvFtRyhDA4mfCH1cz92EVj0vd3FD4ikW6bdOp1NkYFqUVBhKlbvJk6y-TbLFBLP5Zx4m0Ua-_P7aMzbgvOJgMOTC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vzVMpLvg1Wu4n7JN3f8DPk3M77GW95JCNTTbKPbaQ55yCWkWEssnyEPNYXceRmc3ysLk7CyRLTayGRiR9GIrCEu1rw1zOSSwpYlqVIRy0P3fQOXzxpVMw7YjFDrdfw4kYl0ayFUWiCOTy0Vr4sD_9lgf6lqeYCiPtWiGXCXfGg7rsLx0IEWezkz_hb_N9CRHzMUl2UZ7rH6CEWGmNnRvPSV2qIegmPZZplp-BvKNH2yeYLnMTB_g\u0026h=ZUKp0cpotQRNjHaqC3iVqY3px6wi56zX8FgfPZezXyk" ], "Retry-After": [ "15" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-request-id": [ "100b45a5-48f9-4125-af74-23c4ff26d007" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/100b45a5-48f9-4125-af74-23c4ff26d007?api-version=2024-05-20-preview\u0026t=638623841920131002\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwNjIyMjE1NzIzWhcNMjUwNjE3MjE1NzIzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALhRxgv00I_kIXwCJCxn0QIbiBxztKV5N7VUsmJclkirZBo6v69H49qwFEyTyf6TsDRZiDyUNhhfYpqgthcgDoGvOa0_uYNIt0GINfkDoySgM3HurzdD12Zyaj2woPrEkxHdoetI4nepp_ytiAmF81Z7YZyv05HKxV_WspPeyLBxorHcJ_drtY13Ez5tLDFiX_Nn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mYv9mFB4F8-fSSGWCXZ29q3acj1xL8rPABB3S4xDfJIKEeEZWhEIWubFCzKAmzKG7PcFH1mhfMX2VqvlOMHyV8iYQiRcyTqak9Jgtq8JP3NYNWGpdvpcsCFPoEimq13AQ4VPFlTCrAI9yAHrrO1hLo4vqD8hyFe3-crbkhsiTcC-dpSV1tpbO6vhKXL_sRcbT5gEcS-c6WX98QSKnrKEBzB49dPGyyhehptTysE_j0H9P-3SQwilmmIc2Sg\u0026h=Rj0A2tDwqeotCOvzuRWueEGlW_ujX5wmQyI9LYDqt3U" ], + "x-ms-request-id": [ "c71f89fa-0d91-4611-8ceb-6db1a4a3ab7d" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/c71f89fa-0d91-4611-8ceb-6db1a4a3ab7d?api-version=2024-07-10\u0026t=638639275248164471\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwMjMxMTQxWhcNMjUwMzE5MjMxMTQxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKRtcYDBXS7zz5tRtvVyhrUAjudYhej1E2D3dp6XWuPdbVMbQZwMlye8vdT-kDhFD7T2mrdWqsoGnTGk0_xOHBfLGnW-0QRUqpeoTNIhu8vc2CfTUtm2t2s_-fzvFtRyhDA4mfCH1cz92EVj0vd3FD4ikW6bdOp1NkYFqUVBhKlbvJk6y-TbLFBLP5Zx4m0Ua-_P7aMzbgvOJgMOTC2jLs5w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NYkdhULpDlYNoVwzj0D-pPujSfwVlPBx8h7brlly-kLgxdf5Qro1qzPme7XQW6UlubKf2nFwfX7G4AZ41eGqDQIy97NTjuflrIBZjDq6Gtd3zmWRJjAPp6xuCWEoWewAvCMxGPluGv-w_Z0_IEbkC4ncPbRpBy5YcoRwSte2M3R_lXCT_5e2xInbGZowwao7egwgrmRyAmzuYhYw1u_kRsPk_kVUYwXG_jQumDZRupMKg\u0026h=23PAPIuze_68wJ3zbam57TnJYWVtVVOBwL0lljLeZ2U" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "319" ], - "x-ms-correlation-request-id": [ "f50cf98c-4125-4eab-90bd-8ca807d6790c" ], - "x-ms-routing-request-id": [ "EASTUS:20240919T230952Z:f50cf98c-4125-4eab-90bd-8ca807d6790c" ], + "x-ms-correlation-request-id": [ "95f8ea66-f098-413f-bdf8-1f77ee294d84" ], + "x-ms-routing-request-id": [ "EASTUS:20241007T195204Z:95f8ea66-f098-413f-bdf8-1f77ee294d84" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: B5B2D3B05399497C92000BBE49C8509D Ref B: MNZ221060609053 Ref C: 2024-09-19T23:09:51Z" ], - "Date": [ "Thu, 19 Sep 2024 23:09:51 GMT" ] + "X-MSEdge-Ref": [ "Ref A: FC239509717246009481A972A87BEC2B Ref B: BL2AA2010204029 Ref C: 2024-10-07T19:52:04Z" ], + "Date": [ "Mon, 07 Oct 2024 19:52:04 GMT" ] }, "ContentHeaders": { "Content-Type": [ "application/json" ], @@ -39,20 +39,20 @@ "isContentBase64": false } }, - "Set-AzConnectedMachineExtension+[NoContext]+Update+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/100b45a5-48f9-4125-af74-23c4ff26d007?api-version=2024-05-20-preview\u0026t=638623841920131002\u0026c=MIIHhzCCBm-gA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HTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADe3mHC76LsKVL9fkhYlwBSfOx_cb-6YFuiqGA60VGCoc_qwfcn9leu0FbnJEquloNzG8tG_ZwhaFVsQ-_we0Vgl03BjC-BOem7ZES6XywaYv4X1vEBc0SNaQ8EQVToFyCD9wf1ZGu5uv4jk-oILXl_CzdRsvuGKmprgkbrMIS6t5V8ds7REAX8SiE37hqdZU5hNT74RwV32cg3gLtbUsPK22Kv1gf5KsCUZe9tEsEkyq_bSxaNCWnh3lfmsstE0Jo_zL1O6cPKMMtvD21xFYchjWKjYGr1p5mGiM-OLLi8_ETKkYQTS0_gB7wZOGtsc0pIsvgAnqA-sMNn8Oy953Q4\u0026s=IY-X62GCU1HGlTIWDlF42621OHD0OC_uoxGbjdzJhR6yrvCz1Ai6L5xSSxvqW04oC-x1TL8RrFMMKmOWMKE7i5LWAaNmYv9mFB4F8-fSSGWCXZ29q3acj1xL8rPABB3S4xDfJIKEeEZWhEIWubFCzKAmzKG7PcFH1mhfMX2VqvlOMHyV8iYQiRcyTqak9Jgtq8JP3NYNWGpdvpcsCFPoEimq13AQ4VPFlTCrAI9yAHrrO1hLo4vqD8hyFe3-crbkhsiTcC-dpSV1tpbO6vhKXL_sRcbT5gEcS-c6WX98QSKnrKEBzB49dPGyyhehptTysE_j0H9P-3SQwilmmIc2Sg\u0026h=Rj0A2tDwqeotCOvzuRWueEGlW_ujX5wmQyI9LYDqt3U+2": { + "Set-AzConnectedMachineExtension+[NoContext]+Update+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/c71f89fa-0d91-4611-8ceb-6db1a4a3ab7d?api-version=2024-07-10\u0026t=638639275248164471\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLG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QUHAwIwDQYJKoZIhvcNAQELBQADggEBAG0WbzLPsmSSMI7aTe2npixmkdCmwcdZHGd43tUnB8JKrLNJEFcBsQmbcIH0adpnQNrDgRkNBBOTZ4s1LIBlRQapZpPsRItAMUguVpGVRH08T0i43w9xrp_clNbAJrrfRbmYroF0WJKMJ0nwW2rPjxdevSRygGK_nEfywwFi-p1RhHnkiEGL4GnP7PpQcRvAYMdH9LO5MRY7iLbBmosKatS_eWtSJD1CvzglNwy_vQzx81Vnk0CgndqXcVq-loGu7R4U7mkQ2NNqLbp447STxkpP-6Mdyv8J4bdnf1s3vFBNpgvJWKogWcNLlo8jnkbEf6RPNGe1W5lma7JwMKAcPzY\u0026s=Tm817pq6kCHT4pyzV4IVZtcwN_v6pK8jSGxo6s8M9z8Vp_OiRWOOdDrVUi7vGv_L26edWNFChpLiGpyqoEhG7BReqkE908M5DovPyBR4GNYkdhULpDlYNoVwzj0D-pPujSfwVlPBx8h7brlly-kLgxdf5Qro1qzPme7XQW6UlubKf2nFwfX7G4AZ41eGqDQIy97NTjuflrIBZjDq6Gtd3zmWRJjAPp6xuCWEoWewAvCMxGPluGv-w_Z0_IEbkC4ncPbRpBy5YcoRwSte2M3R_lXCT_5e2xInbGZowwao7egwgrmRyAmzuYhYw1u_kRsPk_kVUYwXG_jQumDZRupMKg\u0026h=23PAPIuze_68wJ3zbam57TnJYWVtVVOBwL0lljLeZ2U+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/100b45a5-48f9-4125-af74-23c4ff26d007?api-version=2024-05-20-preview\u0026t=638623841920131002\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEg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ZwhaFVsQ-_we0Vgl03BjC-BOem7ZES6XywaYv4X1vEBc0SNaQ8EQVToFyCD9wf1ZGu5uv4jk-oILXl_CzdRsvuGKmprgkbrMIS6t5V8ds7REAX8SiE37hqdZU5hNT74RwV32cg3gLtbUsPK22Kv1gf5KsCUZe9tEsEkyq_bSxaNCWnh3lfmsstE0Jo_zL1O6cPKMMtvD21xFYchjWKjYGr1p5mGiM-OLLi8_ETKkYQTS0_gB7wZOGtsc0pIsvgAnqA-sMNn8Oy953Q4\u0026s=IY-X62GCU1HGlTIWDlF42621OHD0OC_uoxGbjdzJhR6yrvCz1Ai6L5xSSxvqW04oC-x1TL8RrFMMKmOWMKE7i5LWAaNmYv9mFB4F8-fSSGWCXZ29q3acj1xL8rPABB3S4xDfJIKEeEZWhEIWubFCzKAmzKG7PcFH1mhfMX2VqvlOMHyV8iYQiRcyTqak9Jgtq8JP3NYNWGpdvpcsCFPoEimq13AQ4VPFlTCrAI9yAHrrO1hLo4vqD8hyFe3-crbkhsiTcC-dpSV1tpbO6vhKXL_sRcbT5gEcS-c6WX98QSKnrKEBzB49dPGyyhehptTysE_j0H9P-3SQwilmmIc2Sg\u0026h=Rj0A2tDwqeotCOvzuRWueEGlW_ujX5wmQyI9LYDqt3U", + "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/c71f89fa-0d91-4611-8ceb-6db1a4a3ab7d?api-version=2024-07-10\u0026t=638639275248164471\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwMjMxMTQxWhcNMjUwMzE5MjMxMTQxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pb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MJ0nwW2rPjxdevSRygGK_nEfywwFi-p1RhHnkiEGL4GnP7PpQcRvAYMdH9LO5MRY7iLbBmosKatS_eWtSJD1CvzglNwy_vQzx81Vnk0CgndqXcVq-loGu7R4U7mkQ2NNqLbp447STxkpP-6Mdyv8J4bdnf1s3vFBNpgvJWKogWcNLlo8jnkbEf6RPNGe1W5lma7JwMKAcPzY\u0026s=Tm817pq6kCHT4pyzV4IVZtcwN_v6pK8jSGxo6s8M9z8Vp_OiRWOOdDrVUi7vGv_L26edWNFChpLiGpyqoEhG7BReqkE908M5DovPyBR4GNYkdhULpDlYNoVwzj0D-pPujSfwVlPBx8h7brlly-kLgxdf5Qro1qzPme7XQW6UlubKf2nFwfX7G4AZ41eGqDQIy97NTjuflrIBZjDq6Gtd3zmWRJjAPp6xuCWEoWewAvCMxGPluGv-w_Z0_IEbkC4ncPbRpBy5YcoRwSte2M3R_lXCT_5e2xInbGZowwao7egwgrmRyAmzuYhYw1u_kRsPk_kVUYwXG_jQumDZRupMKg\u0026h=23PAPIuze_68wJ3zbam57TnJYWVtVVOBwL0lljLeZ2U", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "6" ], - "x-ms-client-request-id": [ "4680612b-33da-430b-996b-e2f0a36ab257" ], + "x-ms-client-request-id": [ "9a12dfa5-5a61-45e6-9731-1e6e8627c279" ], "CommandName": [ "Set-AzConnectedMachineExtension" ], "FullCommandName": [ "Set-AzConnectedMachineExtension_UpdateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.5.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.1.0" ] }, "ContentHeaders": { } @@ -62,42 +62,42 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationresults/100b45a5-48f9-4125-af74-23c4ff26d007?api-version=2024-05-20-preview\u0026t=638623842074939363\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwNjIyMjE1NzIzWhcNMjUwNjE3MjE1NzIzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALhRxgv00I_kIXwCJCxn0QIbiBxztKV5N7VUsmJclkirZBo6v69H49qwFEyTyf6TsDRZiDyUNhhfYpqgthcgDoGvOa0_uYNIt0GINfkDoySgM3HurzdD12Zyaj2woPrEkxHdoetI4nepp_ytiAmF81Z7YZyv05HKxV_WspPeyLBxorHcJ_drtY13Ez5tLDFiX_NnqLjf1oZojfYarEmVhETopjp53RxjVOKKRI4K2YWjs44wk0T2jaYGo5macYriIx3aHAxhN0aCURkqI1nWMC6SkdMrP1wdgAcHD5niTqQC5ql2zaSMLmcGFm50nyqRNylI1LJdmgPwGhN_dGd0E6ECAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyM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jAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwEwDAYKKwYBBAGCN3sEATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADe3mHC76LsKVL9fkhYlwBSfOx_cb-6YFuiqGA60VGCoc_qwfcn9leu0FbnJEquloNzG8tG_ZwhaFVsQ-_we0Vgl03BjC-BOem7ZES6XywaYv4X1vEBc0SNaQ8EQVToFyCD9wf1ZGu5uv4jk-oILXl_CzdRsvuGKmprgkbrMIS6t5V8ds7REAX8SiE37hqdZU5hNT74RwV32cg3gLtbUsPK22Kv1gf5KsCUZe9tEsEkyq_bSxaNCWnh3lfmsstE0Jo_zL1O6cPKMMtvD21xFYchjWKjYGr1p5mGiM-OLLi8_ETKkYQTS0_gB7wZOGtsc0pIsvgAnqA-sMNn8Oy953Q4\u0026s=ERDz_YflfHy3eyzPJELi9Vd6du0_aiFDZCTy2fHvGnXpMx3_NQwGu6GDLbWlqtIfGcj4ZGfLYy6ARkrNhkAlIJ-ccVRkQQ4ZR5Z5XOUYMNQFHLu4y9wdXwlEjjn-cPvYYr7WfJN-9VsECh_WfWH0Lsrw7PKgNAJgXddUJ8IWe-6OGeHDf1wEzHd4vHJxVnhlRSM9t7Ul3VpeWfMNPQ29OtmkWvpThSgP2aL3hekgbzQgfVpUHr2RY7CCfCjQ9d0h8cqk_kgVyFjeFA5iFydSAXuWwvK38otw9q3dsUtREXnER-koKs26kA122ALyrHxFZoHQmvBgmAENHg0onJaCWw\u0026h=gXX4W85n_Cfa7-Da3uYhLrodyRO-AtcLrMwmlDIQyyA" ], + "Location": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationresults/c71f89fa-0d91-4611-8ceb-6db1a4a3ab7d?api-version=2024-07-10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AwEwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAG0WbzLPsmSSMI7aTe2npixmkdCmwcdZHGd43tUnB8JKrLNJEFcBsQmbcIH0adpnQNrDgRkNBBOTZ4s1LIBlRQapZpPsRItAMUguVpGVRH08T0i43w9xrp_clNbAJrrfRbmYroF0WJKMJ0nwW2rPjxdevSRygGK_nEfywwFi-p1RhHnkiEGL4GnP7PpQcRvAYMdH9LO5MRY7iLbBmosKatS_eWtSJD1CvzglNwy_vQzx81Vnk0CgndqXcVq-loGu7R4U7mkQ2NNqLbp447STxkpP-6Mdyv8J4bdnf1s3vFBNpgvJWKogWcNLlo8jnkbEf6RPNGe1W5lma7JwMKAcPzY\u0026s=e7vE0t4RvCZO_cqRelwf9omsZG2nHF6kGgMXiyVy_-Y-iJ8hwkJTXJTi3qW99KGXexz5Ds5zq4j0YI_fHbjeuUIR6ixhwT2w_pKRe02UmNvvMbVgN-k-hVX76fEtRFfWwNexEurVmzsgavYu7TmEc5U1wA98SF4TGtr64zCNFlDoAY8JsMdzwEx1uQATJG0uUt2h04CnHFfzRr-vG5QADMGmwAKxR9P1dOE72lg6TK5IRUtJl4ruPl8nPenDLQc-iFeEr023uYGNgud1mWQUfyqNoJ2C3YVP18W9F1_RENpzuvNBG297hyzrvo6hBWoVd-zO7i1PjxSc7njuWuYkXw\u0026h=mljWya8BuJmzo3qM_sh7omHwAq0M3Row-gkpFG6RC_8" ], "Retry-After": [ "15" ], "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-request-id": [ "57c481b7-edb5-4a63-b6cb-633407db2cc8" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/100b45a5-48f9-4125-af74-23c4ff26d007?api-version=2024-05-20-preview\u0026t=638623842074783103\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwNjIyMjE1NzIzWhcNMjUwNjE3MjE1NzIzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALhRxgv00I_kIXwCJCxn0QIbiBxztKV5N7VUsmJclkirZBo6v69H49qwFEyTyf6TsDRZiDyUNhhfYpqgthcgDoGvOa0_uYNIt0GINfkDoySgM3HurzdD12Zyaj2woPrEkxHdoetI4nepp_ytiAmF81Z7YZyv05HKxV_WspPeyLBxorHcJ_drtY13Ez5tLDFiX_NnqLjf1oZojfYarEmVhETopjp53RxjVOKKRI4K2YWjs44wk0T2jaYGo5macYriIx3aHAxhN0aCURkqI1nWMC6SkdMrP1wdgAcHD5niTqQC5ql2zaSMLmcGFm50nyqRNylI1LJdmgPwGhN_dGd0E6ECAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwY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QBlADMAMwBkMAwGCisGAQQBgjd7AwEwDAYKKwYBBAGCN3sEATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADe3mHC76LsKVL9fkhYlwBSfOx_cb-6YFuiqGA60VGCoc_qwfcn9leu0FbnJEquloNzG8tG_ZwhaFVsQ-_we0Vgl03BjC-BOem7ZES6XywaYv4X1vEBc0SNaQ8EQVToFyCD9wf1ZGu5uv4jk-oILXl_CzdRsvuGKmprgkbrMIS6t5V8ds7REAX8SiE37hqdZU5hNT74RwV32cg3gLtbUsPK22Kv1gf5KsCUZe9tEsEkyq_bSxaNCWnh3lfmsstE0Jo_zL1O6cPKMMtvD21xFYchjWKjYGr1p5mGiM-OLLi8_ETKkYQTS0_gB7wZOGtsc0pIsvgAnqA-sMNn8Oy953Q4\u0026s=letU2Jpv7PznHvglUUKJw-Jhgi7FNZh4eyVnbCMS25XNE0wilBIu7E0OqgJkvTIOR9bqb1Gxr46VIsoyb2nVRjW7y5PM2KT7SKZDZBzC2tQMn2nzzHXtCsi2o6tN8rPcROIB1ZRONn0hXoaSUGwgeBcJQjGoj917jpH6Yk0GoWXHosUmgFl0Hv6mKzakf_FyuwE80HflMeWL4kk9_Kwn8EWZb6xKLUxpCnTUihyLXVVgy3QhtLtixKugx2I9gDLjeN4TtKHzN8n-EMBED_38Yc2X-pU0raqpqHZZGtjXo532u20Q9T-_-7PID_WSOiaiQPdX1TM_1GRX5b9mZIXktg\u0026h=JZVdKXfHOhyyV0GxkK5F27Y1L543T51XAKTX_rBgc70" ], - "x-ms-correlation-request-id": [ "3cbd5de0-0844-4666-86b7-bad40859dbe9" ], - "x-ms-routing-request-id": [ "EASTUS:20240919T231007Z:3cbd5de0-0844-4666-86b7-bad40859dbe9" ], + "x-ms-request-id": [ "7b19a7cc-def4-4e87-8621-46b75560ff8b" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/c71f89fa-0d91-4611-8ceb-6db1a4a3ab7d?api-version=2024-07-10\u0026t=638639275401882381\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwMjMxMTQxWhcNMjUwMzE5MjMxMTQxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKRtcYDBXS7zz5tRtvVyhrUAjudYhej1E2D3dp6XWuPdbVMbQZwMlye8vdT-kDhFD7T2mrdWqsoGnTGk0_xOHBfLGnW-0QRUqpeoTNIhu8vc2CfTUtm2t2s_-fzvFtRyhDA4mfCH1cz92EVj0vd3FD4ikW6bdOp1NkYFqUVBhKlbvJk6y-TbLFBLP5Zx4m0Ua-_P7aMzbgvOJgMOTC2jLs5w_lFDJWeP3IKUOiJmrfLpf4ey5Ov94oCE6YncDBSHJZKWcrSxDHgSz9AXrxarL4HLajGbF3MRvfkMN2gNXCoiJXBEqCLDnyQZ0BgXIvuK7vG8Rj0TyhJNj-QPr8taY6UCAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vc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YBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwEwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAG0WbzLPsmSSMI7aTe2npixmkdCmwcdZHGd43tUnB8JKrLNJEFcBsQmbcIH0adpnQNrDgRkNBBOTZ4s1LIBlRQapZpPsRItAMUguVpGVRH08T0i43w9xrp_clNbAJrrfRbmYroF0WJKMJ0nwW2rPjxdevSRygGK_nEfywwFi-p1RhHnkiEGL4GnP7PpQcRvAYMdH9LO5MRY7iLbBmosKatS_eWtSJD1CvzglNwy_vQzx81Vnk0CgndqXcVq-loGu7R4U7mkQ2NNqLbp447STxkpP-6Mdyv8J4bdnf1s3vFBNpgvJWKogWcNLlo8jnkbEf6RPNGe1W5lma7JwMKAcPzY\u0026s=i2KyLCrpNfrTxoqJV2lf_sqxDGhN_zjoGEcadgFSYUciR8cu-tv0i8rbqAPXi5EahxbWi4AjuSFnXINPl9OffyajCBrRoBIqx-nNd-r5qAL3WtICOqOmY5piVFvzR2j7XbpZu18shmGgD7BBxiq3GjjxkH6QrYE1Roye5NWESr0ASfiQaQ6e1gXDV7ixLyzfyROJnMkJWYgTf8rekFQyI07ctuka4ZGOHlO4HZ7aLMXhxoGLo0c9CR0hmz31JPb1UxFq-SJ_tD0xNbStnUSXM87Kj0vMzi43f9P44oYGTeGZKZAjmJB98N499p8SjTee_MjXuhEPRv8eHDjAmVXyAQ\u0026h=7XaLe3Ji1nZX4QRnwvnEysR6-n_J1Ga9vfCN4sCJgOU" ], + "x-ms-correlation-request-id": [ "dff9d99d-7378-4626-9423-ba981be86cda" ], + "x-ms-routing-request-id": [ "EASTUS:20241007T195220Z:dff9d99d-7378-4626-9423-ba981be86cda" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: E809695399FF4DDBA8891370F3F707B9 Ref B: MNZ221060609053 Ref C: 2024-09-19T23:10:07Z" ], - "Date": [ "Thu, 19 Sep 2024 23:10:07 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 023C36D323E14BDC9BDE4FC824EF3C49 Ref B: BL2AA2010204029 Ref C: 2024-10-07T19:52:20Z" ], + "Date": [ "Mon, 07 Oct 2024 19:52:19 GMT" ] }, "ContentHeaders": { "Content-Length": [ "112" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"100b45a5-48f9-4125-af74-23c4ff26d007\",\"status\":\"InProgress\",\"startTime\":\"2024-09-19T23:09:51.9700466Z\"}", + "Content": "{\"name\":\"c71f89fa-0d91-4611-8ceb-6db1a4a3ab7d\",\"status\":\"InProgress\",\"startTime\":\"2024-10-07T19:52:04.7628573Z\"}", "isContentBase64": false } }, - "Set-AzConnectedMachineExtension+[NoContext]+Update+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/100b45a5-48f9-4125-af74-23c4ff26d007?api-version=2024-05-20-preview\u0026t=638623842074783103\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwNjIyMjE1NzIzWhcNMjUwNjE3MjE1NzIzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEB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SxaNCWnh3lfmsstE0Jo_zL1O6cPKMMtvD21xFYchjWKjYGr1p5mGiM-OLLi8_ETKkYQTS0_gB7wZOGtsc0pIsvgAnqA-sMNn8Oy953Q4\u0026s=letU2Jpv7PznHvglUUKJw-Jhgi7FNZh4eyVnbCMS25XNE0wilBIu7E0OqgJkvTIOR9bqb1Gxr46VIsoyb2nVRjW7y5PM2KT7SKZDZBzC2tQMn2nzzHXtCsi2o6tN8rPcROIB1ZRONn0hXoaSUGwgeBcJQjGoj917jpH6Yk0GoWXHosUmgFl0Hv6mKzakf_FyuwE80HflMeWL4kk9_Kwn8EWZb6xKLUxpCnTUihyLXVVgy3QhtLtixKugx2I9gDLjeN4TtKHzN8n-EMBED_38Yc2X-pU0raqpqHZZGtjXo532u20Q9T-_-7PID_WSOiaiQPdX1TM_1GRX5b9mZIXktg\u0026h=JZVdKXfHOhyyV0GxkK5F27Y1L543T51XAKTX_rBgc70+3": { + "Set-AzConnectedMachineExtension+[NoContext]+Update+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/c71f89fa-0d91-4611-8ceb-6db1a4a3ab7d?api-version=2024-07-10\u0026t=638639275401882381\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwMjMxMTQxWhcNMjUwMzE5MjMxMTQxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKRtcYDBXS7zz5tRtvVyhrUAjudYhej1E2D3dp6XWuPdbVMbQZwMlye8vdT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J4bdnf1s3vFBNpgvJWKogWcNLlo8jnkbEf6RPNGe1W5lma7JwMKAcPzY\u0026s=i2KyLCrpNfrTxoqJV2lf_sqxDGhN_zjoGEcadgFSYUciR8cu-tv0i8rbqAPXi5EahxbWi4AjuSFnXINPl9OffyajCBrRoBIqx-nNd-r5qAL3WtICOqOmY5piVFvzR2j7XbpZu18shmGgD7BBxiq3GjjxkH6QrYE1Roye5NWESr0ASfiQaQ6e1gXDV7ixLyzfyROJnMkJWYgTf8rekFQyI07ctuka4ZGOHlO4HZ7aLMXhxoGLo0c9CR0hmz31JPb1UxFq-SJ_tD0xNbStnUSXM87Kj0vMzi43f9P44oYGTeGZKZAjmJB98N499p8SjTee_MjXuhEPRv8eHDjAmVXyAQ\u0026h=7XaLe3Ji1nZX4QRnwvnEysR6-n_J1Ga9vfCN4sCJgOU+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/100b45a5-48f9-4125-af74-23c4ff26d007?api-version=2024-05-20-preview\u0026t=638623842074783103\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwNjIyMjE1NzIzWhcNMjUwNjE3MjE1NzIzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALhRxgv00I_kIXwCJCxn0QIbiBxztKV5N7VUsmJclkirZBo6v69H49qwFEyTyf6TsDRZiDyUNhhfYpqgthcgDoGvOa0_uYNIt0GINfkDoySgM3HurzdD12Zyaj2wo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hgi7FNZh4eyVnbCMS25XNE0wilBIu7E0OqgJkvTIOR9bqb1Gxr46VIsoyb2nVRjW7y5PM2KT7SKZDZBzC2tQMn2nzzHXtCsi2o6tN8rPcROIB1ZRONn0hXoaSUGwgeBcJQjGoj917jpH6Yk0GoWXHosUmgFl0Hv6mKzakf_FyuwE80HflMeWL4kk9_Kwn8EWZb6xKLUxpCnTUihyLXVVgy3QhtLtixKugx2I9gDLjeN4TtKHzN8n-EMBED_38Yc2X-pU0raqpqHZZGtjXo532u20Q9T-_-7PID_WSOiaiQPdX1TM_1GRX5b9mZIXktg\u0026h=JZVdKXfHOhyyV0GxkK5F27Y1L543T51XAKTX_rBgc70", + "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/c71f89fa-0d91-4611-8ceb-6db1a4a3ab7d?api-version=2024-07-10\u0026t=638639275401882381\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwMjMxMTQxWhcNMjUwMzE5MjMxMTQxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKRtcYDBXS7zz5tRtvVyhrUAjudYhej1E2D3dp6XWuPdbVMbQZwMlye8vdT-kDhFD7T2mrdWqsoGnTGk0_xOHBfLGnW-0QRUqpeoTNIhu8vc2CfTUtm2t2s_-fzvFtRyhDA4mfCH1cz92EVj0vd3FD4ikW6bdOp1NkYFqUVBhKlbvJk6y-TbLFBLP5Zx4m0Ua-_P7aMzbgvOJgMOTC2jL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-r5qAL3WtICOqOmY5piVFvzR2j7XbpZu18shmGgD7BBxiq3GjjxkH6QrYE1Roye5NWESr0ASfiQaQ6e1gXDV7ixLyzfyROJnMkJWYgTf8rekFQyI07ctuka4ZGOHlO4HZ7aLMXhxoGLo0c9CR0hmz31JPb1UxFq-SJ_tD0xNbStnUSXM87Kj0vMzi43f9P44oYGTeGZKZAjmJB98N499p8SjTee_MjXuhEPRv8eHDjAmVXyAQ\u0026h=7XaLe3Ji1nZX4QRnwvnEysR6-n_J1Ga9vfCN4sCJgOU", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "7" ], - "x-ms-client-request-id": [ "4680612b-33da-430b-996b-e2f0a36ab257" ], + "x-ms-client-request-id": [ "9a12dfa5-5a61-45e6-9731-1e6e8627c279" ], "CommandName": [ "Set-AzConnectedMachineExtension" ], "FullCommandName": [ "Set-AzConnectedMachineExtension_UpdateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.5.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.1.0" ] }, "ContentHeaders": { } @@ -107,42 +107,42 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationresults/100b45a5-48f9-4125-af74-23c4ff26d007?api-version=2024-05-20-preview\u0026t=638623842228910505\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwNjIyMjE1NzIzWhcNMjUw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1vEBc0SNaQ8EQVToFyCD9wf1ZGu5uv4jk-oILXl_CzdRsvuGKmprgkbrMIS6t5V8ds7REAX8SiE37hqdZU5hNT74RwV32cg3gLtbUsPK22Kv1gf5KsCUZe9tEsEkyq_bSxaNCWnh3lfmsstE0Jo_zL1O6cPKMMtvD21xFYchjWKjYGr1p5mGiM-OLLi8_ETKkYQTS0_gB7wZOGtsc0pIsvgAnqA-sMNn8Oy953Q4\u0026s=ZVp5l5-cQ0T4c_5eZbV4w0TbaJqeslUC1j-WUDfI4FQ1j6R7TAxO_Au9LvtydnX4fxikI-nZHyEQa5ip6PUzvwtA8kLmF1vKuH5SbCDSW0bgfxuRKtFZICQtdk-ztHFTn0nWNphGDW2_bsoaMnEIIimx4j-yp68Wjdd2PXPsZ7nDK3md5tKK-8KErzDM4yOT9Rh55FGnVdUjrQzk-QDflswy2HTVTIOkcFcrT1qD0BmOexAh5J_EOb6PC0B8RAmRh5dLa97EPLdReb0SjTx6ockE3S6dtqq57AAnCa8ZrPrDskLBswZWr1ota7KRNr7vosLe5eMygKnSLUJjel9UOA\u0026h=zrS49fZ8HfWxRIAhXx8HzTNMTvzmE3MkMBwhdJsIURc" ], + "Location": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationresults/c71f89fa-0d91-4611-8ceb-6db1a4a3ab7d?api-version=2024-07-10\u0026t=638639275554923354\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwMjMxMTQxWhcNMjUwMzE5MjMxMTQxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dX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4GnP7PpQcRvAYMdH9LO5MRY7iLbBmosKatS_eWtSJD1CvzglNwy_vQzx81Vnk0CgndqXcVq-loGu7R4U7mkQ2NNqLbp447STxkpP-6Mdyv8J4bdnf1s3vFBNpgvJWKogWcNLlo8jnkbEf6RPNGe1W5lma7JwMKAcPzY\u0026s=DLirJL8NdE1IRdp_QMSsUsCdFhlAyW8UgtBWTAvJPF8OcMjc7KBezQiZ6u4ddIBWa_NPDXPJ4hmc0-VJK-SBXq1uS09TtnOzTkC7oBtd5nCe380usyEC6l_5ReaSPdrQyMlVhCJcboI0SYrIW6Xb8VxCZvdUBMNMdTS_-GHyI44pSPrfx4pCW3abNES-VwK3Cfca-52YK2Puv1imsxLDoSG4cp1cOKxvKgIu4VnHsZ8Ian6hRB4MfCLaHlK_X5S4-sIuQAUFnf0pmE2X-rF_KD24U1B93uPRZ38NKvdRIh8EKvG-fJ7ItLld5RhJzHP5SDe8g7jKLy6Et6Kypy2t1A\u0026h=SDaOYudyiMfJQ5Zh1MedhpZ63xJRvTkZsizNC9Ge48g" ], "Retry-After": [ "15" ], "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-request-id": [ "db7b8e88-4e79-4494-8ab4-098f25319071" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/100b45a5-48f9-4125-af74-23c4ff26d007?api-version=2024-05-20-preview\u0026t=638623842228754284\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwNjIyMjE1NzIzWhcNMjUwNjE3MjE1NzIzWjBAMT4wPAYDVQQDEzV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4jk-oILXl_CzdRsvuGKmprgkbrMIS6t5V8ds7REAX8SiE37hqdZU5hNT74RwV32cg3gLtbUsPK22Kv1gf5KsCUZe9tEsEkyq_bSxaNCWnh3lfmsstE0Jo_zL1O6cPKMMtvD21xFYchjWKjYGr1p5mGiM-OLLi8_ETKkYQTS0_gB7wZOGtsc0pIsvgAnqA-sMNn8Oy953Q4\u0026s=ieoVrlFei99gcqVKLuRR4toCbSLIASawjeCIQWwU47fDSxZkbNAMM6Wr-oRDrtINQ-FDj-t0JDG5ut30jGmTIC6xAYpboD4wtwohkjxUc1esGAhF4y1vD9xl7P1r6a2ui00xCVquU5RzYISgD15aTdaPEzfSrSA8D1J0i0juKBb6gb7sEumLc8dlecRZnnRHd8B0MVKN47OWMr5_0EkfvW8XALYbttX_W5TOFNzgjwMSJpc0NvHatCXrJNwgyT2yx8YW8F1aGjwvZIE02PXPzcoBm4XsMc_-eoIUI0yWWhCSR7ZuE4FMH8hIU_7R3vhFNMG9bxxP2KNGuRi1w2jhkg\u0026h=Z969Sx5abePA4onx72JjERqvQrcu8eACX23dFZ2YMXY" ], - "x-ms-correlation-request-id": [ "d2c5de29-f898-44e5-ae92-477d36c3a69a" ], - "x-ms-routing-request-id": [ "EASTUS:20240919T231022Z:d2c5de29-f898-44e5-ae92-477d36c3a69a" ], + "x-ms-request-id": [ "c794b509-850c-4418-bac8-25ab4613f95d" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/c71f89fa-0d91-4611-8ceb-6db1a4a3ab7d?api-version=2024-07-10\u0026t=638639275554767112\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcN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QmbcIH0adpnQNrDgRkNBBOTZ4s1LIBlRQapZpPsRItAMUguVpGVRH08T0i43w9xrp_clNbAJrrfRbmYroF0WJKMJ0nwW2rPjxdevSRygGK_nEfywwFi-p1RhHnkiEGL4GnP7PpQcRvAYMdH9LO5MRY7iLbBmosKatS_eWtSJD1CvzglNwy_vQzx81Vnk0CgndqXcVq-loGu7R4U7mkQ2NNqLbp447STxkpP-6Mdyv8J4bdnf1s3vFBNpgvJWKogWcNLlo8jnkbEf6RPNGe1W5lma7JwMKAcPzY\u0026s=TbC_ByBk4vFrhVbp9AVDlkKevkHyFajDtwNgVM9sr0FDt7nTd3Ycihm367iU39k1uc8sZRFHOmSKKQ8ejS0Ry50ExTDLlpsMEHBcRBJtq7wimfBQZYj05RWsmokegFaQGzuFEkPALigq7oEDofqFdRNaayFKtvIG0aiiCJZgYXxQ2DAnalwbOF4B87sxHa2TtqTAmv14up9KKkToZDJSFWHGbzg8g9WVPYLtCk3hnpodKHTucm92RfS9MKPabrvSOE7w-mGL49GoA8rubfpKfzVEqZCLmCf9y-NfOr23hCNd-QwkYA4nF9mo1tZQVCIXB9XVCXmetqKGlLWVxSuk2w\u0026h=9k0U2GZ9Bxav-OcQxi3aUmGLDodREEmgeEK7ILVmsJk" ], + "x-ms-correlation-request-id": [ "84a7211c-e35c-4708-afe0-03e41c8f2866" ], + "x-ms-routing-request-id": [ "EASTUS:20241007T195235Z:84a7211c-e35c-4708-afe0-03e41c8f2866" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: A8B723440D9D47BD8D62F298F2A62308 Ref B: MNZ221060609053 Ref C: 2024-09-19T23:10:22Z" ], - "Date": [ "Thu, 19 Sep 2024 23:10:22 GMT" ] + "X-MSEdge-Ref": [ "Ref A: F4DF807D793543FE91784DA9B0380911 Ref B: BL2AA2010204029 Ref C: 2024-10-07T19:52:35Z" ], + "Date": [ "Mon, 07 Oct 2024 19:52:34 GMT" ] }, "ContentHeaders": { "Content-Length": [ "112" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"100b45a5-48f9-4125-af74-23c4ff26d007\",\"status\":\"InProgress\",\"startTime\":\"2024-09-19T23:09:51.9700466Z\"}", + "Content": "{\"name\":\"c71f89fa-0d91-4611-8ceb-6db1a4a3ab7d\",\"status\":\"InProgress\",\"startTime\":\"2024-10-07T19:52:04.7628573Z\"}", "isContentBase64": false } }, - "Set-AzConnectedMachineExtension+[NoContext]+Update+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/100b45a5-48f9-4125-af74-23c4ff26d007?api-version=2024-05-20-preview\u0026t=638623842228754284\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwNjIyMjE1NzIzWhcNMjUwNjE3MjE1NzIzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALhRxgv00I_kIXwCJCxn0QIbiBxztKV5N7VUsmJclkirZBo6v69H49qwFEyTyf6TsDRZiDyUNhhfYpqgthcgDoGvOa0_uYNIt0GINfkDoySgM3HurzdD12Zyaj2woPrEkxHdoetI4nepp_ytiAmF81Z7YZyv05HKxV_WspPeyLBxorHcJ_drtY13Ez5tLDFiX_NnqLjf1oZojfYarEmVhETopjp53RxjVOKKRI4K2YWjs44wk0T2jaYGo5macYriIx3aHAxhN0aCURkqI1nWMC6SkdMrP1wdgAcHD5niTqQC5ql2zaSMLmc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0EkfvW8XALYbttX_W5TOFNzgjwMSJpc0NvHatCXrJNwgyT2yx8YW8F1aGjwvZIE02PXPzcoBm4XsMc_-eoIUI0yWWhCSR7ZuE4FMH8hIU_7R3vhFNMG9bxxP2KNGuRi1w2jhkg\u0026h=Z969Sx5abePA4onx72JjERqvQrcu8eACX23dFZ2YMXY+4": { + "Set-AzConnectedMachineExtension+[NoContext]+Update+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/c71f89fa-0d91-4611-8ceb-6db1a4a3ab7d?api-version=2024-07-10\u0026t=638639275554767112\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwMjMxMTQxWhcNMjUwMzE5MjMxMTQxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKRtcYDBXS7zz5tRtvVyhrUAjudYhej1E2D3dp6XWuPdbVMbQZwMlye8vdT-kDhFD7T2mrdWqsoGnTGk0_xOHBfLGnW-0QRUqpeoTNIhu8vc2CfTUtm2t2s_-fzvFtRyhDA4mfCH1cz92EVj0vd3FD4ikW6bdOp1NkYFqUVBhKlbvJk6y-TbLFBLP5Zx4m0Ua-_P7aMzbgvOJgMOTC2jLs5w_lFDJWeP3IKUOiJmrfLpf4ey5Ov94oCE6YncDBSHJZKWcrSxDHgSz9AXrxarL4HLajGbF3MRvfkMN2gNXCoiJXBEqCLDnyQZ0BgXIvuK7vG8Rj0TyhJNj-QPr8taY6UCAwEAAaOCBHQwggRwMCcGC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49GoA8rubfpKfzVEqZCLmCf9y-NfOr23hCNd-QwkYA4nF9mo1tZQVCIXB9XVCXmetqKGlLWVxSuk2w\u0026h=9k0U2GZ9Bxav-OcQxi3aUmGLDodREEmgeEK7ILVmsJk+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/100b45a5-48f9-4125-af74-23c4ff26d007?api-version=2024-05-20-preview\u0026t=638623842228754284\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwNjIyMjE1NzIzWhcNMjUwNjE3MjE1NzIzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALhRxgv00I_kIXwCJCxn0QIbiBxztKV5N7VUsmJclkirZBo6v69H49qwFEyTyf6TsDRZiDyUNhhfYpqgthcgDoGvOa0_uYNIt0GINfkDoySgM3HurzdD12Zyaj2woPrEkxHdoetI4nepp_ytiAmF81Z7YZyv05HKxV_WspPeyLBxorHcJ_drtY13Ez5tLDFiX_NnqLjf1oZojfYarEmVhETopjp53RxjVOKKRI4K2YWjs44wk0T2jaYGo5macYriIx3aHAxhN0aCURkqI1nWMC6SkdMrP1wdgAcHD5niTqQC5ql2zaSMLmcGFm50nyqRNylI1LJdmgPwGhN_dGd0E6ECAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpD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sx5abePA4onx72JjERqvQrcu8eACX23dFZ2YMXY", + "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/c71f89fa-0d91-4611-8ceb-6db1a4a3ab7d?api-version=2024-07-10\u0026t=638639275554767112\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwMjMxMTQxWhcNMjUwMzE5MjMxMTQxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKRtcYDBXS7zz5tRtvVyhrUAjudYhej1E2D3dp6XWuPdbVMbQZwMlye8vdT-kDhFD7T2mrdWqsoGnTGk0_xOHBfLGnW-0QRUqpeoTNIhu8vc2CfTUtm2t2s_-fzvFtRyhDA4mfCH1cz92EVj0vd3FD4ikW6bdOp1NkYFqUVBhKlbvJk6y-TbLFBLP5Zx4m0Ua-_P7aMzbgvOJgMOTC2jLs5w_lFDJWeP3IKUOiJmrfLpf4ey5Ov94oCE6YncDBSHJZKWcrSxDHgSz9AXrxarL4HLajGbF3MRvfkMN2gNXCoiJXBEqCLDnyQZ0BgXIvuK7vG8Rj0TyhJNj-QPr8taY6UCAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCs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AYKKwYBBAGCN3sBATBmBgorBgEEAYI3ewICMFgwVgYIKwYBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwEwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAG0WbzLPsmSSMI7aTe2npixmkdCmwcdZHGd43tUnB8JKrLNJEFcBsQmbcIH0adpnQNrDgRkNBBOTZ4s1LIBlRQapZpPsRItAMUguVpGVRH08T0i43w9xrp_clNbAJrrfRbmYroF0WJKMJ0nwW2rPjxdevSRygGK_nEfywwFi-p1RhHnkiEGL4GnP7PpQcRvAYMdH9LO5MRY7iLbBmosKatS_eWtSJD1CvzglNwy_vQzx81Vnk0CgndqXcVq-loGu7R4U7mkQ2NNqLbp447STxkpP-6Mdyv8J4bdnf1s3vFBNpgvJWKogWcNLlo8jnkbEf6RPNGe1W5lma7JwMKAcPzY\u0026s=TbC_ByBk4vFrhVbp9AVDlkKevkHyFajDtwNgVM9sr0FDt7nTd3Ycihm367iU39k1uc8sZRFHOmSKKQ8ejS0Ry50ExTDLlpsMEHBcRBJtq7wimfBQZYj05RWsmokegFaQGzuFEkPALigq7oEDofqFdRNaayFKtvIG0aiiCJZgYXxQ2DAnalwbOF4B87sxHa2TtqTAmv14up9KKkToZDJSFWHGbzg8g9WVPYLtCk3hnpodKHTucm92RfS9MKPabrvSOE7w-mGL49GoA8rubfpKfzVEqZCLmCf9y-NfOr23hCNd-QwkYA4nF9mo1tZQVCIXB9XVCXmetqKGlLWVxSuk2w\u0026h=9k0U2GZ9Bxav-OcQxi3aUmGLDodREEmgeEK7ILVmsJk", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "8" ], - "x-ms-client-request-id": [ "4680612b-33da-430b-996b-e2f0a36ab257" ], + "x-ms-client-request-id": [ "9a12dfa5-5a61-45e6-9731-1e6e8627c279" ], "CommandName": [ "Set-AzConnectedMachineExtension" ], "FullCommandName": [ "Set-AzConnectedMachineExtension_UpdateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.5.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.1.0" ] }, "ContentHeaders": { } @@ -152,39 +152,309 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationresults/c71f89fa-0d91-4611-8ceb-6db1a4a3ab7d?api-version=2024-07-10\u0026t=638639275709069066\u0026c=MIIHpTCCBo2gAwIBAgITOgOyui871wRtge60rAAEA7K6LzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSU5GUkEgQ0EgMDEwHhcNMjQwOTIyMTIyOTEzWhcNMjUwMzIxMTIyOTEzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALthCEIs4vwfpBtc8a6akzk9FNp-luTjsKhTETKForQzaFdF5S6PDjwZJVAOcVWePFAecP08Qp1FzfiX_Cl9StTirn6FO-MjJbWSG2THMvz756N87v6UNTXfNr29-Y-iFxGXE0LRwZ39GG4hV9nUekLb8OlN6VC48-A54O0iJybH12xGD4eKLbn4ilMqeYCyiivgk_AAxCvO75V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wfsosd5wT8jYVYM4Anf_sbhGbmFp6s0FKpTNxcEnrKKCWUppbEBzwRWeqcWQ7rnfLCeDS_Ukv3u8LnEGeWIKGTHuh-VLwD2H6aizHPUn-MIZVvNhefU7Yy2Z6_PUax94AANpWTNLQf7YsJaakQ-84mT_ze8nIhuEz5lxssZ1M0pdwOeOwwzl61VmAmuKCLC5vXTETncnHqOCZ6-scyvUenBcQ29gxm69TukMxAJCisQVFEFLMOoXSKwu5aibW8tBzv96btdkaR3vMdbVx4TtAIhAI5cWPC6g\u0026h=KRZSRQAmBT2vo8If2IFrDFmv7UM1KQhjUin6ig-p064" ], + "Retry-After": [ "15" ], "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-request-id": [ "a4b7c065-f056-44ff-9b17-33716b0c0523" ], - "x-ms-correlation-request-id": [ "45d45fdd-587f-43a4-aace-d3b4ebfc4cbe" ], - "x-ms-routing-request-id": [ "EASTUS:20240919T231038Z:45d45fdd-587f-43a4-aace-d3b4ebfc4cbe" ], + "x-ms-request-id": [ "f3ece61b-8e48-4d08-8c8c-0b9e5d790cdb" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/c71f89fa-0d91-4611-8ceb-6db1a4a3ab7d?api-version=2024-07-10\u0026t=638639275708912867\u0026c=MIIHpTCCBo2gAwIBAgITOgOyui871wRtge60rAAEA7K6LzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSU5GUkEgQ0EgMDEwHhcNMjQwOTIyMTIyOTEzWhcNMjUwMzIxMTIyOTEzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6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4PIGGzt5oIY5oWtLkqoxoad8CfpX7z8WM9YAUv1l-majml_BXWMmN0t5BbCB5MAuZPnD2rg3mtvh4FEV5pnTtTLPwpw7AAt-9DReZQOgsVkBLNSAzvuXHJzMAm03Gr-uZw7fY_-p1aqDgZ4KMTnQqVr8NvFE02_Gj_5hIaAdCp1bUhZ3ZrmZY\u0026s=ezeN59nbTQMGOsgQJTRWdpvQiF9y-5nHDIPPoqB5kKTICgWmP0xI4wHQgKXrCQ78DmUyDg8sego7IIqt0NadrujI60qT5IyGR1VwffVeaXVLa5_VijhIctWeK3FidsfsTrrMiAqltmcLTllt2pFRCLLkBYt2V0mH2In-sK5FgQFGPWUFJYvr2tmrIrV2QbPnTeCDglnDIFcBhfaCL7vG1fw-Btw98MhWlvHM3eucw_CxBvMMEyKW2ktU9lXWu3zuXkXx08169VO3eiNh75ANE6gernbg7PX9aK-cs-9gETXvjTkWq62AMwZb9OoG-kGbJuHjcnvcJqJnL8LJ644sgA\u0026h=L1ZocUe2cqppLvqo2Q0OIxi8CBvS8hTTLHlYEQX1w_E" ], + "x-ms-correlation-request-id": [ "483d113e-d3f8-45a1-9b62-d40fa00b3e6c" ], + "x-ms-routing-request-id": [ "EASTUS2:20241007T195250Z:483d113e-d3f8-45a1-9b62-d40fa00b3e6c" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 02A608EA70B64671B3F5E1200F489EC1 Ref B: MNZ221060609053 Ref C: 2024-09-19T23:10:38Z" ], - "Date": [ "Thu, 19 Sep 2024 23:10:38 GMT" ] + "X-MSEdge-Ref": [ "Ref A: F013CF6502E74719888C18721F24812E Ref B: BL2AA2010204029 Ref C: 2024-10-07T19:52:50Z" ], + "Date": [ "Mon, 07 Oct 2024 19:52:50 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "893" ], + "Content-Length": [ "112" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"100b45a5-48f9-4125-af74-23c4ff26d007\",\"status\":\"Succeeded\",\"startTime\":\"2024-09-19T23:09:51.9700466Z\",\"properties\":{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine/extensions/networkWatcher\",\"name\":\"networkWatcher\",\"type\":\"Microsoft.HybridCompute/machines/extensions\",\"location\":\"centraluseuap\",\"properties\":{\"publisher\":\"Microsoft.Azure.NetworkWatcher\",\"type\":\"NetworkWatcherAgentWindows\",\"typeHandlerVersion\":\"1.4.2798.3\",\"autoUpgradeMinorVersion\":false,\"enableAutomaticUpgrade\":true,\"settings\":{\"commandToExecute\":\"powershell.exe ls\"},\"provisioningState\":\"Succeeded\",\"instanceView\":{\"name\":\"networkWatcher\",\"type\":\"NetworkWatcherAgentWindows\",\"typeHandlerVersion\":\"1.4.2798.3\",\"status\":{\"code\":\"0\",\"level\":\"Information\",\"message\":\"Extension Message: Default configuration is in effect.\"}}}}}", + "Content": "{\"name\":\"c71f89fa-0d91-4611-8ceb-6db1a4a3ab7d\",\"status\":\"InProgress\",\"startTime\":\"2024-10-07T19:52:04.7628573Z\"}", "isContentBase64": false } }, - "Set-AzConnectedMachineExtension+[NoContext]+Update+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine/extensions/networkWatcher?api-version=2024-05-20-preview+5": { + "Set-AzConnectedMachineExtension+[NoContext]+Update+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/c71f89fa-0d91-4611-8ceb-6db1a4a3ab7d?api-version=2024-07-10\u0026t=638639275708912867\u0026c=MIIHpTCCBo2gAwIBAgITOgOyui871wRtge60rAAEA7K6LzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGR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KwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAHkWc1KMstXAU5p0ciSSzPoB_W772N_r2ITPfnNv7OdZGLyDL8VTUXFgLP_lVJgsrUcSXJi6GSjDB9ww5vQCsXJQgzO4bCx-jKgHjqphvAtqaiiUEs6HJZYAXzjGr6BPLIlx2qov7eiI-vLqT3h9gqiUGYjLwwKJdO4PIGGzt5oIY5oWtLkqoxoad8CfpX7z8WM9YAUv1l-majml_BXWMmN0t5BbCB5MAuZPnD2rg3mtvh4FEV5pnTtTLPwpw7AAt-9DReZQOgsVkBLNSAzvuXHJzMAm03Gr-uZw7fY_-p1aqDgZ4KMTnQqVr8NvFE02_Gj_5hIaAdCp1bUhZ3ZrmZY\u0026s=ezeN59nbTQMGOsgQJTRWdpvQiF9y-5nHDIPPoqB5kKTICgWmP0xI4wHQgKXrCQ78DmUyDg8sego7IIqt0NadrujI60qT5IyGR1VwffVeaXVLa5_VijhIctWeK3FidsfsTrrMiAqltmcLTllt2pFRCLLkBYt2V0mH2In-sK5FgQFGPWUFJYvr2tmrIrV2QbPnTeCDglnDIFcBhfaCL7vG1fw-Btw98MhWlvHM3eucw_CxBvMMEyKW2ktU9lXWu3zuXkXx08169VO3eiNh75ANE6gernbg7PX9aK-cs-9gETXvjTkWq62AMwZb9OoG-kGbJuHjcnvcJqJnL8LJ644sgA\u0026h=L1ZocUe2cqppLvqo2Q0OIxi8CBvS8hTTLHlYEQX1w_E+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine/extensions/networkWatcher?api-version=2024-05-20-preview", + "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/c71f89fa-0d91-4611-8ceb-6db1a4a3ab7d?api-version=2024-07-10\u0026t=638639275708912867\u0026c=MIIHpTCCBo2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jAfBgNVHSMEGDAWgBTl2Ztn_PjsurvwwKidileIud8-YzAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAHkWc1KMstXAU5p0ciSSzPoB_W772N_r2ITPfnNv7OdZGLyDL8VTUXFgLP_lVJgsrUcSXJi6GSjDB9ww5vQCsXJQgzO4bCx-jKgHjqphvAtqaiiUEs6HJZYAXzjGr6BPLIlx2qov7eiI-vLqT3h9gqiUGYjLwwKJdO4PIGGzt5oIY5oWtLkqoxoad8CfpX7z8WM9YAUv1l-majml_BXWMmN0t5BbCB5MAuZPnD2rg3mtvh4FEV5pnTtTLPwpw7AAt-9DReZQOgsVkBLNSAzvuXHJzMAm03Gr-uZw7fY_-p1aqDgZ4KMTnQqVr8NvFE02_Gj_5hIaAdCp1bUhZ3ZrmZY\u0026s=ezeN59nbTQMGOsgQJTRWdpvQiF9y-5nHDIPPoqB5kKTICgWmP0xI4wHQgKXrCQ78DmUyDg8sego7IIqt0NadrujI60qT5IyGR1VwffVeaXVLa5_VijhIctWeK3FidsfsTrrMiAqltmcLTllt2pFRCLLkBYt2V0mH2In-sK5FgQFGPWUFJYvr2tmrIrV2QbPnTeCDglnDIFcBhfaCL7vG1fw-Btw98MhWlvHM3eucw_CxBvMMEyKW2ktU9lXWu3zuXkXx08169VO3eiNh75ANE6gernbg7PX9aK-cs-9gETXvjTkWq62AMwZb9OoG-kGbJuHjcnvcJqJnL8LJ644sgA\u0026h=L1ZocUe2cqppLvqo2Q0OIxi8CBvS8hTTLHlYEQX1w_E", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "9" ], - "x-ms-client-request-id": [ "4680612b-33da-430b-996b-e2f0a36ab257" ], + "x-ms-client-request-id": [ "9a12dfa5-5a61-45e6-9731-1e6e8627c279" ], + "CommandName": [ "Set-AzConnectedMachineExtension" ], + "FullCommandName": [ "Set-AzConnectedMachineExtension_UpdateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationresults/c71f89fa-0d91-4611-8ceb-6db1a4a3ab7d?api-version=2024-07-10\u0026t=638639275862038745\u0026c=MIIHpTCCBo2gAwIBAgITOgOyui871wRtge60rAAEA7K6LzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSU5GUkEgQ0EgMDEwHhcNMjQwOTIyMTIyOTEzWhcNMjUwMzIxMTIyOTEzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALthCEIs4vwfpBtc8a6akzk9FNp-luTjsKhTETKForQzaFdF5S6PDjwZJVAOcVWePFAecP08Qp1FzfiX_Cl9StTirn6FO-MjJbWSG2THMvz756N87v6UNTXfNr29-Y-iFxGXE0LRwZ39GG4hV9nUekLb8OlN6VC48-A54O0iJybH12xGD4eKLbn4ilMqeYCyiivgk_AAxCvO75VjkDUu1PztXTqXfeLvWxaeqT1RTux_k8SPeFde5JPpWGKFNih2uv3JG5KjyszNBV6b2MaWQRiNYIiPo9N_DvTiv2r7BWNvocSISt9wLymfNp0mmAvGajmSbXqs2iphrYgHuVIhOskCAwEAAaOCBJIwggSOMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAw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ozMRIiehIAY9GXBDP194HpnInmicGDqCJ-xf4ueexblmZ9hV2F3jn0hq4Mjw\u0026h=N3EGY2_NVNCvmPYZdfVh96V8mZsIoQTIhBY34TzhXZU" ], + "Retry-After": [ "15" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "x-ms-request-id": [ "39eecf7d-c502-4cd3-9333-80cca3e584b9" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/c71f89fa-0d91-4611-8ceb-6db1a4a3ab7d?api-version=2024-07-10\u0026t=638639275862038745\u0026c=MIIHpTCCBo2gAwIBAgITOgOyui871wRtge60rAAEA7K6LzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSU5GUkEgQ0EgMDEwHhcNMjQwOTIyMTIyOTEzWhcNMjUwMzIxMTIyOTEzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALthCEIs4vwfpBtc8a6akzk9FNp-luTjsKhTETKForQzaFdF5S6PDjwZJVAOcVWePFAecP08Qp1FzfiX_Cl9StTirn6FO-MjJbWSG2THMvz756N87v6UNTXfNr29-Y-iFxGXE0LRwZ39GG4hV9nUekLb8OlN6VC48-A54O0iJybH12xGD4eKLbn4ilMqeYCyiivgk_AAxCvO75VjkDUu1PztXTqXfeLvWxaeqT1RTux_k8SPeFde5JPpWGKFNih2uv3JG5KjyszNBV6b2MaWQRiNYIiPo9N_DvTiv2r7BWNvocSISt9wLymfNp0mmAvGajmSbXqs2iphrYgHuVIhOskCAwEAAaOCBJIwggSOM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hLtFpfkgiW_-lPg_WYBNpyH1QP68vJMlN1a_p8t4kSRVD39DZ3Jhihix-qD7tZIrHu3P5S7K_wYjW_vOeqdpBwwLFJFzZBqTMLvjs4UHbj6BEcG1pMhQVZZUwaD_EDfOM5DHxc_4cig\u0026h=nBgJ7KmWGvs0xEfzE4iSPRsYEsJMZRN1sVb7fHMkoMU" ], + "x-ms-correlation-request-id": [ "33d7f1dd-afce-4fd2-92d9-d1f6813968b7" ], + "x-ms-routing-request-id": [ "EASTUS2:20241007T195306Z:33d7f1dd-afce-4fd2-92d9-d1f6813968b7" ], + "X-Content-Type-Options": [ "nosniff" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 1CAC9C63454042F6ADD9FB1ABA9A514D Ref B: BL2AA2010204029 Ref C: 2024-10-07T19:53:06Z" ], + "Date": [ "Mon, 07 Oct 2024 19:53:05 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "112" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"c71f89fa-0d91-4611-8ceb-6db1a4a3ab7d\",\"status\":\"InProgress\",\"startTime\":\"2024-10-07T19:52:04.7628573Z\"}", + "isContentBase64": false + } + }, + "Set-AzConnectedMachineExtension+[NoContext]+Update+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/c71f89fa-0d91-4611-8ceb-6db1a4a3ab7d?api-version=2024-07-10\u0026t=638639275862038745\u0026c=MIIHpTCCBo2gAwIBAgITOgOyui871wRtge60rAAEA7K6LzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSU5GUkEgQ0EgMDEwHhcNMjQwOTIyMTIyOTEzWhcNMjUwMzIxMTIyOTEzWjBAMT4wPAYDVQQDEzVhc3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phvAtqaiiUEs6HJZYAXzjGr6BPLIlx2qov7eiI-vLqT3h9gqiUGYjLwwKJdO4PIGGzt5oIY5oWtLkqoxoad8CfpX7z8WM9YAUv1l-majml_BXWMmN0t5BbCB5MAuZPnD2rg3mtvh4FEV5pnTtTLPwpw7AAt-9DReZQOgsVkBLNSAzvuXHJzMAm03Gr-uZw7fY_-p1aqDgZ4KMTnQqVr8NvFE02_Gj_5hIaAdCp1bUhZ3ZrmZY\u0026s=JaMdoLZOcu6RK1T6GW37gEQgq5aYa8drwHCuKapjeffZuLHPGceGbsIZXIH1kkCSHDQyv6ddWK3hqKe7P96Z_RIOeZulswIUU6zmUnC2mmyseRp7z7vZdu0R-4m_8Q97aI357V0CDjopRcEBX2d1XwBeiscY8LBx-L5Gi66izmEBiYqRa3JJinyqHmSbuICZ-7z2Pj0aV8LhLtFpfkgiW_-lPg_WYBNpyH1QP68vJMlN1a_p8t4kSRVD39DZ3Jhihix-qD7tZIrHu3P5S7K_wYjW_vOeqdpBwwLFJFzZBqTMLvjs4UHbj6BEcG1pMhQVZZUwaD_EDfOM5DHxc_4cig\u0026h=nBgJ7KmWGvs0xEfzE4iSPRsYEsJMZRN1sVb7fHMkoMU+6": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/c71f89fa-0d91-4611-8ceb-6db1a4a3ab7d?api-version=2024-07-10\u0026t=638639275862038745\u0026c=MIIHpTCCBo2gAwIBAgITOgOyui871wRtge60rAAEA7K6LzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSU5GUkEgQ0EgMDEwHhcNMjQwOTIyMTIyOTEzWhcNMjUwMzIxMTIyOTEzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZ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7eiI-vLqT3h9gqiUGYjLwwKJdO4PIGGzt5oIY5oWtLkqoxoad8CfpX7z8WM9YAUv1l-majml_BXWMmN0t5BbCB5MAuZPnD2rg3mtvh4FEV5pnTtTLPwpw7AAt-9DReZQOgsVkBLNSAzvuXHJzMAm03Gr-uZw7fY_-p1aqDgZ4KMTnQqVr8NvFE02_Gj_5hIaAdCp1bUhZ3ZrmZY\u0026s=JaMdoLZOcu6RK1T6GW37gEQgq5aYa8drwHCuKapjeffZuLHPGceGbsIZXIH1kkCSHDQyv6ddWK3hqKe7P96Z_RIOeZulswIUU6zmUnC2mmyseRp7z7vZdu0R-4m_8Q97aI357V0CDjopRcEBX2d1XwBeiscY8LBx-L5Gi66izmEBiYqRa3JJinyqHmSbuICZ-7z2Pj0aV8LhLtFpfkgiW_-lPg_WYBNpyH1QP68vJMlN1a_p8t4kSRVD39DZ3Jhihix-qD7tZIrHu3P5S7K_wYjW_vOeqdpBwwLFJFzZBqTMLvjs4UHbj6BEcG1pMhQVZZUwaD_EDfOM5DHxc_4cig\u0026h=nBgJ7KmWGvs0xEfzE4iSPRsYEsJMZRN1sVb7fHMkoMU", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "10" ], + "x-ms-client-request-id": [ "9a12dfa5-5a61-45e6-9731-1e6e8627c279" ], + "CommandName": [ "Set-AzConnectedMachineExtension" ], + "FullCommandName": [ "Set-AzConnectedMachineExtension_UpdateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationresults/c71f89fa-0d91-4611-8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ZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwEwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBTl2Ztn_PjsurvwwKidileIud8-YzAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAHkWc1KMstXAU5p0ciSSzPoB_W772N_r2ITPfnNv7OdZGLyDL8VTUXFgLP_lVJgsrUcSXJi6GSjDB9ww5vQCsXJQgzO4bCx-jKgHjqphvAtqaiiUEs6HJZYAXzjGr6BPLIlx2qov7eiI-vLqT3h9gqiUGYjLwwKJdO4PIGGzt5oIY5oWtLkqoxoad8CfpX7z8WM9YAUv1l-majml_BXWMmN0t5BbCB5MAuZPnD2rg3mtvh4FEV5pnTtTLPwpw7AAt-9DReZQOgsVkBLNSAzvuXHJzMAm03Gr-uZw7fY_-p1aqDgZ4KMTnQqVr8NvFE02_Gj_5hIaAdCp1bUhZ3ZrmZY\u0026s=Kl52jPwSgdv4tgFCb1bcy6slrHP6h0WCrgEOX2z-khazinT4TPAak8MZ7TqTENWfbRpvXlS8A4FRuO7SJSf8uheRiDGNjWjgyYK829MP8E8YAbDNS_J-m6Imf7Ha35qeFyT0_n0g_oLWFLakpu7I09ppo7-6hi_lVKbmMjF7hGg3ZYHD9hRdGZRURpClgNQ5fUL3tfCWeIabUNwLAPLAYKwXojBCm2vU6Uh4VoWroHI6RYfl-VG3Ho14G6w6XGyAf-6J3oddYdqGCQJ_WRvHx9JN_7kfSrhibPnYrEitchQ0XDYUXoENLQK0DgpF9Epm9s5TsLMdSmTlZTWAohjoOQ\u0026h=zHyWP10zS683KnWQTNsYAMiJriEIwe7dbixXiStbvvI" ], + "Retry-After": [ "15" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "x-ms-request-id": [ "fe563585-c218-4edb-8f11-c5ba8a370f5e" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/c71f89fa-0d91-4611-8ceb-6db1a4a3ab7d?api-version=2024-07-10\u0026t=638639276014377359\u0026c=MIIHpTCCBo2gAwIBAgITOgOyui871wRtge60rAAEA7K6LzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSU5GUkEgQ0EgMDEwHhcNMjQwOTIyMTIyOTEzWhcNMjUwMzIxMTIyOTEzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALthCEIs4vwfpBtc8a6akzk9FNp-luTjsKhTETKForQzaFdF5S6PDjwZJVAOcVWePFAecP08Qp1FzfiX_Cl9StTirn6FO-MjJbWSG2THMvz756N87v6UNTXfNr29-Y-iFxGXE0LRwZ39GG4hV9nUekLb8OlN6VC48-A54O0iJybH12xGD4eKLbn4ilMqeYCyiivgk_AAxCvO75VjkDUu1PztXTqXfeLvWxaeqT1RTux_k8SPeFde5JPpWGKFNih2uv3JG5KjyszNBV6b2MaWQRiNYIiPo9N_DvTiv2r7BWNvocSISt9wLymfNp0mmAvGajmSbXqs2iphrYgHuVIhOskCAwEAAaOCBJIwggSOMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQlkyUEtJSU5UQ0EwMS5BTUU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UHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwEwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBTl2Ztn_PjsurvwwKidileIud8-YzAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAHkWc1KMstXAU5p0ciSSzPoB_W772N_r2ITPfnNv7OdZGLyDL8VTUXFgLP_lVJgsrUcSXJi6GSjDB9ww5vQCsXJQgzO4bCx-jKgHjqphvAtqaiiUEs6HJZYAXzjGr6BPLIlx2qov7eiI-vLqT3h9gqiUGYjLwwKJdO4PIGGzt5oIY5oWtLkqoxoad8CfpX7z8WM9YAUv1l-majml_BXWMmN0t5BbCB5MAuZPnD2rg3mtvh4FEV5pnTtTLPwpw7AAt-9DReZQOgsVkBLNSAzvuXHJzMAm03Gr-uZw7fY_-p1aqDgZ4KMTnQqVr8NvFE02_Gj_5hIaAdCp1bUhZ3ZrmZY\u0026s=pUN0QFFhI5H31ItGGWUVQ0flgAKzPxkLdG9vLRJEv659I7ayiR7uJAN2rADrvEifEqmfrSNH3aO173Zejaey-J5ceXWMmrS4_rQ2I34p8M9fHlslqQOynRI31ClbjsIbOHF6FVu0QDJLQc21sUY7nuUBA_DagvO7GLDjS5BjOmD4MPyJrywM_bfrlFLUXML4iLUq6hLr-d7kVpOjOptAGApfirh5O_BFStWx0BxiRIFSIDY1MFaPiiUy1oXYTUljmfL9rBUIfwG9ia9SE_YyoNgwa27QJOO9LdJwkyIp59PzEtRuf6rF1QySe2H4_DwMkC704ZlaYaBnFhIAB95MXA\u0026h=ZRd5HPKF4Hil0sWQ5hHsAVAc3WOifT_5FB33uhLsg0w" ], + "x-ms-correlation-request-id": [ "47fd37e3-7f78-444b-af03-89dbfd1d802c" ], + "x-ms-routing-request-id": [ "EASTUS2:20241007T195321Z:47fd37e3-7f78-444b-af03-89dbfd1d802c" ], + "X-Content-Type-Options": [ "nosniff" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 12C6F24A380A4743B1CA3C37B4C3C354 Ref B: BL2AA2010204029 Ref C: 2024-10-07T19:53:21Z" ], + "Date": [ "Mon, 07 Oct 2024 19:53:20 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "112" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"c71f89fa-0d91-4611-8ceb-6db1a4a3ab7d\",\"status\":\"InProgress\",\"startTime\":\"2024-10-07T19:52:04.7628573Z\"}", + "isContentBase64": false + } + }, + "Set-AzConnectedMachineExtension+[NoContext]+Update+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/c71f89fa-0d91-4611-8ceb-6db1a4a3ab7d?api-version=2024-07-10\u0026t=638639276014377359\u0026c=MIIHpTCCBo2gAwIBAgITOgOyui871wRtge60rAAEA7K6LzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSU5GUkEgQ0EgMDEwHhcNMjQwOTIyMTIyOTEzWhcNMjUwMzIxMTIyOTEzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALthCEIs4vwfpBtc8a6akzk9FNp-luTjsKhTETKForQzaFdF5S6PDjwZJVAOcVWePFAecP08Qp1FzfiX_Cl9StTirn6FO-MjJbWSG2THMvz756N87v6UNTXfNr29-Y-iFxGXE0LRwZ39GG4hV9nUekLb8OlN6VC48-A54O0iJybH12xGD4eKLbn4il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kLdG9vLRJEv659I7ayiR7uJAN2rADrvEifEqmfrSNH3aO173Zejaey-J5ceXWMmrS4_rQ2I34p8M9fHlslqQOynRI31ClbjsIbOHF6FVu0QDJLQc21sUY7nuUBA_DagvO7GLDjS5BjOmD4MPyJrywM_bfrlFLUXML4iLUq6hLr-d7kVpOjOptAGApfirh5O_BFStWx0BxiRIFSIDY1MFaPiiUy1oXYTUljmfL9rBUIfwG9ia9SE_YyoNgwa27QJOO9LdJwkyIp59PzEtRuf6rF1QySe2H4_DwMkC704ZlaYaBnFhIAB95MXA\u0026h=ZRd5HPKF4Hil0sWQ5hHsAVAc3WOifT_5FB33uhLsg0w+7": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/c71f89fa-0d91-4611-8ceb-6db1a4a3ab7d?api-version=2024-07-10\u0026t=638639276014377359\u0026c=MIIHpTCCBo2gAwIBAgITOgOyui871wRtge60rAAEA7K6LzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSU5GUkEgQ0EgMDEwHhcNMjQwOTIyMTIyOTEzWhcNMjUwMzIxMTIyOTEzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALthCEIs4vwfpBtc8a6akzk9FNp-luTjsKhTETKForQzaFdF5S6PDjwZJVAOcVWePFAecP08Qp1FzfiX_Cl9StTirn6FO-MjJbWSG2THMvz756N87v6UNTXfNr29-Y-iFxGXE0LRwZ39GG4hV9nUekLb8OlN6VC48-A54O0iJybH12xGD4eKLbn4ilMqeYCyiivgk_AAxCvO75VjkDUu1PztXTqXfeLvWxaeqT1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Zejaey-J5ceXWMmrS4_rQ2I34p8M9fHlslqQOynRI31ClbjsIbOHF6FVu0QDJLQc21sUY7nuUBA_DagvO7GLDjS5BjOmD4MPyJrywM_bfrlFLUXML4iLUq6hLr-d7kVpOjOptAGApfirh5O_BFStWx0BxiRIFSIDY1MFaPiiUy1oXYTUljmfL9rBUIfwG9ia9SE_YyoNgwa27QJOO9LdJwkyIp59PzEtRuf6rF1QySe2H4_DwMkC704ZlaYaBnFhIAB95MXA\u0026h=ZRd5HPKF4Hil0sWQ5hHsAVAc3WOifT_5FB33uhLsg0w", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "11" ], + "x-ms-client-request-id": [ "9a12dfa5-5a61-45e6-9731-1e6e8627c279" ], + "CommandName": [ "Set-AzConnectedMachineExtension" ], + "FullCommandName": [ "Set-AzConnectedMachineExtension_UpdateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationresults/c71f89fa-0d91-4611-8ceb-6db1a4a3ab7d?api-version=2024-07-10\u0026t=638639276167592699\u0026c=MIIHpTCCBo2gAwIBAgITOgOyui871wRtge60rAAEA7K6LzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSU5GUkEgQ0EgMDEwHhcNMjQwOTIyMTIyOTEzWhcNMjUwMzIxMTIyOTEzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F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-vLqT3h9gqiUGYjLwwKJdO4PIGGzt5oIY5oWtLkqoxoad8CfpX7z8WM9YAUv1l-majml_BXWMmN0t5BbCB5MAuZPnD2rg3mtvh4FEV5pnTtTLPwpw7AAt-9DReZQOgsVkBLNSAzvuXHJzMAm03Gr-uZw7fY_-p1aqDgZ4KMTnQqVr8NvFE02_Gj_5hIaAdCp1bUhZ3ZrmZY\u0026s=objTW5MJoqk6OTw9Z8PxS1a23yGxEG6BOH2ll_j-8lfRw68lIX0rm11QPoBc4WERJxPpJbE9Sd7UogCxkZEMK8yGmP7fEwe3JXt552taoxcNi-tto-Grt-shplmh2XbUzf32_TLSKHH6Xd6asAb0lciSPUj-zwtJqkrjZSACPw3KzgVfVzfmcy8evWVBG5v31PGdqJkdSGD8D2UDyfa1hkox6yeIbFZ0WgcxRgY2dAAgu-4pcwzhnwvrvwoPSKPZQQWn8oEqgifalFhGNY6ZVC-U24dopIEefqQhOHLiPi4ZmPj9lx42JCpj9ekw-VnzK8kD3m_zFs0bDaQRltBdgA\u0026h=jcPKpBp6qlhxzyYU-ZsR8dirZoFFSL9TLwzl2kyt2Wc" ], + "Retry-After": [ "15" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11997" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "x-ms-request-id": [ "af5a9e81-ee30-478b-899b-0c10c4cb540d" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/c71f89fa-0d91-4611-8ceb-6db1a4a3ab7d?api-version=2024-07-10\u0026t=638639276167436459\u0026c=MIIHpTCCBo2gAwIBAgITOgOyui871wRtge60rAAEA7K6LzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSU5GUkEgQ0EgMDEwHhcNMjQwOTIyMTIyOTE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lVJgsrUcSXJi6GSjDB9ww5vQCsXJQgzO4bCx-jKgHjqphvAtqaiiUEs6HJZYAXzjGr6BPLIlx2qov7eiI-vLqT3h9gqiUGYjLwwKJdO4PIGGzt5oIY5oWtLkqoxoad8CfpX7z8WM9YAUv1l-majml_BXWMmN0t5BbCB5MAuZPnD2rg3mtvh4FEV5pnTtTLPwpw7AAt-9DReZQOgsVkBLNSAzvuXHJzMAm03Gr-uZw7fY_-p1aqDgZ4KMTnQqVr8NvFE02_Gj_5hIaAdCp1bUhZ3ZrmZY\u0026s=aZcnu47RNDi9IbgR71Hidn77kV91O4bErnJuvq-4bghI-mzGG8NIi04Z-33GvohSvUinIpf7LiUTDGDT9mTU_8KTotVZNF9jX_9KeE7ajGelWmCdFMJyjeg99DUCGRGDDqsBogv-iDc8Qo0Bvp-9XKyEfJ3TRiaZ07mBAKR-Wq0oskVlE5lbMDuWboI4aCrjCEwvG0ACdoTd-QbKhnqRukBUDx9CyhltolNB74IgAyNnstdiAuLj9xidY3akidGsTrvV1NbNFpKp_76GiRJS02gtSXkzRKGW1GBTardvPW_1nCr0Ur1mdM1JJYko0AcFmoDP4bV_Be9LM3fLXz2PDw\u0026h=J1iEO8KoG-nkaWv_NH-pGw_5VfgE52BamlDtmOtQEBs" ], + "x-ms-correlation-request-id": [ "6ef354fa-4683-46f9-8515-f4dbb8446546" ], + "x-ms-routing-request-id": [ "EASTUS2:20241007T195336Z:6ef354fa-4683-46f9-8515-f4dbb8446546" ], + "X-Content-Type-Options": [ "nosniff" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 80B0E86814204E3995F98E0CD59E5197 Ref B: BL2AA2010204029 Ref C: 2024-10-07T19:53:36Z" ], + "Date": [ "Mon, 07 Oct 2024 19:53:35 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "112" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"c71f89fa-0d91-4611-8ceb-6db1a4a3ab7d\",\"status\":\"InProgress\",\"startTime\":\"2024-10-07T19:52:04.7628573Z\"}", + "isContentBase64": false + } + }, + "Set-AzConnectedMachineExtension+[NoContext]+Update+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/c71f89fa-0d91-4611-8ceb-6db1a4a3ab7d?api-version=2024-07-10\u0026t=638639276167436459\u0026c=MIIHpTCCBo2gAwIBAgITOgOyui871wRtge60rAAEA7K6LzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSU5GUkEgQ0EgMDEwHhcNMjQwOTIyMTIyOTEzWhcNMjUwMzIxMTIyOTEzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALthCEIs4vwfpBtc8a6akzk9FNp-luTjsKhTETKForQzaFdF5S6PDjwZJVAOcVWePFAecP08Qp1FzfiX_Cl9StTirn6FO-MjJbWSG2THMvz756N87v6UNTXfNr29-Y-iFxGXE0LRwZ39GG4hV9nUekLb8OlN6VC48-A54O0iJybH12xGD4eKLbn4ilMqeYCyiivgk_AAxCvO75VjkDUu1PztXTqXfeLvWxaeqT1RTux_k8SPeFde5JPpWGKFNih2uv3JG5KjyszNBV6b2MaWQRiNYIiPo9N_DvTiv2r7BWNvocSISt9wLymfNp0mmAvGajmSbXqs2iphrYgHuVIhOskCAwEAAaOCBJIwggSOMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQC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J1iEO8KoG-nkaWv_NH-pGw_5VfgE52BamlDtmOtQEBs+8": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/c71f89fa-0d91-4611-8ceb-6db1a4a3ab7d?api-version=2024-07-10\u0026t=638639276167436459\u0026c=MIIHpTCCBo2gAwIBAgITOgOyui871wRtge60rAAEA7K6LzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSU5GUkEgQ0EgMDEwHhcNMjQwOTIyMTIyOTEzWhcNMjUwMzIxMTIyOTEzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALthCEIs4vwfpBtc8a6akzk9FNp-luTjsKhTETKForQzaFdF5S6PDjwZJVAOcVWePFAecP08Qp1FzfiX_Cl9StTirn6FO-MjJbWSG2THMvz756N87v6UNTXfNr29-Y-iFxGXE0LRwZ39GG4hV9nUekLb8OlN6VC48-A54O0iJybH12xGD4eKLbn4ilMqeYCyiivgk_AAxCvO75VjkDUu1PztXTqXfeLvWxaeqT1RTux_k8SPeFde5JPpWGKFNih2uv3JG5KjyszNBV6b2MaWQRiNYIiPo9N_DvTiv2r7BWNvocSISt9wLymfNp0mmAvGajmSbXqs2iphrYgHuVIhOskCAwEAAaOCBJIwggSOMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFB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+ "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "12" ], + "x-ms-client-request-id": [ "9a12dfa5-5a61-45e6-9731-1e6e8627c279" ], + "CommandName": [ "Set-AzConnectedMachineExtension" ], + "FullCommandName": [ "Set-AzConnectedMachineExtension_UpdateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationresults/c71f89fa-0d91-4611-8ceb-6db1a4a3ab7d?api-version=2024-07-10\u0026t=638639276320999433\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwMjMxMTQxWhcNMjUwMzE5MjMxMTQxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKRtcYDBXS7zz5tRtvVyhrUAjudYhej1E2D3dp6XWuPdbVMbQZwMlye8vdT-kDhFD7T2mrdWqsoGnTGk0_xOHBfLGnW-0QRUqpeoTNIhu8vc2CfTUtm2t2s_-fzvFtRyhDA4mfCH1cz92EVj0vd3FD4ikW6bdOp1NkYFqUVBhKlbvJk6y-TbLFBLP5Zx4m0Ua-_P7aMzbgvOJgMOTC2jLs5w_lFDJWeP3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US91Z6MgwCV0XUADZTl7X7xkeHETangA8c8aUSwcHxDljD035CUsogZk_JW6FyhpzwoqzXJth1OCbaeCXtMJlfxD0-jPWc_GyNvzx-DZkam7GYQun2rCIqn3AEYdHpHOT_GGsFsT4C0tuB_9DsQYfdcWRjCNms09duW8fnOjaj3fUhlCYtyp33aVzVp66o99vMP_G4B0H4E4XSEXMk2WZWFJotEyQu6Zj6Rg\u0026h=3W7jGiiFZU4GeR05ZnyxU0sSCROnLHmIo7k4UvjLKws" ], + "Retry-After": [ "15" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "x-ms-request-id": [ "ee1b20a5-1f73-4816-885f-c8121e49de3d" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/c71f89fa-0d91-4611-8ceb-6db1a4a3ab7d?api-version=2024-07-10\u0026t=638639276320999433\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwMjMxMTQxWhcNMjUwMzE5MjMxMTQxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKRtcYDBXS7zz5tRtvVyhrUAjudYhej1E2D3dp6XWuPdbVMbQZwMlye8vdT-kDhFD7T2mrdWqsoGnTGk0_xOHBfLGnW-0QRUqpeoTNIhu8vc2CfTUtm2t2s_-fzvFtRyhDA4mfCH1cz92EVj0vd3FD4ikW6bdOp1NkYFqUVBhKl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AZajNXZCPSW9bfaAE7L4SntedRLEzdp20d-tdmttkhCM2QkLAKIq2adZbZJ1nkl2pF3C4bymvlzbX9seGw91V3OKsnC9TgsGqbBXluJYjfDKtBmVTuWcw4WnNX5kPmQ-fg2dnYQe1Bxh2sPUXwaaRIjjTZOpDz014WU2rYUbaKnJpolq9NHftGIe-YYzuh-ANMgjmKnqMX029Eyicy8uFdzdUkt8gSv8uJGAPkh19dEq8Z26TR3sKaIl6hhpft_YEHZYDeJf9iE0mdBA5u3nuuRcIsA9GqGw\u0026h=1X7TAMkmC0MJgnzoLS9n5r9xxf0k2B6ub9ThVpyF5QE" ], + "x-ms-correlation-request-id": [ "92a5b094-b144-4ab7-86fc-a27c9c0655a9" ], + "x-ms-routing-request-id": [ "EASTUS:20241007T195352Z:92a5b094-b144-4ab7-86fc-a27c9c0655a9" ], + "X-Content-Type-Options": [ "nosniff" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 6F9CC4826CF647A580FDCC3E324EB85C Ref B: BL2AA2010204029 Ref C: 2024-10-07T19:53:52Z" ], + "Date": [ "Mon, 07 Oct 2024 19:53:51 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "112" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"c71f89fa-0d91-4611-8ceb-6db1a4a3ab7d\",\"status\":\"InProgress\",\"startTime\":\"2024-10-07T19:52:04.7628573Z\"}", + "isContentBase64": false + } + }, + "Set-AzConnectedMachineExtension+[NoContext]+Update+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/c71f89fa-0d91-4611-8ceb-6db1a4a3ab7d?api-version=2024-07-10\u0026t=638639276320999433\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQ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UHAwIwDQYJKoZIhvcNAQELBQADggEBAG0WbzLPsmSSMI7aTe2npixmkdCmwcdZHGd43tUnB8JKrLNJEFcBsQmbcIH0adpnQNrDgRkNBBOTZ4s1LIBlRQapZpPsRItAMUguVpGVRH08T0i43w9xrp_clNbAJrrfRbmYroF0WJKMJ0nwW2rPjxdevSRygGK_nEfywwFi-p1RhHnkiEGL4GnP7PpQcRvAYMdH9LO5MRY7iLbBmosKatS_eWtSJD1CvzglNwy_vQzx81Vnk0CgndqXcVq-loGu7R4U7mkQ2NNqLbp447STxkpP-6Mdyv8J4bdnf1s3vFBNpgvJWKogWcNLlo8jnkbEf6RPNGe1W5lma7JwMKAcPzY\u0026s=lhqrhgs5YgynCrpKwh1ITDTB4TsFaed1G9WOsz2RO4SxhddmZYKsaLAZajNXZCPSW9bfaAE7L4SntedRLEzdp20d-tdmttkhCM2QkLAKIq2adZbZJ1nkl2pF3C4bymvlzbX9seGw91V3OKsnC9TgsGqbBXluJYjfDKtBmVTuWcw4WnNX5kPmQ-fg2dnYQe1Bxh2sPUXwaaRIjjTZOpDz014WU2rYUbaKnJpolq9NHftGIe-YYzuh-ANMgjmKnqMX029Eyicy8uFdzdUkt8gSv8uJGAPkh19dEq8Z26TR3sKaIl6hhpft_YEHZYDeJf9iE0mdBA5u3nuuRcIsA9GqGw\u0026h=1X7TAMkmC0MJgnzoLS9n5r9xxf0k2B6ub9ThVpyF5QE+9": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/c71f89fa-0d91-4611-8ceb-6db1a4a3ab7d?api-version=2024-07-10\u0026t=638639276320999433\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BT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wcdZHGd43tUnB8JKrLNJEFcBsQmbcIH0adpnQNrDgRkNBBOTZ4s1LIBlRQapZpPsRItAMUguVpGVRH08T0i43w9xrp_clNbAJrrfRbmYroF0WJKMJ0nwW2rPjxdevSRygGK_nEfywwFi-p1RhHnkiEGL4GnP7PpQcRvAYMdH9LO5MRY7iLbBmosKatS_eWtSJD1CvzglNwy_vQzx81Vnk0CgndqXcVq-loGu7R4U7mkQ2NNqLbp447STxkpP-6Mdyv8J4bdnf1s3vFBNpgvJWKogWcNLlo8jnkbEf6RPNGe1W5lma7JwMKAcPzY\u0026s=lhqrhgs5YgynCrpKwh1ITDTB4TsFaed1G9WOsz2RO4SxhddmZYKsaLAZajNXZCPSW9bfaAE7L4SntedRLEzdp20d-tdmttkhCM2QkLAKIq2adZbZJ1nkl2pF3C4bymvlzbX9seGw91V3OKsnC9TgsGqbBXluJYjfDKtBmVTuWcw4WnNX5kPmQ-fg2dnYQe1Bxh2sPUXwaaRIjjTZOpDz014WU2rYUbaKnJpolq9NHftGIe-YYzuh-ANMgjmKnqMX029Eyicy8uFdzdUkt8gSv8uJGAPkh19dEq8Z26TR3sKaIl6hhpft_YEHZYDeJf9iE0mdBA5u3nuuRcIsA9GqGw\u0026h=1X7TAMkmC0MJgnzoLS9n5r9xxf0k2B6ub9ThVpyF5QE", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "13" ], + "x-ms-client-request-id": [ "9a12dfa5-5a61-45e6-9731-1e6e8627c279" ], + "CommandName": [ "Set-AzConnectedMachineExtension" ], + "FullCommandName": [ "Set-AzConnectedMachineExtension_UpdateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationresults/c71f89fa-0d91-4611-8ceb-6db1a4a3ab7d?api-version=2024-07-10\u0026t=638639276474110779\u0026c=MIIHpTCCBo2gAwIBAgITOgOyui871wRtge60rAAEA7K6LzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSU5GUkEgQ0EgMDEwHhcNMjQwOTIyMTIyOTEzWhcNMjUwMzIxMTIyOTEzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALthCEIs4vwfpBtc8a6akzk9FNp-luTjsKhTETKForQzaFdF5S6PDjwZJVAOcVWePFAecP08Qp1FzfiX_Cl9StTirn6FO-MjJbWSG2THMvz756N87v6UNTXfNr29-Y-iFxGXE0LRwZ39GG4hV9nUekLb8OlN6VC48-A54O0iJybH12xGD4eKLbn4ilMqeYCyiivgk_AAxCvO75VjkDUu1PztXTqXfeLvWxaeqT1RTux_k8SPeFde5JPpWGKFNih2uv3JG5KjyszNBV6b2MaWQRiNYIiPo9N_DvTiv2r7BWNvocSISt9wLymfNp0mmAvGajmSbXqs2iphrYgHuVIhOskCAwEAAaOCBJIwggSOMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQlkyUEtJSU5UQ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wVgYIKwYBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwEwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBTl2Ztn_PjsurvwwKidileIud8-YzAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAHkWc1KMstXAU5p0ciSSzPoB_W772N_r2ITPfnNv7OdZGLyDL8VTUXFgLP_lVJgsrUcSXJi6GSjDB9ww5vQCsXJQgzO4bCx-jKgHjqphvAtqaiiUEs6HJZYAXzjGr6BPLIlx2qov7eiI-vLqT3h9gqiUGYjLwwKJdO4PIGGzt5oIY5oWtLkqoxoad8CfpX7z8WM9YAUv1l-majml_BXWMmN0t5BbCB5MAuZPnD2rg3mtvh4FEV5pnTtTLPwpw7AAt-9DReZQOgsVkBLNSAzvuXHJzMAm03Gr-uZw7fY_-p1aqDgZ4KMTnQqVr8NvFE02_Gj_5hIaAdCp1bUhZ3ZrmZY\u0026s=Rqj6kb_XALTZ2AaaCZb3GJknp7w1n36u18KiJy2wNVt9sbDvv83LuG54m07Y5BqO1E-4f9vOLvev-KpQDpE959jjLx5NeX94AHCTiyGnoaXZKHk-TQ0t9daDa53WILyNMyzfLJD4xu0SIyO-8nUP6a94TNOzdfFN7jRniyyrwJWVRrnPBt6DSHGNjnaEOnqfetjEynZC4krHCW0poYwDwOFO0X89C5BseO2GQf2kU8l3lsCMB_GhOnNMHkF6isN4uSPiz3h-_uYlE0a1B9jV4-JpyM5nY_Pewgmj6wEaVkDhNII4-Xur2v_mc8C8ADLdaUsFdd8xNN9xXXaq1fVIHw\u0026h=XtqLESCAMqQANZUilued_Dwaec8OeQXv2-58v3-oi94" ], + "Retry-After": [ "15" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "x-ms-request-id": [ "3758eee9-5e79-4f74-b884-8842c5d6d407" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/c71f89fa-0d91-4611-8ceb-6db1a4a3ab7d?api-version=2024-07-10\u0026t=638639276474110779\u0026c=MIIHpTCCBo2gAwIBAgITOgOyui871wRtge60rAAEA7K6LzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSU5GUkEgQ0EgMDEwHhcNMjQwOTIyMTIyOTEzWhcNMjUwMzIxMTIyOTEzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALthCEIs4vwfpBtc8a6akzk9FNp-luTjsKhTETKForQzaFdF5S6PDjwZJVAOcVWePFAecP08Qp1FzfiX_Cl9StTirn6FO-MjJbWSG2THMvz756N87v6UNTXfNr29-Y-iFxGXE0LRwZ39GG4hV9nUekLb8OlN6VC48-A54O0iJybH12xGD4eKLbn4ilMqeYCyiivgk_AAxCvO75VjkDUu1PztXTqXfeLvWxaeqT1RTux_k8SPeFde5JPpWGKFNih2uv3JG5KjyszNBV6b2MaWQRiNYIiPo9N_DvTiv2r7BWNvocSISt9wLymfNp0mmAvGajmSbXqs2iphrYgHuVIhOskCAwEAAaOCBJIwggSOMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQU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IewUnj8iHImyg" ], + "x-ms-correlation-request-id": [ "d728253d-94a9-4722-b553-f0a5479f99d2" ], + "x-ms-routing-request-id": [ "EASTUS2:20241007T195407Z:d728253d-94a9-4722-b553-f0a5479f99d2" ], + "X-Content-Type-Options": [ "nosniff" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 9F8D600385204B4A84BC6638F5705CD8 Ref B: BL2AA2010204029 Ref C: 2024-10-07T19:54:07Z" ], + "Date": [ "Mon, 07 Oct 2024 19:54:06 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "112" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"c71f89fa-0d91-4611-8ceb-6db1a4a3ab7d\",\"status\":\"InProgress\",\"startTime\":\"2024-10-07T19:52:04.7628573Z\"}", + "isContentBase64": false + } + }, + "Set-AzConnectedMachineExtension+[NoContext]+Update+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/c71f89fa-0d91-4611-8ceb-6db1a4a3ab7d?api-version=2024-07-10\u0026t=638639276474110779\u0026c=MIIHpTCCBo2gAwIBAgITOgOyui871wRtge60rAAEA7K6LzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSU5GUkEgQ0EgMDEwHhcNMjQwOTIyMTIyOTEzWhcNMjUwMzIxMTIyOTEzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALthCEIs4vwfpBtc8a6akzk9FNp-luTjsKhTETKForQzaFdF5S6PDjwZJVAOcVWePFAecP08Qp1FzfiX_Cl9StTirn6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_-p1aqDgZ4KMTnQqVr8NvFE02_Gj_5hIaAdCp1bUhZ3ZrmZY\u0026s=IVhtv8PB3vJxPkwsxLV2j3Xw7T4EpLEplhYSDpgpMN-5mQubIuMfoTo-yNxbiTzG3HmWrzgQ-_R3CvQRCoANRNWGt9160rct_QPHqufehpQDw0qHYA_gr0TIJ9Gccdu_CE51KrbVmjWek1fUK1P6TYrQ6ALN-1EfjkiUTd9ZuNe4W2WYOeD3_n51wgCPLiPXVZ-Ubm5_5BN4LR58MpwZTsY3qf1VotG8bdgvSHU3MTavQn9fjxzZQnvsozOmdiTzY67QzaMNIL7MynOLfpRI-s2Ks2GSE-58lamejHePj-K8A6f1tdV77M4Q8IXqaVvTZGbA2_6xwSTKL5hlhFkorQ\u0026h=77ZtGiU9tYg0pfYL_DCdEKdtvpu_D2IewUnj8iHImyg+10": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/c71f89fa-0d91-4611-8ceb-6db1a4a3ab7d?api-version=2024-07-10\u0026t=638639276474110779\u0026c=MIIHpTCCBo2gAwIBAgITOgOyui871wRtge60rAAEA7K6LzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSU5GUkEgQ0EgMDEwHhcNMjQwOTIyMTIyOTEzWhcNMjUwMzIxMTIyOTEzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALthCEIs4vwfpBtc8a6akzk9FNp-luTjsKhTETKForQzaFdF5S6PDjwZJVAOcVWePFAecP08Qp1FzfiX_Cl9StTirn6FO-MjJbWSG2THMvz756N87v6UNTXfNr29-Y-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IaAdCp1bUhZ3ZrmZY\u0026s=IVhtv8PB3vJxPkwsxLV2j3Xw7T4EpLEplhYSDpgpMN-5mQubIuMfoTo-yNxbiTzG3HmWrzgQ-_R3CvQRCoANRNWGt9160rct_QPHqufehpQDw0qHYA_gr0TIJ9Gccdu_CE51KrbVmjWek1fUK1P6TYrQ6ALN-1EfjkiUTd9ZuNe4W2WYOeD3_n51wgCPLiPXVZ-Ubm5_5BN4LR58MpwZTsY3qf1VotG8bdgvSHU3MTavQn9fjxzZQnvsozOmdiTzY67QzaMNIL7MynOLfpRI-s2Ks2GSE-58lamejHePj-K8A6f1tdV77M4Q8IXqaVvTZGbA2_6xwSTKL5hlhFkorQ\u0026h=77ZtGiU9tYg0pfYL_DCdEKdtvpu_D2IewUnj8iHImyg", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "14" ], + "x-ms-client-request-id": [ "9a12dfa5-5a61-45e6-9731-1e6e8627c279" ], + "CommandName": [ "Set-AzConnectedMachineExtension" ], + "FullCommandName": [ "Set-AzConnectedMachineExtension_UpdateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "x-ms-request-id": [ "d51feb8b-d472-459e-b876-1ac2ab9f3108" ], + "x-ms-correlation-request-id": [ "72ff0d47-b02f-4613-81b3-39696eeb8c85" ], + "x-ms-routing-request-id": [ "EASTUS2:20241007T195422Z:72ff0d47-b02f-4613-81b3-39696eeb8c85" ], + "X-Content-Type-Options": [ "nosniff" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: E79F68BF0FA24DE1ABEEEFE72D1BCA3F Ref B: BL2AA2010204029 Ref C: 2024-10-07T19:54:22Z" ], + "Date": [ "Mon, 07 Oct 2024 19:54:21 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "886" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"c71f89fa-0d91-4611-8ceb-6db1a4a3ab7d\",\"status\":\"Succeeded\",\"startTime\":\"2024-10-07T19:52:04.7628573Z\",\"properties\":{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine/extensions/networkWatcher\",\"name\":\"networkWatcher\",\"location\":\"eastus\",\"type\":\"Microsoft.HybridCompute/machines/extensions\",\"properties\":{\"publisher\":\"Microsoft.Azure.NetworkWatcher\",\"type\":\"NetworkWatcherAgentWindows\",\"typeHandlerVersion\":\"1.4.2798.3\",\"autoUpgradeMinorVersion\":false,\"enableAutomaticUpgrade\":true,\"settings\":{\"commandToExecute\":\"powershell.exe ls\"},\"provisioningState\":\"Succeeded\",\"instanceView\":{\"name\":\"networkWatcher\",\"type\":\"NetworkWatcherAgentWindows\",\"typeHandlerVersion\":\"1.4.2798.3\",\"status\":{\"code\":\"0\",\"level\":\"Information\",\"message\":\"Extension Message: Default configuration is in effect.\"}}}}}", + "isContentBase64": false + } + }, + "Set-AzConnectedMachineExtension+[NoContext]+Update+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine/extensions/networkWatcher?api-version=2024-07-10+11": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine/extensions/networkWatcher?api-version=2024-07-10", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "15" ], + "x-ms-client-request-id": [ "9a12dfa5-5a61-45e6-9731-1e6e8627c279" ], "CommandName": [ "Set-AzConnectedMachineExtension" ], "FullCommandName": [ "Set-AzConnectedMachineExtension_UpdateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.5.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.1.0" ] }, "ContentHeaders": { } @@ -196,20 +466,20 @@ "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-request-id": [ "887fc996-0731-4680-b511-bf844b1f17fa" ], - "x-ms-correlation-request-id": [ "ed0a53bd-bdcc-47d2-9e15-9f30359d2664" ], - "x-ms-routing-request-id": [ "EASTUS:20240919T231038Z:ed0a53bd-bdcc-47d2-9e15-9f30359d2664" ], + "x-ms-request-id": [ "965031de-23eb-479d-89c0-c15068cb6f78" ], + "x-ms-correlation-request-id": [ "c27a21e7-cdb4-451b-ae86-fe1ed53d81b7" ], + "x-ms-routing-request-id": [ "EASTUS:20241007T195423Z:c27a21e7-cdb4-451b-ae86-fe1ed53d81b7" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 3C6BB410C54643F08BCD67DB7A03A7B7 Ref B: MNZ221060609053 Ref C: 2024-09-19T23:10:38Z" ], - "Date": [ "Thu, 19 Sep 2024 23:10:38 GMT" ] + "X-MSEdge-Ref": [ "Ref A: A036F3A256974720AE35F1A4CFD32073 Ref B: BL2AA2010204029 Ref C: 2024-10-07T19:54:22Z" ], + "Date": [ "Mon, 07 Oct 2024 19:54:22 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "768" ], + "Content-Length": [ "761" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine/extensions/networkWatcher\",\"name\":\"networkWatcher\",\"type\":\"Microsoft.HybridCompute/machines/extensions\",\"location\":\"centraluseuap\",\"properties\":{\"publisher\":\"Microsoft.Azure.NetworkWatcher\",\"type\":\"NetworkWatcherAgentWindows\",\"typeHandlerVersion\":\"1.4.2798.3\",\"autoUpgradeMinorVersion\":false,\"enableAutomaticUpgrade\":true,\"settings\":{\"commandToExecute\":\"powershell.exe ls\"},\"provisioningState\":\"Succeeded\",\"instanceView\":{\"name\":\"networkWatcher\",\"type\":\"NetworkWatcherAgentWindows\",\"typeHandlerVersion\":\"1.4.2798.3\",\"status\":{\"code\":\"0\",\"level\":\"Information\",\"message\":\"Extension Message: Default configuration is in effect.\"}}}}", + "Content": "{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine/extensions/networkWatcher\",\"name\":\"networkWatcher\",\"type\":\"Microsoft.HybridCompute/machines/extensions\",\"location\":\"eastus\",\"properties\":{\"publisher\":\"Microsoft.Azure.NetworkWatcher\",\"type\":\"NetworkWatcherAgentWindows\",\"typeHandlerVersion\":\"1.4.2798.3\",\"autoUpgradeMinorVersion\":false,\"enableAutomaticUpgrade\":true,\"settings\":{\"commandToExecute\":\"powershell.exe ls\"},\"provisioningState\":\"Succeeded\",\"instanceView\":{\"name\":\"networkWatcher\",\"type\":\"NetworkWatcherAgentWindows\",\"typeHandlerVersion\":\"1.4.2798.3\",\"status\":{\"code\":\"0\",\"level\":\"Information\",\"message\":\"Extension Message: Default configuration is in effect.\"}}}}", "isContentBase64": false } } diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/test/Set-AzConnectedPrivateLinkScope.Recording.json b/src/ConnectedMachine/ConnectedMachine.Autorest/test/Set-AzConnectedPrivateLinkScope.Recording.json index c226cc457e21..e343f3b7b47f 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/test/Set-AzConnectedPrivateLinkScope.Recording.json +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/test/Set-AzConnectedPrivateLinkScope.Recording.json @@ -1,8 +1,8 @@ { - "Set-AzConnectedPrivateLinkScope+[NoContext]+Update+$PUT+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/privateLinkScopes/myScope3?api-version=2024-05-20-preview+1": { + "Set-AzConnectedPrivateLinkScope+[NoContext]+Update+$PUT+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/privateLinkScopes/myScope3?api-version=2024-07-10+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/privateLinkScopes/myScope3?api-version=2024-05-20-preview", + "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/privateLinkScopes/myScope3?api-version=2024-07-10", "Content": "{\r\n \"location\": \"West Central US\",\r\n \"tags\": {\r\n \"Tag1\": \"tag1\",\r\n \"Tag2\": \"tag2\"\r\n },\r\n \"properties\": {\r\n \"publicNetworkAccess\": \"Disabled\"\r\n }\r\n}", "isContentBase64": false, "Headers": { @@ -19,20 +19,20 @@ "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-request-id": [ "f4ff43ba-255e-4c6c-9da1-e2efe9bc8498" ], - "x-ms-correlation-request-id": [ "55640474-4ce0-4bd6-b7a5-dfe2dc5ee19b" ], - "x-ms-routing-request-id": [ "EASTUS2:20240920T040040Z:55640474-4ce0-4bd6-b7a5-dfe2dc5ee19b" ], + "x-ms-request-id": [ "cca34933-7cec-4457-ab39-b7db18a9f53c" ], + "x-ms-correlation-request-id": [ "9f0a42a9-7bed-4647-a6cd-07cb9dfd5b7a" ], + "x-ms-routing-request-id": [ "EASTUS2:20241004T155647Z:9f0a42a9-7bed-4647-a6cd-07cb9dfd5b7a" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 1BA7F3F2BBD54EC2BCAE4C873AC55278 Ref B: MNZ221060619019 Ref C: 2024-09-20T04:00:39Z" ], - "Date": [ "Fri, 20 Sep 2024 04:00:40 GMT" ] + "X-MSEdge-Ref": [ "Ref A: A1CD6267AD874B01BEE2896326F0EB08 Ref B: MNZ221060619025 Ref C: 2024-10-04T15:56:46Z" ], + "Date": [ "Fri, 04 Oct 2024 15:56:47 GMT" ] }, "ContentHeaders": { "Content-Length": [ "451" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/privateLinkScopes/myScope3\",\"name\":\"myScope3\",\"type\":\"Microsoft.HybridCompute/privateLinkScopes\",\"location\":\"westcentralus\",\"properties\":{\"privateLinkScopeId\":\"3d3b6265-c0f0-41a2-9154-b8062a3039ae\",\"publicNetworkAccess\":\"Disabled\",\"provisioningState\":\"Succeeded\",\"privateEndpointConnections\":[]},\"tags\":{\"Tag1\":\"tag1\",\"Tag2\":\"tag2\"}}", + "Content": "{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/privateLinkScopes/myScope3\",\"name\":\"myScope3\",\"type\":\"Microsoft.HybridCompute/privateLinkScopes\",\"location\":\"westcentralus\",\"properties\":{\"privateLinkScopeId\":\"8b195ead-d75b-4280-8d34-ed0732426e62\",\"publicNetworkAccess\":\"Disabled\",\"provisioningState\":\"Succeeded\",\"privateEndpointConnections\":[]},\"tags\":{\"Tag1\":\"tag1\",\"Tag2\":\"tag2\"}}", "isContentBase64": false } } diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/test/Update-AzConnectedExtension.Recording.json b/src/ConnectedMachine/ConnectedMachine.Autorest/test/Update-AzConnectedExtension.Recording.json index 6ab6abcda200..373003672aa6 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/test/Update-AzConnectedExtension.Recording.json +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/test/Update-AzConnectedExtension.Recording.json @@ -1,8 +1,8 @@ { - "Update-AzConnectedExtension+[NoContext]+Upgrade+$POST+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine/upgradeExtensions?api-version=2024-05-20-preview+1": { + "Update-AzConnectedExtension+[NoContext]+Upgrade+$POST+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine/upgradeExtensions?api-version=2024-07-10+1": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine/upgradeExtensions?api-version=2024-05-20-preview", + "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine/upgradeExtensions?api-version=2024-07-10", "Content": "{\r\n \"extensionTargets\": {\r\n \"Microsoft.Azure.NetworkWatcher\": {\r\n \"targetVersion\": \"1.4.3135.1\"\r\n }\r\n }\r\n}", "isContentBase64": false, "Headers": { @@ -17,18 +17,18 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationresults/fb3987d7-661e-412a-a8f6-bdf201fcc1e4?api-version=2024-05-20-preview\u0026t=638623844175455483\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwNjIyMjE1NzIzWhcNMjUwNjE3MjE1NzIzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALhRxgv00I_kIXwCJCxn0QIbiBxztKV5N7VUsmJclkirZBo6v69H49qwFEyTyf6TsDRZiDyUNhhfYpqgthcgDoGvOa0_uYNIt0GINfkDoySgM3HurzdD12Zyaj2woPrEkxHdoetI4nepp_ytiAmF81Z7YZyv05HKxV_WspPeyLBxorHcJ_drtY13Ez5tLDFiX_NnqLjf1oZojfYarEmVhETopjp53RxjVOKKRI4K2YWjs44wk0T2jaYGo5macYriIx3aHAxhN0aCURkqI1nWMC6SkdMrP1wdgAcHD5niTqQC5ql2zaSMLmcGFm50nyqRNylI1LJdmgPwGhN_dGd0E6ECAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFB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48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationresults/9652c4e6-5c21-4d40-9969-9dfa87ad7fc3?api-version=2024-07-10\u0026t=638639276642477829\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwMjMxMTQxWhcNMjUwMzE5MjMxMTQxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKRtcYDBXS7zz5tRtvVyhrUAjudYhej1E2D3dp6XWuPdbVMbQZwMlye8vdT-kDhFD7T2mrdWqsoGnTGk0_xOHBfLGnW-0QRUqpeoTNIhu8vc2CfTUtm2t2s_-fzvFtRyhDA4mfCH1cz92EVj0vd3FD4ikW6bdOp1NkYFqUVBhKlbvJk6y-TbLFBLP5Zx4m0Ua-_P7aMzbgvOJgMOTC2jLs5w_lFDJWeP3IKUOiJmrfLpf4ey5Ov94oCE6YncDBSHJZKWcrSxDHgSz9AXrxarL4HLajGbF3MRvfkMN2gNXCoiJXBEqCLDnyQZ0BgXIvuK7vG8Rj0TyhJNj-QPr8taY6UCAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5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IAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwEwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAG0WbzLPsmSSMI7aTe2npixmkdCmwcdZHGd43tUnB8JKrLNJEFcBsQmbcIH0adpnQNrDgRkNBBOTZ4s1LIBlRQapZpPsRItAMUguVpGVRH08T0i43w9xrp_clNbAJrrfRbmYroF0WJKMJ0nwW2rPjxdevSRygGK_nEfywwFi-p1RhHnkiEGL4GnP7PpQcRvAYMdH9LO5MRY7iLbBmosKatS_eWtSJD1CvzglNwy_vQzx81Vnk0CgndqXcVq-loGu7R4U7mkQ2NNqLbp447STxkpP-6Mdyv8J4bdnf1s3vFBNpgvJWKogWcNLlo8jnkbEf6RPNGe1W5lma7JwMKAcPzY\u0026s=aYijbhrlriAYVpGuQsK9nBlpkRS0Qi95mhfv8wpRfNAkdrTgLUINVTHTuMBDjfvVajkBwwaEe8sZpsLsO1I7JCJ2vFz3Dgdk4irWkeFx58-Ico0k9TyDNwDFjEqk85oYZWBQsa9O53GIq8XScJ-gjyY5fl6pUZjLYhPZjJh1KASX_Y9EK_PC93_zt8iLcwAEPmGitv01R42AIPcSpWotnYYDdb70eUwuQM57hwA4Xjv8YQngD7c3Q4LypWM31NyJtXMRld9QrrhKlHiIQ1T4XnseldO8lMOeIwQIvH0UfqALA0HQrQlSEfrekBvLMOnipeBVrKriESiOZz4rQ5B_OQ\u0026h=EKoM9MLbwpsKdnhY-gtmlsv6kG4jInM4TADjBqBUQtI" ], "Retry-After": [ "300" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-request-id": [ "d997aaf0-0dd9-4e01-8c12-5add42c00026" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/fb3987d7-661e-412a-a8f6-bdf201fcc1e4?api-version=2024-05-20-preview\u0026t=638623844175299209\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwNjIyMjE1NzIzWhcNMjUwNjE3MjE1NzIzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALhRxgv00I_kIXwCJCxn0QIbiBxztKV5N7VUsmJclkirZBo6v69H49qwFEyTyf6TsDRZiDyUNhhfYpqgthcgDoGvOa0_uYNIt0GINfkDoySgM3HurzdD12Zyaj2woPrEkxHdoetI4nepp_ytiAmF81Z7YZyv05HKxV_WspPeyLBxorHcJ_drtY13Ez5tLDFiX_NnqLjf1oZojfYarEmVhETopjp53RxjVOKKRI4K2YWjs44wk0T2jaYGo5macYriIx3aHAxhN0aCURkqI1nWMC6SkdMrP1wdgAcHD5niTqQC5ql2zaSMLmcGFm50nyqRNylI1LJdmgPwGhN_dGd0E6ECAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5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ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwEwDAYKKwYBBAGCN3sEATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADe3mHC76LsKVL9fkhYlwBSfOx_cb-6YFuiqGA60VGCoc_qwfcn9leu0FbnJEquloNzG8tG_ZwhaFVsQ-_we0Vgl03BjC-BOem7ZES6XywaYv4X1vEBc0SNaQ8EQVToFyCD9wf1ZGu5uv4jk-oILXl_CzdRsvuGKmprgkbrMIS6t5V8ds7REAX8SiE37hqdZU5hNT74RwV32cg3gLtbUsPK22Kv1gf5KsCUZe9tEsEkyq_bSxaNCWnh3lfmsstE0Jo_zL1O6cPKMMtvD21xFYchjWKjYGr1p5mGiM-OLLi8_ETKkYQTS0_gB7wZOGtsc0pIsvgAnqA-sMNn8Oy953Q4\u0026s=iJe9mLxovNq_dz0mJ_qUjCvLCrT-n7Xu1zzkLDnNmwKlGK-touIG1E2X2Q8KiLF8KD9fPo8FTmUqrWt9ayAo7NzOFqrOrBGFSbLRA9AubAU6yFJkSRw_-zA7Abvm7AocZqHHHvU51H0DZ21ZAv8JE_H1cnfqcJOjvV3d8J7o541Y_guSGSTFJGLDfPrTQIDG9yrQorAxGEm45U6we4zFf8hEcrwgd274pOP_Q3sJLWhTsXzwf-onB-FCegtl4hyrLTuX8gPupoP_ZwhgJd4hTGCrogNxsgbrqTDqTpmhEDyPQYu717FSk_m4ZMFqn8cWtDZblOxnO5y-vyP-1gQGDQ\u0026h=O-YOnWjSWvcdpEus2HWiyPmbpLNZQkGk6n6nluM_y0w" ], + "x-ms-request-id": [ "f0f1dfa8-2faf-4c15-b38e-5e857840c863" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf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AA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwEwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAG0WbzLPsmSSMI7aTe2npixmkdCmwcdZHGd43tUnB8JKrLNJEFcBsQmbcIH0adpnQNrDgRkNBBOTZ4s1LIBlRQapZpPsRItAMUguVpGVRH08T0i43w9xrp_clNbAJrrfRbmYroF0WJKMJ0nwW2rPjxdevSRygGK_nEfywwFi-p1RhHnkiEGL4GnP7PpQcRvAYMdH9LO5MRY7iLbBmosKatS_eWtSJD1CvzglNwy_vQzx81Vnk0CgndqXcVq-loGu7R4U7mkQ2NNqLbp447STxkpP-6Mdyv8J4bdnf1s3vFBNpgvJWKogWcNLlo8jnkbEf6RPNGe1W5lma7JwMKAcPzY\u0026s=kQGIxjBnbz2BdrUMeiqoz3SHsYQBYzIQQ1bCW2bHWoyvJY85PPba3Ljf3JU5ayZy7yX1e8d4xAAeojPuW5Y1OZBDc-S3Ft2VF1RjnH4PLasza7G_RBPPMZ4QA3o1PdCsOdcNxGmPkJX3mkOvrUOPp_nNKpPdL_XjoP7ANOi3haJLA4WGyE78z6OmTT_nz6ZdaP1-bqnc66cH16EhNLlufQp68C3swFhL35z-Hb-YQFn0zlkLVQ4iNiZJZUOpHIvZBxDu1hOAfDp3zDmihBI61sM7oLA2m0HUyz5DgtICMCKP-AXncw8UOuByPO0cAEQx0WqpI6m5H0BvevFb_UJ2JQ\u0026h=njxlrFZMM2bQE7_hJSkJ1Hfptv_D5QkbWj0iyiyIurs" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], - "x-ms-correlation-request-id": [ "07ec4d36-9abf-4e76-a763-c0d426b7578d" ], - "x-ms-routing-request-id": [ "EASTUS:20240919T231337Z:07ec4d36-9abf-4e76-a763-c0d426b7578d" ], + "x-ms-correlation-request-id": [ "6a107680-fdb4-4e1a-ae9b-82d57fbaa961" ], + "x-ms-routing-request-id": [ "EASTUS:20241007T195424Z:6a107680-fdb4-4e1a-ae9b-82d57fbaa961" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 0715520FF718490B82CC4DB34C99161B Ref B: MNZ221060610035 Ref C: 2024-09-19T23:13:37Z" ], - "Date": [ "Thu, 19 Sep 2024 23:13:37 GMT" ] + "X-MSEdge-Ref": [ "Ref A: E768DB0D23F348D791ED7E652B705ED3 Ref B: BL2AA2010204029 Ref C: 2024-10-07T19:54:23Z" ], + "Date": [ "Mon, 07 Oct 2024 19:54:23 GMT" ] }, "ContentHeaders": { "Content-Type": [ "application/json" ], @@ -39,20 +39,20 @@ "isContentBase64": false } }, - "Update-AzConnectedExtension+[NoContext]+Upgrade+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/fb3987d7-661e-412a-a8f6-bdf201fcc1e4?api-version=2024-05-20-preview\u0026t=638623844175299209\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwNjIyMjE1NzIzWhcNMjUwNjE3MjE1NzIzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALhRxgv00I_kIXwCJCxn0QIbiBxztKV5N7VUsmJclkirZBo6v69H49qwFEyTyf6TsDRZi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c0pIsvgAnqA-sMNn8Oy953Q4\u0026s=iJe9mLxovNq_dz0mJ_qUjCvLCrT-n7Xu1zzkLDnNmwKlGK-touIG1E2X2Q8KiLF8KD9fPo8FTmUqrWt9ayAo7NzOFqrOrBGFSbLRA9AubAU6yFJkSRw_-zA7Abvm7AocZqHHHvU51H0DZ21ZAv8JE_H1cnfqcJOjvV3d8J7o541Y_guSGSTFJGLDfPrTQIDG9yrQorAxGEm45U6we4zFf8hEcrwgd274pOP_Q3sJLWhTsXzwf-onB-FCegtl4hyrLTuX8gPupoP_ZwhgJd4hTGCrogNxsgbrqTDqTpmhEDyPQYu717FSk_m4ZMFqn8cWtDZblOxnO5y-vyP-1gQGDQ\u0026h=O-YOnWjSWvcdpEus2HWiyPmbpLNZQkGk6n6nluM_y0w+2": { + "Update-AzConnectedExtension+[NoContext]+Upgrade+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/9652c4e6-5c21-4d40-9969-9dfa87ad7fc3?api-version=2024-07-10\u0026t=638639276642321544\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwMjMxMTQxWhcNMjUwMzE5MjMxMTQxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKRtcYDBXS7zz5tRtvVyhrUAjudYhej1E2D3dp6XWuPdbVMbQZwMlye8vdT-kDhFD7T2mrdWqsoGnTGk0_xOHBfLGnW-0QRUqpeoTNIhu8vc2CfTUtm2t2s_-fzvFtRyhDA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drUMeiqoz3SHsYQBYzIQQ1bCW2bHWoyvJY85PPba3Ljf3JU5ayZy7yX1e8d4xAAeojPuW5Y1OZBDc-S3Ft2VF1RjnH4PLasza7G_RBPPMZ4QA3o1PdCsOdcNxGmPkJX3mkOvrUOPp_nNKpPdL_XjoP7ANOi3haJLA4WGyE78z6OmTT_nz6ZdaP1-bqnc66cH16EhNLlufQp68C3swFhL35z-Hb-YQFn0zlkLVQ4iNiZJZUOpHIvZBxDu1hOAfDp3zDmihBI61sM7oLA2m0HUyz5DgtICMCKP-AXncw8UOuByPO0cAEQx0WqpI6m5H0BvevFb_UJ2JQ\u0026h=njxlrFZMM2bQE7_hJSkJ1Hfptv_D5QkbWj0iyiyIurs+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/fb3987d7-661e-412a-a8f6-bdf201fcc1e4?api-version=2024-05-20-preview\u0026t=638623844175299209\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwNjIyMjE1NzIzWhcNMjUwNjE3MjE1NzIzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALhRxgv00I_kIXwCJCxn0QIbiBxztKV5N7VUsmJclkirZBo6v69H49qwFEyTyf6TsDRZiDyUNhhfYpqgthcgDoGvOa0_uYNIt0GINfkDoySgM3HurzdD12Zyaj2woPrEkxHdoetI4nepp_ytiAmF81Z7YZyv05HKxV_WspPeyLBxorHcJ_drtY13Ez5tLD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ayAo7NzOFqrOrBGFSbLRA9AubAU6yFJkSRw_-zA7Abvm7AocZqHHHvU51H0DZ21ZAv8JE_H1cnfqcJOjvV3d8J7o541Y_guSGSTFJGLDfPrTQIDG9yrQorAxGEm45U6we4zFf8hEcrwgd274pOP_Q3sJLWhTsXzwf-onB-FCegtl4hyrLTuX8gPupoP_ZwhgJd4hTGCrogNxsgbrqTDqTpmhEDyPQYu717FSk_m4ZMFqn8cWtDZblOxnO5y-vyP-1gQGDQ\u0026h=O-YOnWjSWvcdpEus2HWiyPmbpLNZQkGk6n6nluM_y0w", + "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/9652c4e6-5c21-4d40-9969-9dfa87ad7fc3?api-version=2024-07-10\u0026t=638639276642321544\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwMjMxMTQxWhcNMjUwMzE5MjMxMTQxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKRtcYDBXS7zz5tRtvVyhrUAjudYhej1E2D3dp6XWuPdbVMbQZwMlye8vdT-kDhFD7T2mrdWqsoGnTGk0_xOHBfLGnW-0QRUqpeoTNIhu8vc2CfTUtm2t2s_-fzvFtRyhDA4mfCH1cz92EVj0vd3FD4ikW6bdOp1NkYFqUVBhKlbvJk6y-TbLFBLP5Zx4m0Ua-_P7aMzbgvOJgMOTC2jLs5w_lFDJWeP3IKUOiJmrfLpf4ey5Ov94oCE6YncDBSHJZKWcrSxDHgS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_nNKpPdL_XjoP7ANOi3haJLA4WGyE78z6OmTT_nz6ZdaP1-bqnc66cH16EhNLlufQp68C3swFhL35z-Hb-YQFn0zlkLVQ4iNiZJZUOpHIvZBxDu1hOAfDp3zDmihBI61sM7oLA2m0HUyz5DgtICMCKP-AXncw8UOuByPO0cAEQx0WqpI6m5H0BvevFb_UJ2JQ\u0026h=njxlrFZMM2bQE7_hJSkJ1Hfptv_D5QkbWj0iyiyIurs", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "4" ], - "x-ms-client-request-id": [ "614e7e2b-8a23-4c50-a4d1-1b77803dfeb2" ], + "x-ms-unique-id": [ "17" ], + "x-ms-client-request-id": [ "1cef9e1b-8dec-4354-b2f1-370af065979f" ], "CommandName": [ "Update-AzConnectedExtension" ], "FullCommandName": [ "Update-AzConnectedExtension_UpgradeExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.5.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.1.0" ] }, "ContentHeaders": { } @@ -62,39 +62,39 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-request-id": [ "9c52783e-4561-459b-8633-c0ce6b50072d" ], - "x-ms-correlation-request-id": [ "73bd8ef7-a301-414b-b208-015c367c9fcf" ], - "x-ms-routing-request-id": [ "EASTUS2:20240919T231840Z:73bd8ef7-a301-414b-b208-015c367c9fcf" ], + "x-ms-request-id": [ "c5acd2e8-3a87-4d9f-9ce2-db3f48719dc0" ], + "x-ms-correlation-request-id": [ "c33a06ee-f7ab-4fa6-b96c-560474ad4430" ], + "x-ms-routing-request-id": [ "EASTUS2:20241007T195927Z:c33a06ee-f7ab-4fa6-b96c-560474ad4430" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 51F55482732F4E878DC1C0652B65CBFD Ref B: MNZ221060619025 Ref C: 2024-09-19T23:18:40Z" ], - "Date": [ "Thu, 19 Sep 2024 23:18:40 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 398EAD91D8C64275BD457B84BAAD56ED Ref B: BL2AA2030104045 Ref C: 2024-10-07T19:59:27Z" ], + "Date": [ "Mon, 07 Oct 2024 19:59:26 GMT" ] }, "ContentHeaders": { "Content-Length": [ "127" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"fb3987d7-661e-412a-a8f6-bdf201fcc1e4\",\"status\":\"Succeeded\",\"startTime\":\"2024-09-19T23:13:37.3726251Z\",\"properties\":[]}", + "Content": "{\"name\":\"9652c4e6-5c21-4d40-9969-9dfa87ad7fc3\",\"status\":\"Succeeded\",\"startTime\":\"2024-10-07T19:54:24.1699569Z\",\"properties\":[]}", "isContentBase64": false } }, - "Update-AzConnectedExtension+[NoContext]+Upgrade+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationresults/fb3987d7-661e-412a-a8f6-bdf201fcc1e4?api-version=2024-05-20-preview\u0026t=638623844175455483\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwNjIyMjE1NzIzWhcNMjUwNjE3MjE1NzIzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2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8SiE37hqdZU5hNT74RwV32cg3gLtbUsPK22Kv1gf5KsCUZe9tEsEkyq_bSxaNCWnh3lfmsstE0Jo_zL1O6cPKMMtvD21xFYchjWKjYGr1p5mGiM-OLLi8_ETKkYQTS0_gB7wZOGtsc0pIsvgAnqA-sMNn8Oy953Q4\u0026s=DaEwffr_DwCAy4n0qFOuHAEIjUwt9OOH5K5ClHVdAWdicrRpSsinkNZok5A7BGW8Ql4ieGADvoYgvFau7PiuSZy2VfhZwyQSgFja1DkF4Cs_K-gSjCcWBIlYdhxfhVTFmqQRLilgbH0tOQt08Qu8YJJG8uSpaswWMCfQg8l2Xqw_kTEy6VU5HmzFr0DNxx293bhIqVXNyp6uTBHimYCGnXss5QPoQL5fWqGiLTrLgWJ4y5QDb2WLOnmsP7ORw4vryzW6fGn59kBYt2Z-8s4iE00RVwWBGXRWHLGAGn0kDirhOW3JmAjVUX6oCbbtyiAWtvSYsceIknCEWfeq4hI0vg\u0026h=TZUn6XZGY3AzEeIU3Vw6aU1m39Sft6a4dSuyFkkI944+3": { + "Update-AzConnectedExtension+[NoContext]+Upgrade+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationresults/9652c4e6-5c21-4d40-9969-9dfa87ad7fc3?api-version=2024-07-10\u0026t=638639276642477829\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwMjMxMTQxWhcNMjUwMzE5MjMxMTQxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggE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glNwy_vQzx81Vnk0CgndqXcVq-loGu7R4U7mkQ2NNqLbp447STxkpP-6Mdyv8J4bdnf1s3vFBNpgvJWKogWcNLlo8jnkbEf6RPNGe1W5lma7JwMKAcPzY\u0026s=aYijbhrlriAYVpGuQsK9nBlpkRS0Qi95mhfv8wpRfNAkdrTgLUINVTHTuMBDjfvVajkBwwaEe8sZpsLsO1I7JCJ2vFz3Dgdk4irWkeFx58-Ico0k9TyDNwDFjEqk85oYZWBQsa9O53GIq8XScJ-gjyY5fl6pUZjLYhPZjJh1KASX_Y9EK_PC93_zt8iLcwAEPmGitv01R42AIPcSpWotnYYDdb70eUwuQM57hwA4Xjv8YQngD7c3Q4LypWM31NyJtXMRld9QrrhKlHiIQ1T4XnseldO8lMOeIwQIvH0UfqALA0HQrQlSEfrekBvLMOnipeBVrKriESiOZz4rQ5B_OQ\u0026h=EKoM9MLbwpsKdnhY-gtmlsv6kG4jInM4TADjBqBUQtI+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationresults/fb3987d7-661e-412a-a8f6-bdf201fcc1e4?api-version=2024-05-20-preview\u0026t=638623844175455483\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwNjIyMjE1NzIzWhcNMjUwNjE3MjE1NzIzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALhRxgv00I_kIXwCJCxn0QIbiBxztKV5N7VUsmJclkirZBo6v69H49qwFEyTyf6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wZOGtsc0pIsvgAnqA-sMNn8Oy953Q4\u0026s=DaEwffr_DwCAy4n0qFOuHAEIjUwt9OOH5K5ClHVdAWdicrRpSsinkNZok5A7BGW8Ql4ieGADvoYgvFau7PiuSZy2VfhZwyQSgFja1DkF4Cs_K-gSjCcWBIlYdhxfhVTFmqQRLilgbH0tOQt08Qu8YJJG8uSpaswWMCfQg8l2Xqw_kTEy6VU5HmzFr0DNxx293bhIqVXNyp6uTBHimYCGnXss5QPoQL5fWqGiLTrLgWJ4y5QDb2WLOnmsP7ORw4vryzW6fGn59kBYt2Z-8s4iE00RVwWBGXRWHLGAGn0kDirhOW3JmAjVUX6oCbbtyiAWtvSYsceIknCEWfeq4hI0vg\u0026h=TZUn6XZGY3AzEeIU3Vw6aU1m39Sft6a4dSuyFkkI944", + "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationresults/9652c4e6-5c21-4d40-9969-9dfa87ad7fc3?api-version=2024-07-10\u0026t=638639276642477829\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwMjMxMTQxWhcNMjUwMzE5MjMxMTQxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKRtcYDBXS7zz5tRtvVyhrUAjudYhej1E2D3dp6XWuPdbVMbQZwMlye8vdT-kDhFD7T2mrdWqsoGnTGk0_xOHBfLGnW-0QRUqpeoTNIhu8vc2CfTUtm2t2s_-fzvFtRyhDA4mfCH1cz92EVj0vd3FD4ikW6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wpRfNAkdrTgLUINVTHTuMBDjfvVajkBwwaEe8sZpsLsO1I7JCJ2vFz3Dgdk4irWkeFx58-Ico0k9TyDNwDFjEqk85oYZWBQsa9O53GIq8XScJ-gjyY5fl6pUZjLYhPZjJh1KASX_Y9EK_PC93_zt8iLcwAEPmGitv01R42AIPcSpWotnYYDdb70eUwuQM57hwA4Xjv8YQngD7c3Q4LypWM31NyJtXMRld9QrrhKlHiIQ1T4XnseldO8lMOeIwQIvH0UfqALA0HQrQlSEfrekBvLMOnipeBVrKriESiOZz4rQ5B_OQ\u0026h=EKoM9MLbwpsKdnhY-gtmlsv6kG4jInM4TADjBqBUQtI", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "5" ], - "x-ms-client-request-id": [ "614e7e2b-8a23-4c50-a4d1-1b77803dfeb2" ], + "x-ms-unique-id": [ "18" ], + "x-ms-client-request-id": [ "1cef9e1b-8dec-4354-b2f1-370af065979f" ], "CommandName": [ "Update-AzConnectedExtension" ], "FullCommandName": [ "Update-AzConnectedExtension_UpgradeExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.5.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.1.0" ] }, "ContentHeaders": { } @@ -105,14 +105,14 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-request-id": [ "63758258-c8e2-4e78-948b-baf28d214735" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], - "x-ms-correlation-request-id": [ "ae76ccd1-aa41-48e1-8e5d-7784cc32ec41" ], - "x-ms-routing-request-id": [ "EASTUS2:20240919T231840Z:ae76ccd1-aa41-48e1-8e5d-7784cc32ec41" ], + "x-ms-request-id": [ "81f44bbd-a5c2-4359-8487-a26e1d8fad39" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], + "x-ms-correlation-request-id": [ "605e8b3f-ff56-4714-bfdc-c9ec4e71729b" ], + "x-ms-routing-request-id": [ "EASTUS:20241007T195927Z:605e8b3f-ff56-4714-bfdc-c9ec4e71729b" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: F3FA2E2227CC4234B17C82D84B7A06F2 Ref B: MNZ221060619025 Ref C: 2024-09-19T23:18:40Z" ], - "Date": [ "Thu, 19 Sep 2024 23:18:40 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 9A828EBC68D2470383339D82C763B8A2 Ref B: BL2AA2030104045 Ref C: 2024-10-07T19:59:27Z" ], + "Date": [ "Mon, 07 Oct 2024 19:59:26 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2" ], diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/test/Update-AzConnectedMachine.Recording.json b/src/ConnectedMachine/ConnectedMachine.Autorest/test/Update-AzConnectedMachine.Recording.json index aeed3c16dcc4..8ebda751505e 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/test/Update-AzConnectedMachine.Recording.json +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/test/Update-AzConnectedMachine.Recording.json @@ -1,8 +1,8 @@ { - "Update-AzConnectedMachine+[NoContext]+Update+$PATCH+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine?api-version=2024-05-20-preview+1": { + "Update-AzConnectedMachine+[NoContext]+Update+$PATCH+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine?api-version=2024-07-10+1": { "Request": { "Method": "PATCH", - "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine?api-version=2024-05-20-preview", + "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine?api-version=2024-07-10", "Content": "{\r\n \"properties\": {\r\n \"privateLinkScopeResourceId\": \"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/privateLinkScopes/myScope2\"\r\n }\r\n}", "isContentBase64": false, "Headers": { @@ -19,20 +19,20 @@ "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "319" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-request-id": [ "20497692-2d17-477c-b46f-84a0a32ff29a" ], - "x-ms-correlation-request-id": [ "081618b5-4ac3-43fe-acac-18cfff93e236" ], - "x-ms-routing-request-id": [ "EASTUS:20240920T033344Z:081618b5-4ac3-43fe-acac-18cfff93e236" ], + "x-ms-request-id": [ "4533f19d-0790-451b-b43e-735bb30c855e" ], + "x-ms-correlation-request-id": [ "f7d41767-ca6a-470e-8111-5beead9bb5d8" ], + "x-ms-routing-request-id": [ "EASTUS:20241004T185443Z:f7d41767-ca6a-470e-8111-5beead9bb5d8" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: A3339C02778E4C589E51E80DFE94393C Ref B: MNZ221060610031 Ref C: 2024-09-20T03:33:40Z" ], - "Date": [ "Fri, 20 Sep 2024 03:33:43 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 42FB41D6B9B04E1A984F9C6A6B0F67BB Ref B: MNZ221060618033 Ref C: 2024-10-04T18:54:39Z" ], + "Date": [ "Fri, 04 Oct 2024 18:54:43 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "3836" ], + "Content-Length": [ "3822" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine\",\"name\":\"testmachine\",\"location\":\"centraluseuap\",\"tags\":{},\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"01a3757c-c171-4340-a929-37832b450bbb\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"type\":\"Microsoft.HybridCompute/machines\",\"properties\":{\"provisioningState\":\"Updating\",\"agentVersion\":\"1.46.02809.1841\",\"status\":\"Disconnected\",\"lastStatusChange\":\"2024-09-20T02:38:22.3624345Z\",\"errorDetails\":[],\"displayName\":\"LAPTOP-S0HSJ7FB\",\"machineFqdn\":\"LAPTOP-S0HSJ7FB\",\"osName\":\"windows\",\"osVersion\":\"10.0.19045.4894\",\"osType\":\"windows\",\"osProfile\":{\"computerName\":\"LAPTOP-S0HSJ7FB\"},\"vmId\":\"74584d06-c53b-4878-b9f9-5f1a118a3b45\",\"vmUuid\":\"1A9E1B42-3894-11EC-80F0-84A9388B55FE\",\"clientPublicKey\":\"MIIBCgKCAQEA5H5irMRQ+kdZrzAhIhcOot0wIXuTdCHqMm4TyPzipRwkKFGwF6qK9hoc4QtmyLv4lQZ+KaUi7sV8GBlIJgPqXX1I9/DZQ9m+g2sSJiqzC1jCjRZZqMwFmwxzWZV/aiD+Xxcvdag2S1VrNv91k8qsmRcEkFcb2aSpxi3fT9tNRD7nOpuOVTOd+FcYQEgAM1BF7LFQiJ/bwVGCCKWe36/suTxulIppQG27Uq1o4Mm100b/MU0o5ltTxGpq6ww61KlOPJaeJkbA0mLKzXMbgugIJs0tC176/6RC16tkli4PcshrD1S2eMPrfGu0SnZcjKZeFzjaXfFmx4HmiHBWJ0aWFwIDAQAB\",\"osSku\":\"Windows 10 Enterprise\",\"osEdition\":\"enterprise\",\"osInstallDate\":\"2023-02-07T08:27:20+00:00\",\"domainName\":\"WORKGROUP\",\"adFqdn\":\"LAPTOP-S0HSJ7FB\",\"dnsFqdn\":\"LAPTOP-S0HSJ7FB\",\"mssqlDiscovered\":\"false\",\"cloudMetadata\":{\"provider\":\"N/A\"},\"detectedProperties\":{\"cloudprovider\":\"N/A\",\"coreCount\":\"4\",\"logicalCoreCount\":\"8\",\"manufacturer\":\"LENOVO\",\"model\":\"20Y0S2PE00\",\"mssqldiscovered\":\"false\",\"processorCount\":\"1\",\"processorNames\":\"11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz\",\"productType\":\"4\",\"serialNumber\":\"PF33PR6M\",\"smbiosAssetTag\":\"14765144\",\"totalPhysicalMemoryInBytes\":\"34359738368\",\"totalPhysicalMemoryInGigabytes\":\"32\",\"vmuuidEsu2012\":\"1A9E1B42-3894-11EC-80F0-84A9388B55FE\"},\"privateLinkScopeResourceId\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/privateLinkScopes/myScope2\",\"agentConfiguration\":{\"proxyUrl\":\"\",\"incomingConnectionsPorts\":[],\"extensionsAllowList\":[],\"extensionsBlockList\":[],\"proxyBypass\":[],\"extensionsEnabled\":\"true\",\"guestConfigurationEnabled\":\"true\",\"configMode\":\"full\"},\"serviceStatuses\":{\"extensionService\":{\"status\":\"running\",\"startupType\":\"automatic\"},\"guestConfigurationService\":{\"status\":\"running\",\"startupType\":\"automatic\"}},\"agentUpgrade\":{\"enableAutomaticUpgrade\":false},\"networkProfile\":{\"networkInterfaces\":[{\"ipAddresses\":[{\"address\":\"192.168.32.1\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"192.168.32.0/20\"}}],\"macAddress\":\"00:15:5d:ff:23:44\",\"id\":\"32\",\"name\":\"vEthernet (Default Switch)\"},{\"ipAddresses\":[{\"address\":\"192.168.1.243\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"192.168.1.0/24\"}}],\"macAddress\":\"7c:70:db:1b:2c:22\",\"id\":\"11\",\"name\":\"Wi-Fi\"},{\"ipAddresses\":[{\"address\":\"2001:0:2841:f634:1c12:2f8a:52bb:ceed\",\"ipAddressVersion\":\"IPv6\",\"subnet\":{\"addressPrefix\":\"2001:0:2841:f634::/64\"}}],\"macAddress\":\"00:00:00:00:00:00:00:e0\",\"id\":\"14\",\"name\":\"Teredo Tunneling Pseudo-Interface\"}]},\"licenseProfile\":{\"licenseStatus\":\"Licensed\",\"licenseChannel\":\"Retail\",\"esuProfile\":{\"licenseAssignmentState\":\"NotAssigned\",\"serverType\":\"Unknown\",\"esuEligibility\":\"Ineligible\",\"esuKeyState\":\"Inactive\"}},\"storageProfile\":{\"disks\":[{\"path\":\"\\\\\\\\.\\\\PHYSICALDRIVE0\",\"diskType\":\"Fixed hard disk media\",\"generatedId\":\"\\\\\\\\.\\\\PHYSICALDRIVE0\",\"id\":\"\\\\\\\\.\\\\PHYSICALDRIVE0\",\"name\":\"SKHynix_HFS512GDE9X081N\",\"maxSizeInBytes\":512105932800,\"usedSpaceInBytes\":257774028800}]},\"firmwareProfile\":{\"serialNumber\":\"PF33PR6M\",\"type\":\"EFI\"},\"hardwareProfile\":{\"totalPhysicalMemoryInBytes\":34359738368,\"numberOfCpuSockets\":1,\"processors\":[{\"name\":\"11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz\",\"numberOfCores\":4}]}}}", + "Content": "{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine\",\"name\":\"testmachine\",\"location\":\"eastus\",\"tags\":{},\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"77c88dff-29f9-46b3-96c1-0e268e14c2e9\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"type\":\"Microsoft.HybridCompute/machines\",\"properties\":{\"provisioningState\":\"Updating\",\"agentVersion\":\"1.46.02809.1841\",\"status\":\"Connected\",\"lastStatusChange\":\"2024-10-04T18:15:37.0115874Z\",\"errorDetails\":[],\"displayName\":\"LAPTOP-S0HSJ7FB\",\"machineFqdn\":\"LAPTOP-S0HSJ7FB\",\"osName\":\"windows\",\"osVersion\":\"10.0.19045.4894\",\"osType\":\"windows\",\"osProfile\":{\"computerName\":\"LAPTOP-S0HSJ7FB\"},\"vmId\":\"63619518-ff37-447a-aece-6631b77dd539\",\"vmUuid\":\"1A9E1B42-3894-11EC-80F0-84A9388B55FE\",\"clientPublicKey\":\"MIIBCgKCAQEAsczlsurN559KRp4x6W9aKSle/XqlOdaeP22TfXDVsxCLNjivIHBr0BzufK8F2ly0eX5Q3MMsr51tX1bVD7RKcg53iTG2YMiygA5jjoptXTAMe28BxPQ5S1+6tv7XbRSibIb6pss1UKqrmOYNXWQMU5mHlZ+cv5RAcGMANhqVMYQ1vyLRx5I0zdvWI6PGiHMjjLCL8EMS8qgw43KXtP+t98pojlsMnS8YVwcsQcjYjkR9a64OFdHelr4oCrBNIaVdrSNEOygj8ONEWltt8CUMqHo437x7ZwEuf4dHMBgazzONWDFGr0tO1NhR7w0a3GI/Pdt0VKCIbL+Rb81vsecJPwIDAQAB\",\"osSku\":\"Windows 10 Enterprise\",\"osEdition\":\"enterprise\",\"osInstallDate\":\"2023-02-07T08:27:20+00:00\",\"domainName\":\"WORKGROUP\",\"adFqdn\":\"LAPTOP-S0HSJ7FB\",\"dnsFqdn\":\"LAPTOP-S0HSJ7FB\",\"mssqlDiscovered\":\"false\",\"cloudMetadata\":{\"provider\":\"N/A\"},\"detectedProperties\":{\"cloudprovider\":\"N/A\",\"coreCount\":\"4\",\"logicalCoreCount\":\"8\",\"manufacturer\":\"LENOVO\",\"model\":\"20Y0S2PE00\",\"mssqldiscovered\":\"false\",\"processorCount\":\"1\",\"processorNames\":\"11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz\",\"productType\":\"4\",\"serialNumber\":\"PF33PR6M\",\"smbiosAssetTag\":\"14765144\",\"totalPhysicalMemoryInBytes\":\"34359738368\",\"totalPhysicalMemoryInGigabytes\":\"32\",\"vmuuidEsu2012\":\"1A9E1B42-3894-11EC-80F0-84A9388B55FE\"},\"privateLinkScopeResourceId\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/privateLinkScopes/myScope2\",\"agentConfiguration\":{\"proxyUrl\":\"\",\"incomingConnectionsPorts\":[],\"extensionsAllowList\":[],\"extensionsBlockList\":[],\"proxyBypass\":[],\"extensionsEnabled\":\"true\",\"guestConfigurationEnabled\":\"true\",\"configMode\":\"full\"},\"serviceStatuses\":{\"extensionService\":{\"status\":\"running\",\"startupType\":\"automatic\"},\"guestConfigurationService\":{\"status\":\"running\",\"startupType\":\"automatic\"}},\"agentUpgrade\":{\"enableAutomaticUpgrade\":false},\"networkProfile\":{\"networkInterfaces\":[{\"ipAddresses\":[{\"address\":\"172.21.0.1\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"172.21.0.0/20\"}}],\"macAddress\":\"00:15:5d:29:94:9c\",\"id\":\"27\",\"name\":\"vEthernet (Default Switch)\"},{\"ipAddresses\":[{\"address\":\"192.168.1.243\",\"ipAddressVersion\":\"IPv4\",\"subnet\":{\"addressPrefix\":\"192.168.1.0/24\"}}],\"macAddress\":\"7c:70:db:1b:2c:22\",\"id\":\"10\",\"name\":\"Wi-Fi\"},{\"ipAddresses\":[{\"address\":\"2001:0:2841:f634:1c12:2f8a:52bb:ceed\",\"ipAddressVersion\":\"IPv6\",\"subnet\":{\"addressPrefix\":\"2001:0:2841:f634::/64\"}}],\"macAddress\":\"00:00:00:00:00:00:00:e0\",\"id\":\"14\",\"name\":\"Teredo Tunneling Pseudo-Interface\"}]},\"licenseProfile\":{\"licenseStatus\":\"Licensed\",\"licenseChannel\":\"Retail\",\"esuProfile\":{\"licenseAssignmentState\":\"NotAssigned\",\"serverType\":\"Unknown\",\"esuEligibility\":\"Ineligible\",\"esuKeyState\":\"Inactive\"}},\"storageProfile\":{\"disks\":[{\"path\":\"\\\\\\\\.\\\\PHYSICALDRIVE0\",\"diskType\":\"Fixed hard disk media\",\"generatedId\":\"\\\\\\\\.\\\\PHYSICALDRIVE0\",\"id\":\"\\\\\\\\.\\\\PHYSICALDRIVE0\",\"name\":\"SKHynix_HFS512GDE9X081N\",\"maxSizeInBytes\":512105932800,\"usedSpaceInBytes\":257882859520}]},\"firmwareProfile\":{\"serialNumber\":\"PF33PR6M\",\"type\":\"EFI\"},\"hardwareProfile\":{\"totalPhysicalMemoryInBytes\":34359738368,\"numberOfCpuSockets\":1,\"processors\":[{\"name\":\"11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz\",\"numberOfCores\":4}]}}}", "isContentBase64": false } } diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/test/Update-AzConnectedMachineExtension.Recording.json b/src/ConnectedMachine/ConnectedMachine.Autorest/test/Update-AzConnectedMachineExtension.Recording.json index 46b4b7c0a634..302c00b25b1c 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/test/Update-AzConnectedMachineExtension.Recording.json +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/test/Update-AzConnectedMachineExtension.Recording.json @@ -1,8 +1,8 @@ { - "Update-AzConnectedMachineExtension+[NoContext]+Update+$PATCH+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine/extensions/networkWatcher?api-version=2024-05-20-preview+1": { + "Update-AzConnectedMachineExtension+[NoContext]+Update+$PATCH+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine/extensions/networkWatcher?api-version=2024-07-10+1": { "Request": { "Method": "PATCH", - "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine/extensions/networkWatcher?api-version=2024-05-20-preview", + "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine/extensions/networkWatcher?api-version=2024-07-10", "Content": "{\r\n \"properties\": {\r\n \"settings\": {\r\n \"commandToExecute\": \"powershell.exe ls\"\r\n }\r\n }\r\n}", "isContentBase64": false, "Headers": { @@ -17,18 +17,18 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationresults/f83f3ee6-b80b-4463-b61b-14ccb8d90d71?api-version=2024-05-20-preview\u0026t=638623847222093739\u0026c=MIIHpTCCBo2gAwIBAgITfwN43MjEi0W8quEp-gAEA3jcyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwNjI0MTIwMzUxWhcNMjUwNjE5MTIwMzUxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALiUzQ72miF3S8xuwVdDASkfTayfNuL2xoGjIYUp6ggSGWwqcFLd9Wyqc3F6x8NaURchp8S0iOYM5xMdEBYAsj1xu3zzvdMwM4vUqHIbG6w3GEP4tj7-UIz-btgan_NW7rOEM9oubY9dUtfuCg-mayRYdWezidp70abA2mUEj9ioVQ0CKe9kIzMPn7WFnuLRExud0yMQzDsWTVbaC5Eb_4Hx6vT5bnnLDisXEEQMzG96dJaC9KQZ-tFvcDzGz6diIq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fyifkr0CQxZzP-kuacTPN1snTbUwUEU6pIo1U0mu8WnmBZ7wRbcF5Vjd2fSFKiNrfStI0Hp-kDU_4kPbf6uygpxz_IUwEk3kMKEchBm85zYRPzSJH0xxMoLNq0ZDjOdEg2l_lmqYYrVSFSpnDPPYliNspvq_Qs27EgTjbW4eFUVoC3br_dSBQ5A960AOIVBzFlw6TFnG_0JEf3wMphYwoJ97M3uDZ7GSyQ\u0026h=E39qZlZXKdqMXNvCzDQBvqZJJDUr6WiASO6Uu1viXLQ" ], + "Location": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationresults/7252bf6a-bfc2-4575-a5fd-acf7522a7a0f?api-version=2024-07-10\u0026t=638639279684266202\u0026c=MIIHpTCCBo2gAwIBAgITOgOyui871wRtge60rAAEA7K6LzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSU5GUkEgQ0EgMDEwHhcNMjQwOTIyMTIyOTEzWhcNMjUwMzIxMTIyOTEzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALthCEIs4vwfpBtc8a6akzk9FNp-luTjsKhTETKForQzaFdF5S6PDjwZJVAOcVWePFAecP08Qp1FzfiX_Cl9StTirn6FO-MjJbWSG2THMvz756N87v6UNTXfNr29-Y-iFxGXE0LRwZ39GG4hV9nUekLb8OlN6VC48-A54O0iJybH12xGD4eKLbn4ilMqeYCyiivgk_AAxCvO75VjkDUu1PztXTqXfeLvWxaeqT1RTux_k8SPeFde5JPpWGKFNih2uv3JG5KjyszNBV6b2MaWQRiNYIiPo9N_DvTiv2r7BWNvocSISt9wLymfNp0mmAvGajmSbXq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UPAV8mbehTzoj_wzUAyEbatJ81i1Kpf4fGHAlpFKBwixkoC7F6jlyr4Ac8XO7WpUj5jXYzxbQQVMORwJabZePg9GOXZ3WukcBuznGTqimHcBbd_owntm7MWM1uwlB-W89oS8dr_ciNnsW7XFp3LoRB5Ac6Hn6LggOICRACKgWkEGw\u0026h=10O4hPMU6AyOwyeHtBi1iPnjyufGRGDm_fmRFr4WFME" ], "Retry-After": [ "15" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-request-id": [ "f83f3ee6-b80b-4463-b61b-14ccb8d90d71" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/f83f3ee6-b80b-4463-b61b-14ccb8d90d71?api-version=2024-05-20-preview\u0026t=638623847221937472\u0026c=MIIHpTCCBo2gAwIBAgITfwN43MjEi0W8quEp-gAEA3jcyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwNjI0MTIwMzUxWhcNMjUwNjE5MTIwMzUxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALiUzQ72miF3S8xuwVdDASkfTayfNuL2xoGjIYUp6ggSGWwqcFLd9Wyqc3F6x8NaURchp8S0iOYM5xMdEBYAsj1xu3zzvdMwM4vUqHIbG6w3GEP4tj7-UIz-btgan_NW7rOEM9oubY9dUtfuCg-mayRYdWezidp70abA2mUEj9ioVQ0CKe9kIzMPn7WFnuLRExud0yMQzDsWTVbaC5Eb_4Hx6vT5bnnLDisXEEQMzG96dJaC9KQZ-tFvcDzGz6diIqaanc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lYPwRVwNkxlxCQQFu3JoWVtXhQqf5jYdnLmS006UKRnHUDwj5qW8-VYcunjChQUiywZtACRZ_y8ZnmuEvE829BOZDZUfWHicia2OtCX3PfrAxqCaqANLy1_lrVaq6dXi4f0XCCW-e26mIW0enN8idkarZwsnxUBVLmznVqdWCYIpWx4kArP3q-aYLaJ74p29zmXKAN0Q9vg1jansBAgNUcyxw\u0026h=Hj9telJSCY8qNkxiZbTCU-mXnKrKPDNTLzWCOx30Wgo" ], + "x-ms-request-id": [ "7252bf6a-bfc2-4575-a5fd-acf7522a7a0f" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/7252bf6a-bfc2-4575-a5fd-acf7522a7a0f?api-version=2024-07-10\u0026t=638639279684109953\u0026c=MIIHpTCCBo2gAwIBAgITOgOyui871wRtge60rAAEA7K6LzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSU5GUkEgQ0EgMDEwHhcNMjQwOTIyMTIyOTEzWhcNMjUwMzIxMTIyOTEzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALthCEIs4vwfpBtc8a6akzk9FNp-luTjsKhTETKForQzaFdF5S6PDjwZJVAOcVWePFAecP08Qp1FzfiX_Cl9StTirn6FO-MjJbWSG2THMvz756N87v6UNTXfNr29-Y-iFxGXE0LRwZ39GG4hV9nUekLb8OlN6VC48-A54O0iJybH12xGD4eKLbn4ilMqeYCyiivgk_AAxCvO75VjkDUu1PztXTqXfeLvWxaeqT1RTux_k8SPeFde5JPpWGKFNih2uv3JG5KjyszNBV6b2MaWQRiNYIiPo9N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BNfOFtQ2pbhWWrRbvCkKvd3fNyBY4MKYCCcMgJTOK4_cS4FfhzzrQY3yYOUKi4QQ8xZ3Yui_AjtpZMX4euwWYJOsmgXlO5beLMABwovdRuNGlseOhkETTqiYRAwPDeYiUHUVm_QeLxqIndR3e2XDTPSxP2rYsWM49mG8XGVGIoFADU3KzbSphsSUeR1bIUGOduD6Cp83fQfoFow\u0026h=uePfBZKJ7xIdDtzW8vOKWCH_eTvi3QSnbgEEAkCVErk" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "319" ], - "x-ms-correlation-request-id": [ "611ce973-b28b-4467-a6b1-ccc05c044678" ], - "x-ms-routing-request-id": [ "EASTUS2:20240919T231842Z:611ce973-b28b-4467-a6b1-ccc05c044678" ], + "x-ms-correlation-request-id": [ "fd5346ce-c8cf-4880-ba52-35c060527311" ], + "x-ms-routing-request-id": [ "EASTUS2:20241007T195928Z:fd5346ce-c8cf-4880-ba52-35c060527311" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 9D72065B2338441D8DE463D9BD6B77C1 Ref B: MNZ221060619025 Ref C: 2024-09-19T23:18:41Z" ], - "Date": [ "Thu, 19 Sep 2024 23:18:41 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 87FF6D57994F485C8425C0EEBF7E4A1E Ref B: BL2AA2030104045 Ref C: 2024-10-07T19:59:28Z" ], + "Date": [ "Mon, 07 Oct 2024 19:59:27 GMT" ] }, "ContentHeaders": { "Content-Type": [ "application/json" ], @@ -39,20 +39,20 @@ "isContentBase64": false } }, - "Update-AzConnectedMachineExtension+[NoContext]+Update+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/f83f3ee6-b80b-4463-b61b-14ccb8d90d71?api-version=2024-05-20-preview\u0026t=638623847221937472\u0026c=MIIHpTCCBo2gAwIBAgITfwN43Mj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VHSMEGDAWgBSuecJrXSWIEwb2BwnDl3x7l48dVTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADbkVmxlTl8VUMrDJBuRWlmxRWKlxGiR-kZINt99ksV65ZBhsigLjAZYo4HpzQydRwwPVGUebtBD3XhFnalnYK3EoU3yr5LEyfJCQqOCPvAt1AZ3bMR5moP6HXLcSlsDicH7R97FRrKO_6GywgIPDmt2Mm2VBO6p3qPCi2do79OCNlD3OpKaWuuuC6lnZB1ilSIi1w9vpGdji0ixc_dnfMVgL_z1lnM1nLDCsALgv8ghCQDVX4h_Net36CgZgv16gbE71947exvQNJZVVQfXQe0YRTktFsCJVlPmvV5d0KukZUDMAiH0oFJCto8W6ggMMy7u4JLzsLIxcJxrFMaGaz8\u0026s=grIhaQrKUOg2A56zrudDF8c2jgk3BO3mAA5hv7USClYPuPu2faFZfVlU3IcHkT7BJyaQtDhtxaK6j0jmmlaumEkLMVd0hhQp-6DeHkThlCY5MpWmLxfXOE2jYIjAUlYPwRVwNkxlxCQQFu3JoWVtXhQqf5jYdnLmS006UKRnHUDwj5qW8-VYcunjChQUiywZtACRZ_y8ZnmuEvE829BOZDZUfWHicia2OtCX3PfrAxqCaqANLy1_lrVaq6dXi4f0XCCW-e26mIW0enN8idkarZwsnxUBVLmznVqdWCYIpWx4kArP3q-aYLaJ74p29zmXKAN0Q9vg1jansBAgNUcyxw\u0026h=Hj9telJSCY8qNkxiZbTCU-mXnKrKPDNTLzWCOx30Wgo+2": { + "Update-AzConnectedMachineExtension+[NoContext]+Update+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/7252bf6a-bfc2-4575-a5fd-acf7522a7a0f?api-version=2024-07-10\u0026t=638639279684109953\u0026c=MIIHpTCCBo2gAwIBAgITOgOyui871wRtge60rAAEA7K6LzANBgkqhkiG9w0BAQsFADBEMRMwEQY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ggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAHkWc1KMstXAU5p0ciSSzPoB_W772N_r2ITPfnNv7OdZGLyDL8VTUXFgLP_lVJgsrUcSXJi6GSjDB9ww5vQCsXJQgzO4bCx-jKgHjqphvAtqaiiUEs6HJZYAXzjGr6BPLIlx2qov7eiI-vLqT3h9gqiUGYjLwwKJdO4PIGGzt5oIY5oWtLkqoxoad8CfpX7z8WM9YAUv1l-majml_BXWMmN0t5BbCB5MAuZPnD2rg3mtvh4FEV5pnTtTLPwpw7AAt-9DReZQOgsVkBLNSAzvuXHJzMAm03Gr-uZw7fY_-p1aqDgZ4KMTnQqVr8NvFE02_Gj_5hIaAdCp1bUhZ3ZrmZY\u0026s=RKDzrhuVyweNIOQc1fKBaGoJvLxdciHpvl-L6eWS04RlkFop1L7EU2rbnk8QcRCwBKPjc82IdxvD6Tqh94kRQCAjJMoVsBuALUYK846h41-cabCe7sF12dXunGpLgQz5JmJmrWVBNfOFtQ2pbhWWrRbvCkKvd3fNyBY4MKYCCcMgJTOK4_cS4FfhzzrQY3yYOUKi4QQ8xZ3Yui_AjtpZMX4euwWYJOsmgXlO5beLMABwovdRuNGlseOhkETTqiYRAwPDeYiUHUVm_QeLxqIndR3e2XDTPSxP2rYsWM49mG8XGVGIoFADU3KzbSphsSUeR1bIUGOduD6Cp83fQfoFow\u0026h=uePfBZKJ7xIdDtzW8vOKWCH_eTvi3QSnbgEEAkCVErk+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/f83f3ee6-b80b-4463-b61b-14ccb8d90d71?api-version=2024-05-20-preview\u0026t=638623847221937472\u0026c=MIIHpTCCBo2gAwIBAgITfwN43MjEi0W8quEp-gAEA3jcyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZP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QYJKoZIhvcNAQELBQADggEBADbkVmxlTl8VUMrDJBuRWlmxRWKlxGiR-kZINt99ksV65ZBhsigLjAZYo4HpzQydRwwPVGUebtBD3XhFnalnYK3EoU3yr5LEyfJCQqOCPvAt1AZ3bMR5moP6HXLcSlsDicH7R97FRrKO_6GywgIPDmt2Mm2VBO6p3qPCi2do79OCNlD3OpKaWuuuC6lnZB1ilSIi1w9vpGdji0ixc_dnfMVgL_z1lnM1nLDCsALgv8ghCQDVX4h_Net36CgZgv16gbE71947exvQNJZVVQfXQe0YRTktFsCJVlPmvV5d0KukZUDMAiH0oFJCto8W6ggMMy7u4JLzsLIxcJxrFMaGaz8\u0026s=grIhaQrKUOg2A56zrudDF8c2jgk3BO3mAA5hv7USClYPuPu2faFZfVlU3IcHkT7BJyaQtDhtxaK6j0jmmlaumEkLMVd0hhQp-6DeHkThlCY5MpWmLxfXOE2jYIjAUlYPwRVwNkxlxCQQFu3JoWVtXhQqf5jYdnLmS006UKRnHUDwj5qW8-VYcunjChQUiywZtACRZ_y8ZnmuEvE829BOZDZUfWHicia2OtCX3PfrAxqCaqANLy1_lrVaq6dXi4f0XCCW-e26mIW0enN8idkarZwsnxUBVLmznVqdWCYIpWx4kArP3q-aYLaJ74p29zmXKAN0Q9vg1jansBAgNUcyxw\u0026h=Hj9telJSCY8qNkxiZbTCU-mXnKrKPDNTLzWCOx30Wgo", + "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/7252bf6a-bfc2-4575-a5fd-acf7522a7a0f?api-version=2024-07-10\u0026t=638639279684109953\u0026c=MIIHpTCCBo2gAwIBAgITOgOyui871wRtge60rAAEA7K6LzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSU5GUkEgQ0EgMDEwHhcNMjQwOTIyMTIyOTEzW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JgsrUcSXJi6GSjDB9ww5vQCsXJQgzO4bCx-jKgHjqphvAtqaiiUEs6HJZYAXzjGr6BPLIlx2qov7eiI-vLqT3h9gqiUGYjLwwKJdO4PIGGzt5oIY5oWtLkqoxoad8CfpX7z8WM9YAUv1l-majml_BXWMmN0t5BbCB5MAuZPnD2rg3mtvh4FEV5pnTtTLPwpw7AAt-9DReZQOgsVkBLNSAzvuXHJzMAm03Gr-uZw7fY_-p1aqDgZ4KMTnQqVr8NvFE02_Gj_5hIaAdCp1bUhZ3ZrmZY\u0026s=RKDzrhuVyweNIOQc1fKBaGoJvLxdciHpvl-L6eWS04RlkFop1L7EU2rbnk8QcRCwBKPjc82IdxvD6Tqh94kRQCAjJMoVsBuALUYK846h41-cabCe7sF12dXunGpLgQz5JmJmrWVBNfOFtQ2pbhWWrRbvCkKvd3fNyBY4MKYCCcMgJTOK4_cS4FfhzzrQY3yYOUKi4QQ8xZ3Yui_AjtpZMX4euwWYJOsmgXlO5beLMABwovdRuNGlseOhkETTqiYRAwPDeYiUHUVm_QeLxqIndR3e2XDTPSxP2rYsWM49mG8XGVGIoFADU3KzbSphsSUeR1bIUGOduD6Cp83fQfoFow\u0026h=uePfBZKJ7xIdDtzW8vOKWCH_eTvi3QSnbgEEAkCVErk", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "7" ], - "x-ms-client-request-id": [ "5e7748ab-25af-47f2-b890-2fc17b44b42d" ], + "x-ms-unique-id": [ "20" ], + "x-ms-client-request-id": [ "23376203-420d-4a65-8199-feae77be5148" ], "CommandName": [ "Update-AzConnectedMachineExtension" ], "FullCommandName": [ "Update-AzConnectedMachineExtension_UpdateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.5.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.1.0" ] }, "ContentHeaders": { } @@ -62,42 +62,42 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationresults/f83f3ee6-b80b-4463-b61b-14ccb8d90d71?api-version=2024-05-20-preview\u0026t=638623847376901218\u0026c=MIIHpTCCBo2gAwIBAgITfwN43MjEi0W8quEp-gAEA3jcyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwNjI0MTIwMzUxWhcNMjUwNjE5MTIwMzUxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALiUzQ72miF3S8xuwVdDASkfTayfNuL2xoGjIYUp6ggSGWwqcFLd9Wyqc3F6x8NaURchp8S0iOYM5xMdEBYAsj1xu3zzvdMwM4vUqHIbG6w3GEP4tj7-UIz-btgan_NW7rOEM9oubY9dUtfuCg-mayRYdWezidp70abA2mUEj9ioVQ0CKe9kIzMPn7WFnuLRExud0yMQzDsWTVbaC5Eb_4Hx6vT5bnnLDisXEEQMzG96dJaC9KQZ-tFvcDzGz6diIqaancayRsE-Q5tMUFT-HqewL96WS1vsLjZx9weQsiyqFubDmhMVRawaS26swEjXSSzVp-b3R4MYD-Oh7GkmiFECAwEAAaOCBJIwggSOMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcBA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8BkesQ" ], + "Location": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationresults/7252bf6a-bfc2-4575-a5fd-acf7522a7a0f?api-version=2024-07-10\u0026t=638639279836609509\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwMjMxMTQxWhcNMjUwMzE5MjMxMTQxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKRtcYDBXS7zz5tRtvVyhrUAjudYhej1E2D3dp6XWuPdbVMbQZwMlye8vdT-kDhFD7T2mrdWqsoGnTGk0_xOHBfLGnW-0QRUqpeoTNIhu8vc2CfTUtm2t2s_-fzvFtRyhDA4mfCH1cz92EVj0vd3FD4ikW6bdOp1NkYFqUVBhKlbvJk6y-TbLFBLP5Zx4m0Ua-_P7aMzbgvOJgMOTC2jLs5w_lFDJWeP3IKUOiJmrfLpf4ey5Ov94oCE6YncDBSHJZKWcrSxDHgSz9AXrxarL4HLajGbF3MRvfkMN2gNXCoiJXBEqCLDnyQZ0BgXIvuK7vG8Rj0TyhJNj-QPr8taY6UCAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3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3ewICMFgwVgYIKwYBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwEwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAG0WbzLPsmSSMI7aTe2npixmkdCmwcdZHGd43tUnB8JKrLNJEFcBsQmbcIH0adpnQNrDgRkNBBOTZ4s1LIBlRQapZpPsRItAMUguVpGVRH08T0i43w9xrp_clNbAJrrfRbmYroF0WJKMJ0nwW2rPjxdevSRygGK_nEfywwFi-p1RhHnkiEGL4GnP7PpQcRvAYMdH9LO5MRY7iLbBmosKatS_eWtSJD1CvzglNwy_vQzx81Vnk0CgndqXcVq-loGu7R4U7mkQ2NNqLbp447STxkpP-6Mdyv8J4bdnf1s3vFBNpgvJWKogWcNLlo8jnkbEf6RPNGe1W5lma7JwMKAcPzY\u0026s=Ss1s13ul0mbsG01SiYMqoN9XASoHuLfD19BQtJ28jqOsR_OcxgYMmM4LldgsCNk25wFoZo2lm5_nPehm1ZpdhPUiaJFuKb9BJcH8bQH8-2W_slMtwYk3o7Y96NoPxl4HOj8YF9qnUwbQalDaM4-TGlxvqI54vfZOpRFoZVMSJl_FSjSWfFm-0YBNp8ZhihEGDu50YhD7nMFbRyFpwC9HQkp0DOxUQXohD-OkDbbgOnoVPbI3gGLVbu8MqE7fmpJ6onWVMxrGl1QIhN2F8nrWz5OZ6_Kc6T1a4JNXaV1BR3zlBJM2Kmdsnxyx7DMmgOrqkeMZHCEaP-QkKUCB9dDaaA\u0026h=0b69fSOasTv5AtIxMxZfe45tQijaw41zF5oMpo1zJZw" ], "Retry-After": [ "15" ], "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-request-id": [ "94f3884b-61a2-46de-8086-81618f573f62" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/f83f3ee6-b80b-4463-b61b-14ccb8d90d71?api-version=2024-05-20-preview\u0026t=638623847376744958\u0026c=MIIHpTCCBo2gAwIBAgITfwN43MjEi0W8quEp-gAEA3jcyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwNjI0MTIwMzUxWhcNMjUwNjE5MTIwMzUxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALiUzQ72miF3S8xuwVdDASkfTayfNuL2xoGjIYUp6ggSGWwqcFLd9Wyqc3F6x8NaURchp8S0iOYM5xMdEBYAsj1xu3zzvdMwM4vUqHIbG6w3GEP4tj7-UIz-btgan_NW7rOEM9oubY9dUtfuCg-mayRYdWezidp70abA2mUEj9ioVQ0CKe9kIzMPn7WFnuLRExud0yMQzDsWTVbaC5Eb_4Hx6vT5bnnLDisXEEQMzG96dJaC9KQZ-tFvcDzGz6diIqaancayRsE-Q5tMUFT-HqewL96WS1vsLjZx9weQsiyqFubDmhMVRawaS26swEjXSSzVp-b3R4MYD-Oh7GkmiFECAwEAAaOCBJIwggSOMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcBAQ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CtLfEiixpk" ], - "x-ms-correlation-request-id": [ "fdad0cf9-6bd2-4e76-82a3-885cddf93d38" ], - "x-ms-routing-request-id": [ "EASTUS2:20240919T231857Z:fdad0cf9-6bd2-4e76-82a3-885cddf93d38" ], + "x-ms-request-id": [ "285a69ab-61d6-4237-9baa-b423c9e58f65" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/7252bf6a-bfc2-4575-a5fd-acf7522a7a0f?api-version=2024-07-10\u0026t=638639279836453225\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwMjMxMTQxWhcNMjUwMzE5MjMxMTQxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKRtcYDBXS7zz5tRtvVyhrUAjudYhej1E2D3dp6XWuPdbVMbQZwMlye8vdT-kDhFD7T2mrdWqsoGnTGk0_xOHBfLGnW-0QRUqpeoTNIhu8vc2CfTUtm2t2s_-fzvFtRyhDA4mfCH1cz92EVj0vd3FD4ikW6bdOp1NkYFqUVBhKlbvJk6y-TbLFBLP5Zx4m0Ua-_P7aMzbgvOJgMOTC2jLs5w_lFDJWeP3IKUOiJmrfLpf4ey5Ov94oCE6YncDBSHJZKWcrSxDHgSz9AXrxarL4HLajGbF3MRvfkMN2gNXCoiJXBEqCLDnyQZ0BgXIvuK7vG8Rj0TyhJNj-QPr8taY6UCAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYB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D3cwysXPNJ1pEHD3EUCQR7Y0z9fhc8wNvV_xm0Vp9ThtgAGx9ZisaJ98Zw\u0026h=_K9zTR8FF2YAPpYPe9mTXvJ2Qwwl8Kcd2_rphj1crx8" ], + "x-ms-correlation-request-id": [ "ff9908c1-50b4-4479-9ce5-c4bd1050feb1" ], + "x-ms-routing-request-id": [ "EASTUS:20241007T195943Z:ff9908c1-50b4-4479-9ce5-c4bd1050feb1" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: DA0EBD8180164CF7AF9FBCE3569A4501 Ref B: MNZ221060619025 Ref C: 2024-09-19T23:18:57Z" ], - "Date": [ "Thu, 19 Sep 2024 23:18:57 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 2484FDDB4B7942659EB2DFFBF6C49FBB Ref B: BL2AA2030104045 Ref C: 2024-10-07T19:59:43Z" ], + "Date": [ "Mon, 07 Oct 2024 19:59:43 GMT" ] }, "ContentHeaders": { "Content-Length": [ "112" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"f83f3ee6-b80b-4463-b61b-14ccb8d90d71\",\"status\":\"InProgress\",\"startTime\":\"2024-09-19T23:18:42.1753325Z\"}", + "Content": "{\"name\":\"7252bf6a-bfc2-4575-a5fd-acf7522a7a0f\",\"status\":\"InProgress\",\"startTime\":\"2024-10-07T19:59:28.3927782Z\"}", "isContentBase64": false } }, - "Update-AzConnectedMachineExtension+[NoContext]+Update+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/f83f3ee6-b80b-4463-b61b-14ccb8d90d71?api-version=2024-05-20-preview\u0026t=638623847376744958\u0026c=MIIHpTCCBo2gAwIBAgITfwN43MjEi0W8quEp-gAEA3jcyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMM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KwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADbkVmxlTl8VUMrDJBuRWlmxRWKlxGiR-kZINt99ksV65ZBhsigLjAZYo4HpzQydRwwPVGUebtBD3XhFnalnYK3EoU3yr5LEyfJCQqOCPvAt1AZ3bMR5moP6HXLcSlsDicH7R97FRrKO_6GywgIPDmt2Mm2VBO6p3qPCi2do79OCNlD3OpKaWuuuC6lnZB1ilSIi1w9vpGdji0ixc_dnfMVgL_z1lnM1nLDCsALgv8ghCQDVX4h_Net36CgZgv16gbE71947exvQNJZVVQfXQe0YRTktFsCJVlPmvV5d0KukZUDMAiH0oFJCto8W6ggMMy7u4JLzsLIxcJxrFMaGaz8\u0026s=dyExL11hYZlvTYjia7aOUVGM8C1IV5KLhpbLpvtMhU0K1Hecmbky3wdZwWzTS0yBH_SAfiC49__gGyhc36NrZYL--vTI-xr9SGoLD_-7u-Z79Cgzi5_wAjM3ylZruQZ1bOVdljWJyOc8GgKX4_NO07Fe6ALBHne48uXkBtigWfw3nDxvUmG4I08CGP0RZnx-oXPNxyWRJXKmBnxuRaeXTkvpUfoAeivIiViP6h6oPNI-GQfTgUnPzEm65cPNmR7KK8ENG57zofQJsUoV-bfm4Ts1YS3VqeIftrquhmcThp1Oz-tXmzqUa4xucujAo2gnnu7Odc6u5XhkWc-F-jnkmQ\u0026h=4M0P8EKj_KVIIs47o0V0QrYTYCQc-8ivlCtLfEiixpk+3": { + "Update-AzConnectedMachineExtension+[NoContext]+Update+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/7252bf6a-bfc2-4575-a5fd-acf7522a7a0f?api-version=2024-07-10\u0026t=638639279836453225\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQ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npixmkdCmwcdZHGd43tUnB8JKrLNJEFcBsQmbcIH0adpnQNrDgRkNBBOTZ4s1LIBlRQapZpPsRItAMUguVpGVRH08T0i43w9xrp_clNbAJrrfRbmYroF0WJKMJ0nwW2rPjxdevSRygGK_nEfywwFi-p1RhHnkiEGL4GnP7PpQcRvAYMdH9LO5MRY7iLbBmosKatS_eWtSJD1CvzglNwy_vQzx81Vnk0CgndqXcVq-loGu7R4U7mkQ2NNqLbp447STxkpP-6Mdyv8J4bdnf1s3vFBNpgvJWKogWcNLlo8jnkbEf6RPNGe1W5lma7JwMKAcPzY\u0026s=dyKI1KoIoda7GjbWnuRfOFXaoyGFNb5bgdSKd-ulvGE0029b5ReGVZ0L81sxDHkC3IawxWFFMvy5SnuTXg_zZjKxPzZHNuVjaz9mQ-OLj6JU2mZYjLEu57DvEWFsEZG17wnFfCQ0gdXLFQTksTwRNo-9iH0eF91PeG9bY_6HlGXzJV0gnWxmTiW6ihS4TWmO0Wthir1dtv9tFSv4YZPJym1T18bSFz0ey3UneHmMrOtlGVqIoo54GIdfG1-jmt_1q8Us08BHpcOkD4lsO58kb6k3qlYaD3cwysXPNJ1pEHD3EUCQR7Y0z9fhc8wNvV_xm0Vp9ThtgAGx9ZisaJ98Zw\u0026h=_K9zTR8FF2YAPpYPe9mTXvJ2Qwwl8Kcd2_rphj1crx8+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/f83f3ee6-b80b-4463-b61b-14ccb8d90d71?api-version=2024-05-20-preview\u0026t=638623847376744958\u0026c=MIIHpTCCBo2gAwIBAgITfwN43MjEi0W8quEp-gAEA3jcyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwNjI0MTIw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igLjAZYo4HpzQydRwwPVGUebtBD3XhFnalnYK3EoU3yr5LEyfJCQqOCPvAt1AZ3bMR5moP6HXLcSlsDicH7R97FRrKO_6GywgIPDmt2Mm2VBO6p3qPCi2do79OCNlD3OpKaWuuuC6lnZB1ilSIi1w9vpGdji0ixc_dnfMVgL_z1lnM1nLDCsALgv8ghCQDVX4h_Net36CgZgv16gbE71947exvQNJZVVQfXQe0YRTktFsCJVlPmvV5d0KukZUDMAiH0oFJCto8W6ggMMy7u4JLzsLIxcJxrFMaGaz8\u0026s=dyExL11hYZlvTYjia7aOUVGM8C1IV5KLhpbLpvtMhU0K1Hecmbky3wdZwWzTS0yBH_SAfiC49__gGyhc36NrZYL--vTI-xr9SGoLD_-7u-Z79Cgzi5_wAjM3ylZruQZ1bOVdljWJyOc8GgKX4_NO07Fe6ALBHne48uXkBtigWfw3nDxvUmG4I08CGP0RZnx-oXPNxyWRJXKmBnxuRaeXTkvpUfoAeivIiViP6h6oPNI-GQfTgUnPzEm65cPNmR7KK8ENG57zofQJsUoV-bfm4Ts1YS3VqeIftrquhmcThp1Oz-tXmzqUa4xucujAo2gnnu7Odc6u5XhkWc-F-jnkmQ\u0026h=4M0P8EKj_KVIIs47o0V0QrYTYCQc-8ivlCtLfEiixpk", + "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/7252bf6a-bfc2-4575-a5fd-acf7522a7a0f?api-version=2024-07-10\u0026t=638639279836453225\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwMjMxMTQxWhcNMjUwMzE5MjMxMTQxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNp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F0WJKMJ0nwW2rPjxdevSRygGK_nEfywwFi-p1RhHnkiEGL4GnP7PpQcRvAYMdH9LO5MRY7iLbBmosKatS_eWtSJD1CvzglNwy_vQzx81Vnk0CgndqXcVq-loGu7R4U7mkQ2NNqLbp447STxkpP-6Mdyv8J4bdnf1s3vFBNpgvJWKogWcNLlo8jnkbEf6RPNGe1W5lma7JwMKAcPzY\u0026s=dyKI1KoIoda7GjbWnuRfOFXaoyGFNb5bgdSKd-ulvGE0029b5ReGVZ0L81sxDHkC3IawxWFFMvy5SnuTXg_zZjKxPzZHNuVjaz9mQ-OLj6JU2mZYjLEu57DvEWFsEZG17wnFfCQ0gdXLFQTksTwRNo-9iH0eF91PeG9bY_6HlGXzJV0gnWxmTiW6ihS4TWmO0Wthir1dtv9tFSv4YZPJym1T18bSFz0ey3UneHmMrOtlGVqIoo54GIdfG1-jmt_1q8Us08BHpcOkD4lsO58kb6k3qlYaD3cwysXPNJ1pEHD3EUCQR7Y0z9fhc8wNvV_xm0Vp9ThtgAGx9ZisaJ98Zw\u0026h=_K9zTR8FF2YAPpYPe9mTXvJ2Qwwl8Kcd2_rphj1crx8", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "8" ], - "x-ms-client-request-id": [ "5e7748ab-25af-47f2-b890-2fc17b44b42d" ], + "x-ms-unique-id": [ "21" ], + "x-ms-client-request-id": [ "23376203-420d-4a65-8199-feae77be5148" ], "CommandName": [ "Update-AzConnectedMachineExtension" ], "FullCommandName": [ "Update-AzConnectedMachineExtension_UpdateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.5.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.1.0" ] }, "ContentHeaders": { } @@ -107,42 +107,42 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationresults/f83f3ee6-b80b-4463-b61b-14ccb8d90d71?api-version=2024-05-20-preview\u0026t=638623847531771920\u0026c=MIIHpTCCBo2gAwIBAgITfwN43MjEi0W8quEp-gAEA3jcyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwNjI0MTIwMzUxWhcNMjUwNjE5MTIwMzUxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALiUzQ72miF3S8xuwVdDASkfTayfNuL2xoGjIYUp6ggSGWwqcFLd9Wyqc3F6x8NaURchp8S0iOYM5xMdEBYAsj1xu3zzvdMwM4vUqHIbG6w3GEP4tj7-UIz-btgan_NW7rOEM9oubY9dUtfuCg-mayRYdWezidp70abA2mUEj9ioVQ0CKe9kIzMPn7WFnuLRExud0yMQzDsWTVbaC5Eb_4Hx6vT5bnnLDisXEEQMzG96dJaC9KQZ-tFvcDzGz6diIqaancayRsE-Q5tMUFT-HqewL96WS1vsLjZx9weQsiyqFubDmhMVRawaS26swEjXSSzVp-b3R4MYD-Oh7GkmiFECAwEAAaOCBJIwggSOMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5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CN3sBATBmBgorBgEEAYI3ewICMFgwVgYIKwYBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwEwDAYKKwYBBAGCN3sEATAfBgNVHSMEGDAWgBSuecJrXSWIEwb2BwnDl3x7l48dVTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADbkVmxlTl8VUMrDJBuRWlmxRWKlxGiR-kZINt99ksV65ZBhsigLjAZYo4HpzQydRwwPVGUebtBD3XhFnalnYK3EoU3yr5LEyfJCQqOCPvAt1AZ3bMR5moP6HXLcSlsDicH7R97FRrKO_6GywgIPDmt2Mm2VBO6p3qPCi2do79OCNlD3OpKaWuuuC6lnZB1ilSIi1w9vpGdji0ixc_dnfMVgL_z1lnM1nLDCsALgv8ghCQDVX4h_Net36CgZgv16gbE71947exvQNJZVVQfXQe0YRTktFsCJVlPmvV5d0KukZUDMAiH0oFJCto8W6ggMMy7u4JLzsLIxcJxrFMaGaz8\u0026s=ZAnwfmUkaCiE9ubrRtVc9R8j7H9oygMAkkwIO540HK7w27MoRLCgkxAsCtnvGpuEMvEgWRzG2OTWM3fGKgG6DfGQYHXeRJ0ah3N0WwE2seQHhJDgAgSOiSW761ybEPgTU-cvO5X2e6vs8kz5oKzWt_K5Fs5QlomDZ3MJCIGzz-veisdKuSAoFIlnsniIKif0MBCipt4WT5VP_NeN-NQkmZXtdoB89Lvs0iqYmpxAJGzcJtrinrkjGSkfxkj3VU17HmZgD7mbxn7SheEJBwOhJb8v7hypi8nuSntKh_p4dOqAmEETTzyI2YMaXOaIMwOvh2V6EcqS5Xd1WNlcnA-yUw\u0026h=WtY7qJuiRUjq-WoG9sT00kgGlBv2WlA4LB_oa_fDdGE" ], + "Location": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36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2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwEwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAG0WbzLPsmSSMI7aTe2npixmkdCmwcdZHGd43tUnB8JKrLNJEFcBsQmbcIH0adpnQNrDgRkNBBOTZ4s1LIBlRQapZpPsRItAMUguVpGVRH08T0i43w9xrp_clNbAJrrfRbmYroF0WJKMJ0nwW2rPjxdevSRygGK_nEfywwFi-p1RhHnkiEGL4GnP7PpQcRvAYMdH9LO5MRY7iLbBmosKatS_eWtSJD1CvzglNwy_vQzx81Vnk0CgndqXcVq-loGu7R4U7mkQ2NNqLbp447STxkpP-6Mdyv8J4bdnf1s3vFBNpgvJWKogWcNLlo8jnkbEf6RPNGe1W5lma7JwMKAcPzY\u0026s=gO8cF_Tal2KuliHn_4aMp36QtruIEJ12XN8r9g2XvwceJaZeqx-t6uRnovgSiKBbLOBBCliZHPfONYVft8anHQjjSNCbdFDjGEwS5Vuhk8_UTJa6c7MZepqr42akCWjN6IQkplfmzxBLNwcWiD5_vwl8isT3yhuaSHXyCsW6Hfg8A6bk0Bt1UPQdVF1UZggpm5-LHb538mPnbJtfdNVE0Su_-V1_2VD3db6FKELkFoe3BdPEG01kF36dMEsq0DHfRigUOGTqC6-PCy1pnuePh3DAYLKACd3_kNGFfRd_E1jI_hmKn6Va-jOsNas-EXkU6YMF1m7jAm4HUU8zULY36Q\u0026h=P3pjmZgDhAyCMoTvSmBpVI8qtAZK-So2-nfRz7qVb7w" ], "Retry-After": [ "15" ], "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-request-id": [ "30f9516b-7955-44da-ae97-4acea90333cf" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/f83f3ee6-b80b-4463-b61b-14ccb8d90d71?api-version=2024-05-20-preview\u0026t=638623847531615672\u0026c=MIIHpTCCBo2gAwIBAgITfwN43MjEi0W8quEp-gAEA3jcyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwNjI0MTIwMzUxWhcNMjUwNjE5MTIwMzUxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALiUzQ72miF3S8xuwVdDASkfTayfNuL2xoGjIYUp6ggSGWwqcFLd9Wyqc3F6x8NaURchp8S0iOYM5xMdEBYAsj1xu3zzvdMwM4vUqHIbG6w3GEP4tj7-UIz-btgan_NW7rOEM9oubY9dUtfuCg-mayRYdWezidp70abA2mUEj9ioVQ0CKe9kIzMPn7WFnuLRExud0yMQzDsWTVbaC5Eb_4Hx6vT5bnnLDisXEEQMzG96dJaC9KQZ-tFvcDzGz6diIqaancayRsE-Q5tMUFT-HqewL96WS1vsLjZx9weQsiyqFubDmhMVRawaS26swEjXSSzVp-b3R4MYD-Oh7GkmiFECAwEAAaOCBJIwggSOMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mc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ms-routing-request-id": [ "EASTUS2:20240919T231913Z:095f550f-09fb-40e7-98dd-6682d3150cde" ], + "x-ms-request-id": [ "ea672d5e-11eb-4376-a1af-4c290888d91c" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/7252bf6a-bfc2-4575-a5fd-acf7522a7a0f?api-version=2024-07-10\u0026t=638639279988829560\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwMjMxMTQxWhcNMjUwMzE5MjMxMTQxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKRtcYDBXS7zz5tRtvVyhrUAjudYhej1E2D3dp6XWuPdbVMbQZwMlye8vdT-kDhFD7T2mrdWqsoGnTGk0_xOHBfLGnW-0QRUqpeoTNIhu8vc2CfTUtm2t2s_-fzvFtRyhDA4mfCH1cz92EVj0vd3FD4ikW6bdOp1NkYFqUVBhKlbvJk6y-TbLFBLP5Zx4m0Ua-_P7aMzbgvOJgMOTC2jLs5w_lFDJWeP3IKUOiJmrfLpf4ey5Ov94oCE6YncDBSHJZKWcrSxDHgSz9AXrxarL4HLajGbF3MRvfkMN2gNXCoiJXBEqCLDnyQZ0BgXIvuK7vG8Rj0TyhJNj-QPr8taY6UCAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtH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ZNFCIq4K0faV6SXSRNphW1Ywc" ], + "x-ms-correlation-request-id": [ "e2a29441-d8f1-4e45-ae9c-af689906a341" ], + "x-ms-routing-request-id": [ "EASTUS:20241007T195958Z:e2a29441-d8f1-4e45-ae9c-af689906a341" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 133D4BDB14D54DA5833823266939364C Ref B: MNZ221060619025 Ref C: 2024-09-19T23:19:12Z" ], - "Date": [ "Thu, 19 Sep 2024 23:19:12 GMT" ] + "X-MSEdge-Ref": [ "Ref A: E93A5B8E53E1443C8FE316C69B6B3616 Ref B: BL2AA2030104045 Ref C: 2024-10-07T19:59:58Z" ], + "Date": [ "Mon, 07 Oct 2024 19:59:58 GMT" ] }, "ContentHeaders": { "Content-Length": [ "112" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"f83f3ee6-b80b-4463-b61b-14ccb8d90d71\",\"status\":\"InProgress\",\"startTime\":\"2024-09-19T23:18:42.1753325Z\"}", + "Content": "{\"name\":\"7252bf6a-bfc2-4575-a5fd-acf7522a7a0f\",\"status\":\"InProgress\",\"startTime\":\"2024-10-07T19:59:28.3927782Z\"}", "isContentBase64": false } }, - "Update-AzConnectedMachineExtension+[NoContext]+Update+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/f83f3ee6-b80b-4463-b61b-14ccb8d90d71?api-version=2024-05-20-preview\u0026t=638623847531615672\u0026c=MIIHpTCCBo2gAwIBAgITfwN43MjEi0W8quEp-gAEA3jcyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwNjI0MTIwMzUxWhcNMjUwNjE5MTIwMz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BD3XhFnalnYK3EoU3yr5LEyfJCQqOCPvAt1AZ3bMR5moP6HXLcSlsDicH7R97FRrKO_6GywgIPDmt2Mm2VBO6p3qPCi2do79OCNlD3OpKaWuuuC6lnZB1ilSIi1w9vpGdji0ixc_dnfMVgL_z1lnM1nLDCsALgv8ghCQDVX4h_Net36CgZgv16gbE71947exvQNJZVVQfXQe0YRTktFsCJVlPmvV5d0KukZUDMAiH0oFJCto8W6ggMMy7u4JLzsLIxcJxrFMaGaz8\u0026s=AU9l_EjkT8T6ykjeCk2Qb5qaWDUT-8h2QRacTNFjpH-VetxwDQBjiggeGw9DPfCqiFaopoJIAk28H0yIA-LnYqT4QojGxzYr-eWm5OjNLDIc978CbhAYlh4PT-jzVk1COvL6tFdCDeG1MHythmuJ6gMyOThks4Y_7EAAzozs19Ep5h5hYoBLnOochW5zlokfemLQ4_x-ykq84MUZdeExfW8_6yaPLLpJSfxT8NqzpfLC4Cl2eSFyujyIWvsZ9VsYizfOH_FwvKxQmUGmMvNBmiGNpB_7-Ybve7HVIxfuOvguKdYle281YFcl_C7Cptd5pSUuB1BQ2R-PUvn4Zj0SNQ\u0026h=TJ9ryf16Vv3mXIr0dsmVRsGMwaY8ByKz4LdNzlLKU8M+4": { + "Update-AzConnectedMachineExtension+[NoContext]+Update+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/7252bf6a-bfc2-4575-a5fd-acf7522a7a0f?api-version=2024-07-10\u0026t=638639279988829560\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwMjMxMTQxWhcNMjUwMzE5MjMxMTQxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJ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JrrfRbmYroF0WJKMJ0nwW2rPjxdevSRygGK_nEfywwFi-p1RhHnkiEGL4GnP7PpQcRvAYMdH9LO5MRY7iLbBmosKatS_eWtSJD1CvzglNwy_vQzx81Vnk0CgndqXcVq-loGu7R4U7mkQ2NNqLbp447STxkpP-6Mdyv8J4bdnf1s3vFBNpgvJWKogWcNLlo8jnkbEf6RPNGe1W5lma7JwMKAcPzY\u0026s=G9Qxqe5AtivujkfVssDnjpwIQke2zAugyukoSZ4mHBH85D0zQcGlxecllz4ac6ZALqSWZd2MlPop_ycSj27CD_NIlMh5o6xiuX-doEW565cBprfooHDaBzPrLMiFR_PwL9UBXXKleb9dZL-rEiciwOSFW5TXM0XPjpZtF4Xk1a5jglhFeof7T60lBgIdT2QJSm3tD-04kvKagueSHRmIYQ9N0jhNzaxzQfGh1vPtbPxYqA2zrNOPb6VZALuatRW1QUG3iiIhxVMiP91oHo8xmnEVuuuqkoXidsrsbRAFM8m94lFGRXiG6QsUFwSoSohhwj4ON0dmwKoUPgxiR_IWsQ\u0026h=pVBwdSxy_ayKRoZPjGZNFCIq4K0faV6SXSRNphW1Ywc+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/f83f3ee6-b80b-4463-b61b-14ccb8d90d71?api-version=2024-05-20-preview\u0026t=638623847531615672\u0026c=MIIHpTCCBo2gAwIBAgITfwN43MjEi0W8quEp-gAEA3jcyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwNjI0MTIwMzUxWhcNMjUwNjE5MTIwMzUxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvb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OCNlD3OpKaWuuuC6lnZB1ilSIi1w9vpGdji0ixc_dnfMVgL_z1lnM1nLDCsALgv8ghCQDVX4h_Net36CgZgv16gbE71947exvQNJZVVQfXQe0YRTktFsCJVlPmvV5d0KukZUDMAiH0oFJCto8W6ggMMy7u4JLzsLIxcJxrFMaGaz8\u0026s=AU9l_EjkT8T6ykjeCk2Qb5qaWDUT-8h2QRacTNFjpH-VetxwDQBjiggeGw9DPfCqiFaopoJIAk28H0yIA-LnYqT4QojGxzYr-eWm5OjNLDIc978CbhAYlh4PT-jzVk1COvL6tFdCDeG1MHythmuJ6gMyOThks4Y_7EAAzozs19Ep5h5hYoBLnOochW5zlokfemLQ4_x-ykq84MUZdeExfW8_6yaPLLpJSfxT8NqzpfLC4Cl2eSFyujyIWvsZ9VsYizfOH_FwvKxQmUGmMvNBmiGNpB_7-Ybve7HVIxfuOvguKdYle281YFcl_C7Cptd5pSUuB1BQ2R-PUvn4Zj0SNQ\u0026h=TJ9ryf16Vv3mXIr0dsmVRsGMwaY8ByKz4LdNzlLKU8M", + "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/7252bf6a-bfc2-4575-a5fd-acf7522a7a0f?api-version=2024-07-10\u0026t=638639279988829560\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwMjMxMTQxWhcNMjUwMzE5MjMxMTQxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKRtcYDBXS7zz5tRtvV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cVq-loGu7R4U7mkQ2NNqLbp447STxkpP-6Mdyv8J4bdnf1s3vFBNpgvJWKogWcNLlo8jnkbEf6RPNGe1W5lma7JwMKAcPzY\u0026s=G9Qxqe5AtivujkfVssDnjpwIQke2zAugyukoSZ4mHBH85D0zQcGlxecllz4ac6ZALqSWZd2MlPop_ycSj27CD_NIlMh5o6xiuX-doEW565cBprfooHDaBzPrLMiFR_PwL9UBXXKleb9dZL-rEiciwOSFW5TXM0XPjpZtF4Xk1a5jglhFeof7T60lBgIdT2QJSm3tD-04kvKagueSHRmIYQ9N0jhNzaxzQfGh1vPtbPxYqA2zrNOPb6VZALuatRW1QUG3iiIhxVMiP91oHo8xmnEVuuuqkoXidsrsbRAFM8m94lFGRXiG6QsUFwSoSohhwj4ON0dmwKoUPgxiR_IWsQ\u0026h=pVBwdSxy_ayKRoZPjGZNFCIq4K0faV6SXSRNphW1Ywc", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "9" ], - "x-ms-client-request-id": [ "5e7748ab-25af-47f2-b890-2fc17b44b42d" ], + "x-ms-unique-id": [ "22" ], + "x-ms-client-request-id": [ "23376203-420d-4a65-8199-feae77be5148" ], "CommandName": [ "Update-AzConnectedMachineExtension" ], "FullCommandName": [ "Update-AzConnectedMachineExtension_UpdateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.5.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.1.0" ] }, "ContentHeaders": { } @@ -152,42 +152,42 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationresults/f83f3ee6-b80b-4463-b61b-14ccb8d90d71?api-version=2024-05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ADMAMwBkMAwGCisGAQQBgjd7AwEwDAYKKwYBBAGCN3sEATAfBgNVHSMEGDAWgBSuecJrXSWIEwb2BwnDl3x7l48dVTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADbkVmxlTl8VUMrDJBuRWlmxRWKlxGiR-kZINt99ksV65ZBhsigLjAZYo4HpzQydRwwPVGUebtBD3XhFnalnYK3EoU3yr5LEyfJCQqOCPvAt1AZ3bMR5moP6HXLcSlsDicH7R97FRrKO_6GywgIPDmt2Mm2VBO6p3qPCi2do79OCNlD3OpKaWuuuC6lnZB1ilSIi1w9vpGdji0ixc_dnfMVgL_z1lnM1nLDCsALgv8ghCQDVX4h_Net36CgZgv16gbE71947exvQNJZVVQfXQe0YRTktFsCJVlPmvV5d0KukZUDMAiH0oFJCto8W6ggMMy7u4JLzsLIxcJxrFMaGaz8\u0026s=CKxcdDeZxyZOd2KHo23jvMV9UI1PWoLWQA0uc0G7EkD36JrKWNUVy-EPpjVLkzeEqEM4r9jrGOwapSuA0_5cV0-1rBHdjFTg4C0AxuHOlPj7r2gZzn__9T5fIdw4G99BEehdYca6fdRErHUyrnyqvYjq0WOshLbYVjf5Nyigo2jMa4w5O3ZPCatCFNvgPt25x1-zGln3ThVGlm8HQcV3Ss_PdNgtbbY_5bp-2r-p7LHuLfMyaNvKylPoSwWjMI-1U5eKN3Km5gAMYAPBV7opNCsBWDqFBBb223avtXYyAksQZXExwOzkm5w42ZYvTH5HkD6QxfSGY45sfdGpGkIFCg\u0026h=FJC-NYLj8ICqgP0eEra22XGHjq27gD1sxHYPTvf4U1Q" ], + "Location": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationresults/7252bf6a-bfc2-4575-a5fd-acf7522a7a0f?api-version=2024-07-10\u0026t=638639280141952029\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAAB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m-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAG0WbzLPsmSSMI7aTe2npixmkdCmwcdZHGd43tUnB8JKrLNJEFcBsQmbcIH0adpnQNrDgRkNBBOTZ4s1LIBlRQapZpPsRItAMUguVpGVRH08T0i43w9xrp_clNbAJrrfRbmYroF0WJKMJ0nwW2rPjxdevSRygGK_nEfywwFi-p1RhHnkiEGL4GnP7PpQcRvAYMdH9LO5MRY7iLbBmosKatS_eWtSJD1CvzglNwy_vQzx81Vnk0CgndqXcVq-loGu7R4U7mkQ2NNqLbp447STxkpP-6Mdyv8J4bdnf1s3vFBNpgvJWKogWcNLlo8jnkbEf6RPNGe1W5lma7JwMKAcPzY\u0026s=aHVENLALrrYJxOWdISgEPxkueSyiPOKksLRa1PkaistBGdt-f7VpZ7fUM6cP-_HJhEUhBBUgWq7aCg8zThqyYHWttuaVBwSdwoLiUWl7sLtAPSb-L_kBKDH4lY4MuJzPaC0cIrX3MNfanBna-vqGsvZYB0yQ-WHOKpGLGij5mEiciIleoOvt5IdRu7KBJdG2hXpB5nuYWklUlVzM6xONDvPhXsmTKbw7IpWnFEHHZzZuc-IaBeHESIx0Wcvd6i4nGFnhle4D9EOehSBTJePDqxLeFg-XJuImQYOvzFPvDtNqtCwgL-l-6JrgeW3d45cSxPXtKpdMnLF93j5OU5y3gg\u0026h=y5b1go6R_8XDyFO3cQYQIQQNbhEbx75KzvuT1p9b_z4" ], "Retry-After": [ "15" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-request-id": [ "9ae59827-3ecd-4626-bde5-f5b2dd782596" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/f83f3ee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QAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwEwDAYKKwYBBAGCN3sEATAfBgNVHSMEGDAWgBSuecJrXSWIEwb2BwnDl3x7l48dVTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADbkVmxlTl8VUMrDJBuRWlmxRWKlxGiR-kZINt99ksV65ZBhsigLjAZYo4HpzQydRwwPVGUebtBD3XhFnalnYK3EoU3yr5LEyfJCQqOCPvAt1AZ3bMR5moP6HXLcSlsDicH7R97FRrKO_6GywgIPDmt2Mm2VBO6p3qPCi2do79OCNlD3OpKaWuuuC6lnZB1ilSIi1w9vpGdji0ixc_dnfMVgL_z1lnM1nLDCsALgv8ghCQDVX4h_Net36CgZgv16gbE71947exvQNJZVVQfXQe0YRTktFsCJVlPmvV5d0KukZUDMAiH0oFJCto8W6ggMMy7u4JLzsLIxcJxrFMaGaz8\u0026s=XWcPvtTavcEXzzCW9A0NwaqLiecGjxFbMAuCC_jqzsrIwf68-yGT2M9DqpHOUYQavuPql3yM2JkQaiYYng10S2V3_la43E7GAeDwmrvuXszKf-Zdcx6satLAnyfddikvkd5hHlTHaC9vxNLs9DLCN_q4JjmpGT5eo-lIaDX1p50CO5WbtE5LxCMioKNPVCI0UblpjJk2ibKcFIw5S8QYO4GAiiW7svKxdTMEHQ70_1VPzexByuCS4QPc-XoUuJx7m2YM-7BGasBjWkGs-PJm-GLHx57WZ_NPkhEUgq7uRSkoX6sxEH-BmcZj75wEFjAQTnSXG4FfIQEOqik0FKQYYg\u0026h=OWJkRalqz1yVVdE9z5a6s6tf_lksvCK5sNhIzMCOQWo" ], - "x-ms-correlation-request-id": [ "567287f5-5608-44c3-b275-84e6da4b5f5a" ], - "x-ms-routing-request-id": [ "EASTUS2:20240919T231928Z:567287f5-5608-44c3-b275-84e6da4b5f5a" ], + "x-ms-request-id": [ "4a356b44-dd58-4aa2-8491-a231bc392419" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/7252bf6a-bfc2-4575-a5fd-acf7522a7a0f?api-version=2024-07-10\u0026t=638639280141952029\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwMjMxMTQxWhcNMjUwMzE5MjMxMTQxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKRtcYDBXS7zz5tRtvVyhrUAjudYhej1E2D3dp6XWuPdbVMbQZwMlye8vdT-kDhFD7T2mrdWqsoGnTGk0_xOHBfLGnW-0QRUqpeoTNIhu8vc2CfTUtm2t2s_-fzvFtRyhDA4mfCH1cz92EVj0vd3FD4ikW6bdOp1NkYFqUVBhKlbvJk6y-TbLFBLP5Zx4m0Ua-_P7aMzbgvOJgMOTC2jLs5w_lFDJWeP3IKUOiJmrfLpf4ey5Ov94oCE6YncDBSHJZKWcrSxDHgSz9AXrxarL4HLajGbF3MRvfkMN2gNXCoiJXBEqCLDnyQZ0BgXIvuK7vG8Rj0TyhJNj-QPr8taY6UCAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3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ewICMFgwVgYIKwYBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwEwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAG0WbzLPsmSSMI7aTe2npixmkdCmwcdZHGd43tUnB8JKrLNJEFcBsQmbcIH0adpnQNrDgRkNBBOTZ4s1LIBlRQapZpPsRItAMUguVpGVRH08T0i43w9xrp_clNbAJrrfRbmYroF0WJKMJ0nwW2rPjxdevSRygGK_nEfywwFi-p1RhHnkiEGL4GnP7PpQcRvAYMdH9LO5MRY7iLbBmosKatS_eWtSJD1CvzglNwy_vQzx81Vnk0CgndqXcVq-loGu7R4U7mkQ2NNqLbp447STxkpP-6Mdyv8J4bdnf1s3vFBNpgvJWKogWcNLlo8jnkbEf6RPNGe1W5lma7JwMKAcPzY\u0026s=LvluBJQmSc7xwcBjck0eHDOs7i4GRSB7US01RridpqHtWQeAi9C8pJESd_kij16g6R1wGfDp4x7ECkK-vmOEMydtrXUCDKat8uKxZvAnlPl9_zwezRMWEOv8y-5rThyv9W8CnONxtJhpyjUth7Dk0leH-7P7IjbxdFxZjFxWZKNUErPrCFwMGmUkNiGa7bYsIJynn5O8B2qTqPXZ2C-m8JDMie_FKs3aeOykqcSUegk4uEt2xWzX9P4l4xALXRR6qe9TmpOpF8ijJon2prnAdHqMwQNcx8PvRtUQ5aoQIBW2fqjGsNu03PYBaHD_eDifikjNN4rjgBAv_wzbKDqt6A\u0026h=a3bua74-cHRVzNG7eNIwe2IZjaYuilg6amIiuKD5h5s" ], + "x-ms-correlation-request-id": [ "2e37f417-83a8-4c91-b9fe-c1e69e13d940" ], + "x-ms-routing-request-id": [ "EASTUS:20241007T200014Z:2e37f417-83a8-4c91-b9fe-c1e69e13d940" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 95B6714531F54FCA8BB0AD191502163C Ref B: MNZ221060619025 Ref C: 2024-09-19T23:19:28Z" ], - "Date": [ "Thu, 19 Sep 2024 23:19:28 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 03C32725BF1843C48E05A1337020DC9E Ref B: BL2AA2030104045 Ref C: 2024-10-07T20:00:14Z" ], + "Date": [ "Mon, 07 Oct 2024 20:00:13 GMT" ] }, "ContentHeaders": { "Content-Length": [ "112" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"f83f3ee6-b80b-4463-b61b-14ccb8d90d71\",\"status\":\"InProgress\",\"startTime\":\"2024-09-19T23:18:42.1753325Z\"}", + "Content": "{\"name\":\"7252bf6a-bfc2-4575-a5fd-acf7522a7a0f\",\"status\":\"InProgress\",\"startTime\":\"2024-10-07T19:59:28.3927782Z\"}", "isContentBase64": false } }, - "Update-AzConnectedMachineExtension+[NoContext]+Update+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/f83f3ee6-b80b-4463-b61b-14ccb8d90d71?api-version=2024-05-20-preview\u0026t=638623847685920925\u0026c=MIIHpTCCBo2gAwIBAgITfwN43MjEi0W8quEp-gAEA3jcyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwNjI0MTIwMzUxWhcNMjUwNjE5MTIwMzUxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwD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pKaWuuuC6lnZB1ilSIi1w9vpGdji0ixc_dnfMVgL_z1lnM1nLDCsALgv8ghCQDVX4h_Net36CgZgv16gbE71947exvQNJZVVQfXQe0YRTktFsCJVlPmvV5d0KukZUDMAiH0oFJCto8W6ggMMy7u4JLzsLIxcJxrFMaGaz8\u0026s=XWcPvtTavcEXzzCW9A0NwaqLiecGjxFbMAuCC_jqzsrIwf68-yGT2M9DqpHOUYQavuPql3yM2JkQaiYYng10S2V3_la43E7GAeDwmrvuXszKf-Zdcx6satLAnyfddikvkd5hHlTHaC9vxNLs9DLCN_q4JjmpGT5eo-lIaDX1p50CO5WbtE5LxCMioKNPVCI0UblpjJk2ibKcFIw5S8QYO4GAiiW7svKxdTMEHQ70_1VPzexByuCS4QPc-XoUuJx7m2YM-7BGasBjWkGs-PJm-GLHx57WZ_NPkhEUgq7uRSkoX6sxEH-BmcZj75wEFjAQTnSXG4FfIQEOqik0FKQYYg\u0026h=OWJkRalqz1yVVdE9z5a6s6tf_lksvCK5sNhIzMCOQWo+5": { + "Update-AzConnectedMachineExtension+[NoContext]+Update+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/7252bf6a-bfc2-4575-a5fd-acf7522a7a0f?api-version=2024-07-10\u0026t=638639280141952029\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwMjMxMTQxWhcNMjUwMzE5MjMxMTQxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKRtcYDB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81Vnk0CgndqXcVq-loGu7R4U7mkQ2NNqLbp447STxkpP-6Mdyv8J4bdnf1s3vFBNpgvJWKogWcNLlo8jnkbEf6RPNGe1W5lma7JwMKAcPzY\u0026s=LvluBJQmSc7xwcBjck0eHDOs7i4GRSB7US01RridpqHtWQeAi9C8pJESd_kij16g6R1wGfDp4x7ECkK-vmOEMydtrXUCDKat8uKxZvAnlPl9_zwezRMWEOv8y-5rThyv9W8CnONxtJhpyjUth7Dk0leH-7P7IjbxdFxZjFxWZKNUErPrCFwMGmUkNiGa7bYsIJynn5O8B2qTqPXZ2C-m8JDMie_FKs3aeOykqcSUegk4uEt2xWzX9P4l4xALXRR6qe9TmpOpF8ijJon2prnAdHqMwQNcx8PvRtUQ5aoQIBW2fqjGsNu03PYBaHD_eDifikjNN4rjgBAv_wzbKDqt6A\u0026h=a3bua74-cHRVzNG7eNIwe2IZjaYuilg6amIiuKD5h5s+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/f83f3ee6-b80b-4463-b61b-14ccb8d90d71?api-version=2024-05-20-preview\u0026t=638623847685920925\u0026c=MIIHpTCCBo2gAwIBAgITfwN43MjEi0W8quEp-gAEA3jcyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwNjI0MTIwMzUxWhcNMjUwNjE5MTIwMzUxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALiUzQ72miF3S8xuwVdDASkfTayfNuL2xoGjIYUp6ggSGWwqcFLd9Wyqc3F6x8NaURchp8S0iOY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VlPmvV5d0KukZUDMAiH0oFJCto8W6ggMMy7u4JLzsLIxcJxrFMaGaz8\u0026s=XWcPvtTavcEXzzCW9A0NwaqLiecGjxFbMAuCC_jqzsrIwf68-yGT2M9DqpHOUYQavuPql3yM2JkQaiYYng10S2V3_la43E7GAeDwmrvuXszKf-Zdcx6satLAnyfddikvkd5hHlTHaC9vxNLs9DLCN_q4JjmpGT5eo-lIaDX1p50CO5WbtE5LxCMioKNPVCI0UblpjJk2ibKcFIw5S8QYO4GAiiW7svKxdTMEHQ70_1VPzexByuCS4QPc-XoUuJx7m2YM-7BGasBjWkGs-PJm-GLHx57WZ_NPkhEUgq7uRSkoX6sxEH-BmcZj75wEFjAQTnSXG4FfIQEOqik0FKQYYg\u0026h=OWJkRalqz1yVVdE9z5a6s6tf_lksvCK5sNhIzMCOQWo", + "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/7252bf6a-bfc2-4575-a5fd-acf7522a7a0f?api-version=2024-07-10\u0026t=638639280141952029\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwMjMxMTQxWhcNMjUwMzE5MjMxMTQxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKRtcYDBXS7zz5tRtvVyhrUAjudYhej1E2D3dp6XWuPdbVMbQZwMlye8vdT-kDhFD7T2mrdWqsoGnTGk0_xOHBfLGnW-0QRUqpeoTNIhu8vc2CfTUtm2t2s_-fzvFtRyhDA4mfCH1c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DOs7i4GRSB7US01RridpqHtWQeAi9C8pJESd_kij16g6R1wGfDp4x7ECkK-vmOEMydtrXUCDKat8uKxZvAnlPl9_zwezRMWEOv8y-5rThyv9W8CnONxtJhpyjUth7Dk0leH-7P7IjbxdFxZjFxWZKNUErPrCFwMGmUkNiGa7bYsIJynn5O8B2qTqPXZ2C-m8JDMie_FKs3aeOykqcSUegk4uEt2xWzX9P4l4xALXRR6qe9TmpOpF8ijJon2prnAdHqMwQNcx8PvRtUQ5aoQIBW2fqjGsNu03PYBaHD_eDifikjNN4rjgBAv_wzbKDqt6A\u0026h=a3bua74-cHRVzNG7eNIwe2IZjaYuilg6amIiuKD5h5s", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "10" ], - "x-ms-client-request-id": [ "5e7748ab-25af-47f2-b890-2fc17b44b42d" ], + "x-ms-unique-id": [ "23" ], + "x-ms-client-request-id": [ "23376203-420d-4a65-8199-feae77be5148" ], "CommandName": [ "Update-AzConnectedMachineExtension" ], "FullCommandName": [ "Update-AzConnectedMachineExtension_UpdateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.5.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.1.0" ] }, "ContentHeaders": { } @@ -197,42 +197,42 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationresults/f83f3ee6-b80b-4463-b61b-14ccb8d90d71?api-version=2024-05-20-preview\u0026t=638623847840690492\u0026c=MIIHpTCCBo2gAwIBAgITfwN43MjEi0W8quEp-gAEA3jcyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwE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BQUHAwIwDQYJKoZIhvcNAQELBQADggEBADbkVmxlTl8VUMrDJBuRWlmxRWKlxGiR-kZINt99ksV65ZBhsigLjAZYo4HpzQydRwwPVGUebtBD3XhFnalnYK3EoU3yr5LEyfJCQqOCPvAt1AZ3bMR5moP6HXLcSlsDicH7R97FRrKO_6GywgIPDmt2Mm2VBO6p3qPCi2do79OCNlD3OpKaWuuuC6lnZB1ilSIi1w9vpGdji0ixc_dnfMVgL_z1lnM1nLDCsALgv8ghCQDVX4h_Net36CgZgv16gbE71947exvQNJZVVQfXQe0YRTktFsCJVlPmvV5d0KukZUDMAiH0oFJCto8W6ggMMy7u4JLzsLIxcJxrFMaGaz8\u0026s=JBwtMLdE3uMnxusiQ-am3jKRHJaPnID4q74-6AnNBjLEVvlToZdKRVojDUd-s-Gs5p9uV9R7w1DHHJFIjVxJpjZYdV3zYAlVYTfHw1bWSzK8oNq-tGYMSVCbggl9qvzBE5tX6cUrxevSicfSUb1_dK_O5SmaFLYYlEDnkt9eszITpfQHMiMvCwfyifOiME0qlSoBbUWxSHdwNVSf0n_zFZN9hOsEEZKYADZvMN-O4W_QEFWgRHy3ICcQkGOzVMfTKtWfAauWd5bZ31mg5jiO5RbFdBKa8o3uSNl7vHdEMHDbDwFuNezkgR_WkAPaAKtU-eaNdRRlQNnsLsx3NmR6mg\u0026h=MbPRIgpUe2VFcJlBFOyDT-XxjsWueEAdYKEbeO-Dc5s" ], + "Location": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationresults/7252bf6a-bfc2-4575-a5fd-acf7522a7a0f?api-version=2024-07-10\u0026t=638639280294866337\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0Eg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LNJEFcBsQmbcIH0adpnQNrDgRkNBBOTZ4s1LIBlRQapZpPsRItAMUguVpGVRH08T0i43w9xrp_clNbAJrrfRbmYroF0WJKMJ0nwW2rPjxdevSRygGK_nEfywwFi-p1RhHnkiEGL4GnP7PpQcRvAYMdH9LO5MRY7iLbBmosKatS_eWtSJD1CvzglNwy_vQzx81Vnk0CgndqXcVq-loGu7R4U7mkQ2NNqLbp447STxkpP-6Mdyv8J4bdnf1s3vFBNpgvJWKogWcNLlo8jnkbEf6RPNGe1W5lma7JwMKAcPzY\u0026s=Qa3ReI0lSype_LoqZJy3hB7JnfPXcQZvIlrFwH-h3r7TU_03BjYyPub1I_by7fALglEMuTQn8jXXuPq321xSEs7BXc5pG3K6zejV_KQ_5CxGh4qoCRUfqyw_Yx7GeTCLPNyG3Zm4w-tMgM1rsp2wpeGUUfksUkVHJmTQiIH6T0yWDeEPfdL70TsIL3yIhGGOYgRKk4en_kBjuKQwaeprvRYxFuHueisSmqvGmXar01gQCvdwr7CCCYf-50SX02EIrSCqdJg3bcmeAF6eC3Gx8HAy8ByF-JXr70_dEgws8IcmJ7ruhKZioebIa4ncC9tCZN_mpPQXIByzozd5ClhoKA\u0026h=Ama4Ayc-5yGtQuLbgKVDlq0aqR4mmdlmvcTn_ekWkUs" ], "Retry-After": [ "15" ], "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-request-id": [ "05df10dc-975e-41e8-a547-9d1419671881" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/f83f3ee6-b80b-4463-b61b-14ccb8d90d71?api-version=2024-05-20-preview\u0026t=638623847840534228\u0026c=MIIHpTCCBo2gAwIBAgITfwN43MjEi0W8quEp-gAEA3jcyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMR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wYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADbkVmxlTl8VUMrDJBuRWlmxRWKlxGiR-kZINt99ksV65ZBhsigLjAZYo4HpzQydRwwPVGUebtBD3XhFnalnYK3EoU3yr5LEyfJCQqOCPvAt1AZ3bMR5moP6HXLcSlsDicH7R97FRrKO_6GywgIPDmt2Mm2VBO6p3qPCi2do79OCNlD3OpKaWuuuC6lnZB1ilSIi1w9vpGdji0ixc_dnfMVgL_z1lnM1nLDCsALgv8ghCQDVX4h_Net36CgZgv16gbE71947exvQNJZVVQfXQe0YRTktFsCJVlPmvV5d0KukZUDMAiH0oFJCto8W6ggMMy7u4JLzsLIxcJxrFMaGaz8\u0026s=FhyAe0J3RYcHZizKSbiHC9TWi3jEKbZWmeNnVohiuxs7qlgYxp1T4bHzUXlAPU326lTq4OK9yougTRhBro35ZpsVMI5YyNYDnLrEunyJl_BaFjAl8Gh31PBecB7GRY-hcpO6rf3LSpMJb4u83Xcp1XQ0fyLUBr_FBxSB_zXaN2OCKJBSEV1JKSgtayqREbWW8-OIA7J2Rd5jyjADhc1eD006AMZuaUq1PSbyIkzcWQUyKuBOPmgsxSxJyHNQn6kE287UBUbZCZRf2dw2H084cifv1iRdeNVKZSuAUWDVX73Xk_HVcH7N70iakplptsGSewu62OKOP_d1KbpWqZJgNA\u0026h=4Td6xPXwHBAO9FQHM3JJOiDKgVWy_EugPcH2b7rHZcw" ], - "x-ms-correlation-request-id": [ "87346348-8ee2-4b3c-ba2d-c8a14f13ec93" ], - "x-ms-routing-request-id": [ "EASTUS2:20240919T231944Z:87346348-8ee2-4b3c-ba2d-c8a14f13ec93" ], + "x-ms-request-id": [ "4fb81794-6eaf-4a9a-a994-e946295bc0cb" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/7252bf6a-bfc2-4575-a5fd-acf7522a7a0f?api-version=2024-07-10\u0026t=638639280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wYBBAGCN3sEAjAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAG0WbzLPsmSSMI7aTe2npixmkdCmwcdZHGd43tUnB8JKrLNJEFcBsQmbcIH0adpnQNrDgRkNBBOTZ4s1LIBlRQapZpPsRItAMUguVpGVRH08T0i43w9xrp_clNbAJrrfRbmYroF0WJKMJ0nwW2rPjxdevSRygGK_nEfywwFi-p1RhHnkiEGL4GnP7PpQcRvAYMdH9LO5MRY7iLbBmosKatS_eWtSJD1CvzglNwy_vQzx81Vnk0CgndqXcVq-loGu7R4U7mkQ2NNqLbp447STxkpP-6Mdyv8J4bdnf1s3vFBNpgvJWKogWcNLlo8jnkbEf6RPNGe1W5lma7JwMKAcPzY\u0026s=mIhIXtjaokXvqVt5qi4aIlmvuLlY3c2HjWJU5QjOamZliifzA_Nnko18RVcg6lwjrwC52tIbGtpHj5xadgPJ0bFgWrJlqVp0cH4esQx5fPQ2ul-QJ4R_RC01EqBpZ0DqBMkJXAhJGwTlLyuhPaViNC4oSTiqsW6hU6T4kbRZCO8kXLSjHznVFCPUQw4GBSnbH1HqIps0VyTqq89qNhzO-82-tESFobkmAwv7Khm5Azv9RXjj6Irjhb-Smgkvj25A14UhwkQ5r3GF8mzmckjlmjlthvyMswq501JXzt46b7LoNPKlnxfR2yIHkuMT4iv7TJqU-20j44wO7lPWY7C0oA\u0026h=3anX1CoR4pNaNZMRypDkVRqmug1j6dkfJfJgBIQbiKM" ], + "x-ms-correlation-request-id": [ "81a1ce22-442d-4ccc-8c35-8b90f280ca22" ], + "x-ms-routing-request-id": [ "EASTUS:20241007T200029Z:81a1ce22-442d-4ccc-8c35-8b90f280ca22" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 76C503F45FEA416289658896EC0F7952 Ref B: MNZ221060619025 Ref C: 2024-09-19T23:19:43Z" ], - "Date": [ "Thu, 19 Sep 2024 23:19:43 GMT" ] + "X-MSEdge-Ref": [ "Ref A: B8DA65FBAB0043EE85F1B527B14BFA02 Ref B: BL2AA2030104045 Ref C: 2024-10-07T20:00:29Z" ], + "Date": [ "Mon, 07 Oct 2024 20:00:28 GMT" ] }, "ContentHeaders": { "Content-Length": [ "112" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"f83f3ee6-b80b-4463-b61b-14ccb8d90d71\",\"status\":\"InProgress\",\"startTime\":\"2024-09-19T23:18:42.1753325Z\"}", + "Content": "{\"name\":\"7252bf6a-bfc2-4575-a5fd-acf7522a7a0f\",\"status\":\"InProgress\",\"startTime\":\"2024-10-07T19:59:28.3927782Z\"}", "isContentBase64": false } }, - "Update-AzConnectedMachineExtension+[NoContext]+Update+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/f83f3ee6-b80b-4463-b61b-14ccb8d90d71?api-version=2024-05-20-preview\u0026t=638623847840534228\u0026c=MIIHpTCCBo2gAwIBAgITfwN43MjEi0W8quEp-gAEA3jcyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwNjI0MTIwMzUxWhcNMjUwNjE5MTIwMzUxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALiUzQ72miF3S8xuwVdDASkfTayfNuL2xoGjIYUp6ggSGWwqcFLd9Wyqc3F6x8NaURchp8S0iOYM5xMdEBYAsj1xu3zzvdMwM4vUqHIb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MMy7u4JLzsLIxcJxrFMaGaz8\u0026s=FhyAe0J3RYcHZizKSbiHC9TWi3jEKbZWmeNnVohiuxs7qlgYxp1T4bHzUXlAPU326lTq4OK9yougTRhBro35ZpsVMI5YyNYDnLrEunyJl_BaFjAl8Gh31PBecB7GRY-hcpO6rf3LSpMJb4u83Xcp1XQ0fyLUBr_FBxSB_zXaN2OCKJBSEV1JKSgtayqREbWW8-OIA7J2Rd5jyjADhc1eD006AMZuaUq1PSbyIkzcWQUyKuBOPmgsxSxJyHNQn6kE287UBUbZCZRf2dw2H084cifv1iRdeNVKZSuAUWDVX73Xk_HVcH7N70iakplptsGSewu62OKOP_d1KbpWqZJgNA\u0026h=4Td6xPXwHBAO9FQHM3JJOiDKgVWy_EugPcH2b7rHZcw+6": { + "Update-AzConnectedMachineExtension+[NoContext]+Update+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/7252bf6a-bfc2-4575-a5fd-acf7522a7a0f?api-version=2024-07-10\u0026t=638639280294709998\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwMjMxMTQxWhcNMjUwMzE5MjMxMTQxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKRtcYDBXS7zz5tRtvVyhrUAjudYhej1E2D3dp6XWuPdbVMbQZwMlye8vdT-kDhFD7T2mrdWqsoGnTGk0_xOHBfLGnW-0QRUqpeoTNIhu8vc2CfTUtm2t2s_-fzvFtRyhDA4mfCH1cz92E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vuLlY3c2HjWJU5QjOamZliifzA_Nnko18RVcg6lwjrwC52tIbGtpHj5xadgPJ0bFgWrJlqVp0cH4esQx5fPQ2ul-QJ4R_RC01EqBpZ0DqBMkJXAhJGwTlLyuhPaViNC4oSTiqsW6hU6T4kbRZCO8kXLSjHznVFCPUQw4GBSnbH1HqIps0VyTqq89qNhzO-82-tESFobkmAwv7Khm5Azv9RXjj6Irjhb-Smgkvj25A14UhwkQ5r3GF8mzmckjlmjlthvyMswq501JXzt46b7LoNPKlnxfR2yIHkuMT4iv7TJqU-20j44wO7lPWY7C0oA\u0026h=3anX1CoR4pNaNZMRypDkVRqmug1j6dkfJfJgBIQbiKM+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/f83f3ee6-b80b-4463-b61b-14ccb8d90d71?api-version=2024-05-20-preview\u0026t=638623847840534228\u0026c=MIIHpTCCBo2gAwIBAgITfwN43MjEi0W8quEp-gAEA3jcyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwNjI0MTIwMzUxWhcNMjUwNjE5MTIwMzUxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALiUzQ72miF3S8xuwVdDASkfTayfNuL2xoGjIYUp6ggSGWwqcFLd9Wyqc3F6x8NaURchp8S0iOYM5xMdEBYAsj1xu3zzvdMwM4vUqHIbG6w3GEP4tj7-UIz-btgan_NW7rOEM9oubY9dUtfuCg-mayRYdWezidp70abA2mUEj9ioVQ0CKe9kIzMPn7WFnuLRExud0yMQzDsWTVbaC5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9yougTRhBro35ZpsVMI5YyNYDnLrEunyJl_BaFjAl8Gh31PBecB7GRY-hcpO6rf3LSpMJb4u83Xcp1XQ0fyLUBr_FBxSB_zXaN2OCKJBSEV1JKSgtayqREbWW8-OIA7J2Rd5jyjADhc1eD006AMZuaUq1PSbyIkzcWQUyKuBOPmgsxSxJyHNQn6kE287UBUbZCZRf2dw2H084cifv1iRdeNVKZSuAUWDVX73Xk_HVcH7N70iakplptsGSewu62OKOP_d1KbpWqZJgNA\u0026h=4Td6xPXwHBAO9FQHM3JJOiDKgVWy_EugPcH2b7rHZcw", + "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/7252bf6a-bfc2-4575-a5fd-acf7522a7a0f?api-version=2024-07-10\u0026t=638639280294709998\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwMjMxMTQxWhcNMjUwMzE5MjMxMTQxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKRtcYDBXS7zz5tRtvVyhrUAjudYhej1E2D3dp6XWuPdbVMbQZwMlye8vdT-kDhFD7T2mrdWqsoGnTGk0_xOHBfLGnW-0QRUqpeoTNIhu8vc2CfTUtm2t2s_-fzvFtRyhDA4mfCH1cz92EVj0vd3FD4ikW6bdOp1NkYFqUVBhKlbvJk6y-TbLFBLP5Zx4m0Ua-_P7aMzbgvOJgMOTC2jLs5w_lFDJWeP3IKUOiJmrfLpf4ey5Ov94oCE6YncDBSHJZKWcrSx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oSTiqsW6hU6T4kbRZCO8kXLSjHznVFCPUQw4GBSnbH1HqIps0VyTqq89qNhzO-82-tESFobkmAwv7Khm5Azv9RXjj6Irjhb-Smgkvj25A14UhwkQ5r3GF8mzmckjlmjlthvyMswq501JXzt46b7LoNPKlnxfR2yIHkuMT4iv7TJqU-20j44wO7lPWY7C0oA\u0026h=3anX1CoR4pNaNZMRypDkVRqmug1j6dkfJfJgBIQbiKM", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "11" ], - "x-ms-client-request-id": [ "5e7748ab-25af-47f2-b890-2fc17b44b42d" ], + "x-ms-unique-id": [ "24" ], + "x-ms-client-request-id": [ "23376203-420d-4a65-8199-feae77be5148" ], "CommandName": [ "Update-AzConnectedMachineExtension" ], "FullCommandName": [ "Update-AzConnectedMachineExtension_UpdateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.5.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.1.0" ] }, "ContentHeaders": { } @@ -242,42 +242,42 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationresults/f83f3ee6-b80b-4463-b61b-14ccb8d90d71?api-version=2024-05-20-preview\u0026t=638623847995897327\u0026c=MIIHpTCCBo2gAwIBAgITfwN43MjEi0W8quEp-gAEA3jcyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwNjI0MTIwMzUxWhcNMjUwNjE5MTIwMzUxWjBAMT4wPAYDVQQDEzVhc3lu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QqOCPvAt1AZ3bMR5moP6HXLcSlsDicH7R97FRrKO_6GywgIPDmt2Mm2VBO6p3qPCi2do79OCNlD3OpKaWuuuC6lnZB1ilSIi1w9vpGdji0ixc_dnfMVgL_z1lnM1nLDCsALgv8ghCQDVX4h_Net36CgZgv16gbE71947exvQNJZVVQfXQe0YRTktFsCJVlPmvV5d0KukZUDMAiH0oFJCto8W6ggMMy7u4JLzsLIxcJxrFMaGaz8\u0026s=hKE_SY47J44tmfgk63v7tPccqyYSBSHqg9N51f0oHJEhO1AMPT5iW9-lBAUQshumVegitg3MZUZqfCwejEtYwgyWIUX6kpCOfXf9rzZjzjTLfK32Kk-X9BLjJbqOGGcmQwhv4VRRJ6lzY0AC8xfqqKf9a4a9WptNyQy4L-qqdU7rsQdGV6mm0bwSkiOgjQinwQuO9TdrovxB7T6-qsSPn0yKnv9mB5XO0sx0qQ8ZhqcRdt2WdB9dzc65eC3OAoM16J-gMcwUmH6a2hgeAYTftAOBqyCbCiKCh0B5Uxs8k_W9I5WeEIQzgOVbkn9wZcYkWHi8d3GwdrusaaV86KFCUA\u0026h=NCt360nMlY0RlNWmYwmmc03ctAdzptmZFn-3CFfJvKo" ], + "Location": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationresults/7252bf6a-bfc2-4575-a5fd-acf7522a7a0f?api-version=2024-07-10\u0026t=638639280447395352\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwMjMxMTQxWhcNMjUwMzE5MjMxMTQxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dX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4GnP7PpQcRvAYMdH9LO5MRY7iLbBmosKatS_eWtSJD1CvzglNwy_vQzx81Vnk0CgndqXcVq-loGu7R4U7mkQ2NNqLbp447STxkpP-6Mdyv8J4bdnf1s3vFBNpgvJWKogWcNLlo8jnkbEf6RPNGe1W5lma7JwMKAcPzY\u0026s=HadjpGUtN6_ToOjD6fEXKxtmw1v8b0YBqaR1VTSQRASh1SRuMPoERt8bc_Uz0BaXXz3XnENc_KP7MF7W7z8JRiVDTmRpXbgo8ha-5UlN8bCL-Ms7f7gacNS5IBGSDNpRVhN22eOQZhqYYhdz8eimDf9GBjtJG6EAwYatUQjTCOXCTiMJalxdw5ZuNzUgjwaFueONAPN7g8DGU8e2tB9N0ll1aG64WbZOhKOsBHMXOzX_kYCwQxZ4rZCmMy4O2qFjpyrw2F6qVTo1ZNlXhecaJYHHKRLe4JBEBhm5hbT0_8m-wMMfAKTf6O_ddjYe-hEIJyg2I99yaZXxcpdxe8ST8g\u0026h=4eUrBQ3fBr4-tWUBmdjVTJFYg7jKxTsEMvTm8vs-Ng0" ], "Retry-After": [ "15" ], "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-request-id": [ "e26c98c4-5e04-4eb4-928b-a3c636323885" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/f83f3ee6-b80b-4463-b61b-14ccb8d90d71?api-version=2024-05-20-preview\u0026t=638623847995897327\u0026c=MIIHpTCCBo2gAwIBAgITfwN43MjEi0W8quEp-gAEA3jcyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwNjI0MTIwMzUxWhcNMjUwNjE5MTIwMzUxWjBAMT4wP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3EoU3yr5LEyfJCQqOCPvAt1AZ3bMR5moP6HXLcSlsDicH7R97FRrKO_6GywgIPDmt2Mm2VBO6p3qPCi2do79OCNlD3OpKaWuuuC6lnZB1ilSIi1w9vpGdji0ixc_dnfMVgL_z1lnM1nLDCsALgv8ghCQDVX4h_Net36CgZgv16gbE71947exvQNJZVVQfXQe0YRTktFsCJVlPmvV5d0KukZUDMAiH0oFJCto8W6ggMMy7u4JLzsLIxcJxrFMaGaz8\u0026s=ojUDw0VNHkcw0iymnCrG1tx4e96_tIDJcWSPKIzIjzoCWfySVwCvcL-1KI3ZRQBHl7t-gf_ZRwh5B7413R0c9PU0_ZmaZ13x_MR8YbEoJ_mLLOjY0Ep-fYDBd-SM6Tbuq408ChyVZTkxVvORHFZfI8mqa6jsyj4_4Rsq78TDbI8Sc54YsBXBNPErUo-28o4mG1-1quNZ2AGzdFMb6pBHXFUJrtNAOm1vaWyGSWUkAEjHxz68JiDSs9FuG37mxtQpzUmnTLQBN7De9ufZTkUp8XN9KicIa8tkfA-alX5O3sGcZQdVTU5h3N5ApLGKwHbekvR1L1WhU2lDai8uq4C2OQ\u0026h=BPMWODVTTzCmypcnf1fVzm9Tx9GOOIuKBrYeOZ5aeuA" ], - "x-ms-correlation-request-id": [ "f796e30d-f4d7-4d43-befe-7fe21048b303" ], - "x-ms-routing-request-id": [ "EASTUS2:20240919T231959Z:f796e30d-f4d7-4d43-befe-7fe21048b303" ], + "x-ms-request-id": [ "3c7eac6f-dd7d-4d97-9cb2-1bd3bcaae8c7" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/7252bf6a-bfc2-4575-a5fd-acf7522a7a0f?api-version=2024-07-10\u0026t=638639280447395352\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR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DQYJKoZIhvcNAQELBQADggEBAG0WbzLPsmSSMI7aTe2npixmkdCmwcdZHGd43tUnB8JKrLNJEFcBsQmbcIH0adpnQNrDgRkNBBOTZ4s1LIBlRQapZpPsRItAMUguVpGVRH08T0i43w9xrp_clNbAJrrfRbmYroF0WJKMJ0nwW2rPjxdevSRygGK_nEfywwFi-p1RhHnkiEGL4GnP7PpQcRvAYMdH9LO5MRY7iLbBmosKatS_eWtSJD1CvzglNwy_vQzx81Vnk0CgndqXcVq-loGu7R4U7mkQ2NNqLbp447STxkpP-6Mdyv8J4bdnf1s3vFBNpgvJWKogWcNLlo8jnkbEf6RPNGe1W5lma7JwMKAcPzY\u0026s=Vvb7ke_C3u9RuuzKERuKEUzY_YMB23Djf-y5ax28RQmOvsyGNrCV8Vw2TEtoz4d7KZll1rLO7OBN1xe1RTum3yrf5TgyCJh7ZASsC_Td4gFc7Li_SzlY-QKdYtC675Ele7oV6wKVEDUGhQAVr51NN7LHQKMb2oOU4f5fokyn8ifcmPpGbhydKBpawh9k04WU8RAYzvWV1u3rIBB4Sf4fcUbpuDkpXtPYTZHSQfNpxnXsuyStkNN0AniAh-ny5dwFQHVbVi3N03KLHyX2RS5aka2MM11cvEtil1pNEJ81XGlzGoY3bBWxI7CbhuKf7jSei9KAtz-pWsaFf5FCSC0BXQ\u0026h=6ncCDLamULmc-oKD1lhHzvHiPxlWqXLE-nNsEyqiIug" ], + "x-ms-correlation-request-id": [ "56e2fc32-de14-4107-8f04-f8e7cce506ec" ], + "x-ms-routing-request-id": [ "EASTUS:20241007T200044Z:56e2fc32-de14-4107-8f04-f8e7cce506ec" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 6D4C17736E7D4B8E8B87364256CFEAE2 Ref B: MNZ221060619025 Ref C: 2024-09-19T23:19:59Z" ], - "Date": [ "Thu, 19 Sep 2024 23:19:59 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 738183EA32244BA79E7355FA34A2BD76 Ref B: BL2AA2030104045 Ref C: 2024-10-07T20:00:44Z" ], + "Date": [ "Mon, 07 Oct 2024 20:00:44 GMT" ] }, "ContentHeaders": { "Content-Length": [ "112" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"f83f3ee6-b80b-4463-b61b-14ccb8d90d71\",\"status\":\"InProgress\",\"startTime\":\"2024-09-19T23:18:42.1753325Z\"}", + "Content": "{\"name\":\"7252bf6a-bfc2-4575-a5fd-acf7522a7a0f\",\"status\":\"InProgress\",\"startTime\":\"2024-10-07T19:59:28.3927782Z\"}", "isContentBase64": false } }, - "Update-AzConnectedMachineExtension+[NoContext]+Update+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/f83f3ee6-b80b-4463-b61b-14ccb8d90d71?api-version=2024-05-20-preview\u0026t=638623847995897327\u0026c=MIIHpTCCBo2gAwIBAgITfwN43MjEi0W8quEp-gAEA3jcyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwNjI0MTIwMzUxWhcNMjUwNjE5MTIwMzUxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALiUzQ72miF3S8xuwVdDASkfTayfNuL2xoGjIYUp6ggSGWwqcFLd9Wyqc3F6x8NaURchp8S0iOYM5xMdEBYAsj1xu3zzvdMwM4vUqHIbG6w3GEP4tj7-UIz-btgan_NW7rOEM9oubY9dUtfuCg-mayRYdWezidp70abA2mUEj9ioVQ0CKe9kIzMPn7WFnuLRExud0yMQzDs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BHl7t-gf_ZRwh5B7413R0c9PU0_ZmaZ13x_MR8YbEoJ_mLLOjY0Ep-fYDBd-SM6Tbuq408ChyVZTkxVvORHFZfI8mqa6jsyj4_4Rsq78TDbI8Sc54YsBXBNPErUo-28o4mG1-1quNZ2AGzdFMb6pBHXFUJrtNAOm1vaWyGSWUkAEjHxz68JiDSs9FuG37mxtQpzUmnTLQBN7De9ufZTkUp8XN9KicIa8tkfA-alX5O3sGcZQdVTU5h3N5ApLGKwHbekvR1L1WhU2lDai8uq4C2OQ\u0026h=BPMWODVTTzCmypcnf1fVzm9Tx9GOOIuKBrYeOZ5aeuA+7": { + "Update-AzConnectedMachineExtension+[NoContext]+Update+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/7252bf6a-bfc2-4575-a5fd-acf7522a7a0f?api-version=2024-07-10\u0026t=638639280447395352\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwMjMxMTQxWhcNMjUwMzE5MjMxMTQxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKRtcYDBXS7zz5tRtvVyhrUAjudYhej1E2D3dp6XWuPdbVMbQZwMlye8vdT-kDhFD7T2mrdWqsoGnTGk0_xOHBfLGnW-0QRUqpeoTNIhu8vc2CfTUtm2t2s_-fzvFtRyhDA4mfCH1cz92EVj0vd3FD4ikW6bdOp1NkYFqUVBhKlbvJk6y-TbLFBLP5Zx4m0Ua-_P7aMzbgvOJgMOTC2jLs5w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_Td4gFc7Li_SzlY-QKdYtC675Ele7oV6wKVEDUGhQAVr51NN7LHQKMb2oOU4f5fokyn8ifcmPpGbhydKBpawh9k04WU8RAYzvWV1u3rIBB4Sf4fcUbpuDkpXtPYTZHSQfNpxnXsuyStkNN0AniAh-ny5dwFQHVbVi3N03KLHyX2RS5aka2MM11cvEtil1pNEJ81XGlzGoY3bBWxI7CbhuKf7jSei9KAtz-pWsaFf5FCSC0BXQ\u0026h=6ncCDLamULmc-oKD1lhHzvHiPxlWqXLE-nNsEyqiIug+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/f83f3ee6-b80b-4463-b61b-14ccb8d90d71?api-version=2024-05-20-preview\u0026t=638623847995897327\u0026c=MIIHpTCCBo2gAwIBAgITfwN43MjEi0W8quEp-gAEA3jcyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwNjI0MTIwMzUxWhcNMjUwNjE5MTIwMzUxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALiUzQ72miF3S8xuwVdDASkfTayfNuL2xoGjIYUp6ggSGWwqcFLd9Wyqc3F6x8NaURchp8S0iOYM5xMdEBYAsj1xu3zzvdMwM4vUqHIbG6w3GEP4tj7-UIz-btgan_NW7rOEM9oubY9dUtfuCg-mayRYdWezidp70abA2mUEj9ioVQ0CKe9kIzMPn7WFnuLRExud0yMQzDsWTVbaC5Eb_4Hx6vT5bnnLDisXEEQMzG96dJaC9KQZ-tFvcDzGz6diIqaancayRsE-Q5tMUFT-HqewL96W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kxVvORHFZfI8mqa6jsyj4_4Rsq78TDbI8Sc54YsBXBNPErUo-28o4mG1-1quNZ2AGzdFMb6pBHXFUJrtNAOm1vaWyGSWUkAEjHxz68JiDSs9FuG37mxtQpzUmnTLQBN7De9ufZTkUp8XN9KicIa8tkfA-alX5O3sGcZQdVTU5h3N5ApLGKwHbekvR1L1WhU2lDai8uq4C2OQ\u0026h=BPMWODVTTzCmypcnf1fVzm9Tx9GOOIuKBrYeOZ5aeuA", + "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/7252bf6a-bfc2-4575-a5fd-acf7522a7a0f?api-version=2024-07-10\u0026t=638639280447395352\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwMjMxMTQxWhcNMjUwMzE5MjMxMTQxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKRtcYDBXS7zz5tRtvVyhrUAjudYhej1E2D3dp6XWuPdbVMbQZwMlye8vdT-kDhFD7T2mrdWqsoGnTGk0_xOHBfLGnW-0QRUqpeoTNIhu8vc2CfTUtm2t2s_-fzvFtRyhDA4mfCH1cz92EVj0vd3FD4ikW6bdOp1NkYFqUVBhKlbvJk6y-TbLFBLP5Zx4m0Ua-_P7aMzbgvOJgMOTC2jLs5w_lFDJWeP3IKUOiJmrfLpf4ey5Ov94oCE6YncDBSHJZKWcrSxDHgSz9AXrxarL4HLajGbF3MRvfkMN2gNXCoiJXBEqCLDnyQZ0BgXIvuK7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4fcUbpuDkpXtPYTZHSQfNpxnXsuyStkNN0AniAh-ny5dwFQHVbVi3N03KLHyX2RS5aka2MM11cvEtil1pNEJ81XGlzGoY3bBWxI7CbhuKf7jSei9KAtz-pWsaFf5FCSC0BXQ\u0026h=6ncCDLamULmc-oKD1lhHzvHiPxlWqXLE-nNsEyqiIug", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "12" ], - "x-ms-client-request-id": [ "5e7748ab-25af-47f2-b890-2fc17b44b42d" ], + "x-ms-unique-id": [ "25" ], + "x-ms-client-request-id": [ "23376203-420d-4a65-8199-feae77be5148" ], "CommandName": [ "Update-AzConnectedMachineExtension" ], "FullCommandName": [ "Update-AzConnectedMachineExtension_UpdateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.5.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.1.0" ] }, "ContentHeaders": { } @@ -287,42 +287,42 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationresults/f83f3ee6-b80b-4463-b61b-14ccb8d90d71?api-version=2024-05-20-preview\u0026t=638623848154690648\u0026c=MIIHpTCCBo2gAwIBAgITfwN43MjEi0W8quEp-gAEA3jcyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwNjI0MTIwMzUxWhcNMjUwNjE5MTIwMzUxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2Vt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mm2VBO6p3qPCi2do79OCNlD3OpKaWuuuC6lnZB1ilSIi1w9vpGdji0ixc_dnfMVgL_z1lnM1nLDCsALgv8ghCQDVX4h_Net36CgZgv16gbE71947exvQNJZVVQfXQe0YRTktFsCJVlPmvV5d0KukZUDMAiH0oFJCto8W6ggMMy7u4JLzsLIxcJxrFMaGaz8\u0026s=uC5J5T5PKxfJxGW9BOZOGaEtAL9HsG3iC8XRhzSW4ABCxpJJaQf3rR-1-GkN332e8Q_seqL0yf8Z8cQwpbzmS_UJMzcj_XVjKFbdromXf4hP0sub3OtR_DKbmYgHqFWbYPBo6SutvvDrdiaa-6B9BcYWC2OajNIxbNDlzfPIdEEv31_-94N6mL8cNwa-4Pi_jbCcOKp05fHVuY5Z3kpUmHbLQPVCyb9ngr79x3tC7JrqrNa1KEeBDbOLS0gfojYd0BRfVXQSoIo7-CtjxewrA8awXswTQpexxfm66vr_pEA9s6zW14SQgx6LF_cSTuvmSG5jMYFJNzovXlVsDU6Wog\u0026h=rwgavXUJ5-xJZWqeWcPt5hQDPgLdZsyVYGbbSfNOxPU" ], + "Location": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationresults/7252bf6a-bfc2-4575-a5fd-acf7522a7a0f?api-version=2024-07-10\u0026t=638639280600412163\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwMjMxMTQxWhcNMjUwMzE5MjMxMTQxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKR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_vQzx81Vnk0CgndqXcVq-loGu7R4U7mkQ2NNqLbp447STxkpP-6Mdyv8J4bdnf1s3vFBNpgvJWKogWcNLlo8jnkbEf6RPNGe1W5lma7JwMKAcPzY\u0026s=m-uVABuLzXW3WW-XyX_zt-90cir_EmurfggZoXwE7Q_mwDwi49oVS5X7mxet7ZnnfzsJ2xkNcPGfmvKHkblMAMs3PEjrxVQ250E8Cy-6AoneyJVswdCsoxCTaJiwWeqN9D3Y0IFhDUwHmORkhQD4Bo_GKTniiRHVSZLKRyRNvbiNvvyzOf1guGG39-cq_6c8ZSiaR4vHxD7hCnSdKQX47W1gmHL8IxhxVdREWtq3FmfWZTQD4uQZwlwCn5RbXLzIPyipdf-sk38UzyfFTnqyTee7XpoIxM7jgzWa9OppzniO2huY-Afjmby-oDa6AnJUEUPyxPBafIzoLRSGdlrMag\u0026h=XwUjpKy3shRR0G_rLcjjmqtoBISvssfA5T28uL0hc1M" ], "Retry-After": [ "15" ], "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-request-id": [ "9bf99350-024d-41ff-a661-8427f08f4688" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/f83f3ee6-b80b-4463-b61b-14ccb8d90d71?api-version=2024-05-20-preview\u0026t=638623848154534391\u0026c=MIIHpTCCBo2gAwIBAgITfwN43MjEi0W8quEp-gAEA3jcyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwNjI0MTIwMzUxWhcNMjUwNjE5MTIwMzUxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW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2VBO6p3qPCi2do79OCNlD3OpKaWuuuC6lnZB1ilSIi1w9vpGdji0ixc_dnfMVgL_z1lnM1nLDCsALgv8ghCQDVX4h_Net36CgZgv16gbE71947exvQNJZVVQfXQe0YRTktFsCJVlPmvV5d0KukZUDMAiH0oFJCto8W6ggMMy7u4JLzsLIxcJxrFMaGaz8\u0026s=tWkMoeX1qzGf3mz8ipMe65tZkLbrJ8Bm_V2RFcaVdGoH6fYxCIergrSeHsPIVU5_pB5aB_--KwA9d6cKd8I_t2Arb_AQ5y1_V5Uq26XG85AnVqEyASjruoFZtsuVn9N15tmlFuSNIIiebGDIRhPTXb2r6j7k_xG4IFcSPo4tp1gcuNYPZRl_qiEXal_K5HCTJa_xPpZ_lMDjG1lFLVunCTnYxPRsQjRSG5sjkMg2P35kCD_dsSYxKvULFlTtljY7HCpY3yz1gmTg8QJfivSJsUTna6iMbDF7uAtBAdUpQxWQVS32cm0oxO53PKb3sDDpzq9L-f7TeYtbzuVat9SUBQ\u0026h=nSYMOj5MqO1wPzi5ro3XimUIld0Fmmv2UFmre8BYAog" ], - "x-ms-correlation-request-id": [ "bc20d34b-e27d-4994-aa10-77fd54362db9" ], - "x-ms-routing-request-id": [ "EASTUS2:20240919T232015Z:bc20d34b-e27d-4994-aa10-77fd54362db9" ], + "x-ms-request-id": [ "0ff86dd4-3cd9-498f-97a7-15330ad74642" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/7252bf6a-bfc2-4575-a5fd-acf7522a7a0f?api-version=2024-07-10\u0026t=638639280600255898\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwM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nQNrDgRkNBBOTZ4s1LIBlRQapZpPsRItAMUguVpGVRH08T0i43w9xrp_clNbAJrrfRbmYroF0WJKMJ0nwW2rPjxdevSRygGK_nEfywwFi-p1RhHnkiEGL4GnP7PpQcRvAYMdH9LO5MRY7iLbBmosKatS_eWtSJD1CvzglNwy_vQzx81Vnk0CgndqXcVq-loGu7R4U7mkQ2NNqLbp447STxkpP-6Mdyv8J4bdnf1s3vFBNpgvJWKogWcNLlo8jnkbEf6RPNGe1W5lma7JwMKAcPzY\u0026s=FriyrZa_S3y1bbxCW4R3ChcvYbEYqmx7ITcAhOfVvr-yw3fog4MOy0lTcjRBfTnNgMFhVe_nZfgXE_D6-0D5TKBg7t8mPlgjNzZ4yTDzBaxIYKiMPTWS5EqniGRB_fRS6IjRaIOA0p0ltWxD1x67ZIbKo3TWh8BZwd2tmHoi33uX2IIIvQjYFjz6Gx8bmVUetCJae14r661uul4Id-FKOgEUQEWhLUFfSZaBhxh9LYVI9mYii0qWAliFrK9Na3CV8pYjpQnJ8-Nn498CnvFKt-GgeGrXKCtfyuxf6M8opH0oBwDAjIMzX-S3E_IBrMAbhHrXY-lZQJroS_DqC9842g\u0026h=CtNfBC59aHQk_pWMEoN8WAVgZJKQ4BnIpe9WCP-vfcs" ], + "x-ms-correlation-request-id": [ "db66d929-4acf-4247-962c-370fd28011bb" ], + "x-ms-routing-request-id": [ "EASTUS:20241007T200100Z:db66d929-4acf-4247-962c-370fd28011bb" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: BEE99DDE1C244620ACC929581A644B17 Ref B: MNZ221060619025 Ref C: 2024-09-19T23:20:15Z" ], - "Date": [ "Thu, 19 Sep 2024 23:20:15 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 87C80F5B2AED47179B93340A079A9097 Ref B: BL2AA2030104045 Ref C: 2024-10-07T20:00:59Z" ], + "Date": [ "Mon, 07 Oct 2024 20:00:59 GMT" ] }, "ContentHeaders": { "Content-Length": [ "112" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"f83f3ee6-b80b-4463-b61b-14ccb8d90d71\",\"status\":\"InProgress\",\"startTime\":\"2024-09-19T23:18:42.1753325Z\"}", + "Content": "{\"name\":\"7252bf6a-bfc2-4575-a5fd-acf7522a7a0f\",\"status\":\"InProgress\",\"startTime\":\"2024-10-07T19:59:28.3927782Z\"}", "isContentBase64": false } }, - "Update-AzConnectedMachineExtension+[NoContext]+Update+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/f83f3ee6-b80b-4463-b61b-14ccb8d90d71?api-version=2024-05-20-preview\u0026t=638623848154534391\u0026c=MIIHpTCCBo2gAwIBAgITfwN43MjEi0W8quEp-gAEA3jcyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwNjI0MTIwMzUxWhcNMjUwNjE5MTIwMzUxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALiUzQ72miF3S8xuwVdDASkfTayfNuL2xoGjIYUp6ggSGWwqcFLd9Wyqc3F6x8NaURchp8S0iOYM5xMdEBYAsj1xu3zzvdMwM4vUqHIbG6w3GEP4tj7-UIz-btgan_NW7rOEM9oubY9dUtfuCg-mayRYdWezidp70abA2mUEj9ioVQ0CKe9kIzMPn7WFnuLRExud0yMQzDsWTVbaC5Eb_4Hx6vT5bnnLDisXEEQMzG96dJaC9KQZ-tFvcDzGz6diIqaancayRsE-Q5tMUFT-HqewL96WS1vsLjZx9weQsi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_xG4IFcSPo4tp1gcuNYPZRl_qiEXal_K5HCTJa_xPpZ_lMDjG1lFLVunCTnYxPRsQjRSG5sjkMg2P35kCD_dsSYxKvULFlTtljY7HCpY3yz1gmTg8QJfivSJsUTna6iMbDF7uAtBAdUpQxWQVS32cm0oxO53PKb3sDDpzq9L-f7TeYtbzuVat9SUBQ\u0026h=nSYMOj5MqO1wPzi5ro3XimUIld0Fmmv2UFmre8BYAog+8": { + "Update-AzConnectedMachineExtension+[NoContext]+Update+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/7252bf6a-bfc2-4575-a5fd-acf7522a7a0f?api-version=2024-07-10\u0026t=638639280600255898\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwMjMxMTQxWhcNMjUwMzE5MjMxMTQxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKRtcYDBXS7zz5tRtvVyhrUAjudYhej1E2D3dp6XWuPdbVMbQZwMlye8vdT-kDhFD7T2mrdWqsoGnTGk0_xOHBfLGnW-0QRUqpeoTNIhu8vc2CfTUtm2t2s_-fzvFtRyhDA4mfCH1cz92EVj0vd3FD4ikW6bdOp1NkYFqUVBhKlbvJk6y-TbLFBLP5Zx4m0Ua-_P7aMzbgvOJgMOTC2jLs5w_lFDJWeP3IKUOiJmrfLpf4ey5Ov94oCE6YncDBSHJZKWcrSxDHgSz9AXrxarL4HLajGbF3MRvfkMN2gNXCoiJXBEqCLDnyQZ0Bg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661uul4Id-FKOgEUQEWhLUFfSZaBhxh9LYVI9mYii0qWAliFrK9Na3CV8pYjpQnJ8-Nn498CnvFKt-GgeGrXKCtfyuxf6M8opH0oBwDAjIMzX-S3E_IBrMAbhHrXY-lZQJroS_DqC9842g\u0026h=CtNfBC59aHQk_pWMEoN8WAVgZJKQ4BnIpe9WCP-vfcs+8": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/f83f3ee6-b80b-4463-b61b-14ccb8d90d71?api-version=2024-05-20-preview\u0026t=638623848154534391\u0026c=MIIHpTCCBo2gAwIBAgITfwN43MjEi0W8quEp-gAEA3jcyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwNjI0MTIwMzUxWhcNMjUwNjE5MTIwMzUxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALiUzQ72miF3S8xuwVdDASkfTayfNuL2xoGjIYUp6ggSGWwqcFLd9Wyqc3F6x8NaURchp8S0iOYM5xMdEBYAsj1xu3zzvdMwM4vUqHIbG6w3GEP4tj7-UIz-btgan_NW7rOEM9oubY9dUtfuCg-mayRYdWezidp70abA2mUEj9ioVQ0CKe9kIzMPn7WFnuLRExud0yMQzDsWTVbaC5Eb_4Hx6vT5bnnLDisXEEQMzG96dJaC9KQZ-tFvcDzGz6diIqaancayRsE-Q5tMUFT-HqewL96WS1vsLjZx9weQsiyqFubDmhMVRawaS26swEjXSSzVp-b3R4MYD-Oh7GkmiFECAwEAAaOCBJIwggSOMCcGCSsGAQQBgjcVCgQaMBg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_dsSYxKvULFlTtljY7HCpY3yz1gmTg8QJfivSJsUTna6iMbDF7uAtBAdUpQxWQVS32cm0oxO53PKb3sDDpzq9L-f7TeYtbzuVat9SUBQ\u0026h=nSYMOj5MqO1wPzi5ro3XimUIld0Fmmv2UFmre8BYAog", + "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/7252bf6a-bfc2-4575-a5fd-acf7522a7a0f?api-version=2024-07-10\u0026t=638639280600255898\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwMjMxMTQxWhcNMjUwMzE5MjMxMTQxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKRtcYDBXS7zz5tRtvVyhrUAjudYhej1E2D3dp6XWuPdbVMbQZwMlye8vdT-kDhFD7T2mrdWqsoGnTGk0_xOHBfLGnW-0QRUqpeoTNIhu8vc2CfTUtm2t2s_-fzvFtRyhDA4mfCH1cz92EVj0vd3FD4ikW6bdOp1NkYFqUVBhKlbvJk6y-TbLFBLP5Zx4m0Ua-_P7aMzbgvOJgMOTC2jLs5w_lFDJWeP3IKUOiJmrfLpf4ey5Ov94oCE6YncDBSHJZKWcrSxDHgSz9AXrxarL4HLajGbF3MRvfkMN2gNXCoiJXBEqCLDnyQZ0BgXIvuK7vG8Rj0TyhJNj-QPr8taY6UCAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKw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E_IBrMAbhHrXY-lZQJroS_DqC9842g\u0026h=CtNfBC59aHQk_pWMEoN8WAVgZJKQ4BnIpe9WCP-vfcs", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "13" ], - "x-ms-client-request-id": [ "5e7748ab-25af-47f2-b890-2fc17b44b42d" ], + "x-ms-unique-id": [ "26" ], + "x-ms-client-request-id": [ "23376203-420d-4a65-8199-feae77be5148" ], "CommandName": [ "Update-AzConnectedMachineExtension" ], "FullCommandName": [ "Update-AzConnectedMachineExtension_UpdateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.5.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.1.0" ] }, "ContentHeaders": { } @@ -332,42 +332,42 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationresults/f83f3ee6-b80b-4463-b61b-14ccb8d90d71?api-version=2024-05-20-preview\u0026t=638623848309779667\u0026c=MIIHpTCCBo2gAwIBAgITfwN43MjEi0W8quEp-gAEA3jcyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwNjI0MTIwMzUxWhcNMjUwNjE5MTIwMzUxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALiUzQ72miF3S8xuwVdDASkfTayfNuL2xoGjIYUp6ggSGW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16gbE71947exvQNJZVVQfXQe0YRTktFsCJVlPmvV5d0KukZUDMAiH0oFJCto8W6ggMMy7u4JLzsLIxcJxrFMaGaz8\u0026s=BlmTsOlCOtvXpECuOZ3fXWNyCm_abcneIinInlBVqp6A5ZRG1mcup9t0DAz5hTZKvKcCjZHVqwpSSb67jdegXjDCVwLYQiJexaW1-tQ1OwazNrnnHQiTgffK0LqIap_bfsZbBUiOUmhLEZ6DM9ezfw1HvcuI_gYtVYpUq7shnNUUkFyT9pCmowgRfijSRQlYmA7bJiAyp2PWJB-GtTeeaTdcrS0oLjyqjtthge6Oi6yhzTnIJaY9_N6JEmKx-xM2UCVLjGMX6rdP_rWGjLH5C4krVYco2ZeqGhfn4M7W69wNp1WFsXpDPJOceGGutdKURG-ykjMkN9Enu81xzFhi0w\u0026h=thAQBpuO7MwEVszzSXrUNI6Eaa4vJBnxOtg9H_vaeDQ" ], + "Location": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationresults/7252bf6a-bfc2-4575-a5fd-acf7522a7a0f?api-version=2024-07-10\u0026t=638639280752675829\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwMjMxMTQxWhcNMjUwMzE5MjMxMTQxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKRtcYDBXS7zz5tRtvVyhrUAjudYhej1E2D3dp6XWuPdbVMbQZwMlye8vdT-kDhFD7T2mrdWqsoGnTGk0_xOHBfLGnW-0QRUqpeoTNIh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JwMKAcPzY\u0026s=fnIudNA21i-yzJZ_uYdOusMrU5S7rS5uWvc4i1APZRrikxTW6PKgqvy1EHvfkFW_2YxmHu0_XvnAoiX2rp_bjlP-cmFwuJHHTSyimpqlc8w9V0eA-fabpxWrK9jESqpyc_sirucbK9zDcoFS8_S8qvxcsG373_IbprKuAUKUYLzAeICtGyEq5P_jBZzt9UdwG889g1RO2PmTXC9He5D_QThvZVct9aGXw3BhnJiklhFR1hMaqkMuUPRnNwa_N60VBAXrkzvsu7Gt91ghSCdsJo96Pl8ZJRCMtyi5bgK9chlkLQCmjvq05_hbYlcnnyU0wnG3Ye76kNEBy18_xKLdxg\u0026h=BvWeq4-sNn3dsHOqt7rqg0dPgZDkLCOZ1U4hOvD1Fxg" ], "Retry-After": [ "15" ], "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-request-id": [ "ce95cfea-7b2b-41a0-a443-b27a48593a30" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/f83f3ee6-b80b-4463-b61b-14ccb8d90d71?api-version=2024-05-20-preview\u0026t=638623848309623384\u0026c=MIIHpTCCBo2gAwIBAgITfwN43MjEi0W8quEp-gAEA3jcyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwNjI0MTIwMzUxWhcNMjUwNjE5MTIwMzUxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALiUzQ72miF3S8xuwVdDASkfTayfNuL2xoGjIYUp6ggS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gv16gbE71947exvQNJZVVQfXQe0YRTktFsCJVlPmvV5d0KukZUDMAiH0oFJCto8W6ggMMy7u4JLzsLIxcJxrFMaGaz8\u0026s=Yi8TejccYavsuJMPso22g8PljpM8KB6zsU1oVfiPGeTYOicJrRnzP0FKnQAajUdH9NoYyn7dSqCF2kA5yTI80NwRhAq2nrYUu438EjRmBRr7VSkE2xZELujia4qOjk2rxBKFsuEhdaf-lvpae05-ENIlTBBT3Ephc6suEkDqhGv8Yg2DjzKLU4XLdCH0pgDisPifWl91qOclux3SZT-0hceC7v74UVWsAA8ha-N4PU2FJ8ia-baujWydXIJHF_gFTevYfS3pavNQxfLSZ3gbtvUAhfq_4K547b-qW9dLjPcGHjHD0fc5DZjf8Zsx5EvxUP07eTJzd5OfaUdsL-vjLA\u0026h=SIywhJUG0-0XY3dydI9dCSAIL41tv4rdH-Yaq50VJMs" ], - "x-ms-correlation-request-id": [ "6bce66ae-cd6d-40f1-be02-aee999c829e7" ], - "x-ms-routing-request-id": [ "EASTUS2:20240919T232030Z:6bce66ae-cd6d-40f1-be02-aee999c829e7" ], + "x-ms-request-id": [ "d391c3df-d107-4411-bb78-04333641cda7" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/7252bf6a-bfc2-4575-a5fd-acf7522a7a0f?api-version=2024-07-10\u0026t=638639280752519662\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwMjMxMTQxWhcNMjUwMzE5MjMxMTQxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6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GL4GnP7PpQcRvAYMdH9LO5MRY7iLbBmosKatS_eWtSJD1CvzglNwy_vQzx81Vnk0CgndqXcVq-loGu7R4U7mkQ2NNqLbp447STxkpP-6Mdyv8J4bdnf1s3vFBNpgvJWKogWcNLlo8jnkbEf6RPNGe1W5lma7JwMKAcPzY\u0026s=GZqGfqOYwMR9LWgKSzgMWc3d1Bnucj8eB6qZTqfBI3aMKH-Q4dmBaklDNZ0pTM1_ujlL0XnqwL4wJnygpLaLYxyCcsEyy0__jb0Yai8qCuitBO2A3eQO5WF1DWfPBQWx-pUTeesbH4yuPye4y1xiRWE0X_b7Gbgfiy6pMKrdy9YVfSso4-qT899EqhAKqIRVeLn9RpoHYeQ_fci21cRhM0jsHOFm6z0J7jMjVyFuqVjIx8bjKhIax9xtZFtBze6D1Jh1odfShy77zH5pqSHBtKuyOf_l_sJM0jS-SmsPbE9N6nK95ty2KkWxmvkfVIEzIiV8nTj41-NWM5BVkzMNKA\u0026h=DbSD5WLQ9FrAfAOEPNpI2azXBIsceEsJqWcGa1dRiVc" ], + "x-ms-correlation-request-id": [ "7791f823-d6db-42cf-82b2-c6b522a8df0c" ], + "x-ms-routing-request-id": [ "EASTUS:20241007T200115Z:7791f823-d6db-42cf-82b2-c6b522a8df0c" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 7A85626F09D64275BCD9CADFC37D1F3A Ref B: MNZ221060619025 Ref C: 2024-09-19T23:20:30Z" ], - "Date": [ "Thu, 19 Sep 2024 23:20:30 GMT" ] + "X-MSEdge-Ref": [ "Ref A: D604F26D543C4B73BB0BAA69748B6136 Ref B: BL2AA2030104045 Ref C: 2024-10-07T20:01:15Z" ], + "Date": [ "Mon, 07 Oct 2024 20:01:14 GMT" ] }, "ContentHeaders": { "Content-Length": [ "112" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"f83f3ee6-b80b-4463-b61b-14ccb8d90d71\",\"status\":\"InProgress\",\"startTime\":\"2024-09-19T23:18:42.1753325Z\"}", + "Content": "{\"name\":\"7252bf6a-bfc2-4575-a5fd-acf7522a7a0f\",\"status\":\"InProgress\",\"startTime\":\"2024-10-07T19:59:28.3927782Z\"}", "isContentBase64": false } }, - "Update-AzConnectedMachineExtension+[NoContext]+Update+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/f83f3ee6-b80b-4463-b61b-14ccb8d90d71?api-version=2024-05-20-preview\u0026t=638623848309623384\u0026c=MIIHpTCCBo2gAwIBAgITfwN43MjEi0W8quEp-gAEA3jcyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwNjI0MTIwMzUxWhcNMjUwNjE5MTIwMzUxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALiUzQ72miF3S8xuwVdDASkfTayfNuL2xoGjIYUp6ggSGWwqcFLd9Wyqc3F6x8NaURchp8S0iOYM5xMdEBYAsj1xu3zzvdMwM4vUqHIbG6w3GEP4tj7-UIz-btgan_NW7rOEM9oubY9dUtfuCg-mayRYdWezidp70abA2mUEj9ioVQ0CKe9kIzMPn7WFnuLRExud0yMQzDsWTVbaC5Eb_4Hx6vT5bnnLDisXEEQMzG96dJaC9KQZ-tFvcDzGz6diIqaancayRsE-Q5tMUFT-HqewL96WS1vsLjZx9weQsiyqFubDmhMVRawaS26swEjXSSzVp-b3R4MYD-Oh7GkmiFECAwEAAaOCBJIwggSOMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAw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SZ3gbtvUAhfq_4K547b-qW9dLjPcGHjHD0fc5DZjf8Zsx5EvxUP07eTJzd5OfaUdsL-vjLA\u0026h=SIywhJUG0-0XY3dydI9dCSAIL41tv4rdH-Yaq50VJMs+9": { + "Update-AzConnectedMachineExtension+[NoContext]+Update+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/7252bf6a-bfc2-4575-a5fd-acf7522a7a0f?api-version=2024-07-10\u0026t=638639280752519662\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwMjMxMTQxWhcNMjUwMzE5MjMxMTQxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKRtcYDBXS7zz5tRtvVyhrUAjudYhej1E2D3dp6XWuPdbVMbQZwMlye8vdT-kDhFD7T2mrdWqsoGnTGk0_xOHBfLGnW-0QRUqpeoTNIhu8vc2CfTUtm2t2s_-fzvFtRyhDA4mfCH1cz92EVj0vd3FD4ikW6bdOp1NkYFqUVBhKlbvJk6y-TbLFBLP5Zx4m0Ua-_P7aMzbgvOJgMOTC2jLs5w_lFDJWeP3IKUOiJmrfLpf4ey5Ov94oCE6YncDBSHJZKWcrSxDHgSz9AXrxarL4HLajGbF3MRvfkMN2gNXCoiJXBEqCLDnyQZ0BgXIvuK7vG8Rj0TyhJNj-QPr8taY6UCAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYB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fVIEzIiV8nTj41-NWM5BVkzMNKA\u0026h=DbSD5WLQ9FrAfAOEPNpI2azXBIsceEsJqWcGa1dRiVc+9": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/f83f3ee6-b80b-4463-b61b-14ccb8d90d71?api-version=2024-05-20-preview\u0026t=638623848309623384\u0026c=MIIHpTCCBo2gAwIBAgITfwN43MjEi0W8quEp-gAEA3jcyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwNjI0MTIwMzUxWhcNMjUwNjE5MTIwMzUxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALiUzQ72miF3S8xuwVdDASkfTayfNuL2xoGjIYUp6ggSGWwqcFLd9Wyqc3F6x8NaURchp8S0iOYM5xMdEBYAsj1xu3zzvdMwM4vUqHIbG6w3GEP4tj7-UIz-btgan_NW7rOEM9oubY9dUtfuCg-mayRYdWezidp70abA2mUEj9ioVQ0CKe9kIzMPn7WFnuLRExud0yMQzDsWTVbaC5Eb_4Hx6vT5bnnLDisXEEQMzG96dJaC9KQZ-tFvcDzGz6diIqaancayRsE-Q5tMUFT-HqewL96WS1vsLjZx9weQsiyqFubDmhMVRawaS26swEjXSSzVp-b3R4MYD-Oh7GkmiFECAwEAAaOCBJIwggSOMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SAC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dCSAIL41tv4rdH-Yaq50VJMs", + "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/7252bf6a-bfc2-4575-a5fd-acf7522a7a0f?api-version=2024-07-10\u0026t=638639280752519662\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwMjMxMTQxWhcNMjUwMzE5MjMxMTQxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKRtcYDBXS7zz5tRtvVyhrUAjudYhej1E2D3dp6XWuPdbVMbQZwMlye8vdT-kDhFD7T2mrdWqsoGnTGk0_xOHBfLGnW-0QRUqpeoTNIhu8vc2CfTUtm2t2s_-fzvFtRyhDA4mfCH1cz92EVj0vd3FD4ikW6bdOp1NkYFqUVBhKlbvJk6y-TbLFBLP5Zx4m0Ua-_P7aMzbgvOJgMOTC2jLs5w_lFDJWeP3IKUOiJmrfLpf4ey5Ov94oCE6YncDBSHJZKWcrSxDHgSz9AXrxarL4HLajGbF3MRvfkMN2gNXCoiJXBEqCLDnyQZ0BgXIvuK7vG8Rj0TyhJNj-QPr8taY6UCAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldod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N3sBATBmBgorBgEEAYI3ewICMFgwVgYIKwYBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwEwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAG0WbzLPsmSSMI7aTe2npixmkdCmwcdZHGd43tUnB8JKrLNJEFcBsQmbcIH0adpnQNrDgRkNBBOTZ4s1LIBlRQapZpPsRItAMUguVpGVRH08T0i43w9xrp_clNbAJrrfRbmYroF0WJKMJ0nwW2rPjxdevSRygGK_nEfywwFi-p1RhHnkiEGL4GnP7PpQcRvAYMdH9LO5MRY7iLbBmosKatS_eWtSJD1CvzglNwy_vQzx81Vnk0CgndqXcVq-loGu7R4U7mkQ2NNqLbp447STxkpP-6Mdyv8J4bdnf1s3vFBNpgvJWKogWcNLlo8jnkbEf6RPNGe1W5lma7JwMKAcPzY\u0026s=GZqGfqOYwMR9LWgKSzgMWc3d1Bnucj8eB6qZTqfBI3aMKH-Q4dmBaklDNZ0pTM1_ujlL0XnqwL4wJnygpLaLYxyCcsEyy0__jb0Yai8qCuitBO2A3eQO5WF1DWfPBQWx-pUTeesbH4yuPye4y1xiRWE0X_b7Gbgfiy6pMKrdy9YVfSso4-qT899EqhAKqIRVeLn9RpoHYeQ_fci21cRhM0jsHOFm6z0J7jMjVyFuqVjIx8bjKhIax9xtZFtBze6D1Jh1odfShy77zH5pqSHBtKuyOf_l_sJM0jS-SmsPbE9N6nK95ty2KkWxmvkfVIEzIiV8nTj41-NWM5BVkzMNKA\u0026h=DbSD5WLQ9FrAfAOEPNpI2azXBIsceEsJqWcGa1dRiVc", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "14" ], - "x-ms-client-request-id": [ "5e7748ab-25af-47f2-b890-2fc17b44b42d" ], + "x-ms-unique-id": [ "27" ], + "x-ms-client-request-id": [ "23376203-420d-4a65-8199-feae77be5148" ], "CommandName": [ "Update-AzConnectedMachineExtension" ], "FullCommandName": [ "Update-AzConnectedMachineExtension_UpdateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.5.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.1.0" ] }, "ContentHeaders": { } @@ -377,42 +377,42 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationresults/f83f3ee6-b80b-4463-b61b-14ccb8d90d71?api-version=2024-05-20-preview\u0026t=638623848464067001\u0026c=MIIHpTCCBo2gAwIBAgITfwN43MjEi0W8quEp-gAEA3jcyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwNjI0MTIwMzUxWhcNMjUwNjE5MTIwMzUxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALiUzQ72miF3S8xuwVdDASkfTayfNuL2xoGjIYUp6ggSGWwqcFLd9Wyqc3F6x8NaURchp8S0iOYM5xMdEBYAsj1xu3zzvdMwM4vUqHIbG6w3GEP4tj7-UIz-btgan_NW7rOEM9oubY9dUtfuCg-mayRYdWezidp70abA2mUEj9ioVQ0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sRLJZuttdiQjAYkvy3u7eF9Dap5UI0P4Zb9bXuM8lpug88VEBJQrIu34at7-r7LJxq3ZSOCC_Hrx0wmAS3oA0TgjG0ZsPyJmSkl-7F1PypD-ZF1HcquSko4O5zqIna3tjmIsiq24sq_9BsK0hM0CmHUbXXAZ1_nplg-D159X-lMiyanb4-zc8YbDDzJTihqgesbdfPL9-2Nu3zVPYW6vuwvF4qRrOvqRIlM0mrSt4Ui0_F102QJsch3b3rag_hfuhaZkQpz9QRU3rIsxK2T_iEtJ8v7tG2qRyWr5EKwWXHmSg0kIQwQ\u0026h=vtDY74oK28lKWzF5vL_1LlQLTo6n3YFNqZi552It0gs" ], + "Location": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationresults/7252bf6a-bfc2-4575-a5fd-acf7522a7a0f?api-version=2024-07-10\u0026t=638639280905615494\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwMjMxMTQxWhcNMjUwMzE5MjMxMTQxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKRtcYDBXS7zz5tRtvVyhrUAjudYhej1E2D3dp6XWuPdbVMbQZwMlye8vdT-kDhFD7T2mrdWqsoGnTGk0_xOHBfLGnW-0QRUqpeoTNIhu8vc2CfTUtm2t2s_-fzvFtRyhDA4mfCH1cz92EVj0vd3FD4ikW6bdOp1NkYFqUVBhKlbvJk6y-TbLFBLP5Zx4m0Ua-_P7aMzbgvOJgMOTC2jLs5w_lFDJW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L_Ui1pNmBEGRg1nl5n9bHbXb8Myfaers8B3i_OXd_vU1_7kZ4nNsskfaW_RSW20RpO71OB-TVVqFqxFZSiM8u7VjWrz-UryQk4-Meq1NIa-Jj9H5RcqEG8vgTQb2d6_QfLLBuJZ93H7TTPLmCMiBblkX9ez2BqrWKJ-kYLABs4aF_nhGpvnW5oPMH4i-mgP-cRAuqTTdBUMhsCFHavwDEs9yW7Aqlhf5AgKl5w\u0026h=BtHox-nAU_tmCGRhnTK6IAkF8NMF_4WO45nxso8CRFk" ], "Retry-After": [ "15" ], "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-request-id": [ "8e5c9996-1cfb-4dbb-a11b-53ca1e0a000f" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/f83f3ee6-b80b-4463-b61b-14ccb8d90d71?api-version=2024-05-20-preview\u0026t=638623848463910732\u0026c=MIIHpTCCBo2gAwIBAgITfwN43MjEi0W8quEp-gAEA3jcyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwNjI0MTIwMzUxWhcNMjUwNjE5MTIwMzUxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALiUzQ72miF3S8xuwVdDASkfTayfNuL2xoGjIYUp6ggSGWwqcFLd9Wyqc3F6x8NaURchp8S0iOYM5xMdEBYAsj1xu3zzvdMwM4vUqHIbG6w3GEP4tj7-UIz-btgan_NW7rOEM9oubY9dUtfuCg-mayRYdWezidp70ab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YNSnzbUphfohMT9-ycNyur4PJdc2YelgEaQdiKo2hPtc90U0Pd8jzm_POaiQ9pfOwTJEI69KvjSjvwoV_At0Kn8sE7iVLoIqJHFqGUi1_qNd06JZe8mVOH6gXRRYcMBVxpVEgu1mJezp1fgN1DW9RoZ99P2UILjXpmK_qzn7hSkoD4Nrna7f0SH9UiaNGbebQ-n4Vo09wlUT_VPUoISbMdiJOCar_pq7qP6m0WbquZKMuhqjzUNi9bMt2Hgqvdh_ABVQUO5z4Y1qNIRmGL0D--UQVbQ0LOglHTbjCqKy5Q4zStqfkGMtQzqhgVOYgMuOWw\u0026h=cANH_Ehg0w_hEB0M2m4dGK7LJYF9oFIzjhSONKnWMFg" ], - "x-ms-correlation-request-id": [ "8b8b4ed6-8f7e-4abc-8c19-58233f668fee" ], - "x-ms-routing-request-id": [ "EASTUS2:20240919T232046Z:8b8b4ed6-8f7e-4abc-8c19-58233f668fee" ], + "x-ms-request-id": [ "e5b3a37c-347f-4d82-a66f-ecb03358172a" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/7252bf6a-bfc2-4575-a5fd-acf7522a7a0f?api-version=2024-07-10\u0026t=638639280905459281\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwMjMxMTQxWhcNMjUwMzE5MjMxMTQxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKRtcYDBXS7zz5tRtvVyhrUAjudYhej1E2D3d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2NNqLbp447STxkpP-6Mdyv8J4bdnf1s3vFBNpgvJWKogWcNLlo8jnkbEf6RPNGe1W5lma7JwMKAcPzY\u0026s=eYtAsrgLnCALToHN5SZN6iKlMKyvTbPGJe3FoHLlNE3w9clBw8gNdTuy9Owj5CkiQFjLCWXWqIxDMv4LE0pgaogClXb-ojzguzDWtdU5gp2l90EEbXVEOMdgAKSAu6DiecfCih3drICFrjR9iCwekne8raxfk5CMUSVGGHiKB6o6r23XQc1AVelFESrxtB48MeM7zMQiUTMQymOvgb4HJ0mg1lgSB0tGWQCl00W8Xmr9uueAsOhU2TU1YonwvEjjzvo0WB12nVyEC086bXzHuxGkN4o4l3fOoqTOY2sQHNnk-D9k_FCTDR78Eig5GN4VfhgUaSehiCcaX-YmoXZGMw\u0026h=L4ubdg8J4yXjfo2rcNXXNItS_P5pB7LDBF7trCZEpjQ" ], + "x-ms-correlation-request-id": [ "e4007a75-b06e-4d67-b7b2-e4b6a98b0777" ], + "x-ms-routing-request-id": [ "EASTUS:20241007T200130Z:e4007a75-b06e-4d67-b7b2-e4b6a98b0777" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 4FE2512711684FAF99377648394783B3 Ref B: MNZ221060619025 Ref C: 2024-09-19T23:20:46Z" ], - "Date": [ "Thu, 19 Sep 2024 23:20:46 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 0FADA552C2AB4919BEB404EEBDA886EE Ref B: BL2AA2030104045 Ref C: 2024-10-07T20:01:30Z" ], + "Date": [ "Mon, 07 Oct 2024 20:01:29 GMT" ] }, "ContentHeaders": { "Content-Length": [ "112" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"f83f3ee6-b80b-4463-b61b-14ccb8d90d71\",\"status\":\"InProgress\",\"startTime\":\"2024-09-19T23:18:42.1753325Z\"}", + "Content": "{\"name\":\"7252bf6a-bfc2-4575-a5fd-acf7522a7a0f\",\"status\":\"InProgress\",\"startTime\":\"2024-10-07T19:59:28.3927782Z\"}", "isContentBase64": false } }, - "Update-AzConnectedMachineExtension+[NoContext]+Update+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/f83f3ee6-b80b-4463-b61b-14ccb8d90d71?api-version=2024-05-20-preview\u0026t=638623848463910732\u0026c=MIIHpTCCBo2gAwIBAgITfwN43MjEi0W8quEp-gAEA3jcyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwNjI0MTIwMzUxWhcNMjUwNjE5MTIwMzUxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALiUzQ72miF3S8xuwVdDASkfTayfNuL2xoGjIYUp6ggSGWwqcFLd9Wyqc3F6x8NaURchp8S0iOYM5xMdEBYAsj1xu3zzvdMwM4vUqHIbG6w3GEP4tj7-UIz-btgan_NW7rOEM9oubY9dUtfuCg-mayRYdWezidp70abA2mUEj9ioVQ0CKe9kIzMPn7WFnuLRExud0yMQzDsWTVbaC5Eb_4Hx6vT5bnnLDisXEEQMzG96dJaC9KQZ-tFvcDzGz6diIqaancayRsE-Q5tMUFT-HqewL96WS1vsLjZx9weQsiyqFubDmhMVRawaS26swEjXSSzVp-b3R4MYD-Oh7GkmiFECAwEAAaOCBJIwggSOMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SAC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=cANH_Ehg0w_hEB0M2m4dGK7LJYF9oFIzjhSONKnWMFg+10": { + "Update-AzConnectedMachineExtension+[NoContext]+Update+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/7252bf6a-bfc2-4575-a5fd-acf7522a7a0f?api-version=2024-07-10\u0026t=638639280905459281\u0026c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwMjMxMTQxWhcNMjUwMzE5MjMxMTQxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKRtcYDBXS7zz5tRtvVyhrUAjudYhej1E2D3dp6XWuPdbVMbQZwMlye8vdT-kDhFD7T2mrdWqsoGnTGk0_xOHBfLGnW-0QRUqpeoTNIhu8vc2CfTUtm2t2s_-fzvFtRyhDA4mfCH1cz92EVj0vd3FD4ikW6bdOp1NkYFqUVBhKlbvJk6y-TbLFBLP5Zx4m0Ua-_P7aMzbgvOJgMOTC2jLs5w_lFDJWeP3IKUOiJmrfLpf4ey5Ov94oCE6YncDBSHJZKWcrSxDHgSz9AXrxarL4HLajGbF3MRvfkMN2gNXCoiJXBEqCLDnyQZ0BgXIvuK7vG8Rj0TyhJNj-QPr8taY6UCAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCA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method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/f83f3ee6-b80b-4463-b61b-14ccb8d90d71?api-version=2024-05-20-preview\u0026t=638623848463910732\u0026c=MIIHpTCCBo2gAwIBAgITfwN43MjEi0W8quEp-gAEA3jcyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwNjI0MTIwMzUxWhcNMjUwNjE5MTIwMzUxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALiUzQ72miF3S8xuwVdDASkfTayfNuL2xoGjIYUp6ggSGWwqcFLd9Wyqc3F6x8NaURchp8S0iOYM5xMdEBYAsj1xu3zzvdMwM4vUqHIbG6w3GEP4tj7-UIz-btgan_NW7rOEM9oubY9dUtfuCg-mayRYdWezidp70abA2mUEj9ioVQ0CKe9kIzMPn7WFnuLRExud0yMQzDsWTVbaC5Eb_4Hx6vT5bnnLDisXEEQMzG96dJaC9KQZ-tFvcDzGz6diIqaancayRsE-Q5tMUFT-HqewL96WS1vsLjZx9weQsiyqFubDmhMVRawaS26swEjXSSzVp-b3R4MYD-Oh7GkmiFECAwEAAaOCBJIwggSOMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtp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AtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwEwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAG0WbzLPsmSSMI7aTe2npixmkdCmwcdZHGd43tUnB8JKrLNJEFcBsQmbcIH0adpnQNrDgRkNBBOTZ4s1LIBlRQapZpPsRItAMUguVpGVRH08T0i43w9xrp_clNbAJrrfRbmYroF0WJKMJ0nwW2rPjxdevSRygGK_nEfywwFi-p1RhHnkiEGL4GnP7PpQcRvAYMdH9LO5MRY7iLbBmosKatS_eWtSJD1CvzglNwy_vQzx81Vnk0CgndqXcVq-loGu7R4U7mkQ2NNqLbp447STxkpP-6Mdyv8J4bdnf1s3vFBNpgvJWKogWcNLlo8jnkbEf6RPNGe1W5lma7JwMKAcPzY\u0026s=eYtAsrgLnCALToHN5SZN6iKlMKyvTbPGJe3FoHLlNE3w9clBw8gNdTuy9Owj5CkiQFjLCWXWqIxDMv4LE0pgaogClXb-ojzguzDWtdU5gp2l90EEbXVEOMdgAKSAu6DiecfCih3drICFrjR9iCwekne8raxfk5CMUSVGGHiKB6o6r23XQc1AVelFESrxtB48MeM7zMQiUTMQymOvgb4HJ0mg1lgSB0tGWQCl00W8Xmr9uueAsOhU2TU1YonwvEjjzvo0WB12nVyEC086bXzHuxGkN4o4l3fOoqTOY2sQHNnk-D9k_FCTDR78Eig5GN4VfhgUaSehiCcaX-YmoXZGMw\u0026h=L4ubdg8J4yXjfo2rcNXXNItS_P5pB7LDBF7trCZEpjQ", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "15" ], - "x-ms-client-request-id": [ "5e7748ab-25af-47f2-b890-2fc17b44b42d" ], + "x-ms-unique-id": [ "28" ], + "x-ms-client-request-id": [ "23376203-420d-4a65-8199-feae77be5148" ], "CommandName": [ "Update-AzConnectedMachineExtension" ], "FullCommandName": [ "Update-AzConnectedMachineExtension_UpdateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.5.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.1.0" ] }, "ContentHeaders": { } @@ -422,39 +422,39 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-request-id": [ "e633c2fa-3836-4da7-8880-0fad0d6e53d2" ], - "x-ms-correlation-request-id": [ "1a2bf87a-f71b-43bf-9cff-11a2abb9bcd2" ], - "x-ms-routing-request-id": [ "EASTUS2:20240919T232101Z:1a2bf87a-f71b-43bf-9cff-11a2abb9bcd2" ], + "x-ms-request-id": [ "33e13a0d-081d-4893-ad19-470e27316d96" ], + "x-ms-correlation-request-id": [ "d10c6063-44a9-4b3d-9b61-28cac615ffeb" ], + "x-ms-routing-request-id": [ "EASTUS2:20241007T200145Z:d10c6063-44a9-4b3d-9b61-28cac615ffeb" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: B0EA55B0EDAD40FF995371DB13506795 Ref B: MNZ221060619025 Ref C: 2024-09-19T23:21:01Z" ], - "Date": [ "Thu, 19 Sep 2024 23:21:01 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 5AC37E6AE7454358AA9C589602169292 Ref B: BL2AA2030104045 Ref C: 2024-10-07T20:01:45Z" ], + "Date": [ "Mon, 07 Oct 2024 20:01:45 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "893" ], + "Content-Length": [ "886" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"f83f3ee6-b80b-4463-b61b-14ccb8d90d71\",\"status\":\"Succeeded\",\"startTime\":\"2024-09-19T23:18:42.1753325Z\",\"properties\":{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine/extensions/networkWatcher\",\"name\":\"networkWatcher\",\"location\":\"centraluseuap\",\"type\":\"Microsoft.HybridCompute/machines/extensions\",\"properties\":{\"publisher\":\"Microsoft.Azure.NetworkWatcher\",\"type\":\"NetworkWatcherAgentWindows\",\"typeHandlerVersion\":\"1.4.2798.3\",\"autoUpgradeMinorVersion\":false,\"enableAutomaticUpgrade\":true,\"settings\":{\"commandToExecute\":\"powershell.exe ls\"},\"provisioningState\":\"Succeeded\",\"instanceView\":{\"name\":\"networkWatcher\",\"type\":\"NetworkWatcherAgentWindows\",\"typeHandlerVersion\":\"1.4.2798.3\",\"status\":{\"code\":\"0\",\"level\":\"Information\",\"message\":\"Extension Message: Default configuration is in effect.\"}}}}}", + "Content": "{\"name\":\"7252bf6a-bfc2-4575-a5fd-acf7522a7a0f\",\"status\":\"Succeeded\",\"startTime\":\"2024-10-07T19:59:28.3927782Z\",\"properties\":{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine/extensions/networkWatcher\",\"name\":\"networkWatcher\",\"location\":\"eastus\",\"type\":\"Microsoft.HybridCompute/machines/extensions\",\"properties\":{\"publisher\":\"Microsoft.Azure.NetworkWatcher\",\"type\":\"NetworkWatcherAgentWindows\",\"typeHandlerVersion\":\"1.4.2798.3\",\"autoUpgradeMinorVersion\":false,\"enableAutomaticUpgrade\":true,\"settings\":{\"commandToExecute\":\"powershell.exe ls\"},\"provisioningState\":\"Succeeded\",\"instanceView\":{\"name\":\"networkWatcher\",\"type\":\"NetworkWatcherAgentWindows\",\"typeHandlerVersion\":\"1.4.2798.3\",\"status\":{\"code\":\"0\",\"level\":\"Information\",\"message\":\"Extension Message: Default configuration is in effect.\"}}}}}", "isContentBase64": false } }, - "Update-AzConnectedMachineExtension+[NoContext]+Update+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine/extensions/networkWatcher?api-version=2024-05-20-preview+11": { + "Update-AzConnectedMachineExtension+[NoContext]+Update+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine/extensions/networkWatcher?api-version=2024-07-10+11": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine/extensions/networkWatcher?api-version=2024-05-20-preview", + "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine/extensions/networkWatcher?api-version=2024-07-10", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "16" ], - "x-ms-client-request-id": [ "5e7748ab-25af-47f2-b890-2fc17b44b42d" ], + "x-ms-unique-id": [ "29" ], + "x-ms-client-request-id": [ "23376203-420d-4a65-8199-feae77be5148" ], "CommandName": [ "Update-AzConnectedMachineExtension" ], "FullCommandName": [ "Update-AzConnectedMachineExtension_UpdateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.5.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.1.0" ] }, "ContentHeaders": { } @@ -464,22 +464,22 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-request-id": [ "a9a12517-95e8-4798-a73e-c833e8ece3e1" ], - "x-ms-correlation-request-id": [ "b81da900-2707-4ae8-bb6a-5b521e2f26b1" ], - "x-ms-routing-request-id": [ "EASTUS2:20240919T232102Z:b81da900-2707-4ae8-bb6a-5b521e2f26b1" ], + "x-ms-request-id": [ "1cfa1875-e65e-424a-988b-94b9d9ca9bc7" ], + "x-ms-correlation-request-id": [ "ef9f2ba6-7f5b-46a6-b4e8-e51c0591dc02" ], + "x-ms-routing-request-id": [ "EASTUS2:20241007T200146Z:ef9f2ba6-7f5b-46a6-b4e8-e51c0591dc02" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: E30C78F11A5D44CA815CE47406720805 Ref B: MNZ221060619025 Ref C: 2024-09-19T23:21:01Z" ], - "Date": [ "Thu, 19 Sep 2024 23:21:02 GMT" ] + "X-MSEdge-Ref": [ "Ref A: AD0EF85BDD2A4ADABC7ADDF3F6CE0556 Ref B: BL2AA2030104045 Ref C: 2024-10-07T20:01:45Z" ], + "Date": [ "Mon, 07 Oct 2024 20:01:45 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "768" ], + "Content-Length": [ "761" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine/extensions/networkWatcher\",\"name\":\"networkWatcher\",\"type\":\"Microsoft.HybridCompute/machines/extensions\",\"location\":\"centraluseuap\",\"properties\":{\"publisher\":\"Microsoft.Azure.NetworkWatcher\",\"type\":\"NetworkWatcherAgentWindows\",\"typeHandlerVersion\":\"1.4.2798.3\",\"autoUpgradeMinorVersion\":false,\"enableAutomaticUpgrade\":true,\"settings\":{\"commandToExecute\":\"powershell.exe ls\"},\"provisioningState\":\"Succeeded\",\"instanceView\":{\"name\":\"networkWatcher\",\"type\":\"NetworkWatcherAgentWindows\",\"typeHandlerVersion\":\"1.4.2798.3\",\"status\":{\"code\":\"0\",\"level\":\"Information\",\"message\":\"Extension Message: Default configuration is in effect.\"}}}}", + "Content": "{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine/extensions/networkWatcher\",\"name\":\"networkWatcher\",\"type\":\"Microsoft.HybridCompute/machines/extensions\",\"location\":\"eastus\",\"properties\":{\"publisher\":\"Microsoft.Azure.NetworkWatcher\",\"type\":\"NetworkWatcherAgentWindows\",\"typeHandlerVersion\":\"1.4.2798.3\",\"autoUpgradeMinorVersion\":false,\"enableAutomaticUpgrade\":true,\"settings\":{\"commandToExecute\":\"powershell.exe ls\"},\"provisioningState\":\"Succeeded\",\"instanceView\":{\"name\":\"networkWatcher\",\"type\":\"NetworkWatcherAgentWindows\",\"typeHandlerVersion\":\"1.4.2798.3\",\"status\":{\"code\":\"0\",\"level\":\"Information\",\"message\":\"Extension Message: Default configuration is in effect.\"}}}}", "isContentBase64": false } } diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/test/Update-AzConnectedMachineRunCommand.Recording.json b/src/ConnectedMachine/ConnectedMachine.Autorest/test/Update-AzConnectedMachineRunCommand.Recording.json deleted file mode 100644 index c514171cafa5..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/test/Update-AzConnectedMachineRunCommand.Recording.json +++ /dev/null @@ -1,573 +0,0 @@ -{ - "Update-AzConnectedMachineRunCommand+[NoContext]+Update+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine/runCommands/myRunCommand?api-version=2024-05-20-preview+1": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine/runCommands/myRunCommand?api-version=2024-05-20-preview", - "Content": null, - "isContentBase64": false, - "Headers": { - "x-ms-unique-id": [ "1" ], - "x-ms-client-request-id": [ "b2151958-5d4c-4350-bcba-e1d741e20fb0" ], - "CommandName": [ "Update-AzConnectedMachineRunCommand" ], - "FullCommandName": [ "Update-AzConnectedMachineRunCommand_UpdateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.5.0" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-request-id": [ "dd1b9113-62fd-496f-8d9b-bb2dbf519b08" ], - "x-ms-correlation-request-id": [ "6d20e67f-a6fd-4c22-994e-946b0a351e96" ], - "x-ms-routing-request-id": [ "EASTUS:20240920T030928Z:6d20e67f-a6fd-4c22-994e-946b0a351e96" ], - "X-Content-Type-Options": [ "nosniff" ], - "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 458C373C21E346B49F43694328A66CDE Ref B: MNZ221060610051 Ref C: 2024-09-20T03:09:28Z" ], - "Date": [ "Fri, 20 Sep 2024 03:09:28 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "652" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"myRunCommand\",\"type\":\"Microsoft.HybridCompute/machines/runcommands\",\"location\":\"centraluseuap\",\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine/runcommands/myRunCommand\",\"properties\":{\"source\":{\"script\":\"Write-Host Hello World!\"},\"asyncExecution\":false,\"timeoutInSeconds\":0,\"provisioningState\":\"Succeeded\",\"instanceView\":{\"exitCode\":0,\"executionState\":\"Succeeded\",\"executionMessage\":\"RunCommand script execution completed\",\"output\":\"Hello World!\",\"error\":\"\",\"startTime\":\"2024-09-20T03:07:19.7240034+00:00\",\"endTime\":\"2024-09-20T03:07:20.0506909+00:00\"}}}", - "isContentBase64": false - } - }, - "Update-AzConnectedMachineRunCommand+[NoContext]+Update+$PUT+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine/runCommands/myRunCommand?api-version=2024-05-20-preview+2": { - "Request": { - "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine/runCommands/myRunCommand?api-version=2024-05-20-preview", - "Content": "{\r\n \"tags\": {\r\n \"Tag2\": \"tag2\",\r\n \"Tag1\": \"tag1\"\r\n },\r\n \"location\": \"centraluseuap\",\r\n \"properties\": {\r\n \"source\": {\r\n \"script\": \"Write-Host Hello World!\"\r\n },\r\n \"asyncExecution\": false,\r\n \"timeoutInSeconds\": 0\r\n }\r\n}", - "isContentBase64": false, - "Headers": { - }, - "ContentHeaders": { - "Content-Type": [ "application/json" ], - "Content-Length": [ "245" ] - } - }, - "Response": { - "StatusCode": 201, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationresults/09b5bc2d-d643-4629-aa9a-f63e62313e0d?api-version=2024-05-20-preview\u0026t=638623985699143105\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwNjIyMjE1NzIzWhcNMjUwNjE3MjE1NzIzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALhRxgv00I_kIXwCJCxn0QIbiBxztKV5N7VUsmJclkirZBo6v69H49qwFEyTyf6TsDRZiDyUNhhfYpqgthcgDoGvOa0_uYNIt0GINfkDoySgM3HurzdD12Zyaj2woPrEkxHdoetI4nepp_ytiAmF81Z7YZyv05HKxV_WspPeyLBxorHcJ_drtY13Ez5tLDFiX_NnqLjf1oZojfYarEmVhETopjp53RxjVOKKRI4K2YWjs44wk0T2jaYGo5macYriIx3aHAxhN0aCURkqI1nWMC6SkdMrP1wdgAcHD5niTqQC5ql2zaSMLmcGFm50nyqRNylI1LJdmgPwGhN_dGd0E6ECAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwY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AGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwEwDAYKKwYBBAGCN3sEATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADe3mHC76LsKVL9fkhYlwBSfOx_cb-6YFuiqGA60VGCoc_qwfcn9leu0FbnJEquloNzG8tG_ZwhaFVsQ-_we0Vgl03BjC-BOem7ZES6XywaYv4X1vEBc0SNaQ8EQVToFyCD9wf1ZGu5uv4jk-oILXl_CzdRsvuGKmprgkbrMIS6t5V8ds7REAX8SiE37hqdZU5hNT74RwV32cg3gLtbUsPK22Kv1gf5KsCUZe9tEsEkyq_bSxaNCWnh3lfmsstE0Jo_zL1O6cPKMMtvD21xFYchjWKjYGr1p5mGiM-OLLi8_ETKkYQTS0_gB7wZOGtsc0pIsvgAnqA-sMNn8Oy953Q4\u0026s=XagpdfjBOdg1sdvK4Ed5_RS1vJYwG8X25kPWi6kjQfgMFFrPzB34a3gQc5Z8nbF62lhnpn0peHAxFq2W7VJg2aR0Uowx3AHnQr2psQL7wZnpiQLNO-5uEadEO1aijw6Sk91aKJzqcLb7DaEMehHhMqjUDiIJ7iN90qgNYDcrmG6oaC6gHLwi_VoskadeJ1GuRLYTCGyjHFqnqjjOcn1udOzO_bNs8GAo7mjnkusJgpP3nr6Wyf2l9pmfkme5fgtU0uJ3OUO82KaLBQWbzhxTlENEu4tO5EPaQK-6WfFZS2EfkVFLVz3y5hD6dW0vrFJFH0Esws0oTYMWdzdnPFRqIg\u0026h=4dvZNiq7xEoOAuzUjCZi9bNc_uyAJS9weLdbEr7bY08" ], - "Retry-After": [ "120" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "319" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-request-id": [ "269038ec-1fe0-4886-9b5d-22ec70103e26" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/09b5bc2d-d643-4629-aa9a-f63e62313e0d?api-version=2024-05-20-preview\u0026t=638623985699143105\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwNjIyMjE1NzIzWhcNMjUwNjE3MjE1NzIzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALhRxgv00I_kIXwCJCxn0QIbiBxztKV5N7VUsmJclkirZBo6v69H49qwFEyTyf6TsDRZiDyUNhhfYpqgthcgDoGvOa0_uYNIt0GINfkDoySgM3HurzdD12Zyaj2woPrEkxHdoetI4nepp_ytiAmF81Z7YZyv05HKxV_WspPeyLBxorHcJ_drtY13Ez5tLDFiX_NnqLjf1oZojfYarEmVhETopjp53RxjVOKKRI4K2YWjs44wk0T2jaYGo5macYriIx3aHAxhN0aCURkqI1nWMC6SkdMrP1wdgAcHD5niTqQC5ql2zaSMLmcGFm50nyqRNylI1LJdmgPwGhN_dGd0E6ECAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTU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A2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwEwDAYKKwYBBAGCN3sEATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADe3mHC76LsKVL9fkhYlwBSfOx_cb-6YFuiqGA60VGCoc_qwfcn9leu0FbnJEquloNzG8tG_ZwhaFVsQ-_we0Vgl03BjC-BOem7ZES6XywaYv4X1vEBc0SNaQ8EQVToFyCD9wf1ZGu5uv4jk-oILXl_CzdRsvuGKmprgkbrMIS6t5V8ds7REAX8SiE37hqdZU5hNT74RwV32cg3gLtbUsPK22Kv1gf5KsCUZe9tEsEkyq_bSxaNCWnh3lfmsstE0Jo_zL1O6cPKMMtvD21xFYchjWKjYGr1p5mGiM-OLLi8_ETKkYQTS0_gB7wZOGtsc0pIsvgAnqA-sMNn8Oy953Q4\u0026s=O7aTEoNdcGHI4OoFpgLkQO6Gs5CN71NWX3dEb1stpHL2ZwtCql_nAuVzBnvVU4nXidABmOdRj6TJ3O8YdZIZOgqsO7pwxK5BLuoCRHDJBF_KkNMW2a1baqneByTo_OdDWtQWkRlkyA9Y3lkEoLJCkNMKbRz6xCRFZfWAQcmpzUsqdjY17LS0eLztp092RunfSWrlvmTob13g2v0gU6PBvHiBEMkuo8m9nTdTHka4zZfB-68eFqusMgN2zlqyiOttPKX0QwHT7uIJK8-56Zrx-31ImprK8UaAw13brKFxg_mnbeaJQNJ2lec8On6GHBayHOxcmoGYKZHhNhX25KZ9-w\u0026h=P30g3UCRa1HYHgtq9DW_AqFBSOQphqRh2fXMGizJAo8" ], - "x-ms-correlation-request-id": [ "42a42296-97a3-455d-ae43-10701f298a0e" ], - "x-ms-routing-request-id": [ "EASTUS:20240920T030929Z:42a42296-97a3-455d-ae43-10701f298a0e" ], - "X-Content-Type-Options": [ "nosniff" ], - "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: AE05DA9E015046A28EF01C590BEFD314 Ref B: MNZ221060610051 Ref C: 2024-09-20T03:09:28Z" ], - "Date": [ "Fri, 20 Sep 2024 03:09:29 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "441" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"myRunCommand\",\"type\":\"Microsoft.HybridCompute/machines/runcommands\",\"location\":\"centraluseuap\",\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine/runcommands/myRunCommand\",\"tags\":{\"Tag2\":\"tag2\",\"Tag1\":\"tag1\"},\"properties\":{\"source\":{\"script\":\"Write-Host Hello World!\"},\"asyncExecution\":false,\"timeoutInSeconds\":0,\"provisioningState\":\"Creating\"}}", - "isContentBase64": false - } - }, - "Update-AzConnectedMachineRunCommand+[NoContext]+Update+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/09b5bc2d-d643-4629-aa9a-f63e62313e0d?api-version=2024-05-20-preview\u0026t=638623985699143105\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwNjIyMjE1NzIzWhcNMjUwNjE3MjE1NzIzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALhRxgv00I_kIXwCJCxn0QIbiBxztKV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r1p5mGiM-OLLi8_ETKkYQTS0_gB7wZOGtsc0pIsvgAnqA-sMNn8Oy953Q4\u0026s=O7aTEoNdcGHI4OoFpgLkQO6Gs5CN71NWX3dEb1stpHL2ZwtCql_nAuVzBnvVU4nXidABmOdRj6TJ3O8YdZIZOgqsO7pwxK5BLuoCRHDJBF_KkNMW2a1baqneByTo_OdDWtQWkRlkyA9Y3lkEoLJCkNMKbRz6xCRFZfWAQcmpzUsqdjY17LS0eLztp092RunfSWrlvmTob13g2v0gU6PBvHiBEMkuo8m9nTdTHka4zZfB-68eFqusMgN2zlqyiOttPKX0QwHT7uIJK8-56Zrx-31ImprK8UaAw13brKFxg_mnbeaJQNJ2lec8On6GHBayHOxcmoGYKZHhNhX25KZ9-w\u0026h=P30g3UCRa1HYHgtq9DW_AqFBSOQphqRh2fXMGizJAo8+3": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/09b5bc2d-d643-4629-aa9a-f63e62313e0d?api-version=2024-05-20-preview\u0026t=638623985699143105\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwNjIyMjE1NzIzWhcNMjUwNjE3MjE1NzIzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALhRxgv00I_kIXwCJCxn0QIbiBxztKV5N7VUsmJclkirZBo6v69H49qwFEyTyf6TsDRZiDyUNhhfYpqgthcgDoGvOa0_uYNIt0GINfkDoySgM3HurzdD12Zya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LkQO6Gs5CN71NWX3dEb1stpHL2ZwtCql_nAuVzBnvVU4nXidABmOdRj6TJ3O8YdZIZOgqsO7pwxK5BLuoCRHDJBF_KkNMW2a1baqneByTo_OdDWtQWkRlkyA9Y3lkEoLJCkNMKbRz6xCRFZfWAQcmpzUsqdjY17LS0eLztp092RunfSWrlvmTob13g2v0gU6PBvHiBEMkuo8m9nTdTHka4zZfB-68eFqusMgN2zlqyiOttPKX0QwHT7uIJK8-56Zrx-31ImprK8UaAw13brKFxg_mnbeaJQNJ2lec8On6GHBayHOxcmoGYKZHhNhX25KZ9-w\u0026h=P30g3UCRa1HYHgtq9DW_AqFBSOQphqRh2fXMGizJAo8", - "Content": null, - "isContentBase64": false, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "3" ], - "x-ms-client-request-id": [ "b2151958-5d4c-4350-bcba-e1d741e20fb0" ], - "CommandName": [ "Update-AzConnectedMachineRunCommand" ], - "FullCommandName": [ "Update-AzConnectedMachineRunCommand_UpdateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.5.0" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationresults/09b5bc2d-d643-4629-aa9a-f63e62313e0d?api-version=2024-05-20-preview\u0026t=638623986912570731\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwNjIyMjE1NzIzWhcNMjUwNjE3MjE1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aQ8EQVToFyCD9wf1ZGu5uv4jk-oILXl_CzdRsvuGKmprgkbrMIS6t5V8ds7REAX8SiE37hqdZU5hNT74RwV32cg3gLtbUsPK22Kv1gf5KsCUZe9tEsEkyq_bSxaNCWnh3lfmsstE0Jo_zL1O6cPKMMtvD21xFYchjWKjYGr1p5mGiM-OLLi8_ETKkYQTS0_gB7wZOGtsc0pIsvgAnqA-sMNn8Oy953Q4\u0026s=QqpmcXD_uZGkkarlnkybBLq0I761W7alKGuUkoRo5iKtBikDwKoAgAEpJ0MSkS70-niplR9h8xCbMCNyRZ73iBxuq1Uu_M2Gg7saHFsbFEmtETu3lD8Qz1dMj6RqPUbVl-AQtlsiuIJmiG4mvJD1E3hh09GG0VZ80rDXlgvQ6dOxQnAhvP2bQJPIekdXM2k-_eFi4Zyo16MBfXJDRJSZ29BKEdkrVGhRIoH4llWCm2-sDNB-b5JlXvMKwGV5Gx8Vp-DpTxKmAMvWTxBar9c3H7D_FoxFZlD0vq7-0vCmWxtWs3GoE3mSVMkFzHSdmrJa-9tZqJq7V6M0UIl4BO5lyQ\u0026h=QwSUqN9I4rrBIxBcsTGvtF-6I2GwPszJhlnHbebiYZ4" ], - "Retry-After": [ "15" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-request-id": [ "d0989d40-a658-4a94-ae28-d30a1cbef936" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/09b5bc2d-d643-4629-aa9a-f63e62313e0d?api-version=2024-05-20-preview\u0026t=638623986912570731\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5m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tG_ZwhaFVsQ-_we0Vgl03BjC-BOem7ZES6XywaYv4X1vEBc0SNaQ8EQVToFyCD9wf1ZGu5uv4jk-oILXl_CzdRsvuGKmprgkbrMIS6t5V8ds7REAX8SiE37hqdZU5hNT74RwV32cg3gLtbUsPK22Kv1gf5KsCUZe9tEsEkyq_bSxaNCWnh3lfmsstE0Jo_zL1O6cPKMMtvD21xFYchjWKjYGr1p5mGiM-OLLi8_ETKkYQTS0_gB7wZOGtsc0pIsvgAnqA-sMNn8Oy953Q4\u0026s=LJnui7lvxEFwv0KgAZU2h1sdLkCcQDhPlSjfvNOyf7Y9iXasfnoRSj_8XxqTYD7yVmLgvzPjzJg_wAiMbbUjqIMlpsJDBI5J5ij5TVkLzuOfvfATEDeJW8vJoSQCtYW1uADAcAkk7Bo_DYbFo3hmcAy-eTdwSOSRtcQWl7JU6MTrpzJIBd9-tIYWK81XQae7QAGJuGyNs4icYPpE9dxuS5JXlcDX0wPt1MNKoB4ytXCWpjnFxNCtruvcdi3EImr5Orsg6jl6Mre6kJx3cdllqyfcIbz6Xw803doaDb8OClVOE8gYCk0of_lI0uHFuDrmghMacLe9KrPWSEE5_ovXlQ\u0026h=lkBxZKSLuVDpS6u0O6NXXEqj8xyvwVfNWYy3pzILQhA" ], - "x-ms-correlation-request-id": [ "c877dcee-0932-41ee-94ab-4dddaeb5297f" ], - "x-ms-routing-request-id": [ "EASTUS:20240920T031131Z:c877dcee-0932-41ee-94ab-4dddaeb5297f" ], - "X-Content-Type-Options": [ "nosniff" ], - "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: CF76F06275D64FDEB896C7762FAA5947 Ref B: MNZ221060609035 Ref C: 2024-09-20T03:11:31Z" ], - "Date": [ "Fri, 20 Sep 2024 03:11:30 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "112" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"09b5bc2d-d643-4629-aa9a-f63e62313e0d\",\"status\":\"InProgress\",\"startTime\":\"2024-09-20T03:09:29.5500304Z\"}", - "isContentBase64": false - } - }, - "Update-AzConnectedMachineRunCommand+[NoContext]+Update+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/09b5bc2d-d643-4629-aa9a-f63e62313e0d?api-version=2024-05-20-preview\u0026t=638623986912570731\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwNjIyMjE1NzIzWhcNMjUwNjE3MjE1NzIzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALhRxgv00I_kIXwCJCxn0QIbiBxztKV5N7VUsmJclkirZBo6v69H49qwFEyTyf6TsDRZiDyUNhhfYpqgthcgDoGvOa0_uYNIt0GINfkDoySgM3HurzdD12Zyaj2woPrEkxHdoetI4nepp_ytiAmF81Z7YZyv05HKxV_WspPeyLBxorHcJ_drtY13Ez5tLDFiX_NnqLjf1oZojfYarEmVhETopjp53RxjVOKKRI4K2YWjs44wk0T2jaYGo5macYriIx3aHAxhN0aCURkqI1nWMC6SkdMrP1wdgAcHD5niTqQC5ql2zaSMLmcGFm50nyqRNylI1LJdmgPwGhN_dGd0E6ECAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAW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3pzILQhA+4": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/09b5bc2d-d643-4629-aa9a-f63e62313e0d?api-version=2024-05-20-preview\u0026t=638623986912570731\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwNjIyMjE1NzIzWhcNMjUwNjE3MjE1NzIzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALhRxgv00I_kIXwCJCxn0QIbiBxztKV5N7VUsmJclkirZBo6v69H49qwFEyTyf6TsDRZiDyUNhhfYpqgthcgDoGvOa0_uYNIt0GINfkDoySgM3HurzdD12Zyaj2woPrEkxHdoetI4nepp_ytiAmF81Z7YZyv05HKxV_WspPeyLBxorHcJ_drtY13Ez5tLDFiX_NnqLjf1oZojfYarEmVhETopjp53RxjVOKKRI4K2YWjs44wk0T2jaYGo5macYriIx3aHAxhN0aCURkqI1nWMC6SkdMrP1wdgAcHD5niTqQC5ql2zaSMLmcGFm50nyqRNylI1LJdmgPwGhN_dGd0E6ECAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29md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gwVgYIKwYBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwEwDAYKKwYBBAGCN3sEATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADe3mHC76LsKVL9fkhYlwBSfOx_cb-6YFuiqGA60VGCoc_qwfcn9leu0FbnJEquloNzG8tG_ZwhaFVsQ-_we0Vgl03BjC-BOem7ZES6XywaYv4X1vEBc0SNaQ8EQVToFyCD9wf1ZGu5uv4jk-oILXl_CzdRsvuGKmprgkbrMIS6t5V8ds7REAX8SiE37hqdZU5hNT74RwV32cg3gLtbUsPK22Kv1gf5KsCUZe9tEsEkyq_bSxaNCWnh3lfmsstE0Jo_zL1O6cPKMMtvD21xFYchjWKjYGr1p5mGiM-OLLi8_ETKkYQTS0_gB7wZOGtsc0pIsvgAnqA-sMNn8Oy953Q4\u0026s=LJnui7lvxEFwv0KgAZU2h1sdLkCcQDhPlSjfvNOyf7Y9iXasfnoRSj_8XxqTYD7yVmLgvzPjzJg_wAiMbbUjqIMlpsJDBI5J5ij5TVkLzuOfvfATEDeJW8vJoSQCtYW1uADAcAkk7Bo_DYbFo3hmcAy-eTdwSOSRtcQWl7JU6MTrpzJIBd9-tIYWK81XQae7QAGJuGyNs4icYPpE9dxuS5JXlcDX0wPt1MNKoB4ytXCWpjnFxNCtruvcdi3EImr5Orsg6jl6Mre6kJx3cdllqyfcIbz6Xw803doaDb8OClVOE8gYCk0of_lI0uHFuDrmghMacLe9KrPWSEE5_ovXlQ\u0026h=lkBxZKSLuVDpS6u0O6NXXEqj8xyvwVfNWYy3pzILQhA", - "Content": null, - "isContentBase64": false, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "4" ], - "x-ms-client-request-id": [ "b2151958-5d4c-4350-bcba-e1d741e20fb0" ], - "CommandName": [ "Update-AzConnectedMachineRunCommand" ], - "FullCommandName": [ "Update-AzConnectedMachineRunCommand_UpdateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.5.0" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationresults/09b5bc2d-d643-4629-aa9a-f63e62313e0d?api-version=2024-05-20-preview\u0026t=638623987066202993\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwNjIyMjE1NzIzWhcNMjUwNjE3MjE1NzIzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALhRxgv00I_kIXwCJCxn0QIbiBxztKV5N7VUsmJclkirZBo6v69H49qwFEyTyf6TsDRZiDyUNhhfYpqgthcgDoGvOa0_uYNIt0GINfkDoySgM3HurzdD12Zyaj2woPrEkxHdoetI4nepp_ytiAmF81Z7YZyv05HKxV_WspPeyLBxorHcJ_drtY13Ez5tLDFiX_NnqLjf1oZojfYarEmVhETopjp53RxjVOKKRI4K2YWjs44wk0T2jaYGo5macYriIx3aHAxhN0aCURkqI1nWMC6SkdMrP1wdgAcHD5niTqQC5ql2zaSMLmc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AyP67yHNqKwNds-31DDz-GKM9xv7hvIPNj22mUzVoUmpFdfb5PA4y9ZifmYoXFhhUMomPje87ImyzUgLvm6ZZOwIEqskH3JRBwxBRXyylVEXLBEJJ_gsWi362asM9II0HKJJabYP2Q_RkbbqA\u0026h=CyAwLNMXdJiuJPrOtSy8IsnZRo5GKbBrOGNCxUQ4K98" ], - "Retry-After": [ "15" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-request-id": [ "a5f2ef16-28cf-4b0d-a9b1-3c0eaa1edd7b" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/09b5bc2d-d643-4629-aa9a-f63e62313e0d?api-version=2024-05-20-preview\u0026t=638623987066202993\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwNjIyMjE1NzIzWhcNMjUwNjE3MjE1NzIzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALhRxgv00I_kIXwCJCxn0QIbiBxztKV5N7VUsmJclkirZBo6v69H49qwFEyTyf6TsDRZiDyUNhhfYpqgthcgDoGvOa0_uYNIt0GINfkDoySgM3HurzdD12Zyaj2woPrEkxHdoetI4nepp_ytiAmF81Z7YZyv05HKxV_WspPeyLBxorHcJ_drtY13Ez5tLDFiX_NnqLjf1oZojfYarEmVhETopjp53RxjVOKKRI4K2YWjs44wk0T2jaYGo5macYriIx3aH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zNUxZ4BrF4bdovMYSc1L9CCyGs1_CMttzR-3QhrUkESMS4vnOG1WsSNeNPiW-TmIm12YwHJAazZyzsmt_8nL5BtfTv8q8Fu1diKjM-KwMIrqOaVbWgSsu7ja9CRTSES2dtnmw0E2DIjJHxTNC2lgxLQaFIboEbMSKco-Kro8eq6QYTn8Ac6otPSIQ\u0026h=h7qjipYBVnoNnHnnwdEb8cuWW-z4c97v81MfCEjGB_c" ], - "x-ms-correlation-request-id": [ "dfb3fbd2-dcd2-444d-a75c-6fde9b2c45e2" ], - "x-ms-routing-request-id": [ "EASTUS:20240920T031146Z:dfb3fbd2-dcd2-444d-a75c-6fde9b2c45e2" ], - "X-Content-Type-Options": [ "nosniff" ], - "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: FB4A18ACDE40451E81A86A66ED61DDB0 Ref B: MNZ221060609035 Ref C: 2024-09-20T03:11:46Z" ], - "Date": [ "Fri, 20 Sep 2024 03:11:46 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "112" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"09b5bc2d-d643-4629-aa9a-f63e62313e0d\",\"status\":\"InProgress\",\"startTime\":\"2024-09-20T03:09:29.5500304Z\"}", - "isContentBase64": false - } - }, - "Update-AzConnectedMachineRunCommand+[NoContext]+Update+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/09b5bc2d-d643-4629-aa9a-f63e62313e0d?api-version=2024-05-20-preview\u0026t=638623987066202993\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwNjIyMjE1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7ZES6XywaYv4X1vEBc0SNaQ8EQVToFyCD9wf1ZGu5uv4jk-oILXl_CzdRsvuGKmprgkbrMIS6t5V8ds7REAX8SiE37hqdZU5hNT74RwV32cg3gLtbUsPK22Kv1gf5KsCUZe9tEsEkyq_bSxaNCWnh3lfmsstE0Jo_zL1O6cPKMMtvD21xFYchjWKjYGr1p5mGiM-OLLi8_ETKkYQTS0_gB7wZOGtsc0pIsvgAnqA-sMNn8Oy953Q4\u0026s=ncaXDzAzuTo0bidS8y3mo__5YBQVk9sz3c09b-EFwfWPTarCEpJtArul6OYap8aWt_T5m0rbUNQI7qQl2kbnBAMH6quq4H69ASS0LZFasCJxRcqus2nvZ4pYZhIslJHG-aps6qm6C25fyFiePJLJu9VtUPPkUzNUxZ4BrF4bdovMYSc1L9CCyGs1_CMttzR-3QhrUkESMS4vnOG1WsSNeNPiW-TmIm12YwHJAazZyzsmt_8nL5BtfTv8q8Fu1diKjM-KwMIrqOaVbWgSsu7ja9CRTSES2dtnmw0E2DIjJHxTNC2lgxLQaFIboEbMSKco-Kro8eq6QYTn8Ac6otPSIQ\u0026h=h7qjipYBVnoNnHnnwdEb8cuWW-z4c97v81MfCEjGB_c+5": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/09b5bc2d-d643-4629-aa9a-f63e62313e0d?api-version=2024-05-20-preview\u0026t=638623987066202993\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwNjIyMjE1NzIzWhcNMjUwNjE3MjE1NzIzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2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8SiE37hqdZU5hNT74RwV32cg3gLtbUsPK22Kv1gf5KsCUZe9tEsEkyq_bSxaNCWnh3lfmsstE0Jo_zL1O6cPKMMtvD21xFYchjWKjYGr1p5mGiM-OLLi8_ETKkYQTS0_gB7wZOGtsc0pIsvgAnqA-sMNn8Oy953Q4\u0026s=ncaXDzAzuTo0bidS8y3mo__5YBQVk9sz3c09b-EFwfWPTarCEpJtArul6OYap8aWt_T5m0rbUNQI7qQl2kbnBAMH6quq4H69ASS0LZFasCJxRcqus2nvZ4pYZhIslJHG-aps6qm6C25fyFiePJLJu9VtUPPkUzNUxZ4BrF4bdovMYSc1L9CCyGs1_CMttzR-3QhrUkESMS4vnOG1WsSNeNPiW-TmIm12YwHJAazZyzsmt_8nL5BtfTv8q8Fu1diKjM-KwMIrqOaVbWgSsu7ja9CRTSES2dtnmw0E2DIjJHxTNC2lgxLQaFIboEbMSKco-Kro8eq6QYTn8Ac6otPSIQ\u0026h=h7qjipYBVnoNnHnnwdEb8cuWW-z4c97v81MfCEjGB_c", - "Content": null, - "isContentBase64": false, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "5" ], - "x-ms-client-request-id": [ "b2151958-5d4c-4350-bcba-e1d741e20fb0" ], - "CommandName": [ "Update-AzConnectedMachineRunCommand" ], - "FullCommandName": [ "Update-AzConnectedMachineRunCommand_UpdateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.5.0" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationresults/09b5bc2d-d643-4629-aa9a-f63e62313e0d?api-version=2024-05-20-preview\u0026t=638623987221950896\u0026c=MIIHhzCC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iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADe3mHC76LsKVL9fkhYlwBSfOx_cb-6YFuiqGA60VGCoc_qwfcn9leu0FbnJEquloNzG8tG_ZwhaFVsQ-_we0Vgl03BjC-BOem7ZES6XywaYv4X1vEBc0SNaQ8EQVToFyCD9wf1ZGu5uv4jk-oILXl_CzdRsvuGKmprgkbrMIS6t5V8ds7REAX8SiE37hqdZU5hNT74RwV32cg3gLtbUsPK22Kv1gf5KsCUZe9tEsEkyq_bSxaNCWnh3lfmsstE0Jo_zL1O6cPKMMtvD21xFYchjWKjYGr1p5mGiM-OLLi8_ETKkYQTS0_gB7wZOGtsc0pIsvgAnqA-sMNn8Oy953Q4\u0026s=JKwZOqh5h_HMXGvu8RXQ5-XB7uhVH4gjIT3wLnrbYr7He-tOjNe1yO9E59NT7py9r7gXUmFSoZrXIuuZnY4KX27hLjAPs3t-y6oURo2oRL0mbkvQNRJS1WhqjQKNNS9oNL2AyYhBHiI7ZugysCIkZajbgWKlD8If56ZPwmsMbM03VVbvPmhNP3QFQjN7qfviagf6j1SPf9lwS50_wsaz5ssgzVwoEvY_CnZa3v-mhFFxerXhUn3o7Mrsx46C7ozKIcEyYi2jKyhc4lMmpQ9ZKAGhbVJiUfIKPsITMVt6kmDL8eS8pBHavE2-9NVZCvf5tiAfsj3n9jKyzwf-m_pqgQ\u0026h=hM_ahYXa7Z-oX3YAsibbKCgwp86auHMIOhpFCNxHyGE" ], - "Retry-After": [ "15" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-request-id": [ "c00068f5-4c7e-499c-bb84-0e46c132ba62" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/09b5bc2d-d643-4629-aa9a-f63e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YBBAGCN3sEATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADe3mHC76LsKVL9fkhYlwBSfOx_cb-6YFuiqGA60VGCoc_qwfcn9leu0FbnJEquloNzG8tG_ZwhaFVsQ-_we0Vgl03BjC-BOem7ZES6XywaYv4X1vEBc0SNaQ8EQVToFyCD9wf1ZGu5uv4jk-oILXl_CzdRsvuGKmprgkbrMIS6t5V8ds7REAX8SiE37hqdZU5hNT74RwV32cg3gLtbUsPK22Kv1gf5KsCUZe9tEsEkyq_bSxaNCWnh3lfmsstE0Jo_zL1O6cPKMMtvD21xFYchjWKjYGr1p5mGiM-OLLi8_ETKkYQTS0_gB7wZOGtsc0pIsvgAnqA-sMNn8Oy953Q4\u0026s=op9Pa9HGiBmiAEjYhqQoPREvdbr38cir1Z8FYB_1bjadkASA9n8mRDkbNGBtR139hPSeV73S5Rg312oUCdvcp9e_J2D5NqDTjWcQb9PlDL2K_r8H5ShfAJA3QRWzsU9SujCuiibRcR1hE0a13zRbsyRSRI_j59bHXPJBAdpe4HWQRSbY-jrJa8tzYGTPwe0q82dvN-i42gy7Uptj_ALdD2ta2lb4FPOFxNa6zQxstSKh03CwFbIkTKqVFuos9tRbsfgz3PTYb22o6QubJY36WsZH8coL3LohFlQJwdiBRlQIu2za7piGw28rRkXGp07g3mO1FTkwtiNpkd2UP5qYvw\u0026h=tspc38pH_skt3lFujeTxPCOO5TsWh_i5ZNXF1NqzIqA" ], - "x-ms-correlation-request-id": [ "58b6751e-e159-4d54-b83c-587e75832bec" ], - "x-ms-routing-request-id": [ "EASTUS:20240920T031202Z:58b6751e-e159-4d54-b83c-587e75832bec" ], - "X-Content-Type-Options": [ "nosniff" ], - "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 1295DEEBBCCE4358B06D61A44DC6D2F8 Ref B: MNZ221060609035 Ref C: 2024-09-20T03:12:01Z" ], - "Date": [ "Fri, 20 Sep 2024 03:12:01 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "112" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"09b5bc2d-d643-4629-aa9a-f63e62313e0d\",\"status\":\"InProgress\",\"startTime\":\"2024-09-20T03:09:29.5500304Z\"}", - "isContentBase64": false - } - }, - "Update-AzConnectedMachineRunCommand+[NoContext]+Update+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/09b5bc2d-d643-4629-aa9a-f63e62313e0d?api-version=2024-05-20-preview\u0026t=638623987221794667\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwNjIyMjE1NzIzWhcNMjUwNjE3MjE1NzIzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALhRxgv00I_kIXwCJCxn0QIbiBxztKV5N7VUsmJclkirZBo6v69H49qwFEyTyf6TsDRZiDyUNhhfYpqgthcgDoGvOa0_uYNIt0GINfkDoySgM3HurzdD12Zyaj2woPrEkxHdoetI4nepp_ytiAmF81Z7YZyv05HKxV_WspPeyLBxorHcJ_drtY13Ez5tLDFiX_NnqLjf1oZojfYarEmVhETopjp53RxjVOKKRI4K2YWjs44wk0T2jaYGo5macYriIx3aHAxhN0aCURkqI1nWMC6SkdMrP1wdgAcHD5niTqQC5ql2zaSMLmcGFm50nyqRNylI1LJdmgP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FxNa6zQxstSKh03CwFbIkTKqVFuos9tRbsfgz3PTYb22o6QubJY36WsZH8coL3LohFlQJwdiBRlQIu2za7piGw28rRkXGp07g3mO1FTkwtiNpkd2UP5qYvw\u0026h=tspc38pH_skt3lFujeTxPCOO5TsWh_i5ZNXF1NqzIqA+6": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/09b5bc2d-d643-4629-aa9a-f63e62313e0d?api-version=2024-05-20-preview\u0026t=638623987221794667\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwNjIyMjE1NzIzWhcNMjUwNjE3MjE1NzIzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALhRxgv00I_kIXwCJCxn0QIbiBxztKV5N7VUsmJclkirZBo6v69H49qwFEyTyf6TsDRZiDyUNhhfYpqgthcgDoGvOa0_uYNIt0GINfkDoySgM3HurzdD12Zyaj2woPrEkxHdoetI4nepp_ytiAmF81Z7YZyv05HKxV_WspPeyLBxorHcJ_drtY13Ez5tLDFiX_NnqLjf1oZojfYarEmVhETopjp53RxjVOKKRI4K2YWjs44wk0T2jaYGo5macYriIx3aHAxhN0aCURkqI1nWMC6SkdMrP1wdgAcHD5niTqQC5ql2zaSMLmcGFm50nyqRNylI1LJdmgPwGhN_dGd0E6ECAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQY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O1FTkwtiNpkd2UP5qYvw\u0026h=tspc38pH_skt3lFujeTxPCOO5TsWh_i5ZNXF1NqzIqA", - "Content": null, - "isContentBase64": false, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "6" ], - "x-ms-client-request-id": [ "b2151958-5d4c-4350-bcba-e1d741e20fb0" ], - "CommandName": [ "Update-AzConnectedMachineRunCommand" ], - "FullCommandName": [ "Update-AzConnectedMachineRunCommand_UpdateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.5.0" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationresults/09b5bc2d-d643-4629-aa9a-f63e62313e0d?api-version=2024-05-20-preview\u0026t=638623987376140254\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwNjIyMjE1NzIzWhcNMjUwNjE3MjE1NzIzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALhRxgv00I_kIXwCJCxn0QIbiBxztKV5N7VUsmJclkirZBo6v69H49qwFEyTyf6TsDRZiDyUNhhfYpqgthcgDoGvOa0_uYNIt0GINfkDoySgM3HurzdD12Zyaj2woPrEkxHdoetI4nepp_ytiAmF81Z7YZyv05HKxV_WspPe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KErVFzbAv-stnqHPVEEuRUjC3P_I1yztsrXucJg2hvYAIbYilC9546nRbbyXi8qw0hQMfkUf10_8h2Qh34d1lHuEcd7vkN4n5ycEGRzYYqi2HMggduikfPprxdzgYFmK0ll-TmzvCDPfGUnUfzlaxpe8wWPeceobuDdYr2-mYUFTkiiuab_asOY_10gfEi1RoQXRUIBN9MG6FPdE4jSHaiUalBP8GC4tUxt_8Tr4qLMs-but6GgKz2qIq1BomcEqjYNZQ7N01a4KciEun2tcYPOA\u0026h=GjnM0f2jnzsG5Df88Ly0PBnKVo_Ghc_Oj2lPJIOOlXE" ], - "Retry-After": [ "15" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-request-id": [ "a44bd84c-94af-4bf9-b864-8a071b23b935" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/09b5bc2d-d643-4629-aa9a-f63e62313e0d?api-version=2024-05-20-preview\u0026t=638623987376140254\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwNjIyMjE1NzIzWhcNMjUwNjE3MjE1NzIzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALhRxgv00I_kIXwCJCxn0QIbiBxztKV5N7VUsmJclkirZBo6v69H49qwFEyTyf6TsDRZiDyUNhhfYpqgthcgDoGvOa0_uYNIt0GINfkDoySgM3HurzdD12Zyaj2woPrEk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IaFcEbPZz0pSBw5OH5l9xU9XwaunBHlyGc8cXmsATlc8Mto7tU_cJ6hC1yWAphEjH_p6cdkgLYtUBZFN1ErEXrtac4oKTd7biTT0TDI8STByF_s2SGvb6QFF8jI-OmY-y8bGBYwj8etN1NKc_-XYjOxXtbWF-JW9hT0b0COE3hxTh-KnXE3MFyVJgSlez88M-jan96JJZsSrJ2K87v5N_y7l2PWZSK6lVlgtOPsR3C92sLOct2_mY6wkskjlswGCGczR8tNUgJSjTPsGu1hpI1CaWrorWAkSNg4YTeMjU6-eeG5GFnxayAT011oXQ\u0026h=Dfo76KmFUYnRagTp1WkJZVOLlY5sZ7CxNDIm4ubSZmw" ], - "x-ms-correlation-request-id": [ "431f92ae-49dc-4e63-bd9f-9f22fe746faf" ], - "x-ms-routing-request-id": [ "EASTUS:20240920T031217Z:431f92ae-49dc-4e63-bd9f-9f22fe746faf" ], - "X-Content-Type-Options": [ "nosniff" ], - "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 44543543861A4721AE96CA3918D702E0 Ref B: MNZ221060609035 Ref C: 2024-09-20T03:12:17Z" ], - "Date": [ "Fri, 20 Sep 2024 03:12:17 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "112" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"09b5bc2d-d643-4629-aa9a-f63e62313e0d\",\"status\":\"InProgress\",\"startTime\":\"2024-09-20T03:09:29.5500304Z\"}", - "isContentBase64": false - } - }, - "Update-AzConnectedMachineRunCommand+[NoContext]+Update+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/09b5bc2d-d643-4629-aa9a-f63e62313e0d?api-version=2024-05-20-preview\u0026t=638623987376140254\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADB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oZIhvcNAQELBQADggEBADe3mHC76LsKVL9fkhYlwBSfOx_cb-6YFuiqGA60VGCoc_qwfcn9leu0FbnJEquloNzG8tG_ZwhaFVsQ-_we0Vgl03BjC-BOem7ZES6XywaYv4X1vEBc0SNaQ8EQVToFyCD9wf1ZGu5uv4jk-oILXl_CzdRsvuGKmprgkbrMIS6t5V8ds7REAX8SiE37hqdZU5hNT74RwV32cg3gLtbUsPK22Kv1gf5KsCUZe9tEsEkyq_bSxaNCWnh3lfmsstE0Jo_zL1O6cPKMMtvD21xFYchjWKjYGr1p5mGiM-OLLi8_ETKkYQTS0_gB7wZOGtsc0pIsvgAnqA-sMNn8Oy953Q4\u0026s=aJzQ57qPEz2BtsRgKL8jy1d5pIaFcEbPZz0pSBw5OH5l9xU9XwaunBHlyGc8cXmsATlc8Mto7tU_cJ6hC1yWAphEjH_p6cdkgLYtUBZFN1ErEXrtac4oKTd7biTT0TDI8STByF_s2SGvb6QFF8jI-OmY-y8bGBYwj8etN1NKc_-XYjOxXtbWF-JW9hT0b0COE3hxTh-KnXE3MFyVJgSlez88M-jan96JJZsSrJ2K87v5N_y7l2PWZSK6lVlgtOPsR3C92sLOct2_mY6wkskjlswGCGczR8tNUgJSjTPsGu1hpI1CaWrorWAkSNg4YTeMjU6-eeG5GFnxayAT011oXQ\u0026h=Dfo76KmFUYnRagTp1WkJZVOLlY5sZ7CxNDIm4ubSZmw+7": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/09b5bc2d-d643-4629-aa9a-f63e62313e0d?api-version=2024-05-20-preview\u0026t=638623987376140254\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5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8tG_ZwhaFVsQ-_we0Vgl03BjC-BOem7ZES6XywaYv4X1vEBc0SNaQ8EQVToFyCD9wf1ZGu5uv4jk-oILXl_CzdRsvuGKmprgkbrMIS6t5V8ds7REAX8SiE37hqdZU5hNT74RwV32cg3gLtbUsPK22Kv1gf5KsCUZe9tEsEkyq_bSxaNCWnh3lfmsstE0Jo_zL1O6cPKMMtvD21xFYchjWKjYGr1p5mGiM-OLLi8_ETKkYQTS0_gB7wZOGtsc0pIsvgAnqA-sMNn8Oy953Q4\u0026s=aJzQ57qPEz2BtsRgKL8jy1d5pIaFcEbPZz0pSBw5OH5l9xU9XwaunBHlyGc8cXmsATlc8Mto7tU_cJ6hC1yWAphEjH_p6cdkgLYtUBZFN1ErEXrtac4oKTd7biTT0TDI8STByF_s2SGvb6QFF8jI-OmY-y8bGBYwj8etN1NKc_-XYjOxXtbWF-JW9hT0b0COE3hxTh-KnXE3MFyVJgSlez88M-jan96JJZsSrJ2K87v5N_y7l2PWZSK6lVlgtOPsR3C92sLOct2_mY6wkskjlswGCGczR8tNUgJSjTPsGu1hpI1CaWrorWAkSNg4YTeMjU6-eeG5GFnxayAT011oXQ\u0026h=Dfo76KmFUYnRagTp1WkJZVOLlY5sZ7CxNDIm4ubSZmw", - "Content": null, - "isContentBase64": false, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "7" ], - "x-ms-client-request-id": [ "b2151958-5d4c-4350-bcba-e1d741e20fb0" ], - "CommandName": [ "Update-AzConnectedMachineRunCommand" ], - "FullCommandName": [ "Update-AzConnectedMachineRunCommand_UpdateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.5.0" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationresults/09b5bc2d-d643-4629-aa9a-f63e62313e0d?api-version=2024-05-20-preview\u0026t=638623987531061843\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwNjIyMjE1NzIzWhcNMjUwNjE3MjE1NzIzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALhRxgv00I_kIXwCJCxn0QIbiBxztKV5N7VUsmJclkirZBo6v69H49qwFEyTyf6TsDRZiDyUNhhfYpqgthcgDoGvOa0_uYNIt0GINfkDoySgM3HurzdD12Zyaj2woPrEkxHdoetI4nepp_ytiAmF81Z7YZyv05HKxV_WspPeyLBxorHcJ_drtY13Ez5tLDFiX_NnqLjf1oZojfYarEmVhETopjp53RxjVOKKRI4K2YWjs44wk0T2jaYGo5macYriIx3aHAxhN0aCURkqI1nWMC6SkdMrP1wdgAcHD5niTqQC5ql2zaSMLmcGFm50nyqRNylI1LJdmgPwGhN_dGd0E6ECAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyM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jAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwEwDAYKKwYBBAGCN3sEATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADe3mHC76LsKVL9fkhYlwBSfOx_cb-6YFuiqGA60VGCoc_qwfcn9leu0FbnJEquloNzG8tG_ZwhaFVsQ-_we0Vgl03BjC-BOem7ZES6XywaYv4X1vEBc0SNaQ8EQVToFyCD9wf1ZGu5uv4jk-oILXl_CzdRsvuGKmprgkbrMIS6t5V8ds7REAX8SiE37hqdZU5hNT74RwV32cg3gLtbUsPK22Kv1gf5KsCUZe9tEsEkyq_bSxaNCWnh3lfmsstE0Jo_zL1O6cPKMMtvD21xFYchjWKjYGr1p5mGiM-OLLi8_ETKkYQTS0_gB7wZOGtsc0pIsvgAnqA-sMNn8Oy953Q4\u0026s=K87WuruJO5G_t3-p-h1ZJoc8OqhtBp4_zXyElkoUpa1WAkWkQ5buk-PaMtg6B3tzHC2iMk7KdgSd9VC3xvRJBM-k_x3QlyeuXMxRSGgQ0y6yTePNDXKxKZ3s9HD3kF371eHcbFcGKhYlcAERCh73qR2a0Z646SagMWjTIbhV5dG4NMz6B8Btgk88SuuGSDhrzi3HsHClr09GdThF9UNKQM8wV56RsXRfqxkMO3X9NR9alPH7hpHLnQzb1xNeXyEAkB00bF98SYwMkwv3RZevQvs-66NEbyiz1ZPQKVYQHQzpJvzI4nzB64tKmFl6zaCwQ8GLBnLIS9mouhXe4IEaBQ\u0026h=AW9qQnEMh16ZEs78KGJEmFaz6G_WRBdyz41GoGC5vU0" ], - "Retry-After": [ "15" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-request-id": [ "1a7ba359-78f9-4cc5-9221-0644a92b2fc7" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/09b5bc2d-d643-4629-aa9a-f63e62313e0d?api-version=2024-05-20-preview\u0026t=638623987530905555\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwNjIyMjE1NzIzWhcNMjUwNjE3MjE1NzIzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALhRxgv00I_kIXwCJCxn0QIbiBxztKV5N7VUsmJclkirZBo6v69H49qwFEyTyf6TsDRZiDyUNhhfYpqgthcgDoGvOa0_uYNIt0GINfkDoySgM3HurzdD12Zyaj2woPrEkxHdoetI4nepp_ytiAmF81Z7YZyv05HKxV_WspPeyLBxorHcJ_drtY13Ez5tLDFiX_NnqLjf1oZojfYarEmVhETopjp53RxjVOKKRI4K2YWjs44wk0T2jaYGo5macYriIx3aHAxhN0aCURkqI1nWMC6SkdMrP1wdgAcHD5niTqQC5ql2zaSMLmcGFm50nyqRNylI1LJdmgPwGhN_dGd0E6ECAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2V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ADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwEwDAYKKwYBBAGCN3sEATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADe3mHC76LsKVL9fkhYlwBSfOx_cb-6YFuiqGA60VGCoc_qwfcn9leu0FbnJEquloNzG8tG_ZwhaFVsQ-_we0Vgl03BjC-BOem7ZES6XywaYv4X1vEBc0SNaQ8EQVToFyCD9wf1ZGu5uv4jk-oILXl_CzdRsvuGKmprgkbrMIS6t5V8ds7REAX8SiE37hqdZU5hNT74RwV32cg3gLtbUsPK22Kv1gf5KsCUZe9tEsEkyq_bSxaNCWnh3lfmsstE0Jo_zL1O6cPKMMtvD21xFYchjWKjYGr1p5mGiM-OLLi8_ETKkYQTS0_gB7wZOGtsc0pIsvgAnqA-sMNn8Oy953Q4\u0026s=ailXpXwaZc-jPy6THptVwLjz5k3T9UWC3rsVd3nQGaVI6Bc-HKgnwBrGsPB67bty_7smcbaLd-e4kP3uXgVg4vIW8hwFraTCMgiUCgVJq2qGEOi7MNvqGCIu0g3VNCvwONXV1dqLzavDk2wp03j-R_YGWMVWuNXzDA4ZthHUgcpajI3t_2PZ5zYimfIBfLTsNA-r6t1iNoPffR293-9eTwVHIJH0TZ3X0uexyHzYAPdqzrQ1dfA0XSe6t_XDOsrdGq67HQFaDISU53pLbG16-3AZiykU0m0GjFXWS4EQjtHOuFP1Zd4DNcoISWcIxLz_FYoLtypYpPsqJTDol7Gsng\u0026h=ROuPMRa5zU6GRfGwlntGW3zYnxW3X_oJtHbdF4J7_aA" ], - "x-ms-correlation-request-id": [ "1de46dfb-e816-4584-a784-a5c9ff635246" ], - "x-ms-routing-request-id": [ "EASTUS:20240920T031233Z:1de46dfb-e816-4584-a784-a5c9ff635246" ], - "X-Content-Type-Options": [ "nosniff" ], - "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: B4BE5ABB86D5420587C00780A942C97A Ref B: MNZ221060609035 Ref C: 2024-09-20T03:12:32Z" ], - "Date": [ "Fri, 20 Sep 2024 03:12:32 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "112" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"09b5bc2d-d643-4629-aa9a-f63e62313e0d\",\"status\":\"InProgress\",\"startTime\":\"2024-09-20T03:09:29.5500304Z\"}", - "isContentBase64": false - } - }, - "Update-AzConnectedMachineRunCommand+[NoContext]+Update+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/09b5bc2d-d643-4629-aa9a-f63e62313e0d?api-version=2024-05-20-preview\u0026t=638623987530905555\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwNjIyMjE1NzIzWhcNMjUwNjE3MjE1NzIzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALhRxgv00I_kIXwCJCxn0QIbiBxztKV5N7VUsmJclkirZBo6v69H49qwFEyTyf6TsDRZiDyUNhhfYpqgthcgDoGvOa0_uYNIt0GINfkDoySgM3HurzdD12Zyaj2woPrEkxHdoetI4nepp_ytiAmF81Z7YZyv05HKxV_WspPeyLBxorHcJ_drtY13Ez5tLDFiX_NnqLjf1o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UCgVJq2qGEOi7MNvqGCIu0g3VNCvwONXV1dqLzavDk2wp03j-R_YGWMVWuNXzDA4ZthHUgcpajI3t_2PZ5zYimfIBfLTsNA-r6t1iNoPffR293-9eTwVHIJH0TZ3X0uexyHzYAPdqzrQ1dfA0XSe6t_XDOsrdGq67HQFaDISU53pLbG16-3AZiykU0m0GjFXWS4EQjtHOuFP1Zd4DNcoISWcIxLz_FYoLtypYpPsqJTDol7Gsng\u0026h=ROuPMRa5zU6GRfGwlntGW3zYnxW3X_oJtHbdF4J7_aA+8": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/09b5bc2d-d643-4629-aa9a-f63e62313e0d?api-version=2024-05-20-preview\u0026t=638623987530905555\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwNjIyMjE1NzIzWhcNMjUwNjE3MjE1NzIzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALhRxgv00I_kIXwCJCxn0QIbiBxztKV5N7VUsmJclkirZBo6v69H49qwFEyTyf6TsDRZiDyUNhhfYpqgthcgDoGvOa0_uYNIt0GINfkDoySgM3HurzdD12Zyaj2woPrEkxHdoetI4nepp_ytiAmF81Z7YZyv05HKxV_WspPeyLBxorHcJ_drtY13Ez5tLDFiX_NnqLjf1oZojfYarEmVhETopjp53RxjVOKKRI4K2YWjs44wk0T2jaYGo5macYriIx3aHAxhN0aCURkqI1nWMC6SkdMrP1wdgA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5zYimfIBfLTsNA-r6t1iNoPffR293-9eTwVHIJH0TZ3X0uexyHzYAPdqzrQ1dfA0XSe6t_XDOsrdGq67HQFaDISU53pLbG16-3AZiykU0m0GjFXWS4EQjtHOuFP1Zd4DNcoISWcIxLz_FYoLtypYpPsqJTDol7Gsng\u0026h=ROuPMRa5zU6GRfGwlntGW3zYnxW3X_oJtHbdF4J7_aA", - "Content": null, - "isContentBase64": false, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "8" ], - "x-ms-client-request-id": [ "b2151958-5d4c-4350-bcba-e1d741e20fb0" ], - "CommandName": [ "Update-AzConnectedMachineRunCommand" ], - "FullCommandName": [ "Update-AzConnectedMachineRunCommand_UpdateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.5.0" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationresults/09b5bc2d-d643-4629-aa9a-f63e62313e0d?api-version=2024-05-20-preview\u0026t=638623987684708103\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwNjIyMjE1NzIzWhcNMjUwNjE3MjE1NzIzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALhRxgv00I_kIXwCJCxn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xFYchjWKjYGr1p5mGiM-OLLi8_ETKkYQTS0_gB7wZOGtsc0pIsvgAnqA-sMNn8Oy953Q4\u0026s=H5EDEdt4Y-wi_b-dAp-83GaaocGTmaEsSVlJu3v3kXRVrgJB1-M5476P5ZNBiwYOW2MfD5Op3eqqEW_2iNLaiZ0ASt5RD_mXmMLmTe_jmA1ESxgbAUl51dvbaT_RDYV_t2r1FhD7k1dbok-73oB9udVl4FrFVcKqr9wh39lKEH1nJ6S5FZTD7lxEAsWEGzAPKla31bYeebJC9rB3TRXoVLpBaMtag6UYb2bZda6TeeCiOyqTqVPzpdsXx3k2YHXJaJWB97q75RVpPRoe5bM64CJSlNGNXGBLMd4kBVIr6VqAWGLy63VOgTJ3n3G9HVzmLIHPX6kZA1R7eGlkozRgkw\u0026h=qCUCZjh-xDYScHZe7xSMMZ9o1Fj4U6s8TWXT98OvWk8" ], - "Retry-After": [ "15" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-request-id": [ "f96db0ba-f300-455d-b21f-1ba07173d3e5" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/09b5bc2d-d643-4629-aa9a-f63e62313e0d?api-version=2024-05-20-preview\u0026t=638623987684708103\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwNjIyMjE1NzIzWhcNMjUwNjE3MjE1NzIzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKo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9tEsEkyq_bSxaNCWnh3lfmsstE0Jo_zL1O6cPKMMtvD21xFYchjWKjYGr1p5mGiM-OLLi8_ETKkYQTS0_gB7wZOGtsc0pIsvgAnqA-sMNn8Oy953Q4\u0026s=n6JUxOq0ajmMNSHVc_QNkFvqskUWAq0FyuIiQrRxfAuLkihDp3a9gI12RYCktn1ush20wJXfDyUxc2ZCjC6yIiI4fYtdRyBWz_3NPWV5wKde1Mgj7ZWRnJfLOYbgdATXhFbs1cgIC_0t9PY-3b0eG_SWQ5ZrwDft8nX5XKwEkIgqsUIo1-TRdMbhXRuRU0Z7lG0yw6dLhhONGMX2_CSCv6xlk75Zqpv062tqRrWafgWNnw_aDfwPSof9W6KthmRJ81CNrnWOsBk5AE6seTHrlxVDoZ_bltpvG5UOELTzF5gDfID3HtlFnRqQdyBzhLSb37Jx-FonOuh2jvCoc9ixkQ\u0026h=E3gR2u1Gctp1_Jug6RpiYuijwvZohwmJL4w9MgD0V5o" ], - "x-ms-correlation-request-id": [ "344c82c3-3cb2-48dd-bfcd-dadd3db60a29" ], - "x-ms-routing-request-id": [ "EASTUS:20240920T031248Z:344c82c3-3cb2-48dd-bfcd-dadd3db60a29" ], - "X-Content-Type-Options": [ "nosniff" ], - "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: A5FE96DA47BD4E7E9FEF064DD96926AC Ref B: MNZ221060609035 Ref C: 2024-09-20T03:12:48Z" ], - "Date": [ "Fri, 20 Sep 2024 03:12:48 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "112" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"09b5bc2d-d643-4629-aa9a-f63e62313e0d\",\"status\":\"InProgress\",\"startTime\":\"2024-09-20T03:09:29.5500304Z\"}", - "isContentBase64": false - } - }, - "Update-AzConnectedMachineRunCommand+[NoContext]+Update+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/09b5bc2d-d643-4629-aa9a-f63e62313e0d?api-version=2024-05-20-preview\u0026t=638623987684708103\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwNjIyMjE1NzIzWhcNMjUwNjE3MjE1NzIzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALhRxgv00I_kIXwCJCxn0QIbiBxztKV5N7VUsmJclkirZBo6v69H49qwFEyTyf6TsDRZiDyUNhhfYpqgthcgDoGvOa0_uYNIt0GINfkDoySgM3HurzdD12Zyaj2woPrEkxHdoetI4nepp_ytiAmF81Z7YZyv05HKxV_WspPeyLBxorHcJ_drtY13Ez5tLDFiX_NnqLjf1oZojfYarEmVhETopjp53RxjVOKKRI4K2YWjs44wk0T2jaYGo5macYriIx3aHAxhN0aCURkqI1nWMC6SkdMrP1wdgAcHD5niTqQC5ql2zaSMLmcGFm50nyqRNylI1LJdmgPwGhN_dGd0E6ECAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ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ANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwEwDAYKKwYBBAGCN3sEATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADe3mHC76LsKVL9fkhYlwBSfOx_cb-6YFuiqGA60VGCoc_qwfcn9leu0FbnJEquloNzG8tG_ZwhaFVsQ-_we0Vgl03BjC-BOem7ZES6XywaYv4X1vEBc0SNaQ8EQVToFyCD9wf1ZGu5uv4jk-oILXl_CzdRsvuGKmprgkbrMIS6t5V8ds7REAX8SiE37hqdZU5hNT74RwV32cg3gLtbUsPK22Kv1gf5KsCUZe9tEsEkyq_bSxaNCWnh3lfmsstE0Jo_zL1O6cPKMMtvD21xFYchjWKjYGr1p5mGiM-OLLi8_ETKkYQTS0_gB7wZOGtsc0pIsvgAnqA-sMNn8Oy953Q4\u0026s=n6JUxOq0ajmMNSHVc_QNkFvqskUWAq0FyuIiQrRxfAuLkihDp3a9gI12RYCktn1ush20wJXfDyUxc2ZCjC6yIiI4fYtdRyBWz_3NPWV5wKde1Mgj7ZWRnJfLOYbgdATXhFbs1cgIC_0t9PY-3b0eG_SWQ5ZrwDft8nX5XKwEkIgqsUIo1-TRdMbhXRuRU0Z7lG0yw6dLhhONGMX2_CSCv6xlk75Zqpv062tqRrWafgWNnw_aDfwPSof9W6KthmRJ81CNrnWOsBk5AE6seTHrlxVDoZ_bltpvG5UOELTzF5gDfID3HtlFnRqQdyBzhLSb37Jx-FonOuh2jvCoc9ixkQ\u0026h=E3gR2u1Gctp1_Jug6RpiYuijwvZohwmJL4w9MgD0V5o+9": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/09b5bc2d-d643-4629-aa9a-f63e62313e0d?api-version=2024-05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gNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADe3mHC76LsKVL9fkhYlwBSfOx_cb-6YFuiqGA60VGCoc_qwfcn9leu0FbnJEquloNzG8tG_ZwhaFVsQ-_we0Vgl03BjC-BOem7ZES6XywaYv4X1vEBc0SNaQ8EQVToFyCD9wf1ZGu5uv4jk-oILXl_CzdRsvuGKmprgkbrMIS6t5V8ds7REAX8SiE37hqdZU5hNT74RwV32cg3gLtbUsPK22Kv1gf5KsCUZe9tEsEkyq_bSxaNCWnh3lfmsstE0Jo_zL1O6cPKMMtvD21xFYchjWKjYGr1p5mGiM-OLLi8_ETKkYQTS0_gB7wZOGtsc0pIsvgAnqA-sMNn8Oy953Q4\u0026s=n6JUxOq0ajmMNSHVc_QNkFvqskUWAq0FyuIiQrRxfAuLkihDp3a9gI12RYCktn1ush20wJXfDyUxc2ZCjC6yIiI4fYtdRyBWz_3NPWV5wKde1Mgj7ZWRnJfLOYbgdATXhFbs1cgIC_0t9PY-3b0eG_SWQ5ZrwDft8nX5XKwEkIgqsUIo1-TRdMbhXRuRU0Z7lG0yw6dLhhONGMX2_CSCv6xlk75Zqpv062tqRrWafgWNnw_aDfwPSof9W6KthmRJ81CNrnWOsBk5AE6seTHrlxVDoZ_bltpvG5UOELTzF5gDfID3HtlFnRqQdyBzhLSb37Jx-FonOuh2jvCoc9ixkQ\u0026h=E3gR2u1Gctp1_Jug6RpiYuijwvZohwmJL4w9MgD0V5o", - "Content": null, - "isContentBase64": false, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "9" ], - "x-ms-client-request-id": [ "b2151958-5d4c-4350-bcba-e1d741e20fb0" ], - "CommandName": [ "Update-AzConnectedMachineRunCommand" ], - "FullCommandName": [ "Update-AzConnectedMachineRunCommand_UpdateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.5.0" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationresults/09b5bc2d-d643-4629-aa9a-f63e62313e0d?api-version=2024-05-20-preview\u0026t=638623987838151372\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwNjIyMjE1NzIzWhcNMjUwNjE3MjE1NzIzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALhRxgv00I_kIXwCJCxn0QIbiBxztKV5N7VUsmJclkirZBo6v69H49qwFEyTyf6TsDRZiDyUNhhfYpqgthcgDoGvOa0_uYNIt0GINfkDoySgM3HurzdD12Zyaj2woPrEkxHdoetI4nepp_ytiAmF81Z7YZyv05HKxV_WspPeyLBxorHcJ_drtY13Ez5tLDFiX_NnqLjf1oZojfYarEmVhETopjp53RxjVOKKRI4K2YWjs44wk0T2jaYGo5macYriIx3aHAxhN0aCURkqI1nWMC6SkdMrP1wdgAcHD5niTqQC5ql2zaSMLmcGFm50nyqRNylI1LJdmgPwGhN_dGd0E6ECAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVt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3UjUf-SUBwIEwgY4FWnGUbuUnQLExiDjZ2wxhI" ], - "Retry-After": [ "15" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-request-id": [ "d932a8e8-a12b-4b69-8bde-1282cd46a55a" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/09b5bc2d-d643-4629-aa9a-f63e62313e0d?api-version=2024-05-20-preview\u0026t=638623987837995102\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwNjIyMjE1NzIzWhcNMjUwNjE3MjE1NzIzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALhRxgv00I_kIXwCJCxn0QIbiBxztKV5N7VUsmJclkirZBo6v69H49qwFEyTyf6TsDRZiDyUNhhfYpqgthcgDoGvOa0_uYNIt0GINfkDoySgM3HurzdD12Zyaj2woPrEkxHdoetI4nepp_ytiAmF81Z7YZyv05HKxV_WspPeyLBxorHcJ_drtY13Ez5tLDFiX_NnqLjf1oZojfYarEmVhETopjp53RxjVOKKRI4K2YWjs44wk0T2jaYGo5macYriIx3aHAxhN0aCURkqI1nWMC6SkdMrP1wdgAcHD5niTqQC5ql2zaSMLmcGFm50nyqRNylI1LJdmgPwGhN_dGd0E6ECAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwP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r2ca0JisJnI5vzTKPFy2QeU_A\u0026h=_25Q9iudz_fVaS7M-ULxDqa8BddPC79uGaeewQuCd9Q" ], - "x-ms-correlation-request-id": [ "948bd568-f9d6-4620-bc1f-ccc7774e9bc5" ], - "x-ms-routing-request-id": [ "EASTUS:20240920T031303Z:948bd568-f9d6-4620-bc1f-ccc7774e9bc5" ], - "X-Content-Type-Options": [ "nosniff" ], - "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: E1E44A0BF54F431FAC354CAFCEC53AA0 Ref B: MNZ221060609035 Ref C: 2024-09-20T03:13:03Z" ], - "Date": [ "Fri, 20 Sep 2024 03:13:03 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "112" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"09b5bc2d-d643-4629-aa9a-f63e62313e0d\",\"status\":\"InProgress\",\"startTime\":\"2024-09-20T03:09:29.5500304Z\"}", - "isContentBase64": false - } - }, - "Update-AzConnectedMachineRunCommand+[NoContext]+Update+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/09b5bc2d-d643-4629-aa9a-f63e62313e0d?api-version=2024-05-20-preview\u0026t=638623987837995102\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwNjIyMjE1NzIzWhcNMjUwNjE3MjE1NzIzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALhRxgv00I_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cPKMMtvD21xFYchjWKjYGr1p5mGiM-OLLi8_ETKkYQTS0_gB7wZOGtsc0pIsvgAnqA-sMNn8Oy953Q4\u0026s=Y1_BcOhRYAewXT_uL-rChjuepovbPFSYdz1fpRam8h2EbehXdwYKoR-c21ZczO3gOzOyfZnQrgCjUzy31quBW3yt8oL7SVsbO2gj-acWKVkqWIzLPv_MWsqrC3RyzgOvPRbp46bNJR0FAUXZaexpfFZrafIu0axQ_lSPuJe_JYkhENvFvQJX8lZbJF3WHj2FFnWJuwVbxqXKisvkJniunh8KtYL2T3OGOYHqHrYbw5ZWpq8FzPxO0GPvfq7-h6HuTOTWY_18ddalkoEF40gotcrCN4b_HHhBbsdpv2ka4movqqkylzZrGaUGe4odhr2ca0JisJnI5vzTKPFy2QeU_A\u0026h=_25Q9iudz_fVaS7M-ULxDqa8BddPC79uGaeewQuCd9Q+10": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/09b5bc2d-d643-4629-aa9a-f63e62313e0d?api-version=2024-05-20-preview\u0026t=638623987837995102\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwNjIyMjE1NzIzWhcNMjUwNjE3MjE1NzIzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALhRxgv00I_kIXwCJCxn0QIbiBxztKV5N7VUsmJclkirZBo6v69H49qwFEyTyf6TsDRZiDyUNhhfYpqgthcgDoGvOa0_uYNIt0GINfk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1_BcOhRYAewXT_uL-rChjuepovbPFSYdz1fpRam8h2EbehXdwYKoR-c21ZczO3gOzOyfZnQrgCjUzy31quBW3yt8oL7SVsbO2gj-acWKVkqWIzLPv_MWsqrC3RyzgOvPRbp46bNJR0FAUXZaexpfFZrafIu0axQ_lSPuJe_JYkhENvFvQJX8lZbJF3WHj2FFnWJuwVbxqXKisvkJniunh8KtYL2T3OGOYHqHrYbw5ZWpq8FzPxO0GPvfq7-h6HuTOTWY_18ddalkoEF40gotcrCN4b_HHhBbsdpv2ka4movqqkylzZrGaUGe4odhr2ca0JisJnI5vzTKPFy2QeU_A\u0026h=_25Q9iudz_fVaS7M-ULxDqa8BddPC79uGaeewQuCd9Q", - "Content": null, - "isContentBase64": false, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "10" ], - "x-ms-client-request-id": [ "b2151958-5d4c-4350-bcba-e1d741e20fb0" ], - "CommandName": [ "Update-AzConnectedMachineRunCommand" ], - "FullCommandName": [ "Update-AzConnectedMachineRunCommand_UpdateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.5.0" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationresults/09b5bc2d-d643-4629-aa9a-f63e62313e0d?api-version=2024-05-20-preview\u0026t=638623987993323309\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwNjIyMjE1NzIzWhc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aYv4X1vEBc0SNaQ8EQVToFyCD9wf1ZGu5uv4jk-oILXl_CzdRsvuGKmprgkbrMIS6t5V8ds7REAX8SiE37hqdZU5hNT74RwV32cg3gLtbUsPK22Kv1gf5KsCUZe9tEsEkyq_bSxaNCWnh3lfmsstE0Jo_zL1O6cPKMMtvD21xFYchjWKjYGr1p5mGiM-OLLi8_ETKkYQTS0_gB7wZOGtsc0pIsvgAnqA-sMNn8Oy953Q4\u0026s=PgdvQE5yTA5nuDMkBd0lfbbXlDUAoqKQp2p96hBKfW5_BFLXMU6twiAnUfrbtIg44u-JuM31ri29BuJGxTE0c2hUxQbdEGZCuCi0xucpeejFV9C86a1Ys-r766X_ThUdlNeptcu-iAPvX46rN7u2pPMP89ldqgohG1Ollg2PvWZal0Az2pxJgYezkHqAJZfVNXXmbfbewYt-7GhS9Ni_9_3e5-dAFN-dmBLGcuiecfe757OpUpoQ-xdbTl7dEb07pptAR9vAjQWl9cDoSAEYI6DNp8jkE1anLXJPW4avDloXt5i8NicaAvO3U-dCcOVTObUVC48IouLr8WoGdWvopA\u0026h=_wPoBc2Of-zySCflig7V5a21o34Je9l0KEgIW8YygOs" ], - "Retry-After": [ "15" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-request-id": [ "3e3e124e-82a8-486d-83c8-d463c65e6c38" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/09b5bc2d-d643-4629-aa9a-f63e62313e0d?api-version=2024-05-20-preview\u0026t=638623987993167027\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMD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Q-_we0Vgl03BjC-BOem7ZES6XywaYv4X1vEBc0SNaQ8EQVToFyCD9wf1ZGu5uv4jk-oILXl_CzdRsvuGKmprgkbrMIS6t5V8ds7REAX8SiE37hqdZU5hNT74RwV32cg3gLtbUsPK22Kv1gf5KsCUZe9tEsEkyq_bSxaNCWnh3lfmsstE0Jo_zL1O6cPKMMtvD21xFYchjWKjYGr1p5mGiM-OLLi8_ETKkYQTS0_gB7wZOGtsc0pIsvgAnqA-sMNn8Oy953Q4\u0026s=ewkklq9Km4fyGFTwItq-4TNTBpJF2UH8KFyUMPdg3Nt1CmiEjt3sC9u_3ILXzsfmi8Oz6_H8ZCM_sEWcYsiOKNSJPMVTZgpwlw7Z9DDqanm1G8kT2m_D6DX88Arinq1dv1I11dTynglnG0n2AzJwd7efxVVNY1sHN_wZo2FiJm8bstXEsaUu3GDAkyoztnlYsdLZt30llt4hJouLxQ7upr_n9IralIRvDoztcA36sDbsw7l2cidDZ3_wzkSuwUT80f3QxJH0H5tPZIsw830_C8vcuqRu042dPo6H_W0zA_jyZJGsziCbvqGoVsYZ0UNezwQ7A8V1tL3shbvaQWEKQA\u0026h=ruVaTV8W3WSftzvu_p2foNSD7PIceS8981LoX9mt6VU" ], - "x-ms-correlation-request-id": [ "dfe3f6ed-ca95-4b47-8724-210195a8fed5" ], - "x-ms-routing-request-id": [ "EASTUS:20240920T031319Z:dfe3f6ed-ca95-4b47-8724-210195a8fed5" ], - "X-Content-Type-Options": [ "nosniff" ], - "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: C5FD7BB5411C44DB913041B4211595EE Ref B: MNZ221060609035 Ref C: 2024-09-20T03:13:18Z" ], - "Date": [ "Fri, 20 Sep 2024 03:13:18 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "112" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"09b5bc2d-d643-4629-aa9a-f63e62313e0d\",\"status\":\"InProgress\",\"startTime\":\"2024-09-20T03:09:29.5500304Z\"}", - "isContentBase64": false - } - }, - "Update-AzConnectedMachineRunCommand+[NoContext]+Update+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/09b5bc2d-d643-4629-aa9a-f63e62313e0d?api-version=2024-05-20-preview\u0026t=638623987993167027\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwNjIyMjE1NzIzWhcNMjUwNjE3MjE1NzIzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALhRxgv00I_kIXwCJCxn0QIbiBxztKV5N7VUsmJclkirZBo6v69H49qwFEyTyf6TsDRZiDyUNhhfYpqgthcgDoGvOa0_uYNIt0GINfkDoySgM3HurzdD12Zyaj2woPrEkxHdoetI4nepp_ytiAmF81Z7YZyv05HKxV_WspPeyLBxorHcJ_drtY13Ez5tLDFiX_NnqLjf1oZojfYarEmVhETopjp53RxjVOKKRI4K2YWjs44wk0T2jaYGo5macYriIx3aHAxhN0aCURkqI1nWMC6SkdMrP1wdgAcHD5niTqQC5ql2zaSMLmcGFm50nyqRNylI1LJdmgPwGhN_dGd0E6ECAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQ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ri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/09b5bc2d-d643-4629-aa9a-f63e62313e0d?api-version=2024-05-20-preview\u0026t=638623987993167027\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwNjIyMjE1NzIzWhcNMjUwNjE3MjE1NzIzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALhRxgv00I_kIXwCJCxn0QIbiBxztKV5N7VUsmJclkirZBo6v69H49qwFEyTyf6TsDRZiDyUNhhfYpqgthcgDoGvOa0_uYNIt0GINfkDoySgM3HurzdD12Zyaj2woPrEkxHdoetI4nepp_ytiAmF81Z7YZyv05HKxV_WspPeyLBxorHcJ_drtY13Ez5tLDFiX_NnqLjf1oZojfYarEmVhETopjp53RxjVOKKRI4K2YWjs44wk0T2jaYGo5macYriIx3aHAxhN0aCURkqI1nWMC6SkdMrP1wdgAcHD5niTqQC5ql2zaSMLmcGFm50nyqRNylI1LJdmgPwGhN_dGd0E6ECAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUE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MQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwEwDAYKKwYBBAGCN3sEATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADe3mHC76LsKVL9fkhYlwBSfOx_cb-6YFuiqGA60VGCoc_qwfcn9leu0FbnJEquloNzG8tG_ZwhaFVsQ-_we0Vgl03BjC-BOem7ZES6XywaYv4X1vEBc0SNaQ8EQVToFyCD9wf1ZGu5uv4jk-oILXl_CzdRsvuGKmprgkbrMIS6t5V8ds7REAX8SiE37hqdZU5hNT74RwV32cg3gLtbUsPK22Kv1gf5KsCUZe9tEsEkyq_bSxaNCWnh3lfmsstE0Jo_zL1O6cPKMMtvD21xFYchjWKjYGr1p5mGiM-OLLi8_ETKkYQTS0_gB7wZOGtsc0pIsvgAnqA-sMNn8Oy953Q4\u0026s=ewkklq9Km4fyGFTwItq-4TNTBpJF2UH8KFyUMPdg3Nt1CmiEjt3sC9u_3ILXzsfmi8Oz6_H8ZCM_sEWcYsiOKNSJPMVTZgpwlw7Z9DDqanm1G8kT2m_D6DX88Arinq1dv1I11dTynglnG0n2AzJwd7efxVVNY1sHN_wZo2FiJm8bstXEsaUu3GDAkyoztnlYsdLZt30llt4hJouLxQ7upr_n9IralIRvDoztcA36sDbsw7l2cidDZ3_wzkSuwUT80f3QxJH0H5tPZIsw830_C8vcuqRu042dPo6H_W0zA_jyZJGsziCbvqGoVsYZ0UNezwQ7A8V1tL3shbvaQWEKQA\u0026h=ruVaTV8W3WSftzvu_p2foNSD7PIceS8981LoX9mt6VU", - "Content": null, - "isContentBase64": false, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "11" ], - "x-ms-client-request-id": [ "b2151958-5d4c-4350-bcba-e1d741e20fb0" ], - "CommandName": [ "Update-AzConnectedMachineRunCommand" ], - "FullCommandName": [ "Update-AzConnectedMachineRunCommand_UpdateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.5.0" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationresults/09b5bc2d-d643-4629-aa9a-f63e62313e0d?api-version=2024-05-20-preview\u0026t=638623988147409540\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwNjIyMjE1NzIzWhcNMjUwNjE3MjE1NzIzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALhRxgv00I_kIXwCJCxn0QIbiBxztKV5N7VUsmJclkirZBo6v69H49qwFEyTyf6TsDRZiDyUNhhfYpqgthcgDoGvOa0_uYNIt0GINfkDoySgM3HurzdD12Zyaj2woPrEkxHdoetI4nepp_ytiAmF81Z7YZyv05HKxV_WspPeyLBxorHcJ_drtY13Ez5tLDFiX_NnqLjf1oZojfYarEmVhETopjp53RxjVOKKRI4K2YWjs44wk0T2jaYGo5macYriIx3aHAxhN0aCURkqI1nWMC6SkdMrP1wdgAcHD5niTqQC5ql2zaSMLmcGFm50nyqRNylI1LJdmgPwGhN_dGd0E6ECAwEAAaOCBHQw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S4AoAxOMsTubVtVvfTXo2cXFOo94jeQ42e7S_NnX4rMoIdYdQFLE0kDrG5lcJjoGiXTWef4gjPm1bgSeRQ2liEWmFlBkUht-TRjw\u0026h=LKJPDgxMFl9aqp0H24WRA3KA2oTpmqsHJvzqpSFjoNI" ], - "Retry-After": [ "15" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-request-id": [ "f49a915c-1d32-45e4-be66-8ca6f3e51b91" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/09b5bc2d-d643-4629-aa9a-f63e62313e0d?api-version=2024-05-20-preview\u0026t=638623988147409540\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwNjIyMjE1NzIzWhcNMjUwNjE3MjE1NzIzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALhRxgv00I_kIXwCJCxn0QIbiBxztKV5N7VUsmJclkirZBo6v69H49qwFEyTyf6TsDRZiDyUNhhfYpqgthcgDoGvOa0_uYNIt0GINfkDoySgM3HurzdD12Zyaj2woPrEkxHdoetI4nepp_ytiAmF81Z7YZyv05HKxV_WspPeyLBxorHcJ_drtY13Ez5tLDFiX_NnqLjf1oZojfYarEmVhETopjp53RxjVOKKRI4K2YWjs44wk0T2jaYGo5macYriIx3aHAxhN0aCURkqI1nWMC6SkdMrP1wdgAcHD5niTqQC5ql2zaSM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cdaXvDXWsrsbCePQu9oiJ-bVuMqlCsoLRgo8cCTHtqgUaxSab_amvwCCefPZpawEVIOELbWOjDyv7Vx7iRcDPgkmjPhrw90jaAUcD_oiIL8nvrvtCD_SPOPnPvIRxvvDGa1mg6L-HXHK37P_iQ\u0026h=ifcNzw0FtihjhxphKXvRX32AjoxisNnU9qB-lxwaWeY" ], - "x-ms-correlation-request-id": [ "f2e8f51a-bdb6-4b2e-a32a-c6c363ab82cb" ], - "x-ms-routing-request-id": [ "EASTUS:20240920T031334Z:f2e8f51a-bdb6-4b2e-a32a-c6c363ab82cb" ], - "X-Content-Type-Options": [ "nosniff" ], - "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: B649DBED5E074F3D9DE93FC2DD966866 Ref B: MNZ221060609035 Ref C: 2024-09-20T03:13:34Z" ], - "Date": [ "Fri, 20 Sep 2024 03:13:34 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "112" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"09b5bc2d-d643-4629-aa9a-f63e62313e0d\",\"status\":\"InProgress\",\"startTime\":\"2024-09-20T03:09:29.5500304Z\"}", - "isContentBase64": false - } - }, - "Update-AzConnectedMachineRunCommand+[NoContext]+Update+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/09b5bc2d-d643-4629-aa9a-f63e62313e0d?api-version=2024-05-20-preview\u0026t=638623988147409540\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwNjIyMjE1NzIzWhcNMjUwNjE3MjE1NzIzWjBAMT4wPAYDVQQDE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uv4jk-oILXl_CzdRsvuGKmprgkbrMIS6t5V8ds7REAX8SiE37hqdZU5hNT74RwV32cg3gLtbUsPK22Kv1gf5KsCUZe9tEsEkyq_bSxaNCWnh3lfmsstE0Jo_zL1O6cPKMMtvD21xFYchjWKjYGr1p5mGiM-OLLi8_ETKkYQTS0_gB7wZOGtsc0pIsvgAnqA-sMNn8Oy953Q4\u0026s=oe2C4u74ZbZV4XEA7oIEyaa747E9XR9j4eKFqbCNYQg3PfzNV_Hry3gcvR8-ppDINqZgjSVOUFvvKTpSmt1bz9GiFf_5QjZpJ6RusPLt39zFpn8i9i9did24-4MWTf0D1_EhYwjKiSQ29H2ldIY9fQt9vfzwsQyrhj0iTEBAY68VNGRHjtVnlWj9q4VsPnGN9x6fcdaXvDXWsrsbCePQu9oiJ-bVuMqlCsoLRgo8cCTHtqgUaxSab_amvwCCefPZpawEVIOELbWOjDyv7Vx7iRcDPgkmjPhrw90jaAUcD_oiIL8nvrvtCD_SPOPnPvIRxvvDGa1mg6L-HXHK37P_iQ\u0026h=ifcNzw0FtihjhxphKXvRX32AjoxisNnU9qB-lxwaWeY+12": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/providers/Microsoft.HybridCompute/locations/centraluseuap/operationstatus/09b5bc2d-d643-4629-aa9a-f63e62313e0d?api-version=2024-05-20-preview\u0026t=638623988147409540\u0026c=MIIHhzCCBm-gAwIBAgITfAULQ3rFY4Objzxl3AAABQtDejANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwNjIyMjE1NzIzWhcNMjUwNjE3MjE1NzIzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCC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gf5KsCUZe9tEsEkyq_bSxaNCWnh3lfmsstE0Jo_zL1O6cPKMMtvD21xFYchjWKjYGr1p5mGiM-OLLi8_ETKkYQTS0_gB7wZOGtsc0pIsvgAnqA-sMNn8Oy953Q4\u0026s=oe2C4u74ZbZV4XEA7oIEyaa747E9XR9j4eKFqbCNYQg3PfzNV_Hry3gcvR8-ppDINqZgjSVOUFvvKTpSmt1bz9GiFf_5QjZpJ6RusPLt39zFpn8i9i9did24-4MWTf0D1_EhYwjKiSQ29H2ldIY9fQt9vfzwsQyrhj0iTEBAY68VNGRHjtVnlWj9q4VsPnGN9x6fcdaXvDXWsrsbCePQu9oiJ-bVuMqlCsoLRgo8cCTHtqgUaxSab_amvwCCefPZpawEVIOELbWOjDyv7Vx7iRcDPgkmjPhrw90jaAUcD_oiIL8nvrvtCD_SPOPnPvIRxvvDGa1mg6L-HXHK37P_iQ\u0026h=ifcNzw0FtihjhxphKXvRX32AjoxisNnU9qB-lxwaWeY", - "Content": null, - "isContentBase64": false, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "12" ], - "x-ms-client-request-id": [ "b2151958-5d4c-4350-bcba-e1d741e20fb0" ], - "CommandName": [ "Update-AzConnectedMachineRunCommand" ], - "FullCommandName": [ "Update-AzConnectedMachineRunCommand_UpdateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.5.0" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-request-id": [ "84712210-7354-4d3d-9321-1499d19f3766" ], - "x-ms-correlation-request-id": [ "9ee6b23c-6222-4c2e-bf49-4c5d2e8b9756" ], - "x-ms-routing-request-id": [ "EASTUS:20240920T031350Z:9ee6b23c-6222-4c2e-bf49-4c5d2e8b9756" ], - "X-Content-Type-Options": [ "nosniff" ], - "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 021052C1C7B14349B484C2A7A9F859A6 Ref B: MNZ221060609035 Ref C: 2024-09-20T03:13:49Z" ], - "Date": [ "Fri, 20 Sep 2024 03:13:49 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "814" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"09b5bc2d-d643-4629-aa9a-f63e62313e0d\",\"status\":\"Succeeded\",\"startTime\":\"2024-09-20T03:09:29.5500304Z\",\"properties\":{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine/runcommands/myRunCommand\",\"name\":\"myRunCommand\",\"location\":\"centraluseuap\",\"type\":\"Microsoft.HybridCompute/machines/runcommands\",\"tags\":{\"Tag2\":\"tag2\",\"Tag1\":\"tag1\"},\"properties\":{\"source\":{\"script\":\"Write-Host Hello World!\"},\"asyncExecution\":false,\"timeoutInSeconds\":0,\"provisioningState\":\"Succeeded\",\"instanceView\":{\"exitCode\":0,\"executionState\":\"Succeeded\",\"executionMessage\":\"RunCommand script execution completed\",\"output\":\"Hello World!\",\"error\":\"\",\"startTime\":\"2024-09-20T03:12:20.1786932+00:00\",\"endTime\":\"2024-09-20T03:12:20.4951296+00:00\"}}}}", - "isContentBase64": false - } - }, - "Update-AzConnectedMachineRunCommand+[NoContext]+Update+$GET+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine/runCommands/myRunCommand?api-version=2024-05-20-preview+13": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine/runCommands/myRunCommand?api-version=2024-05-20-preview", - "Content": null, - "isContentBase64": false, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "13" ], - "x-ms-client-request-id": [ "b2151958-5d4c-4350-bcba-e1d741e20fb0" ], - "CommandName": [ "Update-AzConnectedMachineRunCommand" ], - "FullCommandName": [ "Update-AzConnectedMachineRunCommand_UpdateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.5", "Az.ConnectedMachine/0.5.0" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-request-id": [ "782b7b99-ee05-4aeb-b8da-819e0a8fd7ea" ], - "x-ms-correlation-request-id": [ "6e14a11c-9ad8-4c97-b60e-fa55d2019ab2" ], - "x-ms-routing-request-id": [ "EASTUS:20240920T031350Z:6e14a11c-9ad8-4c97-b60e-fa55d2019ab2" ], - "X-Content-Type-Options": [ "nosniff" ], - "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: FD7E7DD2B52F487E94836AF999F1E647 Ref B: MNZ221060609035 Ref C: 2024-09-20T03:13:50Z" ], - "Date": [ "Fri, 20 Sep 2024 03:13:50 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "689" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"myRunCommand\",\"type\":\"Microsoft.HybridCompute/machines/runcommands\",\"location\":\"centraluseuap\",\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine/runcommands/myRunCommand\",\"tags\":{\"Tag2\":\"tag2\",\"Tag1\":\"tag1\"},\"properties\":{\"source\":{\"script\":\"Write-Host Hello World!\"},\"asyncExecution\":false,\"timeoutInSeconds\":0,\"provisioningState\":\"Succeeded\",\"instanceView\":{\"exitCode\":0,\"executionState\":\"Succeeded\",\"executionMessage\":\"RunCommand script execution completed\",\"output\":\"Hello World!\",\"error\":\"\",\"startTime\":\"2024-09-20T03:12:20.1786932+00:00\",\"endTime\":\"2024-09-20T03:12:20.4951296+00:00\"}}}", - "isContentBase64": false - } - } -} \ No newline at end of file diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/test/Update-AzConnectedMachineRunCommand.Tests.ps1 b/src/ConnectedMachine/ConnectedMachine.Autorest/test/Update-AzConnectedMachineRunCommand.Tests.ps1 deleted file mode 100644 index 4371d93220b1..000000000000 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/test/Update-AzConnectedMachineRunCommand.Tests.ps1 +++ /dev/null @@ -1,35 +0,0 @@ -if(($null -eq $TestName) -or ($TestName -contains 'Update-AzConnectedMachineRunCommand')) -{ - $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' - if (-Not (Test-Path -Path $loadEnvPath)) { - $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' - } - . ($loadEnvPath) - $TestRecordingFile = Join-Path $PSScriptRoot 'Update-AzConnectedMachineRunCommand.Recording.json' - $currentPath = $PSScriptRoot - while(-not $mockingPath) { - $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File - $currentPath = Split-Path -Path $currentPath -Parent - } - . ($mockingPath | Select-Object -First 1).FullName -} - -Describe 'Update-AzConnectedMachineRunCommand' { - It 'UpdateExpanded' -skip { - { throw [System.NotImplementedException] } | Should -Not -Throw - } - - It 'Update' { - $tags = @{Tag1="tag1"; Tag2="tag2"} - $runCommand = Update-AzConnectedMachineRunCommand -ResourceGroupName $env.ResourceGroupName -RunCommandName $env.RunCommandName -MachineName $env.MachineName -Subscription $env.SubscriptionId -Tag $tags - $runCommand.Count | Should -Not -BeNullOrEmpty - } - - It 'UpdateViaIdentityExpanded' -skip { - { throw [System.NotImplementedException] } | Should -Not -Throw - } - - It 'UpdateViaIdentity' -skip { - { throw [System.NotImplementedException] } | Should -Not -Throw - } -} diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/test/Update-AzConnectedPrivateLinkScopeTag.Recording.json b/src/ConnectedMachine/ConnectedMachine.Autorest/test/Update-AzConnectedPrivateLinkScopeTag.Recording.json index 286333488a39..06c488ce0a51 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/test/Update-AzConnectedPrivateLinkScopeTag.Recording.json +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/test/Update-AzConnectedPrivateLinkScopeTag.Recording.json @@ -1,8 +1,8 @@ { - "Update-AzConnectedPrivateLinkScopeTag+[NoContext]+Update+$PATCH+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/privateLinkScopes/myScope3?api-version=2024-05-20-preview+1": { + "Update-AzConnectedPrivateLinkScopeTag+[NoContext]+Update+$PATCH+https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/privateLinkScopes/myScope3?api-version=2024-07-10+1": { "Request": { "Method": "PATCH", - "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/privateLinkScopes/myScope3?api-version=2024-05-20-preview", + "RequestUri": "https://management.azure.com/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/privateLinkScopes/myScope3?api-version=2024-07-10", "Content": "{\r\n \"tags\": {\r\n \"world\": \"world\",\r\n \"hello\": \"hello\"\r\n }\r\n}", "isContentBase64": false, "Headers": { @@ -19,20 +19,20 @@ "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-request-id": [ "56cac7e8-d551-472c-87e2-5d0036f7c629" ], - "x-ms-correlation-request-id": [ "fd77b31f-4b53-49b4-a161-62d926e75bec" ], - "x-ms-routing-request-id": [ "EASTUS2:20240920T035858Z:fd77b31f-4b53-49b4-a161-62d926e75bec" ], + "x-ms-request-id": [ "da98d017-6180-490f-bc1c-7f78a05d504c" ], + "x-ms-correlation-request-id": [ "13c77b6c-4d80-4890-b914-8b82c50bf125" ], + "x-ms-routing-request-id": [ "EASTUS2:20241004T155649Z:13c77b6c-4d80-4890-b914-8b82c50bf125" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: E3B418A8A25045778762960BAAE20A31 Ref B: MNZ221060619033 Ref C: 2024-09-20T03:58:57Z" ], - "Date": [ "Fri, 20 Sep 2024 03:58:57 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 7BB1BE86B69F407C9D2819FF825AE306 Ref B: MNZ221060619025 Ref C: 2024-10-04T15:56:48Z" ], + "Date": [ "Fri, 04 Oct 2024 15:56:49 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "454" ], + "Content-Length": [ "455" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/privateLinkScopes/myScope3\",\"name\":\"myScope3\",\"type\":\"Microsoft.HybridCompute/privateLinkScopes\",\"location\":\"westcentralus\",\"properties\":{\"privateLinkScopeId\":\"3d3b6265-c0f0-41a2-9154-b8062a3039ae\",\"publicNetworkAccess\":\"Enabled\",\"provisioningState\":\"Succeeded\",\"privateEndpointConnections\":[]},\"tags\":{\"world\":\"world\",\"hello\":\"hello\"}}", + "Content": "{\"id\":\"/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/privateLinkScopes/myScope3\",\"name\":\"myScope3\",\"type\":\"Microsoft.HybridCompute/privateLinkScopes\",\"location\":\"westcentralus\",\"properties\":{\"privateLinkScopeId\":\"8b195ead-d75b-4280-8d34-ed0732426e62\",\"publicNetworkAccess\":\"Disabled\",\"provisioningState\":\"Succeeded\",\"privateEndpointConnections\":[]},\"tags\":{\"world\":\"world\",\"hello\":\"hello\"}}", "isContentBase64": false } } diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/test/env.json b/src/ConnectedMachine/ConnectedMachine.Autorest/test/env.json index 4e6aa6f50150..d3affb1ed92a 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/test/env.json +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/test/env.json @@ -1,18 +1,18 @@ { - "Location": "centraluseuap", + "PrivateLinkScopeName": "myScope3", "Tenant": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "SubscriptionId": "b24cc8ee-df4f-48ac-94cf-46edf36b0fae", - "PrivateLinkScopeNameNSP": "adrielScope", - "ExtensionName": "networkWatcher", - "RunCommandName": "myRunCommand", - "ResourceGroupNameNSP": "adrielk_test", + "Location": "eastus", "PerimeterName": "fd1289de-e8d3-4f76-8008-de297232dbf6.adrielScope-e1bf45b1-b9a1-4f8b-a76e-3607869aed94", - "Script": "Write-Host Hello World!", - "PrivateLinkScopeName": "myScope3", - "PrivateLinkScopeUri": "/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/privateLinkScopes/myScope2", + "RunCommandName": "myRunCommand2", "azcmagentPath": "C:\\Program Files\\AzureConnectedMachineAgent\\azcmagent.exe", + "SubscriptionId": "b24cc8ee-df4f-48ac-94cf-46edf36b0fae", + "MachineName": "testmachine", + "PrivateLinkScopeUri": "/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/privateLinkScopes/myScope3", "ResourceGroupName": "ytongtest", - "ResourceUri": "subscriptions/e6fe6705-4c9c-4b54-81d2-e455780e20b8/resourceGroups/az-sdk-test/providers/Microsoft.HybridCompute/machines/testmachine", - "EsuLicenseName": "myEsuLicense", - "MachineName": "testmachine" + "ResourceUri": "subscriptions/e6fe6705-4c9c-4b54-81d2-e455780e20b8/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine", + "ExtensionName": "networkWatcher", + "EsuLicenseName": "myEsuLicense2", + "PrivateLinkScopeNameNSP": "adrielScope", + "ResourceGroupNameNSP": "adrielk_test", + "Script": "Write-Host Hello World!" } diff --git a/src/ConnectedMachine/ConnectedMachine.Autorest/test/utils.ps1 b/src/ConnectedMachine/ConnectedMachine.Autorest/test/utils.ps1 index 53f0b670431b..2cf7f9c4823d 100644 --- a/src/ConnectedMachine/ConnectedMachine.Autorest/test/utils.ps1 +++ b/src/ConnectedMachine/ConnectedMachine.Autorest/test/utils.ps1 @@ -38,14 +38,14 @@ function setupEnv() { $env.Tenant = (Get-AzContext).Tenant.Id # For any resources you created for test, you should add it to $env here. $env.ResourceGroupName = 'ytongtest' - $env.Location = 'centraluseuap' + $env.Location = 'eastus' $env.MachineName = 'testmachine' $env.PrivateLinkScopeName = 'myScope3' - $env.RunCommandName = 'myRunCommand' + $env.RunCommandName = 'myRunCommand2' $env.Script = 'Write-Host Hello World!' - $env.EsuLicenseName = 'myEsuLicense' - $env.ResourceUri = 'subscriptions/e6fe6705-4c9c-4b54-81d2-e455780e20b8/resourceGroups/az-sdk-test/providers/Microsoft.HybridCompute/machines/testmachine' - $env.PrivateLinkScopeUri = '/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/privateLinkScopes/myScope2' + $env.EsuLicenseName = 'myEsuLicense2' + $env.ResourceUri = 'subscriptions/e6fe6705-4c9c-4b54-81d2-e455780e20b8/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/machines/testmachine' + $env.PrivateLinkScopeUri = '/subscriptions/b24cc8ee-df4f-48ac-94cf-46edf36b0fae/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/privateLinkScopes/myScope3' $env.ExtensionName = 'networkWatcher' $env.ResourceGroupNameNSP = 'adrielk_test' $env.PrivateLinkScopeNameNSP = 'adrielScope' diff --git a/src/ConnectedMachine/ConnectedMachine/Az.ConnectedMachine.psd1 b/src/ConnectedMachine/ConnectedMachine/Az.ConnectedMachine.psd1 index 5597da2ed505..37b173a68863 100644 --- a/src/ConnectedMachine/ConnectedMachine/Az.ConnectedMachine.psd1 +++ b/src/ConnectedMachine/ConnectedMachine/Az.ConnectedMachine.psd1 @@ -3,7 +3,7 @@ # # Generated by: Microsoft Corporation # -# Generated on: 9/25/2024 +# Generated on: 10/11/2024 # @{ @@ -57,10 +57,10 @@ RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '3.0.4'; }) RequiredAssemblies = 'ConnectedMachine.Autorest/bin/Az.ConnectedMachine.private.dll' # Script files (.ps1) that are run in the caller's environment prior to importing this module. -# ScriptsToProcess = @() +ScriptsToProcess = @() # Type files (.ps1xml) to be loaded when importing this module -# TypesToProcess = @() +TypesToProcess = @() # Format files (.ps1xml) to be loaded when importing this module FormatsToProcess = 'ConnectedMachine.Autorest/Az.ConnectedMachine.format.ps1xml' @@ -72,21 +72,19 @@ NestedModules = @('ConnectedMachine.Autorest/Az.ConnectedMachine.psm1') FunctionsToExport = 'Connect-AzConnectedMachine', 'Get-AzConnectedExtensionMetadata', 'Get-AzConnectedLicense', 'Get-AzConnectedMachine', 'Get-AzConnectedMachineExtension', - 'Get-AzConnectedMachineRunCommand', 'Get-AzConnectedNetworkSecurityPerimeterConfiguration', 'Get-AzConnectedPrivateLinkScope', 'Install-AzConnectedMachinePatch', - 'Invoke-AzConnectedAssessMachinePatch', 'New-AzConnectedLicense', - 'New-AzConnectedLicenseDetail', 'New-AzConnectedMachineExtension', - 'New-AzConnectedMachineRunCommand', + 'Invoke-AzConnectedAssessMachinePatch', + 'Invoke-AzConnectedReconcileNetworkSecurityPerimeterConfiguration', + 'New-AzConnectedLicense', 'New-AzConnectedLicenseDetail', + 'New-AzConnectedMachineExtension', 'New-AzConnectedPrivateLinkScope', 'Remove-AzConnectedLicense', 'Remove-AzConnectedMachine', 'Remove-AzConnectedMachineExtension', - 'Remove-AzConnectedMachineRunCommand', 'Remove-AzConnectedPrivateLinkScope', 'Set-AzConnectedLicense', 'Set-AzConnectedMachineExtension', 'Set-AzConnectedPrivateLinkScope', 'Update-AzConnectedExtension', 'Update-AzConnectedMachine', 'Update-AzConnectedMachineExtension', - 'Update-AzConnectedMachineRunCommand', 'Update-AzConnectedPrivateLinkScopeTag' # Cmdlets to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no cmdlets to export. @@ -113,7 +111,7 @@ PrivateData = @{ PSData = @{ # Tags applied to this module. These help with module discovery in online galleries. - Tags = 'Azure','ResourceManager','ARM','PSModule','ConnectedMachine' + Tags = 'Azure', 'ResourceManager', 'ARM', 'PSModule', 'ConnectedMachine' # A URL to the license for this module. LicenseUri = 'https://aka.ms/azps-license' @@ -138,7 +136,7 @@ PrivateData = @{ } # End of PSData hashtable - } # End of PrivateData hashtable +} # End of PrivateData hashtable # HelpInfo URI of this module # HelpInfoURI = '' diff --git a/src/ConnectedMachine/ConnectedMachine/ChangeLog.md b/src/ConnectedMachine/ConnectedMachine/ChangeLog.md index 393b09cf4c94..f52bbc93abeb 100644 --- a/src/ConnectedMachine/ConnectedMachine/ChangeLog.md +++ b/src/ConnectedMachine/ConnectedMachine/ChangeLog.md @@ -18,6 +18,7 @@ - Additional information about change #1 --> ## Upcoming Release +* Updated stable version api of HybridCompute to 2024-07-10 ## Version 0.9.0 * Updated the API version to 2024-05-20-preview. diff --git a/src/ConnectedMachine/ConnectedMachine/help/Az.ConnectedMachine.md b/src/ConnectedMachine/ConnectedMachine/help/Az.ConnectedMachine.md index 0c708c1441c2..f0cbb5f74e4c 100644 --- a/src/ConnectedMachine/ConnectedMachine/help/Az.ConnectedMachine.md +++ b/src/ConnectedMachine/ConnectedMachine/help/Az.ConnectedMachine.md @@ -26,9 +26,6 @@ Retrieves information about the model view or the instance view of a hybrid mach ### [Get-AzConnectedMachineExtension](Get-AzConnectedMachineExtension.md) The operation to get the extension. -### [Get-AzConnectedMachineRunCommand](Get-AzConnectedMachineRunCommand.md) -The operation to get a run command. - ### [Get-AzConnectedNetworkSecurityPerimeterConfiguration](Get-AzConnectedNetworkSecurityPerimeterConfiguration.md) Gets the network security perimeter configuration for a private link scope. @@ -41,6 +38,9 @@ The operation to install patches on a hybrid machine identity in Azure. ### [Invoke-AzConnectedAssessMachinePatch](Invoke-AzConnectedAssessMachinePatch.md) The operation to assess patches on a hybrid machine identity in Azure. +### [Invoke-AzConnectedReconcileNetworkSecurityPerimeterConfiguration](Invoke-AzConnectedReconcileNetworkSecurityPerimeterConfiguration.md) +Forces the network security perimeter configuration to refresh for a private link scope. + ### [New-AzConnectedLicense](New-AzConnectedLicense.md) The operation to create a license. @@ -50,9 +50,6 @@ Create an in-memory object for LicenseDetails. ### [New-AzConnectedMachineExtension](New-AzConnectedMachineExtension.md) The operation to create the extension. -### [New-AzConnectedMachineRunCommand](New-AzConnectedMachineRunCommand.md) -The operation to create a run command. - ### [New-AzConnectedPrivateLinkScope](New-AzConnectedPrivateLinkScope.md) create (or create a Azure Arc PrivateLinkScope. Note: You cannot specify a different value for InstrumentationKey nor AppId in the Put operation. @@ -66,9 +63,6 @@ The operation to delete a hybrid machine. ### [Remove-AzConnectedMachineExtension](Remove-AzConnectedMachineExtension.md) The operation to delete the extension. -### [Remove-AzConnectedMachineRunCommand](Remove-AzConnectedMachineRunCommand.md) -The operation to delete a run command. - ### [Remove-AzConnectedPrivateLinkScope](Remove-AzConnectedPrivateLinkScope.md) Deletes a Azure Arc PrivateLinkScope. @@ -91,9 +85,6 @@ The operation to update a hybrid machine. ### [Update-AzConnectedMachineExtension](Update-AzConnectedMachineExtension.md) The operation to update the extension. -### [Update-AzConnectedMachineRunCommand](Update-AzConnectedMachineRunCommand.md) -The operation to update a run command. - ### [Update-AzConnectedPrivateLinkScopeTag](Update-AzConnectedPrivateLinkScopeTag.md) update an existing PrivateLinkScope's tags. To update other fields use the CreateOrupdate method. diff --git a/src/ConnectedMachine/ConnectedMachine/help/Get-AzConnectedMachineRunCommand.md b/src/ConnectedMachine/ConnectedMachine/help/Get-AzConnectedMachineRunCommand.md deleted file mode 100644 index 5ce5e86e1b24..000000000000 --- a/src/ConnectedMachine/ConnectedMachine/help/Get-AzConnectedMachineRunCommand.md +++ /dev/null @@ -1,223 +0,0 @@ ---- -external help file: Az.ConnectedMachine-help.xml -Module Name: Az.ConnectedMachine -online version: https://learn.microsoft.com/powershell/module/az.connectedmachine/get-azconnectedmachineruncommand -schema: 2.0.0 ---- - -# Get-AzConnectedMachineRunCommand - -## SYNOPSIS -The operation to get a run command. - -## SYNTAX - -### List (Default) -``` -Get-AzConnectedMachineRunCommand -MachineName -ResourceGroupName [-SubscriptionId ] - [-Expand ] [-DefaultProfile ] [-ProgressAction ] [] -``` - -### Get -``` -Get-AzConnectedMachineRunCommand -MachineName -ResourceGroupName -RunCommandName - [-SubscriptionId ] [-DefaultProfile ] [-ProgressAction ] - [] -``` - -## DESCRIPTION -The operation to get a run command. - -## EXAMPLES - -### Example 1: List all run-commands for a machine -```powershell -Get-AzConnectedMachineRunCommand -ResourceGroupName "az-sdk-test" -MachineName "testmachine" -``` - -```output -Location Name SystemDataCreatedAt SystemDataCreatedBy SystemDataCreatedByType SystemDataLastModifiedAt Syst - emDa - taLa - stMo - difi - edBy --------- ---- ------------------- ------------------- ----------------------- ------------------------ ---- -eastus2euap myRunCommand2 -eastus2euap myRunCommand3 -``` - -Lists all run-commands for a specific machine. - -### Example 2: List a specific run-command for a machine -```powershell -Get-AzConnectedMachineRunCommand -ResourceGroupName "az-sdk-test" -RunCommandName "myRunCommand2" -MachineName "testmachine" -``` - -```output -AsyncExecution : False -ErrorBlobManagedIdentityClientId : -ErrorBlobManagedIdentityObjectId : -ErrorBlobUri : -Id : /subscriptions/********-****-****-****-**********/resourceGroups/az-sdk-test/prov - iders/Microsoft.HybridCompute/machines/testmachine/runcommands/myRunCommand2 -InstanceViewEndTime : 12/4/2023 6:16:55 PM -InstanceViewError : -InstanceViewExecutionMessage : RunCommand script execution completed -InstanceViewExecutionState : Succeeded -InstanceViewExitCode : 0 -InstanceViewOutput : Hello World! -InstanceViewStartTime : 12/4/2023 6:16:55 PM -InstanceViewStatuses : -Location : eastus2euap -Name : myRunCommand2 -OutputBlobManagedIdentityClientId : -OutputBlobManagedIdentityObjectId : -OutputBlobUri : -Parameter : -ProtectedParameter : -ProvisioningState : Succeeded -ResourceGroupName : az-sdk-test -RunAsPassword : -RunAsUser : -ScriptUriManagedIdentityClientId : -ScriptUriManagedIdentityObjectId : -SourceCommandId : -SourceScript : Write-Host Hello World! -SourceScriptUri : -SystemDataCreatedAt : -SystemDataCreatedBy : -SystemDataCreatedByType : -SystemDataLastModifiedAt : -SystemDataLastModifiedBy : -SystemDataLastModifiedByType : -Tag : { - "Tag1": "Value1" - } -TimeoutInSecond : 0 -Type : Microsoft.HybridCompute/machines/runcommands -``` - -List a specific run-command for a machine - -## PARAMETERS - -### -DefaultProfile -The DefaultProfile parameter is not functional. -Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Expand -The expand expression to apply on the operation. - -```yaml -Type: System.String -Parameter Sets: List -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -MachineName -The name of the hybrid machine. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ProgressAction -{{ Fill ProgressAction Description }} - -```yaml -Type: System.Management.Automation.ActionPreference -Parameter Sets: (All) -Aliases: proga - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group. -The name is case insensitive. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -RunCommandName -The name of the run command. - -```yaml -Type: System.String -Parameter Sets: Get -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The ID of the target subscription. - -```yaml -Type: System.String[] -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). - -## INPUTS - -## OUTPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand - -## NOTES - -## RELATED LINKS diff --git a/src/ConnectedMachine/ConnectedMachine/help/Remove-AzConnectedMachineRunCommand.md b/src/ConnectedMachine/ConnectedMachine/help/Invoke-AzConnectedReconcileNetworkSecurityPerimeterConfiguration.md similarity index 66% rename from src/ConnectedMachine/ConnectedMachine/help/Remove-AzConnectedMachineRunCommand.md rename to src/ConnectedMachine/ConnectedMachine/help/Invoke-AzConnectedReconcileNetworkSecurityPerimeterConfiguration.md index 4afe180e387b..85c1ae405ec5 100644 --- a/src/ConnectedMachine/ConnectedMachine/help/Remove-AzConnectedMachineRunCommand.md +++ b/src/ConnectedMachine/ConnectedMachine/help/Invoke-AzConnectedReconcileNetworkSecurityPerimeterConfiguration.md @@ -1,48 +1,49 @@ --- external help file: Az.ConnectedMachine-help.xml Module Name: Az.ConnectedMachine -online version: https://learn.microsoft.com/powershell/module/az.connectedmachine/remove-azconnectedmachineruncommand +online version: https://learn.microsoft.com/powershell/module/az.connectedmachine/invoke-azconnectedreconcilenetworksecurityperimeterconfiguration schema: 2.0.0 --- -# Remove-AzConnectedMachineRunCommand +# Invoke-AzConnectedReconcileNetworkSecurityPerimeterConfiguration ## SYNOPSIS -The operation to delete a run command. +Forces the network security perimeter configuration to refresh for a private link scope. ## SYNTAX -### Delete (Default) +### Reconcile (Default) ``` -Remove-AzConnectedMachineRunCommand -MachineName -ResourceGroupName -RunCommandName - [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] - [-ProgressAction ] [-WhatIf] [-Confirm] [] +Invoke-AzConnectedReconcileNetworkSecurityPerimeterConfiguration -PerimeterName + -ResourceGroupName -ScopeName [-SubscriptionId ] [-DefaultProfile ] + [-AsJob] [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` -### DeleteViaIdentityMachine +### ReconcileViaIdentityPrivateLinkScope ``` -Remove-AzConnectedMachineRunCommand -RunCommandName -MachineInputObject - [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-ProgressAction ] [-WhatIf] - [-Confirm] [] +Invoke-AzConnectedReconcileNetworkSecurityPerimeterConfiguration -PerimeterName + -PrivateLinkScopeInputObject [-DefaultProfile ] [-AsJob] [-NoWait] + [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` -### DeleteViaIdentity +### ReconcileViaIdentity ``` -Remove-AzConnectedMachineRunCommand -InputObject [-DefaultProfile ] - [-AsJob] [-NoWait] [-PassThru] [-ProgressAction ] [-WhatIf] [-Confirm] [] +Invoke-AzConnectedReconcileNetworkSecurityPerimeterConfiguration -InputObject + [-DefaultProfile ] [-AsJob] [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] + [] ``` ## DESCRIPTION -The operation to delete a run command. +Forces the network security perimeter configuration to refresh for a private link scope. ## EXAMPLES -### Example 1: Remove a run-command for a machine +### Example 1: Invoke Network Security Perimeter Configuration ```powershell -Remove-AzConnectedMachineRunCommand -ResourceGroupName "az-sdk-test" -RunCommandName "myRunCommand3" -MachineName "testmachine" +Invoke-AzConnectedReconcileNetworkSecurityPerimeterConfiguration -PerimeterName $env.PerimeterName -ResourceGroupName $env.ResourceGroupNameNSP -ScopeName $env.PrivateLinkScopeNameNSP ``` -Remove a run-command for a machine +Invoke Network Security Perimeter Configuration ## PARAMETERS @@ -82,7 +83,7 @@ Identity Parameter ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentity -Parameter Sets: DeleteViaIdentity +Parameter Sets: ReconcileViaIdentity Aliases: Required: True @@ -92,27 +93,27 @@ Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` -### -MachineInputObject -Identity Parameter +### -NoWait +Run the command asynchronously ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentity -Parameter Sets: DeleteViaIdentityMachine +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) Aliases: -Required: True +Required: False Position: Named Default value: None -Accept pipeline input: True (ByValue) +Accept pipeline input: False Accept wildcard characters: False ``` -### -MachineName -The name of the hybrid machine. +### -PerimeterName +The name, in the format {perimeterGuid}.{associationName}, of the Network Security Perimeter resource. ```yaml Type: System.String -Parameter Sets: Delete +Parameter Sets: Reconcile, ReconcileViaIdentityPrivateLinkScope Aliases: Required: True @@ -122,33 +123,18 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -NoWait -Run the command asynchronously - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -PassThru -Returns true when the command succeeds +### -PrivateLinkScopeInputObject +Identity Parameter ```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) +Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentity +Parameter Sets: ReconcileViaIdentityPrivateLinkScope Aliases: -Required: False +Required: True Position: Named Default value: None -Accept pipeline input: False +Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` @@ -173,7 +159,7 @@ The name is case insensitive. ```yaml Type: System.String -Parameter Sets: Delete +Parameter Sets: Reconcile Aliases: Required: True @@ -183,12 +169,12 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -RunCommandName -The name of the run command. +### -ScopeName +The name of the Azure Arc PrivateLinkScope resource. ```yaml Type: System.String -Parameter Sets: Delete, DeleteViaIdentityMachine +Parameter Sets: Reconcile Aliases: Required: True @@ -203,7 +189,7 @@ The ID of the target subscription. ```yaml Type: System.String -Parameter Sets: Delete +Parameter Sets: Reconcile Aliases: Required: False @@ -253,7 +239,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### System.Boolean +### Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationReconcileResult ## NOTES diff --git a/src/ConnectedMachine/ConnectedMachine/help/New-AzConnectedMachineRunCommand.md b/src/ConnectedMachine/ConnectedMachine/help/New-AzConnectedMachineRunCommand.md deleted file mode 100644 index 1c9307e4b924..000000000000 --- a/src/ConnectedMachine/ConnectedMachine/help/New-AzConnectedMachineRunCommand.md +++ /dev/null @@ -1,716 +0,0 @@ ---- -external help file: Az.ConnectedMachine-help.xml -Module Name: Az.ConnectedMachine -online version: https://learn.microsoft.com/powershell/module/az.connectedmachine/new-azconnectedmachineruncommand -schema: 2.0.0 ---- - -# New-AzConnectedMachineRunCommand - -## SYNOPSIS -The operation to create a run command. - -## SYNTAX - -### CreateExpanded (Default) -``` -New-AzConnectedMachineRunCommand -MachineName -ResourceGroupName -RunCommandName - [-SubscriptionId ] -Location [-AsyncExecution] [-ErrorBlobManagedIdentityClientId ] - [-ErrorBlobManagedIdentityObjectId ] [-ErrorBlobUri ] - [-OutputBlobManagedIdentityClientId ] [-OutputBlobManagedIdentityObjectId ] - [-OutputBlobUri ] [-Parameter ] - [-ProtectedParameter ] [-RunAsPassword ] [-RunAsUser ] - [-ScriptUriManagedIdentityClientId ] [-ScriptUriManagedIdentityObjectId ] - [-SourceCommandId ] [-SourceScript ] [-SourceScriptUri ] [-Tag ] - [-TimeoutInSecond ] [-DefaultProfile ] [-AsJob] [-NoWait] - [-ProgressAction ] [-WhatIf] [-Confirm] [] -``` - -### ScriptLocalPath -``` -New-AzConnectedMachineRunCommand -MachineName -ResourceGroupName -RunCommandName - [-SubscriptionId ] -Location [-AsyncExecution] [-ErrorBlobManagedIdentityClientId ] - [-ErrorBlobManagedIdentityObjectId ] [-ErrorBlobUri ] - [-OutputBlobManagedIdentityClientId ] [-OutputBlobManagedIdentityObjectId ] - [-OutputBlobUri ] [-Parameter ] - [-ProtectedParameter ] [-RunAsPassword ] [-RunAsUser ] - [-ScriptUriManagedIdentityClientId ] [-ScriptUriManagedIdentityObjectId ] - [-SourceCommandId ] [-SourceScript ] [-SourceScriptUri ] [-Tag ] - [-TimeoutInSecond ] [-ScriptLocalPath ] [-DefaultProfile ] [-AsJob] [-NoWait] - [-ProgressAction ] [-WhatIf] [-Confirm] [] -``` - -### CreateViaJsonString -``` -New-AzConnectedMachineRunCommand -MachineName -ResourceGroupName -RunCommandName - [-SubscriptionId ] -JsonString [-DefaultProfile ] [-AsJob] [-NoWait] - [-ProgressAction ] [-WhatIf] [-Confirm] [] -``` - -### CreateViaJsonFilePath -``` -New-AzConnectedMachineRunCommand -MachineName -ResourceGroupName -RunCommandName - [-SubscriptionId ] -JsonFilePath [-DefaultProfile ] [-AsJob] [-NoWait] - [-ProgressAction ] [-WhatIf] [-Confirm] [] -``` - -### Create -``` -New-AzConnectedMachineRunCommand -MachineName -ResourceGroupName -RunCommandName - [-SubscriptionId ] -RunCommandProperty [-DefaultProfile ] [-AsJob] - [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] [] -``` - -### CreateViaIdentityMachineExpanded -``` -New-AzConnectedMachineRunCommand -RunCommandName -MachineInputObject - -Location [-AsyncExecution] [-ErrorBlobManagedIdentityClientId ] - [-ErrorBlobManagedIdentityObjectId ] [-ErrorBlobUri ] - [-OutputBlobManagedIdentityClientId ] [-OutputBlobManagedIdentityObjectId ] - [-OutputBlobUri ] [-Parameter ] - [-ProtectedParameter ] [-RunAsPassword ] [-RunAsUser ] - [-ScriptUriManagedIdentityClientId ] [-ScriptUriManagedIdentityObjectId ] - [-SourceCommandId ] [-SourceScript ] [-SourceScriptUri ] [-Tag ] - [-TimeoutInSecond ] [-DefaultProfile ] [-AsJob] [-NoWait] - [-ProgressAction ] [-WhatIf] [-Confirm] [] -``` - -### CreateViaIdentityMachine -``` -New-AzConnectedMachineRunCommand -RunCommandName -MachineInputObject - -RunCommandProperty [-DefaultProfile ] [-AsJob] [-NoWait] - [-ProgressAction ] [-WhatIf] [-Confirm] [] -``` - -### CreateViaIdentityExpanded -``` -New-AzConnectedMachineRunCommand -InputObject -Location [-AsyncExecution] - [-ErrorBlobManagedIdentityClientId ] [-ErrorBlobManagedIdentityObjectId ] - [-ErrorBlobUri ] [-OutputBlobManagedIdentityClientId ] - [-OutputBlobManagedIdentityObjectId ] [-OutputBlobUri ] - [-Parameter ] [-ProtectedParameter ] - [-RunAsPassword ] [-RunAsUser ] [-ScriptUriManagedIdentityClientId ] - [-ScriptUriManagedIdentityObjectId ] [-SourceCommandId ] [-SourceScript ] - [-SourceScriptUri ] [-Tag ] [-TimeoutInSecond ] [-DefaultProfile ] - [-AsJob] [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] [] -``` - -### CreateViaIdentity -``` -New-AzConnectedMachineRunCommand -InputObject - -RunCommandProperty [-DefaultProfile ] [-AsJob] [-NoWait] - [-ProgressAction ] [-WhatIf] [-Confirm] [] -``` - -## DESCRIPTION -The operation to create a run command. - -## EXAMPLES - -### Example 1: Create a run-command for a machine -```powershell -New-AzConnectedMachineRunCommand -ResourceGroupName "az-sdk-test" -Location "eastus2euap" -SourceScript "Write-Host Hello World!" -RunCommandName "myRunCommand3" -MachineName "testmachine" -SubscriptionId ********-****-****-****-********** -``` - -```output -AsyncExecution : False -ErrorBlobManagedIdentityClientId : -ErrorBlobManagedIdentityObjectId : -ErrorBlobUri : -Id : /subscriptions/********-****-****-****-**********/resourceGroups/az-sdk-test/prov - iders/Microsoft.HybridCompute/machines/testmachine/runcommands/myRunCommand3 -InstanceViewEndTime : 12/5/2023 7:27:26 PM -InstanceViewError : -InstanceViewExecutionMessage : RunCommand script execution completed -InstanceViewExecutionState : Succeeded -InstanceViewExitCode : 0 -InstanceViewOutput : Hello World! -InstanceViewStartTime : 12/5/2023 7:27:24 PM -InstanceViewStatuses : -Location : eastus2euap -Name : myRunCommand3 -OutputBlobManagedIdentityClientId : -OutputBlobManagedIdentityObjectId : -OutputBlobUri : -Parameter : -ProtectedParameter : -ProvisioningState : Succeeded -ResourceGroupName : az-sdk-test -RunAsPassword : -RunAsUser : -ScriptUriManagedIdentityClientId : -ScriptUriManagedIdentityObjectId : -SourceCommandId : -SourceScript : Write-Host Hello World! -SourceScriptUri : -SystemDataCreatedAt : -SystemDataCreatedBy : -SystemDataCreatedByType : -SystemDataLastModifiedAt : -SystemDataLastModifiedBy : -SystemDataLastModifiedByType : -Tag : { - } -TimeoutInSecond : 0 -Type : Microsoft.HybridCompute/machines/runcommands -``` - -Create a run-command for a machine - -## PARAMETERS - -### -AsJob -Run the command as a job - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -AsyncExecution -Optional. -If set to true, provisioning will complete as soon as script starts and will not wait for script to complete. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: CreateExpanded, ScriptLocalPath, CreateViaIdentityMachineExpanded, CreateViaIdentityExpanded -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -DefaultProfile -The DefaultProfile parameter is not functional. -Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ErrorBlobManagedIdentityClientId -Client Id (GUID value) of the user-assigned managed identity. -ObjectId should not be used if this is provided. - -```yaml -Type: System.String -Parameter Sets: CreateExpanded, ScriptLocalPath, CreateViaIdentityMachineExpanded, CreateViaIdentityExpanded -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ErrorBlobManagedIdentityObjectId -Object Id (GUID value) of the user-assigned managed identity. -ClientId should not be used if this is provided. - -```yaml -Type: System.String -Parameter Sets: CreateExpanded, ScriptLocalPath, CreateViaIdentityMachineExpanded, CreateViaIdentityExpanded -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ErrorBlobUri -Specifies the Azure storage blob where script error stream will be uploaded. -Use a SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob. -Refer errorBlobManagedIdentity parameter. - -```yaml -Type: System.String -Parameter Sets: CreateExpanded, ScriptLocalPath, CreateViaIdentityMachineExpanded, CreateViaIdentityExpanded -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -InputObject -Identity Parameter - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentity -Parameter Sets: CreateViaIdentityExpanded, CreateViaIdentity -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -JsonFilePath -Path of Json file supplied to the Create operation - -```yaml -Type: System.String -Parameter Sets: CreateViaJsonFilePath -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -JsonString -Json string supplied to the Create operation - -```yaml -Type: System.String -Parameter Sets: CreateViaJsonString -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Location -The geo-location where the resource lives - -```yaml -Type: System.String -Parameter Sets: CreateExpanded, ScriptLocalPath, CreateViaIdentityMachineExpanded, CreateViaIdentityExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -MachineInputObject -Identity Parameter - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentity -Parameter Sets: CreateViaIdentityMachineExpanded, CreateViaIdentityMachine -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -MachineName -The name of the hybrid machine. - -```yaml -Type: System.String -Parameter Sets: CreateExpanded, ScriptLocalPath, CreateViaJsonString, CreateViaJsonFilePath, Create -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -NoWait -Run the command asynchronously - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -OutputBlobManagedIdentityClientId -Client Id (GUID value) of the user-assigned managed identity. -ObjectId should not be used if this is provided. - -```yaml -Type: System.String -Parameter Sets: CreateExpanded, ScriptLocalPath, CreateViaIdentityMachineExpanded, CreateViaIdentityExpanded -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -OutputBlobManagedIdentityObjectId -Object Id (GUID value) of the user-assigned managed identity. -ClientId should not be used if this is provided. - -```yaml -Type: System.String -Parameter Sets: CreateExpanded, ScriptLocalPath, CreateViaIdentityMachineExpanded, CreateViaIdentityExpanded -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -OutputBlobUri -Specifies the Azure storage blob where script output stream will be uploaded. -Use a SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob. -Refer outputBlobManagedIdentity parameter. - -```yaml -Type: System.String -Parameter Sets: CreateExpanded, ScriptLocalPath, CreateViaIdentityMachineExpanded, CreateViaIdentityExpanded -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Parameter -The parameters used by the script. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandInputParameter[] -Parameter Sets: CreateExpanded, ScriptLocalPath, CreateViaIdentityMachineExpanded, CreateViaIdentityExpanded -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ProgressAction -{{ Fill ProgressAction Description }} - -```yaml -Type: System.Management.Automation.ActionPreference -Parameter Sets: (All) -Aliases: proga - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ProtectedParameter -The parameters used by the script. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandInputParameter[] -Parameter Sets: CreateExpanded, ScriptLocalPath, CreateViaIdentityMachineExpanded, CreateViaIdentityExpanded -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group. -The name is case insensitive. - -```yaml -Type: System.String -Parameter Sets: CreateExpanded, ScriptLocalPath, CreateViaJsonString, CreateViaJsonFilePath, Create -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -RunAsPassword -Specifies the user account password on the machine when executing the run command. - -```yaml -Type: System.String -Parameter Sets: CreateExpanded, ScriptLocalPath, CreateViaIdentityMachineExpanded, CreateViaIdentityExpanded -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -RunAsUser -Specifies the user account on the machine when executing the run command. - -```yaml -Type: System.String -Parameter Sets: CreateExpanded, ScriptLocalPath, CreateViaIdentityMachineExpanded, CreateViaIdentityExpanded -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -RunCommandName -The name of the run command. - -```yaml -Type: System.String -Parameter Sets: CreateExpanded, ScriptLocalPath, CreateViaJsonString, CreateViaJsonFilePath, Create, CreateViaIdentityMachineExpanded, CreateViaIdentityMachine -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -RunCommandProperty -Describes a Run Command - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand -Parameter Sets: Create, CreateViaIdentityMachine, CreateViaIdentity -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -ScriptLocalPath - -```yaml -Type: System.String -Parameter Sets: ScriptLocalPath -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ScriptUriManagedIdentityClientId -Client Id (GUID value) of the user-assigned managed identity. -ObjectId should not be used if this is provided. - -```yaml -Type: System.String -Parameter Sets: CreateExpanded, ScriptLocalPath, CreateViaIdentityMachineExpanded, CreateViaIdentityExpanded -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ScriptUriManagedIdentityObjectId -Object Id (GUID value) of the user-assigned managed identity. -ClientId should not be used if this is provided. - -```yaml -Type: System.String -Parameter Sets: CreateExpanded, ScriptLocalPath, CreateViaIdentityMachineExpanded, CreateViaIdentityExpanded -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SourceCommandId -Specifies the commandId of predefined built-in script. - -```yaml -Type: System.String -Parameter Sets: CreateExpanded, ScriptLocalPath, CreateViaIdentityMachineExpanded, CreateViaIdentityExpanded -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SourceScript -Specifies the script content to be executed on the machine. - -```yaml -Type: System.String -Parameter Sets: CreateExpanded, ScriptLocalPath, CreateViaIdentityMachineExpanded, CreateViaIdentityExpanded -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SourceScriptUri -Specifies the script download location. -It can be either SAS URI of an Azure storage blob with read access or public URI. - -```yaml -Type: System.String -Parameter Sets: CreateExpanded, ScriptLocalPath, CreateViaIdentityMachineExpanded, CreateViaIdentityExpanded -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The ID of the target subscription. - -```yaml -Type: System.String -Parameter Sets: CreateExpanded, ScriptLocalPath, CreateViaJsonString, CreateViaJsonFilePath, Create -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Tag -Resource tags. - -```yaml -Type: System.Collections.Hashtable -Parameter Sets: CreateExpanded, ScriptLocalPath, CreateViaIdentityMachineExpanded, CreateViaIdentityExpanded -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -TimeoutInSecond -The timeout in seconds to execute the run command. - -```yaml -Type: System.Int32 -Parameter Sets: CreateExpanded, ScriptLocalPath, CreateViaIdentityMachineExpanded, CreateViaIdentityExpanded -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Confirm -Prompts you for confirmation before running the cmdlet. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: cf - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WhatIf -Shows what would happen if the cmdlet runs. -The cmdlet is not run. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: wi - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). - -## INPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentity - -### Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand - -## OUTPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand - -## NOTES - -## RELATED LINKS diff --git a/src/ConnectedMachine/ConnectedMachine/help/Update-AzConnectedMachineRunCommand.md b/src/ConnectedMachine/ConnectedMachine/help/Update-AzConnectedMachineRunCommand.md deleted file mode 100644 index e2b80af13954..000000000000 --- a/src/ConnectedMachine/ConnectedMachine/help/Update-AzConnectedMachineRunCommand.md +++ /dev/null @@ -1,630 +0,0 @@ ---- -external help file: Az.ConnectedMachine-help.xml -Module Name: Az.ConnectedMachine -online version: https://learn.microsoft.com/powershell/module/az.connectedmachine/update-azconnectedmachineruncommand -schema: 2.0.0 ---- - -# Update-AzConnectedMachineRunCommand - -## SYNOPSIS -The operation to update a run command. - -## SYNTAX - -### UpdateExpanded (Default) -``` -Update-AzConnectedMachineRunCommand -MachineName -ResourceGroupName -RunCommandName - [-SubscriptionId ] [-AsyncExecution] [-ErrorBlobManagedIdentityClientId ] - [-ErrorBlobManagedIdentityObjectId ] [-ErrorBlobUri ] - [-OutputBlobManagedIdentityClientId ] [-OutputBlobManagedIdentityObjectId ] - [-OutputBlobUri ] [-Parameter ] - [-ProtectedParameter ] [-RunAsPassword ] [-RunAsUser ] - [-ScriptUriManagedIdentityClientId ] [-ScriptUriManagedIdentityObjectId ] - [-SourceCommandId ] [-SourceScript ] [-SourceScriptUri ] [-Tag ] - [-TimeoutInSecond ] [-DefaultProfile ] [-AsJob] [-NoWait] - [-ProgressAction ] [-WhatIf] [-Confirm] [] -``` - -### Update -``` -Update-AzConnectedMachineRunCommand -MachineName -ResourceGroupName -RunCommandName - [-SubscriptionId ] -RunCommandProperty [-DefaultProfile ] [-AsJob] - [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] [] -``` - -### UpdateViaIdentityMachineExpanded -``` -Update-AzConnectedMachineRunCommand -RunCommandName -MachineInputObject - [-AsyncExecution] [-ErrorBlobManagedIdentityClientId ] [-ErrorBlobManagedIdentityObjectId ] - [-ErrorBlobUri ] [-OutputBlobManagedIdentityClientId ] - [-OutputBlobManagedIdentityObjectId ] [-OutputBlobUri ] - [-Parameter ] [-ProtectedParameter ] - [-RunAsPassword ] [-RunAsUser ] [-ScriptUriManagedIdentityClientId ] - [-ScriptUriManagedIdentityObjectId ] [-SourceCommandId ] [-SourceScript ] - [-SourceScriptUri ] [-Tag ] [-TimeoutInSecond ] [-DefaultProfile ] - [-AsJob] [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] [] -``` - -### UpdateViaIdentityMachine -``` -Update-AzConnectedMachineRunCommand -RunCommandName -MachineInputObject - -RunCommandProperty [-DefaultProfile ] [-AsJob] [-NoWait] - [-ProgressAction ] [-WhatIf] [-Confirm] [] -``` - -### UpdateViaIdentityExpanded -``` -Update-AzConnectedMachineRunCommand -InputObject [-AsyncExecution] - [-ErrorBlobManagedIdentityClientId ] [-ErrorBlobManagedIdentityObjectId ] - [-ErrorBlobUri ] [-OutputBlobManagedIdentityClientId ] - [-OutputBlobManagedIdentityObjectId ] [-OutputBlobUri ] - [-Parameter ] [-ProtectedParameter ] - [-RunAsPassword ] [-RunAsUser ] [-ScriptUriManagedIdentityClientId ] - [-ScriptUriManagedIdentityObjectId ] [-SourceCommandId ] [-SourceScript ] - [-SourceScriptUri ] [-Tag ] [-TimeoutInSecond ] [-DefaultProfile ] - [-AsJob] [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] [] -``` - -### UpdateViaIdentity -``` -Update-AzConnectedMachineRunCommand -InputObject - -RunCommandProperty [-DefaultProfile ] [-AsJob] [-NoWait] - [-ProgressAction ] [-WhatIf] [-Confirm] [] -``` - -## DESCRIPTION -The operation to update a run command. - -## EXAMPLES - -### Example 1: Update a run-command for a machine -```powershell -Update-AzConnectedMachineRunCommand -ResourceGroupName "az-sdk-test" -RunCommandName "myRunCommand3" -MachineName "testmachine" -SubscriptionId ********-****-****-****-********** -Tag @{Tag1="tag1"; Tag2="tag2"} -``` - -```output -AsyncExecution : False -ErrorBlobManagedIdentityClientId : -ErrorBlobManagedIdentityObjectId : -ErrorBlobUri : -Id : /subscriptions/********-****-****-****-**********/resourceGroups/az-sdk-test/prov - iders/Microsoft.HybridCompute/machines/testmachine/runcommands/myRunCommand3 -InstanceViewEndTime : 12/5/2023 7:45:54 PM -InstanceViewError : -InstanceViewExecutionMessage : RunCommand script execution completed -InstanceViewExecutionState : Succeeded -InstanceViewExitCode : 0 -InstanceViewOutput : Hello World! -InstanceViewStartTime : 12/5/2023 7:45:53 PM -InstanceViewStatuses : -Location : eastus2euap -Name : myRunCommand3 -OutputBlobManagedIdentityClientId : -OutputBlobManagedIdentityObjectId : -OutputBlobUri : -Parameter : -ProtectedParameter : -ProvisioningState : Succeeded -ResourceGroupName : az-sdk-test -RunAsPassword : -RunAsUser : -ScriptUriManagedIdentityClientId : -ScriptUriManagedIdentityObjectId : -SourceCommandId : -SourceScript : Write-Host Hello World! -SourceScriptUri : -SystemDataCreatedAt : -SystemDataCreatedBy : -SystemDataCreatedByType : -SystemDataLastModifiedAt : -SystemDataLastModifiedBy : -SystemDataLastModifiedByType : -Tag : { - "Tag2": "tag2", - "Tag1": "tag1" - } -TimeoutInSecond : 0 -Type : Microsoft.HybridCompute/machines/runcommands -``` - -Update a run-command for a machine - -## PARAMETERS - -### -AsJob -Run the command as a job - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -AsyncExecution -Optional. -If set to true, provisioning will complete as soon as script starts and will not wait for script to complete. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: UpdateExpanded, UpdateViaIdentityMachineExpanded, UpdateViaIdentityExpanded -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -DefaultProfile -The DefaultProfile parameter is not functional. -Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ErrorBlobManagedIdentityClientId -Client Id (GUID value) of the user-assigned managed identity. -ObjectId should not be used if this is provided. - -```yaml -Type: System.String -Parameter Sets: UpdateExpanded, UpdateViaIdentityMachineExpanded, UpdateViaIdentityExpanded -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ErrorBlobManagedIdentityObjectId -Object Id (GUID value) of the user-assigned managed identity. -ClientId should not be used if this is provided. - -```yaml -Type: System.String -Parameter Sets: UpdateExpanded, UpdateViaIdentityMachineExpanded, UpdateViaIdentityExpanded -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ErrorBlobUri -Specifies the Azure storage blob where script error stream will be uploaded. -Use a SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob. -Refer errorBlobManagedIdentity parameter. - -```yaml -Type: System.String -Parameter Sets: UpdateExpanded, UpdateViaIdentityMachineExpanded, UpdateViaIdentityExpanded -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -InputObject -Identity Parameter - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentity -Parameter Sets: UpdateViaIdentityExpanded, UpdateViaIdentity -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -MachineInputObject -Identity Parameter - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentity -Parameter Sets: UpdateViaIdentityMachineExpanded, UpdateViaIdentityMachine -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -MachineName -The name of the hybrid machine. - -```yaml -Type: System.String -Parameter Sets: UpdateExpanded, Update -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -NoWait -Run the command asynchronously - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -OutputBlobManagedIdentityClientId -Client Id (GUID value) of the user-assigned managed identity. -ObjectId should not be used if this is provided. - -```yaml -Type: System.String -Parameter Sets: UpdateExpanded, UpdateViaIdentityMachineExpanded, UpdateViaIdentityExpanded -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -OutputBlobManagedIdentityObjectId -Object Id (GUID value) of the user-assigned managed identity. -ClientId should not be used if this is provided. - -```yaml -Type: System.String -Parameter Sets: UpdateExpanded, UpdateViaIdentityMachineExpanded, UpdateViaIdentityExpanded -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -OutputBlobUri -Specifies the Azure storage blob where script output stream will be uploaded. -Use a SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob. -Refer outputBlobManagedIdentity parameter. - -```yaml -Type: System.String -Parameter Sets: UpdateExpanded, UpdateViaIdentityMachineExpanded, UpdateViaIdentityExpanded -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Parameter -The parameters used by the script. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandInputParameter[] -Parameter Sets: UpdateExpanded, UpdateViaIdentityMachineExpanded, UpdateViaIdentityExpanded -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ProgressAction -{{ Fill ProgressAction Description }} - -```yaml -Type: System.Management.Automation.ActionPreference -Parameter Sets: (All) -Aliases: proga - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ProtectedParameter -The parameters used by the script. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandInputParameter[] -Parameter Sets: UpdateExpanded, UpdateViaIdentityMachineExpanded, UpdateViaIdentityExpanded -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group. -The name is case insensitive. - -```yaml -Type: System.String -Parameter Sets: UpdateExpanded, Update -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -RunAsPassword -Specifies the user account password on the machine when executing the run command. - -```yaml -Type: System.String -Parameter Sets: UpdateExpanded, UpdateViaIdentityMachineExpanded, UpdateViaIdentityExpanded -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -RunAsUser -Specifies the user account on the machine when executing the run command. - -```yaml -Type: System.String -Parameter Sets: UpdateExpanded, UpdateViaIdentityMachineExpanded, UpdateViaIdentityExpanded -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -RunCommandName -The name of the run command. - -```yaml -Type: System.String -Parameter Sets: UpdateExpanded, Update, UpdateViaIdentityMachineExpanded, UpdateViaIdentityMachine -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -RunCommandProperty -Describes a Run Command - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand -Parameter Sets: Update, UpdateViaIdentityMachine, UpdateViaIdentity -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -ScriptUriManagedIdentityClientId -Client Id (GUID value) of the user-assigned managed identity. -ObjectId should not be used if this is provided. - -```yaml -Type: System.String -Parameter Sets: UpdateExpanded, UpdateViaIdentityMachineExpanded, UpdateViaIdentityExpanded -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ScriptUriManagedIdentityObjectId -Object Id (GUID value) of the user-assigned managed identity. -ClientId should not be used if this is provided. - -```yaml -Type: System.String -Parameter Sets: UpdateExpanded, UpdateViaIdentityMachineExpanded, UpdateViaIdentityExpanded -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SourceCommandId -Specifies the commandId of predefined built-in script. - -```yaml -Type: System.String -Parameter Sets: UpdateExpanded, UpdateViaIdentityMachineExpanded, UpdateViaIdentityExpanded -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SourceScript -Specifies the script content to be executed on the machine. - -```yaml -Type: System.String -Parameter Sets: UpdateExpanded, UpdateViaIdentityMachineExpanded, UpdateViaIdentityExpanded -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SourceScriptUri -Specifies the script download location. -It can be either SAS URI of an Azure storage blob with read access or public URI. - -```yaml -Type: System.String -Parameter Sets: UpdateExpanded, UpdateViaIdentityMachineExpanded, UpdateViaIdentityExpanded -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The ID of the target subscription. - -```yaml -Type: System.String -Parameter Sets: UpdateExpanded, Update -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Tag -Resource tags. - -```yaml -Type: System.Collections.Hashtable -Parameter Sets: UpdateExpanded, UpdateViaIdentityMachineExpanded, UpdateViaIdentityExpanded -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -TimeoutInSecond -The timeout in seconds to execute the run command. - -```yaml -Type: System.Int32 -Parameter Sets: UpdateExpanded, UpdateViaIdentityMachineExpanded, UpdateViaIdentityExpanded -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Confirm -Prompts you for confirmation before running the cmdlet. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: cf - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WhatIf -Shows what would happen if the cmdlet runs. -The cmdlet is not run. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: wi - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). - -## INPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentity - -### Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand - -## OUTPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand - -## NOTES - -## RELATED LINKS