diff --git a/generated/App/App.Autorest/Properties/AssemblyInfo.cs b/generated/App/App.Autorest/Properties/AssemblyInfo.cs
deleted file mode 100644
index 9e80fa8bb61f..000000000000
--- a/generated/App/App.Autorest/Properties/AssemblyInfo.cs
+++ /dev/null
@@ -1,28 +0,0 @@
-// ----------------------------------------------------------------------------------
-//
-// Copyright Microsoft Corporation
-// 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.
-// ----------------------------------------------------------------------------------
-
-using System;
-using System.Reflection;
-using System.Runtime.InteropServices;
-
-[assembly: AssemblyTitle("Microsoft Azure Powershell - App")]
-[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("33cbebf1-be77-4f42-a277-44aa6cac1070")]
-[assembly: AssemblyVersion("2.0.1")]
-[assembly: AssemblyFileVersion("2.0.1")]
diff --git a/generated/App/App.Autorest/exports/Disable-AzContainerAppRevision.ps1 b/generated/App/App.Autorest/exports/Disable-AzContainerAppRevision.ps1
index 0b9a973b913e..34ac5ce61620 100644
--- a/generated/App/App.Autorest/exports/Disable-AzContainerAppRevision.ps1
+++ b/generated/App/App.Autorest/exports/Disable-AzContainerAppRevision.ps1
@@ -183,6 +183,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -206,8 +214,6 @@ begin {
DeactivateViaIdentityContainerApp = 'Az.App.private\Disable-AzContainerAppRevision_DeactivateViaIdentityContainerApp';
}
if (('Deactivate') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -221,6 +227,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Enable-AzContainerAppRevision.ps1 b/generated/App/App.Autorest/exports/Enable-AzContainerAppRevision.ps1
index 4dd18128eaeb..ab3b564cf2e6 100644
--- a/generated/App/App.Autorest/exports/Enable-AzContainerAppRevision.ps1
+++ b/generated/App/App.Autorest/exports/Enable-AzContainerAppRevision.ps1
@@ -183,6 +183,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -206,8 +214,6 @@ begin {
ActivateViaIdentityContainerApp = 'Az.App.private\Enable-AzContainerAppRevision_ActivateViaIdentityContainerApp';
}
if (('Activate') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -221,6 +227,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Get-AzContainerApp.ps1 b/generated/App/App.Autorest/exports/Get-AzContainerApp.ps1
index 19356bcbeffb..8051de95bd0f 100644
--- a/generated/App/App.Autorest/exports/Get-AzContainerApp.ps1
+++ b/generated/App/App.Autorest/exports/Get-AzContainerApp.ps1
@@ -148,6 +148,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -172,8 +180,6 @@ begin {
List1 = 'Az.App.private\Get-AzContainerApp_List1';
}
if (('Get', 'List', 'List1') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -187,6 +193,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Get-AzContainerAppAuthConfig.ps1 b/generated/App/App.Autorest/exports/Get-AzContainerAppAuthConfig.ps1
index cd6486db9f20..34bcc13846db 100644
--- a/generated/App/App.Autorest/exports/Get-AzContainerAppAuthConfig.ps1
+++ b/generated/App/App.Autorest/exports/Get-AzContainerAppAuthConfig.ps1
@@ -182,6 +182,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -206,8 +214,6 @@ begin {
List = 'Az.App.private\Get-AzContainerAppAuthConfig_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.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -221,6 +227,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Get-AzContainerAppAuthToken.ps1 b/generated/App/App.Autorest/exports/Get-AzContainerAppAuthToken.ps1
index efe211cf16ef..c7e1bcfb8ee4 100644
--- a/generated/App/App.Autorest/exports/Get-AzContainerAppAuthToken.ps1
+++ b/generated/App/App.Autorest/exports/Get-AzContainerAppAuthToken.ps1
@@ -143,6 +143,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -165,8 +173,6 @@ begin {
GetViaIdentity = 'Az.App.private\Get-AzContainerAppAuthToken_GetViaIdentity';
}
if (('Get') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -180,6 +186,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Get-AzContainerAppAvailableWorkloadProfile.ps1 b/generated/App/App.Autorest/exports/Get-AzContainerAppAvailableWorkloadProfile.ps1
index 94a84d1ab362..304db214f687 100644
--- a/generated/App/App.Autorest/exports/Get-AzContainerAppAvailableWorkloadProfile.ps1
+++ b/generated/App/App.Autorest/exports/Get-AzContainerAppAvailableWorkloadProfile.ps1
@@ -133,6 +133,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -155,8 +163,6 @@ begin {
GetViaIdentity = 'Az.App.private\Get-AzContainerAppAvailableWorkloadProfile_GetViaIdentity';
}
if (('Get') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -170,6 +176,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Get-AzContainerAppBillingMeter.ps1 b/generated/App/App.Autorest/exports/Get-AzContainerAppBillingMeter.ps1
index ec3e8e9d3d8f..1f49ed9a46d8 100644
--- a/generated/App/App.Autorest/exports/Get-AzContainerAppBillingMeter.ps1
+++ b/generated/App/App.Autorest/exports/Get-AzContainerAppBillingMeter.ps1
@@ -133,6 +133,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -155,8 +163,6 @@ begin {
GetViaIdentity = 'Az.App.private\Get-AzContainerAppBillingMeter_GetViaIdentity';
}
if (('Get') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -170,6 +176,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Get-AzContainerAppConnectedEnv.ps1 b/generated/App/App.Autorest/exports/Get-AzContainerAppConnectedEnv.ps1
index 41a13ee76f2c..21f0c8c3c9df 100644
--- a/generated/App/App.Autorest/exports/Get-AzContainerAppConnectedEnv.ps1
+++ b/generated/App/App.Autorest/exports/Get-AzContainerAppConnectedEnv.ps1
@@ -148,6 +148,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -172,8 +180,6 @@ begin {
List1 = 'Az.App.private\Get-AzContainerAppConnectedEnv_List1';
}
if (('Get', 'List', 'List1') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -187,6 +193,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Get-AzContainerAppConnectedEnvCert.ps1 b/generated/App/App.Autorest/exports/Get-AzContainerAppConnectedEnvCert.ps1
index 6347b8889841..7efa6c2fd84e 100644
--- a/generated/App/App.Autorest/exports/Get-AzContainerAppConnectedEnvCert.ps1
+++ b/generated/App/App.Autorest/exports/Get-AzContainerAppConnectedEnvCert.ps1
@@ -182,6 +182,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -206,8 +214,6 @@ begin {
List = 'Az.App.private\Get-AzContainerAppConnectedEnvCert_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.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -221,6 +227,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Get-AzContainerAppConnectedEnvDapr.ps1 b/generated/App/App.Autorest/exports/Get-AzContainerAppConnectedEnvDapr.ps1
index 1d8e39b42d43..ced3421818d0 100644
--- a/generated/App/App.Autorest/exports/Get-AzContainerAppConnectedEnvDapr.ps1
+++ b/generated/App/App.Autorest/exports/Get-AzContainerAppConnectedEnvDapr.ps1
@@ -182,6 +182,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -206,8 +214,6 @@ begin {
List = 'Az.App.private\Get-AzContainerAppConnectedEnvDapr_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.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -221,6 +227,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Get-AzContainerAppConnectedEnvDaprSecret.ps1 b/generated/App/App.Autorest/exports/Get-AzContainerAppConnectedEnvDaprSecret.ps1
index 0a2141afefbf..c92333f3b7e7 100644
--- a/generated/App/App.Autorest/exports/Get-AzContainerAppConnectedEnvDaprSecret.ps1
+++ b/generated/App/App.Autorest/exports/Get-AzContainerAppConnectedEnvDaprSecret.ps1
@@ -114,6 +114,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -135,8 +143,6 @@ begin {
List = 'Az.App.private\Get-AzContainerAppConnectedEnvDaprSecret_List';
}
if (('List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -150,6 +156,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Get-AzContainerAppConnectedEnvStorage.ps1 b/generated/App/App.Autorest/exports/Get-AzContainerAppConnectedEnvStorage.ps1
index 436c3ed966b5..d9e29292ecaf 100644
--- a/generated/App/App.Autorest/exports/Get-AzContainerAppConnectedEnvStorage.ps1
+++ b/generated/App/App.Autorest/exports/Get-AzContainerAppConnectedEnvStorage.ps1
@@ -184,6 +184,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -208,8 +216,6 @@ begin {
List = 'Az.App.private\Get-AzContainerAppConnectedEnvStorage_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.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -223,6 +229,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Get-AzContainerAppCustomHostName.ps1 b/generated/App/App.Autorest/exports/Get-AzContainerAppCustomHostName.ps1
index f10dd41c094f..d75f27fa8bcd 100644
--- a/generated/App/App.Autorest/exports/Get-AzContainerAppCustomHostName.ps1
+++ b/generated/App/App.Autorest/exports/Get-AzContainerAppCustomHostName.ps1
@@ -114,6 +114,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -135,8 +143,6 @@ begin {
List = 'Az.App.private\Get-AzContainerAppCustomHostName_List';
}
if (('List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -150,6 +156,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Get-AzContainerAppDiagnosticDetector.ps1 b/generated/App/App.Autorest/exports/Get-AzContainerAppDiagnosticDetector.ps1
index bb2cf24cc479..ad63c6e21420 100644
--- a/generated/App/App.Autorest/exports/Get-AzContainerAppDiagnosticDetector.ps1
+++ b/generated/App/App.Autorest/exports/Get-AzContainerAppDiagnosticDetector.ps1
@@ -176,6 +176,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -200,8 +208,6 @@ begin {
List = 'Az.App.private\Get-AzContainerAppDiagnosticDetector_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.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -215,6 +221,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Get-AzContainerAppDiagnosticRevision.ps1 b/generated/App/App.Autorest/exports/Get-AzContainerAppDiagnosticRevision.ps1
index 2a5b73f10d52..6bfa67a42269 100644
--- a/generated/App/App.Autorest/exports/Get-AzContainerAppDiagnosticRevision.ps1
+++ b/generated/App/App.Autorest/exports/Get-AzContainerAppDiagnosticRevision.ps1
@@ -184,6 +184,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -208,8 +216,6 @@ begin {
List = 'Az.App.private\Get-AzContainerAppDiagnosticRevision_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.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -223,6 +229,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Get-AzContainerAppDiagnosticRoot.ps1 b/generated/App/App.Autorest/exports/Get-AzContainerAppDiagnosticRoot.ps1
index ca45c9dd620d..ede405ba3ead 100644
--- a/generated/App/App.Autorest/exports/Get-AzContainerAppDiagnosticRoot.ps1
+++ b/generated/App/App.Autorest/exports/Get-AzContainerAppDiagnosticRoot.ps1
@@ -140,6 +140,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -162,8 +170,6 @@ begin {
GetViaIdentity = 'Az.App.private\Get-AzContainerAppDiagnosticRoot_GetViaIdentity';
}
if (('Get') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -177,6 +183,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Get-AzContainerAppJob.ps1 b/generated/App/App.Autorest/exports/Get-AzContainerAppJob.ps1
index 3f100ffe97bd..15d2f1ed5192 100644
--- a/generated/App/App.Autorest/exports/Get-AzContainerAppJob.ps1
+++ b/generated/App/App.Autorest/exports/Get-AzContainerAppJob.ps1
@@ -148,6 +148,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -172,8 +180,6 @@ begin {
List1 = 'Az.App.private\Get-AzContainerAppJob_List1';
}
if (('Get', 'List', 'List1') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -187,6 +193,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Get-AzContainerAppJobExecution.ps1 b/generated/App/App.Autorest/exports/Get-AzContainerAppJobExecution.ps1
index 93bd905f227f..d83e973ae7fb 100644
--- a/generated/App/App.Autorest/exports/Get-AzContainerAppJobExecution.ps1
+++ b/generated/App/App.Autorest/exports/Get-AzContainerAppJobExecution.ps1
@@ -174,6 +174,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -197,8 +205,6 @@ begin {
JobViaIdentityJob = 'Az.App.private\Get-AzContainerAppJobExecution_JobViaIdentityJob';
}
if (('Job') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -212,6 +218,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Get-AzContainerAppJobSecret.ps1 b/generated/App/App.Autorest/exports/Get-AzContainerAppJobSecret.ps1
index 6a3d11d19869..966f1f07ae3b 100644
--- a/generated/App/App.Autorest/exports/Get-AzContainerAppJobSecret.ps1
+++ b/generated/App/App.Autorest/exports/Get-AzContainerAppJobSecret.ps1
@@ -108,6 +108,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -129,8 +137,6 @@ begin {
List = 'Az.App.private\Get-AzContainerAppJobSecret_List';
}
if (('List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -144,6 +150,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Get-AzContainerAppManagedCert.ps1 b/generated/App/App.Autorest/exports/Get-AzContainerAppManagedCert.ps1
index 7f18a61becc4..0b4e11a05390 100644
--- a/generated/App/App.Autorest/exports/Get-AzContainerAppManagedCert.ps1
+++ b/generated/App/App.Autorest/exports/Get-AzContainerAppManagedCert.ps1
@@ -179,6 +179,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -203,8 +211,6 @@ begin {
List = 'Az.App.private\Get-AzContainerAppManagedCert_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.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -218,6 +224,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Get-AzContainerAppManagedEnv.ps1 b/generated/App/App.Autorest/exports/Get-AzContainerAppManagedEnv.ps1
index 224203df7e85..5b625b496487 100644
--- a/generated/App/App.Autorest/exports/Get-AzContainerAppManagedEnv.ps1
+++ b/generated/App/App.Autorest/exports/Get-AzContainerAppManagedEnv.ps1
@@ -148,6 +148,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -172,8 +180,6 @@ begin {
List1 = 'Az.App.private\Get-AzContainerAppManagedEnv_List1';
}
if (('Get', 'List', 'List1') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -187,6 +193,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Get-AzContainerAppManagedEnvAuthToken.ps1 b/generated/App/App.Autorest/exports/Get-AzContainerAppManagedEnvAuthToken.ps1
index 354d0f8ebee1..4f597b2263e9 100644
--- a/generated/App/App.Autorest/exports/Get-AzContainerAppManagedEnvAuthToken.ps1
+++ b/generated/App/App.Autorest/exports/Get-AzContainerAppManagedEnvAuthToken.ps1
@@ -140,6 +140,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -162,8 +170,6 @@ begin {
GetViaIdentity = 'Az.App.private\Get-AzContainerAppManagedEnvAuthToken_GetViaIdentity';
}
if (('Get') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -177,6 +183,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Get-AzContainerAppManagedEnvCert.ps1 b/generated/App/App.Autorest/exports/Get-AzContainerAppManagedEnvCert.ps1
index e782d02f62c3..9065073bcfa1 100644
--- a/generated/App/App.Autorest/exports/Get-AzContainerAppManagedEnvCert.ps1
+++ b/generated/App/App.Autorest/exports/Get-AzContainerAppManagedEnvCert.ps1
@@ -182,6 +182,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -206,8 +214,6 @@ begin {
List = 'Az.App.private\Get-AzContainerAppManagedEnvCert_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.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -221,6 +227,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Get-AzContainerAppManagedEnvDapr.ps1 b/generated/App/App.Autorest/exports/Get-AzContainerAppManagedEnvDapr.ps1
index eacabec3bdab..89ab987bf3fe 100644
--- a/generated/App/App.Autorest/exports/Get-AzContainerAppManagedEnvDapr.ps1
+++ b/generated/App/App.Autorest/exports/Get-AzContainerAppManagedEnvDapr.ps1
@@ -182,6 +182,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -206,8 +214,6 @@ begin {
List = 'Az.App.private\Get-AzContainerAppManagedEnvDapr_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.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -221,6 +227,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Get-AzContainerAppManagedEnvDaprSecret.ps1 b/generated/App/App.Autorest/exports/Get-AzContainerAppManagedEnvDaprSecret.ps1
index cccf0cccf698..8f7e7ff941ec 100644
--- a/generated/App/App.Autorest/exports/Get-AzContainerAppManagedEnvDaprSecret.ps1
+++ b/generated/App/App.Autorest/exports/Get-AzContainerAppManagedEnvDaprSecret.ps1
@@ -114,6 +114,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -135,8 +143,6 @@ begin {
List = 'Az.App.private\Get-AzContainerAppManagedEnvDaprSecret_List';
}
if (('List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -150,6 +156,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Get-AzContainerAppManagedEnvDiagnosticDetector.ps1 b/generated/App/App.Autorest/exports/Get-AzContainerAppManagedEnvDiagnosticDetector.ps1
index 47b71ad4c5d3..3f2642dd5656 100644
--- a/generated/App/App.Autorest/exports/Get-AzContainerAppManagedEnvDiagnosticDetector.ps1
+++ b/generated/App/App.Autorest/exports/Get-AzContainerAppManagedEnvDiagnosticDetector.ps1
@@ -179,6 +179,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -203,8 +211,6 @@ begin {
List = 'Az.App.private\Get-AzContainerAppManagedEnvDiagnosticDetector_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.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -218,6 +224,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Get-AzContainerAppManagedEnvDiagnosticRoot.ps1 b/generated/App/App.Autorest/exports/Get-AzContainerAppManagedEnvDiagnosticRoot.ps1
index 03034c348896..3bb64e9ea52f 100644
--- a/generated/App/App.Autorest/exports/Get-AzContainerAppManagedEnvDiagnosticRoot.ps1
+++ b/generated/App/App.Autorest/exports/Get-AzContainerAppManagedEnvDiagnosticRoot.ps1
@@ -140,6 +140,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -162,8 +170,6 @@ begin {
GetViaIdentity = 'Az.App.private\Get-AzContainerAppManagedEnvDiagnosticRoot_GetViaIdentity';
}
if (('Get') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -177,6 +183,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Get-AzContainerAppManagedEnvStorage.ps1 b/generated/App/App.Autorest/exports/Get-AzContainerAppManagedEnvStorage.ps1
index f71d08d7f19d..252a4479bb08 100644
--- a/generated/App/App.Autorest/exports/Get-AzContainerAppManagedEnvStorage.ps1
+++ b/generated/App/App.Autorest/exports/Get-AzContainerAppManagedEnvStorage.ps1
@@ -184,6 +184,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -208,8 +216,6 @@ begin {
List = 'Az.App.private\Get-AzContainerAppManagedEnvStorage_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.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -223,6 +229,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Get-AzContainerAppManagedEnvWorkloadProfileState.ps1 b/generated/App/App.Autorest/exports/Get-AzContainerAppManagedEnvWorkloadProfileState.ps1
index e9941b2bc079..7ffd469a0647 100644
--- a/generated/App/App.Autorest/exports/Get-AzContainerAppManagedEnvWorkloadProfileState.ps1
+++ b/generated/App/App.Autorest/exports/Get-AzContainerAppManagedEnvWorkloadProfileState.ps1
@@ -108,6 +108,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -129,8 +137,6 @@ begin {
List = 'Az.App.private\Get-AzContainerAppManagedEnvWorkloadProfileState_List';
}
if (('List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -144,6 +150,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Get-AzContainerAppRevision.ps1 b/generated/App/App.Autorest/exports/Get-AzContainerAppRevision.ps1
index 8936d8d4efca..530309afbf8b 100644
--- a/generated/App/App.Autorest/exports/Get-AzContainerAppRevision.ps1
+++ b/generated/App/App.Autorest/exports/Get-AzContainerAppRevision.ps1
@@ -188,6 +188,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -212,8 +220,6 @@ begin {
List = 'Az.App.private\Get-AzContainerAppRevision_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.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -227,6 +233,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Get-AzContainerAppRevisionReplica.ps1 b/generated/App/App.Autorest/exports/Get-AzContainerAppRevisionReplica.ps1
index 1cc32f105205..a7ee9bb579c7 100644
--- a/generated/App/App.Autorest/exports/Get-AzContainerAppRevisionReplica.ps1
+++ b/generated/App/App.Autorest/exports/Get-AzContainerAppRevisionReplica.ps1
@@ -224,6 +224,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -249,8 +257,6 @@ begin {
List = 'Az.App.private\Get-AzContainerAppRevisionReplica_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.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -264,6 +270,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Get-AzContainerAppSecret.ps1 b/generated/App/App.Autorest/exports/Get-AzContainerAppSecret.ps1
index e1af227ead41..1ad26f8f2db2 100644
--- a/generated/App/App.Autorest/exports/Get-AzContainerAppSecret.ps1
+++ b/generated/App/App.Autorest/exports/Get-AzContainerAppSecret.ps1
@@ -108,6 +108,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -129,8 +137,6 @@ begin {
List = 'Az.App.private\Get-AzContainerAppSecret_List';
}
if (('List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -144,6 +150,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Get-AzContainerAppSourceControl.ps1 b/generated/App/App.Autorest/exports/Get-AzContainerAppSourceControl.ps1
index 4a202334be5f..6df508498ed1 100644
--- a/generated/App/App.Autorest/exports/Get-AzContainerAppSourceControl.ps1
+++ b/generated/App/App.Autorest/exports/Get-AzContainerAppSourceControl.ps1
@@ -182,6 +182,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -206,8 +214,6 @@ begin {
List = 'Az.App.private\Get-AzContainerAppSourceControl_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.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -221,6 +227,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/New-AzContainerApp.ps1 b/generated/App/App.Autorest/exports/New-AzContainerApp.ps1
index e02fbffde272..01b7c702e541 100644
--- a/generated/App/App.Autorest/exports/New-AzContainerApp.ps1
+++ b/generated/App/App.Autorest/exports/New-AzContainerApp.ps1
@@ -508,6 +508,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -532,8 +540,6 @@ begin {
CreateViaIdentityExpanded = 'Az.App.custom\New-AzContainerApp';
}
if (('CreateExpanded', 'CreateViaJsonString', 'CreateViaJsonFilePath') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -547,6 +553,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/New-AzContainerAppAuthConfig.ps1 b/generated/App/App.Autorest/exports/New-AzContainerAppAuthConfig.ps1
index 50cc0c028715..a8669f23e09f 100644
--- a/generated/App/App.Autorest/exports/New-AzContainerAppAuthConfig.ps1
+++ b/generated/App/App.Autorest/exports/New-AzContainerAppAuthConfig.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-create the AuthConfig for a Container App.
+Create the AuthConfig for a Container App.
.Description
-create the AuthConfig for a Container App.
+Create the AuthConfig for a Container App.
.Example
$identity = New-AzContainerAppIdentityProviderObject -RegistrationAppId xxxxxx@xxx.com -RegistrationAppSecretSettingName redis-config
@@ -389,6 +389,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -414,8 +422,6 @@ begin {
CreateViaJsonString = 'Az.App.private\New-AzContainerAppAuthConfig_CreateViaJsonString';
}
if (('CreateExpanded', 'CreateViaJsonFilePath', 'CreateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -429,6 +435,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/New-AzContainerAppConfigurationObject.ps1 b/generated/App/App.Autorest/exports/New-AzContainerAppConfigurationObject.ps1
index 17061653871f..69ec475464f4 100644
--- a/generated/App/App.Autorest/exports/New-AzContainerAppConfigurationObject.ps1
+++ b/generated/App/App.Autorest/exports/New-AzContainerAppConfigurationObject.ps1
@@ -271,6 +271,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -298,6 +301,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/New-AzContainerAppConnectedEnv.ps1 b/generated/App/App.Autorest/exports/New-AzContainerAppConnectedEnv.ps1
index 652bcb2bb5d0..23435db11fcc 100644
--- a/generated/App/App.Autorest/exports/New-AzContainerAppConnectedEnv.ps1
+++ b/generated/App/App.Autorest/exports/New-AzContainerAppConnectedEnv.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-create an connectedEnvironment.
+Create an connectedEnvironment.
.Description
-create an connectedEnvironment.
+Create an connectedEnvironment.
.Example
New-AzContainerAppConnectedEnv -Name azps-connectedenv -ResourceGroupName azps_test_group_app -Location eastus -ExtendedLocationName "/subscriptions/{subId}/resourceGroups/azps_test_group_app/providers/Microsoft.ExtendedLocation/customLocations/my-custom-location" -ExtendedLocationType CustomLocation
@@ -237,6 +237,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -261,8 +269,6 @@ begin {
CreateViaJsonString = 'Az.App.private\New-AzContainerAppConnectedEnv_CreateViaJsonString';
}
if (('CreateExpanded', 'CreateViaJsonFilePath', 'CreateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -276,6 +282,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/New-AzContainerAppConnectedEnvCert.ps1 b/generated/App/App.Autorest/exports/New-AzContainerAppConnectedEnvCert.ps1
index fe0afb2474ad..dfd49e8e309c 100644
--- a/generated/App/App.Autorest/exports/New-AzContainerAppConnectedEnvCert.ps1
+++ b/generated/App/App.Autorest/exports/New-AzContainerAppConnectedEnvCert.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-create a Certificate.
+Create a Certificate.
.Description
-create a Certificate.
+Create a Certificate.
.Example
New-SelfSignedCertificate -DnsName "www.fabrikam.com", "www.contoso.com" -CertStoreLocation "cert:\LocalMachine\My"
Get-ChildItem -Path cert:\LocalMachine\My
@@ -232,6 +232,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -257,8 +265,6 @@ begin {
CreateViaJsonString = 'Az.App.private\New-AzContainerAppConnectedEnvCert_CreateViaJsonString';
}
if (('CreateExpanded', 'CreateViaJsonFilePath', 'CreateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -272,6 +278,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/New-AzContainerAppConnectedEnvDapr.ps1 b/generated/App/App.Autorest/exports/New-AzContainerAppConnectedEnvDapr.ps1
index bdc77dc86a33..f4bb1fbc814a 100644
--- a/generated/App/App.Autorest/exports/New-AzContainerAppConnectedEnvDapr.ps1
+++ b/generated/App/App.Autorest/exports/New-AzContainerAppConnectedEnvDapr.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-create a Dapr Component in a connected environment.
+Create a Dapr Component in a connected environment.
.Description
-create a Dapr Component in a connected environment.
+Create a Dapr Component in a connected environment.
.Example
$scope = @("container-app-1","container-app-2")
$secretObject = New-AzContainerAppSecretObject -Name "masterkey" -Value "keyvalue"
@@ -276,6 +276,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -301,8 +309,6 @@ begin {
CreateViaJsonString = 'Az.App.private\New-AzContainerAppConnectedEnvDapr_CreateViaJsonString';
}
if (('CreateExpanded', 'CreateViaJsonFilePath', 'CreateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -316,6 +322,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/New-AzContainerAppConnectedEnvStorage.ps1 b/generated/App/App.Autorest/exports/New-AzContainerAppConnectedEnvStorage.ps1
index 20291b1635b1..e96e357e3295 100644
--- a/generated/App/App.Autorest/exports/New-AzContainerAppConnectedEnvStorage.ps1
+++ b/generated/App/App.Autorest/exports/New-AzContainerAppConnectedEnvStorage.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-create storage for a connectedEnvironment.
+Create storage for a connectedEnvironment.
.Description
-create storage for a connectedEnvironment.
+Create storage for a connectedEnvironment.
.Example
New-AzStorageAccount -ResourceGroupName azps_test_group_app -AccountName azpstestsa -Location eastus -SkuName Standard_GRS
$storageAccountKey = (Get-AzStorageAccountKey -ResourceGroupName azps_test_group_app -AccountName azpstestsa).Value[0]
@@ -230,6 +230,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -255,8 +263,6 @@ begin {
CreateViaJsonString = 'Az.App.private\New-AzContainerAppConnectedEnvStorage_CreateViaJsonString';
}
if (('CreateExpanded', 'CreateViaJsonFilePath', 'CreateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -270,6 +276,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/New-AzContainerAppCustomDomainObject.ps1 b/generated/App/App.Autorest/exports/New-AzContainerAppCustomDomainObject.ps1
index 7769ac915dc0..0320aa8e5e0c 100644
--- a/generated/App/App.Autorest/exports/New-AzContainerAppCustomDomainObject.ps1
+++ b/generated/App/App.Autorest/exports/New-AzContainerAppCustomDomainObject.ps1
@@ -62,6 +62,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -89,6 +92,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/New-AzContainerAppDaprMetadataObject.ps1 b/generated/App/App.Autorest/exports/New-AzContainerAppDaprMetadataObject.ps1
index 123f3c3498ec..cf960af7f341 100644
--- a/generated/App/App.Autorest/exports/New-AzContainerAppDaprMetadataObject.ps1
+++ b/generated/App/App.Autorest/exports/New-AzContainerAppDaprMetadataObject.ps1
@@ -58,6 +58,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -85,6 +88,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/New-AzContainerAppEnvironmentVarObject.ps1 b/generated/App/App.Autorest/exports/New-AzContainerAppEnvironmentVarObject.ps1
index 87ea61cd1f03..6ff32a12ea63 100644
--- a/generated/App/App.Autorest/exports/New-AzContainerAppEnvironmentVarObject.ps1
+++ b/generated/App/App.Autorest/exports/New-AzContainerAppEnvironmentVarObject.ps1
@@ -58,6 +58,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -85,6 +88,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/New-AzContainerAppIPSecurityRestrictionRuleObject.ps1 b/generated/App/App.Autorest/exports/New-AzContainerAppIPSecurityRestrictionRuleObject.ps1
index b0eb76241752..d8dcfdefbf4d 100644
--- a/generated/App/App.Autorest/exports/New-AzContainerAppIPSecurityRestrictionRuleObject.ps1
+++ b/generated/App/App.Autorest/exports/New-AzContainerAppIPSecurityRestrictionRuleObject.ps1
@@ -67,6 +67,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -94,6 +97,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/New-AzContainerAppIdentityProviderObject.ps1 b/generated/App/App.Autorest/exports/New-AzContainerAppIdentityProviderObject.ps1
index 468c6b589682..8c0bbe189cf8 100644
--- a/generated/App/App.Autorest/exports/New-AzContainerAppIdentityProviderObject.ps1
+++ b/generated/App/App.Autorest/exports/New-AzContainerAppIdentityProviderObject.ps1
@@ -312,6 +312,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -339,6 +342,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/New-AzContainerAppInitContainerTemplateObject.ps1 b/generated/App/App.Autorest/exports/New-AzContainerAppInitContainerTemplateObject.ps1
index 6eec1c788b41..dd32a2e6def6 100644
--- a/generated/App/App.Autorest/exports/New-AzContainerAppInitContainerTemplateObject.ps1
+++ b/generated/App/App.Autorest/exports/New-AzContainerAppInitContainerTemplateObject.ps1
@@ -104,6 +104,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -131,6 +134,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/New-AzContainerAppJob.ps1 b/generated/App/App.Autorest/exports/New-AzContainerAppJob.ps1
index 67163ed81461..b91e0d1950a8 100644
--- a/generated/App/App.Autorest/exports/New-AzContainerAppJob.ps1
+++ b/generated/App/App.Autorest/exports/New-AzContainerAppJob.ps1
@@ -440,6 +440,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -464,8 +472,6 @@ begin {
CreateViaIdentityExpanded = 'Az.App.custom\New-AzContainerAppJob';
}
if (('CreateExpanded', 'CreateViaJsonString', 'CreateViaJsonFilePath') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -479,6 +485,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/New-AzContainerAppJobExecutionContainerObject.ps1 b/generated/App/App.Autorest/exports/New-AzContainerAppJobExecutionContainerObject.ps1
index 8dd1f0344af8..46e36e54c5e1 100644
--- a/generated/App/App.Autorest/exports/New-AzContainerAppJobExecutionContainerObject.ps1
+++ b/generated/App/App.Autorest/exports/New-AzContainerAppJobExecutionContainerObject.ps1
@@ -93,6 +93,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -120,6 +123,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/New-AzContainerAppJobScaleRuleObject.ps1 b/generated/App/App.Autorest/exports/New-AzContainerAppJobScaleRuleObject.ps1
index 495144494779..6c9eceeb16f2 100644
--- a/generated/App/App.Autorest/exports/New-AzContainerAppJobScaleRuleObject.ps1
+++ b/generated/App/App.Autorest/exports/New-AzContainerAppJobScaleRuleObject.ps1
@@ -74,6 +74,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -101,6 +104,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/New-AzContainerAppManagedCert.ps1 b/generated/App/App.Autorest/exports/New-AzContainerAppManagedCert.ps1
index 3213d578fce8..122e5aefbfc5 100644
--- a/generated/App/App.Autorest/exports/New-AzContainerAppManagedCert.ps1
+++ b/generated/App/App.Autorest/exports/New-AzContainerAppManagedCert.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-create a Managed Certificate.
+Create a Managed Certificate.
.Description
-create a Managed Certificate.
+Create a Managed Certificate.
.Example
New-AzContainerAppManagedCert -EnvName azps-env -Name azps-managedcert -ResourceGroupName azps_test_group_app -Location eastus -DomainControlValidation TXT -SubjectName "mycertweb.com"
@@ -240,6 +240,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -265,8 +273,6 @@ begin {
CreateViaJsonString = 'Az.App.private\New-AzContainerAppManagedCert_CreateViaJsonString';
}
if (('CreateExpanded', 'CreateViaJsonFilePath', 'CreateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -280,6 +286,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/New-AzContainerAppManagedEnv.ps1 b/generated/App/App.Autorest/exports/New-AzContainerAppManagedEnv.ps1
index 511f9a950b02..4a942e2e53f3 100644
--- a/generated/App/App.Autorest/exports/New-AzContainerAppManagedEnv.ps1
+++ b/generated/App/App.Autorest/exports/New-AzContainerAppManagedEnv.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-create a Managed Environment used to host container apps.
+Create a Managed Environment used to host container apps.
.Description
-create a Managed Environment used to host container apps.
+Create a Managed Environment used to host container apps.
.Example
New-AzOperationalInsightsWorkspace -ResourceGroupName azps_test_group_app -Name workspace-azpstestgp -Sku PerGB2018 -Location canadacentral -PublicNetworkAccessForIngestion "Enabled" -PublicNetworkAccessForQuery "Enabled"
@@ -331,6 +331,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -355,8 +363,6 @@ begin {
CreateViaJsonString = 'Az.App.private\New-AzContainerAppManagedEnv_CreateViaJsonString';
}
if (('CreateExpanded', 'CreateViaJsonFilePath', 'CreateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -370,6 +376,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/New-AzContainerAppManagedEnvCert.ps1 b/generated/App/App.Autorest/exports/New-AzContainerAppManagedEnvCert.ps1
index 481b4fbb713c..948f0a5bac7c 100644
--- a/generated/App/App.Autorest/exports/New-AzContainerAppManagedEnvCert.ps1
+++ b/generated/App/App.Autorest/exports/New-AzContainerAppManagedEnvCert.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-create a Certificate.
+Create a Certificate.
.Description
-create a Certificate.
+Create a Certificate.
.Example
New-SelfSignedCertificate -DnsName "www.fabrikam.com", "www.contoso.com" -CertStoreLocation "cert:\LocalMachine\My"
Get-ChildItem -Path cert:\LocalMachine\My
@@ -232,6 +232,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -257,8 +265,6 @@ begin {
CreateViaJsonString = 'Az.App.private\New-AzContainerAppManagedEnvCert_CreateViaJsonString';
}
if (('CreateExpanded', 'CreateViaJsonFilePath', 'CreateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -272,6 +278,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/New-AzContainerAppManagedEnvDapr.ps1 b/generated/App/App.Autorest/exports/New-AzContainerAppManagedEnvDapr.ps1
index 62e93a0f4a3e..84dd88105548 100644
--- a/generated/App/App.Autorest/exports/New-AzContainerAppManagedEnvDapr.ps1
+++ b/generated/App/App.Autorest/exports/New-AzContainerAppManagedEnvDapr.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-create a Dapr Component in a Managed Environment.
+Create a Dapr Component in a Managed Environment.
.Description
-create a Dapr Component in a Managed Environment.
+Create a Dapr Component in a Managed Environment.
.Example
$scope = @("container-app-1","container-app-2")
$secretObject = New-AzContainerAppSecretObject -Name "masterkey" -Value "keyvalue"
@@ -276,6 +276,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -301,8 +309,6 @@ begin {
CreateViaJsonString = 'Az.App.private\New-AzContainerAppManagedEnvDapr_CreateViaJsonString';
}
if (('CreateExpanded', 'CreateViaJsonFilePath', 'CreateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -316,6 +322,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/New-AzContainerAppManagedEnvStorage.ps1 b/generated/App/App.Autorest/exports/New-AzContainerAppManagedEnvStorage.ps1
index 7891f8f04658..1bb2ae5867b2 100644
--- a/generated/App/App.Autorest/exports/New-AzContainerAppManagedEnvStorage.ps1
+++ b/generated/App/App.Autorest/exports/New-AzContainerAppManagedEnvStorage.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-create storage for a managedEnvironment.
+Create storage for a managedEnvironment.
.Description
-create storage for a managedEnvironment.
+Create storage for a managedEnvironment.
.Example
New-AzStorageAccount -ResourceGroupName azps_test_group_app -AccountName azpstestsa -Location eastus -SkuName Standard_GRS
$storageAccountKey = (Get-AzStorageAccountKey -ResourceGroupName azps_test_group_app -AccountName azpstestsa).Value[0]
@@ -230,6 +230,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -255,8 +263,6 @@ begin {
CreateViaJsonString = 'Az.App.private\New-AzContainerAppManagedEnvStorage_CreateViaJsonString';
}
if (('CreateExpanded', 'CreateViaJsonFilePath', 'CreateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -270,6 +276,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/New-AzContainerAppProbeHeaderObject.ps1 b/generated/App/App.Autorest/exports/New-AzContainerAppProbeHeaderObject.ps1
index 4628eb48e27e..e634b30c2272 100644
--- a/generated/App/App.Autorest/exports/New-AzContainerAppProbeHeaderObject.ps1
+++ b/generated/App/App.Autorest/exports/New-AzContainerAppProbeHeaderObject.ps1
@@ -52,6 +52,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -79,6 +82,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/New-AzContainerAppProbeObject.ps1 b/generated/App/App.Autorest/exports/New-AzContainerAppProbeObject.ps1
index cc5a75a2926d..d182637af9dc 100644
--- a/generated/App/App.Autorest/exports/New-AzContainerAppProbeObject.ps1
+++ b/generated/App/App.Autorest/exports/New-AzContainerAppProbeObject.ps1
@@ -166,6 +166,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -193,6 +196,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/New-AzContainerAppRegistryCredentialObject.ps1 b/generated/App/App.Autorest/exports/New-AzContainerAppRegistryCredentialObject.ps1
index e4ef3b0a289a..5907ed4aa250 100644
--- a/generated/App/App.Autorest/exports/New-AzContainerAppRegistryCredentialObject.ps1
+++ b/generated/App/App.Autorest/exports/New-AzContainerAppRegistryCredentialObject.ps1
@@ -66,6 +66,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -93,6 +96,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/New-AzContainerAppScaleRuleAuthObject.ps1 b/generated/App/App.Autorest/exports/New-AzContainerAppScaleRuleAuthObject.ps1
index 9d70231f46f1..6369cb844a1b 100644
--- a/generated/App/App.Autorest/exports/New-AzContainerAppScaleRuleAuthObject.ps1
+++ b/generated/App/App.Autorest/exports/New-AzContainerAppScaleRuleAuthObject.ps1
@@ -52,6 +52,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -79,6 +82,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/New-AzContainerAppScaleRuleObject.ps1 b/generated/App/App.Autorest/exports/New-AzContainerAppScaleRuleObject.ps1
index 9b33012ba54b..1aa29b2f4797 100644
--- a/generated/App/App.Autorest/exports/New-AzContainerAppScaleRuleObject.ps1
+++ b/generated/App/App.Autorest/exports/New-AzContainerAppScaleRuleObject.ps1
@@ -136,6 +136,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -163,6 +166,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/New-AzContainerAppSecretObject.ps1 b/generated/App/App.Autorest/exports/New-AzContainerAppSecretObject.ps1
index daf067ec443f..3320ae24a3e9 100644
--- a/generated/App/App.Autorest/exports/New-AzContainerAppSecretObject.ps1
+++ b/generated/App/App.Autorest/exports/New-AzContainerAppSecretObject.ps1
@@ -64,6 +64,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -91,6 +94,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/New-AzContainerAppSecretVolumeItemObject.ps1 b/generated/App/App.Autorest/exports/New-AzContainerAppSecretVolumeItemObject.ps1
index abee5d8d14a3..fdf7fcc1fb38 100644
--- a/generated/App/App.Autorest/exports/New-AzContainerAppSecretVolumeItemObject.ps1
+++ b/generated/App/App.Autorest/exports/New-AzContainerAppSecretVolumeItemObject.ps1
@@ -53,6 +53,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -80,6 +83,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/New-AzContainerAppServiceBindObject.ps1 b/generated/App/App.Autorest/exports/New-AzContainerAppServiceBindObject.ps1
index e3459938c20d..4a33600b97cf 100644
--- a/generated/App/App.Autorest/exports/New-AzContainerAppServiceBindObject.ps1
+++ b/generated/App/App.Autorest/exports/New-AzContainerAppServiceBindObject.ps1
@@ -52,6 +52,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -79,6 +82,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/New-AzContainerAppSourceControl.ps1 b/generated/App/App.Autorest/exports/New-AzContainerAppSourceControl.ps1
index dfe56e4576f8..7fe699559960 100644
--- a/generated/App/App.Autorest/exports/New-AzContainerAppSourceControl.ps1
+++ b/generated/App/App.Autorest/exports/New-AzContainerAppSourceControl.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-create the SourceControl for a Container App.
+Create the SourceControl for a Container App.
.Description
-create the SourceControl for a Container App.
+Create the SourceControl for a Container App.
.Example
$AzureClientSecret = ConvertTo-SecureString -String "****" -AsPlainText -Force
$RegistryPassword = ConvertTo-SecureString -String "****" -AsPlainText -Force
@@ -346,6 +346,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -371,8 +379,6 @@ begin {
CreateViaJsonString = 'Az.App.private\New-AzContainerAppSourceControl_CreateViaJsonString';
}
if (('CreateExpanded', 'CreateViaJsonFilePath', 'CreateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -386,6 +392,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/New-AzContainerAppTemplateObject.ps1 b/generated/App/App.Autorest/exports/New-AzContainerAppTemplateObject.ps1
index 212e52ee5474..95a4e731a9e2 100644
--- a/generated/App/App.Autorest/exports/New-AzContainerAppTemplateObject.ps1
+++ b/generated/App/App.Autorest/exports/New-AzContainerAppTemplateObject.ps1
@@ -131,6 +131,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -158,6 +161,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/New-AzContainerAppTrafficWeightObject.ps1 b/generated/App/App.Autorest/exports/New-AzContainerAppTrafficWeightObject.ps1
index feba3b3e5f49..a4d9d32b1bf7 100644
--- a/generated/App/App.Autorest/exports/New-AzContainerAppTrafficWeightObject.ps1
+++ b/generated/App/App.Autorest/exports/New-AzContainerAppTrafficWeightObject.ps1
@@ -64,6 +64,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -91,6 +94,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/New-AzContainerAppVolumeMountObject.ps1 b/generated/App/App.Autorest/exports/New-AzContainerAppVolumeMountObject.ps1
index f30124415fb1..58947958127a 100644
--- a/generated/App/App.Autorest/exports/New-AzContainerAppVolumeMountObject.ps1
+++ b/generated/App/App.Autorest/exports/New-AzContainerAppVolumeMountObject.ps1
@@ -59,6 +59,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -86,6 +89,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/New-AzContainerAppVolumeObject.ps1 b/generated/App/App.Autorest/exports/New-AzContainerAppVolumeObject.ps1
index 02dbfe0c540c..f895952f01ea 100644
--- a/generated/App/App.Autorest/exports/New-AzContainerAppVolumeObject.ps1
+++ b/generated/App/App.Autorest/exports/New-AzContainerAppVolumeObject.ps1
@@ -83,6 +83,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -110,6 +113,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/New-AzContainerAppWorkloadProfileObject.ps1 b/generated/App/App.Autorest/exports/New-AzContainerAppWorkloadProfileObject.ps1
index 0eaace3ddd7d..9ae1041c9179 100644
--- a/generated/App/App.Autorest/exports/New-AzContainerAppWorkloadProfileObject.ps1
+++ b/generated/App/App.Autorest/exports/New-AzContainerAppWorkloadProfileObject.ps1
@@ -64,6 +64,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -91,6 +94,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/ProxyCmdletDefinitions.ps1 b/generated/App/App.Autorest/exports/ProxyCmdletDefinitions.ps1
index 125e6444ed7e..c7160a27f92e 100644
--- a/generated/App/App.Autorest/exports/ProxyCmdletDefinitions.ps1
+++ b/generated/App/App.Autorest/exports/ProxyCmdletDefinitions.ps1
@@ -183,6 +183,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -206,8 +214,6 @@ begin {
DeactivateViaIdentityContainerApp = 'Az.App.private\Disable-AzContainerAppRevision_DeactivateViaIdentityContainerApp';
}
if (('Deactivate') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -221,6 +227,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -433,6 +442,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -456,8 +473,6 @@ begin {
ActivateViaIdentityContainerApp = 'Az.App.private\Enable-AzContainerAppRevision_ActivateViaIdentityContainerApp';
}
if (('Activate') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -471,6 +486,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -682,6 +700,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -706,8 +732,6 @@ begin {
List = 'Az.App.private\Get-AzContainerAppAuthConfig_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.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -721,6 +745,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -893,6 +920,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -915,8 +950,6 @@ begin {
GetViaIdentity = 'Az.App.private\Get-AzContainerAppAuthToken_GetViaIdentity';
}
if (('Get') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -930,6 +963,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -1092,6 +1128,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -1114,8 +1158,6 @@ begin {
GetViaIdentity = 'Az.App.private\Get-AzContainerAppAvailableWorkloadProfile_GetViaIdentity';
}
if (('Get') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -1129,6 +1171,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -1291,6 +1336,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -1313,8 +1366,6 @@ begin {
GetViaIdentity = 'Az.App.private\Get-AzContainerAppBillingMeter_GetViaIdentity';
}
if (('Get') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -1328,6 +1379,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -1539,6 +1593,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -1563,8 +1625,6 @@ begin {
List = 'Az.App.private\Get-AzContainerAppConnectedEnvCert_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.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -1578,6 +1638,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -1721,6 +1784,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -1742,8 +1813,6 @@ begin {
List = 'Az.App.private\Get-AzContainerAppConnectedEnvDaprSecret_List';
}
if (('List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -1757,6 +1826,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -1968,6 +2040,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -1992,8 +2072,6 @@ begin {
List = 'Az.App.private\Get-AzContainerAppConnectedEnvDapr_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.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -2007,6 +2085,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -2220,6 +2301,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -2244,8 +2333,6 @@ begin {
List = 'Az.App.private\Get-AzContainerAppConnectedEnvStorage_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.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -2259,6 +2346,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -2436,6 +2526,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -2460,8 +2558,6 @@ begin {
List1 = 'Az.App.private\Get-AzContainerAppConnectedEnv_List1';
}
if (('Get', 'List', 'List1') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -2475,6 +2571,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -2618,6 +2717,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -2639,8 +2746,6 @@ begin {
List = 'Az.App.private\Get-AzContainerAppCustomHostName_List';
}
if (('List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -2654,6 +2759,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -2859,6 +2967,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -2883,8 +2999,6 @@ begin {
List = 'Az.App.private\Get-AzContainerAppDiagnosticDetector_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.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -2898,6 +3012,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -3111,6 +3228,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -3135,8 +3260,6 @@ begin {
List = 'Az.App.private\Get-AzContainerAppDiagnosticRevision_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.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -3150,6 +3273,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -3319,6 +3445,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -3341,8 +3475,6 @@ begin {
GetViaIdentity = 'Az.App.private\Get-AzContainerAppDiagnosticRoot_GetViaIdentity';
}
if (('Get') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -3356,6 +3488,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -3559,6 +3694,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -3582,8 +3725,6 @@ begin {
JobViaIdentityJob = 'Az.App.private\Get-AzContainerAppJobExecution_JobViaIdentityJob';
}
if (('Job') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -3597,6 +3738,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -3734,6 +3878,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -3755,8 +3907,6 @@ begin {
List = 'Az.App.private\Get-AzContainerAppJobSecret_List';
}
if (('List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -3770,6 +3920,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -3947,6 +4100,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -3971,8 +4132,6 @@ begin {
List1 = 'Az.App.private\Get-AzContainerAppJob_List1';
}
if (('Get', 'List', 'List1') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -3986,6 +4145,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -4194,6 +4356,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -4218,8 +4388,6 @@ begin {
List = 'Az.App.private\Get-AzContainerAppManagedCert_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.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -4233,6 +4401,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -4402,6 +4573,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -4424,8 +4603,6 @@ begin {
GetViaIdentity = 'Az.App.private\Get-AzContainerAppManagedEnvAuthToken_GetViaIdentity';
}
if (('Get') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -4439,6 +4616,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -4650,6 +4830,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -4674,8 +4862,6 @@ begin {
List = 'Az.App.private\Get-AzContainerAppManagedEnvCert_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.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -4689,6 +4875,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -4832,6 +5021,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -4853,8 +5050,6 @@ begin {
List = 'Az.App.private\Get-AzContainerAppManagedEnvDaprSecret_List';
}
if (('List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -4868,6 +5063,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -5079,6 +5277,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -5103,8 +5309,6 @@ begin {
List = 'Az.App.private\Get-AzContainerAppManagedEnvDapr_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.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -5118,6 +5322,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -5326,6 +5533,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -5350,8 +5565,6 @@ begin {
List = 'Az.App.private\Get-AzContainerAppManagedEnvDiagnosticDetector_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.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -5365,6 +5578,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -5534,6 +5750,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -5556,8 +5780,6 @@ begin {
GetViaIdentity = 'Az.App.private\Get-AzContainerAppManagedEnvDiagnosticRoot_GetViaIdentity';
}
if (('Get') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -5571,6 +5793,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -5784,6 +6009,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -5808,8 +6041,6 @@ begin {
List = 'Az.App.private\Get-AzContainerAppManagedEnvStorage_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.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -5823,6 +6054,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -5960,6 +6194,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -5981,8 +6223,6 @@ begin {
List = 'Az.App.private\Get-AzContainerAppManagedEnvWorkloadProfileState_List';
}
if (('List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -5996,6 +6236,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -6173,6 +6416,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -6197,8 +6448,6 @@ begin {
List1 = 'Az.App.private\Get-AzContainerAppManagedEnv_List1';
}
if (('Get', 'List', 'List1') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -6212,6 +6461,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -6465,6 +6717,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -6490,8 +6750,6 @@ begin {
List = 'Az.App.private\Get-AzContainerAppRevisionReplica_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.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -6505,6 +6763,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -6722,6 +6983,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -6746,8 +7015,6 @@ begin {
List = 'Az.App.private\Get-AzContainerAppRevision_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.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -6761,6 +7028,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -6898,6 +7168,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -6919,8 +7197,6 @@ begin {
List = 'Az.App.private\Get-AzContainerAppSecret_List';
}
if (('List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -6934,6 +7210,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -7145,6 +7424,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -7169,8 +7456,6 @@ begin {
List = 'Az.App.private\Get-AzContainerAppSourceControl_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.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -7184,6 +7469,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -7361,6 +7649,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -7385,8 +7681,6 @@ begin {
List1 = 'Az.App.private\Get-AzContainerApp_List1';
}
if (('Get', 'List', 'List1') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -7400,6 +7694,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -7445,9 +7742,9 @@ end {
<#
.Synopsis
-create the AuthConfig for a Container App.
+Create the AuthConfig for a Container App.
.Description
-create the AuthConfig for a Container App.
+Create the AuthConfig for a Container App.
.Example
$identity = New-AzContainerAppIdentityProviderObject -RegistrationAppId xxxxxx@xxx.com -RegistrationAppSecretSettingName redis-config
@@ -7818,6 +8115,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -7843,8 +8148,6 @@ begin {
CreateViaJsonString = 'Az.App.private\New-AzContainerAppAuthConfig_CreateViaJsonString';
}
if (('CreateExpanded', 'CreateViaJsonFilePath', 'CreateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -7858,6 +8161,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -7903,9 +8209,9 @@ end {
<#
.Synopsis
-create a Certificate.
+Create a Certificate.
.Description
-create a Certificate.
+Create a Certificate.
.Example
New-SelfSignedCertificate -DnsName "www.fabrikam.com", "www.contoso.com" -CertStoreLocation "cert:\LocalMachine\My"
Get-ChildItem -Path cert:\LocalMachine\My
@@ -8119,6 +8425,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -8144,8 +8458,6 @@ begin {
CreateViaJsonString = 'Az.App.private\New-AzContainerAppConnectedEnvCert_CreateViaJsonString';
}
if (('CreateExpanded', 'CreateViaJsonFilePath', 'CreateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -8159,6 +8471,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -8204,9 +8519,9 @@ end {
<#
.Synopsis
-create a Dapr Component in a connected environment.
+Create a Dapr Component in a connected environment.
.Description
-create a Dapr Component in a connected environment.
+Create a Dapr Component in a connected environment.
.Example
$scope = @("container-app-1","container-app-2")
$secretObject = New-AzContainerAppSecretObject -Name "masterkey" -Value "keyvalue"
@@ -8464,6 +8779,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -8489,8 +8812,6 @@ begin {
CreateViaJsonString = 'Az.App.private\New-AzContainerAppConnectedEnvDapr_CreateViaJsonString';
}
if (('CreateExpanded', 'CreateViaJsonFilePath', 'CreateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -8504,6 +8825,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -8549,9 +8873,9 @@ end {
<#
.Synopsis
-create storage for a connectedEnvironment.
+Create storage for a connectedEnvironment.
.Description
-create storage for a connectedEnvironment.
+Create storage for a connectedEnvironment.
.Example
New-AzStorageAccount -ResourceGroupName azps_test_group_app -AccountName azpstestsa -Location eastus -SkuName Standard_GRS
$storageAccountKey = (Get-AzStorageAccountKey -ResourceGroupName azps_test_group_app -AccountName azpstestsa).Value[0]
@@ -8763,6 +9087,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -8788,8 +9120,6 @@ begin {
CreateViaJsonString = 'Az.App.private\New-AzContainerAppConnectedEnvStorage_CreateViaJsonString';
}
if (('CreateExpanded', 'CreateViaJsonFilePath', 'CreateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -8803,6 +9133,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -8848,9 +9181,9 @@ end {
<#
.Synopsis
-create an connectedEnvironment.
+Create an connectedEnvironment.
.Description
-create an connectedEnvironment.
+Create an connectedEnvironment.
.Example
New-AzContainerAppConnectedEnv -Name azps-connectedenv -ResourceGroupName azps_test_group_app -Location eastus -ExtendedLocationName "/subscriptions/{subId}/resourceGroups/azps_test_group_app/providers/Microsoft.ExtendedLocation/customLocations/my-custom-location" -ExtendedLocationType CustomLocation
@@ -9069,6 +9402,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -9093,8 +9434,6 @@ begin {
CreateViaJsonString = 'Az.App.private\New-AzContainerAppConnectedEnv_CreateViaJsonString';
}
if (('CreateExpanded', 'CreateViaJsonFilePath', 'CreateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -9108,6 +9447,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -9153,9 +9495,9 @@ end {
<#
.Synopsis
-create a Managed Certificate.
+Create a Managed Certificate.
.Description
-create a Managed Certificate.
+Create a Managed Certificate.
.Example
New-AzContainerAppManagedCert -EnvName azps-env -Name azps-managedcert -ResourceGroupName azps_test_group_app -Location eastus -DomainControlValidation TXT -SubjectName "mycertweb.com"
@@ -9377,6 +9719,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -9402,8 +9752,6 @@ begin {
CreateViaJsonString = 'Az.App.private\New-AzContainerAppManagedCert_CreateViaJsonString';
}
if (('CreateExpanded', 'CreateViaJsonFilePath', 'CreateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -9417,6 +9765,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -9462,9 +9813,9 @@ end {
<#
.Synopsis
-create a Certificate.
+Create a Certificate.
.Description
-create a Certificate.
+Create a Certificate.
.Example
New-SelfSignedCertificate -DnsName "www.fabrikam.com", "www.contoso.com" -CertStoreLocation "cert:\LocalMachine\My"
Get-ChildItem -Path cert:\LocalMachine\My
@@ -9678,6 +10029,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -9703,8 +10062,6 @@ begin {
CreateViaJsonString = 'Az.App.private\New-AzContainerAppManagedEnvCert_CreateViaJsonString';
}
if (('CreateExpanded', 'CreateViaJsonFilePath', 'CreateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -9718,6 +10075,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -9763,9 +10123,9 @@ end {
<#
.Synopsis
-create a Dapr Component in a Managed Environment.
+Create a Dapr Component in a Managed Environment.
.Description
-create a Dapr Component in a Managed Environment.
+Create a Dapr Component in a Managed Environment.
.Example
$scope = @("container-app-1","container-app-2")
$secretObject = New-AzContainerAppSecretObject -Name "masterkey" -Value "keyvalue"
@@ -10023,6 +10383,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -10048,8 +10416,6 @@ begin {
CreateViaJsonString = 'Az.App.private\New-AzContainerAppManagedEnvDapr_CreateViaJsonString';
}
if (('CreateExpanded', 'CreateViaJsonFilePath', 'CreateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -10063,6 +10429,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -10108,9 +10477,9 @@ end {
<#
.Synopsis
-create storage for a managedEnvironment.
+Create storage for a managedEnvironment.
.Description
-create storage for a managedEnvironment.
+Create storage for a managedEnvironment.
.Example
New-AzStorageAccount -ResourceGroupName azps_test_group_app -AccountName azpstestsa -Location eastus -SkuName Standard_GRS
$storageAccountKey = (Get-AzStorageAccountKey -ResourceGroupName azps_test_group_app -AccountName azpstestsa).Value[0]
@@ -10322,6 +10691,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -10347,8 +10724,6 @@ begin {
CreateViaJsonString = 'Az.App.private\New-AzContainerAppManagedEnvStorage_CreateViaJsonString';
}
if (('CreateExpanded', 'CreateViaJsonFilePath', 'CreateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -10362,6 +10737,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -10407,9 +10785,9 @@ end {
<#
.Synopsis
-create a Managed Environment used to host container apps.
+Create a Managed Environment used to host container apps.
.Description
-create a Managed Environment used to host container apps.
+Create a Managed Environment used to host container apps.
.Example
New-AzOperationalInsightsWorkspace -ResourceGroupName azps_test_group_app -Name workspace-azpstestgp -Sku PerGB2018 -Location canadacentral -PublicNetworkAccessForIngestion "Enabled" -PublicNetworkAccessForQuery "Enabled"
@@ -10722,6 +11100,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -10746,8 +11132,6 @@ begin {
CreateViaJsonString = 'Az.App.private\New-AzContainerAppManagedEnv_CreateViaJsonString';
}
if (('CreateExpanded', 'CreateViaJsonFilePath', 'CreateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -10761,6 +11145,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -10806,9 +11193,9 @@ end {
<#
.Synopsis
-create the SourceControl for a Container App.
+Create the SourceControl for a Container App.
.Description
-create the SourceControl for a Container App.
+Create the SourceControl for a Container App.
.Example
$AzureClientSecret = ConvertTo-SecureString -String "****" -AsPlainText -Force
$RegistryPassword = ConvertTo-SecureString -String "****" -AsPlainText -Force
@@ -11136,6 +11523,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -11161,8 +11556,6 @@ begin {
CreateViaJsonString = 'Az.App.private\New-AzContainerAppSourceControl_CreateViaJsonString';
}
if (('CreateExpanded', 'CreateViaJsonFilePath', 'CreateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -11176,6 +11569,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -11393,6 +11789,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -11416,8 +11820,6 @@ begin {
DeleteViaIdentityContainerApp = 'Az.App.private\Remove-AzContainerAppAuthConfig_DeleteViaIdentityContainerApp';
}
if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -11431,6 +11833,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -11648,6 +12053,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -11671,8 +12084,6 @@ begin {
DeleteViaIdentityConnectedEnvironment = 'Az.App.private\Remove-AzContainerAppConnectedEnvCert_DeleteViaIdentityConnectedEnvironment';
}
if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -11686,6 +12097,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -11743,7 +12157,7 @@ Remove-AzContainerAppConnectedEnvDapr -ConnectedEnvironmentInputObject $connecte
.Example
$connectedenvdapr = Get-AzContainerAppConnectedEnvDapr -ConnectedEnvironmentName azps-connectedenv -ResourceGroupName azps_test_group_app -Name azps-connectedenvdapr
-Remove-AzContainerAppConnectedEnvDapr -InpitObject $connectedenvdapr
+Remove-AzContainerAppConnectedEnvDapr -InputObject $connectedenvdapr
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAppIdentity
@@ -11903,6 +12317,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -11926,8 +12348,6 @@ begin {
DeleteViaIdentityConnectedEnvironment = 'Az.App.private\Remove-AzContainerAppConnectedEnvDapr_DeleteViaIdentityConnectedEnvironment';
}
if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -11941,6 +12361,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -12158,6 +12581,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -12181,8 +12612,6 @@ begin {
DeleteViaIdentityConnectedEnvironment = 'Az.App.private\Remove-AzContainerAppConnectedEnvStorage_DeleteViaIdentityConnectedEnvironment';
}
if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -12196,6 +12625,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -12387,6 +12819,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -12409,8 +12849,6 @@ begin {
DeleteViaIdentity = 'Az.App.private\Remove-AzContainerAppConnectedEnv_DeleteViaIdentity';
}
if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -12424,6 +12862,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -12615,6 +13056,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -12637,8 +13086,6 @@ begin {
DeleteViaIdentity = 'Az.App.private\Remove-AzContainerAppJob_DeleteViaIdentity';
}
if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -12652,6 +13099,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -12865,6 +13315,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -12888,8 +13346,6 @@ begin {
DeleteViaIdentityManagedEnvironment = 'Az.App.private\Remove-AzContainerAppManagedCert_DeleteViaIdentityManagedEnvironment';
}
if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -12903,6 +13359,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -13120,6 +13579,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -13143,8 +13610,6 @@ begin {
DeleteViaIdentityManagedEnvironment = 'Az.App.private\Remove-AzContainerAppManagedEnvCert_DeleteViaIdentityManagedEnvironment';
}
if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -13158,6 +13623,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -13375,6 +13843,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -13398,8 +13874,6 @@ begin {
DeleteViaIdentityManagedEnvironment = 'Az.App.private\Remove-AzContainerAppManagedEnvDapr_DeleteViaIdentityManagedEnvironment';
}
if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -13413,6 +13887,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -13630,6 +14107,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -13653,8 +14138,6 @@ begin {
DeleteViaIdentityManagedEnvironment = 'Az.App.private\Remove-AzContainerAppManagedEnvStorage_DeleteViaIdentityManagedEnvironment';
}
if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -13668,6 +14151,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -13860,6 +14346,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -13882,8 +14376,6 @@ begin {
DeleteViaIdentity = 'Az.App.private\Remove-AzContainerAppManagedEnv_DeleteViaIdentity';
}
if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -13897,6 +14389,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -14088,6 +14583,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -14110,8 +14613,6 @@ begin {
DeleteViaIdentity = 'Az.App.private\Remove-AzContainerApp_DeleteViaIdentity';
}
if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -14125,6 +14626,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -14337,6 +14841,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -14360,8 +14872,6 @@ begin {
RestartViaIdentityContainerApp = 'Az.App.private\Restart-AzContainerAppRevision_RestartViaIdentityContainerApp';
}
if (('Restart') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -14375,6 +14885,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -14643,6 +15156,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -14669,8 +15190,6 @@ begin {
StartViaJsonString = 'Az.App.private\Start-AzContainerAppJob_StartViaJsonString';
}
if (('Start', 'StartExpanded', 'StartViaJsonFilePath', 'StartViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -14684,6 +15203,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -14866,6 +15388,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -14888,8 +15418,6 @@ begin {
StartViaIdentity = 'Az.App.private\Start-AzContainerApp_StartViaIdentity';
}
if (('Start') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -14903,6 +15431,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -15124,6 +15655,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -15147,8 +15686,6 @@ begin {
StopViaIdentityJob = 'Az.App.private\Stop-AzContainerAppJobExecution_StopViaIdentityJob';
}
if (('Stop') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -15162,6 +15699,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -15344,6 +15884,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -15366,8 +15914,6 @@ begin {
StopViaIdentity = 'Az.App.private\Stop-AzContainerApp_StopViaIdentity';
}
if (('Stop') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -15381,6 +15927,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -15558,6 +16107,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -15582,8 +16139,6 @@ begin {
CheckViaJsonString = 'Az.App.private\Test-AzContainerAppConnectedEnvNameAvailability_CheckViaJsonString';
}
if (('Check', 'CheckExpanded', 'CheckViaJsonFilePath', 'CheckViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -15597,6 +16152,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -15774,6 +16332,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -15798,8 +16364,6 @@ begin {
CheckViaJsonString = 'Az.App.private\Test-AzContainerAppNamespaceAvailability_CheckViaJsonString';
}
if (('Check', 'CheckExpanded', 'CheckViaJsonFilePath', 'CheckViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -15813,6 +16377,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -15858,9 +16425,9 @@ end {
<#
.Synopsis
-update the AuthConfig for a Container App.
+Update the AuthConfig for a Container App.
.Description
-update the AuthConfig for a Container App.
+Update the AuthConfig for a Container App.
.Example
Update-AzContainerAppAuthConfig -Name current -ContainerAppName azps-containerapp-2 -ResourceGroupName azps_test_group_app -PlatformEnabled -GlobalValidationUnauthenticatedClientAction RedirectToLoginPage -IdentityProvider $identity
.Example
@@ -16181,6 +16748,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -16204,8 +16779,6 @@ begin {
UpdateViaIdentityExpanded = 'Az.App.private\Update-AzContainerAppAuthConfig_UpdateViaIdentityExpanded';
}
if (('UpdateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -16219,6 +16792,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -16456,6 +17032,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -16481,8 +17065,6 @@ begin {
UpdateViaJsonString = 'Az.App.private\Update-AzContainerAppConnectedEnvCert_UpdateViaJsonString';
}
if (('UpdateExpanded', 'UpdateViaJsonFilePath', 'UpdateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -16496,6 +17078,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -16541,9 +17126,9 @@ end {
<#
.Synopsis
-update a Dapr Component in a connected environment.
+Update a Dapr Component in a connected environment.
.Description
-update a Dapr Component in a connected environment.
+Update a Dapr Component in a connected environment.
.Example
$secretObject = New-AzContainerAppSecretObject -Name "masterkey" -Value "keyvalue"
$daprMetaData = New-AzContainerAppDaprMetadataObject -Name "masterkey" -Value "masterkey"
@@ -16776,6 +17361,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -16799,8 +17392,6 @@ begin {
UpdateViaIdentityExpanded = 'Az.App.private\Update-AzContainerAppConnectedEnvDapr_UpdateViaIdentityExpanded';
}
if (('UpdateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -16814,6 +17405,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -16859,9 +17453,9 @@ end {
<#
.Synopsis
-update storage for a connectedEnvironment.
+Update storage for a connectedEnvironment.
.Description
-update storage for a connectedEnvironment.
+Update storage for a connectedEnvironment.
.Example
$storageAccountKey = (Get-AzStorageAccountKey -ResourceGroupName azps_test_group_app -AccountName azpstestsa).Value[0]
@@ -17054,6 +17648,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -17077,8 +17679,6 @@ begin {
UpdateViaIdentityExpanded = 'Az.App.private\Update-AzContainerAppConnectedEnvStorage_UpdateViaIdentityExpanded';
}
if (('UpdateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -17092,6 +17692,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -17326,6 +17929,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -17351,8 +17962,6 @@ begin {
UpdateViaJsonString = 'Az.App.private\Update-AzContainerAppManagedCert_UpdateViaJsonString';
}
if (('UpdateExpanded', 'UpdateViaJsonFilePath', 'UpdateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -17366,6 +17975,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -17608,6 +18220,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -17633,8 +18253,6 @@ begin {
UpdateViaJsonString = 'Az.App.private\Update-AzContainerAppManagedEnvCert_UpdateViaJsonString';
}
if (('UpdateExpanded', 'UpdateViaJsonFilePath', 'UpdateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -17648,6 +18266,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -17693,9 +18314,9 @@ end {
<#
.Synopsis
-update a Dapr Component in a Managed Environment.
+Update a Dapr Component in a Managed Environment.
.Description
-update a Dapr Component in a Managed Environment.
+Update a Dapr Component in a Managed Environment.
.Example
$scope = @("container-app-1","container-app-2")
$secretObject = New-AzContainerAppSecretObject -Name "masterkey" -Value "keyvalue"
@@ -17931,6 +18552,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -17954,8 +18583,6 @@ begin {
UpdateViaIdentityManagedEnvironmentExpanded = 'Az.App.private\Update-AzContainerAppManagedEnvDapr_UpdateViaIdentityManagedEnvironmentExpanded';
}
if (('UpdateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -17969,6 +18596,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -18014,9 +18644,9 @@ end {
<#
.Synopsis
-update storage for a managedEnvironment.
+Update storage for a managedEnvironment.
.Description
-update storage for a managedEnvironment.
+Update storage for a managedEnvironment.
.Example
$storageAccountKey = (Get-AzStorageAccountKey -ResourceGroupName azps_test_group_app -AccountName azpstestsa).Value[0]
@@ -18209,6 +18839,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -18232,8 +18870,6 @@ begin {
UpdateViaIdentityManagedEnvironmentExpanded = 'Az.App.private\Update-AzContainerAppManagedEnvStorage_UpdateViaIdentityManagedEnvironmentExpanded';
}
if (('UpdateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -18247,6 +18883,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -18529,6 +19168,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -18553,8 +19200,6 @@ begin {
UpdateViaJsonString = 'Az.App.private\Update-AzContainerAppManagedEnv_UpdateViaJsonString';
}
if (('UpdateExpanded', 'UpdateViaJsonFilePath', 'UpdateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -18568,6 +19213,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -18613,9 +19261,9 @@ end {
<#
.Synopsis
-update the SourceControl for a Container App.
+Update the SourceControl for a Container App.
.Description
-update the SourceControl for a Container App.
+Update the SourceControl for a Container App.
.Example
$AzureClientSecret = ConvertTo-SecureString -String "****" -AsPlainText -Force
$RegistryPassword = ConvertTo-SecureString -String "****" -AsPlainText -Force
@@ -18903,6 +19551,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -18926,8 +19582,6 @@ begin {
UpdateViaIdentityExpanded = 'Az.App.private\Update-AzContainerAppSourceControl_UpdateViaIdentityExpanded';
}
if (('UpdateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -18941,6 +19595,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -19478,6 +20135,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -19502,8 +20167,6 @@ begin {
CreateViaIdentityExpanded = 'Az.App.custom\New-AzContainerApp';
}
if (('CreateExpanded', 'CreateViaJsonString', 'CreateViaJsonFilePath') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -19517,6 +20180,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -19817,6 +20483,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -19844,6 +20513,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -19935,6 +20607,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -19962,6 +20637,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -20049,6 +20727,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -20076,6 +20757,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -20163,6 +20847,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -20190,6 +20877,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -20531,6 +21221,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -20558,6 +21251,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -20691,6 +21387,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -20718,6 +21417,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -20814,6 +21516,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -20841,6 +21546,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -21310,6 +22018,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -21334,8 +22050,6 @@ begin {
CreateViaIdentityExpanded = 'Az.App.custom\New-AzContainerAppJob';
}
if (('CreateExpanded', 'CreateViaJsonString', 'CreateViaJsonFilePath') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -21349,6 +22063,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -21471,6 +22188,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -21498,6 +22218,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -21601,6 +22324,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -21628,6 +22354,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -21709,6 +22438,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -21736,6 +22468,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -21931,6 +22666,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -21958,6 +22696,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -22053,6 +22794,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -22080,6 +22824,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -22161,6 +22908,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -22188,6 +22938,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -22353,6 +23106,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -22380,6 +23136,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -22473,6 +23232,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -22500,6 +23262,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -22582,6 +23347,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -22609,6 +23377,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -22690,6 +23461,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -22717,6 +23491,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -22877,6 +23654,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -22904,6 +23684,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -22997,6 +23780,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -23024,6 +23810,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -23112,6 +23901,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -23139,6 +23931,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -23251,6 +24046,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -23278,6 +24076,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -23371,6 +24172,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -23398,6 +24202,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -23876,6 +24683,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -23900,8 +24715,6 @@ begin {
UpdateViaIdentityExpanded = 'Az.App.custom\Update-AzContainerApp';
}
if (('UpdateExpanded', 'UpdateViaJsonString', 'UpdateViaJsonFilePath') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -23915,6 +24728,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -24385,6 +25201,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -24409,8 +25233,6 @@ begin {
UpdateViaIdentityExpanded = 'Az.App.custom\Update-AzContainerAppJob';
}
if (('UpdateExpanded', 'UpdateViaJsonString', 'UpdateViaJsonFilePath') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -24424,6 +25246,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Remove-AzContainerApp.ps1 b/generated/App/App.Autorest/exports/Remove-AzContainerApp.ps1
index f5239c002745..ee8ca7c4d527 100644
--- a/generated/App/App.Autorest/exports/Remove-AzContainerApp.ps1
+++ b/generated/App/App.Autorest/exports/Remove-AzContainerApp.ps1
@@ -162,6 +162,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -184,8 +192,6 @@ begin {
DeleteViaIdentity = 'Az.App.private\Remove-AzContainerApp_DeleteViaIdentity';
}
if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -199,6 +205,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Remove-AzContainerAppAuthConfig.ps1 b/generated/App/App.Autorest/exports/Remove-AzContainerAppAuthConfig.ps1
index 085f359622f0..e03500f4e552 100644
--- a/generated/App/App.Autorest/exports/Remove-AzContainerAppAuthConfig.ps1
+++ b/generated/App/App.Autorest/exports/Remove-AzContainerAppAuthConfig.ps1
@@ -188,6 +188,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -211,8 +219,6 @@ begin {
DeleteViaIdentityContainerApp = 'Az.App.private\Remove-AzContainerAppAuthConfig_DeleteViaIdentityContainerApp';
}
if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -226,6 +232,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Remove-AzContainerAppConnectedEnv.ps1 b/generated/App/App.Autorest/exports/Remove-AzContainerAppConnectedEnv.ps1
index 5c13ac7ba4bf..d485af2993bf 100644
--- a/generated/App/App.Autorest/exports/Remove-AzContainerAppConnectedEnv.ps1
+++ b/generated/App/App.Autorest/exports/Remove-AzContainerAppConnectedEnv.ps1
@@ -162,6 +162,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -184,8 +192,6 @@ begin {
DeleteViaIdentity = 'Az.App.private\Remove-AzContainerAppConnectedEnv_DeleteViaIdentity';
}
if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -199,6 +205,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Remove-AzContainerAppConnectedEnvCert.ps1 b/generated/App/App.Autorest/exports/Remove-AzContainerAppConnectedEnvCert.ps1
index f50b61a73084..c1a10b0161f9 100644
--- a/generated/App/App.Autorest/exports/Remove-AzContainerAppConnectedEnvCert.ps1
+++ b/generated/App/App.Autorest/exports/Remove-AzContainerAppConnectedEnvCert.ps1
@@ -188,6 +188,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -211,8 +219,6 @@ begin {
DeleteViaIdentityConnectedEnvironment = 'Az.App.private\Remove-AzContainerAppConnectedEnvCert_DeleteViaIdentityConnectedEnvironment';
}
if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -226,6 +232,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Remove-AzContainerAppConnectedEnvDapr.ps1 b/generated/App/App.Autorest/exports/Remove-AzContainerAppConnectedEnvDapr.ps1
index cfc278d5b006..d6574ad33c32 100644
--- a/generated/App/App.Autorest/exports/Remove-AzContainerAppConnectedEnvDapr.ps1
+++ b/generated/App/App.Autorest/exports/Remove-AzContainerAppConnectedEnvDapr.ps1
@@ -28,7 +28,7 @@ Remove-AzContainerAppConnectedEnvDapr -ConnectedEnvironmentInputObject $connecte
.Example
$connectedenvdapr = Get-AzContainerAppConnectedEnvDapr -ConnectedEnvironmentName azps-connectedenv -ResourceGroupName azps_test_group_app -Name azps-connectedenvdapr
-Remove-AzContainerAppConnectedEnvDapr -InpitObject $connectedenvdapr
+Remove-AzContainerAppConnectedEnvDapr -InputObject $connectedenvdapr
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAppIdentity
@@ -188,6 +188,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -211,8 +219,6 @@ begin {
DeleteViaIdentityConnectedEnvironment = 'Az.App.private\Remove-AzContainerAppConnectedEnvDapr_DeleteViaIdentityConnectedEnvironment';
}
if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -226,6 +232,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Remove-AzContainerAppConnectedEnvStorage.ps1 b/generated/App/App.Autorest/exports/Remove-AzContainerAppConnectedEnvStorage.ps1
index 0afc5af6dde2..b72ff82a63ea 100644
--- a/generated/App/App.Autorest/exports/Remove-AzContainerAppConnectedEnvStorage.ps1
+++ b/generated/App/App.Autorest/exports/Remove-AzContainerAppConnectedEnvStorage.ps1
@@ -188,6 +188,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -211,8 +219,6 @@ begin {
DeleteViaIdentityConnectedEnvironment = 'Az.App.private\Remove-AzContainerAppConnectedEnvStorage_DeleteViaIdentityConnectedEnvironment';
}
if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -226,6 +232,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Remove-AzContainerAppJob.ps1 b/generated/App/App.Autorest/exports/Remove-AzContainerAppJob.ps1
index 8bf8b150c09c..9730fbb86bae 100644
--- a/generated/App/App.Autorest/exports/Remove-AzContainerAppJob.ps1
+++ b/generated/App/App.Autorest/exports/Remove-AzContainerAppJob.ps1
@@ -162,6 +162,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -184,8 +192,6 @@ begin {
DeleteViaIdentity = 'Az.App.private\Remove-AzContainerAppJob_DeleteViaIdentity';
}
if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -199,6 +205,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Remove-AzContainerAppManagedCert.ps1 b/generated/App/App.Autorest/exports/Remove-AzContainerAppManagedCert.ps1
index 660f7441fa84..dde0eff7d68a 100644
--- a/generated/App/App.Autorest/exports/Remove-AzContainerAppManagedCert.ps1
+++ b/generated/App/App.Autorest/exports/Remove-AzContainerAppManagedCert.ps1
@@ -184,6 +184,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -207,8 +215,6 @@ begin {
DeleteViaIdentityManagedEnvironment = 'Az.App.private\Remove-AzContainerAppManagedCert_DeleteViaIdentityManagedEnvironment';
}
if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -222,6 +228,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Remove-AzContainerAppManagedEnv.ps1 b/generated/App/App.Autorest/exports/Remove-AzContainerAppManagedEnv.ps1
index 34a999719dd5..ec5ca6fe70e5 100644
--- a/generated/App/App.Autorest/exports/Remove-AzContainerAppManagedEnv.ps1
+++ b/generated/App/App.Autorest/exports/Remove-AzContainerAppManagedEnv.ps1
@@ -163,6 +163,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -185,8 +193,6 @@ begin {
DeleteViaIdentity = 'Az.App.private\Remove-AzContainerAppManagedEnv_DeleteViaIdentity';
}
if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -200,6 +206,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Remove-AzContainerAppManagedEnvCert.ps1 b/generated/App/App.Autorest/exports/Remove-AzContainerAppManagedEnvCert.ps1
index ec12d6e468c9..bd1ed2819cff 100644
--- a/generated/App/App.Autorest/exports/Remove-AzContainerAppManagedEnvCert.ps1
+++ b/generated/App/App.Autorest/exports/Remove-AzContainerAppManagedEnvCert.ps1
@@ -188,6 +188,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -211,8 +219,6 @@ begin {
DeleteViaIdentityManagedEnvironment = 'Az.App.private\Remove-AzContainerAppManagedEnvCert_DeleteViaIdentityManagedEnvironment';
}
if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -226,6 +232,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Remove-AzContainerAppManagedEnvDapr.ps1 b/generated/App/App.Autorest/exports/Remove-AzContainerAppManagedEnvDapr.ps1
index 96b131b1a4b9..fbdb391c6aaf 100644
--- a/generated/App/App.Autorest/exports/Remove-AzContainerAppManagedEnvDapr.ps1
+++ b/generated/App/App.Autorest/exports/Remove-AzContainerAppManagedEnvDapr.ps1
@@ -188,6 +188,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -211,8 +219,6 @@ begin {
DeleteViaIdentityManagedEnvironment = 'Az.App.private\Remove-AzContainerAppManagedEnvDapr_DeleteViaIdentityManagedEnvironment';
}
if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -226,6 +232,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Remove-AzContainerAppManagedEnvStorage.ps1 b/generated/App/App.Autorest/exports/Remove-AzContainerAppManagedEnvStorage.ps1
index a4302f2598e7..b51a06327401 100644
--- a/generated/App/App.Autorest/exports/Remove-AzContainerAppManagedEnvStorage.ps1
+++ b/generated/App/App.Autorest/exports/Remove-AzContainerAppManagedEnvStorage.ps1
@@ -188,6 +188,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -211,8 +219,6 @@ begin {
DeleteViaIdentityManagedEnvironment = 'Az.App.private\Remove-AzContainerAppManagedEnvStorage_DeleteViaIdentityManagedEnvironment';
}
if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -226,6 +232,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Restart-AzContainerAppRevision.ps1 b/generated/App/App.Autorest/exports/Restart-AzContainerAppRevision.ps1
index 973328b85649..a2dc044d07bf 100644
--- a/generated/App/App.Autorest/exports/Restart-AzContainerAppRevision.ps1
+++ b/generated/App/App.Autorest/exports/Restart-AzContainerAppRevision.ps1
@@ -183,6 +183,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -206,8 +214,6 @@ begin {
RestartViaIdentityContainerApp = 'Az.App.private\Restart-AzContainerAppRevision_RestartViaIdentityContainerApp';
}
if (('Restart') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -221,6 +227,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Start-AzContainerApp.ps1 b/generated/App/App.Autorest/exports/Start-AzContainerApp.ps1
index cdb6dcced7ed..1ed525d6d3b4 100644
--- a/generated/App/App.Autorest/exports/Start-AzContainerApp.ps1
+++ b/generated/App/App.Autorest/exports/Start-AzContainerApp.ps1
@@ -153,6 +153,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -175,8 +183,6 @@ begin {
StartViaIdentity = 'Az.App.private\Start-AzContainerApp_StartViaIdentity';
}
if (('Start') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -190,6 +196,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Start-AzContainerAppJob.ps1 b/generated/App/App.Autorest/exports/Start-AzContainerAppJob.ps1
index b110a1f9ad24..9f5201557044 100644
--- a/generated/App/App.Autorest/exports/Start-AzContainerAppJob.ps1
+++ b/generated/App/App.Autorest/exports/Start-AzContainerAppJob.ps1
@@ -239,6 +239,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -265,8 +273,6 @@ begin {
StartViaJsonString = 'Az.App.private\Start-AzContainerAppJob_StartViaJsonString';
}
if (('Start', 'StartExpanded', 'StartViaJsonFilePath', 'StartViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -280,6 +286,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Stop-AzContainerApp.ps1 b/generated/App/App.Autorest/exports/Stop-AzContainerApp.ps1
index dd3d49e9a744..5e65b0bb983a 100644
--- a/generated/App/App.Autorest/exports/Stop-AzContainerApp.ps1
+++ b/generated/App/App.Autorest/exports/Stop-AzContainerApp.ps1
@@ -153,6 +153,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -175,8 +183,6 @@ begin {
StopViaIdentity = 'Az.App.private\Stop-AzContainerApp_StopViaIdentity';
}
if (('Stop') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -190,6 +196,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Stop-AzContainerAppJobExecution.ps1 b/generated/App/App.Autorest/exports/Stop-AzContainerAppJobExecution.ps1
index f27a4b3e3913..b700510a3455 100644
--- a/generated/App/App.Autorest/exports/Stop-AzContainerAppJobExecution.ps1
+++ b/generated/App/App.Autorest/exports/Stop-AzContainerAppJobExecution.ps1
@@ -192,6 +192,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -215,8 +223,6 @@ begin {
StopViaIdentityJob = 'Az.App.private\Stop-AzContainerAppJobExecution_StopViaIdentityJob';
}
if (('Stop') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -230,6 +236,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Test-AzContainerAppConnectedEnvNameAvailability.ps1 b/generated/App/App.Autorest/exports/Test-AzContainerAppConnectedEnvNameAvailability.ps1
index 977fa2a30689..713211051afc 100644
--- a/generated/App/App.Autorest/exports/Test-AzContainerAppConnectedEnvNameAvailability.ps1
+++ b/generated/App/App.Autorest/exports/Test-AzContainerAppConnectedEnvNameAvailability.ps1
@@ -148,6 +148,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -172,8 +180,6 @@ begin {
CheckViaJsonString = 'Az.App.private\Test-AzContainerAppConnectedEnvNameAvailability_CheckViaJsonString';
}
if (('Check', 'CheckExpanded', 'CheckViaJsonFilePath', 'CheckViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -187,6 +193,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Test-AzContainerAppNamespaceAvailability.ps1 b/generated/App/App.Autorest/exports/Test-AzContainerAppNamespaceAvailability.ps1
index a8ed54aacd26..1417642b5b94 100644
--- a/generated/App/App.Autorest/exports/Test-AzContainerAppNamespaceAvailability.ps1
+++ b/generated/App/App.Autorest/exports/Test-AzContainerAppNamespaceAvailability.ps1
@@ -148,6 +148,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -172,8 +180,6 @@ begin {
CheckViaJsonString = 'Az.App.private\Test-AzContainerAppNamespaceAvailability_CheckViaJsonString';
}
if (('Check', 'CheckExpanded', 'CheckViaJsonFilePath', 'CheckViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -187,6 +193,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Update-AzContainerApp.ps1 b/generated/App/App.Autorest/exports/Update-AzContainerApp.ps1
index 12a2dc1dc873..e6190e0af7ab 100644
--- a/generated/App/App.Autorest/exports/Update-AzContainerApp.ps1
+++ b/generated/App/App.Autorest/exports/Update-AzContainerApp.ps1
@@ -449,6 +449,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -473,8 +481,6 @@ begin {
UpdateViaIdentityExpanded = 'Az.App.custom\Update-AzContainerApp';
}
if (('UpdateExpanded', 'UpdateViaJsonString', 'UpdateViaJsonFilePath') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -488,6 +494,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Update-AzContainerAppAuthConfig.ps1 b/generated/App/App.Autorest/exports/Update-AzContainerAppAuthConfig.ps1
index 2fdfd6f675a3..ea95c546cfc3 100644
--- a/generated/App/App.Autorest/exports/Update-AzContainerAppAuthConfig.ps1
+++ b/generated/App/App.Autorest/exports/Update-AzContainerAppAuthConfig.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-update the AuthConfig for a Container App.
+Update the AuthConfig for a Container App.
.Description
-update the AuthConfig for a Container App.
+Update the AuthConfig for a Container App.
.Example
Update-AzContainerAppAuthConfig -Name current -ContainerAppName azps-containerapp-2 -ResourceGroupName azps_test_group_app -PlatformEnabled -GlobalValidationUnauthenticatedClientAction RedirectToLoginPage -IdentityProvider $identity
.Example
@@ -339,6 +339,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -362,8 +370,6 @@ begin {
UpdateViaIdentityExpanded = 'Az.App.private\Update-AzContainerAppAuthConfig_UpdateViaIdentityExpanded';
}
if (('UpdateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -377,6 +383,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Update-AzContainerAppConnectedEnvCert.ps1 b/generated/App/App.Autorest/exports/Update-AzContainerAppConnectedEnvCert.ps1
index bc0317d5ae51..8fa9988bee29 100644
--- a/generated/App/App.Autorest/exports/Update-AzContainerAppConnectedEnvCert.ps1
+++ b/generated/App/App.Autorest/exports/Update-AzContainerAppConnectedEnvCert.ps1
@@ -208,6 +208,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -233,8 +241,6 @@ begin {
UpdateViaJsonString = 'Az.App.private\Update-AzContainerAppConnectedEnvCert_UpdateViaJsonString';
}
if (('UpdateExpanded', 'UpdateViaJsonFilePath', 'UpdateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -248,6 +254,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Update-AzContainerAppConnectedEnvDapr.ps1 b/generated/App/App.Autorest/exports/Update-AzContainerAppConnectedEnvDapr.ps1
index 24169b330cf1..e21a99e5c511 100644
--- a/generated/App/App.Autorest/exports/Update-AzContainerAppConnectedEnvDapr.ps1
+++ b/generated/App/App.Autorest/exports/Update-AzContainerAppConnectedEnvDapr.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-update a Dapr Component in a connected environment.
+Update a Dapr Component in a connected environment.
.Description
-update a Dapr Component in a connected environment.
+Update a Dapr Component in a connected environment.
.Example
$secretObject = New-AzContainerAppSecretObject -Name "masterkey" -Value "keyvalue"
$daprMetaData = New-AzContainerAppDaprMetadataObject -Name "masterkey" -Value "masterkey"
@@ -251,6 +251,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -274,8 +282,6 @@ begin {
UpdateViaIdentityExpanded = 'Az.App.private\Update-AzContainerAppConnectedEnvDapr_UpdateViaIdentityExpanded';
}
if (('UpdateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -289,6 +295,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Update-AzContainerAppConnectedEnvStorage.ps1 b/generated/App/App.Autorest/exports/Update-AzContainerAppConnectedEnvStorage.ps1
index ddc38865fed9..833930105ce9 100644
--- a/generated/App/App.Autorest/exports/Update-AzContainerAppConnectedEnvStorage.ps1
+++ b/generated/App/App.Autorest/exports/Update-AzContainerAppConnectedEnvStorage.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-update storage for a connectedEnvironment.
+Update storage for a connectedEnvironment.
.Description
-update storage for a connectedEnvironment.
+Update storage for a connectedEnvironment.
.Example
$storageAccountKey = (Get-AzStorageAccountKey -ResourceGroupName azps_test_group_app -AccountName azpstestsa).Value[0]
@@ -211,6 +211,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -234,8 +242,6 @@ begin {
UpdateViaIdentityExpanded = 'Az.App.private\Update-AzContainerAppConnectedEnvStorage_UpdateViaIdentityExpanded';
}
if (('UpdateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -249,6 +255,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Update-AzContainerAppJob.ps1 b/generated/App/App.Autorest/exports/Update-AzContainerAppJob.ps1
index 71a95305ae89..b6f60d7a36a2 100644
--- a/generated/App/App.Autorest/exports/Update-AzContainerAppJob.ps1
+++ b/generated/App/App.Autorest/exports/Update-AzContainerAppJob.ps1
@@ -441,6 +441,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -465,8 +473,6 @@ begin {
UpdateViaIdentityExpanded = 'Az.App.custom\Update-AzContainerAppJob';
}
if (('UpdateExpanded', 'UpdateViaJsonString', 'UpdateViaJsonFilePath') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -480,6 +486,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Update-AzContainerAppManagedCert.ps1 b/generated/App/App.Autorest/exports/Update-AzContainerAppManagedCert.ps1
index ba36ba90536a..61d62a65c307 100644
--- a/generated/App/App.Autorest/exports/Update-AzContainerAppManagedCert.ps1
+++ b/generated/App/App.Autorest/exports/Update-AzContainerAppManagedCert.ps1
@@ -205,6 +205,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -230,8 +238,6 @@ begin {
UpdateViaJsonString = 'Az.App.private\Update-AzContainerAppManagedCert_UpdateViaJsonString';
}
if (('UpdateExpanded', 'UpdateViaJsonFilePath', 'UpdateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -245,6 +251,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Update-AzContainerAppManagedEnv.ps1 b/generated/App/App.Autorest/exports/Update-AzContainerAppManagedEnv.ps1
index b143e0d4302c..9914f73b7eb4 100644
--- a/generated/App/App.Autorest/exports/Update-AzContainerAppManagedEnv.ps1
+++ b/generated/App/App.Autorest/exports/Update-AzContainerAppManagedEnv.ps1
@@ -253,6 +253,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -277,8 +285,6 @@ begin {
UpdateViaJsonString = 'Az.App.private\Update-AzContainerAppManagedEnv_UpdateViaJsonString';
}
if (('UpdateExpanded', 'UpdateViaJsonFilePath', 'UpdateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -292,6 +298,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Update-AzContainerAppManagedEnvCert.ps1 b/generated/App/App.Autorest/exports/Update-AzContainerAppManagedEnvCert.ps1
index 06a1c60c5574..84862ecfec1f 100644
--- a/generated/App/App.Autorest/exports/Update-AzContainerAppManagedEnvCert.ps1
+++ b/generated/App/App.Autorest/exports/Update-AzContainerAppManagedEnvCert.ps1
@@ -213,6 +213,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -238,8 +246,6 @@ begin {
UpdateViaJsonString = 'Az.App.private\Update-AzContainerAppManagedEnvCert_UpdateViaJsonString';
}
if (('UpdateExpanded', 'UpdateViaJsonFilePath', 'UpdateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -253,6 +259,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Update-AzContainerAppManagedEnvDapr.ps1 b/generated/App/App.Autorest/exports/Update-AzContainerAppManagedEnvDapr.ps1
index 7a7bb9d9798a..922a77826bb9 100644
--- a/generated/App/App.Autorest/exports/Update-AzContainerAppManagedEnvDapr.ps1
+++ b/generated/App/App.Autorest/exports/Update-AzContainerAppManagedEnvDapr.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-update a Dapr Component in a Managed Environment.
+Update a Dapr Component in a Managed Environment.
.Description
-update a Dapr Component in a Managed Environment.
+Update a Dapr Component in a Managed Environment.
.Example
$scope = @("container-app-1","container-app-2")
$secretObject = New-AzContainerAppSecretObject -Name "masterkey" -Value "keyvalue"
@@ -254,6 +254,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -277,8 +285,6 @@ begin {
UpdateViaIdentityManagedEnvironmentExpanded = 'Az.App.private\Update-AzContainerAppManagedEnvDapr_UpdateViaIdentityManagedEnvironmentExpanded';
}
if (('UpdateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -292,6 +298,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Update-AzContainerAppManagedEnvStorage.ps1 b/generated/App/App.Autorest/exports/Update-AzContainerAppManagedEnvStorage.ps1
index e1014adb3a10..0cb90dc640f3 100644
--- a/generated/App/App.Autorest/exports/Update-AzContainerAppManagedEnvStorage.ps1
+++ b/generated/App/App.Autorest/exports/Update-AzContainerAppManagedEnvStorage.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-update storage for a managedEnvironment.
+Update storage for a managedEnvironment.
.Description
-update storage for a managedEnvironment.
+Update storage for a managedEnvironment.
.Example
$storageAccountKey = (Get-AzStorageAccountKey -ResourceGroupName azps_test_group_app -AccountName azpstestsa).Value[0]
@@ -211,6 +211,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -234,8 +242,6 @@ begin {
UpdateViaIdentityManagedEnvironmentExpanded = 'Az.App.private\Update-AzContainerAppManagedEnvStorage_UpdateViaIdentityManagedEnvironmentExpanded';
}
if (('UpdateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -249,6 +255,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Update-AzContainerAppSourceControl.ps1 b/generated/App/App.Autorest/exports/Update-AzContainerAppSourceControl.ps1
index 09128a9eacfd..ad9c0c676d29 100644
--- a/generated/App/App.Autorest/exports/Update-AzContainerAppSourceControl.ps1
+++ b/generated/App/App.Autorest/exports/Update-AzContainerAppSourceControl.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-update the SourceControl for a Container App.
+Update the SourceControl for a Container App.
.Description
-update the SourceControl for a Container App.
+Update the SourceControl for a Container App.
.Example
$AzureClientSecret = ConvertTo-SecureString -String "****" -AsPlainText -Force
$RegistryPassword = ConvertTo-SecureString -String "****" -AsPlainText -Force
@@ -306,6 +306,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -329,8 +337,6 @@ begin {
UpdateViaIdentityExpanded = 'Az.App.private\Update-AzContainerAppSourceControl_UpdateViaIdentityExpanded';
}
if (('UpdateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -344,6 +350,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/generated/api/App.cs b/generated/App/App.Autorest/generated/api/App.cs
index 08f37d275703..67a918128eb3 100644
--- a/generated/App/App.Autorest/generated/api/App.cs
+++ b/generated/App/App.Autorest/generated/api/App.cs
@@ -4983,13 +4983,13 @@ public partial class App
global::System.Net.Http.HttpResponseMessage _response = null;
try
{
+ // this operation supports x-ms-long-running-operation
+ var _originalUri = request.RequestUri.AbsoluteUri;
var sendTask = sender.SendAsync(request, eventListener);
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return null; }
- // this operation supports x-ms-long-running-operation
- var _originalUri = request.RequestUri.AbsoluteUri;
// declared final-state-via: azure-async-operation
var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation");
var location = _response.GetFirstHeader(@"Location");
@@ -5139,13 +5139,13 @@ public partial class App
global::System.Net.Http.HttpResponseMessage _response = null;
try
{
+ // this operation supports x-ms-long-running-operation
+ var _originalUri = request.RequestUri.AbsoluteUri;
var sendTask = sender.SendAsync(request, eventListener);
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; }
- // this operation supports x-ms-long-running-operation
- var _originalUri = request.RequestUri.AbsoluteUri;
// declared final-state-via: azure-async-operation
var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation");
var location = _response.GetFirstHeader(@"Location");
@@ -7077,13 +7077,13 @@ public partial class App
global::System.Net.Http.HttpResponseMessage _response = null;
try
{
+ // this operation supports x-ms-long-running-operation
+ var _originalUri = request.RequestUri.AbsoluteUri;
var sendTask = sender.SendAsync(request, eventListener);
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; }
- // this operation supports x-ms-long-running-operation
- var _originalUri = request.RequestUri.AbsoluteUri;
// declared final-state-via: location
var _finalUri = _response.GetFirstHeader(@"Location");
var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation");
@@ -11462,13 +11462,13 @@ public partial class App
global::System.Net.Http.HttpResponseMessage _response = null;
try
{
+ // this operation supports x-ms-long-running-operation
+ var _originalUri = request.RequestUri.AbsoluteUri;
var sendTask = sender.SendAsync(request, eventListener);
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return null; }
- // this operation supports x-ms-long-running-operation
- var _originalUri = request.RequestUri.AbsoluteUri;
// declared final-state-via: azure-async-operation
var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation");
var location = _response.GetFirstHeader(@"Location");
@@ -11616,13 +11616,13 @@ public partial class App
global::System.Net.Http.HttpResponseMessage _response = null;
try
{
+ // this operation supports x-ms-long-running-operation
+ var _originalUri = request.RequestUri.AbsoluteUri;
var sendTask = sender.SendAsync(request, eventListener);
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; }
- // this operation supports x-ms-long-running-operation
- var _originalUri = request.RequestUri.AbsoluteUri;
// declared final-state-via: azure-async-operation
var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation");
var location = _response.GetFirstHeader(@"Location");
@@ -11884,13 +11884,13 @@ public partial class App
global::System.Net.Http.HttpResponseMessage _response = null;
try
{
+ // this operation supports x-ms-long-running-operation
+ var _originalUri = request.RequestUri.AbsoluteUri;
var sendTask = sender.SendAsync(request, eventListener);
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; }
- // this operation supports x-ms-long-running-operation
- var _originalUri = request.RequestUri.AbsoluteUri;
// declared final-state-via: location
var _finalUri = _response.GetFirstHeader(@"Location");
var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation");
@@ -17921,13 +17921,13 @@ public partial class App
global::System.Net.Http.HttpResponseMessage _response = null;
try
{
+ // this operation supports x-ms-long-running-operation
+ var _originalUri = request.RequestUri.AbsoluteUri;
var sendTask = sender.SendAsync(request, eventListener);
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return null; }
- // this operation supports x-ms-long-running-operation
- var _originalUri = request.RequestUri.AbsoluteUri;
// declared final-state-via: default
var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation");
var location = _response.GetFirstHeader(@"Location");
@@ -18080,13 +18080,13 @@ public partial class App
global::System.Net.Http.HttpResponseMessage _response = null;
try
{
+ // this operation supports x-ms-long-running-operation
+ var _originalUri = request.RequestUri.AbsoluteUri;
var sendTask = sender.SendAsync(request, eventListener);
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; }
- // this operation supports x-ms-long-running-operation
- var _originalUri = request.RequestUri.AbsoluteUri;
// declared final-state-via: default
var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation");
var location = _response.GetFirstHeader(@"Location");
@@ -18359,13 +18359,13 @@ public partial class App
global::System.Net.Http.HttpResponseMessage _response = null;
try
{
+ // this operation supports x-ms-long-running-operation
+ var _originalUri = request.RequestUri.AbsoluteUri;
var sendTask = sender.SendAsync(request, eventListener);
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; }
- // this operation supports x-ms-long-running-operation
- var _originalUri = request.RequestUri.AbsoluteUri;
// declared final-state-via: default
var _finalUri = _response.GetFirstHeader(@"Location");
var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation");
@@ -19395,13 +19395,13 @@ public partial class App
global::System.Net.Http.HttpResponseMessage _response = null;
try
{
+ // this operation supports x-ms-long-running-operation
+ var _originalUri = request.RequestUri.AbsoluteUri;
var sendTask = sender.SendAsync(request, eventListener);
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return null; }
- // this operation supports x-ms-long-running-operation
- var _originalUri = request.RequestUri.AbsoluteUri;
// declared final-state-via: location
var _finalUri = _response.GetFirstHeader(@"Location");
var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation");
@@ -19550,13 +19550,13 @@ public partial class App
global::System.Net.Http.HttpResponseMessage _response = null;
try
{
+ // this operation supports x-ms-long-running-operation
+ var _originalUri = request.RequestUri.AbsoluteUri;
var sendTask = sender.SendAsync(request, eventListener);
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; }
- // this operation supports x-ms-long-running-operation
- var _originalUri = request.RequestUri.AbsoluteUri;
// declared final-state-via: location
var _finalUri = _response.GetFirstHeader(@"Location");
var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation");
@@ -19908,13 +19908,13 @@ public partial class App
global::System.Net.Http.HttpResponseMessage _response = null;
try
{
+ // this operation supports x-ms-long-running-operation
+ var _originalUri = request.RequestUri.AbsoluteUri;
var sendTask = sender.SendAsync(request, eventListener);
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return null; }
- // this operation supports x-ms-long-running-operation
- var _originalUri = request.RequestUri.AbsoluteUri;
// declared final-state-via: location
var _finalUri = _response.GetFirstHeader(@"Location");
var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation");
@@ -20063,13 +20063,13 @@ public partial class App
global::System.Net.Http.HttpResponseMessage _response = null;
try
{
+ // this operation supports x-ms-long-running-operation
+ var _originalUri = request.RequestUri.AbsoluteUri;
var sendTask = sender.SendAsync(request, eventListener);
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; }
- // this operation supports x-ms-long-running-operation
- var _originalUri = request.RequestUri.AbsoluteUri;
// declared final-state-via: location
var _finalUri = _response.GetFirstHeader(@"Location");
var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation");
@@ -20535,13 +20535,13 @@ public partial class App
global::System.Net.Http.HttpResponseMessage _response = null;
try
{
+ // this operation supports x-ms-long-running-operation
+ var _originalUri = request.RequestUri.AbsoluteUri;
var sendTask = sender.SendAsync(request, eventListener);
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return null; }
- // this operation supports x-ms-long-running-operation
- var _originalUri = request.RequestUri.AbsoluteUri;
// declared final-state-via: default
var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation");
var location = _response.GetFirstHeader(@"Location");
@@ -20692,13 +20692,13 @@ public partial class App
global::System.Net.Http.HttpResponseMessage _response = null;
try
{
+ // this operation supports x-ms-long-running-operation
+ var _originalUri = request.RequestUri.AbsoluteUri;
var sendTask = sender.SendAsync(request, eventListener);
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; }
- // this operation supports x-ms-long-running-operation
- var _originalUri = request.RequestUri.AbsoluteUri;
// declared final-state-via: default
var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation");
var location = _response.GetFirstHeader(@"Location");
@@ -23162,13 +23162,13 @@ public partial class App
global::System.Net.Http.HttpResponseMessage _response = null;
try
{
+ // this operation supports x-ms-long-running-operation
+ var _originalUri = request.RequestUri.AbsoluteUri;
var sendTask = sender.SendAsync(request, eventListener);
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return null; }
- // this operation supports x-ms-long-running-operation
- var _originalUri = request.RequestUri.AbsoluteUri;
// declared final-state-via: azure-async-operation
var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation");
var location = _response.GetFirstHeader(@"Location");
@@ -23316,13 +23316,13 @@ public partial class App
global::System.Net.Http.HttpResponseMessage _response = null;
try
{
+ // this operation supports x-ms-long-running-operation
+ var _originalUri = request.RequestUri.AbsoluteUri;
var sendTask = sender.SendAsync(request, eventListener);
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; }
- // this operation supports x-ms-long-running-operation
- var _originalUri = request.RequestUri.AbsoluteUri;
// declared final-state-via: azure-async-operation
var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation");
var location = _response.GetFirstHeader(@"Location");
@@ -23585,13 +23585,13 @@ public partial class App
global::System.Net.Http.HttpResponseMessage _response = null;
try
{
+ // this operation supports x-ms-long-running-operation
+ var _originalUri = request.RequestUri.AbsoluteUri;
var sendTask = sender.SendAsync(request, eventListener);
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; }
- // this operation supports x-ms-long-running-operation
- var _originalUri = request.RequestUri.AbsoluteUri;
// declared final-state-via: location
var _finalUri = _response.GetFirstHeader(@"Location");
var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation");
@@ -25668,13 +25668,13 @@ public partial class App
global::System.Net.Http.HttpResponseMessage _response = null;
try
{
+ // this operation supports x-ms-long-running-operation
+ var _originalUri = request.RequestUri.AbsoluteUri;
var sendTask = sender.SendAsync(request, eventListener);
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return null; }
- // this operation supports x-ms-long-running-operation
- var _originalUri = request.RequestUri.AbsoluteUri;
// declared final-state-via: location
var _finalUri = _response.GetFirstHeader(@"Location");
var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation");
@@ -25823,13 +25823,13 @@ public partial class App
global::System.Net.Http.HttpResponseMessage _response = null;
try
{
+ // this operation supports x-ms-long-running-operation
+ var _originalUri = request.RequestUri.AbsoluteUri;
var sendTask = sender.SendAsync(request, eventListener);
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; }
- // this operation supports x-ms-long-running-operation
- var _originalUri = request.RequestUri.AbsoluteUri;
// declared final-state-via: location
var _finalUri = _response.GetFirstHeader(@"Location");
var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation");
@@ -26098,13 +26098,13 @@ public partial class App
global::System.Net.Http.HttpResponseMessage _response = null;
try
{
+ // this operation supports x-ms-long-running-operation
+ var _originalUri = request.RequestUri.AbsoluteUri;
var sendTask = sender.SendAsync(request, eventListener);
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; }
- // this operation supports x-ms-long-running-operation
- var _originalUri = request.RequestUri.AbsoluteUri;
// declared final-state-via: location
var _finalUri = _response.GetFirstHeader(@"Location");
var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation");
@@ -26461,13 +26461,13 @@ public partial class App
global::System.Net.Http.HttpResponseMessage _response = null;
try
{
+ // this operation supports x-ms-long-running-operation
+ var _originalUri = request.RequestUri.AbsoluteUri;
var sendTask = sender.SendAsync(request, eventListener);
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return null; }
- // this operation supports x-ms-long-running-operation
- var _originalUri = request.RequestUri.AbsoluteUri;
// declared final-state-via: location
var _finalUri = _response.GetFirstHeader(@"Location");
var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation");
@@ -26616,13 +26616,13 @@ public partial class App
global::System.Net.Http.HttpResponseMessage _response = null;
try
{
+ // this operation supports x-ms-long-running-operation
+ var _originalUri = request.RequestUri.AbsoluteUri;
var sendTask = sender.SendAsync(request, eventListener);
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; }
- // this operation supports x-ms-long-running-operation
- var _originalUri = request.RequestUri.AbsoluteUri;
// declared final-state-via: location
var _finalUri = _response.GetFirstHeader(@"Location");
var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation");
@@ -27088,13 +27088,13 @@ public partial class App
global::System.Net.Http.HttpResponseMessage _response = null;
try
{
+ // this operation supports x-ms-long-running-operation
+ var _originalUri = request.RequestUri.AbsoluteUri;
var sendTask = sender.SendAsync(request, eventListener);
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return null; }
- // this operation supports x-ms-long-running-operation
- var _originalUri = request.RequestUri.AbsoluteUri;
// declared final-state-via: default
var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation");
var location = _response.GetFirstHeader(@"Location");
@@ -27245,13 +27245,13 @@ public partial class App
global::System.Net.Http.HttpResponseMessage _response = null;
try
{
+ // this operation supports x-ms-long-running-operation
+ var _originalUri = request.RequestUri.AbsoluteUri;
var sendTask = sender.SendAsync(request, eventListener);
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; }
- // this operation supports x-ms-long-running-operation
- var _originalUri = request.RequestUri.AbsoluteUri;
// declared final-state-via: default
var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation");
var location = _response.GetFirstHeader(@"Location");
@@ -27742,13 +27742,13 @@ public partial class App
global::System.Net.Http.HttpResponseMessage _response = null;
try
{
+ // this operation supports x-ms-long-running-operation
+ var _originalUri = request.RequestUri.AbsoluteUri;
var sendTask = sender.SendAsync(request, eventListener);
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return null; }
- // this operation supports x-ms-long-running-operation
- var _originalUri = request.RequestUri.AbsoluteUri;
// declared final-state-via: azure-async-operation
var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation");
var location = _response.GetFirstHeader(@"Location");
@@ -27896,13 +27896,13 @@ public partial class App
global::System.Net.Http.HttpResponseMessage _response = null;
try
{
+ // this operation supports x-ms-long-running-operation
+ var _originalUri = request.RequestUri.AbsoluteUri;
var sendTask = sender.SendAsync(request, eventListener);
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; }
- // this operation supports x-ms-long-running-operation
- var _originalUri = request.RequestUri.AbsoluteUri;
// declared final-state-via: azure-async-operation
var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation");
var location = _response.GetFirstHeader(@"Location");
@@ -30365,13 +30365,13 @@ public partial class App
global::System.Net.Http.HttpResponseMessage _response = null;
try
{
+ // this operation supports x-ms-long-running-operation
+ var _originalUri = request.RequestUri.AbsoluteUri;
var sendTask = sender.SendAsync(request, eventListener);
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return null; }
- // this operation supports x-ms-long-running-operation
- var _originalUri = request.RequestUri.AbsoluteUri;
// declared final-state-via: default
var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation");
var location = _response.GetFirstHeader(@"Location");
@@ -30522,13 +30522,13 @@ public partial class App
global::System.Net.Http.HttpResponseMessage _response = null;
try
{
+ // this operation supports x-ms-long-running-operation
+ var _originalUri = request.RequestUri.AbsoluteUri;
var sendTask = sender.SendAsync(request, eventListener);
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; }
- // this operation supports x-ms-long-running-operation
- var _originalUri = request.RequestUri.AbsoluteUri;
// declared final-state-via: default
var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation");
var location = _response.GetFirstHeader(@"Location");
@@ -30793,13 +30793,13 @@ public partial class App
global::System.Net.Http.HttpResponseMessage _response = null;
try
{
+ // this operation supports x-ms-long-running-operation
+ var _originalUri = request.RequestUri.AbsoluteUri;
var sendTask = sender.SendAsync(request, eventListener);
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; }
- // this operation supports x-ms-long-running-operation
- var _originalUri = request.RequestUri.AbsoluteUri;
// declared final-state-via: default
var _finalUri = _response.GetFirstHeader(@"Location");
var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation");
@@ -34521,13 +34521,13 @@ public partial class App
global::System.Net.Http.HttpResponseMessage _response = null;
try
{
+ // this operation supports x-ms-long-running-operation
+ var _originalUri = request.RequestUri.AbsoluteUri;
var sendTask = sender.SendAsync(request, eventListener);
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return null; }
- // this operation supports x-ms-long-running-operation
- var _originalUri = request.RequestUri.AbsoluteUri;
// declared final-state-via: default
var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation");
var location = _response.GetFirstHeader(@"Location");
@@ -34678,13 +34678,13 @@ public partial class App
global::System.Net.Http.HttpResponseMessage _response = null;
try
{
+ // this operation supports x-ms-long-running-operation
+ var _originalUri = request.RequestUri.AbsoluteUri;
var sendTask = sender.SendAsync(request, eventListener);
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; }
- // this operation supports x-ms-long-running-operation
- var _originalUri = request.RequestUri.AbsoluteUri;
// declared final-state-via: default
var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation");
var location = _response.GetFirstHeader(@"Location");
diff --git a/generated/App/App.Autorest/generated/api/Models/AuthConfig.cs b/generated/App/App.Autorest/generated/api/Models/AuthConfig.cs
index 51ae7e57ed7e..9c1b105c5f12 100644
--- a/generated/App/App.Autorest/generated/api/Models/AuthConfig.cs
+++ b/generated/App/App.Autorest/generated/api/Models/AuthConfig.cs
@@ -106,46 +106,64 @@ public partial class AuthConfig :
public bool? LoginPreserveUrlFragmentsForLogin { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigPropertiesInternal)Property).LoginPreserveUrlFragmentsForLogin; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigPropertiesInternal)Property).LoginPreserveUrlFragmentsForLogin = value ?? default(bool); }
/// Internal Acessors for GlobalValidation
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IGlobalValidation Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigInternal.GlobalValidation { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigPropertiesInternal)Property).GlobalValidation; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigPropertiesInternal)Property).GlobalValidation = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IGlobalValidation Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigInternal.GlobalValidation { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigPropertiesInternal)Property).GlobalValidation; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigPropertiesInternal)Property).GlobalValidation = value ?? null /* model class */; }
/// Internal Acessors for HttpSetting
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IHttpSettings Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigInternal.HttpSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigPropertiesInternal)Property).HttpSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigPropertiesInternal)Property).HttpSetting = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IHttpSettings Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigInternal.HttpSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigPropertiesInternal)Property).HttpSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigPropertiesInternal)Property).HttpSetting = value ?? null /* model class */; }
/// Internal Acessors for HttpSettingForwardProxy
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IForwardProxy Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigInternal.HttpSettingForwardProxy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigPropertiesInternal)Property).HttpSettingForwardProxy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigPropertiesInternal)Property).HttpSettingForwardProxy = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IForwardProxy Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigInternal.HttpSettingForwardProxy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigPropertiesInternal)Property).HttpSettingForwardProxy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigPropertiesInternal)Property).HttpSettingForwardProxy = value ?? null /* model class */; }
/// Internal Acessors for HttpSettingRoute
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IHttpSettingsRoutes Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigInternal.HttpSettingRoute { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigPropertiesInternal)Property).HttpSettingRoute; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigPropertiesInternal)Property).HttpSettingRoute = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IHttpSettingsRoutes Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigInternal.HttpSettingRoute { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigPropertiesInternal)Property).HttpSettingRoute; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigPropertiesInternal)Property).HttpSettingRoute = value ?? null /* model class */; }
/// Internal Acessors for Login
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.ILogin Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigInternal.Login { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigPropertiesInternal)Property).Login; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigPropertiesInternal)Property).Login = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.ILogin Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigInternal.Login { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigPropertiesInternal)Property).Login; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigPropertiesInternal)Property).Login = value ?? null /* model class */; }
/// Internal Acessors for LoginCookieExpiration
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICookieExpiration Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigInternal.LoginCookieExpiration { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigPropertiesInternal)Property).LoginCookieExpiration; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigPropertiesInternal)Property).LoginCookieExpiration = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICookieExpiration Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigInternal.LoginCookieExpiration { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigPropertiesInternal)Property).LoginCookieExpiration; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigPropertiesInternal)Property).LoginCookieExpiration = value ?? null /* model class */; }
/// Internal Acessors for LoginNonce
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.INonce Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigInternal.LoginNonce { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigPropertiesInternal)Property).LoginNonce; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigPropertiesInternal)Property).LoginNonce = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.INonce Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigInternal.LoginNonce { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigPropertiesInternal)Property).LoginNonce; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigPropertiesInternal)Property).LoginNonce = value ?? null /* model class */; }
/// Internal Acessors for LoginRoute
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.ILoginRoutes Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigInternal.LoginRoute { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigPropertiesInternal)Property).LoginRoute; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigPropertiesInternal)Property).LoginRoute = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.ILoginRoutes Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigInternal.LoginRoute { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigPropertiesInternal)Property).LoginRoute; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigPropertiesInternal)Property).LoginRoute = value ?? null /* model class */; }
/// Internal Acessors for Platform
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthPlatform Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigInternal.Platform { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigPropertiesInternal)Property).Platform; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigPropertiesInternal)Property).Platform = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthPlatform Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigInternal.Platform { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigPropertiesInternal)Property).Platform; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigPropertiesInternal)Property).Platform = value ?? null /* model class */; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigProperties Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.AuthConfigProperties()); set { {_property = value;} } }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
@@ -207,37 +225,37 @@ public partial class AuthConfig :
///
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- internal Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; }
///
/// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
diff --git a/generated/App/App.Autorest/generated/api/Models/AuthConfigProperties.cs b/generated/App/App.Autorest/generated/api/Models/AuthConfigProperties.cs
index fed45c8935ed..1d21afd9a4e6 100644
--- a/generated/App/App.Autorest/generated/api/Models/AuthConfigProperties.cs
+++ b/generated/App/App.Autorest/generated/api/Models/AuthConfigProperties.cs
@@ -117,22 +117,22 @@ public partial class AuthConfigProperties :
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IHttpSettings Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigPropertiesInternal.HttpSetting { get => (this._httpSetting = this._httpSetting ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.HttpSettings()); set { {_httpSetting = value;} } }
/// Internal Acessors for HttpSettingForwardProxy
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IForwardProxy Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigPropertiesInternal.HttpSettingForwardProxy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IHttpSettingsInternal)HttpSetting).ForwardProxy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IHttpSettingsInternal)HttpSetting).ForwardProxy = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IForwardProxy Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigPropertiesInternal.HttpSettingForwardProxy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IHttpSettingsInternal)HttpSetting).ForwardProxy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IHttpSettingsInternal)HttpSetting).ForwardProxy = value ?? null /* model class */; }
/// Internal Acessors for HttpSettingRoute
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IHttpSettingsRoutes Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigPropertiesInternal.HttpSettingRoute { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IHttpSettingsInternal)HttpSetting).Route; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IHttpSettingsInternal)HttpSetting).Route = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IHttpSettingsRoutes Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigPropertiesInternal.HttpSettingRoute { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IHttpSettingsInternal)HttpSetting).Route; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IHttpSettingsInternal)HttpSetting).Route = value ?? null /* model class */; }
/// Internal Acessors for Login
Microsoft.Azure.PowerShell.Cmdlets.App.Models.ILogin Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigPropertiesInternal.Login { get => (this._login = this._login ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.Login()); set { {_login = value;} } }
/// Internal Acessors for LoginCookieExpiration
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICookieExpiration Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigPropertiesInternal.LoginCookieExpiration { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ILoginInternal)Login).CookieExpiration; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ILoginInternal)Login).CookieExpiration = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICookieExpiration Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigPropertiesInternal.LoginCookieExpiration { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ILoginInternal)Login).CookieExpiration; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ILoginInternal)Login).CookieExpiration = value ?? null /* model class */; }
/// Internal Acessors for LoginNonce
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.INonce Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigPropertiesInternal.LoginNonce { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ILoginInternal)Login).Nonce; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ILoginInternal)Login).Nonce = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.INonce Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigPropertiesInternal.LoginNonce { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ILoginInternal)Login).Nonce; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ILoginInternal)Login).Nonce = value ?? null /* model class */; }
/// Internal Acessors for LoginRoute
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.ILoginRoutes Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigPropertiesInternal.LoginRoute { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ILoginInternal)Login).Route; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ILoginInternal)Login).Route = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.ILoginRoutes Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigPropertiesInternal.LoginRoute { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ILoginInternal)Login).Route; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ILoginInternal)Login).Route = value ?? null /* model class */; }
/// Internal Acessors for Platform
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthPlatform Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigPropertiesInternal.Platform { get => (this._platform = this._platform ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.AuthPlatform()); set { {_platform = value;} } }
diff --git a/generated/App/App.Autorest/generated/api/Models/AvailableWorkloadProfile.cs b/generated/App/App.Autorest/generated/api/Models/AvailableWorkloadProfile.cs
index 47c107a006d9..8b08daafb467 100644
--- a/generated/App/App.Autorest/generated/api/Models/AvailableWorkloadProfile.cs
+++ b/generated/App/App.Autorest/generated/api/Models/AvailableWorkloadProfile.cs
@@ -62,16 +62,34 @@ public partial class AvailableWorkloadProfile :
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAvailableWorkloadProfileProperties Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAvailableWorkloadProfileInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.AvailableWorkloadProfileProperties()); set { {_property = value;} } }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
@@ -91,37 +109,37 @@ public partial class AvailableWorkloadProfile :
///
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- internal Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; }
///
/// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
diff --git a/generated/App/App.Autorest/generated/api/Models/AzureActiveDirectory.cs b/generated/App/App.Autorest/generated/api/Models/AzureActiveDirectory.cs
index c374f5126192..d5600145a528 100644
--- a/generated/App/App.Autorest/generated/api/Models/AzureActiveDirectory.cs
+++ b/generated/App/App.Autorest/generated/api/Models/AzureActiveDirectory.cs
@@ -75,7 +75,7 @@ public partial class AzureActiveDirectory :
public System.Collections.Generic.List LoginParameter { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryLoginInternal)Login).LoginParameter; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryLoginInternal)Login).LoginParameter = value ?? null /* arrayOf */; }
/// Internal Acessors for DefaultAuthorizationPolicyAllowedPrincipal
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAllowedPrincipals Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryInternal.DefaultAuthorizationPolicyAllowedPrincipal { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryValidationInternal)Validation).DefaultAuthorizationPolicyAllowedPrincipal; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryValidationInternal)Validation).DefaultAuthorizationPolicyAllowedPrincipal = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAllowedPrincipals Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryInternal.DefaultAuthorizationPolicyAllowedPrincipal { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryValidationInternal)Validation).DefaultAuthorizationPolicyAllowedPrincipal; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryValidationInternal)Validation).DefaultAuthorizationPolicyAllowedPrincipal = value ?? null /* model class */; }
/// Internal Acessors for Login
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryLogin Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryInternal.Login { get => (this._login = this._login ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.AzureActiveDirectoryLogin()); set { {_login = value;} } }
@@ -87,10 +87,10 @@ public partial class AzureActiveDirectory :
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryValidation Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryInternal.Validation { get => (this._validation = this._validation ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.AzureActiveDirectoryValidation()); set { {_validation = value;} } }
/// Internal Acessors for ValidationDefaultAuthorizationPolicy
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDefaultAuthorizationPolicy Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryInternal.ValidationDefaultAuthorizationPolicy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryValidationInternal)Validation).DefaultAuthorizationPolicy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryValidationInternal)Validation).DefaultAuthorizationPolicy = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDefaultAuthorizationPolicy Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryInternal.ValidationDefaultAuthorizationPolicy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryValidationInternal)Validation).DefaultAuthorizationPolicy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryValidationInternal)Validation).DefaultAuthorizationPolicy = value ?? null /* model class */; }
/// Internal Acessors for ValidationJwtClaimCheck
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJwtClaimChecks Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryInternal.ValidationJwtClaimCheck { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryValidationInternal)Validation).JwtClaimCheck; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryValidationInternal)Validation).JwtClaimCheck = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJwtClaimChecks Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryInternal.ValidationJwtClaimCheck { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryValidationInternal)Validation).JwtClaimCheck; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryValidationInternal)Validation).JwtClaimCheck = value ?? null /* model class */; }
/// Backing field for property.
private Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryRegistration _registration;
diff --git a/generated/App/App.Autorest/generated/api/Models/AzureActiveDirectoryValidation.cs b/generated/App/App.Autorest/generated/api/Models/AzureActiveDirectoryValidation.cs
index 29243c1b7460..5b92071bdfae 100644
--- a/generated/App/App.Autorest/generated/api/Models/AzureActiveDirectoryValidation.cs
+++ b/generated/App/App.Autorest/generated/api/Models/AzureActiveDirectoryValidation.cs
@@ -62,7 +62,7 @@ public partial class AzureActiveDirectoryValidation :
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDefaultAuthorizationPolicy Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryValidationInternal.DefaultAuthorizationPolicy { get => (this._defaultAuthorizationPolicy = this._defaultAuthorizationPolicy ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.DefaultAuthorizationPolicy()); set { {_defaultAuthorizationPolicy = value;} } }
/// Internal Acessors for DefaultAuthorizationPolicyAllowedPrincipal
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAllowedPrincipals Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryValidationInternal.DefaultAuthorizationPolicyAllowedPrincipal { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDefaultAuthorizationPolicyInternal)DefaultAuthorizationPolicy).AllowedPrincipal; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDefaultAuthorizationPolicyInternal)DefaultAuthorizationPolicy).AllowedPrincipal = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAllowedPrincipals Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryValidationInternal.DefaultAuthorizationPolicyAllowedPrincipal { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDefaultAuthorizationPolicyInternal)DefaultAuthorizationPolicy).AllowedPrincipal; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDefaultAuthorizationPolicyInternal)DefaultAuthorizationPolicy).AllowedPrincipal = value ?? null /* model class */; }
/// Internal Acessors for JwtClaimCheck
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJwtClaimChecks Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryValidationInternal.JwtClaimCheck { get => (this._jwtClaimCheck = this._jwtClaimCheck ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.JwtClaimChecks()); set { {_jwtClaimCheck = value;} } }
diff --git a/generated/App/App.Autorest/generated/api/Models/BaseContainer.cs b/generated/App/App.Autorest/generated/api/Models/BaseContainer.cs
index a35716b9bb0b..efa4bf14d6fc 100644
--- a/generated/App/App.Autorest/generated/api/Models/BaseContainer.cs
+++ b/generated/App/App.Autorest/generated/api/Models/BaseContainer.cs
@@ -45,7 +45,7 @@ public partial class BaseContainer :
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerResources Microsoft.Azure.PowerShell.Cmdlets.App.Models.IBaseContainerInternal.Resource { get => (this._resource = this._resource ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.ContainerResources()); set { {_resource = value;} } }
/// Internal Acessors for ResourceEphemeralStorage
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IBaseContainerInternal.ResourceEphemeralStorage { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerResourcesInternal)Resource).EphemeralStorage; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerResourcesInternal)Resource).EphemeralStorage = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IBaseContainerInternal.ResourceEphemeralStorage { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerResourcesInternal)Resource).EphemeralStorage; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerResourcesInternal)Resource).EphemeralStorage = value ?? null; }
/// Backing field for property.
private string _name;
diff --git a/generated/App/App.Autorest/generated/api/Models/BillingMeter.cs b/generated/App/App.Autorest/generated/api/Models/BillingMeter.cs
index 7e376de7e343..f579e5b49ef4 100644
--- a/generated/App/App.Autorest/generated/api/Models/BillingMeter.cs
+++ b/generated/App/App.Autorest/generated/api/Models/BillingMeter.cs
@@ -47,16 +47,34 @@ public partial class BillingMeter :
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IBillingMeterProperties Microsoft.Azure.PowerShell.Cmdlets.App.Models.IBillingMeterInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.BillingMeterProperties()); set { {_property = value;} } }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
@@ -73,31 +91,31 @@ public partial class BillingMeter :
/// Azure Resource Manager metadata containing createdBy and modifiedBy information.
///
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
- internal Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; }
///
/// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
diff --git a/generated/App/App.Autorest/generated/api/Models/Certificate.cs b/generated/App/App.Autorest/generated/api/Models/Certificate.cs
index 5e6956139c41..20130a623499 100644
--- a/generated/App/App.Autorest/generated/api/Models/Certificate.cs
+++ b/generated/App/App.Autorest/generated/api/Models/Certificate.cs
@@ -45,49 +45,67 @@ public partial class Certificate :
/// The geo-location where the resource lives
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.FormatTable(Index = 1)]
- public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITrackedResourceInternal)__trackedResource).Location = value ; }
+ public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITrackedResourceInternal)__trackedResource).Location = value ?? null; }
/// Internal Acessors for ExpirationDate
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificateInternal.ExpirationDate { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificatePropertiesInternal)Property).ExpirationDate; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificatePropertiesInternal)Property).ExpirationDate = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificateInternal.ExpirationDate { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificatePropertiesInternal)Property).ExpirationDate; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificatePropertiesInternal)Property).ExpirationDate = value ?? default(global::System.DateTime); }
/// Internal Acessors for IssueDate
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificateInternal.IssueDate { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificatePropertiesInternal)Property).IssueDate; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificatePropertiesInternal)Property).IssueDate = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificateInternal.IssueDate { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificatePropertiesInternal)Property).IssueDate; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificatePropertiesInternal)Property).IssueDate = value ?? default(global::System.DateTime); }
/// Internal Acessors for Issuer
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificateInternal.Issuer { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificatePropertiesInternal)Property).Issuer; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificatePropertiesInternal)Property).Issuer = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificateInternal.Issuer { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificatePropertiesInternal)Property).Issuer; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificatePropertiesInternal)Property).Issuer = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificateProperties Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificateInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.CertificateProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificateInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificatePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificatePropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificateInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificatePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificatePropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for PublicKeyHash
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificateInternal.PublicKeyHash { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificatePropertiesInternal)Property).PublicKeyHash; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificatePropertiesInternal)Property).PublicKeyHash = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificateInternal.PublicKeyHash { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificatePropertiesInternal)Property).PublicKeyHash; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificatePropertiesInternal)Property).PublicKeyHash = value ?? null; }
/// Internal Acessors for SubjectAlternativeName
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificateInternal.SubjectAlternativeName { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificatePropertiesInternal)Property).SubjectAlternativeName; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificatePropertiesInternal)Property).SubjectAlternativeName = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificateInternal.SubjectAlternativeName { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificatePropertiesInternal)Property).SubjectAlternativeName; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificatePropertiesInternal)Property).SubjectAlternativeName = value ?? null /* arrayOf */; }
/// Internal Acessors for SubjectName
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificateInternal.SubjectName { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificatePropertiesInternal)Property).SubjectName; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificatePropertiesInternal)Property).SubjectName = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificateInternal.SubjectName { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificatePropertiesInternal)Property).SubjectName; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificatePropertiesInternal)Property).SubjectName = value ?? null; }
/// Internal Acessors for Thumbprint
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificateInternal.Thumbprint { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificatePropertiesInternal)Property).Thumbprint; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificatePropertiesInternal)Property).Thumbprint = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificateInternal.Thumbprint { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificatePropertiesInternal)Property).Thumbprint; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificatePropertiesInternal)Property).Thumbprint = value ?? null; }
/// Internal Acessors for Valid
- bool? Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificateInternal.Valid { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificatePropertiesInternal)Property).Valid; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificatePropertiesInternal)Property).Valid = value; }
+ bool? Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificateInternal.Valid { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificatePropertiesInternal)Property).Valid; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificatePropertiesInternal)Property).Valid = value ?? default(bool); }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
@@ -137,37 +155,37 @@ public partial class Certificate :
///
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- internal Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; }
/// Resource tags.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
diff --git a/generated/App/App.Autorest/generated/api/Models/Configuration.cs b/generated/App/App.Autorest/generated/api/Models/Configuration.cs
index a7a19b224e2a..61aa2499d6b2 100644
--- a/generated/App/App.Autorest/generated/api/Models/Configuration.cs
+++ b/generated/App/App.Autorest/generated/api/Models/Configuration.cs
@@ -166,13 +166,13 @@ public partial class Configuration :
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIngress Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConfigurationInternal.Ingress { get => (this._ingress = this._ingress ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.Ingress()); set { {_ingress = value;} } }
/// Internal Acessors for IngressCorsPolicy
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICorsPolicy Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConfigurationInternal.IngressCorsPolicy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIngressInternal)Ingress).CorsPolicy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIngressInternal)Ingress).CorsPolicy = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICorsPolicy Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConfigurationInternal.IngressCorsPolicy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIngressInternal)Ingress).CorsPolicy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIngressInternal)Ingress).CorsPolicy = value ?? null /* model class */; }
/// Internal Acessors for IngressFqdn
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConfigurationInternal.IngressFqdn { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIngressInternal)Ingress).Fqdn; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIngressInternal)Ingress).Fqdn = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConfigurationInternal.IngressFqdn { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIngressInternal)Ingress).Fqdn; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIngressInternal)Ingress).Fqdn = value ?? null; }
/// Internal Acessors for IngressStickySession
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIngressStickySessions Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConfigurationInternal.IngressStickySession { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIngressInternal)Ingress).StickySession; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIngressInternal)Ingress).StickySession = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIngressStickySessions Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConfigurationInternal.IngressStickySession { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIngressInternal)Ingress).StickySession; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIngressInternal)Ingress).StickySession = value ?? null /* model class */; }
/// Internal Acessors for Service
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IService Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConfigurationInternal.Service { get => (this._service = this._service ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.Service()); set { {_service = value;} } }
diff --git a/generated/App/App.Autorest/generated/api/Models/ConnectedEnvironment.cs b/generated/App/App.Autorest/generated/api/Models/ConnectedEnvironment.cs
index 0e4d3f28cb7a..aa067e5b4d35 100644
--- a/generated/App/App.Autorest/generated/api/Models/ConnectedEnvironment.cs
+++ b/generated/App/App.Autorest/generated/api/Models/ConnectedEnvironment.cs
@@ -100,28 +100,28 @@ public partial class ConnectedEnvironment :
/// The geo-location where the resource lives
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.FormatTable(Index = 0)]
- public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITrackedResourceInternal)__trackedResource).Location = value ; }
+ public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITrackedResourceInternal)__trackedResource).Location = value ?? null; }
/// Internal Acessors for CustomDomainConfiguration
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomDomainConfiguration Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentInternal.CustomDomainConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentPropertiesInternal)Property).CustomDomainConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentPropertiesInternal)Property).CustomDomainConfiguration = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomDomainConfiguration Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentInternal.CustomDomainConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentPropertiesInternal)Property).CustomDomainConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentPropertiesInternal)Property).CustomDomainConfiguration = value ?? null /* model class */; }
/// Internal Acessors for CustomDomainConfigurationCustomDomainVerificationId
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentInternal.CustomDomainConfigurationCustomDomainVerificationId { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentPropertiesInternal)Property).CustomDomainConfigurationCustomDomainVerificationId; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentPropertiesInternal)Property).CustomDomainConfigurationCustomDomainVerificationId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentInternal.CustomDomainConfigurationCustomDomainVerificationId { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentPropertiesInternal)Property).CustomDomainConfigurationCustomDomainVerificationId; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentPropertiesInternal)Property).CustomDomainConfigurationCustomDomainVerificationId = value ?? null; }
/// Internal Acessors for CustomDomainConfigurationExpirationDate
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentInternal.CustomDomainConfigurationExpirationDate { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentPropertiesInternal)Property).CustomDomainConfigurationExpirationDate; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentPropertiesInternal)Property).CustomDomainConfigurationExpirationDate = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentInternal.CustomDomainConfigurationExpirationDate { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentPropertiesInternal)Property).CustomDomainConfigurationExpirationDate; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentPropertiesInternal)Property).CustomDomainConfigurationExpirationDate = value ?? default(global::System.DateTime); }
/// Internal Acessors for CustomDomainConfigurationSubjectName
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentInternal.CustomDomainConfigurationSubjectName { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentPropertiesInternal)Property).CustomDomainConfigurationSubjectName; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentPropertiesInternal)Property).CustomDomainConfigurationSubjectName = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentInternal.CustomDomainConfigurationSubjectName { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentPropertiesInternal)Property).CustomDomainConfigurationSubjectName; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentPropertiesInternal)Property).CustomDomainConfigurationSubjectName = value ?? null; }
/// Internal Acessors for CustomDomainConfigurationThumbprint
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentInternal.CustomDomainConfigurationThumbprint { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentPropertiesInternal)Property).CustomDomainConfigurationThumbprint; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentPropertiesInternal)Property).CustomDomainConfigurationThumbprint = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentInternal.CustomDomainConfigurationThumbprint { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentPropertiesInternal)Property).CustomDomainConfigurationThumbprint; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentPropertiesInternal)Property).CustomDomainConfigurationThumbprint = value ?? null; }
/// Internal Acessors for DefaultDomain
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentInternal.DefaultDomain { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentPropertiesInternal)Property).DefaultDomain; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentPropertiesInternal)Property).DefaultDomain = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentInternal.DefaultDomain { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentPropertiesInternal)Property).DefaultDomain; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentPropertiesInternal)Property).DefaultDomain = value ?? null; }
/// Internal Acessors for DeploymentError
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentInternal.DeploymentError { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentPropertiesInternal)Property).DeploymentError; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentPropertiesInternal)Property).DeploymentError = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentInternal.DeploymentError { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentPropertiesInternal)Property).DeploymentError; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentPropertiesInternal)Property).DeploymentError = value ?? null; }
/// Internal Acessors for ExtendedLocation
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IExtendedLocation Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentInternal.ExtendedLocation { get => (this._extendedLocation = this._extendedLocation ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.ExtendedLocation()); set { {_extendedLocation = value;} } }
@@ -130,19 +130,37 @@ public partial class ConnectedEnvironment :
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentProperties Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.ConnectedEnvironmentProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentPropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentPropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
@@ -177,37 +195,37 @@ public partial class ConnectedEnvironment :
///
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- internal Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; }
/// Resource tags.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
diff --git a/generated/App/App.Autorest/generated/api/Models/ConnectedEnvironmentProperties.cs b/generated/App/App.Autorest/generated/api/Models/ConnectedEnvironmentProperties.cs
index d7881042ea2d..53ff5e380215 100644
--- a/generated/App/App.Autorest/generated/api/Models/ConnectedEnvironmentProperties.cs
+++ b/generated/App/App.Autorest/generated/api/Models/ConnectedEnvironmentProperties.cs
@@ -75,16 +75,16 @@ public partial class ConnectedEnvironmentProperties :
Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomDomainConfiguration Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentPropertiesInternal.CustomDomainConfiguration { get => (this._customDomainConfiguration = this._customDomainConfiguration ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.CustomDomainConfiguration()); set { {_customDomainConfiguration = value;} } }
/// Internal Acessors for CustomDomainConfigurationCustomDomainVerificationId
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentPropertiesInternal.CustomDomainConfigurationCustomDomainVerificationId { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomDomainConfigurationInternal)CustomDomainConfiguration).CustomDomainVerificationId; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomDomainConfigurationInternal)CustomDomainConfiguration).CustomDomainVerificationId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentPropertiesInternal.CustomDomainConfigurationCustomDomainVerificationId { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomDomainConfigurationInternal)CustomDomainConfiguration).CustomDomainVerificationId; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomDomainConfigurationInternal)CustomDomainConfiguration).CustomDomainVerificationId = value ?? null; }
/// Internal Acessors for CustomDomainConfigurationExpirationDate
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentPropertiesInternal.CustomDomainConfigurationExpirationDate { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomDomainConfigurationInternal)CustomDomainConfiguration).ExpirationDate; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomDomainConfigurationInternal)CustomDomainConfiguration).ExpirationDate = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentPropertiesInternal.CustomDomainConfigurationExpirationDate { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomDomainConfigurationInternal)CustomDomainConfiguration).ExpirationDate; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomDomainConfigurationInternal)CustomDomainConfiguration).ExpirationDate = value ?? default(global::System.DateTime); }
/// Internal Acessors for CustomDomainConfigurationSubjectName
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentPropertiesInternal.CustomDomainConfigurationSubjectName { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomDomainConfigurationInternal)CustomDomainConfiguration).SubjectName; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomDomainConfigurationInternal)CustomDomainConfiguration).SubjectName = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentPropertiesInternal.CustomDomainConfigurationSubjectName { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomDomainConfigurationInternal)CustomDomainConfiguration).SubjectName; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomDomainConfigurationInternal)CustomDomainConfiguration).SubjectName = value ?? null; }
/// Internal Acessors for CustomDomainConfigurationThumbprint
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentPropertiesInternal.CustomDomainConfigurationThumbprint { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomDomainConfigurationInternal)CustomDomainConfiguration).Thumbprint; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomDomainConfigurationInternal)CustomDomainConfiguration).Thumbprint = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentPropertiesInternal.CustomDomainConfigurationThumbprint { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomDomainConfigurationInternal)CustomDomainConfiguration).Thumbprint; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomDomainConfigurationInternal)CustomDomainConfiguration).Thumbprint = value ?? null; }
/// Internal Acessors for DefaultDomain
string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentPropertiesInternal.DefaultDomain { get => this._defaultDomain; set { {_defaultDomain = value;} } }
diff --git a/generated/App/App.Autorest/generated/api/Models/ConnectedEnvironmentStorage.cs b/generated/App/App.Autorest/generated/api/Models/ConnectedEnvironmentStorage.cs
index d67162c1f4aa..73c86d0b61e6 100644
--- a/generated/App/App.Autorest/generated/api/Models/ConnectedEnvironmentStorage.cs
+++ b/generated/App/App.Autorest/generated/api/Models/ConnectedEnvironmentStorage.cs
@@ -46,22 +46,40 @@ public partial class ConnectedEnvironmentStorage :
public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Id; }
/// Internal Acessors for AzureFile
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureFileProperties Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentStorageInternal.AzureFile { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentStoragePropertiesInternal)Property).AzureFile; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentStoragePropertiesInternal)Property).AzureFile = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureFileProperties Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentStorageInternal.AzureFile { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentStoragePropertiesInternal)Property).AzureFile; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentStoragePropertiesInternal)Property).AzureFile = value ?? null /* model class */; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentStorageProperties Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentStorageInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.ConnectedEnvironmentStorageProperties()); set { {_property = value;} } }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
@@ -86,37 +104,37 @@ public partial class ConnectedEnvironmentStorage :
///
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- internal Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; }
///
/// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
diff --git a/generated/App/App.Autorest/generated/api/Models/Container.cs b/generated/App/App.Autorest/generated/api/Models/Container.cs
index 3d9a99ff0c8c..7f4d0496a932 100644
--- a/generated/App/App.Autorest/generated/api/Models/Container.cs
+++ b/generated/App/App.Autorest/generated/api/Models/Container.cs
@@ -35,10 +35,10 @@ public partial class Container :
public string Image { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IBaseContainerInternal)__baseContainer).Image; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IBaseContainerInternal)__baseContainer).Image = value ?? null; }
/// Internal Acessors for Resource
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerResources Microsoft.Azure.PowerShell.Cmdlets.App.Models.IBaseContainerInternal.Resource { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IBaseContainerInternal)__baseContainer).Resource; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IBaseContainerInternal)__baseContainer).Resource = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerResources Microsoft.Azure.PowerShell.Cmdlets.App.Models.IBaseContainerInternal.Resource { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IBaseContainerInternal)__baseContainer).Resource; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IBaseContainerInternal)__baseContainer).Resource = value ?? null /* model class */; }
/// Internal Acessors for ResourceEphemeralStorage
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IBaseContainerInternal.ResourceEphemeralStorage { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IBaseContainerInternal)__baseContainer).ResourceEphemeralStorage; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IBaseContainerInternal)__baseContainer).ResourceEphemeralStorage = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IBaseContainerInternal.ResourceEphemeralStorage { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IBaseContainerInternal)__baseContainer).ResourceEphemeralStorage; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IBaseContainerInternal)__baseContainer).ResourceEphemeralStorage = value ?? null; }
/// Custom container name.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
diff --git a/generated/App/App.Autorest/generated/api/Models/ContainerApp.cs b/generated/App/App.Autorest/generated/api/Models/ContainerApp.cs
index da52bfaafcab..4d979334d72e 100644
--- a/generated/App/App.Autorest/generated/api/Models/ContainerApp.cs
+++ b/generated/App/App.Autorest/generated/api/Models/ContainerApp.cs
@@ -122,7 +122,7 @@ public partial class ContainerApp :
/// The geo-location where the resource lives
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.FormatTable(Index = 0)]
- public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITrackedResourceInternal)__trackedResource).Location = value ; }
+ public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITrackedResourceInternal)__trackedResource).Location = value ?? null; }
/// Backing field for property.
private string _managedBy;
@@ -142,10 +142,10 @@ public partial class ContainerApp :
public string ManagedEnvironmentId { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppPropertiesInternal)Property).ManagedEnvironmentId; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppPropertiesInternal)Property).ManagedEnvironmentId = value ?? null; }
/// Internal Acessors for CustomDomainVerificationId
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppInternal.CustomDomainVerificationId { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppPropertiesInternal)Property).CustomDomainVerificationId; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppPropertiesInternal)Property).CustomDomainVerificationId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppInternal.CustomDomainVerificationId { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppPropertiesInternal)Property).CustomDomainVerificationId; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppPropertiesInternal)Property).CustomDomainVerificationId = value ?? null; }
/// Internal Acessors for EventStreamEndpoint
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppInternal.EventStreamEndpoint { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppPropertiesInternal)Property).EventStreamEndpoint; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppPropertiesInternal)Property).EventStreamEndpoint = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppInternal.EventStreamEndpoint { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppPropertiesInternal)Property).EventStreamEndpoint; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppPropertiesInternal)Property).EventStreamEndpoint = value ?? null; }
/// Internal Acessors for ExtendedLocation
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IExtendedLocation Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppInternal.ExtendedLocation { get => (this._extendedLocation = this._extendedLocation ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.ExtendedLocation()); set { {_extendedLocation = value;} } }
@@ -154,46 +154,64 @@ public partial class ContainerApp :
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedServiceIdentity Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppInternal.Identity { get => (this._identity = this._identity ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.ManagedServiceIdentity()); set { {_identity = value;} } }
/// Internal Acessors for IdentityPrincipalId
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedServiceIdentityInternal)Identity).PrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedServiceIdentityInternal)Identity).PrincipalId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedServiceIdentityInternal)Identity).PrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedServiceIdentityInternal)Identity).PrincipalId = value ?? null; }
/// Internal Acessors for IdentityTenantId
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedServiceIdentityInternal)Identity).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedServiceIdentityInternal)Identity).TenantId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedServiceIdentityInternal)Identity).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedServiceIdentityInternal)Identity).TenantId = value ?? null; }
/// Internal Acessors for LatestReadyRevisionName
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppInternal.LatestReadyRevisionName { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppPropertiesInternal)Property).LatestReadyRevisionName; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppPropertiesInternal)Property).LatestReadyRevisionName = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppInternal.LatestReadyRevisionName { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppPropertiesInternal)Property).LatestReadyRevisionName; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppPropertiesInternal)Property).LatestReadyRevisionName = value ?? null; }
/// Internal Acessors for LatestRevisionFqdn
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppInternal.LatestRevisionFqdn { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppPropertiesInternal)Property).LatestRevisionFqdn; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppPropertiesInternal)Property).LatestRevisionFqdn = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppInternal.LatestRevisionFqdn { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppPropertiesInternal)Property).LatestRevisionFqdn; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppPropertiesInternal)Property).LatestRevisionFqdn = value ?? null; }
/// Internal Acessors for LatestRevisionName
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppInternal.LatestRevisionName { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppPropertiesInternal)Property).LatestRevisionName; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppPropertiesInternal)Property).LatestRevisionName = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppInternal.LatestRevisionName { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppPropertiesInternal)Property).LatestRevisionName; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppPropertiesInternal)Property).LatestRevisionName = value ?? null; }
/// Internal Acessors for OutboundIPAddress
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppInternal.OutboundIPAddress { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppPropertiesInternal)Property).OutboundIPAddress; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppPropertiesInternal)Property).OutboundIPAddress = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppInternal.OutboundIPAddress { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppPropertiesInternal)Property).OutboundIPAddress; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppPropertiesInternal)Property).OutboundIPAddress = value ?? null /* arrayOf */; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppProperties Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.ContainerAppProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppPropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppPropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for Template
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplate Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppInternal.Template { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppPropertiesInternal)Property).Template; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppPropertiesInternal)Property).Template = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplate Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppInternal.Template { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppPropertiesInternal)Property).Template; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppPropertiesInternal)Property).Template = value ?? null /* model class */; }
/// Internal Acessors for TemplateScale
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IScale Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppInternal.TemplateScale { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppPropertiesInternal)Property).TemplateScale; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppPropertiesInternal)Property).TemplateScale = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IScale Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppInternal.TemplateScale { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppPropertiesInternal)Property).TemplateScale; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppPropertiesInternal)Property).TemplateScale = value ?? null /* model class */; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
@@ -243,37 +261,37 @@ public partial class ContainerApp :
///
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- internal Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; }
/// Resource tags.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
diff --git a/generated/App/App.Autorest/generated/api/Models/ContainerAppAuthToken.cs b/generated/App/App.Autorest/generated/api/Models/ContainerAppAuthToken.cs
index 35251a41f43c..5e7d1cba9214 100644
--- a/generated/App/App.Autorest/generated/api/Models/ContainerAppAuthToken.cs
+++ b/generated/App/App.Autorest/generated/api/Models/ContainerAppAuthToken.cs
@@ -33,28 +33,46 @@ public partial class ContainerAppAuthToken :
/// The geo-location where the resource lives
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.FormatTable(Index = 0)]
- public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITrackedResourceInternal)__trackedResource).Location = value ; }
+ public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITrackedResourceInternal)__trackedResource).Location = value ?? null; }
/// Internal Acessors for Expire
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppAuthTokenInternal.Expire { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppAuthTokenPropertiesInternal)Property).Expire; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppAuthTokenPropertiesInternal)Property).Expire = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppAuthTokenInternal.Expire { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppAuthTokenPropertiesInternal)Property).Expire; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppAuthTokenPropertiesInternal)Property).Expire = value ?? default(global::System.DateTime); }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppAuthTokenProperties Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppAuthTokenInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.ContainerAppAuthTokenProperties()); set { {_property = value;} } }
/// Internal Acessors for Token
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppAuthTokenInternal.Token { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppAuthTokenPropertiesInternal)Property).Token; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppAuthTokenPropertiesInternal)Property).Token = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppAuthTokenInternal.Token { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppAuthTokenPropertiesInternal)Property).Token; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppAuthTokenPropertiesInternal)Property).Token = value ?? null; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
@@ -79,37 +97,37 @@ public partial class ContainerAppAuthToken :
///
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- internal Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; }
/// Resource tags.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
diff --git a/generated/App/App.Autorest/generated/api/Models/ContainerAppProbe.PowerShell.cs b/generated/App/App.Autorest/generated/api/Models/ContainerAppProbe.PowerShell.cs
index d287c213aca9..6849c38a8eaa 100644
--- a/generated/App/App.Autorest/generated/api/Models/ContainerAppProbe.PowerShell.cs
+++ b/generated/App/App.Autorest/generated/api/Models/ContainerAppProbe.PowerShell.cs
@@ -133,7 +133,7 @@ internal ContainerAppProbe(global::System.Collections.IDictionary content)
}
if (content.Contains("HttpGetPort"))
{
- ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppProbeInternal)this).HttpGetPort = (int) content.GetValueForProperty("HttpGetPort",((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppProbeInternal)this).HttpGetPort, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int)));
+ ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppProbeInternal)this).HttpGetPort = (int?) content.GetValueForProperty("HttpGetPort",((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppProbeInternal)this).HttpGetPort, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int)));
}
if (content.Contains("TcpSocketHost"))
{
@@ -141,7 +141,7 @@ internal ContainerAppProbe(global::System.Collections.IDictionary content)
}
if (content.Contains("TcpSocketPort"))
{
- ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppProbeInternal)this).TcpSocketPort = (int) content.GetValueForProperty("TcpSocketPort",((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppProbeInternal)this).TcpSocketPort, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int)));
+ ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppProbeInternal)this).TcpSocketPort = (int?) content.GetValueForProperty("TcpSocketPort",((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppProbeInternal)this).TcpSocketPort, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int)));
}
AfterDeserializeDictionary(content);
}
@@ -214,7 +214,7 @@ internal ContainerAppProbe(global::System.Management.Automation.PSObject content
}
if (content.Contains("HttpGetPort"))
{
- ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppProbeInternal)this).HttpGetPort = (int) content.GetValueForProperty("HttpGetPort",((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppProbeInternal)this).HttpGetPort, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int)));
+ ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppProbeInternal)this).HttpGetPort = (int?) content.GetValueForProperty("HttpGetPort",((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppProbeInternal)this).HttpGetPort, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int)));
}
if (content.Contains("TcpSocketHost"))
{
@@ -222,7 +222,7 @@ internal ContainerAppProbe(global::System.Management.Automation.PSObject content
}
if (content.Contains("TcpSocketPort"))
{
- ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppProbeInternal)this).TcpSocketPort = (int) content.GetValueForProperty("TcpSocketPort",((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppProbeInternal)this).TcpSocketPort, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int)));
+ ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppProbeInternal)this).TcpSocketPort = (int?) content.GetValueForProperty("TcpSocketPort",((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppProbeInternal)this).TcpSocketPort, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int)));
}
AfterDeserializePSObject(content);
}
diff --git a/generated/App/App.Autorest/generated/api/Models/ContainerAppProperties.cs b/generated/App/App.Autorest/generated/api/Models/ContainerAppProperties.cs
index 84d6cc0cce9b..e9cee23d9f60 100644
--- a/generated/App/App.Autorest/generated/api/Models/ContainerAppProperties.cs
+++ b/generated/App/App.Autorest/generated/api/Models/ContainerAppProperties.cs
@@ -94,7 +94,7 @@ public partial class ContainerAppProperties :
Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplate Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppPropertiesInternal.Template { get => (this._template = this._template ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.Template()); set { {_template = value;} } }
/// Internal Acessors for TemplateScale
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IScale Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppPropertiesInternal.TemplateScale { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).Scale; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).Scale = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IScale Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppPropertiesInternal.TemplateScale { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).Scale; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).Scale = value ?? null /* model class */; }
/// Backing field for property.
private System.Collections.Generic.List _outboundIPAddress;
diff --git a/generated/App/App.Autorest/generated/api/Models/CustomHostnameAnalysisResult.cs b/generated/App/App.Autorest/generated/api/Models/CustomHostnameAnalysisResult.cs
index f7c5d6c897fc..5629928d2f2f 100644
--- a/generated/App/App.Autorest/generated/api/Models/CustomHostnameAnalysisResult.cs
+++ b/generated/App/App.Autorest/generated/api/Models/CustomHostnameAnalysisResult.cs
@@ -72,7 +72,7 @@ public partial class CustomHostnameAnalysisResult :
/// Details or the error
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inlined)]
- public System.Collections.Generic.List CustomDomainVerificationFailureInfoDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomHostnameAnalysisResultCustomDomainVerificationFailureInfoInternal)CustomDomainVerificationFailureInfo).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomHostnameAnalysisResultCustomDomainVerificationFailureInfoInternal)CustomDomainVerificationFailureInfo).Detail = value ?? null /* arrayOf */; }
+ public System.Collections.Generic.List CustomDomainVerificationFailureInfoDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomHostnameAnalysisResultCustomDomainVerificationFailureInfoInternal)CustomDomainVerificationFailureInfo).Detail; }
/// Detailed error description and debugging information.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inlined)]
@@ -124,13 +124,16 @@ public partial class CustomHostnameAnalysisResult :
Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomHostnameAnalysisResultCustomDomainVerificationFailureInfo Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomHostnameAnalysisResultInternal.CustomDomainVerificationFailureInfo { get => (this._customDomainVerificationFailureInfo = this._customDomainVerificationFailureInfo ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.CustomHostnameAnalysisResultCustomDomainVerificationFailureInfo()); set { {_customDomainVerificationFailureInfo = value;} } }
/// Internal Acessors for CustomDomainVerificationFailureInfoCode
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomHostnameAnalysisResultInternal.CustomDomainVerificationFailureInfoCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomHostnameAnalysisResultCustomDomainVerificationFailureInfoInternal)CustomDomainVerificationFailureInfo).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomHostnameAnalysisResultCustomDomainVerificationFailureInfoInternal)CustomDomainVerificationFailureInfo).Code = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomHostnameAnalysisResultInternal.CustomDomainVerificationFailureInfoCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomHostnameAnalysisResultCustomDomainVerificationFailureInfoInternal)CustomDomainVerificationFailureInfo).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomHostnameAnalysisResultCustomDomainVerificationFailureInfoInternal)CustomDomainVerificationFailureInfo).Code = value ?? null; }
+
+ /// Internal Acessors for CustomDomainVerificationFailureInfoDetail
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomHostnameAnalysisResultInternal.CustomDomainVerificationFailureInfoDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomHostnameAnalysisResultCustomDomainVerificationFailureInfoInternal)CustomDomainVerificationFailureInfo).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomHostnameAnalysisResultCustomDomainVerificationFailureInfoInternal)CustomDomainVerificationFailureInfo).Detail = value ?? null /* arrayOf */; }
/// Internal Acessors for CustomDomainVerificationFailureInfoMessage
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomHostnameAnalysisResultInternal.CustomDomainVerificationFailureInfoMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomHostnameAnalysisResultCustomDomainVerificationFailureInfoInternal)CustomDomainVerificationFailureInfo).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomHostnameAnalysisResultCustomDomainVerificationFailureInfoInternal)CustomDomainVerificationFailureInfo).Message = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomHostnameAnalysisResultInternal.CustomDomainVerificationFailureInfoMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomHostnameAnalysisResultCustomDomainVerificationFailureInfoInternal)CustomDomainVerificationFailureInfo).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomHostnameAnalysisResultCustomDomainVerificationFailureInfoInternal)CustomDomainVerificationFailureInfo).Message = value ?? null; }
/// Internal Acessors for CustomDomainVerificationFailureInfoTarget
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomHostnameAnalysisResultInternal.CustomDomainVerificationFailureInfoTarget { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomHostnameAnalysisResultCustomDomainVerificationFailureInfoInternal)CustomDomainVerificationFailureInfo).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomHostnameAnalysisResultCustomDomainVerificationFailureInfoInternal)CustomDomainVerificationFailureInfo).Target = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomHostnameAnalysisResultInternal.CustomDomainVerificationFailureInfoTarget { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomHostnameAnalysisResultCustomDomainVerificationFailureInfoInternal)CustomDomainVerificationFailureInfo).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomHostnameAnalysisResultCustomDomainVerificationFailureInfoInternal)CustomDomainVerificationFailureInfo).Target = value ?? null; }
/// Internal Acessors for CustomDomainVerificationTest
string Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomHostnameAnalysisResultInternal.CustomDomainVerificationTest { get => this._customDomainVerificationTest; set { {_customDomainVerificationTest = value;} } }
diff --git a/generated/App/App.Autorest/generated/api/Models/CustomOpenIdConnectProvider.cs b/generated/App/App.Autorest/generated/api/Models/CustomOpenIdConnectProvider.cs
index 79f0ed1a44d1..94864dc94c19 100644
--- a/generated/App/App.Autorest/generated/api/Models/CustomOpenIdConnectProvider.cs
+++ b/generated/App/App.Autorest/generated/api/Models/CustomOpenIdConnectProvider.cs
@@ -56,10 +56,10 @@ public partial class CustomOpenIdConnectProvider :
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IOpenIdConnectRegistration Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomOpenIdConnectProviderInternal.Registration { get => (this._registration = this._registration ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.OpenIdConnectRegistration()); set { {_registration = value;} } }
/// Internal Acessors for RegistrationClientCredential
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IOpenIdConnectClientCredential Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomOpenIdConnectProviderInternal.RegistrationClientCredential { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IOpenIdConnectRegistrationInternal)Registration).ClientCredential; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IOpenIdConnectRegistrationInternal)Registration).ClientCredential = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IOpenIdConnectClientCredential Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomOpenIdConnectProviderInternal.RegistrationClientCredential { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IOpenIdConnectRegistrationInternal)Registration).ClientCredential; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IOpenIdConnectRegistrationInternal)Registration).ClientCredential = value ?? null /* model class */; }
/// Internal Acessors for RegistrationOpenIdConnectConfiguration
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IOpenIdConnectConfig Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomOpenIdConnectProviderInternal.RegistrationOpenIdConnectConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IOpenIdConnectRegistrationInternal)Registration).OpenIdConnectConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IOpenIdConnectRegistrationInternal)Registration).OpenIdConnectConfiguration = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IOpenIdConnectConfig Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomOpenIdConnectProviderInternal.RegistrationOpenIdConnectConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IOpenIdConnectRegistrationInternal)Registration).OpenIdConnectConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IOpenIdConnectRegistrationInternal)Registration).OpenIdConnectConfiguration = value ?? null /* model class */; }
/// The endpoint to be used to make an authorization request.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inlined)]
diff --git a/generated/App/App.Autorest/generated/api/Models/DaprComponent.cs b/generated/App/App.Autorest/generated/api/Models/DaprComponent.cs
index 9ec8d498d15e..1259966d541a 100644
--- a/generated/App/App.Autorest/generated/api/Models/DaprComponent.cs
+++ b/generated/App/App.Autorest/generated/api/Models/DaprComponent.cs
@@ -49,16 +49,34 @@ public partial class DaprComponent :
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDaprComponentProperties Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDaprComponentInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.DaprComponentProperties()); set { {_property = value;} } }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
@@ -98,37 +116,37 @@ public partial class DaprComponent :
///
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- internal Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; }
///
/// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
diff --git a/generated/App/App.Autorest/generated/api/Models/DefaultErrorResponse.cs b/generated/App/App.Autorest/generated/api/Models/DefaultErrorResponse.cs
index e3840519fcc4..86b34b0d9518 100644
--- a/generated/App/App.Autorest/generated/api/Models/DefaultErrorResponse.cs
+++ b/generated/App/App.Autorest/generated/api/Models/DefaultErrorResponse.cs
@@ -19,7 +19,7 @@ public partial class DefaultErrorResponse :
/// Details or the error
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inlined)]
- public System.Collections.Generic.List Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDefaultErrorResponseErrorInternal)Error).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDefaultErrorResponseErrorInternal)Error).Detail = value ?? null /* arrayOf */; }
+ public System.Collections.Generic.List Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDefaultErrorResponseErrorInternal)Error).Detail; }
/// Backing field for property.
private Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDefaultErrorResponseError _error;
@@ -37,19 +37,22 @@ public partial class DefaultErrorResponse :
public string Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDefaultErrorResponseErrorInternal)Error).Message; }
/// Internal Acessors for Code
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDefaultErrorResponseInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDefaultErrorResponseErrorInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDefaultErrorResponseErrorInternal)Error).Code = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDefaultErrorResponseInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDefaultErrorResponseErrorInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDefaultErrorResponseErrorInternal)Error).Code = value ?? null; }
+
+ /// Internal Acessors for Detail
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDefaultErrorResponseInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDefaultErrorResponseErrorInternal)Error).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDefaultErrorResponseErrorInternal)Error).Detail = value ?? null /* arrayOf */; }
/// Internal Acessors for Error
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDefaultErrorResponseError Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDefaultErrorResponseInternal.Error { get => (this._error = this._error ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.DefaultErrorResponseError()); set { {_error = value;} } }
/// Internal Acessors for Innererror
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDefaultErrorResponseInternal.Innererror { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDefaultErrorResponseErrorInternal)Error).Innererror; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDefaultErrorResponseErrorInternal)Error).Innererror = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDefaultErrorResponseInternal.Innererror { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDefaultErrorResponseErrorInternal)Error).Innererror; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDefaultErrorResponseErrorInternal)Error).Innererror = value ?? null; }
/// Internal Acessors for Message
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDefaultErrorResponseInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDefaultErrorResponseErrorInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDefaultErrorResponseErrorInternal)Error).Message = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDefaultErrorResponseInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDefaultErrorResponseErrorInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDefaultErrorResponseErrorInternal)Error).Message = value ?? null; }
/// Internal Acessors for Target
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDefaultErrorResponseInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDefaultErrorResponseErrorInternal)Error).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDefaultErrorResponseErrorInternal)Error).Target = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDefaultErrorResponseInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDefaultErrorResponseErrorInternal)Error).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDefaultErrorResponseErrorInternal)Error).Target = value ?? null; }
/// Detailed error description and debugging information.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inlined)]
diff --git a/generated/App/App.Autorest/generated/api/Models/Diagnostics.cs b/generated/App/App.Autorest/generated/api/Models/Diagnostics.cs
index 00e7b1a95dc7..81ee63039dbe 100644
--- a/generated/App/App.Autorest/generated/api/Models/Diagnostics.cs
+++ b/generated/App/App.Autorest/generated/api/Models/Diagnostics.cs
@@ -86,49 +86,67 @@ public partial class Diagnostics :
public string MetadataType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal)Property).MetadataType; }
/// Internal Acessors for DataProviderMetadata
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticDataProviderMetadata Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsInternal.DataProviderMetadata { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal)Property).DataProviderMetadata; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal)Property).DataProviderMetadata = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticDataProviderMetadata Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsInternal.DataProviderMetadata { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal)Property).DataProviderMetadata; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal)Property).DataProviderMetadata = value ?? null /* model class */; }
/// Internal Acessors for Metadata
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsDefinition Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsInternal.Metadata { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal)Property).Metadata; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal)Property).Metadata = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsDefinition Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsInternal.Metadata { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal)Property).Metadata; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal)Property).Metadata = value ?? null /* model class */; }
/// Internal Acessors for MetadataAuthor
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsInternal.MetadataAuthor { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal)Property).MetadataAuthor; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal)Property).MetadataAuthor = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsInternal.MetadataAuthor { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal)Property).MetadataAuthor; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal)Property).MetadataAuthor = value ?? null; }
/// Internal Acessors for MetadataCategory
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsInternal.MetadataCategory { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal)Property).MetadataCategory; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal)Property).MetadataCategory = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsInternal.MetadataCategory { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal)Property).MetadataCategory; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal)Property).MetadataCategory = value ?? null; }
/// Internal Acessors for MetadataDescription
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsInternal.MetadataDescription { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal)Property).MetadataDescription; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal)Property).MetadataDescription = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsInternal.MetadataDescription { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal)Property).MetadataDescription; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal)Property).MetadataDescription = value ?? null; }
/// Internal Acessors for MetadataId
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsInternal.MetadataId { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal)Property).MetadataId; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal)Property).MetadataId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsInternal.MetadataId { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal)Property).MetadataId; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal)Property).MetadataId = value ?? null; }
/// Internal Acessors for MetadataName
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsInternal.MetadataName { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal)Property).MetadataName; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal)Property).MetadataName = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsInternal.MetadataName { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal)Property).MetadataName; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal)Property).MetadataName = value ?? null; }
/// Internal Acessors for MetadataScore
- float? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsInternal.MetadataScore { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal)Property).MetadataScore; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal)Property).MetadataScore = value; }
+ float? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsInternal.MetadataScore { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal)Property).MetadataScore; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal)Property).MetadataScore = value ?? default(float); }
/// Internal Acessors for MetadataType
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsInternal.MetadataType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal)Property).MetadataType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal)Property).MetadataType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsInternal.MetadataType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal)Property).MetadataType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal)Property).MetadataType = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsProperties Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.DiagnosticsProperties()); set { {_property = value;} } }
/// Internal Acessors for Status
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsStatus Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsInternal.Status { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal)Property).Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal)Property).Status = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsStatus Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsInternal.Status { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal)Property).Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal)Property).Status = value ?? null /* model class */; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
@@ -163,37 +181,37 @@ public partial class Diagnostics :
///
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- internal Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; }
///
/// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
diff --git a/generated/App/App.Autorest/generated/api/Models/DiagnosticsProperties.cs b/generated/App/App.Autorest/generated/api/Models/DiagnosticsProperties.cs
index e6b4d311f88d..ce4c0e5e5e7f 100644
--- a/generated/App/App.Autorest/generated/api/Models/DiagnosticsProperties.cs
+++ b/generated/App/App.Autorest/generated/api/Models/DiagnosticsProperties.cs
@@ -85,25 +85,25 @@ public partial class DiagnosticsProperties :
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsDefinition Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal.Metadata { get => (this._metadata = this._metadata ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.DiagnosticsDefinition()); set { {_metadata = value;} } }
/// Internal Acessors for MetadataAuthor
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal.MetadataAuthor { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsDefinitionInternal)Metadata).Author; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsDefinitionInternal)Metadata).Author = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal.MetadataAuthor { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsDefinitionInternal)Metadata).Author; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsDefinitionInternal)Metadata).Author = value ?? null; }
/// Internal Acessors for MetadataCategory
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal.MetadataCategory { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsDefinitionInternal)Metadata).Category; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsDefinitionInternal)Metadata).Category = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal.MetadataCategory { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsDefinitionInternal)Metadata).Category; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsDefinitionInternal)Metadata).Category = value ?? null; }
/// Internal Acessors for MetadataDescription
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal.MetadataDescription { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsDefinitionInternal)Metadata).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsDefinitionInternal)Metadata).Description = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal.MetadataDescription { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsDefinitionInternal)Metadata).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsDefinitionInternal)Metadata).Description = value ?? null; }
/// Internal Acessors for MetadataId
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal.MetadataId { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsDefinitionInternal)Metadata).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsDefinitionInternal)Metadata).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal.MetadataId { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsDefinitionInternal)Metadata).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsDefinitionInternal)Metadata).Id = value ?? null; }
/// Internal Acessors for MetadataName
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal.MetadataName { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsDefinitionInternal)Metadata).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsDefinitionInternal)Metadata).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal.MetadataName { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsDefinitionInternal)Metadata).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsDefinitionInternal)Metadata).Name = value ?? null; }
/// Internal Acessors for MetadataScore
- float? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal.MetadataScore { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsDefinitionInternal)Metadata).Score; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsDefinitionInternal)Metadata).Score = value; }
+ float? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal.MetadataScore { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsDefinitionInternal)Metadata).Score; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsDefinitionInternal)Metadata).Score = value ?? default(float); }
/// Internal Acessors for MetadataType
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal.MetadataType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsDefinitionInternal)Metadata).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsDefinitionInternal)Metadata).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal.MetadataType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsDefinitionInternal)Metadata).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsDefinitionInternal)Metadata).Type = value ?? null; }
/// Internal Acessors for Status
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsStatus Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal.Status { get => (this._status = this._status ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.DiagnosticsStatus()); set { {_status = value;} } }
diff --git a/generated/App/App.Autorest/generated/api/Models/EnvironmentAuthToken.cs b/generated/App/App.Autorest/generated/api/Models/EnvironmentAuthToken.cs
index cec8ce53f265..191479097568 100644
--- a/generated/App/App.Autorest/generated/api/Models/EnvironmentAuthToken.cs
+++ b/generated/App/App.Autorest/generated/api/Models/EnvironmentAuthToken.cs
@@ -33,28 +33,46 @@ public partial class EnvironmentAuthToken :
/// The geo-location where the resource lives
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.FormatTable(Index = 0)]
- public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITrackedResourceInternal)__trackedResource).Location = value ; }
+ public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITrackedResourceInternal)__trackedResource).Location = value ?? null; }
/// Internal Acessors for Expire
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IEnvironmentAuthTokenInternal.Expire { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IEnvironmentAuthTokenPropertiesInternal)Property).Expire; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IEnvironmentAuthTokenPropertiesInternal)Property).Expire = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IEnvironmentAuthTokenInternal.Expire { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IEnvironmentAuthTokenPropertiesInternal)Property).Expire; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IEnvironmentAuthTokenPropertiesInternal)Property).Expire = value ?? default(global::System.DateTime); }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IEnvironmentAuthTokenProperties Microsoft.Azure.PowerShell.Cmdlets.App.Models.IEnvironmentAuthTokenInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.EnvironmentAuthTokenProperties()); set { {_property = value;} } }
/// Internal Acessors for Token
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IEnvironmentAuthTokenInternal.Token { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IEnvironmentAuthTokenPropertiesInternal)Property).Token; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IEnvironmentAuthTokenPropertiesInternal)Property).Token = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IEnvironmentAuthTokenInternal.Token { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IEnvironmentAuthTokenPropertiesInternal)Property).Token; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IEnvironmentAuthTokenPropertiesInternal)Property).Token = value ?? null; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
@@ -79,37 +97,37 @@ public partial class EnvironmentAuthToken :
///
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- internal Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; }
/// Resource tags.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
diff --git a/generated/App/App.Autorest/generated/api/Models/ErrorResponse.cs b/generated/App/App.Autorest/generated/api/Models/ErrorResponse.cs
index df1c7b6a4017..8c7989ec0819 100644
--- a/generated/App/App.Autorest/generated/api/Models/ErrorResponse.cs
+++ b/generated/App/App.Autorest/generated/api/Models/ErrorResponse.cs
@@ -40,22 +40,22 @@ public partial class ErrorResponse :
public string Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IErrorDetailInternal)Error).Message; }
/// Internal Acessors for AdditionalInfo
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.App.Models.IErrorResponseInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IErrorDetailInternal)Error).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IErrorDetailInternal)Error).AdditionalInfo = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.App.Models.IErrorResponseInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IErrorDetailInternal)Error).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IErrorDetailInternal)Error).AdditionalInfo = value ?? null /* arrayOf */; }
/// Internal Acessors for Code
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IErrorResponseInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IErrorDetailInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IErrorDetailInternal)Error).Code = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IErrorResponseInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IErrorDetailInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IErrorDetailInternal)Error).Code = value ?? null; }
/// Internal Acessors for Detail
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.App.Models.IErrorResponseInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IErrorDetailInternal)Error).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IErrorDetailInternal)Error).Detail = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.App.Models.IErrorResponseInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IErrorDetailInternal)Error).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IErrorDetailInternal)Error).Detail = value ?? null /* arrayOf */; }
/// Internal Acessors for Error
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IErrorDetail Microsoft.Azure.PowerShell.Cmdlets.App.Models.IErrorResponseInternal.Error { get => (this._error = this._error ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.ErrorDetail()); set { {_error = value;} } }
/// Internal Acessors for Message
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IErrorResponseInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IErrorDetailInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IErrorDetailInternal)Error).Message = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IErrorResponseInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IErrorDetailInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IErrorDetailInternal)Error).Message = value ?? null; }
/// Internal Acessors for Target
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IErrorResponseInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IErrorDetailInternal)Error).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IErrorDetailInternal)Error).Target = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IErrorResponseInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IErrorDetailInternal)Error).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IErrorDetailInternal)Error).Target = value ?? null; }
/// The error target.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inlined)]
diff --git a/generated/App/App.Autorest/generated/api/Models/IdentityProviders.cs b/generated/App/App.Autorest/generated/api/Models/IdentityProviders.cs
index d55ddf246e83..06b0b48733af 100644
--- a/generated/App/App.Autorest/generated/api/Models/IdentityProviders.cs
+++ b/generated/App/App.Autorest/generated/api/Models/IdentityProviders.cs
@@ -225,73 +225,73 @@ public partial class IdentityProviders :
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IApple Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIdentityProvidersInternal.Apple { get => (this._apple = this._apple ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.Apple()); set { {_apple = value;} } }
/// Internal Acessors for AppleLogin
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.ILoginScopes Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIdentityProvidersInternal.AppleLogin { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAppleInternal)Apple).Login; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAppleInternal)Apple).Login = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.ILoginScopes Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIdentityProvidersInternal.AppleLogin { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAppleInternal)Apple).Login; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAppleInternal)Apple).Login = value ?? null /* model class */; }
/// Internal Acessors for AppleRegistration
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAppleRegistration Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIdentityProvidersInternal.AppleRegistration { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAppleInternal)Apple).Registration; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAppleInternal)Apple).Registration = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAppleRegistration Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIdentityProvidersInternal.AppleRegistration { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAppleInternal)Apple).Registration; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAppleInternal)Apple).Registration = value ?? null /* model class */; }
/// Internal Acessors for AzureActiveDirectory
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectory Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIdentityProvidersInternal.AzureActiveDirectory { get => (this._azureActiveDirectory = this._azureActiveDirectory ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.AzureActiveDirectory()); set { {_azureActiveDirectory = value;} } }
/// Internal Acessors for AzureActiveDirectoryLogin
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryLogin Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIdentityProvidersInternal.AzureActiveDirectoryLogin { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryInternal)AzureActiveDirectory).Login; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryInternal)AzureActiveDirectory).Login = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryLogin Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIdentityProvidersInternal.AzureActiveDirectoryLogin { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryInternal)AzureActiveDirectory).Login; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryInternal)AzureActiveDirectory).Login = value ?? null /* model class */; }
/// Internal Acessors for AzureActiveDirectoryRegistration
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryRegistration Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIdentityProvidersInternal.AzureActiveDirectoryRegistration { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryInternal)AzureActiveDirectory).Registration; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryInternal)AzureActiveDirectory).Registration = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryRegistration Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIdentityProvidersInternal.AzureActiveDirectoryRegistration { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryInternal)AzureActiveDirectory).Registration; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryInternal)AzureActiveDirectory).Registration = value ?? null /* model class */; }
/// Internal Acessors for AzureActiveDirectoryValidation
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryValidation Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIdentityProvidersInternal.AzureActiveDirectoryValidation { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryInternal)AzureActiveDirectory).Validation; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryInternal)AzureActiveDirectory).Validation = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryValidation Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIdentityProvidersInternal.AzureActiveDirectoryValidation { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryInternal)AzureActiveDirectory).Validation; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryInternal)AzureActiveDirectory).Validation = value ?? null /* model class */; }
/// Internal Acessors for AzureStaticWebApp
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureStaticWebApps Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIdentityProvidersInternal.AzureStaticWebApp { get => (this._azureStaticWebApp = this._azureStaticWebApp ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.AzureStaticWebApps()); set { {_azureStaticWebApp = value;} } }
/// Internal Acessors for AzureStaticWebAppRegistration
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureStaticWebAppsRegistration Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIdentityProvidersInternal.AzureStaticWebAppRegistration { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureStaticWebAppsInternal)AzureStaticWebApp).Registration; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureStaticWebAppsInternal)AzureStaticWebApp).Registration = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureStaticWebAppsRegistration Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIdentityProvidersInternal.AzureStaticWebAppRegistration { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureStaticWebAppsInternal)AzureStaticWebApp).Registration; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureStaticWebAppsInternal)AzureStaticWebApp).Registration = value ?? null /* model class */; }
/// Internal Acessors for DefaultAuthorizationPolicyAllowedPrincipal
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAllowedPrincipals Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIdentityProvidersInternal.DefaultAuthorizationPolicyAllowedPrincipal { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryInternal)AzureActiveDirectory).DefaultAuthorizationPolicyAllowedPrincipal; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryInternal)AzureActiveDirectory).DefaultAuthorizationPolicyAllowedPrincipal = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAllowedPrincipals Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIdentityProvidersInternal.DefaultAuthorizationPolicyAllowedPrincipal { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryInternal)AzureActiveDirectory).DefaultAuthorizationPolicyAllowedPrincipal; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryInternal)AzureActiveDirectory).DefaultAuthorizationPolicyAllowedPrincipal = value ?? null /* model class */; }
/// Internal Acessors for Facebook
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IFacebook Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIdentityProvidersInternal.Facebook { get => (this._facebook = this._facebook ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.Facebook()); set { {_facebook = value;} } }
/// Internal Acessors for FacebookLogin
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.ILoginScopes Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIdentityProvidersInternal.FacebookLogin { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IFacebookInternal)Facebook).Login; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IFacebookInternal)Facebook).Login = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.ILoginScopes Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIdentityProvidersInternal.FacebookLogin { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IFacebookInternal)Facebook).Login; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IFacebookInternal)Facebook).Login = value ?? null /* model class */; }
/// Internal Acessors for FacebookRegistration
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAppRegistration Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIdentityProvidersInternal.FacebookRegistration { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IFacebookInternal)Facebook).Registration; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IFacebookInternal)Facebook).Registration = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAppRegistration Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIdentityProvidersInternal.FacebookRegistration { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IFacebookInternal)Facebook).Registration; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IFacebookInternal)Facebook).Registration = value ?? null /* model class */; }
/// Internal Acessors for GitHub
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IGitHub Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIdentityProvidersInternal.GitHub { get => (this._gitHub = this._gitHub ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.GitHub()); set { {_gitHub = value;} } }
/// Internal Acessors for GitHubLogin
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.ILoginScopes Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIdentityProvidersInternal.GitHubLogin { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IGitHubInternal)GitHub).Login; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IGitHubInternal)GitHub).Login = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.ILoginScopes Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIdentityProvidersInternal.GitHubLogin { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IGitHubInternal)GitHub).Login; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IGitHubInternal)GitHub).Login = value ?? null /* model class */; }
/// Internal Acessors for GitHubRegistration
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IClientRegistration Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIdentityProvidersInternal.GitHubRegistration { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IGitHubInternal)GitHub).Registration; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IGitHubInternal)GitHub).Registration = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IClientRegistration Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIdentityProvidersInternal.GitHubRegistration { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IGitHubInternal)GitHub).Registration; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IGitHubInternal)GitHub).Registration = value ?? null /* model class */; }
/// Internal Acessors for Google
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IGoogle Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIdentityProvidersInternal.Google { get => (this._google = this._google ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.Google()); set { {_google = value;} } }
/// Internal Acessors for GoogleLogin
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.ILoginScopes Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIdentityProvidersInternal.GoogleLogin { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IGoogleInternal)Google).Login; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IGoogleInternal)Google).Login = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.ILoginScopes Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIdentityProvidersInternal.GoogleLogin { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IGoogleInternal)Google).Login; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IGoogleInternal)Google).Login = value ?? null /* model class */; }
/// Internal Acessors for GoogleRegistration
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IClientRegistration Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIdentityProvidersInternal.GoogleRegistration { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IGoogleInternal)Google).Registration; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IGoogleInternal)Google).Registration = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IClientRegistration Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIdentityProvidersInternal.GoogleRegistration { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IGoogleInternal)Google).Registration; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IGoogleInternal)Google).Registration = value ?? null /* model class */; }
/// Internal Acessors for GoogleValidation
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAllowedAudiencesValidation Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIdentityProvidersInternal.GoogleValidation { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IGoogleInternal)Google).Validation; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IGoogleInternal)Google).Validation = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAllowedAudiencesValidation Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIdentityProvidersInternal.GoogleValidation { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IGoogleInternal)Google).Validation; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IGoogleInternal)Google).Validation = value ?? null /* model class */; }
/// Internal Acessors for Twitter
Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITwitter Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIdentityProvidersInternal.Twitter { get => (this._twitter = this._twitter ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.Twitter()); set { {_twitter = value;} } }
/// Internal Acessors for TwitterRegistration
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITwitterRegistration Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIdentityProvidersInternal.TwitterRegistration { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITwitterInternal)Twitter).Registration; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITwitterInternal)Twitter).Registration = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITwitterRegistration Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIdentityProvidersInternal.TwitterRegistration { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITwitterInternal)Twitter).Registration; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITwitterInternal)Twitter).Registration = value ?? null /* model class */; }
/// Internal Acessors for ValidationDefaultAuthorizationPolicy
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDefaultAuthorizationPolicy Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIdentityProvidersInternal.ValidationDefaultAuthorizationPolicy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryInternal)AzureActiveDirectory).ValidationDefaultAuthorizationPolicy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryInternal)AzureActiveDirectory).ValidationDefaultAuthorizationPolicy = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDefaultAuthorizationPolicy Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIdentityProvidersInternal.ValidationDefaultAuthorizationPolicy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryInternal)AzureActiveDirectory).ValidationDefaultAuthorizationPolicy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryInternal)AzureActiveDirectory).ValidationDefaultAuthorizationPolicy = value ?? null /* model class */; }
/// Internal Acessors for ValidationJwtClaimCheck
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJwtClaimChecks Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIdentityProvidersInternal.ValidationJwtClaimCheck { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryInternal)AzureActiveDirectory).ValidationJwtClaimCheck; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryInternal)AzureActiveDirectory).ValidationJwtClaimCheck = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJwtClaimChecks Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIdentityProvidersInternal.ValidationJwtClaimCheck { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryInternal)AzureActiveDirectory).ValidationJwtClaimCheck; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryInternal)AzureActiveDirectory).ValidationJwtClaimCheck = value ?? null /* model class */; }
/// The App ID of the app used for login.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inlined)]
diff --git a/generated/App/App.Autorest/generated/api/Models/InitContainer.cs b/generated/App/App.Autorest/generated/api/Models/InitContainer.cs
index edf0f33e6b29..9507b9cbbe04 100644
--- a/generated/App/App.Autorest/generated/api/Models/InitContainer.cs
+++ b/generated/App/App.Autorest/generated/api/Models/InitContainer.cs
@@ -35,10 +35,10 @@ public partial class InitContainer :
public string Image { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IBaseContainerInternal)__baseContainer).Image; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IBaseContainerInternal)__baseContainer).Image = value ?? null; }
/// Internal Acessors for Resource
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerResources Microsoft.Azure.PowerShell.Cmdlets.App.Models.IBaseContainerInternal.Resource { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IBaseContainerInternal)__baseContainer).Resource; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IBaseContainerInternal)__baseContainer).Resource = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerResources Microsoft.Azure.PowerShell.Cmdlets.App.Models.IBaseContainerInternal.Resource { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IBaseContainerInternal)__baseContainer).Resource; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IBaseContainerInternal)__baseContainer).Resource = value ?? null /* model class */; }
/// Internal Acessors for ResourceEphemeralStorage
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IBaseContainerInternal.ResourceEphemeralStorage { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IBaseContainerInternal)__baseContainer).ResourceEphemeralStorage; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IBaseContainerInternal)__baseContainer).ResourceEphemeralStorage = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IBaseContainerInternal.ResourceEphemeralStorage { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IBaseContainerInternal)__baseContainer).ResourceEphemeralStorage; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IBaseContainerInternal)__baseContainer).ResourceEphemeralStorage = value ?? null; }
/// Custom container name.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
diff --git a/generated/App/App.Autorest/generated/api/Models/Job.PowerShell.cs b/generated/App/App.Autorest/generated/api/Models/Job.PowerShell.cs
index ed35008353a3..ed9ed5bb9bbc 100644
--- a/generated/App/App.Autorest/generated/api/Models/Job.PowerShell.cs
+++ b/generated/App/App.Autorest/generated/api/Models/Job.PowerShell.cs
@@ -231,7 +231,7 @@ internal Job(global::System.Collections.IDictionary content)
}
if (content.Contains("ConfigurationReplicaTimeout"))
{
- ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobInternal)this).ConfigurationReplicaTimeout = (int) content.GetValueForProperty("ConfigurationReplicaTimeout",((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobInternal)this).ConfigurationReplicaTimeout, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int)));
+ ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobInternal)this).ConfigurationReplicaTimeout = (int?) content.GetValueForProperty("ConfigurationReplicaTimeout",((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobInternal)this).ConfigurationReplicaTimeout, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int)));
}
if (content.Contains("ConfigurationReplicaRetryLimit"))
{
@@ -440,7 +440,7 @@ internal Job(global::System.Management.Automation.PSObject content)
}
if (content.Contains("ConfigurationReplicaTimeout"))
{
- ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobInternal)this).ConfigurationReplicaTimeout = (int) content.GetValueForProperty("ConfigurationReplicaTimeout",((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobInternal)this).ConfigurationReplicaTimeout, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int)));
+ ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobInternal)this).ConfigurationReplicaTimeout = (int?) content.GetValueForProperty("ConfigurationReplicaTimeout",((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobInternal)this).ConfigurationReplicaTimeout, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int)));
}
if (content.Contains("ConfigurationReplicaRetryLimit"))
{
diff --git a/generated/App/App.Autorest/generated/api/Models/Job.cs b/generated/App/App.Autorest/generated/api/Models/Job.cs
index d2a3481b2d53..99d10ebc31c9 100644
--- a/generated/App/App.Autorest/generated/api/Models/Job.cs
+++ b/generated/App/App.Autorest/generated/api/Models/Job.cs
@@ -116,7 +116,7 @@ public partial class Job :
/// The geo-location where the resource lives
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.FormatTable(Index = 0)]
- public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITrackedResourceInternal)__trackedResource).Location = value ; }
+ public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITrackedResourceInternal)__trackedResource).Location = value ?? null; }
/// Number of parallel replicas of a job that can run at a given time.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inlined)]
@@ -129,55 +129,73 @@ public partial class Job :
public int? ManualTriggerConfigReplicaCompletionCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal)Property).ManualTriggerConfigReplicaCompletionCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal)Property).ManualTriggerConfigReplicaCompletionCount = value ?? default(int); }
/// Internal Acessors for Configuration
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfiguration Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobInternal.Configuration { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal)Property).Configuration; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal)Property).Configuration = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfiguration Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobInternal.Configuration { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal)Property).Configuration; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal)Property).Configuration = value ?? null /* model class */; }
/// Internal Acessors for ConfigurationEventTriggerConfig
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationEventTriggerConfig Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobInternal.ConfigurationEventTriggerConfig { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal)Property).ConfigurationEventTriggerConfig; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal)Property).ConfigurationEventTriggerConfig = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationEventTriggerConfig Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobInternal.ConfigurationEventTriggerConfig { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal)Property).ConfigurationEventTriggerConfig; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal)Property).ConfigurationEventTriggerConfig = value ?? null /* model class */; }
/// Internal Acessors for ConfigurationManualTriggerConfig
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationManualTriggerConfig Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobInternal.ConfigurationManualTriggerConfig { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal)Property).ConfigurationManualTriggerConfig; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal)Property).ConfigurationManualTriggerConfig = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationManualTriggerConfig Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobInternal.ConfigurationManualTriggerConfig { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal)Property).ConfigurationManualTriggerConfig; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal)Property).ConfigurationManualTriggerConfig = value ?? null /* model class */; }
/// Internal Acessors for ConfigurationScheduleTriggerConfig
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationScheduleTriggerConfig Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobInternal.ConfigurationScheduleTriggerConfig { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal)Property).ConfigurationScheduleTriggerConfig; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal)Property).ConfigurationScheduleTriggerConfig = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationScheduleTriggerConfig Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobInternal.ConfigurationScheduleTriggerConfig { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal)Property).ConfigurationScheduleTriggerConfig; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal)Property).ConfigurationScheduleTriggerConfig = value ?? null /* model class */; }
/// Internal Acessors for EventStreamEndpoint
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobInternal.EventStreamEndpoint { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal)Property).EventStreamEndpoint; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal)Property).EventStreamEndpoint = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobInternal.EventStreamEndpoint { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal)Property).EventStreamEndpoint; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal)Property).EventStreamEndpoint = value ?? null; }
/// Internal Acessors for EventTriggerConfigScale
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobScale Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobInternal.EventTriggerConfigScale { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal)Property).EventTriggerConfigScale; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal)Property).EventTriggerConfigScale = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobScale Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobInternal.EventTriggerConfigScale { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal)Property).EventTriggerConfigScale; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal)Property).EventTriggerConfigScale = value ?? null /* model class */; }
/// Internal Acessors for Identity
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedServiceIdentity Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobInternal.Identity { get => (this._identity = this._identity ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.ManagedServiceIdentity()); set { {_identity = value;} } }
/// Internal Acessors for IdentityPrincipalId
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedServiceIdentityInternal)Identity).PrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedServiceIdentityInternal)Identity).PrincipalId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedServiceIdentityInternal)Identity).PrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedServiceIdentityInternal)Identity).PrincipalId = value ?? null; }
/// Internal Acessors for IdentityTenantId
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedServiceIdentityInternal)Identity).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedServiceIdentityInternal)Identity).TenantId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedServiceIdentityInternal)Identity).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedServiceIdentityInternal)Identity).TenantId = value ?? null; }
/// Internal Acessors for OutboundIPAddress
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobInternal.OutboundIPAddress { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal)Property).OutboundIPAddress; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal)Property).OutboundIPAddress = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobInternal.OutboundIPAddress { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal)Property).OutboundIPAddress; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal)Property).OutboundIPAddress = value ?? null /* arrayOf */; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobProperties Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.JobProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for Template
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobTemplate Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobInternal.Template { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal)Property).Template; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal)Property).Template = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobTemplate Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobInternal.Template { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal)Property).Template; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal)Property).Template = value ?? null /* model class */; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
@@ -247,37 +265,37 @@ public partial class Job :
///
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- internal Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; }
/// Resource tags.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
diff --git a/generated/App/App.Autorest/generated/api/Models/JobConfiguration.cs b/generated/App/App.Autorest/generated/api/Models/JobConfiguration.cs
index 4cf477fc826b..3ca3476a55a2 100644
--- a/generated/App/App.Autorest/generated/api/Models/JobConfiguration.cs
+++ b/generated/App/App.Autorest/generated/api/Models/JobConfiguration.cs
@@ -50,7 +50,7 @@ public partial class JobConfiguration :
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationEventTriggerConfig Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationInternal.EventTriggerConfig { get => (this._eventTriggerConfig = this._eventTriggerConfig ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.JobConfigurationEventTriggerConfig()); set { {_eventTriggerConfig = value;} } }
/// Internal Acessors for EventTriggerConfigScale
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobScale Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationInternal.EventTriggerConfigScale { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationEventTriggerConfigInternal)EventTriggerConfig).Scale; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationEventTriggerConfigInternal)EventTriggerConfig).Scale = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobScale Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationInternal.EventTriggerConfigScale { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationEventTriggerConfigInternal)EventTriggerConfig).Scale; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationEventTriggerConfigInternal)EventTriggerConfig).Scale = value ?? null /* model class */; }
/// Internal Acessors for ManualTriggerConfig
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationManualTriggerConfig Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationInternal.ManualTriggerConfig { get => (this._manualTriggerConfig = this._manualTriggerConfig ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.JobConfigurationManualTriggerConfig()); set { {_manualTriggerConfig = value;} } }
diff --git a/generated/App/App.Autorest/generated/api/Models/JobExecutionContainer.cs b/generated/App/App.Autorest/generated/api/Models/JobExecutionContainer.cs
index 5e81bab5c021..266df7148d62 100644
--- a/generated/App/App.Autorest/generated/api/Models/JobExecutionContainer.cs
+++ b/generated/App/App.Autorest/generated/api/Models/JobExecutionContainer.cs
@@ -45,7 +45,7 @@ public partial class JobExecutionContainer :
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerResources Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobExecutionContainerInternal.Resource { get => (this._resource = this._resource ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.ContainerResources()); set { {_resource = value;} } }
/// Internal Acessors for ResourceEphemeralStorage
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobExecutionContainerInternal.ResourceEphemeralStorage { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerResourcesInternal)Resource).EphemeralStorage; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerResourcesInternal)Resource).EphemeralStorage = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobExecutionContainerInternal.ResourceEphemeralStorage { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerResourcesInternal)Resource).EphemeralStorage; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerResourcesInternal)Resource).EphemeralStorage = value ?? null; }
/// Backing field for property.
private string _name;
diff --git a/generated/App/App.Autorest/generated/api/Models/JobPatchProperties.PowerShell.cs b/generated/App/App.Autorest/generated/api/Models/JobPatchProperties.PowerShell.cs
index 5db9a7d5c5db..f5ad82c7eb41 100644
--- a/generated/App/App.Autorest/generated/api/Models/JobPatchProperties.PowerShell.cs
+++ b/generated/App/App.Autorest/generated/api/Models/JobPatchProperties.PowerShell.cs
@@ -179,7 +179,7 @@ internal JobPatchProperties(global::System.Collections.IDictionary content)
}
if (content.Contains("ConfigurationReplicaTimeout"))
{
- ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchPropertiesInternal)this).ConfigurationReplicaTimeout = (int) content.GetValueForProperty("ConfigurationReplicaTimeout",((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchPropertiesInternal)this).ConfigurationReplicaTimeout, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int)));
+ ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchPropertiesInternal)this).ConfigurationReplicaTimeout = (int?) content.GetValueForProperty("ConfigurationReplicaTimeout",((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchPropertiesInternal)this).ConfigurationReplicaTimeout, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int)));
}
if (content.Contains("ConfigurationReplicaRetryLimit"))
{
@@ -336,7 +336,7 @@ internal JobPatchProperties(global::System.Management.Automation.PSObject conten
}
if (content.Contains("ConfigurationReplicaTimeout"))
{
- ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchPropertiesInternal)this).ConfigurationReplicaTimeout = (int) content.GetValueForProperty("ConfigurationReplicaTimeout",((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchPropertiesInternal)this).ConfigurationReplicaTimeout, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int)));
+ ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchPropertiesInternal)this).ConfigurationReplicaTimeout = (int?) content.GetValueForProperty("ConfigurationReplicaTimeout",((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchPropertiesInternal)this).ConfigurationReplicaTimeout, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int)));
}
if (content.Contains("ConfigurationReplicaRetryLimit"))
{
diff --git a/generated/App/App.Autorest/generated/api/Models/JobPatchProperties.cs b/generated/App/App.Autorest/generated/api/Models/JobPatchProperties.cs
index 54228ac138de..61a6380a1395 100644
--- a/generated/App/App.Autorest/generated/api/Models/JobPatchProperties.cs
+++ b/generated/App/App.Autorest/generated/api/Models/JobPatchProperties.cs
@@ -96,34 +96,34 @@ public partial class JobPatchProperties :
public int? ManualTriggerConfigReplicaCompletionCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchProperties1Internal)Property).ManualTriggerConfigReplicaCompletionCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchProperties1Internal)Property).ManualTriggerConfigReplicaCompletionCount = value ?? default(int); }
/// Internal Acessors for Configuration
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfiguration Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchPropertiesInternal.Configuration { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchProperties1Internal)Property).Configuration; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchProperties1Internal)Property).Configuration = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfiguration Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchPropertiesInternal.Configuration { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchProperties1Internal)Property).Configuration; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchProperties1Internal)Property).Configuration = value ?? null /* model class */; }
/// Internal Acessors for ConfigurationEventTriggerConfig
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationEventTriggerConfig Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchPropertiesInternal.ConfigurationEventTriggerConfig { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchProperties1Internal)Property).ConfigurationEventTriggerConfig; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchProperties1Internal)Property).ConfigurationEventTriggerConfig = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationEventTriggerConfig Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchPropertiesInternal.ConfigurationEventTriggerConfig { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchProperties1Internal)Property).ConfigurationEventTriggerConfig; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchProperties1Internal)Property).ConfigurationEventTriggerConfig = value ?? null /* model class */; }
/// Internal Acessors for ConfigurationManualTriggerConfig
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationManualTriggerConfig Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchPropertiesInternal.ConfigurationManualTriggerConfig { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchProperties1Internal)Property).ConfigurationManualTriggerConfig; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchProperties1Internal)Property).ConfigurationManualTriggerConfig = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationManualTriggerConfig Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchPropertiesInternal.ConfigurationManualTriggerConfig { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchProperties1Internal)Property).ConfigurationManualTriggerConfig; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchProperties1Internal)Property).ConfigurationManualTriggerConfig = value ?? null /* model class */; }
/// Internal Acessors for ConfigurationScheduleTriggerConfig
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationScheduleTriggerConfig Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchPropertiesInternal.ConfigurationScheduleTriggerConfig { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchProperties1Internal)Property).ConfigurationScheduleTriggerConfig; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchProperties1Internal)Property).ConfigurationScheduleTriggerConfig = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationScheduleTriggerConfig Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchPropertiesInternal.ConfigurationScheduleTriggerConfig { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchProperties1Internal)Property).ConfigurationScheduleTriggerConfig; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchProperties1Internal)Property).ConfigurationScheduleTriggerConfig = value ?? null /* model class */; }
/// Internal Acessors for EventTriggerConfigScale
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobScale Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchPropertiesInternal.EventTriggerConfigScale { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchProperties1Internal)Property).EventTriggerConfigScale; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchProperties1Internal)Property).EventTriggerConfigScale = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobScale Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchPropertiesInternal.EventTriggerConfigScale { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchProperties1Internal)Property).EventTriggerConfigScale; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchProperties1Internal)Property).EventTriggerConfigScale = value ?? null /* model class */; }
/// Internal Acessors for Identity
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedServiceIdentity Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchPropertiesInternal.Identity { get => (this._identity = this._identity ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.ManagedServiceIdentity()); set { {_identity = value;} } }
/// Internal Acessors for IdentityPrincipalId
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchPropertiesInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedServiceIdentityInternal)Identity).PrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedServiceIdentityInternal)Identity).PrincipalId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchPropertiesInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedServiceIdentityInternal)Identity).PrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedServiceIdentityInternal)Identity).PrincipalId = value ?? null; }
/// Internal Acessors for IdentityTenantId
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchPropertiesInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedServiceIdentityInternal)Identity).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedServiceIdentityInternal)Identity).TenantId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchPropertiesInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedServiceIdentityInternal)Identity).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedServiceIdentityInternal)Identity).TenantId = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchProperties1 Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchPropertiesInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.JobPatchProperties1()); set { {_property = value;} } }
/// Internal Acessors for Template
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobTemplate Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchPropertiesInternal.Template { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchProperties1Internal)Property).Template; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchProperties1Internal)Property).Template = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobTemplate Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchPropertiesInternal.Template { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchProperties1Internal)Property).Template; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchProperties1Internal)Property).Template = value ?? null /* model class */; }
/// Outbound IP Addresses of a container apps job.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inlined)]
diff --git a/generated/App/App.Autorest/generated/api/Models/JobPatchProperties1.PowerShell.cs b/generated/App/App.Autorest/generated/api/Models/JobPatchProperties1.PowerShell.cs
index 8140dccf26c5..12d58b603695 100644
--- a/generated/App/App.Autorest/generated/api/Models/JobPatchProperties1.PowerShell.cs
+++ b/generated/App/App.Autorest/generated/api/Models/JobPatchProperties1.PowerShell.cs
@@ -150,7 +150,7 @@ internal JobPatchProperties1(global::System.Collections.IDictionary content)
}
if (content.Contains("ConfigurationReplicaTimeout"))
{
- ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchProperties1Internal)this).ConfigurationReplicaTimeout = (int) content.GetValueForProperty("ConfigurationReplicaTimeout",((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchProperties1Internal)this).ConfigurationReplicaTimeout, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int)));
+ ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchProperties1Internal)this).ConfigurationReplicaTimeout = (int?) content.GetValueForProperty("ConfigurationReplicaTimeout",((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchProperties1Internal)this).ConfigurationReplicaTimeout, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int)));
}
if (content.Contains("ConfigurationReplicaRetryLimit"))
{
@@ -279,7 +279,7 @@ internal JobPatchProperties1(global::System.Management.Automation.PSObject conte
}
if (content.Contains("ConfigurationReplicaTimeout"))
{
- ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchProperties1Internal)this).ConfigurationReplicaTimeout = (int) content.GetValueForProperty("ConfigurationReplicaTimeout",((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchProperties1Internal)this).ConfigurationReplicaTimeout, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int)));
+ ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchProperties1Internal)this).ConfigurationReplicaTimeout = (int?) content.GetValueForProperty("ConfigurationReplicaTimeout",((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchProperties1Internal)this).ConfigurationReplicaTimeout, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int)));
}
if (content.Contains("ConfigurationReplicaRetryLimit"))
{
diff --git a/generated/App/App.Autorest/generated/api/Models/JobPatchProperties1.cs b/generated/App/App.Autorest/generated/api/Models/JobPatchProperties1.cs
index 02b225a5d44b..563cfe1603f5 100644
--- a/generated/App/App.Autorest/generated/api/Models/JobPatchProperties1.cs
+++ b/generated/App/App.Autorest/generated/api/Models/JobPatchProperties1.cs
@@ -75,16 +75,16 @@ public partial class JobPatchProperties1 :
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfiguration Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchProperties1Internal.Configuration { get => (this._configuration = this._configuration ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.JobConfiguration()); set { {_configuration = value;} } }
/// Internal Acessors for ConfigurationEventTriggerConfig
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationEventTriggerConfig Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchProperties1Internal.ConfigurationEventTriggerConfig { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationInternal)Configuration).EventTriggerConfig; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationInternal)Configuration).EventTriggerConfig = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationEventTriggerConfig Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchProperties1Internal.ConfigurationEventTriggerConfig { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationInternal)Configuration).EventTriggerConfig; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationInternal)Configuration).EventTriggerConfig = value ?? null /* model class */; }
/// Internal Acessors for ConfigurationManualTriggerConfig
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationManualTriggerConfig Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchProperties1Internal.ConfigurationManualTriggerConfig { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationInternal)Configuration).ManualTriggerConfig; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationInternal)Configuration).ManualTriggerConfig = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationManualTriggerConfig Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchProperties1Internal.ConfigurationManualTriggerConfig { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationInternal)Configuration).ManualTriggerConfig; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationInternal)Configuration).ManualTriggerConfig = value ?? null /* model class */; }
/// Internal Acessors for ConfigurationScheduleTriggerConfig
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationScheduleTriggerConfig Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchProperties1Internal.ConfigurationScheduleTriggerConfig { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationInternal)Configuration).ScheduleTriggerConfig; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationInternal)Configuration).ScheduleTriggerConfig = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationScheduleTriggerConfig Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchProperties1Internal.ConfigurationScheduleTriggerConfig { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationInternal)Configuration).ScheduleTriggerConfig; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationInternal)Configuration).ScheduleTriggerConfig = value ?? null /* model class */; }
/// Internal Acessors for EventTriggerConfigScale
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobScale Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchProperties1Internal.EventTriggerConfigScale { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationInternal)Configuration).EventTriggerConfigScale; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationInternal)Configuration).EventTriggerConfigScale = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobScale Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchProperties1Internal.EventTriggerConfigScale { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationInternal)Configuration).EventTriggerConfigScale; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationInternal)Configuration).EventTriggerConfigScale = value ?? null /* model class */; }
/// Internal Acessors for Template
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobTemplate Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchProperties1Internal.Template { get => (this._template = this._template ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.JobTemplate()); set { {_template = value;} } }
diff --git a/generated/App/App.Autorest/generated/api/Models/JobProperties.PowerShell.cs b/generated/App/App.Autorest/generated/api/Models/JobProperties.PowerShell.cs
index b0e8a3514faa..3ae3c2e05381 100644
--- a/generated/App/App.Autorest/generated/api/Models/JobProperties.PowerShell.cs
+++ b/generated/App/App.Autorest/generated/api/Models/JobProperties.PowerShell.cs
@@ -159,7 +159,7 @@ internal JobProperties(global::System.Collections.IDictionary content)
}
if (content.Contains("ConfigurationReplicaTimeout"))
{
- ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal)this).ConfigurationReplicaTimeout = (int) content.GetValueForProperty("ConfigurationReplicaTimeout",((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal)this).ConfigurationReplicaTimeout, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int)));
+ ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal)this).ConfigurationReplicaTimeout = (int?) content.GetValueForProperty("ConfigurationReplicaTimeout",((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal)this).ConfigurationReplicaTimeout, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int)));
}
if (content.Contains("ConfigurationReplicaRetryLimit"))
{
@@ -296,7 +296,7 @@ internal JobProperties(global::System.Management.Automation.PSObject content)
}
if (content.Contains("ConfigurationReplicaTimeout"))
{
- ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal)this).ConfigurationReplicaTimeout = (int) content.GetValueForProperty("ConfigurationReplicaTimeout",((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal)this).ConfigurationReplicaTimeout, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int)));
+ ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal)this).ConfigurationReplicaTimeout = (int?) content.GetValueForProperty("ConfigurationReplicaTimeout",((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal)this).ConfigurationReplicaTimeout, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int)));
}
if (content.Contains("ConfigurationReplicaRetryLimit"))
{
diff --git a/generated/App/App.Autorest/generated/api/Models/JobProperties.cs b/generated/App/App.Autorest/generated/api/Models/JobProperties.cs
index 94011d8c7d5b..31349be16f76 100644
--- a/generated/App/App.Autorest/generated/api/Models/JobProperties.cs
+++ b/generated/App/App.Autorest/generated/api/Models/JobProperties.cs
@@ -76,19 +76,19 @@ public partial class JobProperties :
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfiguration Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal.Configuration { get => (this._configuration = this._configuration ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.JobConfiguration()); set { {_configuration = value;} } }
/// Internal Acessors for ConfigurationEventTriggerConfig
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationEventTriggerConfig Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal.ConfigurationEventTriggerConfig { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationInternal)Configuration).EventTriggerConfig; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationInternal)Configuration).EventTriggerConfig = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationEventTriggerConfig Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal.ConfigurationEventTriggerConfig { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationInternal)Configuration).EventTriggerConfig; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationInternal)Configuration).EventTriggerConfig = value ?? null /* model class */; }
/// Internal Acessors for ConfigurationManualTriggerConfig
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationManualTriggerConfig Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal.ConfigurationManualTriggerConfig { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationInternal)Configuration).ManualTriggerConfig; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationInternal)Configuration).ManualTriggerConfig = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationManualTriggerConfig Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal.ConfigurationManualTriggerConfig { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationInternal)Configuration).ManualTriggerConfig; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationInternal)Configuration).ManualTriggerConfig = value ?? null /* model class */; }
/// Internal Acessors for ConfigurationScheduleTriggerConfig
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationScheduleTriggerConfig Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal.ConfigurationScheduleTriggerConfig { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationInternal)Configuration).ScheduleTriggerConfig; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationInternal)Configuration).ScheduleTriggerConfig = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationScheduleTriggerConfig Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal.ConfigurationScheduleTriggerConfig { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationInternal)Configuration).ScheduleTriggerConfig; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationInternal)Configuration).ScheduleTriggerConfig = value ?? null /* model class */; }
/// Internal Acessors for EventStreamEndpoint
string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal.EventStreamEndpoint { get => this._eventStreamEndpoint; set { {_eventStreamEndpoint = value;} } }
/// Internal Acessors for EventTriggerConfigScale
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobScale Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal.EventTriggerConfigScale { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationInternal)Configuration).EventTriggerConfigScale; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationInternal)Configuration).EventTriggerConfigScale = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobScale Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal.EventTriggerConfigScale { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationInternal)Configuration).EventTriggerConfigScale; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationInternal)Configuration).EventTriggerConfigScale = value ?? null /* model class */; }
/// Internal Acessors for OutboundIPAddress
System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal.OutboundIPAddress { get => this._outboundIPAddress; set { {_outboundIPAddress = value;} } }
diff --git a/generated/App/App.Autorest/generated/api/Models/ManagedCertificate.cs b/generated/App/App.Autorest/generated/api/Models/ManagedCertificate.cs
index 25588ff9415b..4c5bfd89a5db 100644
--- a/generated/App/App.Autorest/generated/api/Models/ManagedCertificate.cs
+++ b/generated/App/App.Autorest/generated/api/Models/ManagedCertificate.cs
@@ -40,31 +40,49 @@ public partial class ManagedCertificate :
/// The geo-location where the resource lives
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.FormatTable(Index = 2)]
- public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITrackedResourceInternal)__trackedResource).Location = value ; }
+ public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITrackedResourceInternal)__trackedResource).Location = value ?? null; }
/// Internal Acessors for Error
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedCertificateInternal.Error { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedCertificatePropertiesInternal)Property).Error; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedCertificatePropertiesInternal)Property).Error = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedCertificateInternal.Error { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedCertificatePropertiesInternal)Property).Error; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedCertificatePropertiesInternal)Property).Error = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedCertificateProperties Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedCertificateInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.ManagedCertificateProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedCertificateInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedCertificatePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedCertificatePropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedCertificateInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedCertificatePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedCertificatePropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for ValidationToken
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedCertificateInternal.ValidationToken { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedCertificatePropertiesInternal)Property).ValidationToken; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedCertificatePropertiesInternal)Property).ValidationToken = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedCertificateInternal.ValidationToken { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedCertificatePropertiesInternal)Property).ValidationToken; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedCertificatePropertiesInternal)Property).ValidationToken = value ?? null; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
@@ -99,37 +117,37 @@ public partial class ManagedCertificate :
///
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- internal Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; }
/// Resource tags.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
diff --git a/generated/App/App.Autorest/generated/api/Models/ManagedEnvironment.cs b/generated/App/App.Autorest/generated/api/Models/ManagedEnvironment.cs
index 9ebd8b5b3464..7e9a47856def 100644
--- a/generated/App/App.Autorest/generated/api/Models/ManagedEnvironment.cs
+++ b/generated/App/App.Autorest/generated/api/Models/ManagedEnvironment.cs
@@ -123,7 +123,7 @@ public partial class ManagedEnvironment :
/// The geo-location where the resource lives
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.FormatTable(Index = 0)]
- public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITrackedResourceInternal)__trackedResource).Location = value ; }
+ public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITrackedResourceInternal)__trackedResource).Location = value ?? null; }
/// Log analytics customer id
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inlined)]
@@ -136,76 +136,94 @@ public partial class ManagedEnvironment :
public string LogAnalyticConfigurationSharedKey { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).LogAnalyticConfigurationSharedKey; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).LogAnalyticConfigurationSharedKey = value ?? null; }
/// Internal Acessors for AppLogConfigurationLogAnalyticsConfiguration
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.ILogAnalyticsConfiguration Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentInternal.AppLogConfigurationLogAnalyticsConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).AppLogConfigurationLogAnalyticsConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).AppLogConfigurationLogAnalyticsConfiguration = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.ILogAnalyticsConfiguration Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentInternal.AppLogConfigurationLogAnalyticsConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).AppLogConfigurationLogAnalyticsConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).AppLogConfigurationLogAnalyticsConfiguration = value ?? null /* model class */; }
/// Internal Acessors for AppLogsConfiguration
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAppLogsConfiguration Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentInternal.AppLogsConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).AppLogsConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).AppLogsConfiguration = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAppLogsConfiguration Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentInternal.AppLogsConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).AppLogsConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).AppLogsConfiguration = value ?? null /* model class */; }
/// Internal Acessors for CustomDomainConfiguration
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomDomainConfiguration Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentInternal.CustomDomainConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).CustomDomainConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).CustomDomainConfiguration = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomDomainConfiguration Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentInternal.CustomDomainConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).CustomDomainConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).CustomDomainConfiguration = value ?? null /* model class */; }
/// Internal Acessors for CustomDomainConfigurationCustomDomainVerificationId
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentInternal.CustomDomainConfigurationCustomDomainVerificationId { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).CustomDomainConfigurationCustomDomainVerificationId; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).CustomDomainConfigurationCustomDomainVerificationId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentInternal.CustomDomainConfigurationCustomDomainVerificationId { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).CustomDomainConfigurationCustomDomainVerificationId; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).CustomDomainConfigurationCustomDomainVerificationId = value ?? null; }
/// Internal Acessors for CustomDomainConfigurationExpirationDate
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentInternal.CustomDomainConfigurationExpirationDate { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).CustomDomainConfigurationExpirationDate; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).CustomDomainConfigurationExpirationDate = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentInternal.CustomDomainConfigurationExpirationDate { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).CustomDomainConfigurationExpirationDate; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).CustomDomainConfigurationExpirationDate = value ?? default(global::System.DateTime); }
/// Internal Acessors for CustomDomainConfigurationSubjectName
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentInternal.CustomDomainConfigurationSubjectName { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).CustomDomainConfigurationSubjectName; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).CustomDomainConfigurationSubjectName = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentInternal.CustomDomainConfigurationSubjectName { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).CustomDomainConfigurationSubjectName; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).CustomDomainConfigurationSubjectName = value ?? null; }
/// Internal Acessors for CustomDomainConfigurationThumbprint
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentInternal.CustomDomainConfigurationThumbprint { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).CustomDomainConfigurationThumbprint; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).CustomDomainConfigurationThumbprint = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentInternal.CustomDomainConfigurationThumbprint { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).CustomDomainConfigurationThumbprint; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).CustomDomainConfigurationThumbprint = value ?? null; }
/// Internal Acessors for DaprConfiguration
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDaprConfiguration Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentInternal.DaprConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).DaprConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).DaprConfiguration = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDaprConfiguration Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentInternal.DaprConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).DaprConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).DaprConfiguration = value ?? null /* model class */; }
/// Internal Acessors for DaprConfigurationVersion
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentInternal.DaprConfigurationVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).DaprConfigurationVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).DaprConfigurationVersion = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentInternal.DaprConfigurationVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).DaprConfigurationVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).DaprConfigurationVersion = value ?? null; }
/// Internal Acessors for DefaultDomain
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentInternal.DefaultDomain { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).DefaultDomain; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).DefaultDomain = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentInternal.DefaultDomain { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).DefaultDomain; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).DefaultDomain = value ?? null; }
/// Internal Acessors for DeploymentError
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentInternal.DeploymentError { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).DeploymentError; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).DeploymentError = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentInternal.DeploymentError { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).DeploymentError; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).DeploymentError = value ?? null; }
/// Internal Acessors for EventStreamEndpoint
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentInternal.EventStreamEndpoint { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).EventStreamEndpoint; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).EventStreamEndpoint = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentInternal.EventStreamEndpoint { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).EventStreamEndpoint; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).EventStreamEndpoint = value ?? null; }
/// Internal Acessors for KedaConfiguration
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IKedaConfiguration Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentInternal.KedaConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).KedaConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).KedaConfiguration = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IKedaConfiguration Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentInternal.KedaConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).KedaConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).KedaConfiguration = value ?? null /* model class */; }
/// Internal Acessors for KedaConfigurationVersion
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentInternal.KedaConfigurationVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).KedaConfigurationVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).KedaConfigurationVersion = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentInternal.KedaConfigurationVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).KedaConfigurationVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).KedaConfigurationVersion = value ?? null; }
/// Internal Acessors for PeerAuthentication
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesPeerAuthentication Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentInternal.PeerAuthentication { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).PeerAuthentication; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).PeerAuthentication = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesPeerAuthentication Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentInternal.PeerAuthentication { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).PeerAuthentication; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).PeerAuthentication = value ?? null /* model class */; }
/// Internal Acessors for PeerAuthenticationMtl
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IMtls Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentInternal.PeerAuthenticationMtl { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).PeerAuthenticationMtl; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).PeerAuthenticationMtl = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IMtls Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentInternal.PeerAuthenticationMtl { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).PeerAuthenticationMtl; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).PeerAuthenticationMtl = value ?? null /* model class */; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentProperties Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.ManagedEnvironmentProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for StaticIP
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentInternal.StaticIP { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).StaticIP; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).StaticIP = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentInternal.StaticIP { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).StaticIP; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).StaticIP = value ?? null; }
/// Internal Acessors for VnetConfiguration
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IVnetConfiguration Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentInternal.VnetConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).VnetConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).VnetConfiguration = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IVnetConfiguration Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentInternal.VnetConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).VnetConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).VnetConfiguration = value ?? null /* model class */; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Type = value ?? null; }
/// Boolean indicating whether the mutual TLS authentication is enabled
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inlined)]
@@ -245,37 +263,37 @@ public partial class ManagedEnvironment :
///
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- internal Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; }
/// Resource tags.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
diff --git a/generated/App/App.Autorest/generated/api/Models/ManagedEnvironmentProperties.cs b/generated/App/App.Autorest/generated/api/Models/ManagedEnvironmentProperties.cs
index 6c6904935e5d..49a6f5f25d0b 100644
--- a/generated/App/App.Autorest/generated/api/Models/ManagedEnvironmentProperties.cs
+++ b/generated/App/App.Autorest/generated/api/Models/ManagedEnvironmentProperties.cs
@@ -143,7 +143,7 @@ public partial class ManagedEnvironmentProperties :
public string LogAnalyticConfigurationSharedKey { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAppLogsConfigurationInternal)AppLogsConfiguration).LogAnalyticConfigurationSharedKey; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAppLogsConfigurationInternal)AppLogsConfiguration).LogAnalyticConfigurationSharedKey = value ?? null; }
/// Internal Acessors for AppLogConfigurationLogAnalyticsConfiguration
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.ILogAnalyticsConfiguration Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal.AppLogConfigurationLogAnalyticsConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAppLogsConfigurationInternal)AppLogsConfiguration).LogAnalyticsConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAppLogsConfigurationInternal)AppLogsConfiguration).LogAnalyticsConfiguration = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.ILogAnalyticsConfiguration Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal.AppLogConfigurationLogAnalyticsConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAppLogsConfigurationInternal)AppLogsConfiguration).LogAnalyticsConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAppLogsConfigurationInternal)AppLogsConfiguration).LogAnalyticsConfiguration = value ?? null /* model class */; }
/// Internal Acessors for AppLogsConfiguration
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAppLogsConfiguration Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal.AppLogsConfiguration { get => (this._appLogsConfiguration = this._appLogsConfiguration ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.AppLogsConfiguration()); set { {_appLogsConfiguration = value;} } }
@@ -152,22 +152,22 @@ public partial class ManagedEnvironmentProperties :
Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomDomainConfiguration Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal.CustomDomainConfiguration { get => (this._customDomainConfiguration = this._customDomainConfiguration ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.CustomDomainConfiguration()); set { {_customDomainConfiguration = value;} } }
/// Internal Acessors for CustomDomainConfigurationCustomDomainVerificationId
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal.CustomDomainConfigurationCustomDomainVerificationId { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomDomainConfigurationInternal)CustomDomainConfiguration).CustomDomainVerificationId; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomDomainConfigurationInternal)CustomDomainConfiguration).CustomDomainVerificationId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal.CustomDomainConfigurationCustomDomainVerificationId { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomDomainConfigurationInternal)CustomDomainConfiguration).CustomDomainVerificationId; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomDomainConfigurationInternal)CustomDomainConfiguration).CustomDomainVerificationId = value ?? null; }
/// Internal Acessors for CustomDomainConfigurationExpirationDate
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal.CustomDomainConfigurationExpirationDate { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomDomainConfigurationInternal)CustomDomainConfiguration).ExpirationDate; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomDomainConfigurationInternal)CustomDomainConfiguration).ExpirationDate = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal.CustomDomainConfigurationExpirationDate { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomDomainConfigurationInternal)CustomDomainConfiguration).ExpirationDate; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomDomainConfigurationInternal)CustomDomainConfiguration).ExpirationDate = value ?? default(global::System.DateTime); }
/// Internal Acessors for CustomDomainConfigurationSubjectName
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal.CustomDomainConfigurationSubjectName { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomDomainConfigurationInternal)CustomDomainConfiguration).SubjectName; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomDomainConfigurationInternal)CustomDomainConfiguration).SubjectName = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal.CustomDomainConfigurationSubjectName { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomDomainConfigurationInternal)CustomDomainConfiguration).SubjectName; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomDomainConfigurationInternal)CustomDomainConfiguration).SubjectName = value ?? null; }
/// Internal Acessors for CustomDomainConfigurationThumbprint
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal.CustomDomainConfigurationThumbprint { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomDomainConfigurationInternal)CustomDomainConfiguration).Thumbprint; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomDomainConfigurationInternal)CustomDomainConfiguration).Thumbprint = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal.CustomDomainConfigurationThumbprint { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomDomainConfigurationInternal)CustomDomainConfiguration).Thumbprint; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomDomainConfigurationInternal)CustomDomainConfiguration).Thumbprint = value ?? null; }
/// Internal Acessors for DaprConfiguration
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDaprConfiguration Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal.DaprConfiguration { get => (this._daprConfiguration = this._daprConfiguration ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.DaprConfiguration()); set { {_daprConfiguration = value;} } }
/// Internal Acessors for DaprConfigurationVersion
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal.DaprConfigurationVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDaprConfigurationInternal)DaprConfiguration).Version; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDaprConfigurationInternal)DaprConfiguration).Version = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal.DaprConfigurationVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDaprConfigurationInternal)DaprConfiguration).Version; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDaprConfigurationInternal)DaprConfiguration).Version = value ?? null; }
/// Internal Acessors for DefaultDomain
string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal.DefaultDomain { get => this._defaultDomain; set { {_defaultDomain = value;} } }
@@ -182,13 +182,13 @@ public partial class ManagedEnvironmentProperties :
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IKedaConfiguration Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal.KedaConfiguration { get => (this._kedaConfiguration = this._kedaConfiguration ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.KedaConfiguration()); set { {_kedaConfiguration = value;} } }
/// Internal Acessors for KedaConfigurationVersion
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal.KedaConfigurationVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IKedaConfigurationInternal)KedaConfiguration).Version; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IKedaConfigurationInternal)KedaConfiguration).Version = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal.KedaConfigurationVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IKedaConfigurationInternal)KedaConfiguration).Version; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IKedaConfigurationInternal)KedaConfiguration).Version = value ?? null; }
/// Internal Acessors for PeerAuthentication
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesPeerAuthentication Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal.PeerAuthentication { get => (this._peerAuthentication = this._peerAuthentication ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.ManagedEnvironmentPropertiesPeerAuthentication()); set { {_peerAuthentication = value;} } }
/// Internal Acessors for PeerAuthenticationMtl
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IMtls Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal.PeerAuthenticationMtl { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesPeerAuthenticationInternal)PeerAuthentication).Mtl; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesPeerAuthenticationInternal)PeerAuthentication).Mtl = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IMtls Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal.PeerAuthenticationMtl { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesPeerAuthenticationInternal)PeerAuthentication).Mtl; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesPeerAuthenticationInternal)PeerAuthentication).Mtl = value ?? null /* model class */; }
/// Internal Acessors for ProvisioningState
string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal.ProvisioningState { get => this._provisioningState; set { {_provisioningState = value;} } }
diff --git a/generated/App/App.Autorest/generated/api/Models/ManagedEnvironmentStorage.cs b/generated/App/App.Autorest/generated/api/Models/ManagedEnvironmentStorage.cs
index 51ad4bc62140..7c5bbce03d9c 100644
--- a/generated/App/App.Autorest/generated/api/Models/ManagedEnvironmentStorage.cs
+++ b/generated/App/App.Autorest/generated/api/Models/ManagedEnvironmentStorage.cs
@@ -46,22 +46,40 @@ public partial class ManagedEnvironmentStorage :
public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Id; }
/// Internal Acessors for AzureFile
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureFileProperties Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentStorageInternal.AzureFile { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentStoragePropertiesInternal)Property).AzureFile; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentStoragePropertiesInternal)Property).AzureFile = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureFileProperties Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentStorageInternal.AzureFile { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentStoragePropertiesInternal)Property).AzureFile; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentStoragePropertiesInternal)Property).AzureFile = value ?? null /* model class */; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentStorageProperties Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentStorageInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.ManagedEnvironmentStorageProperties()); set { {_property = value;} } }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
@@ -86,37 +104,37 @@ public partial class ManagedEnvironmentStorage :
///
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- internal Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; }
///
/// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
diff --git a/generated/App/App.Autorest/generated/api/Models/ProxyResource.cs b/generated/App/App.Autorest/generated/api/Models/ProxyResource.cs
index 71f29bc4e270..b7354838790b 100644
--- a/generated/App/App.Autorest/generated/api/Models/ProxyResource.cs
+++ b/generated/App/App.Autorest/generated/api/Models/ProxyResource.cs
@@ -27,16 +27,34 @@ public partial class ProxyResource :
public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).Id; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
@@ -46,31 +64,31 @@ public partial class ProxyResource :
/// Azure Resource Manager metadata containing createdBy and modifiedBy information.
///
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
- internal Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; }
///
/// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
diff --git a/generated/App/App.Autorest/generated/api/Models/Replica.cs b/generated/App/App.Autorest/generated/api/Models/Replica.cs
index e40499fc0932..6b518ad1df01 100644
--- a/generated/App/App.Autorest/generated/api/Models/Replica.cs
+++ b/generated/App/App.Autorest/generated/api/Models/Replica.cs
@@ -41,28 +41,46 @@ public partial class Replica :
public System.Collections.Generic.List InitContainer { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IReplicaPropertiesInternal)Property).InitContainer; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IReplicaPropertiesInternal)Property).InitContainer = value ?? null /* arrayOf */; }
/// Internal Acessors for CreatedTime
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IReplicaInternal.CreatedTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IReplicaPropertiesInternal)Property).CreatedTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IReplicaPropertiesInternal)Property).CreatedTime = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IReplicaInternal.CreatedTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IReplicaPropertiesInternal)Property).CreatedTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IReplicaPropertiesInternal)Property).CreatedTime = value ?? default(global::System.DateTime); }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IReplicaProperties Microsoft.Azure.PowerShell.Cmdlets.App.Models.IReplicaInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.ReplicaProperties()); set { {_property = value;} } }
/// Internal Acessors for RunningState
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IReplicaInternal.RunningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IReplicaPropertiesInternal)Property).RunningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IReplicaPropertiesInternal)Property).RunningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IReplicaInternal.RunningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IReplicaPropertiesInternal)Property).RunningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IReplicaPropertiesInternal)Property).RunningState = value ?? null; }
/// Internal Acessors for RunningStateDetail
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IReplicaInternal.RunningStateDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IReplicaPropertiesInternal)Property).RunningStateDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IReplicaPropertiesInternal)Property).RunningStateDetail = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IReplicaInternal.RunningStateDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IReplicaPropertiesInternal)Property).RunningStateDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IReplicaPropertiesInternal)Property).RunningStateDetail = value ?? null; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
@@ -97,37 +115,37 @@ public partial class Replica :
///
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- internal Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; }
///
/// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
diff --git a/generated/App/App.Autorest/generated/api/Models/Resource.cs b/generated/App/App.Autorest/generated/api/Models/Resource.cs
index c02b1c614075..7dd08e1d1ede 100644
--- a/generated/App/App.Autorest/generated/api/Models/Resource.cs
+++ b/generated/App/App.Autorest/generated/api/Models/Resource.cs
@@ -33,6 +33,24 @@ public partial class Resource :
/// Internal Acessors for SystemData
Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemData { get => (this._systemData = this._systemData ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.SystemData()); set { {_systemData = value;} } }
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemDataInternal)SystemData).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemDataInternal)SystemData).CreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemDataInternal)SystemData).CreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemDataInternal)SystemData).CreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemDataInternal)SystemData).CreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemDataInternal)SystemData).CreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemDataInternal)SystemData).LastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemDataInternal)SystemData).LastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemDataInternal)SystemData).LastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemDataInternal)SystemData).LastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemDataInternal)SystemData).LastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemDataInternal)SystemData).LastModifiedByType = value ?? null; }
+
/// Internal Acessors for Type
string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Type { get => this._type; set { {_type = value;} } }
@@ -54,27 +72,27 @@ public partial class Resource :
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inlined)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemDataInternal)SystemData).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemDataInternal)SystemData).CreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemDataInternal)SystemData).CreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inlined)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemDataInternal)SystemData).CreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemDataInternal)SystemData).CreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemDataInternal)SystemData).CreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inlined)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemDataInternal)SystemData).CreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemDataInternal)SystemData).CreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemDataInternal)SystemData).CreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inlined)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemDataInternal)SystemData).LastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemDataInternal)SystemData).LastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemDataInternal)SystemData).LastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inlined)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemDataInternal)SystemData).LastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemDataInternal)SystemData).LastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemDataInternal)SystemData).LastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inlined)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemDataInternal)SystemData).LastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemDataInternal)SystemData).LastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemDataInternal)SystemData).LastModifiedByType; }
/// Backing field for property.
private string _type;
diff --git a/generated/App/App.Autorest/generated/api/Models/Revision.cs b/generated/App/App.Autorest/generated/api/Models/Revision.cs
index e15da2623fec..56277049f340 100644
--- a/generated/App/App.Autorest/generated/api/Models/Revision.cs
+++ b/generated/App/App.Autorest/generated/api/Models/Revision.cs
@@ -56,55 +56,100 @@ public partial class Revision :
public global::System.DateTime? LastActiveTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).LastActiveTime; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Type = value ?? null; }
/// Internal Acessors for Active
- bool? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionInternal.Active { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).Active; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).Active = value; }
+ bool? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionInternal.Active { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).Active; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).Active = value ?? default(bool); }
/// Internal Acessors for CreatedTime
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionInternal.CreatedTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).CreatedTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).CreatedTime = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionInternal.CreatedTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).CreatedTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).CreatedTime = value ?? default(global::System.DateTime); }
/// Internal Acessors for Fqdn
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionInternal.Fqdn { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).Fqdn; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).Fqdn = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionInternal.Fqdn { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).Fqdn; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).Fqdn = value ?? null; }
/// Internal Acessors for HealthState
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionInternal.HealthState { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).HealthState; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).HealthState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionInternal.HealthState { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).HealthState; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).HealthState = value ?? null; }
/// Internal Acessors for LastActiveTime
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionInternal.LastActiveTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).LastActiveTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).LastActiveTime = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionInternal.LastActiveTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).LastActiveTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).LastActiveTime = value ?? default(global::System.DateTime); }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionProperties Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.RevisionProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningError
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionInternal.ProvisioningError { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).ProvisioningError; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).ProvisioningError = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionInternal.ProvisioningError { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).ProvisioningError; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).ProvisioningError = value ?? null; }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for Replica
- int? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionInternal.Replica { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).Replica; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).Replica = value; }
+ int? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionInternal.Replica { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).Replica; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).Replica = value ?? default(int); }
/// Internal Acessors for RunningState
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionInternal.RunningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).RunningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).RunningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionInternal.RunningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).RunningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).RunningState = value ?? null; }
+
+ /// Internal Acessors for ScaleMaxReplica
+ int? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionInternal.ScaleMaxReplica { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).ScaleMaxReplica; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).ScaleMaxReplica = value ?? default(int); }
+
+ /// Internal Acessors for ScaleMinReplica
+ int? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionInternal.ScaleMinReplica { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).ScaleMinReplica; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).ScaleMinReplica = value ?? default(int); }
+
+ /// Internal Acessors for ScaleRule
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionInternal.ScaleRule { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).ScaleRule; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).ScaleRule = value ?? null /* arrayOf */; }
/// Internal Acessors for Template
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplate Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionInternal.Template { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).Template; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).Template = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplate Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionInternal.Template { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).Template; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).Template = value ?? null /* model class */; }
+
+ /// Internal Acessors for TemplateContainer
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionInternal.TemplateContainer { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).TemplateContainer; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).TemplateContainer = value ?? null /* arrayOf */; }
+
+ /// Internal Acessors for TemplateInitContainer
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionInternal.TemplateInitContainer { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).TemplateInitContainer; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).TemplateInitContainer = value ?? null /* arrayOf */; }
+
+ /// Internal Acessors for TemplateRevisionSuffix
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionInternal.TemplateRevisionSuffix { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).TemplateRevisionSuffix; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).TemplateRevisionSuffix = value ?? null; }
/// Internal Acessors for TemplateScale
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IScale Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionInternal.TemplateScale { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).TemplateScale; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).TemplateScale = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IScale Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionInternal.TemplateScale { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).TemplateScale; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).TemplateScale = value ?? null /* model class */; }
+
+ /// Internal Acessors for TemplateServiceBind
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionInternal.TemplateServiceBind { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).TemplateServiceBind; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).TemplateServiceBind = value ?? null /* arrayOf */; }
+
+ /// Internal Acessors for TemplateTerminationGracePeriodSecond
+ long? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionInternal.TemplateTerminationGracePeriodSecond { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).TemplateTerminationGracePeriodSecond; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).TemplateTerminationGracePeriodSecond = value ?? default(long); }
+
+ /// Internal Acessors for TemplateVolume
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionInternal.TemplateVolume { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).TemplateVolume; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).TemplateVolume = value ?? null /* arrayOf */; }
/// Internal Acessors for TrafficWeight
- int? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionInternal.TrafficWeight { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).TrafficWeight; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).TrafficWeight = value; }
+ int? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionInternal.TrafficWeight { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).TrafficWeight; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).TrafficWeight = value ?? default(int); }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
@@ -147,74 +192,74 @@ public partial class Revision :
/// Optional. Maximum number of container replicas. Defaults to 10 if not set.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inlined)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public int? ScaleMaxReplica { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).ScaleMaxReplica; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).ScaleMaxReplica = value ?? default(int); }
+ public int? ScaleMaxReplica { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).ScaleMaxReplica; }
/// Optional. Minimum number of container replicas.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inlined)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public int? ScaleMinReplica { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).ScaleMinReplica; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).ScaleMinReplica = value ?? default(int); }
+ public int? ScaleMinReplica { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).ScaleMinReplica; }
/// Scaling rules.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inlined)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public System.Collections.Generic.List ScaleRule { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).ScaleRule; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).ScaleRule = value ?? null /* arrayOf */; }
+ public System.Collections.Generic.List ScaleRule { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).ScaleRule; }
///
/// Azure Resource Manager metadata containing createdBy and modifiedBy information.
///
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- internal Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; }
/// List of container definitions for the Container App.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inlined)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public System.Collections.Generic.List TemplateContainer { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).TemplateContainer; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).TemplateContainer = value ?? null /* arrayOf */; }
+ public System.Collections.Generic.List TemplateContainer { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).TemplateContainer; }
/// List of specialized containers that run before app containers.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inlined)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public System.Collections.Generic.List TemplateInitContainer { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).TemplateInitContainer; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).TemplateInitContainer = value ?? null /* arrayOf */; }
+ public System.Collections.Generic.List TemplateInitContainer { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).TemplateInitContainer; }
/// User friendly suffix that is appended to the revision name
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inlined)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string TemplateRevisionSuffix { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).TemplateRevisionSuffix; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).TemplateRevisionSuffix = value ?? null; }
+ public string TemplateRevisionSuffix { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).TemplateRevisionSuffix; }
/// List of container app services bound to the app
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inlined)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public System.Collections.Generic.List TemplateServiceBind { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).TemplateServiceBind; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).TemplateServiceBind = value ?? null /* arrayOf */; }
+ public System.Collections.Generic.List TemplateServiceBind { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).TemplateServiceBind; }
///
/// Optional duration in seconds the Container App Instance needs to terminate gracefully. Value must be non-negative integer.
@@ -224,12 +269,12 @@ public partial class Revision :
///
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inlined)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public long? TemplateTerminationGracePeriodSecond { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).TemplateTerminationGracePeriodSecond; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).TemplateTerminationGracePeriodSecond = value ?? default(long); }
+ public long? TemplateTerminationGracePeriodSecond { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).TemplateTerminationGracePeriodSecond; }
/// List of volume definitions for the Container App.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inlined)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public System.Collections.Generic.List TemplateVolume { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).TemplateVolume; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).TemplateVolume = value ?? null /* arrayOf */; }
+ public System.Collections.Generic.List TemplateVolume { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).TemplateVolume; }
/// Traffic weight assigned to this revision
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inlined)]
diff --git a/generated/App/App.Autorest/generated/api/Models/RevisionProperties.cs b/generated/App/App.Autorest/generated/api/Models/RevisionProperties.cs
index 16cbab6aba18..971dc9826311 100644
--- a/generated/App/App.Autorest/generated/api/Models/RevisionProperties.cs
+++ b/generated/App/App.Autorest/generated/api/Models/RevisionProperties.cs
@@ -80,11 +80,38 @@ public partial class RevisionProperties :
/// Internal Acessors for RunningState
string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal.RunningState { get => this._runningState; set { {_runningState = value;} } }
+ /// Internal Acessors for ScaleMaxReplica
+ int? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal.ScaleMaxReplica { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).ScaleMaxReplica; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).ScaleMaxReplica = value ?? default(int); }
+
+ /// Internal Acessors for ScaleMinReplica
+ int? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal.ScaleMinReplica { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).ScaleMinReplica; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).ScaleMinReplica = value ?? default(int); }
+
+ /// Internal Acessors for ScaleRule
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal.ScaleRule { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).ScaleRule; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).ScaleRule = value ?? null /* arrayOf */; }
+
/// Internal Acessors for Template
Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplate Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal.Template { get => (this._template = this._template ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.Template()); set { {_template = value;} } }
+ /// Internal Acessors for TemplateContainer
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal.TemplateContainer { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).Container; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).Container = value ?? null /* arrayOf */; }
+
+ /// Internal Acessors for TemplateInitContainer
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal.TemplateInitContainer { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).InitContainer; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).InitContainer = value ?? null /* arrayOf */; }
+
+ /// Internal Acessors for TemplateRevisionSuffix
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal.TemplateRevisionSuffix { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).RevisionSuffix; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).RevisionSuffix = value ?? null; }
+
/// Internal Acessors for TemplateScale
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IScale Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal.TemplateScale { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).Scale; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).Scale = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IScale Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal.TemplateScale { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).Scale; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).Scale = value ?? null /* model class */; }
+
+ /// Internal Acessors for TemplateServiceBind
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal.TemplateServiceBind { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).ServiceBind; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).ServiceBind = value ?? null /* arrayOf */; }
+
+ /// Internal Acessors for TemplateTerminationGracePeriodSecond
+ long? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal.TemplateTerminationGracePeriodSecond { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).TerminationGracePeriodSecond; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).TerminationGracePeriodSecond = value ?? default(long); }
+
+ /// Internal Acessors for TemplateVolume
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal.TemplateVolume { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).Volume; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).Volume = value ?? null /* arrayOf */; }
/// Internal Acessors for TrafficWeight
int? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal.TrafficWeight { get => this._trafficWeight; set { {_trafficWeight = value;} } }
@@ -119,15 +146,15 @@ public partial class RevisionProperties :
/// Optional. Maximum number of container replicas. Defaults to 10 if not set.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inlined)]
- public int? ScaleMaxReplica { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).ScaleMaxReplica; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).ScaleMaxReplica = value ?? default(int); }
+ public int? ScaleMaxReplica { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).ScaleMaxReplica; }
/// Optional. Minimum number of container replicas.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inlined)]
- public int? ScaleMinReplica { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).ScaleMinReplica; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).ScaleMinReplica = value ?? default(int); }
+ public int? ScaleMinReplica { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).ScaleMinReplica; }
/// Scaling rules.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inlined)]
- public System.Collections.Generic.List ScaleRule { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).ScaleRule; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).ScaleRule = value ?? null /* arrayOf */; }
+ public System.Collections.Generic.List ScaleRule { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).ScaleRule; }
/// Backing field for property.
private Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplate _template;
@@ -142,19 +169,19 @@ public partial class RevisionProperties :
/// List of container definitions for the Container App.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inlined)]
- public System.Collections.Generic.List TemplateContainer { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).Container; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).Container = value ?? null /* arrayOf */; }
+ public System.Collections.Generic.List TemplateContainer { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).Container; }
/// List of specialized containers that run before app containers.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inlined)]
- public System.Collections.Generic.List TemplateInitContainer { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).InitContainer; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).InitContainer = value ?? null /* arrayOf */; }
+ public System.Collections.Generic.List TemplateInitContainer { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).InitContainer; }
/// User friendly suffix that is appended to the revision name
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inlined)]
- public string TemplateRevisionSuffix { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).RevisionSuffix; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).RevisionSuffix = value ?? null; }
+ public string TemplateRevisionSuffix { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).RevisionSuffix; }
/// List of container app services bound to the app
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inlined)]
- public System.Collections.Generic.List TemplateServiceBind { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).ServiceBind; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).ServiceBind = value ?? null /* arrayOf */; }
+ public System.Collections.Generic.List TemplateServiceBind { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).ServiceBind; }
///
/// Optional duration in seconds the Container App Instance needs to terminate gracefully. Value must be non-negative integer.
@@ -163,11 +190,11 @@ public partial class RevisionProperties :
/// to 30 seconds.
///
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inlined)]
- public long? TemplateTerminationGracePeriodSecond { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).TerminationGracePeriodSecond; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).TerminationGracePeriodSecond = value ?? default(long); }
+ public long? TemplateTerminationGracePeriodSecond { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).TerminationGracePeriodSecond; }
/// List of volume definitions for the Container App.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inlined)]
- public System.Collections.Generic.List TemplateVolume { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).Volume; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).Volume = value ?? null /* arrayOf */; }
+ public System.Collections.Generic.List TemplateVolume { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).Volume; }
/// Backing field for property.
private int? _trafficWeight;
diff --git a/generated/App/App.Autorest/generated/api/Models/SourceControl.cs b/generated/App/App.Autorest/generated/api/Models/SourceControl.cs
index 164d31c29314..f7d041e056ea 100644
--- a/generated/App/App.Autorest/generated/api/Models/SourceControl.cs
+++ b/generated/App/App.Autorest/generated/api/Models/SourceControl.cs
@@ -91,28 +91,46 @@ public partial class SourceControl :
public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Id; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Type = value ?? null; }
/// Internal Acessors for GithubActionConfiguration
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IGithubActionConfiguration Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISourceControlInternal.GithubActionConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISourceControlPropertiesInternal)Property).GithubActionConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISourceControlPropertiesInternal)Property).GithubActionConfiguration = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IGithubActionConfiguration Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISourceControlInternal.GithubActionConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISourceControlPropertiesInternal)Property).GithubActionConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISourceControlPropertiesInternal)Property).GithubActionConfiguration = value ?? null /* model class */; }
/// Internal Acessors for GithubActionConfigurationAzureCredentials
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureCredentials Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISourceControlInternal.GithubActionConfigurationAzureCredentials { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISourceControlPropertiesInternal)Property).GithubActionConfigurationAzureCredentials; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISourceControlPropertiesInternal)Property).GithubActionConfigurationAzureCredentials = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureCredentials Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISourceControlInternal.GithubActionConfigurationAzureCredentials { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISourceControlPropertiesInternal)Property).GithubActionConfigurationAzureCredentials; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISourceControlPropertiesInternal)Property).GithubActionConfigurationAzureCredentials = value ?? null /* model class */; }
/// Internal Acessors for GithubActionConfigurationRegistryInfo
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRegistryInfo Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISourceControlInternal.GithubActionConfigurationRegistryInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISourceControlPropertiesInternal)Property).GithubActionConfigurationRegistryInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISourceControlPropertiesInternal)Property).GithubActionConfigurationRegistryInfo = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRegistryInfo Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISourceControlInternal.GithubActionConfigurationRegistryInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISourceControlPropertiesInternal)Property).GithubActionConfigurationRegistryInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISourceControlPropertiesInternal)Property).GithubActionConfigurationRegistryInfo = value ?? null /* model class */; }
/// Internal Acessors for OperationState
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISourceControlInternal.OperationState { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISourceControlPropertiesInternal)Property).OperationState; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISourceControlPropertiesInternal)Property).OperationState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISourceControlInternal.OperationState { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISourceControlPropertiesInternal)Property).OperationState; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISourceControlPropertiesInternal)Property).OperationState = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISourceControlProperties Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISourceControlInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.SourceControlProperties()); set { {_property = value;} } }
@@ -165,37 +183,37 @@ public partial class SourceControl :
///
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- internal Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; }
///
/// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
diff --git a/generated/App/App.Autorest/generated/api/Models/SourceControlProperties.cs b/generated/App/App.Autorest/generated/api/Models/SourceControlProperties.cs
index 6c6bcbcb4152..765bb0b4e11e 100644
--- a/generated/App/App.Autorest/generated/api/Models/SourceControlProperties.cs
+++ b/generated/App/App.Autorest/generated/api/Models/SourceControlProperties.cs
@@ -83,10 +83,10 @@ public partial class SourceControlProperties :
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IGithubActionConfiguration Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISourceControlPropertiesInternal.GithubActionConfiguration { get => (this._githubActionConfiguration = this._githubActionConfiguration ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.GithubActionConfiguration()); set { {_githubActionConfiguration = value;} } }
/// Internal Acessors for GithubActionConfigurationAzureCredentials
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureCredentials Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISourceControlPropertiesInternal.GithubActionConfigurationAzureCredentials { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IGithubActionConfigurationInternal)GithubActionConfiguration).AzureCredentials; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IGithubActionConfigurationInternal)GithubActionConfiguration).AzureCredentials = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureCredentials Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISourceControlPropertiesInternal.GithubActionConfigurationAzureCredentials { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IGithubActionConfigurationInternal)GithubActionConfiguration).AzureCredentials; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IGithubActionConfigurationInternal)GithubActionConfiguration).AzureCredentials = value ?? null /* model class */; }
/// Internal Acessors for GithubActionConfigurationRegistryInfo
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRegistryInfo Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISourceControlPropertiesInternal.GithubActionConfigurationRegistryInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IGithubActionConfigurationInternal)GithubActionConfiguration).RegistryInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IGithubActionConfigurationInternal)GithubActionConfiguration).RegistryInfo = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRegistryInfo Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISourceControlPropertiesInternal.GithubActionConfigurationRegistryInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IGithubActionConfigurationInternal)GithubActionConfiguration).RegistryInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IGithubActionConfigurationInternal)GithubActionConfiguration).RegistryInfo = value ?? null /* model class */; }
/// Internal Acessors for OperationState
string Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISourceControlPropertiesInternal.OperationState { get => this._operationState; set { {_operationState = value;} } }
diff --git a/generated/App/App.Autorest/generated/api/Models/TrackedResource.cs b/generated/App/App.Autorest/generated/api/Models/TrackedResource.cs
index 95760e2c7de9..5799c8246a33 100644
--- a/generated/App/App.Autorest/generated/api/Models/TrackedResource.cs
+++ b/generated/App/App.Autorest/generated/api/Models/TrackedResource.cs
@@ -34,16 +34,34 @@ public partial class TrackedResource :
public string Location { get => this._location; set => this._location = value; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
@@ -53,31 +71,31 @@ public partial class TrackedResource :
/// Azure Resource Manager metadata containing createdBy and modifiedBy information.
///
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
- internal Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; }
/// Backing field for property.
private Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITrackedResourceTags _tag;
@@ -117,7 +135,7 @@ public partial interface ITrackedResource :
{
/// The geo-location where the resource lives
[Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Info(
- Required = true,
+ Required = false,
ReadOnly = false,
Read = true,
Create = true,
diff --git a/generated/App/App.Autorest/generated/api/Models/WorkloadProfileStates.cs b/generated/App/App.Autorest/generated/api/Models/WorkloadProfileStates.cs
index 3b93662e962d..90415b5d4bea 100644
--- a/generated/App/App.Autorest/generated/api/Models/WorkloadProfileStates.cs
+++ b/generated/App/App.Autorest/generated/api/Models/WorkloadProfileStates.cs
@@ -36,16 +36,34 @@ public partial class WorkloadProfileStates :
public int? MaximumCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IWorkloadProfileStatesPropertiesInternal)Property).MaximumCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IWorkloadProfileStatesPropertiesInternal)Property).MaximumCount = value ?? default(int); }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Type = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IWorkloadProfileStatesProperties Microsoft.Azure.PowerShell.Cmdlets.App.Models.IWorkloadProfileStatesInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.WorkloadProfileStatesProperties()); set { {_property = value;} } }
@@ -73,37 +91,37 @@ public partial class WorkloadProfileStates :
///
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- internal Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; }
///
/// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
diff --git a/generated/App/App.Autorest/generated/cmdlets/DisableAzContainerAppRevision_Deactivate.cs b/generated/App/App.Autorest/generated/cmdlets/DisableAzContainerAppRevision_Deactivate.cs
index 03f07e93d0b7..e600c4ddcad8 100644
--- a/generated/App/App.Autorest/generated/cmdlets/DisableAzContainerAppRevision_Deactivate.cs
+++ b/generated/App/App.Autorest/generated/cmdlets/DisableAzContainerAppRevision_Deactivate.cs
@@ -485,7 +485,7 @@ protected override void StopProcessing()
return ;
}
// onOk - response for 200 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
diff --git a/generated/App/App.Autorest/generated/cmdlets/DisableAzContainerAppRevision_DeactivateViaIdentity.cs b/generated/App/App.Autorest/generated/cmdlets/DisableAzContainerAppRevision_DeactivateViaIdentity.cs
index 6d2acbd180db..1f5c55550be0 100644
--- a/generated/App/App.Autorest/generated/cmdlets/DisableAzContainerAppRevision_DeactivateViaIdentity.cs
+++ b/generated/App/App.Autorest/generated/cmdlets/DisableAzContainerAppRevision_DeactivateViaIdentity.cs
@@ -455,7 +455,7 @@ protected override void StopProcessing()
return ;
}
// onOk - response for 200 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
diff --git a/generated/App/App.Autorest/generated/cmdlets/DisableAzContainerAppRevision_DeactivateViaIdentityContainerApp.cs b/generated/App/App.Autorest/generated/cmdlets/DisableAzContainerAppRevision_DeactivateViaIdentityContainerApp.cs
index 88a6b1ea093f..994d73def34c 100644
--- a/generated/App/App.Autorest/generated/cmdlets/DisableAzContainerAppRevision_DeactivateViaIdentityContainerApp.cs
+++ b/generated/App/App.Autorest/generated/cmdlets/DisableAzContainerAppRevision_DeactivateViaIdentityContainerApp.cs
@@ -468,7 +468,7 @@ protected override void StopProcessing()
return ;
}
// onOk - response for 200 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
diff --git a/generated/App/App.Autorest/generated/cmdlets/EnableAzContainerAppRevision_Activate.cs b/generated/App/App.Autorest/generated/cmdlets/EnableAzContainerAppRevision_Activate.cs
index 2d8048017ea3..efa82597b738 100644
--- a/generated/App/App.Autorest/generated/cmdlets/EnableAzContainerAppRevision_Activate.cs
+++ b/generated/App/App.Autorest/generated/cmdlets/EnableAzContainerAppRevision_Activate.cs
@@ -485,7 +485,7 @@ protected override void StopProcessing()
return ;
}
// onOk - response for 200 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
diff --git a/generated/App/App.Autorest/generated/cmdlets/EnableAzContainerAppRevision_ActivateViaIdentity.cs b/generated/App/App.Autorest/generated/cmdlets/EnableAzContainerAppRevision_ActivateViaIdentity.cs
index a49c904ac45b..3941e41acd32 100644
--- a/generated/App/App.Autorest/generated/cmdlets/EnableAzContainerAppRevision_ActivateViaIdentity.cs
+++ b/generated/App/App.Autorest/generated/cmdlets/EnableAzContainerAppRevision_ActivateViaIdentity.cs
@@ -455,7 +455,7 @@ protected override void StopProcessing()
return ;
}
// onOk - response for 200 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
diff --git a/generated/App/App.Autorest/generated/cmdlets/EnableAzContainerAppRevision_ActivateViaIdentityContainerApp.cs b/generated/App/App.Autorest/generated/cmdlets/EnableAzContainerAppRevision_ActivateViaIdentityContainerApp.cs
index 1d7964556460..6e591413c2c5 100644
--- a/generated/App/App.Autorest/generated/cmdlets/EnableAzContainerAppRevision_ActivateViaIdentityContainerApp.cs
+++ b/generated/App/App.Autorest/generated/cmdlets/EnableAzContainerAppRevision_ActivateViaIdentityContainerApp.cs
@@ -467,7 +467,7 @@ protected override void StopProcessing()
return ;
}
// onOk - response for 200 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
diff --git a/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppAuthConfig_Delete.cs b/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppAuthConfig_Delete.cs
index 1d3350c1acb1..d151615b724f 100644
--- a/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppAuthConfig_Delete.cs
+++ b/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppAuthConfig_Delete.cs
@@ -495,7 +495,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -519,7 +519,7 @@ protected override void StopProcessing()
return ;
}
// onOk - response for 200 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
diff --git a/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppAuthConfig_DeleteViaIdentity.cs b/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppAuthConfig_DeleteViaIdentity.cs
index a05891a32eda..e00cd3e87556 100644
--- a/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppAuthConfig_DeleteViaIdentity.cs
+++ b/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppAuthConfig_DeleteViaIdentity.cs
@@ -465,7 +465,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -489,7 +489,7 @@ protected override void StopProcessing()
return ;
}
// onOk - response for 200 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
diff --git a/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppAuthConfig_DeleteViaIdentityContainerApp.cs b/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppAuthConfig_DeleteViaIdentityContainerApp.cs
index 341b1137a7fe..c672acb41965 100644
--- a/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppAuthConfig_DeleteViaIdentityContainerApp.cs
+++ b/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppAuthConfig_DeleteViaIdentityContainerApp.cs
@@ -477,7 +477,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -501,7 +501,7 @@ protected override void StopProcessing()
return ;
}
// onOk - response for 200 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
diff --git a/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppConnectedEnvCert_Delete.cs b/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppConnectedEnvCert_Delete.cs
index 6c84148e4a85..007d35414824 100644
--- a/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppConnectedEnvCert_Delete.cs
+++ b/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppConnectedEnvCert_Delete.cs
@@ -495,7 +495,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -519,7 +519,7 @@ protected override void StopProcessing()
return ;
}
// onOk - response for 200 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
diff --git a/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppConnectedEnvCert_DeleteViaIdentity.cs b/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppConnectedEnvCert_DeleteViaIdentity.cs
index 3ae032f42065..44ca29f52f53 100644
--- a/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppConnectedEnvCert_DeleteViaIdentity.cs
+++ b/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppConnectedEnvCert_DeleteViaIdentity.cs
@@ -465,7 +465,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -489,7 +489,7 @@ protected override void StopProcessing()
return ;
}
// onOk - response for 200 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
diff --git a/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppConnectedEnvCert_DeleteViaIdentityConnectedEnvironment.cs b/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppConnectedEnvCert_DeleteViaIdentityConnectedEnvironment.cs
index c477f98a2200..25c186299ab1 100644
--- a/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppConnectedEnvCert_DeleteViaIdentityConnectedEnvironment.cs
+++ b/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppConnectedEnvCert_DeleteViaIdentityConnectedEnvironment.cs
@@ -478,7 +478,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -502,7 +502,7 @@ protected override void StopProcessing()
return ;
}
// onOk - response for 200 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
diff --git a/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppConnectedEnvDapr_Delete.cs b/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppConnectedEnvDapr_Delete.cs
index ee00b1a8feab..46094f48fcb3 100644
--- a/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppConnectedEnvDapr_Delete.cs
+++ b/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppConnectedEnvDapr_Delete.cs
@@ -495,7 +495,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -519,7 +519,7 @@ protected override void StopProcessing()
return ;
}
// onOk - response for 200 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
diff --git a/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppConnectedEnvDapr_DeleteViaIdentity.cs b/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppConnectedEnvDapr_DeleteViaIdentity.cs
index dcb3867fca13..6924e2a1027d 100644
--- a/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppConnectedEnvDapr_DeleteViaIdentity.cs
+++ b/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppConnectedEnvDapr_DeleteViaIdentity.cs
@@ -465,7 +465,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -489,7 +489,7 @@ protected override void StopProcessing()
return ;
}
// onOk - response for 200 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
diff --git a/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppConnectedEnvDapr_DeleteViaIdentityConnectedEnvironment.cs b/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppConnectedEnvDapr_DeleteViaIdentityConnectedEnvironment.cs
index 20dbf999e8bc..6390172148f8 100644
--- a/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppConnectedEnvDapr_DeleteViaIdentityConnectedEnvironment.cs
+++ b/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppConnectedEnvDapr_DeleteViaIdentityConnectedEnvironment.cs
@@ -478,7 +478,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -502,7 +502,7 @@ protected override void StopProcessing()
return ;
}
// onOk - response for 200 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
diff --git a/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppConnectedEnvStorage_Delete.cs b/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppConnectedEnvStorage_Delete.cs
index 8b32d04844ea..d2d0cb26a15c 100644
--- a/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppConnectedEnvStorage_Delete.cs
+++ b/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppConnectedEnvStorage_Delete.cs
@@ -495,7 +495,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -519,7 +519,7 @@ protected override void StopProcessing()
return ;
}
// onOk - response for 200 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
diff --git a/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppConnectedEnvStorage_DeleteViaIdentity.cs b/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppConnectedEnvStorage_DeleteViaIdentity.cs
index 7ba4babd785a..d105ff82fbab 100644
--- a/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppConnectedEnvStorage_DeleteViaIdentity.cs
+++ b/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppConnectedEnvStorage_DeleteViaIdentity.cs
@@ -465,7 +465,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -489,7 +489,7 @@ protected override void StopProcessing()
return ;
}
// onOk - response for 200 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
diff --git a/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppConnectedEnvStorage_DeleteViaIdentityConnectedEnvironment.cs b/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppConnectedEnvStorage_DeleteViaIdentityConnectedEnvironment.cs
index eb175efadebe..97ba73a46630 100644
--- a/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppConnectedEnvStorage_DeleteViaIdentityConnectedEnvironment.cs
+++ b/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppConnectedEnvStorage_DeleteViaIdentityConnectedEnvironment.cs
@@ -478,7 +478,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -502,7 +502,7 @@ protected override void StopProcessing()
return ;
}
// onOk - response for 200 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
diff --git a/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppConnectedEnv_Delete.cs b/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppConnectedEnv_Delete.cs
index c77af8c9f3bd..9e5eae7716c4 100644
--- a/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppConnectedEnv_Delete.cs
+++ b/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppConnectedEnv_Delete.cs
@@ -563,7 +563,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -587,7 +587,7 @@ protected override void StopProcessing()
return ;
}
// onOk - response for 200 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
diff --git a/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppConnectedEnv_DeleteViaIdentity.cs b/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppConnectedEnv_DeleteViaIdentity.cs
index 31d96e28c7bd..511688932bbe 100644
--- a/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppConnectedEnv_DeleteViaIdentity.cs
+++ b/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppConnectedEnv_DeleteViaIdentity.cs
@@ -540,7 +540,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -564,7 +564,7 @@ protected override void StopProcessing()
return ;
}
// onOk - response for 200 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
diff --git a/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppJob_Delete.cs b/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppJob_Delete.cs
index b89999d191db..676d4a7e7c7c 100644
--- a/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppJob_Delete.cs
+++ b/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppJob_Delete.cs
@@ -563,7 +563,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -587,7 +587,7 @@ protected override void StopProcessing()
return ;
}
// onOk - response for 200 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
diff --git a/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppJob_DeleteViaIdentity.cs b/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppJob_DeleteViaIdentity.cs
index a4932084218b..3891f3a72618 100644
--- a/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppJob_DeleteViaIdentity.cs
+++ b/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppJob_DeleteViaIdentity.cs
@@ -540,7 +540,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -564,7 +564,7 @@ protected override void StopProcessing()
return ;
}
// onOk - response for 200 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
diff --git a/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppManagedCert_Delete.cs b/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppManagedCert_Delete.cs
index a6f62d41a497..078959638072 100644
--- a/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppManagedCert_Delete.cs
+++ b/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppManagedCert_Delete.cs
@@ -495,7 +495,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -519,7 +519,7 @@ protected override void StopProcessing()
return ;
}
// onOk - response for 200 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
diff --git a/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppManagedCert_DeleteViaIdentity.cs b/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppManagedCert_DeleteViaIdentity.cs
index 64baba497fbb..9d13ba0cf462 100644
--- a/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppManagedCert_DeleteViaIdentity.cs
+++ b/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppManagedCert_DeleteViaIdentity.cs
@@ -465,7 +465,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -489,7 +489,7 @@ protected override void StopProcessing()
return ;
}
// onOk - response for 200 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
diff --git a/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppManagedCert_DeleteViaIdentityManagedEnvironment.cs b/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppManagedCert_DeleteViaIdentityManagedEnvironment.cs
index 80fa888fb5e8..73707eaa8fb3 100644
--- a/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppManagedCert_DeleteViaIdentityManagedEnvironment.cs
+++ b/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppManagedCert_DeleteViaIdentityManagedEnvironment.cs
@@ -478,7 +478,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -502,7 +502,7 @@ protected override void StopProcessing()
return ;
}
// onOk - response for 200 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
diff --git a/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppManagedEnvCert_Delete.cs b/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppManagedEnvCert_Delete.cs
index a0d5b5cac618..0fcae1188245 100644
--- a/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppManagedEnvCert_Delete.cs
+++ b/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppManagedEnvCert_Delete.cs
@@ -495,7 +495,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -519,7 +519,7 @@ protected override void StopProcessing()
return ;
}
// onOk - response for 200 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
diff --git a/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppManagedEnvCert_DeleteViaIdentity.cs b/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppManagedEnvCert_DeleteViaIdentity.cs
index 1f2a456d7d87..f7b9ecdcd4c1 100644
--- a/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppManagedEnvCert_DeleteViaIdentity.cs
+++ b/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppManagedEnvCert_DeleteViaIdentity.cs
@@ -465,7 +465,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -489,7 +489,7 @@ protected override void StopProcessing()
return ;
}
// onOk - response for 200 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
diff --git a/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppManagedEnvCert_DeleteViaIdentityManagedEnvironment.cs b/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppManagedEnvCert_DeleteViaIdentityManagedEnvironment.cs
index fd0a403c6c43..6bea483db86a 100644
--- a/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppManagedEnvCert_DeleteViaIdentityManagedEnvironment.cs
+++ b/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppManagedEnvCert_DeleteViaIdentityManagedEnvironment.cs
@@ -478,7 +478,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -502,7 +502,7 @@ protected override void StopProcessing()
return ;
}
// onOk - response for 200 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
diff --git a/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppManagedEnvDapr_Delete.cs b/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppManagedEnvDapr_Delete.cs
index a4f9a4822bb7..faa3dc7b2cda 100644
--- a/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppManagedEnvDapr_Delete.cs
+++ b/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppManagedEnvDapr_Delete.cs
@@ -495,7 +495,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -519,7 +519,7 @@ protected override void StopProcessing()
return ;
}
// onOk - response for 200 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
diff --git a/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppManagedEnvDapr_DeleteViaIdentity.cs b/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppManagedEnvDapr_DeleteViaIdentity.cs
index 5b66ca021d4c..55b88c96ea31 100644
--- a/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppManagedEnvDapr_DeleteViaIdentity.cs
+++ b/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppManagedEnvDapr_DeleteViaIdentity.cs
@@ -465,7 +465,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -489,7 +489,7 @@ protected override void StopProcessing()
return ;
}
// onOk - response for 200 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
diff --git a/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppManagedEnvDapr_DeleteViaIdentityManagedEnvironment.cs b/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppManagedEnvDapr_DeleteViaIdentityManagedEnvironment.cs
index 8a1dd86d6c7f..79ae807c9db6 100644
--- a/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppManagedEnvDapr_DeleteViaIdentityManagedEnvironment.cs
+++ b/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppManagedEnvDapr_DeleteViaIdentityManagedEnvironment.cs
@@ -478,7 +478,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -502,7 +502,7 @@ protected override void StopProcessing()
return ;
}
// onOk - response for 200 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
diff --git a/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppManagedEnvStorage_Delete.cs b/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppManagedEnvStorage_Delete.cs
index 1fbc8ad6fe84..c13aeb3b12ba 100644
--- a/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppManagedEnvStorage_Delete.cs
+++ b/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppManagedEnvStorage_Delete.cs
@@ -495,7 +495,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -519,7 +519,7 @@ protected override void StopProcessing()
return ;
}
// onOk - response for 200 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
diff --git a/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppManagedEnvStorage_DeleteViaIdentity.cs b/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppManagedEnvStorage_DeleteViaIdentity.cs
index 87cdc05c820a..8c121e3187e4 100644
--- a/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppManagedEnvStorage_DeleteViaIdentity.cs
+++ b/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppManagedEnvStorage_DeleteViaIdentity.cs
@@ -465,7 +465,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -489,7 +489,7 @@ protected override void StopProcessing()
return ;
}
// onOk - response for 200 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
diff --git a/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppManagedEnvStorage_DeleteViaIdentityManagedEnvironment.cs b/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppManagedEnvStorage_DeleteViaIdentityManagedEnvironment.cs
index eba489a50d50..cd8167e50f03 100644
--- a/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppManagedEnvStorage_DeleteViaIdentityManagedEnvironment.cs
+++ b/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppManagedEnvStorage_DeleteViaIdentityManagedEnvironment.cs
@@ -478,7 +478,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -502,7 +502,7 @@ protected override void StopProcessing()
return ;
}
// onOk - response for 200 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
diff --git a/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppManagedEnv_Delete.cs b/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppManagedEnv_Delete.cs
index 800bc2221266..e5548bc6066d 100644
--- a/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppManagedEnv_Delete.cs
+++ b/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppManagedEnv_Delete.cs
@@ -563,7 +563,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -587,7 +587,7 @@ protected override void StopProcessing()
return ;
}
// onOk - response for 200 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
diff --git a/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppManagedEnv_DeleteViaIdentity.cs b/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppManagedEnv_DeleteViaIdentity.cs
index cc65bb95adc8..7aaa7e21aaed 100644
--- a/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppManagedEnv_DeleteViaIdentity.cs
+++ b/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerAppManagedEnv_DeleteViaIdentity.cs
@@ -540,7 +540,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -564,7 +564,7 @@ protected override void StopProcessing()
return ;
}
// onOk - response for 200 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
diff --git a/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerApp_Delete.cs b/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerApp_Delete.cs
index 0de8525d86b3..940d0d6d91df 100644
--- a/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerApp_Delete.cs
+++ b/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerApp_Delete.cs
@@ -563,7 +563,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -587,7 +587,7 @@ protected override void StopProcessing()
return ;
}
// onOk - response for 200 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
diff --git a/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerApp_DeleteViaIdentity.cs b/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerApp_DeleteViaIdentity.cs
index 571c99740324..3b74fd34b038 100644
--- a/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerApp_DeleteViaIdentity.cs
+++ b/generated/App/App.Autorest/generated/cmdlets/RemoveAzContainerApp_DeleteViaIdentity.cs
@@ -540,7 +540,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -564,7 +564,7 @@ protected override void StopProcessing()
return ;
}
// onOk - response for 200 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
diff --git a/generated/App/App.Autorest/generated/cmdlets/RestartAzContainerAppRevision_Restart.cs b/generated/App/App.Autorest/generated/cmdlets/RestartAzContainerAppRevision_Restart.cs
index f0c1aeba9f32..b9f6ae83f4e8 100644
--- a/generated/App/App.Autorest/generated/cmdlets/RestartAzContainerAppRevision_Restart.cs
+++ b/generated/App/App.Autorest/generated/cmdlets/RestartAzContainerAppRevision_Restart.cs
@@ -485,7 +485,7 @@ protected override void StopProcessing()
return ;
}
// onOk - response for 200 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
diff --git a/generated/App/App.Autorest/generated/cmdlets/RestartAzContainerAppRevision_RestartViaIdentity.cs b/generated/App/App.Autorest/generated/cmdlets/RestartAzContainerAppRevision_RestartViaIdentity.cs
index 90e64068c307..c9832edbafcc 100644
--- a/generated/App/App.Autorest/generated/cmdlets/RestartAzContainerAppRevision_RestartViaIdentity.cs
+++ b/generated/App/App.Autorest/generated/cmdlets/RestartAzContainerAppRevision_RestartViaIdentity.cs
@@ -455,7 +455,7 @@ protected override void StopProcessing()
return ;
}
// onOk - response for 200 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
diff --git a/generated/App/App.Autorest/generated/cmdlets/RestartAzContainerAppRevision_RestartViaIdentityContainerApp.cs b/generated/App/App.Autorest/generated/cmdlets/RestartAzContainerAppRevision_RestartViaIdentityContainerApp.cs
index 3e454ca40122..2cc0eff8e4db 100644
--- a/generated/App/App.Autorest/generated/cmdlets/RestartAzContainerAppRevision_RestartViaIdentityContainerApp.cs
+++ b/generated/App/App.Autorest/generated/cmdlets/RestartAzContainerAppRevision_RestartViaIdentityContainerApp.cs
@@ -467,7 +467,7 @@ protected override void StopProcessing()
return ;
}
// onOk - response for 200 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
diff --git a/generated/App/App.Autorest/generated/cmdlets/StopAzContainerAppJobExecution_Stop.cs b/generated/App/App.Autorest/generated/cmdlets/StopAzContainerAppJobExecution_Stop.cs
index 942f3d46b51b..6508753c8864 100644
--- a/generated/App/App.Autorest/generated/cmdlets/StopAzContainerAppJobExecution_Stop.cs
+++ b/generated/App/App.Autorest/generated/cmdlets/StopAzContainerAppJobExecution_Stop.cs
@@ -568,7 +568,7 @@ protected override void StopProcessing()
return ;
}
// onOk - response for 200 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
diff --git a/generated/App/App.Autorest/generated/cmdlets/StopAzContainerAppJobExecution_StopViaIdentity.cs b/generated/App/App.Autorest/generated/cmdlets/StopAzContainerAppJobExecution_StopViaIdentity.cs
index 9ed4f4ec4c3f..615b87b3a9ba 100644
--- a/generated/App/App.Autorest/generated/cmdlets/StopAzContainerAppJobExecution_StopViaIdentity.cs
+++ b/generated/App/App.Autorest/generated/cmdlets/StopAzContainerAppJobExecution_StopViaIdentity.cs
@@ -534,7 +534,7 @@ protected override void StopProcessing()
return ;
}
// onOk - response for 200 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
diff --git a/generated/App/App.Autorest/generated/cmdlets/StopAzContainerAppJobExecution_StopViaIdentityJob.cs b/generated/App/App.Autorest/generated/cmdlets/StopAzContainerAppJobExecution_StopViaIdentityJob.cs
index c544f68e9d8e..3bc9638d4ef1 100644
--- a/generated/App/App.Autorest/generated/cmdlets/StopAzContainerAppJobExecution_StopViaIdentityJob.cs
+++ b/generated/App/App.Autorest/generated/cmdlets/StopAzContainerAppJobExecution_StopViaIdentityJob.cs
@@ -547,7 +547,7 @@ protected override void StopProcessing()
return ;
}
// onOk - response for 200 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
diff --git a/generated/App/App.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs b/generated/App/App.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs
index 083d625b7cc2..32c4836127ed 100644
--- a/generated/App/App.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs
+++ b/generated/App/App.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs
@@ -36,14 +36,23 @@ internal class PsHelpInfo
public object Role { get; }
public string NonTerminatingErrors { get; }
+ public static string CapitalizeFirstLetter(string text)
+ {
+ if (string.IsNullOrEmpty(text))
+ return text;
+
+ return char.ToUpper(text[0]) + text.Substring(1);
+ }
+
public PsHelpInfo(PSObject helpObject = null)
{
helpObject = helpObject ?? new PSObject();
CmdletName = helpObject.GetProperty("Name").NullIfEmpty() ?? helpObject.GetNestedProperty("details", "name");
ModuleName = helpObject.GetProperty("ModuleName");
- Synopsis = helpObject.GetProperty("Synopsis");
+ Synopsis = CapitalizeFirstLetter(helpObject.GetProperty("Synopsis"));
Description = helpObject.GetProperty("description").EmptyIfNull().ToDescriptionText().NullIfEmpty() ??
helpObject.GetNestedProperty("details", "description").EmptyIfNull().ToDescriptionText();
+ Description = CapitalizeFirstLetter(Description);
AlertText = helpObject.GetNestedProperty("alertSet", "alert").EmptyIfNull().ToDescriptionText();
Category = helpObject.GetProperty("Category");
HasCommonParameters = helpObject.GetProperty("CommonParameters").ToNullableBool();
diff --git a/generated/App/App.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs b/generated/App/App.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs
index 61dfaf2bb5cf..e74c401b041d 100644
--- a/generated/App/App.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs
+++ b/generated/App/App.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs
@@ -216,6 +216,20 @@ public string GetProcessCustomAttributesAtRuntime()
{Indent}{Indent}[Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet)";
}
+ private string GetLoginVerification()
+ {
+ if (!VariantGroup.IsInternal && IsAzure && !VariantGroup.IsModelCmdlet)
+ {
+ return $@"
+{Indent}{Indent}$context = Get-AzContext
+{Indent}{Indent}if (-not $context -and -not $testPlayback) {{
+{Indent}{Indent}{Indent}throw ""No Azure login detected. Please run 'Connect-AzAccount' to log in.""
+{Indent}{Indent}}}
+";
+ }
+ return "";
+ }
+
private string GetTelemetry()
{
if (!VariantGroup.IsInternal && IsAzure)
@@ -248,10 +262,16 @@ public override string ToString() => $@"begin {{
{Indent}{Indent}{Indent}$PSBoundParameters['OutBuffer'] = 1
{Indent}{Indent}}}
{Indent}{Indent}$parameterSet = $PSCmdlet.ParameterSetName
-{GetTelemetry()}
+{Indent}{Indent}
+{Indent}{Indent}$testPlayback = $false
+{Indent}{Indent}$PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object {{ if ($_) {{ $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) }} }}
+{GetLoginVerification()}{GetTelemetry()}
{GetParameterSetToCmdletMapping()}{GetDefaultValuesStatements()}
{GetProcessCustomAttributesAtRuntime()}
{Indent}{Indent}$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+{Indent}{Indent}if ($wrappedCmd -eq $null) {{
+{Indent}{Indent}{Indent}$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+{Indent}{Indent}}}
{Indent}{Indent}$scriptCmd = {{& $wrappedCmd @PSBoundParameters}}
{Indent}{Indent}$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
{Indent}{Indent}$steppablePipeline.Begin($PSCmdlet)
@@ -295,8 +315,6 @@ private string GetDefaultValuesStatements()
if ("SubscriptionId".Equals(parameterName))
{
sb.AppendLine($"{Indent}{Indent}if (({variantListString}) -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('{parameterName}'){setCondition}) {{");
- sb.AppendLine($"{Indent}{Indent}{Indent}$testPlayback = $false");
- sb.AppendLine($"{Indent}{Indent}{Indent}$PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object {{ if ($_) {{ $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) }} }}");
sb.AppendLine($"{Indent}{Indent}{Indent}if ($testPlayback) {{");
sb.AppendLine($"{Indent}{Indent}{Indent}{Indent}$PSBoundParameters['{parameterName}'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')");
sb.AppendLine($"{Indent}{Indent}{Indent}}} else {{");
diff --git a/generated/App/App.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs b/generated/App/App.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs
index 7aa245030237..42ccd0455ddb 100644
--- a/generated/App/App.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs
+++ b/generated/App/App.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs
@@ -49,6 +49,7 @@ internal class VariantGroup
public PsHelpInfo HelpInfo { get; }
public bool IsGenerated { get; }
public bool IsInternal { get; }
+ public bool IsModelCmdlet { get; }
public string OutputFolder { get; }
public string FileName { get; }
public string FilePath { get; }
@@ -83,6 +84,7 @@ public VariantGroup(string moduleName, string cmdletName, Variant[] variants, st
HelpInfo = Variants.Select(v => v.HelpInfo).FirstOrDefault() ?? new PsHelpInfo();
IsGenerated = Variants.All(v => v.Attributes.OfType().Any());
IsInternal = isInternal;
+ IsModelCmdlet = Variants.All(v => v.IsModelCmdlet);
OutputFolder = outputFolder;
FileName = $"{CmdletName}{(isTest ? ".Tests" : String.Empty)}.ps1";
FilePath = Path.Combine(OutputFolder, FileName);
@@ -143,6 +145,7 @@ internal class Variant
public Parameter[] Parameters { get; }
public Parameter[] CmdletOnlyParameters { get; }
public bool IsInternal { get; }
+ public bool IsModelCmdlet { get; }
public bool IsDoNotExport { get; }
public bool IsNotSuggestDefaultParameterSet { get; }
public string[] Profiles { get; }
@@ -165,6 +168,7 @@ public Variant(string cmdletName, string variantName, CommandInfo info, CommandM
Parameters = this.ToParameters().OrderBy(p => p.OrderCategory).ThenByDescending(p => p.IsMandatory).ToArray();
IsInternal = Attributes.OfType().Any();
IsDoNotExport = Attributes.OfType().Any();
+ IsModelCmdlet = Attributes.OfType().Any();
IsNotSuggestDefaultParameterSet = Attributes.OfType().Any();
CmdletOnlyParameters = Parameters.Where(p => !p.Categories.Any(c => c == ParameterCategory.Azure || c == ParameterCategory.Runtime)).ToArray();
Profiles = Attributes.OfType().SelectMany(pa => pa.Profiles).ToArray();
@@ -388,6 +392,7 @@ public CommentInfo(VariantGroup variantGroup)
var helpInfo = variantGroup.HelpInfo;
Description = variantGroup.Variants.SelectMany(v => v.Attributes).OfType().FirstOrDefault()?.Description.NullIfEmpty()
?? helpInfo.Description.EmptyIfNull();
+ Description = PsHelpInfo.CapitalizeFirstLetter(Description);
// If there is no Synopsis, PowerShell may put in the Syntax string as the Synopsis. This seems unintended, so we remove the Synopsis in this situation.
var synopsis = helpInfo.Synopsis.EmptyIfNull().Trim().StartsWith(variantGroup.CmdletName) ? String.Empty : helpInfo.Synopsis;
Synopsis = synopsis.NullIfEmpty() ?? Description;
diff --git a/generated/App/App.Autorest/generated/runtime/BuildTime/PsAttributes.cs b/generated/App/App.Autorest/generated/runtime/BuildTime/PsAttributes.cs
index 215bf80d6198..0749ea4cf587 100644
--- a/generated/App/App.Autorest/generated/runtime/BuildTime/PsAttributes.cs
+++ b/generated/App/App.Autorest/generated/runtime/BuildTime/PsAttributes.cs
@@ -22,6 +22,11 @@ public class DoNotExportAttribute : Attribute
{
}
+ [AttributeUsage(AttributeTargets.Class | AttributeTargets.Property)]
+ public class ModelCmdletAttribute : Attribute
+ {
+ }
+
[AttributeUsage(AttributeTargets.Class)]
public class InternalExportAttribute : Attribute
{
diff --git a/generated/App/App.Autorest/generated/runtime/Context.cs b/generated/App/App.Autorest/generated/runtime/Context.cs
index 2407c1fd93fe..602de5e9ca9f 100644
--- a/generated/App/App.Autorest/generated/runtime/Context.cs
+++ b/generated/App/App.Autorest/generated/runtime/Context.cs
@@ -20,7 +20,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.App.Runtime
/// The IContext Interface defines the communication mechanism for input customization.
///
///
- /// In the context, we will have client, pipeline, PSBoundParamters, default EventListener, Cancellation.
+ /// In the context, we will have client, pipeline, PSBoundParameters, default EventListener, Cancellation.
///
public interface IContext
{
diff --git a/generated/App/App.Autorest/generated/runtime/MessageAttribute.cs b/generated/App/App.Autorest/generated/runtime/MessageAttribute.cs
index f49ebe0c80e4..c35bc615af33 100644
--- a/generated/App/App.Autorest/generated/runtime/MessageAttribute.cs
+++ b/generated/App/App.Autorest/generated/runtime/MessageAttribute.cs
@@ -16,9 +16,12 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.App.Runtime
public class GenericBreakingChangeAttribute : Attribute
{
private string _message;
- //A dexcription of what the change is about, non mandatory
+ //A description of what the change is about, non mandatory
public string ChangeDescription { get; set; } = null;
+ //Name of the module that is being deprecated
+ public string moduleName { get; set; } = String.IsNullOrEmpty(@"") ? @"Az.App" : @"";
+
//The version the change is effective from, non mandatory
public string DeprecateByVersion { get; }
public string DeprecateByAzVersion { get; }
@@ -82,7 +85,7 @@ public void PrintCustomAttributeInfo(Action writeOutput)
}
writeOutput(string.Format(Resources.BreakingChangesAttributesInEffectByAzVersion, this.DeprecateByAzVersion));
- writeOutput(string.Format(Resources.BreakingChangesAttributesInEffectByVersion, this.DeprecateByVersion));
+ writeOutput(string.Format(Resources.BreakingChangesAttributesInEffectByVersion, this.moduleName, this.DeprecateByVersion));
if (OldWay != null && NewWay != null)
{
@@ -191,11 +194,11 @@ public PreviewMessageAttribute(string message, string estimatedDateOfGa) : this(
this.IsEstimatedGaDateSet = true;
}
}
-
+
public void PrintCustomAttributeInfo(Action writeOutput)
{
writeOutput(this._message);
-
+
if (IsEstimatedGaDateSet)
{
writeOutput(string.Format(Resources.PreviewCmdletETAMessage, this.EstimatedGaDate.ToShortDateString()));
diff --git a/generated/App/App.Autorest/generated/runtime/Properties/Resources.resx b/generated/App/App.Autorest/generated/runtime/Properties/Resources.resx
index a08a2e50172b..4ef90b70573d 100644
--- a/generated/App/App.Autorest/generated/runtime/Properties/Resources.resx
+++ b/generated/App/App.Autorest/generated/runtime/Properties/Resources.resx
@@ -1705,7 +1705,7 @@ Use the Enable-AzureDataCollection cmdlet to turn the feature On. The cmdlet can
-- The change is expected to take effect from version : '{0}'
+- The change is expected to take effect in '{0}' from version : '{1}'
```powershell
diff --git a/generated/App/App.Autorest/internal/Get-AzOperation.ps1 b/generated/App/App.Autorest/internal/Get-AzOperation.ps1
index 78a83c27a4cb..e2741ec66994 100644
--- a/generated/App/App.Autorest/internal/Get-AzOperation.ps1
+++ b/generated/App/App.Autorest/internal/Get-AzOperation.ps1
@@ -90,11 +90,17 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
$mapping = @{
List = 'Az.App.private\Get-AzOperation_List';
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/internal/New-AzContainerApp.ps1 b/generated/App/App.Autorest/internal/New-AzContainerApp.ps1
index 2223aa2b30c2..afa30cce8e5d 100644
--- a/generated/App/App.Autorest/internal/New-AzContainerApp.ps1
+++ b/generated/App/App.Autorest/internal/New-AzContainerApp.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-create a Container App.
+Create a Container App.
.Description
-create a Container App.
+Create a Container App.
.Example
New-AzOperationalInsightsWorkspace -ResourceGroupName azps_test_group_app -Name workspace-azpstestgp -Sku PerGB2018 -Location eastus -PublicNetworkAccessForIngestion "Enabled" -PublicNetworkAccessForQuery "Enabled"
@@ -510,6 +510,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
$mapping = @{
CreateExpanded = 'Az.App.private\New-AzContainerApp_CreateExpanded';
CreateViaIdentityExpanded = 'Az.App.private\New-AzContainerApp_CreateViaIdentityExpanded';
@@ -517,8 +520,6 @@ begin {
CreateViaJsonString = 'Az.App.private\New-AzContainerApp_CreateViaJsonString';
}
if (('CreateExpanded', 'CreateViaJsonFilePath', 'CreateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -527,6 +528,9 @@ begin {
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/internal/New-AzContainerAppJob.ps1 b/generated/App/App.Autorest/internal/New-AzContainerAppJob.ps1
index fb4548f9a57b..ff3aaef0e347 100644
--- a/generated/App/App.Autorest/internal/New-AzContainerAppJob.ps1
+++ b/generated/App/App.Autorest/internal/New-AzContainerAppJob.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-create a Container Apps Job.
+Create a Container Apps Job.
.Description
-create a Container Apps Job.
+Create a Container Apps Job.
.Example
$EnvId = (Get-AzContainerAppManagedEnv -ResourceGroupName azps_test_group_app -Name azps-env).Id
$probeHttpGetHttpHeader = New-AzContainerAppProbeHeaderObject -Name "Custom-Header" -Value "Awesome"
@@ -442,6 +442,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
$mapping = @{
CreateExpanded = 'Az.App.private\New-AzContainerAppJob_CreateExpanded';
CreateViaIdentityExpanded = 'Az.App.private\New-AzContainerAppJob_CreateViaIdentityExpanded';
@@ -449,8 +452,6 @@ begin {
CreateViaJsonString = 'Az.App.private\New-AzContainerAppJob_CreateViaJsonString';
}
if (('CreateExpanded', 'CreateViaJsonFilePath', 'CreateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -459,6 +460,9 @@ begin {
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/internal/ProxyCmdletDefinitions.ps1 b/generated/App/App.Autorest/internal/ProxyCmdletDefinitions.ps1
index 6e9174103983..f39b5c0c5e7b 100644
--- a/generated/App/App.Autorest/internal/ProxyCmdletDefinitions.ps1
+++ b/generated/App/App.Autorest/internal/ProxyCmdletDefinitions.ps1
@@ -90,11 +90,17 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
$mapping = @{
List = 'Az.App.private\Get-AzOperation_List';
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -126,9 +132,9 @@ end {
<#
.Synopsis
-create a Container Apps Job.
+Create a Container Apps Job.
.Description
-create a Container Apps Job.
+Create a Container Apps Job.
.Example
$EnvId = (Get-AzContainerAppManagedEnv -ResourceGroupName azps_test_group_app -Name azps-env).Id
$probeHttpGetHttpHeader = New-AzContainerAppProbeHeaderObject -Name "Custom-Header" -Value "Awesome"
@@ -552,6 +558,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
$mapping = @{
CreateExpanded = 'Az.App.private\New-AzContainerAppJob_CreateExpanded';
CreateViaIdentityExpanded = 'Az.App.private\New-AzContainerAppJob_CreateViaIdentityExpanded';
@@ -559,8 +568,6 @@ begin {
CreateViaJsonString = 'Az.App.private\New-AzContainerAppJob_CreateViaJsonString';
}
if (('CreateExpanded', 'CreateViaJsonFilePath', 'CreateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -569,6 +576,9 @@ begin {
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -600,9 +610,9 @@ end {
<#
.Synopsis
-create a Container App.
+Create a Container App.
.Description
-create a Container App.
+Create a Container App.
.Example
New-AzOperationalInsightsWorkspace -ResourceGroupName azps_test_group_app -Name workspace-azpstestgp -Sku PerGB2018 -Location eastus -PublicNetworkAccessForIngestion "Enabled" -PublicNetworkAccessForQuery "Enabled"
@@ -1094,6 +1104,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
$mapping = @{
CreateExpanded = 'Az.App.private\New-AzContainerApp_CreateExpanded';
CreateViaIdentityExpanded = 'Az.App.private\New-AzContainerApp_CreateViaIdentityExpanded';
@@ -1101,8 +1114,6 @@ begin {
CreateViaJsonString = 'Az.App.private\New-AzContainerApp_CreateViaJsonString';
}
if (('CreateExpanded', 'CreateViaJsonFilePath', 'CreateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -1111,6 +1122,9 @@ begin {
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -1569,6 +1583,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
$mapping = @{
UpdateExpanded = 'Az.App.private\Update-AzContainerAppJob_UpdateExpanded';
UpdateViaIdentityExpanded = 'Az.App.private\Update-AzContainerAppJob_UpdateViaIdentityExpanded';
@@ -1576,8 +1593,6 @@ begin {
UpdateViaJsonString = 'Az.App.private\Update-AzContainerAppJob_UpdateViaJsonString';
}
if (('UpdateExpanded', 'UpdateViaJsonFilePath', 'UpdateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -1586,6 +1601,9 @@ begin {
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -2052,6 +2070,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
$mapping = @{
UpdateExpanded = 'Az.App.private\Update-AzContainerApp_UpdateExpanded';
UpdateViaIdentityExpanded = 'Az.App.private\Update-AzContainerApp_UpdateViaIdentityExpanded';
@@ -2059,8 +2080,6 @@ begin {
UpdateViaJsonString = 'Az.App.private\Update-AzContainerApp_UpdateViaJsonString';
}
if (('UpdateExpanded', 'UpdateViaJsonFilePath', 'UpdateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -2069,6 +2088,9 @@ begin {
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/internal/Update-AzContainerApp.ps1 b/generated/App/App.Autorest/internal/Update-AzContainerApp.ps1
index 3e0d83ad2aeb..b9b4628690bb 100644
--- a/generated/App/App.Autorest/internal/Update-AzContainerApp.ps1
+++ b/generated/App/App.Autorest/internal/Update-AzContainerApp.ps1
@@ -451,6 +451,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
$mapping = @{
UpdateExpanded = 'Az.App.private\Update-AzContainerApp_UpdateExpanded';
UpdateViaIdentityExpanded = 'Az.App.private\Update-AzContainerApp_UpdateViaIdentityExpanded';
@@ -458,8 +461,6 @@ begin {
UpdateViaJsonString = 'Az.App.private\Update-AzContainerApp_UpdateViaJsonString';
}
if (('UpdateExpanded', 'UpdateViaJsonFilePath', 'UpdateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -468,6 +469,9 @@ begin {
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/internal/Update-AzContainerAppJob.ps1 b/generated/App/App.Autorest/internal/Update-AzContainerAppJob.ps1
index 06227bfbd104..7b0cc6b974ae 100644
--- a/generated/App/App.Autorest/internal/Update-AzContainerAppJob.ps1
+++ b/generated/App/App.Autorest/internal/Update-AzContainerAppJob.ps1
@@ -443,6 +443,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
$mapping = @{
UpdateExpanded = 'Az.App.private\Update-AzContainerAppJob_UpdateExpanded';
UpdateViaIdentityExpanded = 'Az.App.private\Update-AzContainerAppJob_UpdateViaIdentityExpanded';
@@ -450,8 +453,6 @@ begin {
UpdateViaJsonString = 'Az.App.private\Update-AzContainerAppJob_UpdateViaJsonString';
}
if (('UpdateExpanded', 'UpdateViaJsonFilePath', 'UpdateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -460,6 +461,9 @@ begin {
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/src/EdgeAction/EdgeAction.Autorest/resources/README.md b/generated/App/App.Autorest/resources/README.md
similarity index 100%
rename from src/EdgeAction/EdgeAction.Autorest/resources/README.md
rename to generated/App/App.Autorest/resources/README.md
diff --git a/generated/DynatraceObservability/DynatraceObservability.Autorest/exports/Get-AzDynatraceMonitor.ps1 b/generated/DynatraceObservability/DynatraceObservability.Autorest/exports/Get-AzDynatraceMonitor.ps1
index 30011a49b215..6bbd14913b44 100644
--- a/generated/DynatraceObservability/DynatraceObservability.Autorest/exports/Get-AzDynatraceMonitor.ps1
+++ b/generated/DynatraceObservability/DynatraceObservability.Autorest/exports/Get-AzDynatraceMonitor.ps1
@@ -145,8 +145,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
diff --git a/generated/DynatraceObservability/DynatraceObservability.Autorest/exports/Get-AzDynatraceMonitorAppService.ps1 b/generated/DynatraceObservability/DynatraceObservability.Autorest/exports/Get-AzDynatraceMonitorAppService.ps1
index 73fe7464aa83..c0df823cd49e 100644
--- a/generated/DynatraceObservability/DynatraceObservability.Autorest/exports/Get-AzDynatraceMonitorAppService.ps1
+++ b/generated/DynatraceObservability/DynatraceObservability.Autorest/exports/Get-AzDynatraceMonitorAppService.ps1
@@ -114,8 +114,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
diff --git a/generated/DynatraceObservability/DynatraceObservability.Autorest/exports/Get-AzDynatraceMonitorHost.ps1 b/generated/DynatraceObservability/DynatraceObservability.Autorest/exports/Get-AzDynatraceMonitorHost.ps1
index 018022587d7b..389dfb838696 100644
--- a/generated/DynatraceObservability/DynatraceObservability.Autorest/exports/Get-AzDynatraceMonitorHost.ps1
+++ b/generated/DynatraceObservability/DynatraceObservability.Autorest/exports/Get-AzDynatraceMonitorHost.ps1
@@ -114,8 +114,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
diff --git a/generated/DynatraceObservability/DynatraceObservability.Autorest/exports/Get-AzDynatraceMonitorLinkableEnv.ps1 b/generated/DynatraceObservability/DynatraceObservability.Autorest/exports/Get-AzDynatraceMonitorLinkableEnv.ps1
index 8091b714b647..e2292136a4e0 100644
--- a/generated/DynatraceObservability/DynatraceObservability.Autorest/exports/Get-AzDynatraceMonitorLinkableEnv.ps1
+++ b/generated/DynatraceObservability/DynatraceObservability.Autorest/exports/Get-AzDynatraceMonitorLinkableEnv.ps1
@@ -144,8 +144,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
diff --git a/generated/DynatraceObservability/DynatraceObservability.Autorest/exports/Get-AzDynatraceMonitorMarketplaceSaaSResourceDetail.ps1 b/generated/DynatraceObservability/DynatraceObservability.Autorest/exports/Get-AzDynatraceMonitorMarketplaceSaaSResourceDetail.ps1
index 15eb64c5b25c..4fe47bd79a25 100644
--- a/generated/DynatraceObservability/DynatraceObservability.Autorest/exports/Get-AzDynatraceMonitorMarketplaceSaaSResourceDetail.ps1
+++ b/generated/DynatraceObservability/DynatraceObservability.Autorest/exports/Get-AzDynatraceMonitorMarketplaceSaaSResourceDetail.ps1
@@ -134,8 +134,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
diff --git a/generated/DynatraceObservability/DynatraceObservability.Autorest/exports/Get-AzDynatraceMonitorMetricStatus.ps1 b/generated/DynatraceObservability/DynatraceObservability.Autorest/exports/Get-AzDynatraceMonitorMetricStatus.ps1
index 86b567f40689..d0de21269620 100644
--- a/generated/DynatraceObservability/DynatraceObservability.Autorest/exports/Get-AzDynatraceMonitorMetricStatus.ps1
+++ b/generated/DynatraceObservability/DynatraceObservability.Autorest/exports/Get-AzDynatraceMonitorMetricStatus.ps1
@@ -177,8 +177,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
diff --git a/generated/DynatraceObservability/DynatraceObservability.Autorest/exports/Get-AzDynatraceMonitorSSOConfig.ps1 b/generated/DynatraceObservability/DynatraceObservability.Autorest/exports/Get-AzDynatraceMonitorSSOConfig.ps1
index fa5cae7c7d20..8cea1765b2ec 100644
--- a/generated/DynatraceObservability/DynatraceObservability.Autorest/exports/Get-AzDynatraceMonitorSSOConfig.ps1
+++ b/generated/DynatraceObservability/DynatraceObservability.Autorest/exports/Get-AzDynatraceMonitorSSOConfig.ps1
@@ -152,8 +152,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
diff --git a/generated/DynatraceObservability/DynatraceObservability.Autorest/exports/Get-AzDynatraceMonitorSSODetail.ps1 b/generated/DynatraceObservability/DynatraceObservability.Autorest/exports/Get-AzDynatraceMonitorSSODetail.ps1
index c30c0e619a84..bead013f279e 100644
--- a/generated/DynatraceObservability/DynatraceObservability.Autorest/exports/Get-AzDynatraceMonitorSSODetail.ps1
+++ b/generated/DynatraceObservability/DynatraceObservability.Autorest/exports/Get-AzDynatraceMonitorSSODetail.ps1
@@ -132,8 +132,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
diff --git a/generated/DynatraceObservability/DynatraceObservability.Autorest/exports/Get-AzDynatraceMonitorTagRule.ps1 b/generated/DynatraceObservability/DynatraceObservability.Autorest/exports/Get-AzDynatraceMonitorTagRule.ps1
index a1ff942690b7..4e963f5e16d7 100644
--- a/generated/DynatraceObservability/DynatraceObservability.Autorest/exports/Get-AzDynatraceMonitorTagRule.ps1
+++ b/generated/DynatraceObservability/DynatraceObservability.Autorest/exports/Get-AzDynatraceMonitorTagRule.ps1
@@ -153,8 +153,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
diff --git a/generated/DynatraceObservability/DynatraceObservability.Autorest/exports/Get-AzDynatraceMonitorVMHostPayload.ps1 b/generated/DynatraceObservability/DynatraceObservability.Autorest/exports/Get-AzDynatraceMonitorVMHostPayload.ps1
index f17ed4cd7b8f..2cb3f81f51ea 100644
--- a/generated/DynatraceObservability/DynatraceObservability.Autorest/exports/Get-AzDynatraceMonitorVMHostPayload.ps1
+++ b/generated/DynatraceObservability/DynatraceObservability.Autorest/exports/Get-AzDynatraceMonitorVMHostPayload.ps1
@@ -114,8 +114,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
diff --git a/generated/DynatraceObservability/DynatraceObservability.Autorest/exports/Get-AzDynatraceMonitoredResource.ps1 b/generated/DynatraceObservability/DynatraceObservability.Autorest/exports/Get-AzDynatraceMonitoredResource.ps1
index 6ceb26f99bea..85ddd0831def 100644
--- a/generated/DynatraceObservability/DynatraceObservability.Autorest/exports/Get-AzDynatraceMonitoredResource.ps1
+++ b/generated/DynatraceObservability/DynatraceObservability.Autorest/exports/Get-AzDynatraceMonitoredResource.ps1
@@ -148,8 +148,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
diff --git a/generated/DynatraceObservability/DynatraceObservability.Autorest/exports/Get-AzDynatraceMonitoredSubscription.ps1 b/generated/DynatraceObservability/DynatraceObservability.Autorest/exports/Get-AzDynatraceMonitoredSubscription.ps1
index 045afbaaa032..d47a1231b477 100644
--- a/generated/DynatraceObservability/DynatraceObservability.Autorest/exports/Get-AzDynatraceMonitoredSubscription.ps1
+++ b/generated/DynatraceObservability/DynatraceObservability.Autorest/exports/Get-AzDynatraceMonitoredSubscription.ps1
@@ -162,8 +162,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
diff --git a/generated/DynatraceObservability/DynatraceObservability.Autorest/exports/Invoke-AzDynatraceManageMonitorAgentInstallation.ps1 b/generated/DynatraceObservability/DynatraceObservability.Autorest/exports/Invoke-AzDynatraceManageMonitorAgentInstallation.ps1
index 18dd3e4083d3..b769265e8e56 100644
--- a/generated/DynatraceObservability/DynatraceObservability.Autorest/exports/Invoke-AzDynatraceManageMonitorAgentInstallation.ps1
+++ b/generated/DynatraceObservability/DynatraceObservability.Autorest/exports/Invoke-AzDynatraceManageMonitorAgentInstallation.ps1
@@ -232,8 +232,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
diff --git a/generated/DynatraceObservability/DynatraceObservability.Autorest/exports/New-AzDynatraceMonitor.ps1 b/generated/DynatraceObservability/DynatraceObservability.Autorest/exports/New-AzDynatraceMonitor.ps1
index 20726bb858c1..1ac4529929bf 100644
--- a/generated/DynatraceObservability/DynatraceObservability.Autorest/exports/New-AzDynatraceMonitor.ps1
+++ b/generated/DynatraceObservability/DynatraceObservability.Autorest/exports/New-AzDynatraceMonitor.ps1
@@ -318,8 +318,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
diff --git a/generated/DynatraceObservability/DynatraceObservability.Autorest/exports/New-AzDynatraceMonitorSSOConfig.ps1 b/generated/DynatraceObservability/DynatraceObservability.Autorest/exports/New-AzDynatraceMonitorSSOConfig.ps1
index 9632d21ba3f4..13fb444510fe 100644
--- a/generated/DynatraceObservability/DynatraceObservability.Autorest/exports/New-AzDynatraceMonitorSSOConfig.ps1
+++ b/generated/DynatraceObservability/DynatraceObservability.Autorest/exports/New-AzDynatraceMonitorSSOConfig.ps1
@@ -195,8 +195,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
diff --git a/generated/DynatraceObservability/DynatraceObservability.Autorest/exports/New-AzDynatraceMonitorTagRule.ps1 b/generated/DynatraceObservability/DynatraceObservability.Autorest/exports/New-AzDynatraceMonitorTagRule.ps1
index 29e89d5ad5e9..ccb58d33ec52 100644
--- a/generated/DynatraceObservability/DynatraceObservability.Autorest/exports/New-AzDynatraceMonitorTagRule.ps1
+++ b/generated/DynatraceObservability/DynatraceObservability.Autorest/exports/New-AzDynatraceMonitorTagRule.ps1
@@ -230,8 +230,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
diff --git a/generated/DynatraceObservability/DynatraceObservability.Autorest/exports/New-AzDynatraceMonitoredSubscription.ps1 b/generated/DynatraceObservability/DynatraceObservability.Autorest/exports/New-AzDynatraceMonitoredSubscription.ps1
index 7dbc58b2eb21..2f7c7a57b9be 100644
--- a/generated/DynatraceObservability/DynatraceObservability.Autorest/exports/New-AzDynatraceMonitoredSubscription.ps1
+++ b/generated/DynatraceObservability/DynatraceObservability.Autorest/exports/New-AzDynatraceMonitoredSubscription.ps1
@@ -215,8 +215,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
diff --git a/generated/DynatraceObservability/DynatraceObservability.Autorest/exports/ProxyCmdletDefinitions.ps1 b/generated/DynatraceObservability/DynatraceObservability.Autorest/exports/ProxyCmdletDefinitions.ps1
index 1c3b0f834063..e9cdb3b17efe 100644
--- a/generated/DynatraceObservability/DynatraceObservability.Autorest/exports/ProxyCmdletDefinitions.ps1
+++ b/generated/DynatraceObservability/DynatraceObservability.Autorest/exports/ProxyCmdletDefinitions.ps1
@@ -114,8 +114,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -332,8 +331,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -567,8 +565,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -753,8 +750,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -967,8 +963,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -1173,8 +1168,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -1423,8 +1417,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -1650,8 +1643,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -1857,8 +1849,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -2082,8 +2073,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -2271,8 +2261,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -2486,8 +2475,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -2791,8 +2779,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -3081,8 +3068,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -3348,8 +3334,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -3654,8 +3639,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -4048,8 +4032,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -4290,8 +4273,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -4531,8 +4513,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -4762,8 +4743,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -5097,8 +5077,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -5360,8 +5339,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -5656,8 +5634,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -5942,8 +5919,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
diff --git a/generated/DynatraceObservability/DynatraceObservability.Autorest/exports/Remove-AzDynatraceMonitor.ps1 b/generated/DynatraceObservability/DynatraceObservability.Autorest/exports/Remove-AzDynatraceMonitor.ps1
index c1b5bdd7fdc1..d672961df50f 100644
--- a/generated/DynatraceObservability/DynatraceObservability.Autorest/exports/Remove-AzDynatraceMonitor.ps1
+++ b/generated/DynatraceObservability/DynatraceObservability.Autorest/exports/Remove-AzDynatraceMonitor.ps1
@@ -156,8 +156,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
diff --git a/generated/DynatraceObservability/DynatraceObservability.Autorest/exports/Remove-AzDynatraceMonitorTagRule.ps1 b/generated/DynatraceObservability/DynatraceObservability.Autorest/exports/Remove-AzDynatraceMonitorTagRule.ps1
index af62d37039b4..5d06faac6795 100644
--- a/generated/DynatraceObservability/DynatraceObservability.Autorest/exports/Remove-AzDynatraceMonitorTagRule.ps1
+++ b/generated/DynatraceObservability/DynatraceObservability.Autorest/exports/Remove-AzDynatraceMonitorTagRule.ps1
@@ -170,8 +170,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
diff --git a/generated/DynatraceObservability/DynatraceObservability.Autorest/exports/Remove-AzDynatraceMonitoredSubscription.ps1 b/generated/DynatraceObservability/DynatraceObservability.Autorest/exports/Remove-AzDynatraceMonitoredSubscription.ps1
index 5bbcdfa50305..01c1e4864eb5 100644
--- a/generated/DynatraceObservability/DynatraceObservability.Autorest/exports/Remove-AzDynatraceMonitoredSubscription.ps1
+++ b/generated/DynatraceObservability/DynatraceObservability.Autorest/exports/Remove-AzDynatraceMonitoredSubscription.ps1
@@ -170,8 +170,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
diff --git a/generated/DynatraceObservability/DynatraceObservability.Autorest/exports/Update-AzDynatraceMonitor.ps1 b/generated/DynatraceObservability/DynatraceObservability.Autorest/exports/Update-AzDynatraceMonitor.ps1
index 72fbca7ed962..083958efba3b 100644
--- a/generated/DynatraceObservability/DynatraceObservability.Autorest/exports/Update-AzDynatraceMonitor.ps1
+++ b/generated/DynatraceObservability/DynatraceObservability.Autorest/exports/Update-AzDynatraceMonitor.ps1
@@ -211,8 +211,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
diff --git a/generated/DynatraceObservability/DynatraceObservability.Autorest/exports/Update-AzDynatraceMonitorPlan.ps1 b/generated/DynatraceObservability/DynatraceObservability.Autorest/exports/Update-AzDynatraceMonitorPlan.ps1
index 15fb59a4c8f1..337058979681 100644
--- a/generated/DynatraceObservability/DynatraceObservability.Autorest/exports/Update-AzDynatraceMonitorPlan.ps1
+++ b/generated/DynatraceObservability/DynatraceObservability.Autorest/exports/Update-AzDynatraceMonitorPlan.ps1
@@ -264,8 +264,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
diff --git a/generated/DynatraceObservability/DynatraceObservability.Autorest/exports/Update-AzDynatraceMonitorSSOConfig.ps1 b/generated/DynatraceObservability/DynatraceObservability.Autorest/exports/Update-AzDynatraceMonitorSSOConfig.ps1
index 5765c7eddc3c..ba12d5734ed4 100644
--- a/generated/DynatraceObservability/DynatraceObservability.Autorest/exports/Update-AzDynatraceMonitorSSOConfig.ps1
+++ b/generated/DynatraceObservability/DynatraceObservability.Autorest/exports/Update-AzDynatraceMonitorSSOConfig.ps1
@@ -188,8 +188,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
diff --git a/generated/DynatraceObservability/DynatraceObservability.Autorest/exports/Update-AzDynatraceMonitorTagRule.ps1 b/generated/DynatraceObservability/DynatraceObservability.Autorest/exports/Update-AzDynatraceMonitorTagRule.ps1
index 6225c066759a..55fd07066656 100644
--- a/generated/DynatraceObservability/DynatraceObservability.Autorest/exports/Update-AzDynatraceMonitorTagRule.ps1
+++ b/generated/DynatraceObservability/DynatraceObservability.Autorest/exports/Update-AzDynatraceMonitorTagRule.ps1
@@ -221,8 +221,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
diff --git a/generated/DynatraceObservability/DynatraceObservability.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs b/generated/DynatraceObservability/DynatraceObservability.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs
index dab030d0fd3d..f221d60ab1f6 100644
--- a/generated/DynatraceObservability/DynatraceObservability.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs
+++ b/generated/DynatraceObservability/DynatraceObservability.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs
@@ -218,13 +218,12 @@ public string GetProcessCustomAttributesAtRuntime()
private string GetLoginVerification()
{
- if (!VariantGroup.IsInternal && IsAzure && !VariantGroup.IsModelCmdlet)
+ if (!VariantGroup.IsInternal && IsAzure && !VariantGroup.IsModelCmdlet)
{
return $@"
{Indent}{Indent}$context = Get-AzContext
{Indent}{Indent}if (-not $context -and -not $testPlayback) {{
-{Indent}{Indent}{Indent}Write-Error ""No Azure login detected. Please run 'Connect-AzAccount' to log in.""
-{Indent}{Indent}{Indent}exit
+{Indent}{Indent}{Indent}throw ""No Azure login detected. Please run 'Connect-AzAccount' to log in.""
{Indent}{Indent}}}
";
}
diff --git a/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Get-AzPaloAltoNetworksCertificateObjectLocalRulestack.ps1 b/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Get-AzPaloAltoNetworksCertificateObjectLocalRulestack.ps1
index ca70ac9fee3c..82bbe0be0f0d 100644
--- a/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Get-AzPaloAltoNetworksCertificateObjectLocalRulestack.ps1
+++ b/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Get-AzPaloAltoNetworksCertificateObjectLocalRulestack.ps1
@@ -163,8 +163,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
diff --git a/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Get-AzPaloAltoNetworksFirewall.ps1 b/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Get-AzPaloAltoNetworksFirewall.ps1
index 5076c825560a..d47f2137e595 100644
--- a/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Get-AzPaloAltoNetworksFirewall.ps1
+++ b/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Get-AzPaloAltoNetworksFirewall.ps1
@@ -143,8 +143,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
diff --git a/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Get-AzPaloAltoNetworksFirewallLogProfile.ps1 b/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Get-AzPaloAltoNetworksFirewallLogProfile.ps1
index b8d0f33b90a5..b0cf6f59804a 100644
--- a/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Get-AzPaloAltoNetworksFirewallLogProfile.ps1
+++ b/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Get-AzPaloAltoNetworksFirewallLogProfile.ps1
@@ -135,8 +135,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
diff --git a/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Get-AzPaloAltoNetworksFirewallStatus.ps1 b/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Get-AzPaloAltoNetworksFirewallStatus.ps1
index 834084697d07..99ddc117a94e 100644
--- a/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Get-AzPaloAltoNetworksFirewallStatus.ps1
+++ b/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Get-AzPaloAltoNetworksFirewallStatus.ps1
@@ -138,8 +138,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
diff --git a/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Get-AzPaloAltoNetworksFqdnListLocalRulestack.ps1 b/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Get-AzPaloAltoNetworksFqdnListLocalRulestack.ps1
index d51b902556d2..14916a576597 100644
--- a/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Get-AzPaloAltoNetworksFqdnListLocalRulestack.ps1
+++ b/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Get-AzPaloAltoNetworksFqdnListLocalRulestack.ps1
@@ -163,8 +163,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
diff --git a/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Get-AzPaloAltoNetworksLocalRule.ps1 b/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Get-AzPaloAltoNetworksLocalRule.ps1
index 68eb5eb3f40c..4d179d946b92 100644
--- a/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Get-AzPaloAltoNetworksLocalRule.ps1
+++ b/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Get-AzPaloAltoNetworksLocalRule.ps1
@@ -163,8 +163,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
diff --git a/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Get-AzPaloAltoNetworksLocalRulestack.ps1 b/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Get-AzPaloAltoNetworksLocalRulestack.ps1
index 6f42e27defba..4ddeefdb9629 100644
--- a/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Get-AzPaloAltoNetworksLocalRulestack.ps1
+++ b/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Get-AzPaloAltoNetworksLocalRulestack.ps1
@@ -143,8 +143,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
diff --git a/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Get-AzPaloAltoNetworksLocalRulestackAppId.ps1 b/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Get-AzPaloAltoNetworksLocalRulestackAppId.ps1
index 7acb13252a2e..3d0eb25f55cb 100644
--- a/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Get-AzPaloAltoNetworksLocalRulestackAppId.ps1
+++ b/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Get-AzPaloAltoNetworksLocalRulestackAppId.ps1
@@ -137,8 +137,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
diff --git a/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Get-AzPaloAltoNetworksLocalRulestackChangeLog.ps1 b/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Get-AzPaloAltoNetworksLocalRulestackChangeLog.ps1
index 5896fb8adf26..2d8ca7545881 100644
--- a/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Get-AzPaloAltoNetworksLocalRulestackChangeLog.ps1
+++ b/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Get-AzPaloAltoNetworksLocalRulestackChangeLog.ps1
@@ -135,8 +135,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
diff --git a/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Get-AzPaloAltoNetworksLocalRulestackFirewall.ps1 b/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Get-AzPaloAltoNetworksLocalRulestackFirewall.ps1
index 95d9152132d2..09bf95d22e0b 100644
--- a/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Get-AzPaloAltoNetworksLocalRulestackFirewall.ps1
+++ b/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Get-AzPaloAltoNetworksLocalRulestackFirewall.ps1
@@ -113,8 +113,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
diff --git a/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Get-AzPaloAltoNetworksLocalRulestackSupportInfo.ps1 b/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Get-AzPaloAltoNetworksLocalRulestackSupportInfo.ps1
index 92c294d545dc..fc187e3eb0c7 100644
--- a/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Get-AzPaloAltoNetworksLocalRulestackSupportInfo.ps1
+++ b/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Get-AzPaloAltoNetworksLocalRulestackSupportInfo.ps1
@@ -141,8 +141,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
diff --git a/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Get-AzPaloAltoNetworksMetricsObjectFirewall.ps1 b/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Get-AzPaloAltoNetworksMetricsObjectFirewall.ps1
index 88a0fd8c9118..c90965211850 100644
--- a/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Get-AzPaloAltoNetworksMetricsObjectFirewall.ps1
+++ b/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Get-AzPaloAltoNetworksMetricsObjectFirewall.ps1
@@ -138,8 +138,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
diff --git a/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Get-AzPaloAltoNetworksPaloAltoNetworksCloudngfwOperationCloudManagerTenant.ps1 b/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Get-AzPaloAltoNetworksPaloAltoNetworksCloudngfwOperationCloudManagerTenant.ps1
index 72c15d9da84d..e67e2d20dfc2 100644
--- a/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Get-AzPaloAltoNetworksPaloAltoNetworksCloudngfwOperationCloudManagerTenant.ps1
+++ b/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Get-AzPaloAltoNetworksPaloAltoNetworksCloudngfwOperationCloudManagerTenant.ps1
@@ -100,8 +100,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
diff --git a/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Get-AzPaloAltoNetworksPaloAltoNetworksCloudngfwOperationProductSerialNumberStatus.ps1 b/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Get-AzPaloAltoNetworksPaloAltoNetworksCloudngfwOperationProductSerialNumberStatus.ps1
index 153f06882bff..a1b6836fcf52 100644
--- a/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Get-AzPaloAltoNetworksPaloAltoNetworksCloudngfwOperationProductSerialNumberStatus.ps1
+++ b/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Get-AzPaloAltoNetworksPaloAltoNetworksCloudngfwOperationProductSerialNumberStatus.ps1
@@ -106,8 +106,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
diff --git a/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Get-AzPaloAltoNetworksPaloAltoNetworksCloudngfwOperationSupportInfo.ps1 b/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Get-AzPaloAltoNetworksPaloAltoNetworksCloudngfwOperationSupportInfo.ps1
index 3a265a05ba33..36e0f75e4822 100644
--- a/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Get-AzPaloAltoNetworksPaloAltoNetworksCloudngfwOperationSupportInfo.ps1
+++ b/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Get-AzPaloAltoNetworksPaloAltoNetworksCloudngfwOperationSupportInfo.ps1
@@ -100,8 +100,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
diff --git a/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Get-AzPaloAltoNetworksPrefixListLocalRulestack.ps1 b/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Get-AzPaloAltoNetworksPrefixListLocalRulestack.ps1
index 9382e7ce56f8..2c7bf39117a6 100644
--- a/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Get-AzPaloAltoNetworksPrefixListLocalRulestack.ps1
+++ b/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Get-AzPaloAltoNetworksPrefixListLocalRulestack.ps1
@@ -163,8 +163,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
diff --git a/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Invoke-AzPaloAltoNetworksCommitLocalRulestack.ps1 b/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Invoke-AzPaloAltoNetworksCommitLocalRulestack.ps1
index 64c36fa45422..9db31bac0d90 100644
--- a/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Invoke-AzPaloAltoNetworksCommitLocalRulestack.ps1
+++ b/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Invoke-AzPaloAltoNetworksCommitLocalRulestack.ps1
@@ -153,8 +153,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
diff --git a/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Invoke-AzPaloAltoNetworksRevertLocalRulestack.ps1 b/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Invoke-AzPaloAltoNetworksRevertLocalRulestack.ps1
index 1cfe30ba0dfa..013e5d09930c 100644
--- a/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Invoke-AzPaloAltoNetworksRevertLocalRulestack.ps1
+++ b/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Invoke-AzPaloAltoNetworksRevertLocalRulestack.ps1
@@ -141,8 +141,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
diff --git a/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/New-AzPaloAltoNetworksCertificateObjectLocalRulestack.ps1 b/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/New-AzPaloAltoNetworksCertificateObjectLocalRulestack.ps1
index 209998218e67..0f9245f12037 100644
--- a/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/New-AzPaloAltoNetworksCertificateObjectLocalRulestack.ps1
+++ b/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/New-AzPaloAltoNetworksCertificateObjectLocalRulestack.ps1
@@ -162,8 +162,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
diff --git a/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/New-AzPaloAltoNetworksFirewall.ps1 b/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/New-AzPaloAltoNetworksFirewall.ps1
index e8c3ebcdcedd..a4b43db1f8a8 100644
--- a/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/New-AzPaloAltoNetworksFirewall.ps1
+++ b/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/New-AzPaloAltoNetworksFirewall.ps1
@@ -328,8 +328,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
diff --git a/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/New-AzPaloAltoNetworksFqdnListLocalRulestack.ps1 b/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/New-AzPaloAltoNetworksFqdnListLocalRulestack.ps1
index 34abbfc309a9..dd3f01c8af62 100644
--- a/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/New-AzPaloAltoNetworksFqdnListLocalRulestack.ps1
+++ b/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/New-AzPaloAltoNetworksFqdnListLocalRulestack.ps1
@@ -156,8 +156,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
diff --git a/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/New-AzPaloAltoNetworksLocalRule.ps1 b/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/New-AzPaloAltoNetworksLocalRule.ps1
index 981013dc3891..39a147f3c3b5 100644
--- a/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/New-AzPaloAltoNetworksLocalRule.ps1
+++ b/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/New-AzPaloAltoNetworksLocalRule.ps1
@@ -315,8 +315,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
diff --git a/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/New-AzPaloAltoNetworksLocalRulestack.ps1 b/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/New-AzPaloAltoNetworksLocalRulestack.ps1
index 5b0489a6a219..8e347da2cbc4 100644
--- a/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/New-AzPaloAltoNetworksLocalRulestack.ps1
+++ b/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/New-AzPaloAltoNetworksLocalRulestack.ps1
@@ -248,8 +248,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
diff --git a/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/New-AzPaloAltoNetworksMetricsObjectFirewall.ps1 b/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/New-AzPaloAltoNetworksMetricsObjectFirewall.ps1
index 1b7dc14305e4..b77dca43e785 100644
--- a/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/New-AzPaloAltoNetworksMetricsObjectFirewall.ps1
+++ b/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/New-AzPaloAltoNetworksMetricsObjectFirewall.ps1
@@ -143,8 +143,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
diff --git a/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/New-AzPaloAltoNetworksPaloAltoNetworksCloudngfwOperationProductSerialNumber.ps1 b/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/New-AzPaloAltoNetworksPaloAltoNetworksCloudngfwOperationProductSerialNumber.ps1
index 2e8d5f99c0a7..05601ed5e424 100644
--- a/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/New-AzPaloAltoNetworksPaloAltoNetworksCloudngfwOperationProductSerialNumber.ps1
+++ b/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/New-AzPaloAltoNetworksPaloAltoNetworksCloudngfwOperationProductSerialNumber.ps1
@@ -100,8 +100,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
diff --git a/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/New-AzPaloAltoNetworksPrefixListLocalRulestack.ps1 b/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/New-AzPaloAltoNetworksPrefixListLocalRulestack.ps1
index b2927443ce22..af4589f70691 100644
--- a/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/New-AzPaloAltoNetworksPrefixListLocalRulestack.ps1
+++ b/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/New-AzPaloAltoNetworksPrefixListLocalRulestack.ps1
@@ -156,8 +156,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
diff --git a/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/ProxyCmdletDefinitions.ps1 b/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/ProxyCmdletDefinitions.ps1
index ad8f02383e07..565ad0560429 100644
--- a/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/ProxyCmdletDefinitions.ps1
+++ b/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/ProxyCmdletDefinitions.ps1
@@ -163,8 +163,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -371,8 +370,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -580,8 +578,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -795,8 +792,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -1031,8 +1027,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -1241,8 +1236,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -1446,8 +1440,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -1630,8 +1623,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -1841,8 +1833,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -2055,8 +2046,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -2291,8 +2281,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -2502,8 +2491,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -2674,8 +2662,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -2850,8 +2837,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -3020,8 +3006,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -3253,8 +3238,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -3479,8 +3463,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -3691,8 +3674,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -3924,8 +3906,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -4322,8 +4303,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -4548,8 +4528,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -4866,8 +4845,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -5251,8 +5229,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -5464,8 +5441,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -5634,8 +5610,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -5860,8 +5835,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -6106,8 +6080,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -6332,8 +6305,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -6579,8 +6551,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -6805,8 +6776,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -7052,8 +7022,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -7277,8 +7246,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -7524,8 +7492,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -7760,8 +7727,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -8311,8 +8277,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -8551,8 +8516,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -8792,8 +8756,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -9033,8 +8996,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -9251,8 +9213,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
diff --git a/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Remove-AzPaloAltoNetworksCertificateObjectLocalRulestack.ps1 b/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Remove-AzPaloAltoNetworksCertificateObjectLocalRulestack.ps1
index 49266f0aa534..826148a64676 100644
--- a/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Remove-AzPaloAltoNetworksCertificateObjectLocalRulestack.ps1
+++ b/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Remove-AzPaloAltoNetworksCertificateObjectLocalRulestack.ps1
@@ -176,8 +176,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
diff --git a/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Remove-AzPaloAltoNetworksFirewall.ps1 b/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Remove-AzPaloAltoNetworksFirewall.ps1
index 5f6bb570f974..783b40e4a7d2 100644
--- a/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Remove-AzPaloAltoNetworksFirewall.ps1
+++ b/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Remove-AzPaloAltoNetworksFirewall.ps1
@@ -154,8 +154,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
diff --git a/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Remove-AzPaloAltoNetworksFqdnListLocalRulestack.ps1 b/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Remove-AzPaloAltoNetworksFqdnListLocalRulestack.ps1
index 911e4558fb8b..8ad4c8cee3b3 100644
--- a/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Remove-AzPaloAltoNetworksFqdnListLocalRulestack.ps1
+++ b/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Remove-AzPaloAltoNetworksFqdnListLocalRulestack.ps1
@@ -176,8 +176,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
diff --git a/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Remove-AzPaloAltoNetworksLocalRule.ps1 b/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Remove-AzPaloAltoNetworksLocalRule.ps1
index 9c6ad593284c..8b5556ec2c23 100644
--- a/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Remove-AzPaloAltoNetworksLocalRule.ps1
+++ b/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Remove-AzPaloAltoNetworksLocalRule.ps1
@@ -176,8 +176,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
diff --git a/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Remove-AzPaloAltoNetworksLocalRulestack.ps1 b/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Remove-AzPaloAltoNetworksLocalRulestack.ps1
index 5019c6ed4143..e9e67ce9dfe7 100644
--- a/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Remove-AzPaloAltoNetworksLocalRulestack.ps1
+++ b/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Remove-AzPaloAltoNetworksLocalRulestack.ps1
@@ -154,8 +154,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
diff --git a/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Remove-AzPaloAltoNetworksMetricsObjectFirewall.ps1 b/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Remove-AzPaloAltoNetworksMetricsObjectFirewall.ps1
index 641a15d62d7a..969073dc7073 100644
--- a/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Remove-AzPaloAltoNetworksMetricsObjectFirewall.ps1
+++ b/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Remove-AzPaloAltoNetworksMetricsObjectFirewall.ps1
@@ -153,8 +153,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
diff --git a/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Remove-AzPaloAltoNetworksPrefixListLocalRulestack.ps1 b/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Remove-AzPaloAltoNetworksPrefixListLocalRulestack.ps1
index 82e942bb9a1f..06a332e5d89a 100644
--- a/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Remove-AzPaloAltoNetworksPrefixListLocalRulestack.ps1
+++ b/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Remove-AzPaloAltoNetworksPrefixListLocalRulestack.ps1
@@ -176,8 +176,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
diff --git a/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Reset-AzPaloAltoNetworksLocalRuleCounter.ps1 b/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Reset-AzPaloAltoNetworksLocalRuleCounter.ps1
index d424b47df7a3..48b3c6a68b36 100644
--- a/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Reset-AzPaloAltoNetworksLocalRuleCounter.ps1
+++ b/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Reset-AzPaloAltoNetworksLocalRuleCounter.ps1
@@ -164,8 +164,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
diff --git a/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Save-AzPaloAltoNetworksFirewallLogProfile.ps1 b/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Save-AzPaloAltoNetworksFirewallLogProfile.ps1
index b4d158ffca0f..286c7aa0d412 100644
--- a/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Save-AzPaloAltoNetworksFirewallLogProfile.ps1
+++ b/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Save-AzPaloAltoNetworksFirewallLogProfile.ps1
@@ -479,8 +479,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
diff --git a/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Update-AzPaloAltoNetworksFirewall.ps1 b/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Update-AzPaloAltoNetworksFirewall.ps1
index 06f29705a585..cc0afe033802 100644
--- a/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Update-AzPaloAltoNetworksFirewall.ps1
+++ b/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Update-AzPaloAltoNetworksFirewall.ps1
@@ -169,8 +169,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
diff --git a/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Update-AzPaloAltoNetworksLocalRuleCounter.ps1 b/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Update-AzPaloAltoNetworksLocalRuleCounter.ps1
index 40511d778949..128d82fa4d2e 100644
--- a/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Update-AzPaloAltoNetworksLocalRuleCounter.ps1
+++ b/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Update-AzPaloAltoNetworksLocalRuleCounter.ps1
@@ -170,8 +170,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
diff --git a/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Update-AzPaloAltoNetworksLocalRulestack.ps1 b/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Update-AzPaloAltoNetworksLocalRulestack.ps1
index 818864654a35..4c599ac6b800 100644
--- a/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Update-AzPaloAltoNetworksLocalRulestack.ps1
+++ b/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Update-AzPaloAltoNetworksLocalRulestack.ps1
@@ -169,8 +169,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
diff --git a/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Update-AzPaloAltoNetworksMetricsObjectFirewall.ps1 b/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Update-AzPaloAltoNetworksMetricsObjectFirewall.ps1
index 2d098327eb00..0ccc6cf2825d 100644
--- a/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Update-AzPaloAltoNetworksMetricsObjectFirewall.ps1
+++ b/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/exports/Update-AzPaloAltoNetworksMetricsObjectFirewall.ps1
@@ -147,8 +147,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
diff --git a/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs b/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs
index be70fe5fcb43..6809f2702d3b 100644
--- a/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs
+++ b/generated/PaloAltoNetworks/PaloAltoNetworks.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs
@@ -218,13 +218,12 @@ public string GetProcessCustomAttributesAtRuntime()
private string GetLoginVerification()
{
- if (!VariantGroup.IsInternal && IsAzure && !VariantGroup.IsModelCmdlet)
+ if (!VariantGroup.IsInternal && IsAzure && !VariantGroup.IsModelCmdlet)
{
return $@"
{Indent}{Indent}$context = Get-AzContext
{Indent}{Indent}if (-not $context -and -not $testPlayback) {{
-{Indent}{Indent}{Indent}Write-Error ""No Azure login detected. Please run 'Connect-AzAccount' to log in.""
-{Indent}{Indent}{Indent}exit
+{Indent}{Indent}{Indent}throw ""No Azure login detected. Please run 'Connect-AzAccount' to log in.""
{Indent}{Indent}}}
";
}
diff --git a/src/App/App.Autorest/Properties/AssemblyInfo.cs b/src/App/App.Autorest/Properties/AssemblyInfo.cs
new file mode 100644
index 000000000000..cc4c6f7bb5b9
--- /dev/null
+++ b/src/App/App.Autorest/Properties/AssemblyInfo.cs
@@ -0,0 +1,26 @@
+// 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.
+
+using System;
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+[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 - App")]
+[assembly: System.Reflection.AssemblyFileVersionAttribute("0.1.0.0")]
+[assembly: System.Reflection.AssemblyVersionAttribute("0.1.0.0")]
+[assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)]
+[assembly: System.CLSCompliantAttribute(false)]
\ No newline at end of file
diff --git a/src/App/App.Autorest/custom/autogen-model-cmdlets/New-AzContainerAppConfigurationObject.ps1 b/src/App/App.Autorest/custom/autogen-model-cmdlets/New-AzContainerAppConfigurationObject.ps1
index 4e85937dbfed..cfd8236fe6aa 100644
--- a/src/App/App.Autorest/custom/autogen-model-cmdlets/New-AzContainerAppConfigurationObject.ps1
+++ b/src/App/App.Autorest/custom/autogen-model-cmdlets/New-AzContainerAppConfigurationObject.ps1
@@ -26,6 +26,7 @@ Microsoft.Azure.PowerShell.Cmdlets.App.Models.Configuration
https://learn.microsoft.com/powershell/module/Az.App/new-azcontainerappconfigurationobject
#>
function New-AzContainerAppConfigurationObject {
+ [Microsoft.Azure.PowerShell.Cmdlets.App.ModelCmdletAttribute()]
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.App.Models.Configuration')]
[CmdletBinding(PositionalBinding=$false)]
Param(
diff --git a/src/App/App.Autorest/custom/autogen-model-cmdlets/New-AzContainerAppCustomDomainObject.ps1 b/src/App/App.Autorest/custom/autogen-model-cmdlets/New-AzContainerAppCustomDomainObject.ps1
index 4a6ea1904997..ff545ae235e3 100644
--- a/src/App/App.Autorest/custom/autogen-model-cmdlets/New-AzContainerAppCustomDomainObject.ps1
+++ b/src/App/App.Autorest/custom/autogen-model-cmdlets/New-AzContainerAppCustomDomainObject.ps1
@@ -26,6 +26,7 @@ Microsoft.Azure.PowerShell.Cmdlets.App.Models.CustomDomain
https://learn.microsoft.com/powershell/module/Az.App/new-azcontainerappcustomdomainobject
#>
function New-AzContainerAppCustomDomainObject {
+ [Microsoft.Azure.PowerShell.Cmdlets.App.ModelCmdletAttribute()]
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.App.Models.CustomDomain')]
[CmdletBinding(PositionalBinding=$false)]
Param(
diff --git a/src/App/App.Autorest/custom/autogen-model-cmdlets/New-AzContainerAppDaprMetadataObject.ps1 b/src/App/App.Autorest/custom/autogen-model-cmdlets/New-AzContainerAppDaprMetadataObject.ps1
index 8b6fece22864..27c77cbf87cb 100644
--- a/src/App/App.Autorest/custom/autogen-model-cmdlets/New-AzContainerAppDaprMetadataObject.ps1
+++ b/src/App/App.Autorest/custom/autogen-model-cmdlets/New-AzContainerAppDaprMetadataObject.ps1
@@ -26,6 +26,7 @@ Microsoft.Azure.PowerShell.Cmdlets.App.Models.DaprMetadata
https://learn.microsoft.com/powershell/module/Az.App/new-azcontainerappdaprmetadataobject
#>
function New-AzContainerAppDaprMetadataObject {
+ [Microsoft.Azure.PowerShell.Cmdlets.App.ModelCmdletAttribute()]
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.App.Models.DaprMetadata')]
[CmdletBinding(PositionalBinding=$false)]
Param(
diff --git a/src/App/App.Autorest/custom/autogen-model-cmdlets/New-AzContainerAppEnvironmentVarObject.ps1 b/src/App/App.Autorest/custom/autogen-model-cmdlets/New-AzContainerAppEnvironmentVarObject.ps1
index 6ab547fb4778..44d4798f8e2e 100644
--- a/src/App/App.Autorest/custom/autogen-model-cmdlets/New-AzContainerAppEnvironmentVarObject.ps1
+++ b/src/App/App.Autorest/custom/autogen-model-cmdlets/New-AzContainerAppEnvironmentVarObject.ps1
@@ -26,6 +26,7 @@ Microsoft.Azure.PowerShell.Cmdlets.App.Models.EnvironmentVar
https://learn.microsoft.com/powershell/module/Az.App/new-azcontainerappenvironmentvarobject
#>
function New-AzContainerAppEnvironmentVarObject {
+ [Microsoft.Azure.PowerShell.Cmdlets.App.ModelCmdletAttribute()]
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.App.Models.EnvironmentVar')]
[CmdletBinding(PositionalBinding=$false)]
Param(
diff --git a/src/App/App.Autorest/custom/autogen-model-cmdlets/New-AzContainerAppIPSecurityRestrictionRuleObject.ps1 b/src/App/App.Autorest/custom/autogen-model-cmdlets/New-AzContainerAppIPSecurityRestrictionRuleObject.ps1
index b9008a73cbc0..8532e5e3bc7e 100644
--- a/src/App/App.Autorest/custom/autogen-model-cmdlets/New-AzContainerAppIPSecurityRestrictionRuleObject.ps1
+++ b/src/App/App.Autorest/custom/autogen-model-cmdlets/New-AzContainerAppIPSecurityRestrictionRuleObject.ps1
@@ -26,6 +26,7 @@ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IPSecurityRestrictionRule
https://learn.microsoft.com/powershell/module/Az.App/new-azcontainerappipsecurityrestrictionruleobject
#>
function New-AzContainerAppIPSecurityRestrictionRuleObject {
+ [Microsoft.Azure.PowerShell.Cmdlets.App.ModelCmdletAttribute()]
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.App.Models.IPSecurityRestrictionRule')]
[CmdletBinding(PositionalBinding=$false)]
Param(
diff --git a/src/App/App.Autorest/custom/autogen-model-cmdlets/New-AzContainerAppIdentityProviderObject.ps1 b/src/App/App.Autorest/custom/autogen-model-cmdlets/New-AzContainerAppIdentityProviderObject.ps1
index a8dbcb6d7f39..af1e553cefed 100644
--- a/src/App/App.Autorest/custom/autogen-model-cmdlets/New-AzContainerAppIdentityProviderObject.ps1
+++ b/src/App/App.Autorest/custom/autogen-model-cmdlets/New-AzContainerAppIdentityProviderObject.ps1
@@ -26,6 +26,7 @@ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IdentityProviders
https://learn.microsoft.com/powershell/module/Az.App/new-azcontainerappidentityproviderobject
#>
function New-AzContainerAppIdentityProviderObject {
+ [Microsoft.Azure.PowerShell.Cmdlets.App.ModelCmdletAttribute()]
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.App.Models.IdentityProviders')]
[CmdletBinding(PositionalBinding=$false)]
Param(
diff --git a/src/App/App.Autorest/custom/autogen-model-cmdlets/New-AzContainerAppInitContainerTemplateObject.ps1 b/src/App/App.Autorest/custom/autogen-model-cmdlets/New-AzContainerAppInitContainerTemplateObject.ps1
index f2c0a31f27cf..d0ac433ec0b9 100644
--- a/src/App/App.Autorest/custom/autogen-model-cmdlets/New-AzContainerAppInitContainerTemplateObject.ps1
+++ b/src/App/App.Autorest/custom/autogen-model-cmdlets/New-AzContainerAppInitContainerTemplateObject.ps1
@@ -26,6 +26,7 @@ Microsoft.Azure.PowerShell.Cmdlets.App.Models.InitContainer
https://learn.microsoft.com/powershell/module/Az.App/new-azcontainerappinitcontainertemplateobject
#>
function New-AzContainerAppInitContainerTemplateObject {
+ [Microsoft.Azure.PowerShell.Cmdlets.App.ModelCmdletAttribute()]
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.App.Models.InitContainer')]
[CmdletBinding(PositionalBinding=$false)]
Param(
diff --git a/src/App/App.Autorest/custom/autogen-model-cmdlets/New-AzContainerAppJobExecutionContainerObject.ps1 b/src/App/App.Autorest/custom/autogen-model-cmdlets/New-AzContainerAppJobExecutionContainerObject.ps1
index 9126952d5070..d9ec8528cc39 100644
--- a/src/App/App.Autorest/custom/autogen-model-cmdlets/New-AzContainerAppJobExecutionContainerObject.ps1
+++ b/src/App/App.Autorest/custom/autogen-model-cmdlets/New-AzContainerAppJobExecutionContainerObject.ps1
@@ -26,6 +26,7 @@ Microsoft.Azure.PowerShell.Cmdlets.App.Models.JobExecutionContainer
https://learn.microsoft.com/powershell/module/Az.App/new-azcontainerappjobexecutioncontainerobject
#>
function New-AzContainerAppJobExecutionContainerObject {
+ [Microsoft.Azure.PowerShell.Cmdlets.App.ModelCmdletAttribute()]
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.App.Models.JobExecutionContainer')]
[CmdletBinding(PositionalBinding=$false)]
Param(
diff --git a/src/App/App.Autorest/custom/autogen-model-cmdlets/New-AzContainerAppJobScaleRuleObject.ps1 b/src/App/App.Autorest/custom/autogen-model-cmdlets/New-AzContainerAppJobScaleRuleObject.ps1
index f97f60875477..1085a6a5d5f0 100644
--- a/src/App/App.Autorest/custom/autogen-model-cmdlets/New-AzContainerAppJobScaleRuleObject.ps1
+++ b/src/App/App.Autorest/custom/autogen-model-cmdlets/New-AzContainerAppJobScaleRuleObject.ps1
@@ -26,6 +26,7 @@ Microsoft.Azure.PowerShell.Cmdlets.App.Models.JobScaleRule
https://learn.microsoft.com/powershell/module/Az.App/new-azcontainerappjobscaleruleobject
#>
function New-AzContainerAppJobScaleRuleObject {
+ [Microsoft.Azure.PowerShell.Cmdlets.App.ModelCmdletAttribute()]
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.App.Models.JobScaleRule')]
[CmdletBinding(PositionalBinding=$false)]
Param(
diff --git a/src/App/App.Autorest/custom/autogen-model-cmdlets/New-AzContainerAppProbeHeaderObject.ps1 b/src/App/App.Autorest/custom/autogen-model-cmdlets/New-AzContainerAppProbeHeaderObject.ps1
index 53acaba905f6..33d892ab19b9 100644
--- a/src/App/App.Autorest/custom/autogen-model-cmdlets/New-AzContainerAppProbeHeaderObject.ps1
+++ b/src/App/App.Autorest/custom/autogen-model-cmdlets/New-AzContainerAppProbeHeaderObject.ps1
@@ -26,6 +26,7 @@ Microsoft.Azure.PowerShell.Cmdlets.App.Models.ContainerAppProbeHttpGetHttpHeader
https://learn.microsoft.com/powershell/module/Az.App/new-azcontainerappprobeheaderobject
#>
function New-AzContainerAppProbeHeaderObject {
+ [Microsoft.Azure.PowerShell.Cmdlets.App.ModelCmdletAttribute()]
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.App.Models.ContainerAppProbeHttpGetHttpHeadersItem')]
[CmdletBinding(PositionalBinding=$false)]
Param(
diff --git a/src/App/App.Autorest/custom/autogen-model-cmdlets/New-AzContainerAppProbeObject.ps1 b/src/App/App.Autorest/custom/autogen-model-cmdlets/New-AzContainerAppProbeObject.ps1
index f7c4b07c307a..bbe40e55c57a 100644
--- a/src/App/App.Autorest/custom/autogen-model-cmdlets/New-AzContainerAppProbeObject.ps1
+++ b/src/App/App.Autorest/custom/autogen-model-cmdlets/New-AzContainerAppProbeObject.ps1
@@ -26,6 +26,7 @@ Microsoft.Azure.PowerShell.Cmdlets.App.Models.ContainerAppProbe
https://learn.microsoft.com/powershell/module/Az.App/new-azcontainerappprobeobject
#>
function New-AzContainerAppProbeObject {
+ [Microsoft.Azure.PowerShell.Cmdlets.App.ModelCmdletAttribute()]
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.App.Models.ContainerAppProbe')]
[CmdletBinding(PositionalBinding=$false)]
Param(
diff --git a/src/App/App.Autorest/custom/autogen-model-cmdlets/New-AzContainerAppRegistryCredentialObject.ps1 b/src/App/App.Autorest/custom/autogen-model-cmdlets/New-AzContainerAppRegistryCredentialObject.ps1
index 8079ade0840a..7df113f75a98 100644
--- a/src/App/App.Autorest/custom/autogen-model-cmdlets/New-AzContainerAppRegistryCredentialObject.ps1
+++ b/src/App/App.Autorest/custom/autogen-model-cmdlets/New-AzContainerAppRegistryCredentialObject.ps1
@@ -26,6 +26,7 @@ Microsoft.Azure.PowerShell.Cmdlets.App.Models.RegistryCredentials
https://learn.microsoft.com/powershell/module/Az.App/new-azcontainerappregistrycredentialobject
#>
function New-AzContainerAppRegistryCredentialObject {
+ [Microsoft.Azure.PowerShell.Cmdlets.App.ModelCmdletAttribute()]
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.App.Models.RegistryCredentials')]
[CmdletBinding(PositionalBinding=$false)]
Param(
diff --git a/src/App/App.Autorest/custom/autogen-model-cmdlets/New-AzContainerAppScaleRuleAuthObject.ps1 b/src/App/App.Autorest/custom/autogen-model-cmdlets/New-AzContainerAppScaleRuleAuthObject.ps1
index 31387d43ea9b..1539cfc29dbf 100644
--- a/src/App/App.Autorest/custom/autogen-model-cmdlets/New-AzContainerAppScaleRuleAuthObject.ps1
+++ b/src/App/App.Autorest/custom/autogen-model-cmdlets/New-AzContainerAppScaleRuleAuthObject.ps1
@@ -26,6 +26,7 @@ Microsoft.Azure.PowerShell.Cmdlets.App.Models.ScaleRuleAuth
https://learn.microsoft.com/powershell/module/Az.App/new-azcontainerappscaleruleauthobject
#>
function New-AzContainerAppScaleRuleAuthObject {
+ [Microsoft.Azure.PowerShell.Cmdlets.App.ModelCmdletAttribute()]
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.App.Models.ScaleRuleAuth')]
[CmdletBinding(PositionalBinding=$false)]
Param(
diff --git a/src/App/App.Autorest/custom/autogen-model-cmdlets/New-AzContainerAppScaleRuleObject.ps1 b/src/App/App.Autorest/custom/autogen-model-cmdlets/New-AzContainerAppScaleRuleObject.ps1
index f2e40d2f35d7..369ec2b5bb40 100644
--- a/src/App/App.Autorest/custom/autogen-model-cmdlets/New-AzContainerAppScaleRuleObject.ps1
+++ b/src/App/App.Autorest/custom/autogen-model-cmdlets/New-AzContainerAppScaleRuleObject.ps1
@@ -26,6 +26,7 @@ Microsoft.Azure.PowerShell.Cmdlets.App.Models.ScaleRule
https://learn.microsoft.com/powershell/module/Az.App/new-azcontainerappscaleruleobject
#>
function New-AzContainerAppScaleRuleObject {
+ [Microsoft.Azure.PowerShell.Cmdlets.App.ModelCmdletAttribute()]
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.App.Models.ScaleRule')]
[CmdletBinding(PositionalBinding=$false)]
Param(
diff --git a/src/App/App.Autorest/custom/autogen-model-cmdlets/New-AzContainerAppSecretObject.ps1 b/src/App/App.Autorest/custom/autogen-model-cmdlets/New-AzContainerAppSecretObject.ps1
index 300fb380737b..abf30c1b5829 100644
--- a/src/App/App.Autorest/custom/autogen-model-cmdlets/New-AzContainerAppSecretObject.ps1
+++ b/src/App/App.Autorest/custom/autogen-model-cmdlets/New-AzContainerAppSecretObject.ps1
@@ -26,6 +26,7 @@ Microsoft.Azure.PowerShell.Cmdlets.App.Models.Secret
https://learn.microsoft.com/powershell/module/Az.App/new-azcontainerappsecretobject
#>
function New-AzContainerAppSecretObject {
+ [Microsoft.Azure.PowerShell.Cmdlets.App.ModelCmdletAttribute()]
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.App.Models.Secret')]
[CmdletBinding(PositionalBinding=$false)]
Param(
diff --git a/src/App/App.Autorest/custom/autogen-model-cmdlets/New-AzContainerAppSecretVolumeItemObject.ps1 b/src/App/App.Autorest/custom/autogen-model-cmdlets/New-AzContainerAppSecretVolumeItemObject.ps1
index 26f067e04886..ab0612502ca1 100644
--- a/src/App/App.Autorest/custom/autogen-model-cmdlets/New-AzContainerAppSecretVolumeItemObject.ps1
+++ b/src/App/App.Autorest/custom/autogen-model-cmdlets/New-AzContainerAppSecretVolumeItemObject.ps1
@@ -26,6 +26,7 @@ Microsoft.Azure.PowerShell.Cmdlets.App.Models.SecretVolumeItem
https://learn.microsoft.com/powershell/module/Az.App/new-azcontainerappsecretvolumeitemobject
#>
function New-AzContainerAppSecretVolumeItemObject {
+ [Microsoft.Azure.PowerShell.Cmdlets.App.ModelCmdletAttribute()]
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.App.Models.SecretVolumeItem')]
[CmdletBinding(PositionalBinding=$false)]
Param(
diff --git a/src/App/App.Autorest/custom/autogen-model-cmdlets/New-AzContainerAppServiceBindObject.ps1 b/src/App/App.Autorest/custom/autogen-model-cmdlets/New-AzContainerAppServiceBindObject.ps1
index 6ce4c3c720f4..699a968e01a7 100644
--- a/src/App/App.Autorest/custom/autogen-model-cmdlets/New-AzContainerAppServiceBindObject.ps1
+++ b/src/App/App.Autorest/custom/autogen-model-cmdlets/New-AzContainerAppServiceBindObject.ps1
@@ -26,6 +26,7 @@ Microsoft.Azure.PowerShell.Cmdlets.App.Models.ServiceBind
https://learn.microsoft.com/powershell/module/Az.App/new-azcontainerappservicebindobject
#>
function New-AzContainerAppServiceBindObject {
+ [Microsoft.Azure.PowerShell.Cmdlets.App.ModelCmdletAttribute()]
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.App.Models.ServiceBind')]
[CmdletBinding(PositionalBinding=$false)]
Param(
diff --git a/src/App/App.Autorest/custom/autogen-model-cmdlets/New-AzContainerAppTemplateObject.ps1 b/src/App/App.Autorest/custom/autogen-model-cmdlets/New-AzContainerAppTemplateObject.ps1
index 3078240d2472..9ec81430dd79 100644
--- a/src/App/App.Autorest/custom/autogen-model-cmdlets/New-AzContainerAppTemplateObject.ps1
+++ b/src/App/App.Autorest/custom/autogen-model-cmdlets/New-AzContainerAppTemplateObject.ps1
@@ -26,6 +26,7 @@ Microsoft.Azure.PowerShell.Cmdlets.App.Models.Container
https://learn.microsoft.com/powershell/module/Az.App/new-azcontainerapptemplateobject
#>
function New-AzContainerAppTemplateObject {
+ [Microsoft.Azure.PowerShell.Cmdlets.App.ModelCmdletAttribute()]
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.App.Models.Container')]
[CmdletBinding(PositionalBinding=$false)]
Param(
diff --git a/src/App/App.Autorest/custom/autogen-model-cmdlets/New-AzContainerAppTrafficWeightObject.ps1 b/src/App/App.Autorest/custom/autogen-model-cmdlets/New-AzContainerAppTrafficWeightObject.ps1
index e54512e84f91..897fe3b9cc2b 100644
--- a/src/App/App.Autorest/custom/autogen-model-cmdlets/New-AzContainerAppTrafficWeightObject.ps1
+++ b/src/App/App.Autorest/custom/autogen-model-cmdlets/New-AzContainerAppTrafficWeightObject.ps1
@@ -26,6 +26,7 @@ Microsoft.Azure.PowerShell.Cmdlets.App.Models.TrafficWeight
https://learn.microsoft.com/powershell/module/Az.App/new-azcontainerapptrafficweightobject
#>
function New-AzContainerAppTrafficWeightObject {
+ [Microsoft.Azure.PowerShell.Cmdlets.App.ModelCmdletAttribute()]
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.App.Models.TrafficWeight')]
[CmdletBinding(PositionalBinding=$false)]
Param(
diff --git a/src/App/App.Autorest/custom/autogen-model-cmdlets/New-AzContainerAppVolumeMountObject.ps1 b/src/App/App.Autorest/custom/autogen-model-cmdlets/New-AzContainerAppVolumeMountObject.ps1
index 20cd1991f621..f8fcef57c0eb 100644
--- a/src/App/App.Autorest/custom/autogen-model-cmdlets/New-AzContainerAppVolumeMountObject.ps1
+++ b/src/App/App.Autorest/custom/autogen-model-cmdlets/New-AzContainerAppVolumeMountObject.ps1
@@ -26,6 +26,7 @@ Microsoft.Azure.PowerShell.Cmdlets.App.Models.VolumeMount
https://learn.microsoft.com/powershell/module/Az.App/new-azcontainerappvolumemountobject
#>
function New-AzContainerAppVolumeMountObject {
+ [Microsoft.Azure.PowerShell.Cmdlets.App.ModelCmdletAttribute()]
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.App.Models.VolumeMount')]
[CmdletBinding(PositionalBinding=$false)]
Param(
diff --git a/src/App/App.Autorest/custom/autogen-model-cmdlets/New-AzContainerAppVolumeObject.ps1 b/src/App/App.Autorest/custom/autogen-model-cmdlets/New-AzContainerAppVolumeObject.ps1
index 0e668a896034..edb38525298e 100644
--- a/src/App/App.Autorest/custom/autogen-model-cmdlets/New-AzContainerAppVolumeObject.ps1
+++ b/src/App/App.Autorest/custom/autogen-model-cmdlets/New-AzContainerAppVolumeObject.ps1
@@ -26,6 +26,7 @@ Microsoft.Azure.PowerShell.Cmdlets.App.Models.Volume
https://learn.microsoft.com/powershell/module/Az.App/new-azcontainerappvolumeobject
#>
function New-AzContainerAppVolumeObject {
+ [Microsoft.Azure.PowerShell.Cmdlets.App.ModelCmdletAttribute()]
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.App.Models.Volume')]
[CmdletBinding(PositionalBinding=$false)]
Param(
diff --git a/src/App/App.Autorest/custom/autogen-model-cmdlets/New-AzContainerAppWorkloadProfileObject.ps1 b/src/App/App.Autorest/custom/autogen-model-cmdlets/New-AzContainerAppWorkloadProfileObject.ps1
index 0551e6426849..9db17d0b757b 100644
--- a/src/App/App.Autorest/custom/autogen-model-cmdlets/New-AzContainerAppWorkloadProfileObject.ps1
+++ b/src/App/App.Autorest/custom/autogen-model-cmdlets/New-AzContainerAppWorkloadProfileObject.ps1
@@ -26,6 +26,7 @@ Microsoft.Azure.PowerShell.Cmdlets.App.Models.WorkloadProfile
https://learn.microsoft.com/powershell/module/Az.App/new-azcontainerappworkloadprofileobject
#>
function New-AzContainerAppWorkloadProfileObject {
+ [Microsoft.Azure.PowerShell.Cmdlets.App.ModelCmdletAttribute()]
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.App.Models.WorkloadProfile')]
[CmdletBinding(PositionalBinding=$false)]
Param(
diff --git a/src/App/App.Autorest/docs/Az.App.md b/src/App/App.Autorest/docs/Az.App.md
index 08ae793a1b60..6f1c71cad2b6 100644
--- a/src/App/App.Autorest/docs/Az.App.md
+++ b/src/App/App.Autorest/docs/Az.App.md
@@ -1,6 +1,6 @@
---
Module Name: Az.App
-Module Guid: d26b4cc7-1502-410b-9c3d-a553c0d2d624
+Module Guid: 32b4002a-8a34-4f04-8646-5e91d3f62d09
Download Help Link: https://learn.microsoft.com/powershell/module/az.app
Help Version: 1.0.0.0
Locale: en-US
@@ -114,22 +114,22 @@ Get a SourceControl of a Container App.
Create a Container App.
### [New-AzContainerAppAuthConfig](New-AzContainerAppAuthConfig.md)
-create the AuthConfig for a Container App.
+Create the AuthConfig for a Container App.
### [New-AzContainerAppConfigurationObject](New-AzContainerAppConfigurationObject.md)
Create an in-memory object for Configuration.
### [New-AzContainerAppConnectedEnv](New-AzContainerAppConnectedEnv.md)
-create an connectedEnvironment.
+Create an connectedEnvironment.
### [New-AzContainerAppConnectedEnvCert](New-AzContainerAppConnectedEnvCert.md)
-create a Certificate.
+Create a Certificate.
### [New-AzContainerAppConnectedEnvDapr](New-AzContainerAppConnectedEnvDapr.md)
-create a Dapr Component in a connected environment.
+Create a Dapr Component in a connected environment.
### [New-AzContainerAppConnectedEnvStorage](New-AzContainerAppConnectedEnvStorage.md)
-create storage for a connectedEnvironment.
+Create storage for a connectedEnvironment.
### [New-AzContainerAppCustomDomainObject](New-AzContainerAppCustomDomainObject.md)
Create an in-memory object for CustomDomain.
@@ -159,19 +159,19 @@ Create an in-memory object for JobExecutionContainer.
Create an in-memory object for JobScaleRule.
### [New-AzContainerAppManagedCert](New-AzContainerAppManagedCert.md)
-create a Managed Certificate.
+Create a Managed Certificate.
### [New-AzContainerAppManagedEnv](New-AzContainerAppManagedEnv.md)
-create a Managed Environment used to host container apps.
+Create a Managed Environment used to host container apps.
### [New-AzContainerAppManagedEnvCert](New-AzContainerAppManagedEnvCert.md)
-create a Certificate.
+Create a Certificate.
### [New-AzContainerAppManagedEnvDapr](New-AzContainerAppManagedEnvDapr.md)
-create a Dapr Component in a Managed Environment.
+Create a Dapr Component in a Managed Environment.
### [New-AzContainerAppManagedEnvStorage](New-AzContainerAppManagedEnvStorage.md)
-create storage for a managedEnvironment.
+Create storage for a managedEnvironment.
### [New-AzContainerAppProbeHeaderObject](New-AzContainerAppProbeHeaderObject.md)
Create an in-memory object for ContainerAppProbeHttpGetHttpHeadersItem.
@@ -198,7 +198,7 @@ Create an in-memory object for SecretVolumeItem.
Create an in-memory object for ServiceBind.
### [New-AzContainerAppSourceControl](New-AzContainerAppSourceControl.md)
-create the SourceControl for a Container App.
+Create the SourceControl for a Container App.
### [New-AzContainerAppTemplateObject](New-AzContainerAppTemplateObject.md)
Create an in-memory object for Container.
@@ -276,17 +276,17 @@ Checks if resource name is available.
Patches a Container App using JSON Merge Patch
### [Update-AzContainerAppAuthConfig](Update-AzContainerAppAuthConfig.md)
-update the AuthConfig for a Container App.
+Update the AuthConfig for a Container App.
### [Update-AzContainerAppConnectedEnvCert](Update-AzContainerAppConnectedEnvCert.md)
Patches a certificate.
Currently only patching of tags is supported
### [Update-AzContainerAppConnectedEnvDapr](Update-AzContainerAppConnectedEnvDapr.md)
-update a Dapr Component in a connected environment.
+Update a Dapr Component in a connected environment.
### [Update-AzContainerAppConnectedEnvStorage](Update-AzContainerAppConnectedEnvStorage.md)
-update storage for a connectedEnvironment.
+Update storage for a connectedEnvironment.
### [Update-AzContainerAppJob](Update-AzContainerAppJob.md)
Patches a Container Apps Job using JSON Merge Patch
@@ -303,11 +303,11 @@ Patches a certificate.
Currently only patching of tags is supported
### [Update-AzContainerAppManagedEnvDapr](Update-AzContainerAppManagedEnvDapr.md)
-update a Dapr Component in a Managed Environment.
+Update a Dapr Component in a Managed Environment.
### [Update-AzContainerAppManagedEnvStorage](Update-AzContainerAppManagedEnvStorage.md)
-update storage for a managedEnvironment.
+Update storage for a managedEnvironment.
### [Update-AzContainerAppSourceControl](Update-AzContainerAppSourceControl.md)
-update the SourceControl for a Container App.
+Update the SourceControl for a Container App.
diff --git a/src/App/App.Autorest/docs/Get-AzContainerAppManagedEnvCert.md b/src/App/App.Autorest/docs/Get-AzContainerAppManagedEnvCert.md
index b06740ff30a2..39d6e6eb8799 100644
--- a/src/App/App.Autorest/docs/Get-AzContainerAppManagedEnvCert.md
+++ b/src/App/App.Autorest/docs/Get-AzContainerAppManagedEnvCert.md
@@ -69,7 +69,7 @@ Get the specified Certificate by name.
### Example 3: Get the specified Certificate.
```powershell
$managedenv = Get-AzContainerAppManagedEnv -Name azps-env -ResourceGroupName azps_test_group_app
-Get-AzContainerAppManagedEnvCert -ManagedEnvironmentInputObject $managedenv -Name azps-env-cert
+Get-AzContainerAppManagGet-AzContainerAppManagedEnvCert -ManagedEnvironmentInputObject $managedenv -Name azps-env-cert
```
```output
diff --git a/src/App/App.Autorest/docs/New-AzContainerAppAuthConfig.md b/src/App/App.Autorest/docs/New-AzContainerAppAuthConfig.md
index be4578963cc5..864512204a8b 100644
--- a/src/App/App.Autorest/docs/New-AzContainerAppAuthConfig.md
+++ b/src/App/App.Autorest/docs/New-AzContainerAppAuthConfig.md
@@ -8,7 +8,7 @@ schema: 2.0.0
# New-AzContainerAppAuthConfig
## SYNOPSIS
-create the AuthConfig for a Container App.
+Create the AuthConfig for a Container App.
## SYNTAX
@@ -68,7 +68,7 @@ New-AzContainerAppAuthConfig -ContainerAppName -Name -Resource
```
## DESCRIPTION
-create the AuthConfig for a Container App.
+Create the AuthConfig for a Container App.
## EXAMPLES
diff --git a/src/App/App.Autorest/docs/New-AzContainerAppConnectedEnv.md b/src/App/App.Autorest/docs/New-AzContainerAppConnectedEnv.md
index 1e8d7458037c..a6bb21dca7d5 100644
--- a/src/App/App.Autorest/docs/New-AzContainerAppConnectedEnv.md
+++ b/src/App/App.Autorest/docs/New-AzContainerAppConnectedEnv.md
@@ -8,7 +8,7 @@ schema: 2.0.0
# New-AzContainerAppConnectedEnv
## SYNOPSIS
-create an connectedEnvironment.
+Create an connectedEnvironment.
## SYNTAX
@@ -46,7 +46,7 @@ New-AzContainerAppConnectedEnv -Name -ResourceGroupName -JsonS
```
## DESCRIPTION
-create an connectedEnvironment.
+Create an connectedEnvironment.
## EXAMPLES
diff --git a/src/App/App.Autorest/docs/New-AzContainerAppConnectedEnvCert.md b/src/App/App.Autorest/docs/New-AzContainerAppConnectedEnvCert.md
index 3fda6e26b749..46e56272f03f 100644
--- a/src/App/App.Autorest/docs/New-AzContainerAppConnectedEnvCert.md
+++ b/src/App/App.Autorest/docs/New-AzContainerAppConnectedEnvCert.md
@@ -8,7 +8,7 @@ schema: 2.0.0
# New-AzContainerAppConnectedEnvCert
## SYNOPSIS
-create a Certificate.
+Create a Certificate.
## SYNTAX
@@ -49,7 +49,7 @@ New-AzContainerAppConnectedEnvCert -ConnectedEnvironmentName -Name -Name -Name <
```
## DESCRIPTION
-create storage for a connectedEnvironment.
+Create storage for a connectedEnvironment.
## EXAMPLES
diff --git a/src/App/App.Autorest/docs/New-AzContainerAppManagedCert.md b/src/App/App.Autorest/docs/New-AzContainerAppManagedCert.md
index 2b76430e6759..80d45f86bdd8 100644
--- a/src/App/App.Autorest/docs/New-AzContainerAppManagedCert.md
+++ b/src/App/App.Autorest/docs/New-AzContainerAppManagedCert.md
@@ -8,7 +8,7 @@ schema: 2.0.0
# New-AzContainerAppManagedCert
## SYNOPSIS
-create a Managed Certificate.
+Create a Managed Certificate.
## SYNTAX
@@ -48,7 +48,7 @@ New-AzContainerAppManagedCert -EnvName -Name -ResourceGroupNam
```
## DESCRIPTION
-create a Managed Certificate.
+Create a Managed Certificate.
## EXAMPLES
diff --git a/src/App/App.Autorest/docs/New-AzContainerAppManagedEnv.md b/src/App/App.Autorest/docs/New-AzContainerAppManagedEnv.md
index 09ad97002de7..aeca85e8db41 100644
--- a/src/App/App.Autorest/docs/New-AzContainerAppManagedEnv.md
+++ b/src/App/App.Autorest/docs/New-AzContainerAppManagedEnv.md
@@ -8,7 +8,7 @@ schema: 2.0.0
# New-AzContainerAppManagedEnv
## SYNOPSIS
-create a Managed Environment used to host container apps.
+Create a Managed Environment used to host container apps.
## SYNTAX
@@ -56,7 +56,7 @@ New-AzContainerAppManagedEnv -Name -ResourceGroupName -JsonStr
```
## DESCRIPTION
-create a Managed Environment used to host container apps.
+Create a Managed Environment used to host container apps.
## EXAMPLES
diff --git a/src/App/App.Autorest/docs/New-AzContainerAppManagedEnvCert.md b/src/App/App.Autorest/docs/New-AzContainerAppManagedEnvCert.md
index 800ddad9135d..fdb286a0f5dd 100644
--- a/src/App/App.Autorest/docs/New-AzContainerAppManagedEnvCert.md
+++ b/src/App/App.Autorest/docs/New-AzContainerAppManagedEnvCert.md
@@ -8,7 +8,7 @@ schema: 2.0.0
# New-AzContainerAppManagedEnvCert
## SYNOPSIS
-create a Certificate.
+Create a Certificate.
## SYNTAX
@@ -48,7 +48,7 @@ New-AzContainerAppManagedEnvCert -EnvName -Name -ResourceGroup
```
## DESCRIPTION
-create a Certificate.
+Create a Certificate.
## EXAMPLES
diff --git a/src/App/App.Autorest/docs/New-AzContainerAppManagedEnvDapr.md b/src/App/App.Autorest/docs/New-AzContainerAppManagedEnvDapr.md
index cd8e2c623d8c..afb5d467fdb8 100644
--- a/src/App/App.Autorest/docs/New-AzContainerAppManagedEnvDapr.md
+++ b/src/App/App.Autorest/docs/New-AzContainerAppManagedEnvDapr.md
@@ -8,7 +8,7 @@ schema: 2.0.0
# New-AzContainerAppManagedEnvDapr
## SYNOPSIS
-create a Dapr Component in a Managed Environment.
+Create a Dapr Component in a Managed Environment.
## SYNTAX
@@ -51,7 +51,7 @@ New-AzContainerAppManagedEnvDapr -EnvName -Name -ResourceGroup
```
## DESCRIPTION
-create a Dapr Component in a Managed Environment.
+Create a Dapr Component in a Managed Environment.
## EXAMPLES
diff --git a/src/App/App.Autorest/docs/New-AzContainerAppManagedEnvStorage.md b/src/App/App.Autorest/docs/New-AzContainerAppManagedEnvStorage.md
index 601db54386e5..dd6db3edc211 100644
--- a/src/App/App.Autorest/docs/New-AzContainerAppManagedEnvStorage.md
+++ b/src/App/App.Autorest/docs/New-AzContainerAppManagedEnvStorage.md
@@ -8,7 +8,7 @@ schema: 2.0.0
# New-AzContainerAppManagedEnvStorage
## SYNOPSIS
-create storage for a managedEnvironment.
+Create storage for a managedEnvironment.
## SYNTAX
@@ -49,7 +49,7 @@ New-AzContainerAppManagedEnvStorage -EnvName -Name -ResourceGr
```
## DESCRIPTION
-create storage for a managedEnvironment.
+Create storage for a managedEnvironment.
## EXAMPLES
diff --git a/src/App/App.Autorest/docs/New-AzContainerAppSourceControl.md b/src/App/App.Autorest/docs/New-AzContainerAppSourceControl.md
index c6d16967b97f..8670e9190cf2 100644
--- a/src/App/App.Autorest/docs/New-AzContainerAppSourceControl.md
+++ b/src/App/App.Autorest/docs/New-AzContainerAppSourceControl.md
@@ -8,7 +8,7 @@ schema: 2.0.0
# New-AzContainerAppSourceControl
## SYNOPSIS
-create the SourceControl for a Container App.
+Create the SourceControl for a Container App.
## SYNTAX
@@ -62,7 +62,7 @@ New-AzContainerAppSourceControl -ContainerAppName -Name -Resou
```
## DESCRIPTION
-create the SourceControl for a Container App.
+Create the SourceControl for a Container App.
## EXAMPLES
diff --git a/src/App/App.Autorest/docs/Update-AzContainerAppAuthConfig.md b/src/App/App.Autorest/docs/Update-AzContainerAppAuthConfig.md
index 9029a9850a9a..9a1a95f58a03 100644
--- a/src/App/App.Autorest/docs/Update-AzContainerAppAuthConfig.md
+++ b/src/App/App.Autorest/docs/Update-AzContainerAppAuthConfig.md
@@ -8,7 +8,7 @@ schema: 2.0.0
# Update-AzContainerAppAuthConfig
## SYNOPSIS
-update the AuthConfig for a Container App.
+Update the AuthConfig for a Container App.
## SYNTAX
@@ -54,7 +54,7 @@ Update-AzContainerAppAuthConfig -InputObject [-CookieExpirationCo
```
## DESCRIPTION
-update the AuthConfig for a Container App.
+Update the AuthConfig for a Container App.
## EXAMPLES
diff --git a/src/App/App.Autorest/docs/Update-AzContainerAppConnectedEnvDapr.md b/src/App/App.Autorest/docs/Update-AzContainerAppConnectedEnvDapr.md
index f5b78f803517..e1dd1596931f 100644
--- a/src/App/App.Autorest/docs/Update-AzContainerAppConnectedEnvDapr.md
+++ b/src/App/App.Autorest/docs/Update-AzContainerAppConnectedEnvDapr.md
@@ -8,7 +8,7 @@ schema: 2.0.0
# Update-AzContainerAppConnectedEnvDapr
## SYNOPSIS
-update a Dapr Component in a connected environment.
+Update a Dapr Component in a connected environment.
## SYNTAX
@@ -38,7 +38,7 @@ Update-AzContainerAppConnectedEnvDapr -InputObject [-ComponentTyp
```
## DESCRIPTION
-update a Dapr Component in a connected environment.
+Update a Dapr Component in a connected environment.
## EXAMPLES
diff --git a/src/App/App.Autorest/docs/Update-AzContainerAppConnectedEnvStorage.md b/src/App/App.Autorest/docs/Update-AzContainerAppConnectedEnvStorage.md
index 3909c559b80d..e4f41d7190f1 100644
--- a/src/App/App.Autorest/docs/Update-AzContainerAppConnectedEnvStorage.md
+++ b/src/App/App.Autorest/docs/Update-AzContainerAppConnectedEnvStorage.md
@@ -8,7 +8,7 @@ schema: 2.0.0
# Update-AzContainerAppConnectedEnvStorage
## SYNOPSIS
-update storage for a connectedEnvironment.
+Update storage for a connectedEnvironment.
## SYNTAX
@@ -35,7 +35,7 @@ Update-AzContainerAppConnectedEnvStorage -InputObject [-AzureFile
```
## DESCRIPTION
-update storage for a connectedEnvironment.
+Update storage for a connectedEnvironment.
## EXAMPLES
diff --git a/src/App/App.Autorest/docs/Update-AzContainerAppManagedEnvDapr.md b/src/App/App.Autorest/docs/Update-AzContainerAppManagedEnvDapr.md
index af07606a4856..6ad773198808 100644
--- a/src/App/App.Autorest/docs/Update-AzContainerAppManagedEnvDapr.md
+++ b/src/App/App.Autorest/docs/Update-AzContainerAppManagedEnvDapr.md
@@ -8,7 +8,7 @@ schema: 2.0.0
# Update-AzContainerAppManagedEnvDapr
## SYNOPSIS
-update a Dapr Component in a Managed Environment.
+Update a Dapr Component in a Managed Environment.
## SYNTAX
@@ -37,7 +37,7 @@ Update-AzContainerAppManagedEnvDapr -ManagedEnvironmentInputObject [-AzureClientId <
```
## DESCRIPTION
-update the SourceControl for a Container App.
+Update the SourceControl for a Container App.
## EXAMPLES
diff --git a/src/App/App/AutorestUpgradeLog.md b/src/App/App/AutorestUpgradeLog.md
new file mode 100644
index 000000000000..a036e7982510
--- /dev/null
+++ b/src/App/App/AutorestUpgradeLog.md
@@ -0,0 +1,2 @@
+## Autorest upgrade log
+* Autorest version: 4.0.752 - 26-01-16
diff --git a/src/App/App/ChangeLog.md b/src/App/App/ChangeLog.md
index 5ab117cf023a..d251b8db8ef5 100644
--- a/src/App/App/ChangeLog.md
+++ b/src/App/App/ChangeLog.md
@@ -18,6 +18,7 @@
- Additional information about change #1
-->
## Upcoming Release
+* Fix console close issue by upgrading with autorest v4.0.752
## Version 2.0.1
* Upgraded nuget package to signed package.
diff --git a/src/DynatraceObservability/DynatraceObservability.Autorest/Properties/AssemblyInfo.cs b/src/DynatraceObservability/DynatraceObservability.Autorest/Properties/AssemblyInfo.cs
index 3c8e8a3122b1..039a8d3c046b 100644
--- a/src/DynatraceObservability/DynatraceObservability.Autorest/Properties/AssemblyInfo.cs
+++ b/src/DynatraceObservability/DynatraceObservability.Autorest/Properties/AssemblyInfo.cs
@@ -20,7 +20,7 @@
[assembly: System.Reflection.AssemblyCopyrightAttribute("Copyright © Microsoft")]
[assembly: System.Reflection.AssemblyProductAttribute("Microsoft Azure PowerShell")]
[assembly: System.Reflection.AssemblyTitleAttribute("Microsoft Azure PowerShell - DynatraceObservability")]
-[assembly: System.Reflection.AssemblyFileVersionAttribute("0.3.0")]
-[assembly: System.Reflection.AssemblyVersionAttribute("0.3.0")]
+[assembly: System.Reflection.AssemblyFileVersionAttribute("0.1.0.0")]
+[assembly: System.Reflection.AssemblyVersionAttribute("0.1.0.0")]
[assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)]
-[assembly: System.CLSCompliantAttribute(false)]
+[assembly: System.CLSCompliantAttribute(false)]
\ No newline at end of file
diff --git a/src/DynatraceObservability/DynatraceObservability.Autorest/custom/Az.DynatraceObservability.custom.psm1 b/src/DynatraceObservability/DynatraceObservability.Autorest/custom/Az.DynatraceObservability.custom.psm1
index 184cf37ed795..29144135d88f 100644
--- a/src/DynatraceObservability/DynatraceObservability.Autorest/custom/Az.DynatraceObservability.custom.psm1
+++ b/src/DynatraceObservability/DynatraceObservability.Autorest/custom/Az.DynatraceObservability.custom.psm1
@@ -1,9 +1,9 @@
# region Generated
# Load the private module dll
- $null = Import-Module -PassThru -Name (Join-Path $PSScriptRoot '../bin/Az.DynatraceObservability.private.dll')
+ $null = Import-Module -PassThru -Name (Join-Path $PSScriptRoot '..\bin\Az.DynatraceObservability.private.dll')
# Load the internal module
- $internalModulePath = Join-Path $PSScriptRoot '../internal/Az.DynatraceObservability.internal.psm1'
+ $internalModulePath = Join-Path $PSScriptRoot '..\internal\Az.DynatraceObservability.internal.psm1'
if(Test-Path $internalModulePath) {
$null = Import-Module -Name $internalModulePath
}
diff --git a/src/DynatraceObservability/DynatraceObservability.Autorest/custom/README.md b/src/DynatraceObservability/DynatraceObservability.Autorest/custom/README.md
index 9d24a95620f7..58577378e1d8 100644
--- a/src/DynatraceObservability/DynatraceObservability.Autorest/custom/README.md
+++ b/src/DynatraceObservability/DynatraceObservability.Autorest/custom/README.md
@@ -1,5 +1,5 @@
# Custom
-This directory contains custom implementation for non-generated cmdlets for the `Az.DynatraceObservability` module. Both scripts (`.ps1`) and C# files (`.cs`) can be implemented here. They will be used during the build process in `build-module.ps1`, and create cmdlets into the `../exports` folder. The only generated file into this folder is the `Az.DynatraceObservability.custom.psm1`. This file should not be modified.
+This directory contains custom implementation for non-generated cmdlets for the `Az.DynatraceObservability` module. Both scripts (`.ps1`) and C# files (`.cs`) can be implemented here. They will be used during the build process in `build-module.ps1`, and create cmdlets into the `..\exports` folder. The only generated file into this folder is the `Az.DynatraceObservability.custom.psm1`. This file should not be modified.
## Info
- Modifiable: yes
@@ -15,10 +15,10 @@ For C# cmdlets, they are compiled with the rest of the generated low-level cmdle
For script cmdlets, these are loaded via the `Az.DynatraceObservability.custom.psm1`. Then, during the build process, this module is loaded and processed in the same manner as the C# cmdlets. The fundamental difference is the script cmdlets use the `ParameterSetName` attribute and C# cmdlets do not. To create a script cmdlet variant of a generated cmdlet, simply decorate all parameters in the script with the new `ParameterSetName` in the `Parameter` attribute. This will appropriately treat each parameter set as a separate variant when processed to be exported during the build.
## Purpose
-This allows the modules to have cmdlets that were not defined in the REST specification. It also allows combining logic using generated cmdlets. This is a level of customization beyond what can be done using the [readme configuration options](https://github.com/Azure/autorest/blob/master/docs/powershell/options.md) that are currently available. These custom cmdlets are then referenced by the cmdlets created at build-time in the `../exports` folder.
+This allows the modules to have cmdlets that were not defined in the REST specification. It also allows combining logic using generated cmdlets. This is a level of customization beyond what can be done using the [readme configuration options](https://github.com/Azure/autorest/blob/master/docs/powershell/options.md) that are currently available. These custom cmdlets are then referenced by the cmdlets created at build-time in the `..\exports` folder.
## Usage
-The easiest way currently to start developing custom cmdlets is to copy an existing cmdlet. For C# cmdlets, copy one from the `generated/cmdlets` folder. For script cmdlets, build the project using `build-module.ps1` and copy one of the scripts from the `../exports` folder. After that, if you want to add new parameter sets, follow the guidelines in the `Details` section above. For implementing a new cmdlets, at minimum, please keep these parameters:
+The easiest way currently to start developing custom cmdlets is to copy an existing cmdlet. For C# cmdlets, copy one from the `generated/cmdlets` folder. For script cmdlets, build the project using `build-module.ps1` and copy one of the scripts from the `..\exports` folder. After that, if you want to add new parameter sets, follow the guidelines in the `Details` section above. For implementing a new cmdlets, at minimum, please keep these parameters:
- Break
- DefaultProfile
- HttpPipelineAppend
@@ -36,6 +36,6 @@ For processing the cmdlets, we've created some additional attributes:
- `Microsoft.Azure.PowerShell.Cmdlets.DynatraceObservability.DoNotExportAttribute`
- Used in C# and script cmdlets to suppress creating an exported cmdlet at build-time. These cmdlets will *not be exposed* by `Az.DynatraceObservability`.
- `Microsoft.Azure.PowerShell.Cmdlets.DynatraceObservability.InternalExportAttribute`
- - Used in C# cmdlets to route exported cmdlets to the `../internal`, which are *not exposed* by `Az.DynatraceObservability`. For more information, see [README.md](../internal/README.md) in the `../internal` folder.
+ - Used in C# cmdlets to route exported cmdlets to the `..\internal`, which are *not exposed* by `Az.DynatraceObservability`. For more information, see [README.md](..\internal/README.md) in the `..\internal` folder.
- `Microsoft.Azure.PowerShell.Cmdlets.DynatraceObservability.ProfileAttribute`
- Used in C# and script cmdlets to define which Azure profiles the cmdlet supports. This is only supported for Azure (`--azure`) modules.
\ No newline at end of file
diff --git a/src/DynatraceObservability/DynatraceObservability.Autorest/docs/Az.DynatraceObservability.md b/src/DynatraceObservability/DynatraceObservability.Autorest/docs/Az.DynatraceObservability.md
index 79c966b8df6a..16feaefb7616 100644
--- a/src/DynatraceObservability/DynatraceObservability.Autorest/docs/Az.DynatraceObservability.md
+++ b/src/DynatraceObservability/DynatraceObservability.Autorest/docs/Az.DynatraceObservability.md
@@ -1,6 +1,6 @@
---
Module Name: Az.DynatraceObservability
-Module Guid: eada85a3-a8b1-4fc1-b953-defbdf14917f
+Module Guid: c940e891-b3e5-44ad-9c0e-0c16ee11c0c4
Download Help Link: https://learn.microsoft.com/powershell/module/az.dynatraceobservability
Help Version: 1.0.0.0
Locale: en-US
diff --git a/src/DynatraceObservability/DynatraceObservability.Autorest/docs/Get-AzDynatraceMonitoredSubscription.md b/src/DynatraceObservability/DynatraceObservability.Autorest/docs/Get-AzDynatraceMonitoredSubscription.md
index 8d7664d28a7a..c005d18e7e85 100644
--- a/src/DynatraceObservability/DynatraceObservability.Autorest/docs/Get-AzDynatraceMonitoredSubscription.md
+++ b/src/DynatraceObservability/DynatraceObservability.Autorest/docs/Get-AzDynatraceMonitoredSubscription.md
@@ -35,21 +35,105 @@ List the subscriptions currently being monitored by the Dynatrace monitor resour
## EXAMPLES
-### Example 1: List all monitored subscriptions for a Dynatrace monitor
+### Example 1: List monitored subscriptions for a monitor
```powershell
-$subs = Get-AzDynatraceMonitoredSubscription -MonitorName "myDynatraceMonitor" -ResourceGroupName "myResourceGroup"
-$subs
+$rg = "myResourceGroup"
+$monitor = "myDynatraceMonitor"
+$subs = Get-AzDynatraceMonitoredSubscription -ResourceGroupName $rg -MonitorName $monitor
+$subs | Select-Object Id, Name, Type
```
-Returns all subscription monitoring entries (status, subscriptionId, log/metric rule flags) for the specified Dynatrace monitor resource.
+```output
+Id Name Type
+-- ---- ----
+/subscriptions/b16e4b4e-2ed8-4f32-bac1-0e3eb56bef5c/resourceGroups/dyobrg45en7g/providers/Dynatrace.Observability/monitors/dyob83ctr7/monitoredSubscriptions/default default Dynatrace.Observability/monitors/monitoredSubscriptions
+```
+
+Displays monitored subscription entries attached to the specified monitor.
+(Sample output based on recording.)
+
+### Example 2: Use identity pipeline (monitor object)
+```powershell
+$monitorObj = Get-AzDynatraceMonitor -ResourceGroupName "myResourceGroup" -Name "myDynatraceMonitor" | Select-Object -First 1
+$monitorObj | Get-AzDynatraceMonitoredSubscription | Select-Object -First 1 -Property Id, Name
+```
+
+```output
+Id Name
+-- ----
+/subscriptions/b16e4b4e-2ed8-4f32-bac1-0e3eb56bef5c/resourceGroups/dyobrg45en7g/providers/Dynatrace.Observability/monitors/dyob83ctr7/monitoredSubscriptions/default default
+```
+
+Pipes the monitor object (identity) to retrieve its monitored subscriptions.
+
+### Example 3: Retrieve a single monitored subscription (Get parameter set)
+```powershell
+$rg = "myResourceGroup"; $monitor = "myDynatraceMonitor"
+$all = Get-AzDynatraceMonitoredSubscription -ResourceGroupName $rg -MonitorName $monitor
+($all[0] | Get-AzDynatraceMonitoredSubscription) | Format-List Id, Name, Type, Properties
+```
+
+```output
+Id : /subscriptions/b16e4b4e-2ed8-4f32-bac1-0e3eb56bef5c/resourceGroups/dyobrg45en7g/providers/Dynatrace.Observability/monitors/dyob83ctr7/monitoredSubscriptions/default
+Name : default
+Type : Dynatrace.Observability/monitors/monitoredSubscriptions
+Properties : @{operation=AddBegin; monitoredSubscriptionList=}
+```
+
+Selects the first monitored subscription and re-fetches it for detailed inspection (properties show operation AddBegin).
+
+### Example 4: Filter for current subscription
+```powershell
+$rg = "myResourceGroup"; $monitor = "myDynatraceMonitor"; $currentSub = (Get-AzContext).Subscription.Id
+$subs = Get-AzDynatraceMonitoredSubscription -ResourceGroupName $rg -MonitorName $monitor | Where-Object { $_.Id -like "/subscriptions/$currentSub/*" }
+$subs | Select-Object Id, Name
+```
-### Example 2: Retrieve monitoring status for a specific subscription
+```output
+Id Name
+-- ----
+/subscriptions/b16e4b4e-2ed8-4f32-bac1-0e3eb56bef5c/resourceGroups/dyobrg45en7g/providers/Dynatrace.Observability/monitors/dyob83ctr7/monitoredSubscriptions/default default
+```
+
+Filters results to the current subscription scope.
+
+### Example 5: Count monitored subscriptions
+```powershell
+$count = (Get-AzDynatraceMonitoredSubscription -ResourceGroupName "myResourceGroup" -MonitorName "myDynatraceMonitor").Count
+Write-Host "Total monitored subscriptions: $count"
+```
+
+```output
+Total monitored subscriptions: 1
+```
+
+Outputs a simple count for reporting or validation.
+
+### Example 6: Graceful handling when none exist
```powershell
-$subId = (Get-AzContext).Subscription.Id
-Get-AzDynatraceMonitoredSubscription -MonitorName "myDynatraceMonitor" -ResourceGroupName "myResourceGroup" -SubscriptionId $subId
+$rg = "myResourceGroup"; $monitor = "myDynatraceMonitor"
+$subs = Get-AzDynatraceMonitoredSubscription -ResourceGroupName $rg -MonitorName $monitor -ErrorAction SilentlyContinue
+if (-not $subs -or $subs.Count -eq 0) { Write-Warning "No monitored subscriptions found." } else { $subs | Select-Object -First 5 }
+```
+
+```output
+WARNING: No monitored subscriptions found.
+```
+
+Demonstrates defensive pattern when list may be empty.
+
+### Example 7: Format output for auditing
+```powershell
+Get-AzDynatraceMonitoredSubscription -ResourceGroupName "myResourceGroup" -MonitorName "myDynatraceMonitor" |
+ Select-Object Id,@{n='SubscriptionGuid';e={ ($_).Id.Split('/')[2] }}, Name | Export-Csv -Path monitoredSubs.csv -NoTypeInformation
+```
+
+```output
+"Id","SubscriptionGuid","Name"
+"/subscriptions/b16e4b4e-2ed8-4f32-bac1-0e3eb56bef5c/resourceGroups/dyobrg45en7g/providers/Dynatrace.Observability/monitors/dyob83ctr7/monitoredSubscriptions/default","b16e4b4e-2ed8-4f32-bac1-0e3eb56bef5c","default"
```
-Filters the result to the provided subscription Id to quickly inspect its monitoring status and related rule settings.
+Prepares a CSV of monitored subscriptions with extracted subscription GUIDs for audit or inventory.
## PARAMETERS
diff --git a/src/DynatraceObservability/DynatraceObservability.Autorest/docs/Invoke-AzDynatraceManageMonitorAgentInstallation.md b/src/DynatraceObservability/DynatraceObservability.Autorest/docs/Invoke-AzDynatraceManageMonitorAgentInstallation.md
index b94561f5cb6b..a3bedd684a0f 100644
--- a/src/DynatraceObservability/DynatraceObservability.Autorest/docs/Invoke-AzDynatraceManageMonitorAgentInstallation.md
+++ b/src/DynatraceObservability/DynatraceObservability.Autorest/docs/Invoke-AzDynatraceManageMonitorAgentInstallation.md
@@ -59,36 +59,78 @@ Performs Dynatrace agent install/uninstall action through the Azure Dynatrace re
## EXAMPLES
-### Example 1: Install Dynatrace agent on a VM using a request object
+### Example 1: Install agent on a VM using expanded parameters
```powershell
-$subId = (Get-AzContext).Subscription.Id
-$vmId = "/subscriptions/$subId/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/appvm1"
+$rg = "myResourceGroup"
+$monitor = "myDynatraceMonitor"
+$vmId = "/subscriptions/$(Get-AzContext).Subscription.Id/resourceGroups/$rg/providers/Microsoft.Compute/virtualMachines/myVm01"
+$entry = [Microsoft.Azure.PowerShell.Cmdlets.DynatraceObservability.Models.ManageAgentList]::new(); $entry.Id = $vmId
+Invoke-AzDynatraceManageMonitorAgentInstallation -ResourceGroupName $rg -MonitorName $monitor -Action Install -ManageAgentInstallationList @($entry) -PassThru
+```
-$request = New-Object Microsoft.Azure.PowerShell.Cmdlets.DynatraceObservability.Models.ManageAgentInstallationRequest
-$request.Action = "Install"
-$vmEntry = New-Object Microsoft.Azure.PowerShell.Cmdlets.DynatraceObservability.Models.ManageAgentList
-$vmEntry.Id = $vmId
-$request.ManageAgentInstallationList = @($vmEntry)
+Returns True when the install request is accepted.
-Invoke-AzDynatraceManageMonitorAgentInstallation -MonitorName "myDynatraceMonitor" -ResourceGroupName "myResourceGroup" -Request $request -PassThru
+### Example 2: Uninstall agent via expanded parameters
+```powershell
+$rg = "myResourceGroup"; $monitor = "myDynatraceMonitor"
+$vmId = "/subscriptions/$(Get-AzContext).Subscription.Id/resourceGroups/$rg/providers/Microsoft.Compute/virtualMachines/myVm01"
+$entry = [Microsoft.Azure.PowerShell.Cmdlets.DynatraceObservability.Models.ManageAgentList]::new(); $entry.Id = $vmId
+Invoke-AzDynatraceManageMonitorAgentInstallation -ResourceGroupName $rg -MonitorName $monitor -Action Uninstall -ManageAgentInstallationList @($entry) -PassThru
```
-Creates a ManageAgentInstallationRequest to install the Dynatrace agent on the specified virtual machine and invokes the operation. PassThru returns true on success.
+Removes the Dynatrace agent from the specified resource.
-### Example 2: Uninstall Dynatrace agent using a JSON string
+### Example 3: Use request object (Manage parameter set)
```powershell
-$subId = (Get-AzContext).Subscription.Id
-$json = @{
- action = "Uninstall";
- manageAgentInstallationList = @(
- @{ id = "/subscriptions/$subId/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/appvm1" }
- )
-} | ConvertTo-Json -Depth 5
+$rg = "myResourceGroup"; $monitor = "myDynatraceMonitor"; $vmId = "/subscriptions/$(Get-AzContext).Subscription.Id/resourceGroups/$rg/providers/Microsoft.Compute/virtualMachines/myVm02"
+$listEntry = [Microsoft.Azure.PowerShell.Cmdlets.DynatraceObservability.Models.ManageAgentList]::new(); $listEntry.Id = $vmId
+$request = [Microsoft.Azure.PowerShell.Cmdlets.DynatraceObservability.Models.ManageAgentInstallationRequest]::new()
+$request.Action = 'Install'
+$request.ManageAgentInstallationList = @($listEntry)
+Invoke-AzDynatraceManageMonitorAgentInstallation -ResourceGroupName $rg -MonitorName $monitor -Request $request -PassThru
+```
-Invoke-AzDynatraceManageMonitorAgentInstallation -MonitorName "myDynatraceMonitor" -ResourceGroupName "myResourceGroup" -JsonString $json -PassThru
+Creates and submits a strongly-typed request object.
+
+### Example 4: Pipeline identity usage (monitor object)
+```powershell
+$monitorObj = Get-AzDynatraceMonitor -ResourceGroupName "myResourceGroup" -Name "myDynatraceMonitor" | Select-Object -First 1
+$vmId = "/subscriptions/$(Get-AzContext).Subscription.Id/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVm03"
+$entry = [Microsoft.Azure.PowerShell.Cmdlets.DynatraceObservability.Models.ManageAgentList]::new(); $entry.Id = $vmId
+$monitorObj | Invoke-AzDynatraceManageMonitorAgentInstallation -Action Install -ManageAgentInstallationList @($entry) -PassThru
+```
+
+Demonstrates identity parameter set by piping the monitor.
+
+### Example 5: JSON string input
+```powershell
+$rg = "myResourceGroup"; $monitor = "myDynatraceMonitor"; $vmId = "/subscriptions/$(Get-AzContext).Subscription.Id/resourceGroups/$rg/providers/Microsoft.Compute/virtualMachines/myVm04"
+$json = '{"action":"Install","manageAgentInstallationList":[{"id":"' + $vmId + '"}]}'
+Invoke-AzDynatraceManageMonitorAgentInstallation -ResourceGroupName $rg -MonitorName $monitor -JsonString $json -PassThru
+```
+
+Passes the request as raw JSON.
+
+### Example 6: JSON file path input
+```powershell
+$rg = "myResourceGroup"; $monitor = "myDynatraceMonitor"; $vmId = "/subscriptions/$(Get-AzContext).Subscription.Id/resourceGroups/$rg/providers/Microsoft.Compute/virtualMachines/myVm05"
+$path = Join-Path $PWD 'agent-install.json'
+@{ action = 'Install'; manageAgentInstallationList = @(@{ id = $vmId }) } | ConvertTo-Json -Depth 4 | Set-Content -Path $path -Encoding UTF8
+Invoke-AzDynatraceManageMonitorAgentInstallation -ResourceGroupName $rg -MonitorName $monitor -JsonFilePath $path -PassThru
+```
+
+Reads parameters from a JSON file.
+
+### Example 7: Uninstall using request object and identity pipeline
+```powershell
+$monitorObj = Get-AzDynatraceMonitor -ResourceGroupName "myResourceGroup" -Name "myDynatraceMonitor" | Select-Object -First 1
+$vmId = "/subscriptions/$(Get-AzContext).Subscription.Id/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVm09"
+$entry = [Microsoft.Azure.PowerShell.Cmdlets.DynatraceObservability.Models.ManageAgentList]::new(); $entry.Id = $vmId
+$req = [Microsoft.Azure.PowerShell.Cmdlets.DynatraceObservability.Models.ManageAgentInstallationRequest]::new(); $req.Action = 'Uninstall'; $req.ManageAgentInstallationList = @($entry)
+$monitorObj | Invoke-AzDynatraceManageMonitorAgentInstallation -Request $req -PassThru
```
-Provides the request payload as a JSON string to uninstall the Dynatrace agent from the target VM. Using -JsonString avoids manually constructing typed objects.
+Combines identity pipeline with the -Request parameter set.
## PARAMETERS
diff --git a/src/DynatraceObservability/DynatraceObservability.Autorest/docs/New-AzDynatraceMonitoredSubscription.md b/src/DynatraceObservability/DynatraceObservability.Autorest/docs/New-AzDynatraceMonitoredSubscription.md
index 59d56a151c58..bcf8d00a4e4c 100644
--- a/src/DynatraceObservability/DynatraceObservability.Autorest/docs/New-AzDynatraceMonitoredSubscription.md
+++ b/src/DynatraceObservability/DynatraceObservability.Autorest/docs/New-AzDynatraceMonitoredSubscription.md
@@ -38,35 +38,93 @@ Add the subscriptions that should be monitored by the Dynatrace monitor resource
## EXAMPLES
-### Example 1: Add subscriptions to monitoring using an object list
+### Example 1: Begin adding subscription monitoring (AddBegin)
```powershell
-$subIds = @("11111111-1111-1111-1111-111111111111","22222222-2222-2222-2222-222222222222")
-$list = @()
-foreach ($id in $subIds) {
- $entry = New-Object Microsoft.Azure.PowerShell.Cmdlets.DynatraceObservability.Models.MonitoredSubscription
- $entry.SubscriptionId = $id
- $list += $entry
-}
-
-New-AzDynatraceMonitoredSubscription -MonitorName "myDynatraceMonitor" -ResourceGroupName "myResourceGroup" -MonitoredSubscriptionList $list -Operation "Add"
+$rg = "myResourceGroup"
+$monitor = "myDynatraceMonitor"
+$subscriptionId = (Get-AzContext).Subscription.Id
+
+# Initiate monitoring relationship (AddBegin)
+$subs = @([Microsoft.Azure.PowerShell.Cmdlets.DynatraceObservability.Models.MonitoredSubscription]::new())
+$subs[0].Id = "/subscriptions/$subscriptionId"
+New-AzDynatraceMonitoredSubscription -ResourceGroupName $rg -MonitorName $monitor -MonitoredSubscriptionList $subs -Operation AddBegin
```
-Constructs an array of MonitoredSubscription objects and adds them to the Dynatrace monitor. Use -Operation "Add" to append monitoring entries.
+Starts the monitored subscription onboarding workflow.
+Some services require a follow-up AddComplete operation.
-### Example 2: Add a subscription via JSON payload file
+### Example 2: Complete add workflow (AddComplete)
```powershell
-$json = @{
- monitoredSubscriptionList = @(
- @{ subscriptionId = "33333333-3333-3333-3333-333333333333" }
- );
- operation = "Add"
-} | ConvertTo-Json -Depth 5
-$json | Out-File -FilePath .\addSubs.json -Encoding utf8
-
-New-AzDynatraceMonitoredSubscription -MonitorName "myDynatraceMonitor" -ResourceGroupName "myResourceGroup" -JsonFilePath .\addSubs.json
+$rg = "myResourceGroup"
+$monitor = "myDynatraceMonitor"
+$subscriptionId = (Get-AzContext).Subscription.Id
+$subs = @([Microsoft.Azure.PowerShell.Cmdlets.DynatraceObservability.Models.MonitoredSubscription]::new())
+$subs[0].Id = "/subscriptions/$subscriptionId"
+New-AzDynatraceMonitoredSubscription -ResourceGroupName $rg -MonitorName $monitor -MonitoredSubscriptionList $subs -Operation AddComplete
```
-Supplies the monitored subscription list and operation through a JSON file, useful for automation scenarios or larger batch updates.
+Finalizes the monitoring relationship after an earlier AddBegin.
+
+### Example 3: Create via JSON string
+```powershell
+$rg = "myResourceGroup"
+$monitor = "myDynatraceMonitor"
+$subscriptionId = (Get-AzContext).Subscription.Id
+$json = '{"monitoredSubscriptionList":[{"id":"/subscriptions/' + $subscriptionId + '"}],"operation":"AddBegin"}'
+New-AzDynatraceMonitoredSubscription -ResourceGroupName $rg -MonitorName $monitor -JsonString $json
+```
+
+Uses JSON payload rather than typed objects—helpful for automation or external template generation.
+
+### Example 4: Create via JSON file path
+```powershell
+$rg = "myResourceGroup"
+$monitor = "myDynatraceMonitor"
+$subscriptionId = (Get-AzContext).Subscription.Id
+$path = Join-Path $PWD 'monitored-subscription.json'
+@{ monitoredSubscriptionList = @(@{ id = "/subscriptions/$subscriptionId" }); operation = 'AddBegin' } | ConvertTo-Json -Depth 5 | Set-Content -Path $path -Encoding UTF8
+New-AzDynatraceMonitoredSubscription -ResourceGroupName $rg -MonitorName $monitor -JsonFilePath $path
+```
+
+Reads creation parameters from a JSON file on disk.
+
+### Example 5: Pipeline identity usage with expanded parameters
+```powershell
+$monitorObj = Get-AzDynatraceMonitor -ResourceGroupName "myResourceGroup" -Name "myDynatraceMonitor"
+$subscriptionId = (Get-AzContext).Subscription.Id
+$subObj = [Microsoft.Azure.PowerShell.Cmdlets.DynatraceObservability.Models.MonitoredSubscription]::new(); $subObj.Id = "/subscriptions/$subscriptionId"
+($monitorObj | New-AzDynatraceMonitoredSubscription -MonitoredSubscriptionList @($subObj) -Operation AddBegin)
+```
+
+Demonstrates identity parameter set by piping the monitor object.
+
+### Example 6: Dry run with -WhatIf
+```powershell
+$subscriptionId = (Get-AzContext).Subscription.Id
+$subObj = [Microsoft.Azure.PowerShell.Cmdlets.DynatraceObservability.Models.MonitoredSubscription]::new(); $subObj.Id = "/subscriptions/$subscriptionId"
+New-AzDynatraceMonitoredSubscription -ResourceGroupName "myResourceGroup" -MonitorName "myDynatraceMonitor" -MonitoredSubscriptionList @($subObj) -Operation AddBegin -WhatIf
+```
+
+Shows the operation details without persisting changes.
+
+### Example 7: JSON validation then completion
+```powershell
+$rg = "myResourceGroup"; $monitor = "myDynatraceMonitor"; $sid = (Get-AzContext).Subscription.Id
+$jsonBegin = '{"monitoredSubscriptionList":[{"id":"/subscriptions/' + $sid + '"}],"operation":"AddBegin"}'
+New-AzDynatraceMonitoredSubscription -ResourceGroupName $rg -MonitorName $monitor -JsonString $jsonBegin | Out-Null
+$jsonComplete = '{"monitoredSubscriptionList":[{"id":"/subscriptions/' + $sid + '"}],"operation":"AddComplete"}'
+New-AzDynatraceMonitoredSubscription -ResourceGroupName $rg -MonitorName $monitor -JsonString $jsonComplete
+```
+
+Executes the two-step add workflow entirely via JSON payloads.
+
+### Example 8: Verify monitored subscription list
+```powershell
+$rg = "myResourceGroup"; $monitor = "myDynatraceMonitor"
+Get-AzDynatraceMonitoredSubscription -ResourceGroupName $rg -MonitorName $monitor | Select-Object -First 1 | Format-List Id,Name,Type
+```
+
+Retrieves and inspects monitored subscription after creation.
## PARAMETERS
diff --git a/src/DynatraceObservability/DynatraceObservability.Autorest/docs/README.md b/src/DynatraceObservability/DynatraceObservability.Autorest/docs/README.md
index 4e196b61d31e..fafc89f4b6d5 100644
--- a/src/DynatraceObservability/DynatraceObservability.Autorest/docs/README.md
+++ b/src/DynatraceObservability/DynatraceObservability.Autorest/docs/README.md
@@ -1,5 +1,5 @@
# Docs
-This directory contains the documentation of the cmdlets for the `Az.DynatraceObservability` module. To run documentation generation, use the `generate-help.ps1` script at the root module folder. Files in this folder will *always be overridden on regeneration*. To update documentation examples, please use the `../examples` folder.
+This directory contains the documentation of the cmdlets for the `Az.DynatraceObservability` module. To run documentation generation, use the `generate-help.ps1` script at the root module folder. Files in this folder will *always be overridden on regeneration*. To update documentation examples, please use the `..\examples` folder.
## Info
- Modifiable: no
@@ -8,4 +8,4 @@ This directory contains the documentation of the cmdlets for the `Az.DynatraceOb
- Packaged: yes
## Details
-The process of documentation generation loads `Az.DynatraceObservability` and analyzes the exported cmdlets from the module. It recognizes the [help comments](https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_comment_based_help) that are generated into the scripts in the `../exports` folder. Additionally, when writing custom cmdlets in the `../custom` folder, you can use the help comments syntax, which decorate the exported scripts at build-time. The documentation examples are taken from the `../examples` folder.
\ No newline at end of file
+The process of documentation generation loads `Az.DynatraceObservability` and analyzes the exported cmdlets from the module. It recognizes the [help comments](https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_comment_based_help) that are generated into the scripts in the `..\exports` folder. Additionally, when writing custom cmdlets in the `..\custom` folder, you can use the help comments syntax, which decorate the exported scripts at build-time. The documentation examples are taken from the `..\examples` folder.
\ No newline at end of file
diff --git a/src/DynatraceObservability/DynatraceObservability.Autorest/docs/Remove-AzDynatraceMonitoredSubscription.md b/src/DynatraceObservability/DynatraceObservability.Autorest/docs/Remove-AzDynatraceMonitoredSubscription.md
index 5abfa76c6b45..147bb944ad27 100644
--- a/src/DynatraceObservability/DynatraceObservability.Autorest/docs/Remove-AzDynatraceMonitoredSubscription.md
+++ b/src/DynatraceObservability/DynatraceObservability.Autorest/docs/Remove-AzDynatraceMonitoredSubscription.md
@@ -30,21 +30,45 @@ Delete the subscriptions that are being monitored by the Dynatrace monitor resou
## EXAMPLES
-### Example 1: Remove monitoring for a single subscription
+### Example 1: Validate delete parameters (WhatIf)
```powershell
-$subId = (Get-AzContext).Subscription.Id
-Remove-AzDynatraceMonitoredSubscription -MonitorName "myDynatraceMonitor" -ResourceGroupName "myResourceGroup" -SubscriptionId $subId -PassThru
+$rg = "myResourceGroup"
+$monitor = "myDynatraceMonitor"
+Remove-AzDynatraceMonitoredSubscription -ResourceGroupName $rg -MonitorName $monitor -WhatIf
```
-Deletes the monitored subscription entry for the specified subscription. PassThru returns true when the deletion succeeds.
+Performs a dry run; this matches the recorded validation step.
-### Example 2: Run removal asynchronously as a background job
+### Example 2: Delete monitored subscription (explicit parameters)
```powershell
-$subId = "11111111-1111-1111-1111-111111111111"
-Remove-AzDynatraceMonitoredSubscription -MonitorName "myDynatraceMonitor" -ResourceGroupName "myResourceGroup" -SubscriptionId $subId -AsJob
+$rg = "myResourceGroup"
+$monitor = "myDynatraceMonitor"
+Remove-AzDynatraceMonitoredSubscription -ResourceGroupName $rg -MonitorName $monitor -Confirm:$false
```
-Starts the removal operation as a PowerShell job allowing you to continue other tasks while the deletion completes.
+Attempts deletion.
+If the backend is fully provisioned, this should succeed; otherwise you may see `ResourceDeletionFailed`.
+
+### Example 3: Idempotent second delete
+```powershell
+$rg = "myResourceGroup"
+$monitor = "myDynatraceMonitor"
+Remove-AzDynatraceMonitoredSubscription -ResourceGroupName $rg -MonitorName $monitor -Confirm:$false -ErrorAction SilentlyContinue
+```
+
+Safe to run again; if already deleted, no change occurs.
+
+### Example 4: Handle transient backend errors
+```powershell
+$rg = "myResourceGroup"; $monitor = "myDynatraceMonitor"
+try {
+ Remove-AzDynatraceMonitoredSubscription -ResourceGroupName $rg -MonitorName $monitor -Confirm:$false
+} catch {
+ Write-Warning "Deletion failed: $($_.Exception.Message). Retry after confirming the monitored subscription was fully created."
+}
+```
+
+Provides a pattern for handling intermittent service errors gracefully.
## PARAMETERS
diff --git a/src/DynatraceObservability/DynatraceObservability.Autorest/docs/Update-AzDynatraceMonitorPlan.md b/src/DynatraceObservability/DynatraceObservability.Autorest/docs/Update-AzDynatraceMonitorPlan.md
index d721e976138d..fecd909718d4 100644
--- a/src/DynatraceObservability/DynatraceObservability.Autorest/docs/Update-AzDynatraceMonitorPlan.md
+++ b/src/DynatraceObservability/DynatraceObservability.Autorest/docs/Update-AzDynatraceMonitorPlan.md
@@ -59,29 +59,96 @@ Upgrades the billing Plan for Dynatrace monitor resource.
## EXAMPLES
-### Example 1: Upgrade the plan using expanded parameters
+### Example 1: Upgrade a monitor plan using expanded parameters
```powershell
-Update-AzDynatraceMonitorPlan -MonitorName "myDynatraceMonitor" -ResourceGroupName "myResourceGroup" -PlanDataPlanDetail "enterprise-plan" -PlanDataUsageType "PAYG" -PlanDataBillingCycle "MONTHLY" -PlanDataEffectiveDate (Get-Date) -PassThru
+$rg = "myResourceGroup"
+$monitor = "myDynatraceMonitor"
+
+# Move from trial/preview plan to committed monthly plan
+$result = Update-AzDynatraceMonitorPlan -ResourceGroupName $rg -MonitorName $monitor `
+ -PlanDataUsageType COMMITTED `
+ -PlanDataBillingCycle "1-Month" `
+ -PlanDataPlanDetail "dynatrace_azure_enterprise@TIDgmz7xq9ge3py" `
+ -PlanDataEffectiveDate (Get-Date) -PassThru
```
-Upgrades the Dynatrace monitor to the specified plan (enterprise-plan) with PAYG usage type and a monthly billing cycle. PassThru returns true on success.
+```output
+True
+```
+
+Updates the monitor's billing plan directly by specifying each field.
+Returns True on success.
+
+### Example 2: Use a request object (Upgrade parameter set)
+```powershell
+$rg = "myResourceGroup"
+$monitor = "myDynatraceMonitor"
+
+# Construct upgrade request object
+$req = [Microsoft.Azure.PowerShell.Cmdlets.DynatraceObservability.Models.UpgradePlanRequest]::new()
+$req.PlanData = [Microsoft.Azure.PowerShell.Cmdlets.DynatraceObservability.Models.PlanData]::new()
+$req.PlanData.UsageType = "COMMITTED"
+$req.PlanData.BillingCycle = "1-Month"
+$req.PlanData.PlanDetails = "dynatrace_azure_enterprise@TIDgmz7xq9ge3py"
+$req.PlanData.EffectiveDate = Get-Date
+
+$ok = Update-AzDynatraceMonitorPlan -ResourceGroupName $rg -MonitorName $monitor -Request $req -PassThru
+```
+
+```output
+True
+```
+
+Shows how to supply all plan data via the -Request object instead of individual parameters.
+
+### Example 3: Pipeline identity usage
+```powershell
+$rg = "myResourceGroup"
+$monitor = "myDynatraceMonitor"
+
+Get-AzDynatraceMonitor -ResourceGroupName $rg -Name $monitor | \
+ Update-AzDynatraceMonitorPlan -PlanDataUsageType COMMITTED -PlanDataBillingCycle "1-Month" -PlanDataPlanDetail "dynatrace_azure_enterprise@TIDgmz7xq9ge3py" -PassThru
+```
-### Example 2: Upgrade the plan using a JSON file
+Performs the upgrade by piping the monitor object (identity) and specifying expanded plan fields.
+
+### Example 4: JSON string input
+```powershell
+$rg = "myResourceGroup"
+$monitor = "myDynatraceMonitor"
+$json = '{"planData":{"usageType":"COMMITTED","billingCycle":"1-Month","planDetails":"dynatrace_azure_enterprise@TIDgmz7xq9ge3py","effectiveDate":"' + (Get-Date).ToString("o") + '"}}'
+Update-AzDynatraceMonitorPlan -ResourceGroupName $rg -MonitorName $monitor -JsonString $json -PassThru
+```
+
+Passes plan properties as a JSON string.
+Useful for scripting scenarios where you materialize JSON externally.
+
+### Example 5: JSON file path input
+```powershell
+$rg = "myResourceGroup"
+$monitor = "myDynatraceMonitor"
+$jsonPath = Join-Path $PWD 'upgrade-plan.json'
+@{ planData = @{ usageType = 'COMMITTED'; billingCycle = '1-Month'; planDetails = 'dynatrace_azure_enterprise@TIDgmz7xq9ge3py'; effectiveDate = (Get-Date) } } | ConvertTo-Json -Depth 5 | Set-Content -Path $jsonPath -Encoding UTF8
+Update-AzDynatraceMonitorPlan -ResourceGroupName $rg -MonitorName $monitor -JsonFilePath $jsonPath -PassThru
+```
+
+Reads the plan update payload from a JSON file on disk.
+
+### Example 6: Dry run with -WhatIf
```powershell
-$json = @{
- planData = @{
- planDetail = "premium-plan";
- usageType = "COMMITTED";
- billingCycle = "MONTHLY";
- effectiveDate = (Get-Date).ToString("o")
- }
-} | ConvertTo-Json -Depth 5
-$json | Out-File -FilePath .\upgradePlan.json -Encoding utf8
+Update-AzDynatraceMonitorPlan -ResourceGroupName "myResourceGroup" -MonitorName "myDynatraceMonitor" -PlanDataUsageType COMMITTED -PlanDataBillingCycle "1-Month" -PlanDataPlanDetail "dynatrace_azure_enterprise@TIDgmz7xq9ge3py" -WhatIf
+```
+
+Shows what would change without performing the actual update.
-Update-AzDynatraceMonitorPlan -MonitorName "myDynatraceMonitor" -ResourceGroupName "myResourceGroup" -JsonFilePath .\upgradePlan.json -PassThru
+### Example 7: Verify plan after update
+```powershell
+Update-AzDynatraceMonitorPlan -ResourceGroupName $rg -MonitorName $monitor -PlanDataUsageType COMMITTED -PlanDataBillingCycle "1-Month" -PlanDataPlanDetail "dynatrace_azure_enterprise@TIDgmz7xq9ge3py" -PassThru | Out-Null
+$updated = Get-AzDynatraceMonitor -ResourceGroupName $rg -Name $monitor
+$updated.planData | Format-List UsageType,BillingCycle,PlanDetails,EffectiveDate
```
-Provides the upgrade request body via JSON, useful for automation or storing predefined plan configurations.
+Retrieves the monitor to validate the new plan details after a successful upgrade.
## PARAMETERS
diff --git a/src/DynatraceObservability/DynatraceObservability.Autorest/resources/README.md b/src/DynatraceObservability/DynatraceObservability.Autorest/resources/README.md
deleted file mode 100644
index 736492341e3d..000000000000
--- a/src/DynatraceObservability/DynatraceObservability.Autorest/resources/README.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# Resources
-This directory can contain any additional resources for module that are not required at runtime. This directory **does not** get packaged with the module. If you have assets for custom implementation, place them into the `../custom` folder.
-
-## Info
-- Modifiable: yes
-- Generated: no
-- Committed: yes
-- Packaged: no
-
-## Purpose
-Use this folder to put anything you want to keep around as part of the repository for the module, but is not something that is required for the module. For example, development files, packaged builds, or additional information. This is only intended to be used in repositories where the module's output directory is cleaned, but tangential resources for the module want to remain intact.
\ No newline at end of file
diff --git a/src/DynatraceObservability/DynatraceObservability.Autorest/test/README.md b/src/DynatraceObservability/DynatraceObservability.Autorest/test/README.md
index 1969200c6a09..7c752b4c8c43 100644
--- a/src/DynatraceObservability/DynatraceObservability.Autorest/test/README.md
+++ b/src/DynatraceObservability/DynatraceObservability.Autorest/test/README.md
@@ -1,5 +1,5 @@
# Test
-This directory contains the [Pester](https://www.powershellgallery.com/packages/Pester) tests to run for the module. We use Pester as it is the unofficial standard for PowerShell unit testing. Test stubs for custom cmdlets (created in `../custom`) will be generated into this folder when `build-module.ps1` is ran. These test stubs will fail automatically, to indicate that tests should be written for custom cmdlets.
+This directory contains the [Pester](https://www.powershellgallery.com/packages/Pester) tests to run for the module. We use Pester as it is the unofficial standard for PowerShell unit testing. Test stubs for custom cmdlets (created in `..\custom`) will be generated into this folder when `build-module.ps1` is ran. These test stubs will fail automatically, to indicate that tests should be written for custom cmdlets.
## Info
- Modifiable: yes
diff --git a/src/DynatraceObservability/DynatraceObservability/AutorestUpgradeLog.md b/src/DynatraceObservability/DynatraceObservability/AutorestUpgradeLog.md
new file mode 100644
index 000000000000..a036e7982510
--- /dev/null
+++ b/src/DynatraceObservability/DynatraceObservability/AutorestUpgradeLog.md
@@ -0,0 +1,2 @@
+## Autorest upgrade log
+* Autorest version: 4.0.752 - 26-01-16
diff --git a/src/DynatraceObservability/DynatraceObservability/ChangeLog.md b/src/DynatraceObservability/DynatraceObservability/ChangeLog.md
index 57fc1189ffe3..1dbf71736b00 100644
--- a/src/DynatraceObservability/DynatraceObservability/ChangeLog.md
+++ b/src/DynatraceObservability/DynatraceObservability/ChangeLog.md
@@ -18,6 +18,7 @@
- Additional information about change #1
-->
## Upcoming Release
+* Fix console close issue by upgrading with autorest v4.0.752
## Version 0.4.0
* Added complete help examples for Dynatrace Observability cmdlets
diff --git a/src/EdgeAction/EdgeAction.Autorest/Properties/AssemblyInfo.cs b/src/EdgeAction/EdgeAction.Autorest/Properties/AssemblyInfo.cs
index 6cd3b4ed6acd..150a4afb49b5 100644
--- a/src/EdgeAction/EdgeAction.Autorest/Properties/AssemblyInfo.cs
+++ b/src/EdgeAction/EdgeAction.Autorest/Properties/AssemblyInfo.cs
@@ -20,9 +20,7 @@
[assembly: System.Reflection.AssemblyCopyrightAttribute("Copyright © Microsoft")]
[assembly: System.Reflection.AssemblyProductAttribute("Microsoft Azure PowerShell")]
[assembly: System.Reflection.AssemblyTitleAttribute("Microsoft Azure PowerShell - EdgeAction")]
-[assembly: System.Reflection.AssemblyFileVersionAttribute("0.1.0")]
-[assembly: System.Reflection.AssemblyVersionAttribute("0.1.0")]
+[assembly: System.Reflection.AssemblyFileVersionAttribute("0.1.0.0")]
+[assembly: System.Reflection.AssemblyVersionAttribute("0.1.0.0")]
[assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)]
-[assembly: System.CLSCompliantAttribute(false)]
-
-
+[assembly: System.CLSCompliantAttribute(false)]
\ No newline at end of file
diff --git a/src/EdgeAction/EdgeAction.Autorest/docs/Az.EdgeAction.md b/src/EdgeAction/EdgeAction.Autorest/docs/Az.EdgeAction.md
index ef1cdc14f22f..024b4ac80b4e 100644
--- a/src/EdgeAction/EdgeAction.Autorest/docs/Az.EdgeAction.md
+++ b/src/EdgeAction/EdgeAction.Autorest/docs/Az.EdgeAction.md
@@ -1,6 +1,6 @@
---
Module Name: Az.EdgeAction
-Module Guid: 172d8b71-731b-43bd-ab49-2d5b27a1486d
+Module Guid: 61778228-04e2-4608-b40c-00b4f20ed410
Download Help Link: https://learn.microsoft.com/powershell/module/az.edgeaction
Help Version: 1.0.0.0
Locale: en-US
@@ -24,7 +24,7 @@ Get a EdgeActionExecutionFilter
Get a EdgeActionVersion
### [Get-AzEdgeActionVersionCode](Get-AzEdgeActionVersionCode.md)
-A long-running resource action.
+Get Edge Action version code and optionally save to file.
### [New-AzEdgeAction](New-AzEdgeAction.md)
Create a EdgeAction
@@ -45,7 +45,7 @@ Delete a EdgeActionExecutionFilter
Delete a EdgeActionVersion
### [Switch-AzEdgeActionVersionDefault](Switch-AzEdgeActionVersionDefault.md)
-A long-running resource action.
+Swap the default version for an Edge Action.
### [Update-AzEdgeAction](Update-AzEdgeAction.md)
Update a EdgeAction
diff --git a/src/EdgeAction/EdgeAction.Autorest/docs/Get-AzEdgeActionVersionCode.md b/src/EdgeAction/EdgeAction.Autorest/docs/Get-AzEdgeActionVersionCode.md
index 4fab0b89b2ac..2707070d9fe1 100644
--- a/src/EdgeAction/EdgeAction.Autorest/docs/Get-AzEdgeActionVersionCode.md
+++ b/src/EdgeAction/EdgeAction.Autorest/docs/Get-AzEdgeActionVersionCode.md
@@ -8,7 +8,7 @@ schema: 2.0.0
# Get-AzEdgeActionVersionCode
## SYNOPSIS
-A long-running resource action.
+Get Edge Action version code and optionally save to file.
## SYNTAX
@@ -18,13 +18,6 @@ Get-AzEdgeActionVersionCode -EdgeActionName -ResourceGroupName
[-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] []
```
-### Get
-```
-Get-AzEdgeActionVersionCode -EdgeActionName -ResourceGroupName -Version
- [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf]
- []
-```
-
### GetAndSaveCustom
```
Get-AzEdgeActionVersionCode -EdgeActionName -ResourceGroupName -Version
@@ -32,20 +25,11 @@ Get-AzEdgeActionVersionCode -EdgeActionName -ResourceGroupName
[]
```
-### GetViaIdentity
-```
-Get-AzEdgeActionVersionCode -InputObject [-DefaultProfile ] [-AsJob] [-NoWait]
- [-Confirm] [-WhatIf] []
-```
-
-### GetViaIdentityEdgeAction
-```
-Get-AzEdgeActionVersionCode -EdgeActionInputObject -Version
- [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] []
-```
-
## DESCRIPTION
-A long-running resource action.
+A long-running resource action that retrieves the version code for an Edge Action version.
+When the -OutputPath parameter is specified, the base64-encoded content is decoded and saved
+as a zip file to the specified directory.
+Otherwise, returns the raw response with base64 content.
## EXAMPLES
@@ -95,8 +79,7 @@ Accept wildcard characters: False
```
### -DefaultProfile
-The DefaultProfile parameter is not functional.
-Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
+The credentials, account, tenant, and subscription used for communication with Azure.
```yaml
Type: System.Management.Automation.PSObject
@@ -110,27 +93,12 @@ Accept pipeline input: False
Accept wildcard characters: False
```
-### -EdgeActionInputObject
-Identity Parameter
-
-```yaml
-Type: Microsoft.Azure.PowerShell.Cmdlets.EdgeAction.Models.IEdgeActionIdentity
-Parameter Sets: GetViaIdentityEdgeAction
-Aliases:
-
-Required: True
-Position: Named
-Default value: None
-Accept pipeline input: True (ByValue)
-Accept wildcard characters: False
-```
-
### -EdgeActionName
The name of the Edge Action
```yaml
Type: System.String
-Parameter Sets: Get, GetAndSaveCustom, GetCustom
+Parameter Sets: (All)
Aliases:
Required: True
@@ -140,21 +108,6 @@ Accept pipeline input: False
Accept wildcard characters: False
```
-### -InputObject
-Identity Parameter
-
-```yaml
-Type: Microsoft.Azure.PowerShell.Cmdlets.EdgeAction.Models.IEdgeActionIdentity
-Parameter Sets: GetViaIdentity
-Aliases:
-
-Required: True
-Position: Named
-Default value: None
-Accept pipeline input: True (ByValue)
-Accept wildcard characters: False
-```
-
### -NoWait
Run the command asynchronously
@@ -191,7 +144,7 @@ The name is case insensitive.
```yaml
Type: System.String
-Parameter Sets: Get, GetAndSaveCustom, GetCustom
+Parameter Sets: (All)
Aliases:
Required: True
@@ -207,7 +160,7 @@ The value must be an UUID.
```yaml
Type: System.String[]
-Parameter Sets: Get, GetAndSaveCustom, GetCustom
+Parameter Sets: (All)
Aliases:
Required: False
@@ -222,7 +175,7 @@ The name of the Edge Action version
```yaml
Type: System.String
-Parameter Sets: Get, GetAndSaveCustom, GetCustom, GetViaIdentityEdgeAction
+Parameter Sets: (All)
Aliases:
Required: True
@@ -232,44 +185,11 @@ Accept pipeline input: False
Accept wildcard characters: False
```
-### -Confirm
-Prompts you for confirmation before running the cmdlet.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
-
-### -WhatIf
-Shows what would happen if the cmdlet runs.
-The cmdlet is not run.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: wi
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
-
### CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
## INPUTS
-### Microsoft.Azure.PowerShell.Cmdlets.EdgeAction.Models.IEdgeActionIdentity
-
## OUTPUTS
### Microsoft.Azure.PowerShell.Cmdlets.EdgeAction.Models.IVersionCode
diff --git a/src/EdgeAction/EdgeAction.Autorest/docs/Switch-AzEdgeActionVersionDefault.md b/src/EdgeAction/EdgeAction.Autorest/docs/Switch-AzEdgeActionVersionDefault.md
index 70d721b89d93..e4d28ab2efcd 100644
--- a/src/EdgeAction/EdgeAction.Autorest/docs/Switch-AzEdgeActionVersionDefault.md
+++ b/src/EdgeAction/EdgeAction.Autorest/docs/Switch-AzEdgeActionVersionDefault.md
@@ -8,38 +8,19 @@ schema: 2.0.0
# Switch-AzEdgeActionVersionDefault
## SYNOPSIS
-A long-running resource action.
+Swap the default version for an Edge Action.
## SYNTAX
-### SwapCustom (Default)
```
Switch-AzEdgeActionVersionDefault -EdgeActionName -ResourceGroupName -Version
[-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf]
[]
```
-### Swap
-```
-Switch-AzEdgeActionVersionDefault -EdgeActionName -ResourceGroupName -Version
- [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf]
- []
-```
-
-### SwapViaIdentity
-```
-Switch-AzEdgeActionVersionDefault -InputObject [-DefaultProfile ] [-AsJob]
- [-NoWait] [-PassThru] [-Confirm] [-WhatIf] []
-```
-
-### SwapViaIdentityEdgeAction
-```
-Switch-AzEdgeActionVersionDefault -EdgeActionInputObject -Version
- [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] []
-```
-
## DESCRIPTION
-A long-running resource action.
+A long-running resource action that swaps the default version for an Edge Action.
+This operation makes the specified version the new default version.
## EXAMPLES
@@ -75,8 +56,7 @@ Accept wildcard characters: False
```
### -DefaultProfile
-The DefaultProfile parameter is not functional.
-Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
+The credentials, account, tenant, and subscription used for communication with Azure.
```yaml
Type: System.Management.Automation.PSObject
@@ -90,27 +70,12 @@ Accept pipeline input: False
Accept wildcard characters: False
```
-### -EdgeActionInputObject
-Identity Parameter
-
-```yaml
-Type: Microsoft.Azure.PowerShell.Cmdlets.EdgeAction.Models.IEdgeActionIdentity
-Parameter Sets: SwapViaIdentityEdgeAction
-Aliases:
-
-Required: True
-Position: Named
-Default value: None
-Accept pipeline input: True (ByValue)
-Accept wildcard characters: False
-```
-
### -EdgeActionName
The name of the Edge Action
```yaml
Type: System.String
-Parameter Sets: Swap, SwapCustom
+Parameter Sets: (All)
Aliases:
Required: True
@@ -120,21 +85,6 @@ Accept pipeline input: False
Accept wildcard characters: False
```
-### -InputObject
-Identity Parameter
-
-```yaml
-Type: Microsoft.Azure.PowerShell.Cmdlets.EdgeAction.Models.IEdgeActionIdentity
-Parameter Sets: SwapViaIdentity
-Aliases:
-
-Required: True
-Position: Named
-Default value: None
-Accept pipeline input: True (ByValue)
-Accept wildcard characters: False
-```
-
### -NoWait
Run the command asynchronously
@@ -171,7 +121,7 @@ The name is case insensitive.
```yaml
Type: System.String
-Parameter Sets: Swap, SwapCustom
+Parameter Sets: (All)
Aliases:
Required: True
@@ -187,7 +137,7 @@ The value must be an UUID.
```yaml
Type: System.String
-Parameter Sets: Swap, SwapCustom
+Parameter Sets: (All)
Aliases:
Required: False
@@ -198,11 +148,11 @@ Accept wildcard characters: False
```
### -Version
-The name of the Edge Action version
+The name of the Edge Action version to make the default
```yaml
Type: System.String
-Parameter Sets: Swap, SwapCustom, SwapViaIdentityEdgeAction
+Parameter Sets: (All)
Aliases:
Required: True
@@ -248,8 +198,6 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
## INPUTS
-### Microsoft.Azure.PowerShell.Cmdlets.EdgeAction.Models.IEdgeActionIdentity
-
## OUTPUTS
### System.Boolean
diff --git a/src/EdgeAction/EdgeAction/AutorestUpgradeLog.md b/src/EdgeAction/EdgeAction/AutorestUpgradeLog.md
new file mode 100644
index 000000000000..a036e7982510
--- /dev/null
+++ b/src/EdgeAction/EdgeAction/AutorestUpgradeLog.md
@@ -0,0 +1,2 @@
+## Autorest upgrade log
+* Autorest version: 4.0.752 - 26-01-16
diff --git a/src/EdgeAction/EdgeAction/ChangeLog.md b/src/EdgeAction/EdgeAction/ChangeLog.md
index 0d6e0a8c801c..9c75f7f0d22c 100644
--- a/src/EdgeAction/EdgeAction/ChangeLog.md
+++ b/src/EdgeAction/EdgeAction/ChangeLog.md
@@ -19,6 +19,7 @@
-->
## Upcoming Release
+* Fix console close issue by upgrading with autorest v4.0.752
* Updated to API version 2025-12-01-preview
* Removed `Add-AzEdgeActionAttachment` cmdlet (operation no longer available in API)
* Removed `Remove-AzEdgeActionAttachment` cmdlet (operation no longer available in API)
diff --git a/src/PaloAltoNetworks/PaloAltoNetworks.Autorest/Properties/AssemblyInfo.cs b/src/PaloAltoNetworks/PaloAltoNetworks.Autorest/Properties/AssemblyInfo.cs
index f2f42f8f924b..1eae19336d39 100644
--- a/src/PaloAltoNetworks/PaloAltoNetworks.Autorest/Properties/AssemblyInfo.cs
+++ b/src/PaloAltoNetworks/PaloAltoNetworks.Autorest/Properties/AssemblyInfo.cs
@@ -20,7 +20,7 @@
[assembly: System.Reflection.AssemblyCopyrightAttribute("Copyright © Microsoft")]
[assembly: System.Reflection.AssemblyProductAttribute("Microsoft Azure PowerShell")]
[assembly: System.Reflection.AssemblyTitleAttribute("Microsoft Azure PowerShell - PaloAltoNetworks")]
-[assembly: System.Reflection.AssemblyFileVersionAttribute("0.3.1")]
-[assembly: System.Reflection.AssemblyVersionAttribute("0.3.1")]
+[assembly: System.Reflection.AssemblyFileVersionAttribute("0.1.0.0")]
+[assembly: System.Reflection.AssemblyVersionAttribute("0.1.0.0")]
[assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)]
-[assembly: System.CLSCompliantAttribute(false)]
+[assembly: System.CLSCompliantAttribute(false)]
\ No newline at end of file
diff --git a/src/PaloAltoNetworks/PaloAltoNetworks.Autorest/docs/Az.PaloAltoNetworks.md b/src/PaloAltoNetworks/PaloAltoNetworks.Autorest/docs/Az.PaloAltoNetworks.md
index d37732b19cbe..080c520135d6 100644
--- a/src/PaloAltoNetworks/PaloAltoNetworks.Autorest/docs/Az.PaloAltoNetworks.md
+++ b/src/PaloAltoNetworks/PaloAltoNetworks.Autorest/docs/Az.PaloAltoNetworks.md
@@ -1,6 +1,6 @@
---
Module Name: Az.PaloAltoNetworks
-Module Guid: 1f435755-1cd0-405c-8310-d600d24827ee
+Module Guid: 6c4c72bf-6e75-4464-ba2a-d93ddc62cf35
Download Help Link: https://learn.microsoft.com/powershell/module/az.paloaltonetworks
Help Version: 1.0.0.0
Locale: en-US
diff --git a/src/PaloAltoNetworks/PaloAltoNetworks.Autorest/docs/Get-AzPaloAltoNetworksMetricsObjectFirewall.md b/src/PaloAltoNetworks/PaloAltoNetworks.Autorest/docs/Get-AzPaloAltoNetworksMetricsObjectFirewall.md
index 763404ae9b16..0b2f206228eb 100644
--- a/src/PaloAltoNetworks/PaloAltoNetworks.Autorest/docs/Get-AzPaloAltoNetworksMetricsObjectFirewall.md
+++ b/src/PaloAltoNetworks/PaloAltoNetworks.Autorest/docs/Get-AzPaloAltoNetworksMetricsObjectFirewall.md
@@ -1,5 +1,5 @@
---
-external help file: Az.PaloAltoNetworks-help.xml
+external help file:
Module Name: Az.PaloAltoNetworks
online version: https://learn.microsoft.com/powershell/module/az.paloaltonetworks/get-azpaloaltonetworksmetricsobjectfirewall
schema: 2.0.0
diff --git a/src/PaloAltoNetworks/PaloAltoNetworks.Autorest/docs/Get-AzPaloAltoNetworksPaloAltoNetworksCloudngfwOperationCloudManagerTenant.md b/src/PaloAltoNetworks/PaloAltoNetworks.Autorest/docs/Get-AzPaloAltoNetworksPaloAltoNetworksCloudngfwOperationCloudManagerTenant.md
index c225c844b08c..76a0b706e182 100644
--- a/src/PaloAltoNetworks/PaloAltoNetworks.Autorest/docs/Get-AzPaloAltoNetworksPaloAltoNetworksCloudngfwOperationCloudManagerTenant.md
+++ b/src/PaloAltoNetworks/PaloAltoNetworks.Autorest/docs/Get-AzPaloAltoNetworksPaloAltoNetworksCloudngfwOperationCloudManagerTenant.md
@@ -1,5 +1,5 @@
---
-external help file: Az.PaloAltoNetworks-help.xml
+external help file:
Module Name: Az.PaloAltoNetworks
online version: https://learn.microsoft.com/powershell/module/az.paloaltonetworks/get-azpaloaltonetworkspaloaltonetworkscloudngfwoperationcloudmanagertenant
schema: 2.0.0
@@ -8,7 +8,7 @@ schema: 2.0.0
# Get-AzPaloAltoNetworksPaloAltoNetworksCloudngfwOperationCloudManagerTenant
## SYNOPSIS
-Get Cloud Manager Tenants for a subscription
+
## SYNTAX
@@ -18,7 +18,6 @@ Get-AzPaloAltoNetworksPaloAltoNetworksCloudngfwOperationCloudManagerTenant [-Sub
```
## DESCRIPTION
-Get Cloud Manager Tenants for a subscription
## EXAMPLES
diff --git a/src/PaloAltoNetworks/PaloAltoNetworks.Autorest/docs/Get-AzPaloAltoNetworksPaloAltoNetworksCloudngfwOperationProductSerialNumberStatus.md b/src/PaloAltoNetworks/PaloAltoNetworks.Autorest/docs/Get-AzPaloAltoNetworksPaloAltoNetworksCloudngfwOperationProductSerialNumberStatus.md
index 3faaa579fa16..8951dea40d28 100644
--- a/src/PaloAltoNetworks/PaloAltoNetworks.Autorest/docs/Get-AzPaloAltoNetworksPaloAltoNetworksCloudngfwOperationProductSerialNumberStatus.md
+++ b/src/PaloAltoNetworks/PaloAltoNetworks.Autorest/docs/Get-AzPaloAltoNetworksPaloAltoNetworksCloudngfwOperationProductSerialNumberStatus.md
@@ -1,5 +1,5 @@
---
-external help file: Az.PaloAltoNetworks-help.xml
+external help file:
Module Name: Az.PaloAltoNetworks
online version: https://learn.microsoft.com/powershell/module/az.paloaltonetworks/get-azpaloaltonetworkspaloaltonetworkscloudngfwoperationproductserialnumberstatus
schema: 2.0.0
@@ -8,7 +8,7 @@ schema: 2.0.0
# Get-AzPaloAltoNetworksPaloAltoNetworksCloudngfwOperationProductSerialNumberStatus
## SYNOPSIS
-Get Product serial number status
+
## SYNTAX
@@ -18,7 +18,6 @@ Get-AzPaloAltoNetworksPaloAltoNetworksCloudngfwOperationProductSerialNumberStatu
```
## DESCRIPTION
-Get Product serial number status
## EXAMPLES
diff --git a/src/PaloAltoNetworks/PaloAltoNetworks.Autorest/docs/Get-AzPaloAltoNetworksPaloAltoNetworksCloudngfwOperationSupportInfo.md b/src/PaloAltoNetworks/PaloAltoNetworks.Autorest/docs/Get-AzPaloAltoNetworksPaloAltoNetworksCloudngfwOperationSupportInfo.md
index a9904abbb72d..7e7f4e3c3db6 100644
--- a/src/PaloAltoNetworks/PaloAltoNetworks.Autorest/docs/Get-AzPaloAltoNetworksPaloAltoNetworksCloudngfwOperationSupportInfo.md
+++ b/src/PaloAltoNetworks/PaloAltoNetworks.Autorest/docs/Get-AzPaloAltoNetworksPaloAltoNetworksCloudngfwOperationSupportInfo.md
@@ -1,5 +1,5 @@
---
-external help file: Az.PaloAltoNetworks-help.xml
+external help file:
Module Name: Az.PaloAltoNetworks
online version: https://learn.microsoft.com/powershell/module/az.paloaltonetworks/get-azpaloaltonetworkspaloaltonetworkscloudngfwoperationsupportinfo
schema: 2.0.0
@@ -8,7 +8,7 @@ schema: 2.0.0
# Get-AzPaloAltoNetworksPaloAltoNetworksCloudngfwOperationSupportInfo
## SYNOPSIS
-Get Support information for the subscription
+
## SYNTAX
@@ -18,7 +18,6 @@ Get-AzPaloAltoNetworksPaloAltoNetworksCloudngfwOperationSupportInfo [-Subscripti
```
## DESCRIPTION
-Get Support information for the subscription
## EXAMPLES
diff --git a/src/PaloAltoNetworks/PaloAltoNetworks.Autorest/docs/New-AzPaloAltoNetworksMetricsObjectFirewall.md b/src/PaloAltoNetworks/PaloAltoNetworks.Autorest/docs/New-AzPaloAltoNetworksMetricsObjectFirewall.md
index 09eef4c88492..612bbd293045 100644
--- a/src/PaloAltoNetworks/PaloAltoNetworks.Autorest/docs/New-AzPaloAltoNetworksMetricsObjectFirewall.md
+++ b/src/PaloAltoNetworks/PaloAltoNetworks.Autorest/docs/New-AzPaloAltoNetworksMetricsObjectFirewall.md
@@ -1,5 +1,5 @@
---
-external help file: Az.PaloAltoNetworks-help.xml
+external help file:
Module Name: Az.PaloAltoNetworks
online version: https://learn.microsoft.com/powershell/module/az.paloaltonetworks/new-azpaloaltonetworksmetricsobjectfirewall
schema: 2.0.0
diff --git a/src/PaloAltoNetworks/PaloAltoNetworks.Autorest/docs/New-AzPaloAltoNetworksPaloAltoNetworksCloudngfwOperationProductSerialNumber.md b/src/PaloAltoNetworks/PaloAltoNetworks.Autorest/docs/New-AzPaloAltoNetworksPaloAltoNetworksCloudngfwOperationProductSerialNumber.md
index 3e523b40a18e..b916f1d35522 100644
--- a/src/PaloAltoNetworks/PaloAltoNetworks.Autorest/docs/New-AzPaloAltoNetworksPaloAltoNetworksCloudngfwOperationProductSerialNumber.md
+++ b/src/PaloAltoNetworks/PaloAltoNetworks.Autorest/docs/New-AzPaloAltoNetworksPaloAltoNetworksCloudngfwOperationProductSerialNumber.md
@@ -1,5 +1,5 @@
---
-external help file: Az.PaloAltoNetworks-help.xml
+external help file:
Module Name: Az.PaloAltoNetworks
online version: https://learn.microsoft.com/powershell/module/az.paloaltonetworks/new-azpaloaltonetworkspaloaltonetworkscloudngfwoperationproductserialnumber
schema: 2.0.0
@@ -8,7 +8,7 @@ schema: 2.0.0
# New-AzPaloAltoNetworksPaloAltoNetworksCloudngfwOperationProductSerialNumber
## SYNOPSIS
-Create product serial number
+
## SYNTAX
@@ -18,7 +18,6 @@ New-AzPaloAltoNetworksPaloAltoNetworksCloudngfwOperationProductSerialNumber [-Su
```
## DESCRIPTION
-Create product serial number
## EXAMPLES
diff --git a/src/PaloAltoNetworks/PaloAltoNetworks.Autorest/docs/Remove-AzPaloAltoNetworksMetricsObjectFirewall.md b/src/PaloAltoNetworks/PaloAltoNetworks.Autorest/docs/Remove-AzPaloAltoNetworksMetricsObjectFirewall.md
index f2bc62ff5eb2..cedf8d6d6aff 100644
--- a/src/PaloAltoNetworks/PaloAltoNetworks.Autorest/docs/Remove-AzPaloAltoNetworksMetricsObjectFirewall.md
+++ b/src/PaloAltoNetworks/PaloAltoNetworks.Autorest/docs/Remove-AzPaloAltoNetworksMetricsObjectFirewall.md
@@ -1,5 +1,5 @@
---
-external help file: Az.PaloAltoNetworks-help.xml
+external help file:
Module Name: Az.PaloAltoNetworks
online version: https://learn.microsoft.com/powershell/module/az.paloaltonetworks/remove-azpaloaltonetworksmetricsobjectfirewall
schema: 2.0.0
diff --git a/src/PaloAltoNetworks/PaloAltoNetworks.Autorest/docs/Update-AzPaloAltoNetworksFirewall.md b/src/PaloAltoNetworks/PaloAltoNetworks.Autorest/docs/Update-AzPaloAltoNetworksFirewall.md
index 801b9c20f3a0..480d7e5ff3b9 100644
--- a/src/PaloAltoNetworks/PaloAltoNetworks.Autorest/docs/Update-AzPaloAltoNetworksFirewall.md
+++ b/src/PaloAltoNetworks/PaloAltoNetworks.Autorest/docs/Update-AzPaloAltoNetworksFirewall.md
@@ -81,7 +81,7 @@ Accept wildcard characters: False
Determines whether to enable a system-assigned identity for the resource.
```yaml
-Type: System.Nullable`1[[System.Boolean, System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]
+Type: System.Nullable`1[[System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]
Parameter Sets: (All)
Aliases:
diff --git a/src/PaloAltoNetworks/PaloAltoNetworks.Autorest/docs/Update-AzPaloAltoNetworksLocalRulestack.md b/src/PaloAltoNetworks/PaloAltoNetworks.Autorest/docs/Update-AzPaloAltoNetworksLocalRulestack.md
index 3f4a657a8e62..0309c9f1cbb2 100644
--- a/src/PaloAltoNetworks/PaloAltoNetworks.Autorest/docs/Update-AzPaloAltoNetworksLocalRulestack.md
+++ b/src/PaloAltoNetworks/PaloAltoNetworks.Autorest/docs/Update-AzPaloAltoNetworksLocalRulestack.md
@@ -81,7 +81,7 @@ Accept wildcard characters: False
Determines whether to enable a system-assigned identity for the resource.
```yaml
-Type: System.Nullable`1[[System.Boolean, System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]
+Type: System.Nullable`1[[System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]
Parameter Sets: (All)
Aliases:
diff --git a/src/PaloAltoNetworks/PaloAltoNetworks.Autorest/docs/Update-AzPaloAltoNetworksMetricsObjectFirewall.md b/src/PaloAltoNetworks/PaloAltoNetworks.Autorest/docs/Update-AzPaloAltoNetworksMetricsObjectFirewall.md
index 8e9425b5bacd..17c93f22b255 100644
--- a/src/PaloAltoNetworks/PaloAltoNetworks.Autorest/docs/Update-AzPaloAltoNetworksMetricsObjectFirewall.md
+++ b/src/PaloAltoNetworks/PaloAltoNetworks.Autorest/docs/Update-AzPaloAltoNetworksMetricsObjectFirewall.md
@@ -1,5 +1,5 @@
---
-external help file: Az.PaloAltoNetworks-help.xml
+external help file:
Module Name: Az.PaloAltoNetworks
online version: https://learn.microsoft.com/powershell/module/az.paloaltonetworks/update-azpaloaltonetworksmetricsobjectfirewall
schema: 2.0.0
diff --git a/src/PaloAltoNetworks/PaloAltoNetworks.Autorest/resources/README.md b/src/PaloAltoNetworks/PaloAltoNetworks.Autorest/resources/README.md
deleted file mode 100644
index 937f07f8fec2..000000000000
--- a/src/PaloAltoNetworks/PaloAltoNetworks.Autorest/resources/README.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# Resources
-This directory can contain any additional resources for module that are not required at runtime. This directory **does not** get packaged with the module. If you have assets for custom implementation, place them into the `..\custom` folder.
-
-## Info
-- Modifiable: yes
-- Generated: no
-- Committed: yes
-- Packaged: no
-
-## Purpose
-Use this folder to put anything you want to keep around as part of the repository for the module, but is not something that is required for the module. For example, development files, packaged builds, or additional information. This is only intended to be used in repositories where the module's output directory is cleaned, but tangential resources for the module want to remain intact.
\ No newline at end of file
diff --git a/src/PaloAltoNetworks/PaloAltoNetworks/AutorestUpgradeLog.md b/src/PaloAltoNetworks/PaloAltoNetworks/AutorestUpgradeLog.md
new file mode 100644
index 000000000000..a036e7982510
--- /dev/null
+++ b/src/PaloAltoNetworks/PaloAltoNetworks/AutorestUpgradeLog.md
@@ -0,0 +1,2 @@
+## Autorest upgrade log
+* Autorest version: 4.0.752 - 26-01-16
diff --git a/src/PaloAltoNetworks/PaloAltoNetworks/ChangeLog.md b/src/PaloAltoNetworks/PaloAltoNetworks/ChangeLog.md
index b106fb276403..9022c9536128 100644
--- a/src/PaloAltoNetworks/PaloAltoNetworks/ChangeLog.md
+++ b/src/PaloAltoNetworks/PaloAltoNetworks/ChangeLog.md
@@ -18,6 +18,7 @@
- Additional information about change #1
-->
## Upcoming Release
+* Fix console close issue by upgrading with autorest v4.0.752
## Version 0.4.0
* Added support for firewall metrics
diff --git a/tools/StaticAnalysis/Exceptions/Az.DynatraceObservability/ExampleIssues.csv b/tools/StaticAnalysis/Exceptions/Az.DynatraceObservability/ExampleIssues.csv
new file mode 100644
index 000000000000..6f102265e716
--- /dev/null
+++ b/tools/StaticAnalysis/Exceptions/Az.DynatraceObservability/ExampleIssues.csv
@@ -0,0 +1,2 @@
+"Module","Cmdlet","Example","Line","RuleName","ProblemId","Severity","Description","Extent","Remediation"
+"Az.DynatraceObservability","Update-AzDynatraceMonitorPlan","3","4","Invalid_Cmdlet","5000","1","\ is not a valid command name.","\","Check the spell of \."
diff --git a/tools/StaticAnalysis/Exceptions/Az.PaloAltoNetworks/ExampleIssues.csv b/tools/StaticAnalysis/Exceptions/Az.PaloAltoNetworks/ExampleIssues.csv
new file mode 100644
index 000000000000..f6bc321a62e7
--- /dev/null
+++ b/tools/StaticAnalysis/Exceptions/Az.PaloAltoNetworks/ExampleIssues.csv
@@ -0,0 +1,9 @@
+"Module","Cmdlet","Example","Line","RuleName","ProblemId","Severity","Description","Extent","Remediation"
+"Az.PaloAltoNetworks","Get-AzPaloAltoNetworksPaloAltoNetworksCloudngfwOperationCloudManagerTenant","0","0","MissingSynopsis","5040","1","Synopsis is missing.","D:\a\_work\1\s\src\PaloAltoNetworks\PaloAltoNetworks.Autorest\docs\Get-AzPaloAltoNetworksPaloAltoNetworksCloudngfwOperationCloudManagerTenant.md","Add Synopsis. Remove any placeholders."
+"Az.PaloAltoNetworks","Get-AzPaloAltoNetworksPaloAltoNetworksCloudngfwOperationCloudManagerTenant","0","0","MissingDescription","5041","1","Description is missing.","D:\a\_work\1\s\src\PaloAltoNetworks\PaloAltoNetworks.Autorest\docs\Get-AzPaloAltoNetworksPaloAltoNetworksCloudngfwOperationCloudManagerTenant.md","Add Description. Remove any placeholders."
+"Az.PaloAltoNetworks","Get-AzPaloAltoNetworksPaloAltoNetworksCloudngfwOperationProductSerialNumberStatus","0","0","MissingSynopsis","5040","1","Synopsis is missing.","D:\a\_work\1\s\src\PaloAltoNetworks\PaloAltoNetworks.Autorest\docs\Get-AzPaloAltoNetworksPaloAltoNetworksCloudngfwOperationProductSerialNumberStatus.md","Add Synopsis. Remove any placeholders."
+"Az.PaloAltoNetworks","Get-AzPaloAltoNetworksPaloAltoNetworksCloudngfwOperationProductSerialNumberStatus","0","0","MissingDescription","5041","1","Description is missing.","D:\a\_work\1\s\src\PaloAltoNetworks\PaloAltoNetworks.Autorest\docs\Get-AzPaloAltoNetworksPaloAltoNetworksCloudngfwOperationProductSerialNumberStatus.md","Add Description. Remove any placeholders."
+"Az.PaloAltoNetworks","Get-AzPaloAltoNetworksPaloAltoNetworksCloudngfwOperationSupportInfo","0","0","MissingSynopsis","5040","1","Synopsis is missing.","D:\a\_work\1\s\src\PaloAltoNetworks\PaloAltoNetworks.Autorest\docs\Get-AzPaloAltoNetworksPaloAltoNetworksCloudngfwOperationSupportInfo.md","Add Synopsis. Remove any placeholders."
+"Az.PaloAltoNetworks","Get-AzPaloAltoNetworksPaloAltoNetworksCloudngfwOperationSupportInfo","0","0","MissingDescription","5041","1","Description is missing.","D:\a\_work\1\s\src\PaloAltoNetworks\PaloAltoNetworks.Autorest\docs\Get-AzPaloAltoNetworksPaloAltoNetworksCloudngfwOperationSupportInfo.md","Add Description. Remove any placeholders."
+"Az.PaloAltoNetworks","New-AzPaloAltoNetworksPaloAltoNetworksCloudngfwOperationProductSerialNumber","0","0","MissingSynopsis","5040","1","Synopsis is missing.","D:\a\_work\1\s\src\PaloAltoNetworks\PaloAltoNetworks.Autorest\docs\New-AzPaloAltoNetworksPaloAltoNetworksCloudngfwOperationProductSerialNumber.md","Add Synopsis. Remove any placeholders."
+"Az.PaloAltoNetworks","New-AzPaloAltoNetworksPaloAltoNetworksCloudngfwOperationProductSerialNumber","0","0","MissingDescription","5041","1","Description is missing.","D:\a\_work\1\s\src\PaloAltoNetworks\PaloAltoNetworks.Autorest\docs\New-AzPaloAltoNetworksPaloAltoNetworksCloudngfwOperationProductSerialNumber.md","Add Description. Remove any placeholders."