diff --git a/generated/ConnectedMachine/ConnectedMachine.Autorest/Az.ConnectedMachine.csproj b/generated/ConnectedMachine/ConnectedMachine.Autorest/Az.ConnectedMachine.csproj
index 7e99a627fb3b..30021efc9299 100644
--- a/generated/ConnectedMachine/ConnectedMachine.Autorest/Az.ConnectedMachine.csproj
+++ b/generated/ConnectedMachine/ConnectedMachine.Autorest/Az.ConnectedMachine.csproj
@@ -2,9 +2,9 @@
ConnectedMachine
ConnectedMachine
+ ConnectedMachine.Autorest
-
diff --git a/generated/ConnectedMachine/ConnectedMachine.Autorest/Az.ConnectedMachine.format.ps1xml b/generated/ConnectedMachine/ConnectedMachine.Autorest/Az.ConnectedMachine.format.ps1xml
index ef9abaa79643..1f6ff5536104 100644
--- a/generated/ConnectedMachine/ConnectedMachine.Autorest/Az.ConnectedMachine.format.ps1xml
+++ b/generated/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/generated/ConnectedMachine/ConnectedMachine.Autorest/Az.ConnectedMachine.psd1 b/generated/ConnectedMachine/ConnectedMachine.Autorest/Az.ConnectedMachine.psd1
index be971ab2197f..4220191f841f 100644
--- a/generated/ConnectedMachine/ConnectedMachine.Autorest/Az.ConnectedMachine.psd1
+++ b/generated/ConnectedMachine/ConnectedMachine.Autorest/Az.ConnectedMachine.psd1
@@ -1,5 +1,5 @@
@{
- GUID = '259a0542-8329-4b9e-8f72-dab0efc583e9'
+ GUID = '368c49bb-8fdf-4c4d-96bd-47d9f9cd5734'
RootModule = './Az.ConnectedMachine.psm1'
ModuleVersion = '0.1.0'
CompatiblePSEditions = 'Core', 'Desktop'
diff --git a/generated/ConnectedMachine/ConnectedMachine.Autorest/Properties/AssemblyInfo.cs b/generated/ConnectedMachine/ConnectedMachine.Autorest/Properties/AssemblyInfo.cs
index e4ca7a6ee8ea..2a8fc1b56aef 100644
--- a/generated/ConnectedMachine/ConnectedMachine.Autorest/Properties/AssemblyInfo.cs
+++ b/generated/ConnectedMachine/ConnectedMachine.Autorest/Properties/AssemblyInfo.cs
@@ -1,28 +1,26 @@
-// ----------------------------------------------------------------------------------
-//
-// Copyright Microsoft Corporation
-// Licensed under the Apache License, Version 2.0 (the "License");
+// 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,
+// 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.
using System;
using System.Reflection;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
-[assembly: AssemblyTitle("Microsoft Azure Powershell - ConnectedMachine")]
-[assembly: AssemblyCompany(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyCompany)]
-[assembly: AssemblyProduct(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyProduct)]
-[assembly: AssemblyCopyright(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyCopyright)]
-
-[assembly: ComVisible(false)]
-[assembly: CLSCompliant(false)]
-[assembly: Guid("1c3a6300-5308-40da-983c-64817bcf0468")]
-[assembly: AssemblyVersion("0.9.0")]
-[assembly: AssemblyFileVersion("0.9.0")]
+[assembly: System.Reflection.AssemblyCompanyAttribute("Microsoft")]
+[assembly: System.Reflection.AssemblyCopyrightAttribute("Copyright © Microsoft")]
+[assembly: System.Reflection.AssemblyProductAttribute("Microsoft Azure PowerShell")]
+[assembly: System.Reflection.AssemblyTitleAttribute("Microsoft Azure PowerShell - ConnectedMachine")]
+[assembly: System.Reflection.AssemblyFileVersionAttribute("0.9.0")]
+[assembly: System.Reflection.AssemblyVersionAttribute("0.9.0")]
+[assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)]
+[assembly: System.CLSCompliantAttribute(false)]
diff --git a/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Get-AzConnectedMachineRunCommand.ps1 b/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Get-AzConnectedMachineRunCommand.ps1
deleted file mode 100644
index b539431f8f8f..000000000000
--- a/generated/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/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Install-AzConnectedMachinePatch.ps1 b/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Install-AzConnectedMachinePatch.ps1
index 399b49efe7c9..bcdd1f717891 100644
--- a/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Install-AzConnectedMachinePatch.ps1
+++ b/generated/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/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Invoke-AzConnectedAssessMachinePatch.ps1 b/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Invoke-AzConnectedAssessMachinePatch.ps1
index 8eb12c408eb1..52a8ce6f723c 100644
--- a/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Invoke-AzConnectedAssessMachinePatch.ps1
+++ b/generated/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/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Remove-AzConnectedMachineRunCommand.ps1 b/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Invoke-AzConnectedReconcileNetworkSecurityPerimeterConfiguration.ps1
similarity index 80%
rename from generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Remove-AzConnectedMachineRunCommand.ps1
rename to generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Invoke-AzConnectedReconcileNetworkSecurityPerimeterConfiguration.ps1
index 45996e74784f..11ae73048345 100644
--- a/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Remove-AzConnectedMachineRunCommand.ps1
+++ b/generated/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/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/New-AzConnectedLicense.ps1 b/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/New-AzConnectedLicense.ps1
index fb3fd8c7a153..32391614093e 100644
--- a/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/New-AzConnectedLicense.ps1
+++ b/generated/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/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/New-AzConnectedMachineExtension.ps1 b/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/New-AzConnectedMachineExtension.ps1
index c0f6c43a0695..35a384b56de3 100644
--- a/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/New-AzConnectedMachineExtension.ps1
+++ b/generated/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/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/New-AzConnectedMachineRunCommand.ps1 b/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/New-AzConnectedMachineRunCommand.ps1
deleted file mode 100644
index 97031c154684..000000000000
--- a/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/New-AzConnectedMachineRunCommand.ps1
+++ /dev/null
@@ -1,555 +0,0 @@
-
-# ----------------------------------------------------------------------------------
-# Copyright (c) Microsoft Corporation. All rights reserved.
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-# http://www.apache.org/licenses/LICENSE-2.0
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code
-# is regenerated.
-# ----------------------------------------------------------------------------------
-
-<#
-.Synopsis
-The operation to create a run command.
-.Description
-The operation to create a run command.
-.Example
-New-AzConnectedMachineRunCommand -ResourceGroupName "az-sdk-test" -Location "eastus2euap" -SourceScript "Write-Host Hello World!" -RunCommandName "myRunCommand3" -MachineName "testmachine" -SubscriptionId ********-****-****-****-**********
-
-.Inputs
-Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IConnectedMachineIdentity
-.Inputs
-Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand
-.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand
-.Notes
-COMPLEX PARAMETER PROPERTIES
-
-To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
-
-INPUTOBJECT : Identity Parameter
- [BaseProvider ]: The name of the base Resource Provider.
- [BaseResourceName ]: The name of the base resource.
- [BaseResourceType ]: The name of the base Resource Type.
- [ExtensionName ]: The name of the machine extension.
- [ExtensionType ]: The extensionType of the Extension being received.
- [GatewayName ]: The name of the Gateway.
- [GroupName ]: The name of the private link resource.
- [Id ]: Resource identity path
- [LicenseName ]: The name of the license.
- [LicenseProfileName ]: The name of the license profile.
- [Location ]: The location of the Extension being received.
- [MachineName ]: The name of the hybrid machine.
- [MetadataName ]: Name of the HybridIdentityMetadata.
- [Name ]: The name of the hybrid machine.
- [OSType ]: Defines the os type.
- [PerimeterName ]: The name, in the format {perimeterGuid}.{associationName}, of the Network Security Perimeter resource.
- [PrivateEndpointConnectionName ]: The name of the private endpoint connection.
- [PrivateLinkScopeId ]: The id (Guid) of the Azure Arc PrivateLinkScope resource.
- [Publisher ]: The publisher of the Extension being received.
- [ResourceGroupName ]: The name of the resource group. The name is case insensitive.
- [ResourceUri ]: The fully qualified Azure Resource manager identifier of the resource to be connected.
- [RunCommandName ]: The name of the run command.
- [ScopeName ]: The name of the Azure Arc PrivateLinkScope resource.
- [SettingsResourceName ]: The name of the settings resource.
- [SubscriptionId ]: The ID of the target subscription.
- [Version ]: The version of the Extension being received.
-
-MACHINEINPUTOBJECT : Identity Parameter
- [BaseProvider ]: The name of the base Resource Provider.
- [BaseResourceName ]: The name of the base resource.
- [BaseResourceType ]: The name of the base Resource Type.
- [ExtensionName ]: The name of the machine extension.
- [ExtensionType ]: The extensionType of the Extension being received.
- [GatewayName ]: The name of the Gateway.
- [GroupName ]: The name of the private link resource.
- [Id ]: Resource identity path
- [LicenseName ]: The name of the license.
- [LicenseProfileName ]: The name of the license profile.
- [Location ]: The location of the Extension being received.
- [MachineName ]: The name of the hybrid machine.
- [MetadataName ]: Name of the HybridIdentityMetadata.
- [Name ]: The name of the hybrid machine.
- [OSType ]: Defines the os type.
- [PerimeterName ]: The name, in the format {perimeterGuid}.{associationName}, of the Network Security Perimeter resource.
- [PrivateEndpointConnectionName ]: The name of the private endpoint connection.
- [PrivateLinkScopeId ]: The id (Guid) of the Azure Arc PrivateLinkScope resource.
- [Publisher ]: The publisher of the Extension being received.
- [ResourceGroupName ]: The name of the resource group. The name is case insensitive.
- [ResourceUri ]: The fully qualified Azure Resource manager identifier of the resource to be connected.
- [RunCommandName ]: The name of the run command.
- [ScopeName ]: The name of the Azure Arc PrivateLinkScope resource.
- [SettingsResourceName ]: The name of the settings resource.
- [SubscriptionId ]: The ID of the target subscription.
- [Version ]: The version of the Extension being received.
-
-PARAMETER : The parameters used by the script.
- Name : The run command parameter name.
- Value : The run command parameter value.
-
-PROTECTEDPARAMETER : The parameters used by the script.
- Name : The run command parameter name.
- Value : The run command parameter value.
-
-RUNCOMMANDPROPERTY