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