diff --git a/generated/ServiceBus/ServiceBus.Autorest/exports/Approve-AzServiceBusPrivateEndpointConnection.ps1 b/generated/ServiceBus/ServiceBus.Autorest/exports/Approve-AzServiceBusPrivateEndpointConnection.ps1
index ed3762ef44ae..a22805541f6d 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/exports/Approve-AzServiceBusPrivateEndpointConnection.ps1
+++ b/generated/ServiceBus/ServiceBus.Autorest/exports/Approve-AzServiceBusPrivateEndpointConnection.ps1
@@ -167,8 +167,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/ServiceBus/ServiceBus.Autorest/exports/Complete-AzServiceBusMigration.ps1 b/generated/ServiceBus/ServiceBus.Autorest/exports/Complete-AzServiceBusMigration.ps1
index 10f7452c614f..6534208dd156 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/exports/Complete-AzServiceBusMigration.ps1
+++ b/generated/ServiceBus/ServiceBus.Autorest/exports/Complete-AzServiceBusMigration.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/ServiceBus/ServiceBus.Autorest/exports/Deny-AzServiceBusPrivateEndpointConnection.ps1 b/generated/ServiceBus/ServiceBus.Autorest/exports/Deny-AzServiceBusPrivateEndpointConnection.ps1
index 2e5c2c3267de..d65a9d9ede82 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/exports/Deny-AzServiceBusPrivateEndpointConnection.ps1
+++ b/generated/ServiceBus/ServiceBus.Autorest/exports/Deny-AzServiceBusPrivateEndpointConnection.ps1
@@ -167,8 +167,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/ServiceBus/ServiceBus.Autorest/exports/Get-AzServiceBusAuthorizationRule.ps1 b/generated/ServiceBus/ServiceBus.Autorest/exports/Get-AzServiceBusAuthorizationRule.ps1
index 58b99b4eaaf0..6783e4d6479e 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/exports/Get-AzServiceBusAuthorizationRule.ps1
+++ b/generated/ServiceBus/ServiceBus.Autorest/exports/Get-AzServiceBusAuthorizationRule.ps1
@@ -180,8 +180,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/ServiceBus/ServiceBus.Autorest/exports/Get-AzServiceBusGeoDRConfiguration.ps1 b/generated/ServiceBus/ServiceBus.Autorest/exports/Get-AzServiceBusGeoDRConfiguration.ps1
index f2ceeabd88cd..a29ba80bf6ff 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/exports/Get-AzServiceBusGeoDRConfiguration.ps1
+++ b/generated/ServiceBus/ServiceBus.Autorest/exports/Get-AzServiceBusGeoDRConfiguration.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/ServiceBus/ServiceBus.Autorest/exports/Get-AzServiceBusKey.ps1 b/generated/ServiceBus/ServiceBus.Autorest/exports/Get-AzServiceBusKey.ps1
index b205a1dee42d..60b9699e6543 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/exports/Get-AzServiceBusKey.ps1
+++ b/generated/ServiceBus/ServiceBus.Autorest/exports/Get-AzServiceBusKey.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/ServiceBus/ServiceBus.Autorest/exports/Get-AzServiceBusMigration.ps1 b/generated/ServiceBus/ServiceBus.Autorest/exports/Get-AzServiceBusMigration.ps1
index 7b7e8bc9ed7d..8817934cbd06 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/exports/Get-AzServiceBusMigration.ps1
+++ b/generated/ServiceBus/ServiceBus.Autorest/exports/Get-AzServiceBusMigration.ps1
@@ -142,8 +142,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/ServiceBus/ServiceBus.Autorest/exports/Get-AzServiceBusNamespace.ps1 b/generated/ServiceBus/ServiceBus.Autorest/exports/Get-AzServiceBusNamespace.ps1
index e3fbf8d2a71e..c84d36f2798a 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/exports/Get-AzServiceBusNamespace.ps1
+++ b/generated/ServiceBus/ServiceBus.Autorest/exports/Get-AzServiceBusNamespace.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/ServiceBus/ServiceBus.Autorest/exports/Get-AzServiceBusNetworkRuleSet.ps1 b/generated/ServiceBus/ServiceBus.Autorest/exports/Get-AzServiceBusNetworkRuleSet.ps1
index 80e3d09ec614..f1b88da03ea5 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/exports/Get-AzServiceBusNetworkRuleSet.ps1
+++ b/generated/ServiceBus/ServiceBus.Autorest/exports/Get-AzServiceBusNetworkRuleSet.ps1
@@ -142,8 +142,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/ServiceBus/ServiceBus.Autorest/exports/Get-AzServiceBusPrivateEndpointConnection.ps1 b/generated/ServiceBus/ServiceBus.Autorest/exports/Get-AzServiceBusPrivateEndpointConnection.ps1
index 692147409d8d..59f175c78159 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/exports/Get-AzServiceBusPrivateEndpointConnection.ps1
+++ b/generated/ServiceBus/ServiceBus.Autorest/exports/Get-AzServiceBusPrivateEndpointConnection.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/ServiceBus/ServiceBus.Autorest/exports/Get-AzServiceBusPrivateLink.ps1 b/generated/ServiceBus/ServiceBus.Autorest/exports/Get-AzServiceBusPrivateLink.ps1
index 546382eaa5f2..9b604df50973 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/exports/Get-AzServiceBusPrivateLink.ps1
+++ b/generated/ServiceBus/ServiceBus.Autorest/exports/Get-AzServiceBusPrivateLink.ps1
@@ -115,8 +115,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/ServiceBus/ServiceBus.Autorest/exports/Get-AzServiceBusQueue.ps1 b/generated/ServiceBus/ServiceBus.Autorest/exports/Get-AzServiceBusQueue.ps1
index 7fb7f825f611..72d690ace141 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/exports/Get-AzServiceBusQueue.ps1
+++ b/generated/ServiceBus/ServiceBus.Autorest/exports/Get-AzServiceBusQueue.ps1
@@ -189,8 +189,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/ServiceBus/ServiceBus.Autorest/exports/Get-AzServiceBusRule.ps1 b/generated/ServiceBus/ServiceBus.Autorest/exports/Get-AzServiceBusRule.ps1
index 548aa35b96c3..b108d0aecb77 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/exports/Get-AzServiceBusRule.ps1
+++ b/generated/ServiceBus/ServiceBus.Autorest/exports/Get-AzServiceBusRule.ps1
@@ -244,8 +244,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/ServiceBus/ServiceBus.Autorest/exports/Get-AzServiceBusSubscription.ps1 b/generated/ServiceBus/ServiceBus.Autorest/exports/Get-AzServiceBusSubscription.ps1
index 11cea3270855..e0df1b59d482 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/exports/Get-AzServiceBusSubscription.ps1
+++ b/generated/ServiceBus/ServiceBus.Autorest/exports/Get-AzServiceBusSubscription.ps1
@@ -218,8 +218,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/ServiceBus/ServiceBus.Autorest/exports/Get-AzServiceBusTopic.ps1 b/generated/ServiceBus/ServiceBus.Autorest/exports/Get-AzServiceBusTopic.ps1
index 9a08608564fd..c177624bacba 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/exports/Get-AzServiceBusTopic.ps1
+++ b/generated/ServiceBus/ServiceBus.Autorest/exports/Get-AzServiceBusTopic.ps1
@@ -189,8 +189,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/ServiceBus/ServiceBus.Autorest/exports/New-AzServiceBusAuthorizationRule.ps1 b/generated/ServiceBus/ServiceBus.Autorest/exports/New-AzServiceBusAuthorizationRule.ps1
index a6ace4c44c14..b3100220db5e 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/exports/New-AzServiceBusAuthorizationRule.ps1
+++ b/generated/ServiceBus/ServiceBus.Autorest/exports/New-AzServiceBusAuthorizationRule.ps1
@@ -151,8 +151,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/ServiceBus/ServiceBus.Autorest/exports/New-AzServiceBusGeoDRConfiguration.ps1 b/generated/ServiceBus/ServiceBus.Autorest/exports/New-AzServiceBusGeoDRConfiguration.ps1
index e939bbd8b934..dd0ef6cbe5f1 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/exports/New-AzServiceBusGeoDRConfiguration.ps1
+++ b/generated/ServiceBus/ServiceBus.Autorest/exports/New-AzServiceBusGeoDRConfiguration.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-create a new Alias(Disaster Recovery configuration)
+Create a new Alias(Disaster Recovery configuration)
.Description
-create a new Alias(Disaster Recovery configuration)
+Create a new Alias(Disaster Recovery configuration)
.Example
New-AzServiceBusGeoDRConfiguration -Name myAlias -ResourceGroupName myResourceGroup -NamespaceName myPrimaryNamespace -PartnerNamespace "/subscriptions/0000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ServiceBus/namespaces/mySecondaryNamespace"
@@ -178,8 +178,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/ServiceBus/ServiceBus.Autorest/exports/New-AzServiceBusKey.ps1 b/generated/ServiceBus/ServiceBus.Autorest/exports/New-AzServiceBusKey.ps1
index cbc4f3c1ca14..7f577a8c0469 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/exports/New-AzServiceBusKey.ps1
+++ b/generated/ServiceBus/ServiceBus.Autorest/exports/New-AzServiceBusKey.ps1
@@ -160,8 +160,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/ServiceBus/ServiceBus.Autorest/exports/New-AzServiceBusNamespace.ps1 b/generated/ServiceBus/ServiceBus.Autorest/exports/New-AzServiceBusNamespace.ps1
index e0d6f193eadc..e846962bcc52 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/exports/New-AzServiceBusNamespace.ps1
+++ b/generated/ServiceBus/ServiceBus.Autorest/exports/New-AzServiceBusNamespace.ps1
@@ -231,8 +231,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/ServiceBus/ServiceBus.Autorest/exports/New-AzServiceBusQueue.ps1 b/generated/ServiceBus/ServiceBus.Autorest/exports/New-AzServiceBusQueue.ps1
index 718fa844e1ce..36dcdadc3501 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/exports/New-AzServiceBusQueue.ps1
+++ b/generated/ServiceBus/ServiceBus.Autorest/exports/New-AzServiceBusQueue.ps1
@@ -16,10 +16,10 @@
<#
.Synopsis
-create a Service Bus queue.
+Create a Service Bus queue.
This operation is idempotent.
.Description
-create a Service Bus queue.
+Create a Service Bus queue.
This operation is idempotent.
.Example
New-AzServiceBusQueue -ResourceGroupName myResourceGroup -NamespaceName myNamespace -Name myQueue -AutoDeleteOnIdle (New-TimeSpan -Days 1 -Minutes 3 -Seconds 4) -DefaultMessageTimeToLive (New-TimeSpan -Days 5) -EnablePartitioning
@@ -299,8 +299,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/ServiceBus/ServiceBus.Autorest/exports/New-AzServiceBusRule.ps1 b/generated/ServiceBus/ServiceBus.Autorest/exports/New-AzServiceBusRule.ps1
index a56d6096ce88..8161f4ea2dab 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/exports/New-AzServiceBusRule.ps1
+++ b/generated/ServiceBus/ServiceBus.Autorest/exports/New-AzServiceBusRule.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-create a new rule and create an existing rule
+Create a new rule and create an existing rule
.Description
-create a new rule and create an existing rule
+Create a new rule and create an existing rule
.Example
New-AzServiceBusRule -ResourceGroupName myResourceGroup -NamespaceName myNamespace -TopicName myTopic -SubscriptionName mySubscription -Name myCorrelationRule -FilterType CorrelationFilter -ContentType contenttype -CorrelationFilterProperty @{a='b';c='d'} -SessionId sessionid -CorrelationId correlationid -MessageId messageid -Label label -ReplyTo replyto -ReplyToSessionId replytosessionid
.Example
@@ -380,8 +380,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/ServiceBus/ServiceBus.Autorest/exports/New-AzServiceBusSubscription.ps1 b/generated/ServiceBus/ServiceBus.Autorest/exports/New-AzServiceBusSubscription.ps1
index 1f0b173c3d6e..5050e5f65cd3 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/exports/New-AzServiceBusSubscription.ps1
+++ b/generated/ServiceBus/ServiceBus.Autorest/exports/New-AzServiceBusSubscription.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-create a topic subscription.
+Create a topic subscription.
.Description
-create a topic subscription.
+Create a topic subscription.
.Example
New-AzServiceBusSubscription -ResourceGroupName myResourceGroup -NamespaceName myNamespace -TopicName myTopic -Name mySubscription -DefaultMessageTimeToLive (New-TimeSpan -Days 6) -EnableBatchedOperations
@@ -338,8 +338,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/ServiceBus/ServiceBus.Autorest/exports/New-AzServiceBusTopic.ps1 b/generated/ServiceBus/ServiceBus.Autorest/exports/New-AzServiceBusTopic.ps1
index cb7b3083441c..ca4862e6e514 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/exports/New-AzServiceBusTopic.ps1
+++ b/generated/ServiceBus/ServiceBus.Autorest/exports/New-AzServiceBusTopic.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-create a topic in the specified namespace.
+Create a topic in the specified namespace.
.Description
-create a topic in the specified namespace.
+Create a topic in the specified namespace.
.Example
New-AzServiceBusTopic -ResourceGroupName myResourceGroup -NamespaceName myNamespace -Name myTopic -DefaultMessageTimeToLive (New-TimeSpan -Days 18) -EnableBatchedOperations
@@ -254,8 +254,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/ServiceBus/ServiceBus.Autorest/exports/ProxyCmdletDefinitions.ps1 b/generated/ServiceBus/ServiceBus.Autorest/exports/ProxyCmdletDefinitions.ps1
index 8a6b373c251a..bed6a5c37a87 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/exports/ProxyCmdletDefinitions.ps1
+++ b/generated/ServiceBus/ServiceBus.Autorest/exports/ProxyCmdletDefinitions.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) {
@@ -387,8 +386,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) {
@@ -602,8 +600,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) {
@@ -826,8 +823,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) {
@@ -1041,8 +1037,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) {
@@ -1289,8 +1284,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) {
@@ -1477,8 +1471,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) {
@@ -1736,8 +1729,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) {
@@ -2053,8 +2045,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) {
@@ -2346,8 +2337,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) {
@@ -2609,8 +2599,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) {
@@ -2698,9 +2687,9 @@ end {
<#
.Synopsis
-create a new Alias(Disaster Recovery configuration)
+Create a new Alias(Disaster Recovery configuration)
.Description
-create a new Alias(Disaster Recovery configuration)
+Create a new Alias(Disaster Recovery configuration)
.Example
New-AzServiceBusGeoDRConfiguration -Name myAlias -ResourceGroupName myResourceGroup -NamespaceName myPrimaryNamespace -PartnerNamespace "/subscriptions/0000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ServiceBus/namespaces/mySecondaryNamespace"
@@ -2860,8 +2849,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) {
@@ -2948,10 +2936,10 @@ end {
<#
.Synopsis
-create a Service Bus queue.
+Create a Service Bus queue.
This operation is idempotent.
.Description
-create a Service Bus queue.
+Create a Service Bus queue.
This operation is idempotent.
.Example
New-AzServiceBusQueue -ResourceGroupName myResourceGroup -NamespaceName myNamespace -Name myQueue -AutoDeleteOnIdle (New-TimeSpan -Days 1 -Minutes 3 -Seconds 4) -DefaultMessageTimeToLive (New-TimeSpan -Days 5) -EnablePartitioning
@@ -3231,8 +3219,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) {
@@ -3319,9 +3306,9 @@ end {
<#
.Synopsis
-create a new rule and create an existing rule
+Create a new rule and create an existing rule
.Description
-create a new rule and create an existing rule
+Create a new rule and create an existing rule
.Example
New-AzServiceBusRule -ResourceGroupName myResourceGroup -NamespaceName myNamespace -TopicName myTopic -SubscriptionName mySubscription -Name myCorrelationRule -FilterType CorrelationFilter -ContentType contenttype -CorrelationFilterProperty @{a='b';c='d'} -SessionId sessionid -CorrelationId correlationid -MessageId messageid -Label label -ReplyTo replyto -ReplyToSessionId replytosessionid
.Example
@@ -3683,8 +3670,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) {
@@ -3775,9 +3761,9 @@ end {
<#
.Synopsis
-create a topic subscription.
+Create a topic subscription.
.Description
-create a topic subscription.
+Create a topic subscription.
.Example
New-AzServiceBusSubscription -ResourceGroupName myResourceGroup -NamespaceName myNamespace -TopicName myTopic -Name mySubscription -DefaultMessageTimeToLive (New-TimeSpan -Days 6) -EnableBatchedOperations
@@ -4097,8 +4083,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) {
@@ -4187,9 +4172,9 @@ end {
<#
.Synopsis
-create a topic in the specified namespace.
+Create a topic in the specified namespace.
.Description
-create a topic in the specified namespace.
+Create a topic in the specified namespace.
.Example
New-AzServiceBusTopic -ResourceGroupName myResourceGroup -NamespaceName myNamespace -Name myTopic -DefaultMessageTimeToLive (New-TimeSpan -Days 18) -EnableBatchedOperations
@@ -4425,8 +4410,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) {
@@ -4669,8 +4653,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) {
@@ -4886,8 +4869,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) {
@@ -5123,8 +5105,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) {
@@ -5381,8 +5362,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) {
@@ -5628,8 +5608,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) {
@@ -5930,8 +5909,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) {
@@ -6207,8 +6185,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) {
@@ -6455,8 +6432,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) {
@@ -6543,9 +6519,9 @@ end {
<#
.Synopsis
-create Migration configuration and starts migration of entities from Standard to Premium namespace
+Create Migration configuration and starts migration of entities from Standard to Premium namespace
.Description
-create Migration configuration and starts migration of entities from Standard to Premium namespace
+Create Migration configuration and starts migration of entities from Standard to Premium namespace
.Example
Start-AzServiceBusMigration -ResourceGroupName myResourceGroup -NamespaceName myNamespace -PostMigrationName myStandardNamespace2 -TargetNamespace /subscriptions/subscriptionId/resourceGroups/myResourceGroup/providers/Microsoft.ServiceBus/namespaces/myPremiumNamespace
@@ -6664,8 +6640,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) {
@@ -6879,8 +6854,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) {
@@ -7117,8 +7091,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) {
@@ -7355,8 +7328,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) {
@@ -7606,8 +7578,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) {
@@ -7833,8 +7804,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) {
@@ -8057,8 +8027,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) {
@@ -8403,8 +8372,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) {
@@ -8835,8 +8803,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) {
@@ -9199,8 +9166,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) {
@@ -9458,8 +9424,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) {
@@ -9688,8 +9653,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) {
@@ -9916,8 +9880,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) {
@@ -10228,8 +10191,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) {
@@ -10499,8 +10461,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) {
@@ -10820,8 +10781,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) {
@@ -11158,8 +11118,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) {
@@ -11469,8 +11428,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) {
@@ -11763,8 +11721,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) {
@@ -11965,8 +11922,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/ServiceBus/ServiceBus.Autorest/exports/Remove-AzServiceBusAuthorizationRule.ps1 b/generated/ServiceBus/ServiceBus.Autorest/exports/Remove-AzServiceBusAuthorizationRule.ps1
index d315cdcab9ae..a20f2bf5ea87 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/exports/Remove-AzServiceBusAuthorizationRule.ps1
+++ b/generated/ServiceBus/ServiceBus.Autorest/exports/Remove-AzServiceBusAuthorizationRule.ps1
@@ -180,8 +180,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/ServiceBus/ServiceBus.Autorest/exports/Remove-AzServiceBusGeoDRConfiguration.ps1 b/generated/ServiceBus/ServiceBus.Autorest/exports/Remove-AzServiceBusGeoDRConfiguration.ps1
index 95481f4f085d..ccf63320323b 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/exports/Remove-AzServiceBusGeoDRConfiguration.ps1
+++ b/generated/ServiceBus/ServiceBus.Autorest/exports/Remove-AzServiceBusGeoDRConfiguration.ps1
@@ -172,8 +172,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/ServiceBus/ServiceBus.Autorest/exports/Remove-AzServiceBusMigration.ps1 b/generated/ServiceBus/ServiceBus.Autorest/exports/Remove-AzServiceBusMigration.ps1
index 8d85faa46e57..a9cdffaa9207 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/exports/Remove-AzServiceBusMigration.ps1
+++ b/generated/ServiceBus/ServiceBus.Autorest/exports/Remove-AzServiceBusMigration.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/ServiceBus/ServiceBus.Autorest/exports/Remove-AzServiceBusNamespace.ps1 b/generated/ServiceBus/ServiceBus.Autorest/exports/Remove-AzServiceBusNamespace.ps1
index 4167aa913f56..ec3f3c516d82 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/exports/Remove-AzServiceBusNamespace.ps1
+++ b/generated/ServiceBus/ServiceBus.Autorest/exports/Remove-AzServiceBusNamespace.ps1
@@ -166,8 +166,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/ServiceBus/ServiceBus.Autorest/exports/Remove-AzServiceBusPrivateEndpointConnection.ps1 b/generated/ServiceBus/ServiceBus.Autorest/exports/Remove-AzServiceBusPrivateEndpointConnection.ps1
index fbad0c090ecc..39eed11a0432 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/exports/Remove-AzServiceBusPrivateEndpointConnection.ps1
+++ b/generated/ServiceBus/ServiceBus.Autorest/exports/Remove-AzServiceBusPrivateEndpointConnection.ps1
@@ -187,8 +187,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/ServiceBus/ServiceBus.Autorest/exports/Remove-AzServiceBusQueue.ps1 b/generated/ServiceBus/ServiceBus.Autorest/exports/Remove-AzServiceBusQueue.ps1
index 29ca5c42423f..cbd11cae1b0d 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/exports/Remove-AzServiceBusQueue.ps1
+++ b/generated/ServiceBus/ServiceBus.Autorest/exports/Remove-AzServiceBusQueue.ps1
@@ -175,8 +175,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/ServiceBus/ServiceBus.Autorest/exports/Remove-AzServiceBusRule.ps1 b/generated/ServiceBus/ServiceBus.Autorest/exports/Remove-AzServiceBusRule.ps1
index a9d50ddd986f..f69e14883169 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/exports/Remove-AzServiceBusRule.ps1
+++ b/generated/ServiceBus/ServiceBus.Autorest/exports/Remove-AzServiceBusRule.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/ServiceBus/ServiceBus.Autorest/exports/Remove-AzServiceBusSubscription.ps1 b/generated/ServiceBus/ServiceBus.Autorest/exports/Remove-AzServiceBusSubscription.ps1
index b890d56a5122..c7c70fc98f09 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/exports/Remove-AzServiceBusSubscription.ps1
+++ b/generated/ServiceBus/ServiceBus.Autorest/exports/Remove-AzServiceBusSubscription.ps1
@@ -203,8 +203,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/ServiceBus/ServiceBus.Autorest/exports/Remove-AzServiceBusTopic.ps1 b/generated/ServiceBus/ServiceBus.Autorest/exports/Remove-AzServiceBusTopic.ps1
index 5a66ea60ac20..b5df6f6b86ba 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/exports/Remove-AzServiceBusTopic.ps1
+++ b/generated/ServiceBus/ServiceBus.Autorest/exports/Remove-AzServiceBusTopic.ps1
@@ -175,8 +175,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/ServiceBus/ServiceBus.Autorest/exports/Set-AzServiceBusAuthorizationRule.ps1 b/generated/ServiceBus/ServiceBus.Autorest/exports/Set-AzServiceBusAuthorizationRule.ps1
index 4461490d0841..2a891f6ef63c 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/exports/Set-AzServiceBusAuthorizationRule.ps1
+++ b/generated/ServiceBus/ServiceBus.Autorest/exports/Set-AzServiceBusAuthorizationRule.ps1
@@ -186,8 +186,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/ServiceBus/ServiceBus.Autorest/exports/Set-AzServiceBusGeoDRConfigurationBreakPair.ps1 b/generated/ServiceBus/ServiceBus.Autorest/exports/Set-AzServiceBusGeoDRConfigurationBreakPair.ps1
index 27a23f4848fc..1775d901f198 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/exports/Set-AzServiceBusGeoDRConfigurationBreakPair.ps1
+++ b/generated/ServiceBus/ServiceBus.Autorest/exports/Set-AzServiceBusGeoDRConfigurationBreakPair.ps1
@@ -157,8 +157,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/ServiceBus/ServiceBus.Autorest/exports/Set-AzServiceBusGeoDRConfigurationFailOver.ps1 b/generated/ServiceBus/ServiceBus.Autorest/exports/Set-AzServiceBusGeoDRConfigurationFailOver.ps1
index ccbdf77898e9..401b08a8e064 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/exports/Set-AzServiceBusGeoDRConfigurationFailOver.ps1
+++ b/generated/ServiceBus/ServiceBus.Autorest/exports/Set-AzServiceBusGeoDRConfigurationFailOver.ps1
@@ -157,8 +157,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/ServiceBus/ServiceBus.Autorest/exports/Set-AzServiceBusNamespace.ps1 b/generated/ServiceBus/ServiceBus.Autorest/exports/Set-AzServiceBusNamespace.ps1
index 459bd8289c68..4054ac4bef3d 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/exports/Set-AzServiceBusNamespace.ps1
+++ b/generated/ServiceBus/ServiceBus.Autorest/exports/Set-AzServiceBusNamespace.ps1
@@ -241,8 +241,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/ServiceBus/ServiceBus.Autorest/exports/Set-AzServiceBusNetworkRuleSet.ps1 b/generated/ServiceBus/ServiceBus.Autorest/exports/Set-AzServiceBusNetworkRuleSet.ps1
index 084611ddd0d5..92fcfece71cb 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/exports/Set-AzServiceBusNetworkRuleSet.ps1
+++ b/generated/ServiceBus/ServiceBus.Autorest/exports/Set-AzServiceBusNetworkRuleSet.ps1
@@ -200,8 +200,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/ServiceBus/ServiceBus.Autorest/exports/Set-AzServiceBusQueue.ps1 b/generated/ServiceBus/ServiceBus.Autorest/exports/Set-AzServiceBusQueue.ps1
index 2e8ed201ba7e..122046adcdc4 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/exports/Set-AzServiceBusQueue.ps1
+++ b/generated/ServiceBus/ServiceBus.Autorest/exports/Set-AzServiceBusQueue.ps1
@@ -250,8 +250,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/ServiceBus/ServiceBus.Autorest/exports/Set-AzServiceBusRule.ps1 b/generated/ServiceBus/ServiceBus.Autorest/exports/Set-AzServiceBusRule.ps1
index 5d76cebff643..73d3a179cd92 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/exports/Set-AzServiceBusRule.ps1
+++ b/generated/ServiceBus/ServiceBus.Autorest/exports/Set-AzServiceBusRule.ps1
@@ -267,8 +267,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/ServiceBus/ServiceBus.Autorest/exports/Set-AzServiceBusSubscription.ps1 b/generated/ServiceBus/ServiceBus.Autorest/exports/Set-AzServiceBusSubscription.ps1
index d208939a7810..7bb199e0701f 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/exports/Set-AzServiceBusSubscription.ps1
+++ b/generated/ServiceBus/ServiceBus.Autorest/exports/Set-AzServiceBusSubscription.ps1
@@ -240,8 +240,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/ServiceBus/ServiceBus.Autorest/exports/Set-AzServiceBusTopic.ps1 b/generated/ServiceBus/ServiceBus.Autorest/exports/Set-AzServiceBusTopic.ps1
index ef712ee005d0..03742c620405 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/exports/Set-AzServiceBusTopic.ps1
+++ b/generated/ServiceBus/ServiceBus.Autorest/exports/Set-AzServiceBusTopic.ps1
@@ -223,8 +223,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/ServiceBus/ServiceBus.Autorest/exports/Start-AzServiceBusMigration.ps1 b/generated/ServiceBus/ServiceBus.Autorest/exports/Start-AzServiceBusMigration.ps1
index 417f9c17caa7..65864dc88bb8 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/exports/Start-AzServiceBusMigration.ps1
+++ b/generated/ServiceBus/ServiceBus.Autorest/exports/Start-AzServiceBusMigration.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-create Migration configuration and starts migration of entities from Standard to Premium namespace
+Create Migration configuration and starts migration of entities from Standard to Premium namespace
.Description
-create Migration configuration and starts migration of entities from Standard to Premium namespace
+Create Migration configuration and starts migration of entities from Standard to Premium namespace
.Example
Start-AzServiceBusMigration -ResourceGroupName myResourceGroup -NamespaceName myNamespace -PostMigrationName myStandardNamespace2 -TargetNamespace /subscriptions/subscriptionId/resourceGroups/myResourceGroup/providers/Microsoft.ServiceBus/namespaces/myPremiumNamespace
@@ -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/ServiceBus/ServiceBus.Autorest/exports/Stop-AzServiceBusMigration.ps1 b/generated/ServiceBus/ServiceBus.Autorest/exports/Stop-AzServiceBusMigration.ps1
index f0b282d4b062..f716fd5bdf65 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/exports/Stop-AzServiceBusMigration.ps1
+++ b/generated/ServiceBus/ServiceBus.Autorest/exports/Stop-AzServiceBusMigration.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/ServiceBus/ServiceBus.Autorest/exports/Test-AzServiceBusName.ps1 b/generated/ServiceBus/ServiceBus.Autorest/exports/Test-AzServiceBusName.ps1
index 89e77692c9ed..11ca95bb6cdf 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/exports/Test-AzServiceBusName.ps1
+++ b/generated/ServiceBus/ServiceBus.Autorest/exports/Test-AzServiceBusName.ps1
@@ -131,8 +131,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/ServiceBus/ServiceBus.Autorest/generated/api/Models/ArmDisasterRecovery.cs b/generated/ServiceBus/ServiceBus.Autorest/generated/api/Models/ArmDisasterRecovery.cs
index c1f5b149ab86..fd04486c7851 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/generated/api/Models/ArmDisasterRecovery.cs
+++ b/generated/ServiceBus/ServiceBus.Autorest/generated/api/Models/ArmDisasterRecovery.cs
@@ -34,31 +34,49 @@ public partial class ArmDisasterRecovery :
public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Location; }
/// Internal Acessors for PendingReplicationOperationsCount
- long? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IArmDisasterRecoveryInternal.PendingReplicationOperationsCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IArmDisasterRecoveryPropertiesInternal)Property).PendingReplicationOperationsCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IArmDisasterRecoveryPropertiesInternal)Property).PendingReplicationOperationsCount = value; }
+ long? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IArmDisasterRecoveryInternal.PendingReplicationOperationsCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IArmDisasterRecoveryPropertiesInternal)Property).PendingReplicationOperationsCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IArmDisasterRecoveryPropertiesInternal)Property).PendingReplicationOperationsCount = value ?? default(long); }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IArmDisasterRecoveryProperties Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IArmDisasterRecoveryInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ArmDisasterRecoveryProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IArmDisasterRecoveryInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IArmDisasterRecoveryPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IArmDisasterRecoveryPropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IArmDisasterRecoveryInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IArmDisasterRecoveryPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IArmDisasterRecoveryPropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for Role
- string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IArmDisasterRecoveryInternal.Role { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IArmDisasterRecoveryPropertiesInternal)Property).Role; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IArmDisasterRecoveryPropertiesInternal)Property).Role = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IArmDisasterRecoveryInternal.Role { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IArmDisasterRecoveryPropertiesInternal)Property).Role; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IArmDisasterRecoveryPropertiesInternal)Property).Role = value ?? null; }
/// Internal Acessors for SystemData
Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IArmDisasterRecoveryInternal.SystemData { get => (this._systemData = this._systemData ?? new Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.SystemData()); set { {_systemData = value;} } }
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IArmDisasterRecoveryInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IArmDisasterRecoveryInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IArmDisasterRecoveryInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IArmDisasterRecoveryInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IArmDisasterRecoveryInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IArmDisasterRecoveryInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedByType = value ?? null; }
+
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Id = value ?? null; }
/// Internal Acessors for Location
- string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal.Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Location = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal.Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Location = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Name = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Origin(Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.PropertyOrigin.Inherited)]
@@ -108,27 +126,27 @@ public partial class ArmDisasterRecovery :
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Origin(Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.PropertyOrigin.Inlined)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Origin(Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.PropertyOrigin.Inlined)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Origin(Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.PropertyOrigin.Inlined)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedByType; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Origin(Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.PropertyOrigin.Inlined)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Origin(Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.PropertyOrigin.Inlined)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Origin(Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.PropertyOrigin.Inlined)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedByType; }
///
/// The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs"
diff --git a/generated/ServiceBus/ServiceBus.Autorest/generated/api/Models/ErrorResponse.cs b/generated/ServiceBus/ServiceBus.Autorest/generated/api/Models/ErrorResponse.cs
index c123a1b27ab0..ee694346c305 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/generated/api/Models/ErrorResponse.cs
+++ b/generated/ServiceBus/ServiceBus.Autorest/generated/api/Models/ErrorResponse.cs
@@ -38,22 +38,22 @@ public partial class ErrorResponse :
public string Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IErrorResponseErrorInternal)Error).Message; }
/// Internal Acessors for AdditionalInfo
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IErrorResponseInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IErrorResponseErrorInternal)Error).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IErrorResponseErrorInternal)Error).AdditionalInfo = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IErrorResponseInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IErrorResponseErrorInternal)Error).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IErrorResponseErrorInternal)Error).AdditionalInfo = value ?? null /* arrayOf */; }
/// Internal Acessors for Code
- string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IErrorResponseInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IErrorResponseErrorInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IErrorResponseErrorInternal)Error).Code = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IErrorResponseInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IErrorResponseErrorInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IErrorResponseErrorInternal)Error).Code = value ?? null; }
/// Internal Acessors for Detail
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IErrorResponseInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IErrorResponseErrorInternal)Error).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IErrorResponseErrorInternal)Error).Detail = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IErrorResponseInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IErrorResponseErrorInternal)Error).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IErrorResponseErrorInternal)Error).Detail = value ?? null /* arrayOf */; }
/// Internal Acessors for Error
Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IErrorResponseError Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IErrorResponseInternal.Error { get => (this._error = this._error ?? new Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ErrorResponseError()); set { {_error = value;} } }
/// Internal Acessors for Message
- string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IErrorResponseInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IErrorResponseErrorInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IErrorResponseErrorInternal)Error).Message = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IErrorResponseInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IErrorResponseErrorInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IErrorResponseErrorInternal)Error).Message = value ?? null; }
/// Internal Acessors for Target
- string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IErrorResponseInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IErrorResponseErrorInternal)Error).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IErrorResponseErrorInternal)Error).Target = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IErrorResponseInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IErrorResponseErrorInternal)Error).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IErrorResponseErrorInternal)Error).Target = value ?? null; }
/// The error target.
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Origin(Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.PropertyOrigin.Inlined)]
diff --git a/generated/ServiceBus/ServiceBus.Autorest/generated/api/Models/MigrationConfigProperties.cs b/generated/ServiceBus/ServiceBus.Autorest/generated/api/Models/MigrationConfigProperties.cs
index 626ef17bf874..1ed786226379 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/generated/api/Models/MigrationConfigProperties.cs
+++ b/generated/ServiceBus/ServiceBus.Autorest/generated/api/Models/MigrationConfigProperties.cs
@@ -30,31 +30,49 @@ public partial class MigrationConfigProperties :
public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Location; }
/// Internal Acessors for MigrationState
- string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IMigrationConfigPropertiesInternal.MigrationState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IMigrationConfigProperties1Internal)Property).MigrationState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IMigrationConfigProperties1Internal)Property).MigrationState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IMigrationConfigPropertiesInternal.MigrationState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IMigrationConfigProperties1Internal)Property).MigrationState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IMigrationConfigProperties1Internal)Property).MigrationState = value ?? null; }
/// Internal Acessors for PendingReplicationOperationsCount
- long? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IMigrationConfigPropertiesInternal.PendingReplicationOperationsCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IMigrationConfigProperties1Internal)Property).PendingReplicationOperationsCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IMigrationConfigProperties1Internal)Property).PendingReplicationOperationsCount = value; }
+ long? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IMigrationConfigPropertiesInternal.PendingReplicationOperationsCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IMigrationConfigProperties1Internal)Property).PendingReplicationOperationsCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IMigrationConfigProperties1Internal)Property).PendingReplicationOperationsCount = value ?? default(long); }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IMigrationConfigProperties1 Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IMigrationConfigPropertiesInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.MigrationConfigProperties1()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IMigrationConfigPropertiesInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IMigrationConfigProperties1Internal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IMigrationConfigProperties1Internal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IMigrationConfigPropertiesInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IMigrationConfigProperties1Internal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IMigrationConfigProperties1Internal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for SystemData
Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IMigrationConfigPropertiesInternal.SystemData { get => (this._systemData = this._systemData ?? new Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.SystemData()); set { {_systemData = value;} } }
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IMigrationConfigPropertiesInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IMigrationConfigPropertiesInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IMigrationConfigPropertiesInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IMigrationConfigPropertiesInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IMigrationConfigPropertiesInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IMigrationConfigPropertiesInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedByType = value ?? null; }
+
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Id = value ?? null; }
/// Internal Acessors for Location
- string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal.Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Location = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal.Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Location = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Name = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Type = value ?? null; }
///
/// State in which Standard to Premium Migration is, possible values : Unknown, Reverting, Completing, Initiating, Syncing,
@@ -99,27 +117,27 @@ public partial class MigrationConfigProperties :
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Origin(Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.PropertyOrigin.Inlined)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Origin(Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.PropertyOrigin.Inlined)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Origin(Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.PropertyOrigin.Inlined)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedByType; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Origin(Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.PropertyOrigin.Inlined)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Origin(Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.PropertyOrigin.Inlined)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Origin(Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.PropertyOrigin.Inlined)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedByType; }
///
/// Existing premium Namespace ARM Id name which has no entities, will be used for migration
diff --git a/generated/ServiceBus/ServiceBus.Autorest/generated/api/Models/NetworkRuleSet.cs b/generated/ServiceBus/ServiceBus.Autorest/generated/api/Models/NetworkRuleSet.cs
index 74a3671e7a1d..df3315e1b208 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/generated/api/Models/NetworkRuleSet.cs
+++ b/generated/ServiceBus/ServiceBus.Autorest/generated/api/Models/NetworkRuleSet.cs
@@ -43,17 +43,35 @@ public partial class NetworkRuleSet :
/// Internal Acessors for SystemData
Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.INetworkRuleSetInternal.SystemData { get => (this._systemData = this._systemData ?? new Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.SystemData()); set { {_systemData = value;} } }
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.INetworkRuleSetInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.INetworkRuleSetInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.INetworkRuleSetInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.INetworkRuleSetInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.INetworkRuleSetInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.INetworkRuleSetInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedByType = value ?? null; }
+
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Id = value ?? null; }
/// Internal Acessors for Location
- string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal.Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Location = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal.Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Location = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Name = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Origin(Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.PropertyOrigin.Inherited)]
@@ -85,27 +103,27 @@ public partial class NetworkRuleSet :
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Origin(Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.PropertyOrigin.Inlined)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Origin(Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.PropertyOrigin.Inlined)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Origin(Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.PropertyOrigin.Inlined)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedByType; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Origin(Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.PropertyOrigin.Inlined)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Origin(Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.PropertyOrigin.Inlined)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Origin(Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.PropertyOrigin.Inlined)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedByType; }
/// Value that indicates whether Trusted Service Access is Enabled or not.
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Origin(Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.PropertyOrigin.Inlined)]
diff --git a/generated/ServiceBus/ServiceBus.Autorest/generated/api/Models/Operation.cs b/generated/ServiceBus/ServiceBus.Autorest/generated/api/Models/Operation.cs
index 38cde7fb7ae1..2156ef851de8 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/generated/api/Models/Operation.cs
+++ b/generated/ServiceBus/ServiceBus.Autorest/generated/api/Models/Operation.cs
@@ -48,16 +48,16 @@ public partial class Operation :
Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IOperationDisplay Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IOperationInternal.Display { get => (this._display = this._display ?? new Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.OperationDisplay()); set { {_display = value;} } }
/// Internal Acessors for DisplayDescription
- string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IOperationInternal.DisplayDescription { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IOperationDisplayInternal)Display).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IOperationDisplayInternal)Display).Description = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IOperationInternal.DisplayDescription { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IOperationDisplayInternal)Display).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IOperationDisplayInternal)Display).Description = value ?? null; }
/// Internal Acessors for DisplayOperation
- string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IOperationInternal.DisplayOperation { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IOperationDisplayInternal)Display).Operation; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IOperationDisplayInternal)Display).Operation = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IOperationInternal.DisplayOperation { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IOperationDisplayInternal)Display).Operation; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IOperationDisplayInternal)Display).Operation = value ?? null; }
/// Internal Acessors for DisplayProvider
- string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IOperationInternal.DisplayProvider { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IOperationDisplayInternal)Display).Provider; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IOperationDisplayInternal)Display).Provider = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IOperationInternal.DisplayProvider { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IOperationDisplayInternal)Display).Provider; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IOperationDisplayInternal)Display).Provider = value ?? null; }
/// Internal Acessors for DisplayResource
- string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IOperationInternal.DisplayResource { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IOperationDisplayInternal)Display).Resource; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IOperationDisplayInternal)Display).Resource = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IOperationInternal.DisplayResource { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IOperationDisplayInternal)Display).Resource; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IOperationDisplayInternal)Display).Resource = value ?? null; }
/// Internal Acessors for Name
string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IOperationInternal.Name { get => this._name; set { {_name = value;} } }
diff --git a/generated/ServiceBus/ServiceBus.Autorest/generated/api/Models/PrivateEndpointConnection.cs b/generated/ServiceBus/ServiceBus.Autorest/generated/api/Models/PrivateEndpointConnection.cs
index 9db0e7e38fad..54427905e7af 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/generated/api/Models/PrivateEndpointConnection.cs
+++ b/generated/ServiceBus/ServiceBus.Autorest/generated/api/Models/PrivateEndpointConnection.cs
@@ -38,10 +38,10 @@ public partial class PrivateEndpointConnection :
public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Location; }
/// Internal Acessors for PrivateEndpoint
- Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IPrivateEndpoint Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IPrivateEndpointConnectionInternal.PrivateEndpoint { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateEndpoint; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateEndpoint = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IPrivateEndpoint Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IPrivateEndpointConnectionInternal.PrivateEndpoint { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateEndpoint; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateEndpoint = value ?? null /* model class */; }
/// Internal Acessors for PrivateLinkServiceConnectionState
- Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IConnectionState Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IPrivateEndpointConnectionInternal.PrivateLinkServiceConnectionState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateLinkServiceConnectionState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateLinkServiceConnectionState = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IConnectionState Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IPrivateEndpointConnectionInternal.PrivateLinkServiceConnectionState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateLinkServiceConnectionState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateLinkServiceConnectionState = value ?? null /* model class */; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IPrivateEndpointConnectionProperties Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IPrivateEndpointConnectionInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.PrivateEndpointConnectionProperties()); set { {_property = value;} } }
@@ -49,17 +49,35 @@ public partial class PrivateEndpointConnection :
/// Internal Acessors for SystemData
Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IPrivateEndpointConnectionInternal.SystemData { get => (this._systemData = this._systemData ?? new Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.SystemData()); set { {_systemData = value;} } }
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IPrivateEndpointConnectionInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IPrivateEndpointConnectionInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IPrivateEndpointConnectionInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IPrivateEndpointConnectionInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IPrivateEndpointConnectionInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IPrivateEndpointConnectionInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedByType = value ?? null; }
+
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Id = value ?? null; }
/// Internal Acessors for Location
- string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal.Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Location = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal.Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Location = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Name = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Origin(Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.PropertyOrigin.Inherited)]
@@ -93,27 +111,27 @@ public partial class PrivateEndpointConnection :
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Origin(Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.PropertyOrigin.Inlined)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Origin(Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.PropertyOrigin.Inlined)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Origin(Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.PropertyOrigin.Inlined)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedByType; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Origin(Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.PropertyOrigin.Inlined)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Origin(Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.PropertyOrigin.Inlined)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Origin(Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.PropertyOrigin.Inlined)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedByType; }
///
/// The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs"
diff --git a/generated/ServiceBus/ServiceBus.Autorest/generated/api/Models/ResourceNamespacePatch.cs b/generated/ServiceBus/ServiceBus.Autorest/generated/api/Models/ResourceNamespacePatch.cs
index 652f9c49fd7e..24c3d3f71752 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/generated/api/Models/ResourceNamespacePatch.cs
+++ b/generated/ServiceBus/ServiceBus.Autorest/generated/api/Models/ResourceNamespacePatch.cs
@@ -31,13 +31,13 @@ public partial class ResourceNamespacePatch :
public string Location { get => this._location; set => this._location = value; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IResourceInternal)__resource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IResourceInternal)__resource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IResourceInternal)__resource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IResourceInternal)__resource).Name = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IResourceInternal)__resource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IResourceInternal)__resource).Type = value ?? null; }
/// Resource name
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Origin(Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.PropertyOrigin.Inherited)]
diff --git a/generated/ServiceBus/ServiceBus.Autorest/generated/api/Models/Rule.cs b/generated/ServiceBus/ServiceBus.Autorest/generated/api/Models/Rule.cs
index b20a01fe95a5..64b6eca09203 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/generated/api/Models/Rule.cs
+++ b/generated/ServiceBus/ServiceBus.Autorest/generated/api/Models/Rule.cs
@@ -72,32 +72,50 @@ public partial class Rule :
public string MessageId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IRulepropertiesInternal)Property).CorrelationFilterMessageId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IRulepropertiesInternal)Property).CorrelationFilterMessageId = value ?? null; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Id = value ?? null; }
/// Internal Acessors for Location
- string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal.Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Location = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal.Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Location = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Name = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Type = value ?? null; }
/// Internal Acessors for Action
- Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IAction Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IRuleInternal.Action { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IRulepropertiesInternal)Property).Action; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IRulepropertiesInternal)Property).Action = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IAction Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IRuleInternal.Action { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IRulepropertiesInternal)Property).Action; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IRulepropertiesInternal)Property).Action = value ?? null /* model class */; }
/// Internal Acessors for CorrelationFilter
- Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ICorrelationFilter Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IRuleInternal.CorrelationFilter { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IRulepropertiesInternal)Property).CorrelationFilter; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IRulepropertiesInternal)Property).CorrelationFilter = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ICorrelationFilter Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IRuleInternal.CorrelationFilter { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IRulepropertiesInternal)Property).CorrelationFilter; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IRulepropertiesInternal)Property).CorrelationFilter = value ?? null /* model class */; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IRuleproperties Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IRuleInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Ruleproperties()); set { {_property = value;} } }
/// Internal Acessors for SqlFilter
- Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISqlFilter Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IRuleInternal.SqlFilter { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IRulepropertiesInternal)Property).SqlFilter; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IRulepropertiesInternal)Property).SqlFilter = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISqlFilter Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IRuleInternal.SqlFilter { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IRulepropertiesInternal)Property).SqlFilter; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IRulepropertiesInternal)Property).SqlFilter = value ?? null /* model class */; }
/// Internal Acessors for SystemData
Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IRuleInternal.SystemData { get => (this._systemData = this._systemData ?? new Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.SystemData()); set { {_systemData = value;} } }
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IRuleInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IRuleInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IRuleInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IRuleInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IRuleInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IRuleInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedByType = value ?? null; }
+
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Origin(Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.PropertyOrigin.Inherited)]
public string Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Name; }
@@ -148,27 +166,27 @@ public partial class Rule :
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Origin(Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.PropertyOrigin.Inlined)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Origin(Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.PropertyOrigin.Inlined)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Origin(Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.PropertyOrigin.Inlined)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedByType; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Origin(Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.PropertyOrigin.Inlined)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Origin(Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.PropertyOrigin.Inlined)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Origin(Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.PropertyOrigin.Inlined)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedByType; }
/// Address to send to.
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Origin(Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.PropertyOrigin.Inlined)]
diff --git a/generated/ServiceBus/ServiceBus.Autorest/generated/api/Models/SbAuthorizationRule.cs b/generated/ServiceBus/ServiceBus.Autorest/generated/api/Models/SbAuthorizationRule.cs
index efb4499a139b..36dbfea9686f 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/generated/api/Models/SbAuthorizationRule.cs
+++ b/generated/ServiceBus/ServiceBus.Autorest/generated/api/Models/SbAuthorizationRule.cs
@@ -30,16 +30,16 @@ public partial class SbAuthorizationRule :
public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Location; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Id = value ?? null; }
/// Internal Acessors for Location
- string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal.Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Location = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal.Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Location = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Name = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Type = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbAuthorizationRuleProperties Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbAuthorizationRuleInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.SbAuthorizationRuleProperties()); set { {_property = value;} } }
@@ -47,6 +47,24 @@ public partial class SbAuthorizationRule :
/// Internal Acessors for SystemData
Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbAuthorizationRuleInternal.SystemData { get => (this._systemData = this._systemData ?? new Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.SystemData()); set { {_systemData = value;} } }
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbAuthorizationRuleInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbAuthorizationRuleInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbAuthorizationRuleInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbAuthorizationRuleInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbAuthorizationRuleInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbAuthorizationRuleInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedByType = value ?? null; }
+
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Origin(Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.PropertyOrigin.Inherited)]
public string Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Name; }
@@ -75,27 +93,27 @@ public partial class SbAuthorizationRule :
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Origin(Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.PropertyOrigin.Inlined)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Origin(Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.PropertyOrigin.Inlined)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Origin(Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.PropertyOrigin.Inlined)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedByType; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Origin(Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.PropertyOrigin.Inlined)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Origin(Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.PropertyOrigin.Inlined)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Origin(Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.PropertyOrigin.Inlined)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedByType; }
///
/// The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs"
diff --git a/generated/ServiceBus/ServiceBus.Autorest/generated/api/Models/SbNamespace.cs b/generated/ServiceBus/ServiceBus.Autorest/generated/api/Models/SbNamespace.cs
index 71073557c621..89eb0fd4e098 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/generated/api/Models/SbNamespace.cs
+++ b/generated/ServiceBus/ServiceBus.Autorest/generated/api/Models/SbNamespace.cs
@@ -56,59 +56,77 @@ public partial class SbNamespace :
/// The Geo-location where the resource lives
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Origin(Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.PropertyOrigin.Inherited)]
- public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ITrackedResourceInternal)__trackedResource).Location = value ; }
+ public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ITrackedResourceInternal)__trackedResource).Location = value ?? null; }
/// Identifier for Azure Insights metrics
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Origin(Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.PropertyOrigin.Inlined)]
public string MetricId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespacePropertiesInternal)Property).MetricId; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IResourceInternal)__trackedResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IResourceInternal)__trackedResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IResourceInternal)__trackedResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IResourceInternal)__trackedResource).Name = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IResourceInternal)__trackedResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IResourceInternal)__trackedResource).Type = value ?? null; }
/// Internal Acessors for CreatedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespaceInternal.CreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespacePropertiesInternal)Property).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespacePropertiesInternal)Property).CreatedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespaceInternal.CreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespacePropertiesInternal)Property).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespacePropertiesInternal)Property).CreatedAt = value ?? default(global::System.DateTime); }
/// Internal Acessors for Encryption
- Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IEncryption Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespaceInternal.Encryption { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespacePropertiesInternal)Property).Encryption; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespacePropertiesInternal)Property).Encryption = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IEncryption Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespaceInternal.Encryption { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespacePropertiesInternal)Property).Encryption; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespacePropertiesInternal)Property).Encryption = value ?? null /* model class */; }
/// Internal Acessors for Identity
Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IIdentity Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespaceInternal.Identity { get => (this._identity = this._identity ?? new Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Identity()); set { {_identity = value;} } }
/// Internal Acessors for MetricId
- string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespaceInternal.MetricId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespacePropertiesInternal)Property).MetricId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespacePropertiesInternal)Property).MetricId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespaceInternal.MetricId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespacePropertiesInternal)Property).MetricId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespacePropertiesInternal)Property).MetricId = value ?? null; }
/// Internal Acessors for PrincipalId
- string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespaceInternal.PrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IIdentityInternal)Identity).PrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IIdentityInternal)Identity).PrincipalId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespaceInternal.PrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IIdentityInternal)Identity).PrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IIdentityInternal)Identity).PrincipalId = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespaceProperties Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespaceInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.SbNamespaceProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespaceInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespacePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespacePropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespaceInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespacePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespacePropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for ServiceBusEndpoint
- string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespaceInternal.ServiceBusEndpoint { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespacePropertiesInternal)Property).ServiceBusEndpoint; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespacePropertiesInternal)Property).ServiceBusEndpoint = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespaceInternal.ServiceBusEndpoint { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespacePropertiesInternal)Property).ServiceBusEndpoint; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespacePropertiesInternal)Property).ServiceBusEndpoint = value ?? null; }
/// Internal Acessors for Sku
Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbSku Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespaceInternal.Sku { get => (this._sku = this._sku ?? new Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.SbSku()); set { {_sku = value;} } }
/// Internal Acessors for Status
- string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespaceInternal.Status { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespacePropertiesInternal)Property).Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespacePropertiesInternal)Property).Status = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespaceInternal.Status { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespacePropertiesInternal)Property).Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespacePropertiesInternal)Property).Status = value ?? null; }
/// Internal Acessors for SystemData
Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespaceInternal.SystemData { get => (this._systemData = this._systemData ?? new Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.SystemData()); set { {_systemData = value;} } }
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespaceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespaceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespaceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespaceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespaceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespaceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedByType = value ?? null; }
+
/// Internal Acessors for TenantId
- string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespaceInternal.TenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IIdentityInternal)Identity).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IIdentityInternal)Identity).TenantId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespaceInternal.TenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IIdentityInternal)Identity).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IIdentityInternal)Identity).TenantId = value ?? null; }
/// Internal Acessors for UpdatedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespaceInternal.UpdatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespacePropertiesInternal)Property).UpdatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespacePropertiesInternal)Property).UpdatedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespaceInternal.UpdatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespacePropertiesInternal)Property).UpdatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespacePropertiesInternal)Property).UpdatedAt = value ?? default(global::System.DateTime); }
/// The minimum TLS version for the cluster to support, e.g. '1.2'
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Origin(Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.PropertyOrigin.Inlined)]
@@ -198,27 +216,27 @@ public partial class SbNamespace :
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Origin(Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.PropertyOrigin.Inlined)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Origin(Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.PropertyOrigin.Inlined)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Origin(Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.PropertyOrigin.Inlined)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedByType; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Origin(Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.PropertyOrigin.Inlined)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Origin(Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.PropertyOrigin.Inlined)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Origin(Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.PropertyOrigin.Inlined)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedByType; }
/// Resource tags
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Origin(Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.PropertyOrigin.Inherited)]
diff --git a/generated/ServiceBus/ServiceBus.Autorest/generated/api/Models/SbNamespaceUpdateParameters.cs b/generated/ServiceBus/ServiceBus.Autorest/generated/api/Models/SbNamespaceUpdateParameters.cs
index 4136acc9b135..c94f9b2ca91f 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/generated/api/Models/SbNamespaceUpdateParameters.cs
+++ b/generated/ServiceBus/ServiceBus.Autorest/generated/api/Models/SbNamespaceUpdateParameters.cs
@@ -80,49 +80,49 @@ public partial class SbNamespaceUpdateParameters :
public string MetricId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespaceUpdatePropertiesInternal)Property).MetricId; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IResourceInternal)__resourceNamespacePatch).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IResourceInternal)__resourceNamespacePatch).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IResourceInternal)__resourceNamespacePatch).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IResourceInternal)__resourceNamespacePatch).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IResourceInternal)__resourceNamespacePatch).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IResourceInternal)__resourceNamespacePatch).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IResourceInternal)__resourceNamespacePatch).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IResourceInternal)__resourceNamespacePatch).Name = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IResourceInternal)__resourceNamespacePatch).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IResourceInternal)__resourceNamespacePatch).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IResourceInternal)__resourceNamespacePatch).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IResourceInternal)__resourceNamespacePatch).Type = value ?? null; }
/// Internal Acessors for CreatedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespaceUpdateParametersInternal.CreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespaceUpdatePropertiesInternal)Property).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespaceUpdatePropertiesInternal)Property).CreatedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespaceUpdateParametersInternal.CreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespaceUpdatePropertiesInternal)Property).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespaceUpdatePropertiesInternal)Property).CreatedAt = value ?? default(global::System.DateTime); }
/// Internal Acessors for Encryption
- Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IEncryption Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespaceUpdateParametersInternal.Encryption { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespaceUpdatePropertiesInternal)Property).Encryption; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespaceUpdatePropertiesInternal)Property).Encryption = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IEncryption Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespaceUpdateParametersInternal.Encryption { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespaceUpdatePropertiesInternal)Property).Encryption; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespaceUpdatePropertiesInternal)Property).Encryption = value ?? null /* model class */; }
/// Internal Acessors for Identity
Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IIdentity Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespaceUpdateParametersInternal.Identity { get => (this._identity = this._identity ?? new Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Identity()); set { {_identity = value;} } }
/// Internal Acessors for IdentityPrincipalId
- string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespaceUpdateParametersInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IIdentityInternal)Identity).PrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IIdentityInternal)Identity).PrincipalId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespaceUpdateParametersInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IIdentityInternal)Identity).PrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IIdentityInternal)Identity).PrincipalId = value ?? null; }
/// Internal Acessors for IdentityTenantId
- string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespaceUpdateParametersInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IIdentityInternal)Identity).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IIdentityInternal)Identity).TenantId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespaceUpdateParametersInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IIdentityInternal)Identity).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IIdentityInternal)Identity).TenantId = value ?? null; }
/// Internal Acessors for MetricId
- string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespaceUpdateParametersInternal.MetricId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespaceUpdatePropertiesInternal)Property).MetricId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespaceUpdatePropertiesInternal)Property).MetricId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespaceUpdateParametersInternal.MetricId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespaceUpdatePropertiesInternal)Property).MetricId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespaceUpdatePropertiesInternal)Property).MetricId = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespaceUpdateProperties Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespaceUpdateParametersInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.SbNamespaceUpdateProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespaceUpdateParametersInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespaceUpdatePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespaceUpdatePropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespaceUpdateParametersInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespaceUpdatePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespaceUpdatePropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for ServiceBusEndpoint
- string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespaceUpdateParametersInternal.ServiceBusEndpoint { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespaceUpdatePropertiesInternal)Property).ServiceBusEndpoint; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespaceUpdatePropertiesInternal)Property).ServiceBusEndpoint = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespaceUpdateParametersInternal.ServiceBusEndpoint { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespaceUpdatePropertiesInternal)Property).ServiceBusEndpoint; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespaceUpdatePropertiesInternal)Property).ServiceBusEndpoint = value ?? null; }
/// Internal Acessors for Sku
Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbSku Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespaceUpdateParametersInternal.Sku { get => (this._sku = this._sku ?? new Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.SbSku()); set { {_sku = value;} } }
/// Internal Acessors for Status
- string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespaceUpdateParametersInternal.Status { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespaceUpdatePropertiesInternal)Property).Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespaceUpdatePropertiesInternal)Property).Status = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespaceUpdateParametersInternal.Status { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespaceUpdatePropertiesInternal)Property).Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespaceUpdatePropertiesInternal)Property).Status = value ?? null; }
/// Internal Acessors for UpdatedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespaceUpdateParametersInternal.UpdatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespaceUpdatePropertiesInternal)Property).UpdatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespaceUpdatePropertiesInternal)Property).UpdatedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespaceUpdateParametersInternal.UpdatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespaceUpdatePropertiesInternal)Property).UpdatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespaceUpdatePropertiesInternal)Property).UpdatedAt = value ?? default(global::System.DateTime); }
/// Resource name
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Origin(Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.PropertyOrigin.Inherited)]
diff --git a/generated/ServiceBus/ServiceBus.Autorest/generated/api/Models/SbQueue.cs b/generated/ServiceBus/ServiceBus.Autorest/generated/api/Models/SbQueue.cs
index 34d4c582d0be..38cd13bdfc51 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/generated/api/Models/SbQueue.cs
+++ b/generated/ServiceBus/ServiceBus.Autorest/generated/api/Models/SbQueue.cs
@@ -141,55 +141,73 @@ public partial class SbQueue :
public long? MessageCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbQueuePropertiesInternal)Property).MessageCount; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Id = value ?? null; }
/// Internal Acessors for Location
- string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal.Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Location = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal.Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Location = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Name = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Type = value ?? null; }
/// Internal Acessors for AccessedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbQueueInternal.AccessedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbQueuePropertiesInternal)Property).AccessedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbQueuePropertiesInternal)Property).AccessedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbQueueInternal.AccessedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbQueuePropertiesInternal)Property).AccessedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbQueuePropertiesInternal)Property).AccessedAt = value ?? default(global::System.DateTime); }
/// Internal Acessors for CountDetail
- Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IMessageCountDetails Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbQueueInternal.CountDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbQueuePropertiesInternal)Property).CountDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbQueuePropertiesInternal)Property).CountDetail = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IMessageCountDetails Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbQueueInternal.CountDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbQueuePropertiesInternal)Property).CountDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbQueuePropertiesInternal)Property).CountDetail = value ?? null /* model class */; }
/// Internal Acessors for CountDetailActiveMessageCount
- long? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbQueueInternal.CountDetailActiveMessageCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbQueuePropertiesInternal)Property).CountDetailActiveMessageCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbQueuePropertiesInternal)Property).CountDetailActiveMessageCount = value; }
+ long? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbQueueInternal.CountDetailActiveMessageCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbQueuePropertiesInternal)Property).CountDetailActiveMessageCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbQueuePropertiesInternal)Property).CountDetailActiveMessageCount = value ?? default(long); }
/// Internal Acessors for CountDetailDeadLetterMessageCount
- long? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbQueueInternal.CountDetailDeadLetterMessageCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbQueuePropertiesInternal)Property).CountDetailDeadLetterMessageCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbQueuePropertiesInternal)Property).CountDetailDeadLetterMessageCount = value; }
+ long? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbQueueInternal.CountDetailDeadLetterMessageCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbQueuePropertiesInternal)Property).CountDetailDeadLetterMessageCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbQueuePropertiesInternal)Property).CountDetailDeadLetterMessageCount = value ?? default(long); }
/// Internal Acessors for CountDetailScheduledMessageCount
- long? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbQueueInternal.CountDetailScheduledMessageCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbQueuePropertiesInternal)Property).CountDetailScheduledMessageCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbQueuePropertiesInternal)Property).CountDetailScheduledMessageCount = value; }
+ long? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbQueueInternal.CountDetailScheduledMessageCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbQueuePropertiesInternal)Property).CountDetailScheduledMessageCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbQueuePropertiesInternal)Property).CountDetailScheduledMessageCount = value ?? default(long); }
/// Internal Acessors for CountDetailTransferDeadLetterMessageCount
- long? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbQueueInternal.CountDetailTransferDeadLetterMessageCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbQueuePropertiesInternal)Property).CountDetailTransferDeadLetterMessageCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbQueuePropertiesInternal)Property).CountDetailTransferDeadLetterMessageCount = value; }
+ long? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbQueueInternal.CountDetailTransferDeadLetterMessageCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbQueuePropertiesInternal)Property).CountDetailTransferDeadLetterMessageCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbQueuePropertiesInternal)Property).CountDetailTransferDeadLetterMessageCount = value ?? default(long); }
/// Internal Acessors for CountDetailTransferMessageCount
- long? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbQueueInternal.CountDetailTransferMessageCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbQueuePropertiesInternal)Property).CountDetailTransferMessageCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbQueuePropertiesInternal)Property).CountDetailTransferMessageCount = value; }
+ long? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbQueueInternal.CountDetailTransferMessageCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbQueuePropertiesInternal)Property).CountDetailTransferMessageCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbQueuePropertiesInternal)Property).CountDetailTransferMessageCount = value ?? default(long); }
/// Internal Acessors for CreatedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbQueueInternal.CreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbQueuePropertiesInternal)Property).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbQueuePropertiesInternal)Property).CreatedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbQueueInternal.CreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbQueuePropertiesInternal)Property).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbQueuePropertiesInternal)Property).CreatedAt = value ?? default(global::System.DateTime); }
/// Internal Acessors for MessageCount
- long? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbQueueInternal.MessageCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbQueuePropertiesInternal)Property).MessageCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbQueuePropertiesInternal)Property).MessageCount = value; }
+ long? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbQueueInternal.MessageCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbQueuePropertiesInternal)Property).MessageCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbQueuePropertiesInternal)Property).MessageCount = value ?? default(long); }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbQueueProperties Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbQueueInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.SbQueueProperties()); set { {_property = value;} } }
/// Internal Acessors for SizeInByte
- long? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbQueueInternal.SizeInByte { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbQueuePropertiesInternal)Property).SizeInByte; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbQueuePropertiesInternal)Property).SizeInByte = value; }
+ long? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbQueueInternal.SizeInByte { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbQueuePropertiesInternal)Property).SizeInByte; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbQueuePropertiesInternal)Property).SizeInByte = value ?? default(long); }
/// Internal Acessors for SystemData
Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbQueueInternal.SystemData { get => (this._systemData = this._systemData ?? new Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.SystemData()); set { {_systemData = value;} } }
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbQueueInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbQueueInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbQueueInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbQueueInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbQueueInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbQueueInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedByType = value ?? null; }
+
/// Internal Acessors for UpdatedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbQueueInternal.UpdatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbQueuePropertiesInternal)Property).UpdatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbQueuePropertiesInternal)Property).UpdatedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbQueueInternal.UpdatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbQueuePropertiesInternal)Property).UpdatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbQueuePropertiesInternal)Property).UpdatedAt = value ?? default(global::System.DateTime); }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Origin(Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.PropertyOrigin.Inherited)]
@@ -231,27 +249,27 @@ public partial class SbQueue :
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Origin(Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.PropertyOrigin.Inlined)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Origin(Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.PropertyOrigin.Inlined)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Origin(Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.PropertyOrigin.Inlined)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedByType; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Origin(Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.PropertyOrigin.Inlined)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Origin(Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.PropertyOrigin.Inlined)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Origin(Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.PropertyOrigin.Inlined)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedByType; }
///
/// The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs"
diff --git a/generated/ServiceBus/ServiceBus.Autorest/generated/api/Models/SbQueueProperties.cs b/generated/ServiceBus/ServiceBus.Autorest/generated/api/Models/SbQueueProperties.cs
index c84e968eb1b0..5ed8879cfd34 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/generated/api/Models/SbQueueProperties.cs
+++ b/generated/ServiceBus/ServiceBus.Autorest/generated/api/Models/SbQueueProperties.cs
@@ -187,19 +187,19 @@ public partial class SbQueueProperties :
Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IMessageCountDetails Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbQueuePropertiesInternal.CountDetail { get => (this._countDetail = this._countDetail ?? new Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.MessageCountDetails()); set { {_countDetail = value;} } }
/// Internal Acessors for CountDetailActiveMessageCount
- long? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbQueuePropertiesInternal.CountDetailActiveMessageCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IMessageCountDetailsInternal)CountDetail).ActiveMessageCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IMessageCountDetailsInternal)CountDetail).ActiveMessageCount = value; }
+ long? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbQueuePropertiesInternal.CountDetailActiveMessageCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IMessageCountDetailsInternal)CountDetail).ActiveMessageCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IMessageCountDetailsInternal)CountDetail).ActiveMessageCount = value ?? default(long); }
/// Internal Acessors for CountDetailDeadLetterMessageCount
- long? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbQueuePropertiesInternal.CountDetailDeadLetterMessageCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IMessageCountDetailsInternal)CountDetail).DeadLetterMessageCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IMessageCountDetailsInternal)CountDetail).DeadLetterMessageCount = value; }
+ long? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbQueuePropertiesInternal.CountDetailDeadLetterMessageCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IMessageCountDetailsInternal)CountDetail).DeadLetterMessageCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IMessageCountDetailsInternal)CountDetail).DeadLetterMessageCount = value ?? default(long); }
/// Internal Acessors for CountDetailScheduledMessageCount
- long? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbQueuePropertiesInternal.CountDetailScheduledMessageCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IMessageCountDetailsInternal)CountDetail).ScheduledMessageCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IMessageCountDetailsInternal)CountDetail).ScheduledMessageCount = value; }
+ long? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbQueuePropertiesInternal.CountDetailScheduledMessageCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IMessageCountDetailsInternal)CountDetail).ScheduledMessageCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IMessageCountDetailsInternal)CountDetail).ScheduledMessageCount = value ?? default(long); }
/// Internal Acessors for CountDetailTransferDeadLetterMessageCount
- long? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbQueuePropertiesInternal.CountDetailTransferDeadLetterMessageCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IMessageCountDetailsInternal)CountDetail).TransferDeadLetterMessageCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IMessageCountDetailsInternal)CountDetail).TransferDeadLetterMessageCount = value; }
+ long? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbQueuePropertiesInternal.CountDetailTransferDeadLetterMessageCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IMessageCountDetailsInternal)CountDetail).TransferDeadLetterMessageCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IMessageCountDetailsInternal)CountDetail).TransferDeadLetterMessageCount = value ?? default(long); }
/// Internal Acessors for CountDetailTransferMessageCount
- long? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbQueuePropertiesInternal.CountDetailTransferMessageCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IMessageCountDetailsInternal)CountDetail).TransferMessageCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IMessageCountDetailsInternal)CountDetail).TransferMessageCount = value; }
+ long? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbQueuePropertiesInternal.CountDetailTransferMessageCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IMessageCountDetailsInternal)CountDetail).TransferMessageCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IMessageCountDetailsInternal)CountDetail).TransferMessageCount = value ?? default(long); }
/// Internal Acessors for CreatedAt
global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbQueuePropertiesInternal.CreatedAt { get => this._createdAt; set { {_createdAt = value;} } }
diff --git a/generated/ServiceBus/ServiceBus.Autorest/generated/api/Models/SbSubscription.cs b/generated/ServiceBus/ServiceBus.Autorest/generated/api/Models/SbSubscription.cs
index c51deca74ed1..943140ba7bd7 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/generated/api/Models/SbSubscription.cs
+++ b/generated/ServiceBus/ServiceBus.Autorest/generated/api/Models/SbSubscription.cs
@@ -137,46 +137,46 @@ public partial class SbSubscription :
public long? MessageCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbSubscriptionPropertiesInternal)Property).MessageCount; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Id = value ?? null; }
/// Internal Acessors for Location
- string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal.Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Location = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal.Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Location = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Name = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Type = value ?? null; }
/// Internal Acessors for AccessedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbSubscriptionInternal.AccessedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbSubscriptionPropertiesInternal)Property).AccessedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbSubscriptionPropertiesInternal)Property).AccessedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbSubscriptionInternal.AccessedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbSubscriptionPropertiesInternal)Property).AccessedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbSubscriptionPropertiesInternal)Property).AccessedAt = value ?? default(global::System.DateTime); }
/// Internal Acessors for ClientAffineProperty
- Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbClientAffineProperties Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbSubscriptionInternal.ClientAffineProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbSubscriptionPropertiesInternal)Property).ClientAffineProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbSubscriptionPropertiesInternal)Property).ClientAffineProperty = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbClientAffineProperties Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbSubscriptionInternal.ClientAffineProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbSubscriptionPropertiesInternal)Property).ClientAffineProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbSubscriptionPropertiesInternal)Property).ClientAffineProperty = value ?? null /* model class */; }
/// Internal Acessors for CountDetail
- Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IMessageCountDetails Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbSubscriptionInternal.CountDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbSubscriptionPropertiesInternal)Property).CountDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbSubscriptionPropertiesInternal)Property).CountDetail = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IMessageCountDetails Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbSubscriptionInternal.CountDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbSubscriptionPropertiesInternal)Property).CountDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbSubscriptionPropertiesInternal)Property).CountDetail = value ?? null /* model class */; }
/// Internal Acessors for CountDetailActiveMessageCount
- long? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbSubscriptionInternal.CountDetailActiveMessageCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbSubscriptionPropertiesInternal)Property).CountDetailActiveMessageCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbSubscriptionPropertiesInternal)Property).CountDetailActiveMessageCount = value; }
+ long? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbSubscriptionInternal.CountDetailActiveMessageCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbSubscriptionPropertiesInternal)Property).CountDetailActiveMessageCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbSubscriptionPropertiesInternal)Property).CountDetailActiveMessageCount = value ?? default(long); }
/// Internal Acessors for CountDetailDeadLetterMessageCount
- long? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbSubscriptionInternal.CountDetailDeadLetterMessageCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbSubscriptionPropertiesInternal)Property).CountDetailDeadLetterMessageCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbSubscriptionPropertiesInternal)Property).CountDetailDeadLetterMessageCount = value; }
+ long? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbSubscriptionInternal.CountDetailDeadLetterMessageCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbSubscriptionPropertiesInternal)Property).CountDetailDeadLetterMessageCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbSubscriptionPropertiesInternal)Property).CountDetailDeadLetterMessageCount = value ?? default(long); }
/// Internal Acessors for CountDetailScheduledMessageCount
- long? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbSubscriptionInternal.CountDetailScheduledMessageCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbSubscriptionPropertiesInternal)Property).CountDetailScheduledMessageCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbSubscriptionPropertiesInternal)Property).CountDetailScheduledMessageCount = value; }
+ long? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbSubscriptionInternal.CountDetailScheduledMessageCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbSubscriptionPropertiesInternal)Property).CountDetailScheduledMessageCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbSubscriptionPropertiesInternal)Property).CountDetailScheduledMessageCount = value ?? default(long); }
/// Internal Acessors for CountDetailTransferDeadLetterMessageCount
- long? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbSubscriptionInternal.CountDetailTransferDeadLetterMessageCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbSubscriptionPropertiesInternal)Property).CountDetailTransferDeadLetterMessageCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbSubscriptionPropertiesInternal)Property).CountDetailTransferDeadLetterMessageCount = value; }
+ long? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbSubscriptionInternal.CountDetailTransferDeadLetterMessageCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbSubscriptionPropertiesInternal)Property).CountDetailTransferDeadLetterMessageCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbSubscriptionPropertiesInternal)Property).CountDetailTransferDeadLetterMessageCount = value ?? default(long); }
/// Internal Acessors for CountDetailTransferMessageCount
- long? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbSubscriptionInternal.CountDetailTransferMessageCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbSubscriptionPropertiesInternal)Property).CountDetailTransferMessageCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbSubscriptionPropertiesInternal)Property).CountDetailTransferMessageCount = value; }
+ long? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbSubscriptionInternal.CountDetailTransferMessageCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbSubscriptionPropertiesInternal)Property).CountDetailTransferMessageCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbSubscriptionPropertiesInternal)Property).CountDetailTransferMessageCount = value ?? default(long); }
/// Internal Acessors for CreatedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbSubscriptionInternal.CreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbSubscriptionPropertiesInternal)Property).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbSubscriptionPropertiesInternal)Property).CreatedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbSubscriptionInternal.CreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbSubscriptionPropertiesInternal)Property).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbSubscriptionPropertiesInternal)Property).CreatedAt = value ?? default(global::System.DateTime); }
/// Internal Acessors for MessageCount
- long? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbSubscriptionInternal.MessageCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbSubscriptionPropertiesInternal)Property).MessageCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbSubscriptionPropertiesInternal)Property).MessageCount = value; }
+ long? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbSubscriptionInternal.MessageCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbSubscriptionPropertiesInternal)Property).MessageCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbSubscriptionPropertiesInternal)Property).MessageCount = value ?? default(long); }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbSubscriptionProperties Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbSubscriptionInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.SbSubscriptionProperties()); set { {_property = value;} } }
@@ -184,8 +184,26 @@ public partial class SbSubscription :
/// Internal Acessors for SystemData
Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbSubscriptionInternal.SystemData { get => (this._systemData = this._systemData ?? new Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.SystemData()); set { {_systemData = value;} } }
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbSubscriptionInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbSubscriptionInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbSubscriptionInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbSubscriptionInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbSubscriptionInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbSubscriptionInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedByType = value ?? null; }
+
/// Internal Acessors for UpdatedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbSubscriptionInternal.UpdatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbSubscriptionPropertiesInternal)Property).UpdatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbSubscriptionPropertiesInternal)Property).UpdatedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbSubscriptionInternal.UpdatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbSubscriptionPropertiesInternal)Property).UpdatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbSubscriptionPropertiesInternal)Property).UpdatedAt = value ?? default(global::System.DateTime); }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Origin(Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.PropertyOrigin.Inherited)]
@@ -219,27 +237,27 @@ public partial class SbSubscription :
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Origin(Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.PropertyOrigin.Inlined)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Origin(Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.PropertyOrigin.Inlined)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Origin(Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.PropertyOrigin.Inlined)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedByType; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Origin(Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.PropertyOrigin.Inlined)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Origin(Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.PropertyOrigin.Inlined)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Origin(Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.PropertyOrigin.Inlined)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedByType; }
///
/// The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs"
diff --git a/generated/ServiceBus/ServiceBus.Autorest/generated/api/Models/SbSubscriptionProperties.cs b/generated/ServiceBus/ServiceBus.Autorest/generated/api/Models/SbSubscriptionProperties.cs
index 43a8e65ffaca..da52914a3f40 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/generated/api/Models/SbSubscriptionProperties.cs
+++ b/generated/ServiceBus/ServiceBus.Autorest/generated/api/Models/SbSubscriptionProperties.cs
@@ -189,19 +189,19 @@ public partial class SbSubscriptionProperties :
Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IMessageCountDetails Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbSubscriptionPropertiesInternal.CountDetail { get => (this._countDetail = this._countDetail ?? new Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.MessageCountDetails()); set { {_countDetail = value;} } }
/// Internal Acessors for CountDetailActiveMessageCount
- long? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbSubscriptionPropertiesInternal.CountDetailActiveMessageCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IMessageCountDetailsInternal)CountDetail).ActiveMessageCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IMessageCountDetailsInternal)CountDetail).ActiveMessageCount = value; }
+ long? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbSubscriptionPropertiesInternal.CountDetailActiveMessageCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IMessageCountDetailsInternal)CountDetail).ActiveMessageCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IMessageCountDetailsInternal)CountDetail).ActiveMessageCount = value ?? default(long); }
/// Internal Acessors for CountDetailDeadLetterMessageCount
- long? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbSubscriptionPropertiesInternal.CountDetailDeadLetterMessageCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IMessageCountDetailsInternal)CountDetail).DeadLetterMessageCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IMessageCountDetailsInternal)CountDetail).DeadLetterMessageCount = value; }
+ long? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbSubscriptionPropertiesInternal.CountDetailDeadLetterMessageCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IMessageCountDetailsInternal)CountDetail).DeadLetterMessageCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IMessageCountDetailsInternal)CountDetail).DeadLetterMessageCount = value ?? default(long); }
/// Internal Acessors for CountDetailScheduledMessageCount
- long? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbSubscriptionPropertiesInternal.CountDetailScheduledMessageCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IMessageCountDetailsInternal)CountDetail).ScheduledMessageCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IMessageCountDetailsInternal)CountDetail).ScheduledMessageCount = value; }
+ long? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbSubscriptionPropertiesInternal.CountDetailScheduledMessageCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IMessageCountDetailsInternal)CountDetail).ScheduledMessageCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IMessageCountDetailsInternal)CountDetail).ScheduledMessageCount = value ?? default(long); }
/// Internal Acessors for CountDetailTransferDeadLetterMessageCount
- long? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbSubscriptionPropertiesInternal.CountDetailTransferDeadLetterMessageCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IMessageCountDetailsInternal)CountDetail).TransferDeadLetterMessageCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IMessageCountDetailsInternal)CountDetail).TransferDeadLetterMessageCount = value; }
+ long? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbSubscriptionPropertiesInternal.CountDetailTransferDeadLetterMessageCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IMessageCountDetailsInternal)CountDetail).TransferDeadLetterMessageCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IMessageCountDetailsInternal)CountDetail).TransferDeadLetterMessageCount = value ?? default(long); }
/// Internal Acessors for CountDetailTransferMessageCount
- long? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbSubscriptionPropertiesInternal.CountDetailTransferMessageCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IMessageCountDetailsInternal)CountDetail).TransferMessageCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IMessageCountDetailsInternal)CountDetail).TransferMessageCount = value; }
+ long? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbSubscriptionPropertiesInternal.CountDetailTransferMessageCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IMessageCountDetailsInternal)CountDetail).TransferMessageCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IMessageCountDetailsInternal)CountDetail).TransferMessageCount = value ?? default(long); }
/// Internal Acessors for CreatedAt
global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbSubscriptionPropertiesInternal.CreatedAt { get => this._createdAt; set { {_createdAt = value;} } }
diff --git a/generated/ServiceBus/ServiceBus.Autorest/generated/api/Models/SbTopic.cs b/generated/ServiceBus/ServiceBus.Autorest/generated/api/Models/SbTopic.cs
index 856c21cb01f6..d181334de6b9 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/generated/api/Models/SbTopic.cs
+++ b/generated/ServiceBus/ServiceBus.Autorest/generated/api/Models/SbTopic.cs
@@ -107,55 +107,73 @@ public partial class SbTopic :
public int? MaxSizeInMegabytes { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbTopicPropertiesInternal)Property).MaxSizeInMegabytes; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbTopicPropertiesInternal)Property).MaxSizeInMegabytes = value ?? default(int); }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Id = value ?? null; }
/// Internal Acessors for Location
- string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal.Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Location = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal.Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Location = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Name = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IProxyResourceInternal)__proxyResource).Type = value ?? null; }
/// Internal Acessors for AccessedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbTopicInternal.AccessedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbTopicPropertiesInternal)Property).AccessedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbTopicPropertiesInternal)Property).AccessedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbTopicInternal.AccessedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbTopicPropertiesInternal)Property).AccessedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbTopicPropertiesInternal)Property).AccessedAt = value ?? default(global::System.DateTime); }
/// Internal Acessors for CountDetail
- Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IMessageCountDetails Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbTopicInternal.CountDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbTopicPropertiesInternal)Property).CountDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbTopicPropertiesInternal)Property).CountDetail = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IMessageCountDetails Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbTopicInternal.CountDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbTopicPropertiesInternal)Property).CountDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbTopicPropertiesInternal)Property).CountDetail = value ?? null /* model class */; }
/// Internal Acessors for CountDetailActiveMessageCount
- long? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbTopicInternal.CountDetailActiveMessageCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbTopicPropertiesInternal)Property).CountDetailActiveMessageCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbTopicPropertiesInternal)Property).CountDetailActiveMessageCount = value; }
+ long? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbTopicInternal.CountDetailActiveMessageCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbTopicPropertiesInternal)Property).CountDetailActiveMessageCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbTopicPropertiesInternal)Property).CountDetailActiveMessageCount = value ?? default(long); }
/// Internal Acessors for CountDetailDeadLetterMessageCount
- long? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbTopicInternal.CountDetailDeadLetterMessageCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbTopicPropertiesInternal)Property).CountDetailDeadLetterMessageCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbTopicPropertiesInternal)Property).CountDetailDeadLetterMessageCount = value; }
+ long? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbTopicInternal.CountDetailDeadLetterMessageCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbTopicPropertiesInternal)Property).CountDetailDeadLetterMessageCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbTopicPropertiesInternal)Property).CountDetailDeadLetterMessageCount = value ?? default(long); }
/// Internal Acessors for CountDetailScheduledMessageCount
- long? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbTopicInternal.CountDetailScheduledMessageCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbTopicPropertiesInternal)Property).CountDetailScheduledMessageCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbTopicPropertiesInternal)Property).CountDetailScheduledMessageCount = value; }
+ long? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbTopicInternal.CountDetailScheduledMessageCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbTopicPropertiesInternal)Property).CountDetailScheduledMessageCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbTopicPropertiesInternal)Property).CountDetailScheduledMessageCount = value ?? default(long); }
/// Internal Acessors for CountDetailTransferDeadLetterMessageCount
- long? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbTopicInternal.CountDetailTransferDeadLetterMessageCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbTopicPropertiesInternal)Property).CountDetailTransferDeadLetterMessageCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbTopicPropertiesInternal)Property).CountDetailTransferDeadLetterMessageCount = value; }
+ long? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbTopicInternal.CountDetailTransferDeadLetterMessageCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbTopicPropertiesInternal)Property).CountDetailTransferDeadLetterMessageCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbTopicPropertiesInternal)Property).CountDetailTransferDeadLetterMessageCount = value ?? default(long); }
/// Internal Acessors for CountDetailTransferMessageCount
- long? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbTopicInternal.CountDetailTransferMessageCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbTopicPropertiesInternal)Property).CountDetailTransferMessageCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbTopicPropertiesInternal)Property).CountDetailTransferMessageCount = value; }
+ long? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbTopicInternal.CountDetailTransferMessageCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbTopicPropertiesInternal)Property).CountDetailTransferMessageCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbTopicPropertiesInternal)Property).CountDetailTransferMessageCount = value ?? default(long); }
/// Internal Acessors for CreatedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbTopicInternal.CreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbTopicPropertiesInternal)Property).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbTopicPropertiesInternal)Property).CreatedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbTopicInternal.CreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbTopicPropertiesInternal)Property).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbTopicPropertiesInternal)Property).CreatedAt = value ?? default(global::System.DateTime); }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbTopicProperties Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbTopicInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.SbTopicProperties()); set { {_property = value;} } }
/// Internal Acessors for SizeInByte
- long? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbTopicInternal.SizeInByte { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbTopicPropertiesInternal)Property).SizeInByte; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbTopicPropertiesInternal)Property).SizeInByte = value; }
+ long? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbTopicInternal.SizeInByte { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbTopicPropertiesInternal)Property).SizeInByte; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbTopicPropertiesInternal)Property).SizeInByte = value ?? default(long); }
/// Internal Acessors for SubscriptionCount
- int? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbTopicInternal.SubscriptionCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbTopicPropertiesInternal)Property).SubscriptionCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbTopicPropertiesInternal)Property).SubscriptionCount = value; }
+ int? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbTopicInternal.SubscriptionCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbTopicPropertiesInternal)Property).SubscriptionCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbTopicPropertiesInternal)Property).SubscriptionCount = value ?? default(int); }
/// Internal Acessors for SystemData
Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbTopicInternal.SystemData { get => (this._systemData = this._systemData ?? new Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.SystemData()); set { {_systemData = value;} } }
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbTopicInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbTopicInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbTopicInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbTopicInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbTopicInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbTopicInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedByType = value ?? null; }
+
/// Internal Acessors for UpdatedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbTopicInternal.UpdatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbTopicPropertiesInternal)Property).UpdatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbTopicPropertiesInternal)Property).UpdatedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbTopicInternal.UpdatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbTopicPropertiesInternal)Property).UpdatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbTopicPropertiesInternal)Property).UpdatedAt = value ?? default(global::System.DateTime); }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Origin(Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.PropertyOrigin.Inherited)]
@@ -201,27 +219,27 @@ public partial class SbTopic :
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Origin(Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.PropertyOrigin.Inlined)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Origin(Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.PropertyOrigin.Inlined)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Origin(Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.PropertyOrigin.Inlined)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).CreatedByType; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Origin(Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.PropertyOrigin.Inlined)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Origin(Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.PropertyOrigin.Inlined)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Origin(Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.PropertyOrigin.Inlined)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISystemDataInternal)SystemData).LastModifiedByType; }
///
/// The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs"
diff --git a/generated/ServiceBus/ServiceBus.Autorest/generated/api/Models/SbTopicProperties.cs b/generated/ServiceBus/ServiceBus.Autorest/generated/api/Models/SbTopicProperties.cs
index f929e3006d3f..403934f9f7b4 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/generated/api/Models/SbTopicProperties.cs
+++ b/generated/ServiceBus/ServiceBus.Autorest/generated/api/Models/SbTopicProperties.cs
@@ -135,19 +135,19 @@ public partial class SbTopicProperties :
Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IMessageCountDetails Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbTopicPropertiesInternal.CountDetail { get => (this._countDetail = this._countDetail ?? new Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.MessageCountDetails()); set { {_countDetail = value;} } }
/// Internal Acessors for CountDetailActiveMessageCount
- long? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbTopicPropertiesInternal.CountDetailActiveMessageCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IMessageCountDetailsInternal)CountDetail).ActiveMessageCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IMessageCountDetailsInternal)CountDetail).ActiveMessageCount = value; }
+ long? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbTopicPropertiesInternal.CountDetailActiveMessageCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IMessageCountDetailsInternal)CountDetail).ActiveMessageCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IMessageCountDetailsInternal)CountDetail).ActiveMessageCount = value ?? default(long); }
/// Internal Acessors for CountDetailDeadLetterMessageCount
- long? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbTopicPropertiesInternal.CountDetailDeadLetterMessageCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IMessageCountDetailsInternal)CountDetail).DeadLetterMessageCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IMessageCountDetailsInternal)CountDetail).DeadLetterMessageCount = value; }
+ long? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbTopicPropertiesInternal.CountDetailDeadLetterMessageCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IMessageCountDetailsInternal)CountDetail).DeadLetterMessageCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IMessageCountDetailsInternal)CountDetail).DeadLetterMessageCount = value ?? default(long); }
/// Internal Acessors for CountDetailScheduledMessageCount
- long? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbTopicPropertiesInternal.CountDetailScheduledMessageCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IMessageCountDetailsInternal)CountDetail).ScheduledMessageCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IMessageCountDetailsInternal)CountDetail).ScheduledMessageCount = value; }
+ long? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbTopicPropertiesInternal.CountDetailScheduledMessageCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IMessageCountDetailsInternal)CountDetail).ScheduledMessageCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IMessageCountDetailsInternal)CountDetail).ScheduledMessageCount = value ?? default(long); }
/// Internal Acessors for CountDetailTransferDeadLetterMessageCount
- long? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbTopicPropertiesInternal.CountDetailTransferDeadLetterMessageCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IMessageCountDetailsInternal)CountDetail).TransferDeadLetterMessageCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IMessageCountDetailsInternal)CountDetail).TransferDeadLetterMessageCount = value; }
+ long? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbTopicPropertiesInternal.CountDetailTransferDeadLetterMessageCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IMessageCountDetailsInternal)CountDetail).TransferDeadLetterMessageCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IMessageCountDetailsInternal)CountDetail).TransferDeadLetterMessageCount = value ?? default(long); }
/// Internal Acessors for CountDetailTransferMessageCount
- long? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbTopicPropertiesInternal.CountDetailTransferMessageCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IMessageCountDetailsInternal)CountDetail).TransferMessageCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IMessageCountDetailsInternal)CountDetail).TransferMessageCount = value; }
+ long? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbTopicPropertiesInternal.CountDetailTransferMessageCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IMessageCountDetailsInternal)CountDetail).TransferMessageCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IMessageCountDetailsInternal)CountDetail).TransferMessageCount = value ?? default(long); }
/// Internal Acessors for CreatedAt
global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbTopicPropertiesInternal.CreatedAt { get => this._createdAt; set { {_createdAt = value;} } }
diff --git a/generated/ServiceBus/ServiceBus.Autorest/generated/api/Models/TrackedResource.cs b/generated/ServiceBus/ServiceBus.Autorest/generated/api/Models/TrackedResource.cs
index d8f4f207e482..02aaec48fdfb 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/generated/api/Models/TrackedResource.cs
+++ b/generated/ServiceBus/ServiceBus.Autorest/generated/api/Models/TrackedResource.cs
@@ -31,13 +31,13 @@ public partial class TrackedResource :
public string Location { get => this._location; set => this._location = value; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IResourceInternal)__resource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IResourceInternal)__resource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IResourceInternal)__resource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IResourceInternal)__resource).Name = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IResourceInternal)__resource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IResourceInternal)__resource).Type = value ?? null; }
/// Resource name
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Origin(Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.PropertyOrigin.Inherited)]
@@ -79,7 +79,7 @@ public partial interface ITrackedResource :
{
/// The Geo-location where the resource lives
[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Runtime.Info(
- Required = true,
+ Required = false,
ReadOnly = false,
Read = true,
Create = true,
diff --git a/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/CompleteAzServiceBusMigration_Complete.cs b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/CompleteAzServiceBusMigration_Complete.cs
index db7517346173..484239a233fe 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/CompleteAzServiceBusMigration_Complete.cs
+++ b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/CompleteAzServiceBusMigration_Complete.cs
@@ -491,7 +491,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/ServiceBus/ServiceBus.Autorest/generated/cmdlets/CompleteAzServiceBusMigration_CompleteViaIdentity.cs b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/CompleteAzServiceBusMigration_CompleteViaIdentity.cs
index 7f6d32c990b6..3fba91985639 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/CompleteAzServiceBusMigration_CompleteViaIdentity.cs
+++ b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/CompleteAzServiceBusMigration_CompleteViaIdentity.cs
@@ -469,7 +469,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/ServiceBus/ServiceBus.Autorest/generated/cmdlets/InvokeAzServiceBusBreakDisasterRecoveryConfigPairing_Break.cs b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/InvokeAzServiceBusBreakDisasterRecoveryConfigPairing_Break.cs
index e86bf27d51e3..20f43966939c 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/InvokeAzServiceBusBreakDisasterRecoveryConfigPairing_Break.cs
+++ b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/InvokeAzServiceBusBreakDisasterRecoveryConfigPairing_Break.cs
@@ -504,7 +504,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/ServiceBus/ServiceBus.Autorest/generated/cmdlets/InvokeAzServiceBusBreakDisasterRecoveryConfigPairing_BreakViaIdentity.cs b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/InvokeAzServiceBusBreakDisasterRecoveryConfigPairing_BreakViaIdentity.cs
index 348b429b4da5..b36c8c213d02 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/InvokeAzServiceBusBreakDisasterRecoveryConfigPairing_BreakViaIdentity.cs
+++ b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/InvokeAzServiceBusBreakDisasterRecoveryConfigPairing_BreakViaIdentity.cs
@@ -473,7 +473,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/ServiceBus/ServiceBus.Autorest/generated/cmdlets/InvokeAzServiceBusBreakDisasterRecoveryConfigPairing_BreakViaIdentityNamespace.cs b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/InvokeAzServiceBusBreakDisasterRecoveryConfigPairing_BreakViaIdentityNamespace.cs
index 7c8951c2acd1..0d3a44b45f2d 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/InvokeAzServiceBusBreakDisasterRecoveryConfigPairing_BreakViaIdentityNamespace.cs
+++ b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/InvokeAzServiceBusBreakDisasterRecoveryConfigPairing_BreakViaIdentityNamespace.cs
@@ -484,7 +484,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/ServiceBus/ServiceBus.Autorest/generated/cmdlets/InvokeAzServiceBusFailDisasterRecoveryConfigOver_Fail.cs b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/InvokeAzServiceBusFailDisasterRecoveryConfigOver_Fail.cs
index 41e82b67fee6..b64486f01938 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/InvokeAzServiceBusFailDisasterRecoveryConfigOver_Fail.cs
+++ b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/InvokeAzServiceBusFailDisasterRecoveryConfigOver_Fail.cs
@@ -520,7 +520,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/ServiceBus/ServiceBus.Autorest/generated/cmdlets/InvokeAzServiceBusFailDisasterRecoveryConfigOver_FailExpanded.cs b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/InvokeAzServiceBusFailDisasterRecoveryConfigOver_FailExpanded.cs
index 6c7cd757fced..f748a2f67808 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/InvokeAzServiceBusFailDisasterRecoveryConfigOver_FailExpanded.cs
+++ b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/InvokeAzServiceBusFailDisasterRecoveryConfigOver_FailExpanded.cs
@@ -523,7 +523,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/ServiceBus/ServiceBus.Autorest/generated/cmdlets/InvokeAzServiceBusFailDisasterRecoveryConfigOver_FailViaIdentity.cs b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/InvokeAzServiceBusFailDisasterRecoveryConfigOver_FailViaIdentity.cs
index ea760e61c27e..ca5041efc18d 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/InvokeAzServiceBusFailDisasterRecoveryConfigOver_FailViaIdentity.cs
+++ b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/InvokeAzServiceBusFailDisasterRecoveryConfigOver_FailViaIdentity.cs
@@ -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/ServiceBus/ServiceBus.Autorest/generated/cmdlets/InvokeAzServiceBusFailDisasterRecoveryConfigOver_FailViaIdentityExpanded.cs b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/InvokeAzServiceBusFailDisasterRecoveryConfigOver_FailViaIdentityExpanded.cs
index a6a1dccf4e13..9d2778697b9c 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/InvokeAzServiceBusFailDisasterRecoveryConfigOver_FailViaIdentityExpanded.cs
+++ b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/InvokeAzServiceBusFailDisasterRecoveryConfigOver_FailViaIdentityExpanded.cs
@@ -491,7 +491,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/ServiceBus/ServiceBus.Autorest/generated/cmdlets/InvokeAzServiceBusFailDisasterRecoveryConfigOver_FailViaIdentityNamespace.cs b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/InvokeAzServiceBusFailDisasterRecoveryConfigOver_FailViaIdentityNamespace.cs
index 732d150ad65c..66b3b72a3c63 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/InvokeAzServiceBusFailDisasterRecoveryConfigOver_FailViaIdentityNamespace.cs
+++ b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/InvokeAzServiceBusFailDisasterRecoveryConfigOver_FailViaIdentityNamespace.cs
@@ -500,7 +500,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/ServiceBus/ServiceBus.Autorest/generated/cmdlets/InvokeAzServiceBusFailDisasterRecoveryConfigOver_FailViaIdentityNamespaceExpanded.cs b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/InvokeAzServiceBusFailDisasterRecoveryConfigOver_FailViaIdentityNamespaceExpanded.cs
index dcbdb39450ba..c26a19e414f0 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/InvokeAzServiceBusFailDisasterRecoveryConfigOver_FailViaIdentityNamespaceExpanded.cs
+++ b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/InvokeAzServiceBusFailDisasterRecoveryConfigOver_FailViaIdentityNamespaceExpanded.cs
@@ -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/ServiceBus/ServiceBus.Autorest/generated/cmdlets/InvokeAzServiceBusFailDisasterRecoveryConfigOver_FailViaJsonFilePath.cs b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/InvokeAzServiceBusFailDisasterRecoveryConfigOver_FailViaJsonFilePath.cs
index a35786e506eb..b35d6458dce0 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/InvokeAzServiceBusFailDisasterRecoveryConfigOver_FailViaJsonFilePath.cs
+++ b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/InvokeAzServiceBusFailDisasterRecoveryConfigOver_FailViaJsonFilePath.cs
@@ -521,7 +521,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/ServiceBus/ServiceBus.Autorest/generated/cmdlets/InvokeAzServiceBusFailDisasterRecoveryConfigOver_FailViaJsonString.cs b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/InvokeAzServiceBusFailDisasterRecoveryConfigOver_FailViaJsonString.cs
index 3fb2ac33b61a..ecbdafa2e6a2 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/InvokeAzServiceBusFailDisasterRecoveryConfigOver_FailViaJsonString.cs
+++ b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/InvokeAzServiceBusFailDisasterRecoveryConfigOver_FailViaJsonString.cs
@@ -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/ServiceBus/ServiceBus.Autorest/generated/cmdlets/NewAzServiceBusGeoDRConfiguration_CreateExpanded.cs b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/NewAzServiceBusGeoDRConfiguration_CreateExpanded.cs
index 9a22e83c2017..c564e4d14bd1 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/NewAzServiceBusGeoDRConfiguration_CreateExpanded.cs
+++ b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/NewAzServiceBusGeoDRConfiguration_CreateExpanded.cs
@@ -498,7 +498,7 @@ protected override void StopProcessing()
return ;
}
// onCreated - response for 201 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
diff --git a/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/NewAzServiceBusGeoDRConfiguration_CreateViaIdentity.cs b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/NewAzServiceBusGeoDRConfiguration_CreateViaIdentity.cs
index b279d2bd29b7..6b770e7e8b53 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/NewAzServiceBusGeoDRConfiguration_CreateViaIdentity.cs
+++ b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/NewAzServiceBusGeoDRConfiguration_CreateViaIdentity.cs
@@ -454,7 +454,7 @@ protected override void StopProcessing()
return ;
}
// onCreated - response for 201 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
diff --git a/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/NewAzServiceBusGeoDRConfiguration_CreateViaIdentityNamespace.cs b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/NewAzServiceBusGeoDRConfiguration_CreateViaIdentityNamespace.cs
index a529971051ba..139f80e00645 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/NewAzServiceBusGeoDRConfiguration_CreateViaIdentityNamespace.cs
+++ b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/NewAzServiceBusGeoDRConfiguration_CreateViaIdentityNamespace.cs
@@ -464,7 +464,7 @@ protected override void StopProcessing()
return ;
}
// onCreated - response for 201 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
diff --git a/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/NewAzServiceBusGeoDRConfiguration_CreateViaIdentityNamespaceExpanded.cs b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/NewAzServiceBusGeoDRConfiguration_CreateViaIdentityNamespaceExpanded.cs
index 57c547688f1f..0e4ee14d2874 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/NewAzServiceBusGeoDRConfiguration_CreateViaIdentityNamespaceExpanded.cs
+++ b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/NewAzServiceBusGeoDRConfiguration_CreateViaIdentityNamespaceExpanded.cs
@@ -478,7 +478,7 @@ protected override void StopProcessing()
return ;
}
// onCreated - response for 201 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
diff --git a/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/NewAzServiceBusNamespace_CreateExpanded.cs b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/NewAzServiceBusNamespace_CreateExpanded.cs
index a41608512fc3..88a052576186 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/NewAzServiceBusNamespace_CreateExpanded.cs
+++ b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/NewAzServiceBusNamespace_CreateExpanded.cs
@@ -44,18 +44,9 @@ public partial class NewAzServiceBusNamespace_CreateExpanded : global::System.Ma
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
/// Description of a namespace resource.
private Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespace _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.SbNamespace();
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// Alternate name for namespace
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Alternate name for namespace")]
[global::Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.ParameterCategory.Body)]
@@ -465,11 +456,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Cmdlets.NewAzServiceBusName
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -785,24 +771,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespace
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/NewAzServiceBusNamespace_CreateViaIdentity.cs b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/NewAzServiceBusNamespace_CreateViaIdentity.cs
index ed3bca28383f..a343a96065e7 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/NewAzServiceBusNamespace_CreateViaIdentity.cs
+++ b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/NewAzServiceBusNamespace_CreateViaIdentity.cs
@@ -44,15 +44,6 @@ public partial class NewAzServiceBusNamespace_CreateViaIdentity : global::System
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.ParameterCategory.Runtime)]
@@ -222,11 +213,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Cmdlets.NewAzServiceBusName
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -562,24 +548,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbNamespace
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusGeoDRConfiguration_Delete.cs b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusGeoDRConfiguration_Delete.cs
index 06c6817fe572..4f18b4bce078 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusGeoDRConfiguration_Delete.cs
+++ b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusGeoDRConfiguration_Delete.cs
@@ -511,7 +511,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -535,7 +535,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/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusGeoDRConfiguration_DeleteViaIdentity.cs b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusGeoDRConfiguration_DeleteViaIdentity.cs
index 54944b602eee..e8d48effc4ba 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusGeoDRConfiguration_DeleteViaIdentity.cs
+++ b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusGeoDRConfiguration_DeleteViaIdentity.cs
@@ -479,7 +479,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -503,7 +503,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/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusGeoDRConfiguration_DeleteViaIdentityNamespace.cs b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusGeoDRConfiguration_DeleteViaIdentityNamespace.cs
index bc6c40757e59..958c224a78b1 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusGeoDRConfiguration_DeleteViaIdentityNamespace.cs
+++ b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusGeoDRConfiguration_DeleteViaIdentityNamespace.cs
@@ -491,7 +491,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -515,7 +515,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/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusMigration_Delete.cs b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusMigration_Delete.cs
index 808a2e93d2db..572785520a55 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusMigration_Delete.cs
+++ b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusMigration_Delete.cs
@@ -497,7 +497,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -521,7 +521,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/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusMigration_DeleteViaIdentity.cs b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusMigration_DeleteViaIdentity.cs
index 45cfa8b8682b..154184236626 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusMigration_DeleteViaIdentity.cs
+++ b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusMigration_DeleteViaIdentity.cs
@@ -475,7 +475,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -499,7 +499,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/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusNamespaceAuthorizationRule_Delete.cs b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusNamespaceAuthorizationRule_Delete.cs
index edba351a4e8a..a12fff8ec5c0 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusNamespaceAuthorizationRule_Delete.cs
+++ b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusNamespaceAuthorizationRule_Delete.cs
@@ -513,7 +513,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -537,7 +537,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/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusNamespaceAuthorizationRule_DeleteViaIdentity.cs b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusNamespaceAuthorizationRule_DeleteViaIdentity.cs
index 815dc8330fb8..673773294a73 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusNamespaceAuthorizationRule_DeleteViaIdentity.cs
+++ b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusNamespaceAuthorizationRule_DeleteViaIdentity.cs
@@ -482,7 +482,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -506,7 +506,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/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusNamespaceAuthorizationRule_DeleteViaIdentityNamespace.cs b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusNamespaceAuthorizationRule_DeleteViaIdentityNamespace.cs
index 919f11d7a6c3..3971b196365a 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusNamespaceAuthorizationRule_DeleteViaIdentityNamespace.cs
+++ b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusNamespaceAuthorizationRule_DeleteViaIdentityNamespace.cs
@@ -493,7 +493,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -517,7 +517,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/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusNamespace_Delete.cs b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusNamespace_Delete.cs
index fd9d0e9c29c5..f3baa298ae09 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusNamespace_Delete.cs
+++ b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusNamespace_Delete.cs
@@ -44,15 +44,6 @@ public partial class RemoveAzServiceBusNamespace_Delete : global::System.Managem
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.ParameterCategory.Runtime)]
@@ -268,11 +259,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Cmdlets.RemoveAzServiceBusN
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -584,7 +570,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -608,7 +594,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/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusNamespace_DeleteViaIdentity.cs b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusNamespace_DeleteViaIdentity.cs
index 263d4f020d17..25ebc49b9cbf 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusNamespace_DeleteViaIdentity.cs
+++ b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusNamespace_DeleteViaIdentity.cs
@@ -44,15 +44,6 @@ public partial class RemoveAzServiceBusNamespace_DeleteViaIdentity : global::Sys
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.ParameterCategory.Runtime)]
@@ -222,11 +213,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Cmdlets.RemoveAzServiceBusN
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -558,7 +544,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -582,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/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusPrivateEndpointConnection_Delete.cs b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusPrivateEndpointConnection_Delete.cs
index e27b63c403ae..74016a926562 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusPrivateEndpointConnection_Delete.cs
+++ b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusPrivateEndpointConnection_Delete.cs
@@ -41,15 +41,6 @@ public partial class RemoveAzServiceBusPrivateEndpointConnection_Delete : global
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.ParameterCategory.Runtime)]
@@ -280,11 +271,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Cmdlets.RemoveAzServiceBusP
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -596,7 +582,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -620,7 +606,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/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusPrivateEndpointConnection_DeleteViaIdentity.cs b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusPrivateEndpointConnection_DeleteViaIdentity.cs
index 03500277f0ba..bb62e96a9971 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusPrivateEndpointConnection_DeleteViaIdentity.cs
+++ b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusPrivateEndpointConnection_DeleteViaIdentity.cs
@@ -41,15 +41,6 @@ public partial class RemoveAzServiceBusPrivateEndpointConnection_DeleteViaIdenti
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.ParameterCategory.Runtime)]
@@ -221,11 +212,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Cmdlets.RemoveAzServiceBusP
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -562,7 +548,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -586,7 +572,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/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusPrivateEndpointConnection_DeleteViaIdentityNamespace.cs b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusPrivateEndpointConnection_DeleteViaIdentityNamespace.cs
index f6e496d33abd..c1835179495e 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusPrivateEndpointConnection_DeleteViaIdentityNamespace.cs
+++ b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusPrivateEndpointConnection_DeleteViaIdentityNamespace.cs
@@ -41,15 +41,6 @@ public partial class RemoveAzServiceBusPrivateEndpointConnection_DeleteViaIdenti
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.ParameterCategory.Runtime)]
@@ -237,11 +228,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Cmdlets.RemoveAzServiceBusP
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -575,7 +561,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -599,7 +585,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/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusQueueAuthorizationRule_Delete.cs b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusQueueAuthorizationRule_Delete.cs
index 763a3dc612c0..0754baa8a510 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusQueueAuthorizationRule_Delete.cs
+++ b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusQueueAuthorizationRule_Delete.cs
@@ -527,7 +527,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -551,7 +551,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/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusQueueAuthorizationRule_DeleteViaIdentity.cs b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusQueueAuthorizationRule_DeleteViaIdentity.cs
index 4c8e11ec964b..48050cf24fcd 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusQueueAuthorizationRule_DeleteViaIdentity.cs
+++ b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusQueueAuthorizationRule_DeleteViaIdentity.cs
@@ -485,7 +485,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -509,7 +509,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/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusQueueAuthorizationRule_DeleteViaIdentityNamespace.cs b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusQueueAuthorizationRule_DeleteViaIdentityNamespace.cs
index 39125d60f025..06399c513fde 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusQueueAuthorizationRule_DeleteViaIdentityNamespace.cs
+++ b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusQueueAuthorizationRule_DeleteViaIdentityNamespace.cs
@@ -507,7 +507,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -531,7 +531,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/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusQueueAuthorizationRule_DeleteViaIdentityQueue.cs b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusQueueAuthorizationRule_DeleteViaIdentityQueue.cs
index 01e078aca29f..d7d7a143bd62 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusQueueAuthorizationRule_DeleteViaIdentityQueue.cs
+++ b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusQueueAuthorizationRule_DeleteViaIdentityQueue.cs
@@ -497,7 +497,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -521,7 +521,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/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusQueue_Delete.cs b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusQueue_Delete.cs
index 972a1001e077..5304daca65ae 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusQueue_Delete.cs
+++ b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusQueue_Delete.cs
@@ -513,7 +513,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -537,7 +537,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/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusQueue_DeleteViaIdentity.cs b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusQueue_DeleteViaIdentity.cs
index aeb42ae15f85..bbc89e12ac4e 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusQueue_DeleteViaIdentity.cs
+++ b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusQueue_DeleteViaIdentity.cs
@@ -480,7 +480,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -504,7 +504,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/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusQueue_DeleteViaIdentityNamespace.cs b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusQueue_DeleteViaIdentityNamespace.cs
index b243d2213195..3269c6c1afc5 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusQueue_DeleteViaIdentityNamespace.cs
+++ b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusQueue_DeleteViaIdentityNamespace.cs
@@ -492,7 +492,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -516,7 +516,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/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusRule_Delete.cs b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusRule_Delete.cs
index 704d748d518d..2a95b7db1d20 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusRule_Delete.cs
+++ b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusRule_Delete.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/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusRule_DeleteViaIdentity.cs b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusRule_DeleteViaIdentity.cs
index 12651670630f..1d9e777799b6 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusRule_DeleteViaIdentity.cs
+++ b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusRule_DeleteViaIdentity.cs
@@ -487,7 +487,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -511,7 +511,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/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusRule_DeleteViaIdentityNamespace.cs b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusRule_DeleteViaIdentityNamespace.cs
index ebaed9ca301a..7bce41b358cd 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusRule_DeleteViaIdentityNamespace.cs
+++ b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusRule_DeleteViaIdentityNamespace.cs
@@ -519,7 +519,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -543,7 +543,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/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusRule_DeleteViaIdentitySubscription.cs b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusRule_DeleteViaIdentitySubscription.cs
index af2a2fca2290..a664a94a0e61 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusRule_DeleteViaIdentitySubscription.cs
+++ b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusRule_DeleteViaIdentitySubscription.cs
@@ -499,7 +499,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -523,7 +523,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/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusRule_DeleteViaIdentityTopic.cs b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusRule_DeleteViaIdentityTopic.cs
index 3c9ea11c0360..258a6f9b5294 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusRule_DeleteViaIdentityTopic.cs
+++ b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusRule_DeleteViaIdentityTopic.cs
@@ -509,7 +509,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -533,7 +533,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/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusSubscription_Delete.cs b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusSubscription_Delete.cs
index a8dcbe09cc94..055e56f3a157 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusSubscription_Delete.cs
+++ b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusSubscription_Delete.cs
@@ -527,7 +527,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -551,7 +551,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/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusSubscription_DeleteViaIdentity.cs b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusSubscription_DeleteViaIdentity.cs
index d37fb0e87000..486cf691190f 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusSubscription_DeleteViaIdentity.cs
+++ b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusSubscription_DeleteViaIdentity.cs
@@ -484,7 +484,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -508,7 +508,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/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusSubscription_DeleteViaIdentityNamespace.cs b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusSubscription_DeleteViaIdentityNamespace.cs
index 9e4ee4109d68..b5335c86d339 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusSubscription_DeleteViaIdentityNamespace.cs
+++ b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusSubscription_DeleteViaIdentityNamespace.cs
@@ -506,7 +506,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -530,7 +530,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/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusSubscription_DeleteViaIdentityTopic.cs b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusSubscription_DeleteViaIdentityTopic.cs
index 45f8737959ba..5377fdeb0ca1 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusSubscription_DeleteViaIdentityTopic.cs
+++ b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusSubscription_DeleteViaIdentityTopic.cs
@@ -496,7 +496,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -520,7 +520,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/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusTopicAuthorizationRule_Delete.cs b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusTopicAuthorizationRule_Delete.cs
index 2e1c48148fd7..53c2593a508d 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusTopicAuthorizationRule_Delete.cs
+++ b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusTopicAuthorizationRule_Delete.cs
@@ -527,7 +527,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -551,7 +551,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/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusTopicAuthorizationRule_DeleteViaIdentity.cs b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusTopicAuthorizationRule_DeleteViaIdentity.cs
index 548a1342251d..8d3b31f865e1 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusTopicAuthorizationRule_DeleteViaIdentity.cs
+++ b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusTopicAuthorizationRule_DeleteViaIdentity.cs
@@ -485,7 +485,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -509,7 +509,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/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusTopicAuthorizationRule_DeleteViaIdentityNamespace.cs b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusTopicAuthorizationRule_DeleteViaIdentityNamespace.cs
index 34e24c515c4c..4926e0499baa 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusTopicAuthorizationRule_DeleteViaIdentityNamespace.cs
+++ b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusTopicAuthorizationRule_DeleteViaIdentityNamespace.cs
@@ -507,7 +507,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -531,7 +531,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/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusTopicAuthorizationRule_DeleteViaIdentityTopic.cs b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusTopicAuthorizationRule_DeleteViaIdentityTopic.cs
index 50b117f6fa26..f6cb7c5baca3 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusTopicAuthorizationRule_DeleteViaIdentityTopic.cs
+++ b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusTopicAuthorizationRule_DeleteViaIdentityTopic.cs
@@ -497,7 +497,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -521,7 +521,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/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusTopic_Delete.cs b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusTopic_Delete.cs
index 98ee1f611546..37a330a3854e 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusTopic_Delete.cs
+++ b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusTopic_Delete.cs
@@ -513,7 +513,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -537,7 +537,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/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusTopic_DeleteViaIdentity.cs b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusTopic_DeleteViaIdentity.cs
index 1b1731cc994d..8759294d32ee 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusTopic_DeleteViaIdentity.cs
+++ b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusTopic_DeleteViaIdentity.cs
@@ -480,7 +480,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -504,7 +504,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/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusTopic_DeleteViaIdentityNamespace.cs b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusTopic_DeleteViaIdentityNamespace.cs
index 80ecb8a80da8..55240d788dfe 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusTopic_DeleteViaIdentityNamespace.cs
+++ b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/RemoveAzServiceBusTopic_DeleteViaIdentityNamespace.cs
@@ -492,7 +492,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -516,7 +516,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/ServiceBus/ServiceBus.Autorest/generated/cmdlets/StartAzServiceBusMigration_CreateExpanded.cs b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/StartAzServiceBusMigration_CreateExpanded.cs
index 9476e3b8c94d..b6ee0d5df193 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/StartAzServiceBusMigration_CreateExpanded.cs
+++ b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/StartAzServiceBusMigration_CreateExpanded.cs
@@ -42,18 +42,9 @@ public partial class StartAzServiceBusMigration_CreateExpanded : global::System.
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
/// Single item in List or Get Migration Config operation
private Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IMigrationConfigProperties _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.MigrationConfigProperties();
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.ParameterCategory.Runtime)]
@@ -278,11 +269,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Cmdlets.StartAzServiceBusMi
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -598,24 +584,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IMigrationConfigProperties
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/StartAzServiceBusMigration_CreateViaIdentity.cs b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/StartAzServiceBusMigration_CreateViaIdentity.cs
index d754c6b0b6af..04e5126b8cad 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/StartAzServiceBusMigration_CreateViaIdentity.cs
+++ b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/StartAzServiceBusMigration_CreateViaIdentity.cs
@@ -43,15 +43,6 @@ public partial class StartAzServiceBusMigration_CreateViaIdentity : global::Syst
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.ParameterCategory.Runtime)]
@@ -221,11 +212,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Cmdlets.StartAzServiceBusMi
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -561,24 +547,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IMigrationConfigProperties
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/StopAzServiceBusMigration_Revert.cs b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/StopAzServiceBusMigration_Revert.cs
index 8c01241a1ad2..e932f6d38f41 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/StopAzServiceBusMigration_Revert.cs
+++ b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/StopAzServiceBusMigration_Revert.cs
@@ -487,7 +487,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/ServiceBus/ServiceBus.Autorest/generated/cmdlets/StopAzServiceBusMigration_RevertViaIdentity.cs b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/StopAzServiceBusMigration_RevertViaIdentity.cs
index ca41e432e878..eb1393b10b1e 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/StopAzServiceBusMigration_RevertViaIdentity.cs
+++ b/generated/ServiceBus/ServiceBus.Autorest/generated/cmdlets/StopAzServiceBusMigration_RevertViaIdentity.cs
@@ -465,7 +465,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/ServiceBus/ServiceBus.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs b/generated/ServiceBus/ServiceBus.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs
index d590e4fb5b35..168a85e5c3c0 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs
+++ b/generated/ServiceBus/ServiceBus.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/ServiceBus/ServiceBus.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs b/generated/ServiceBus/ServiceBus.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs
index 9ceebe651d44..2a11871c110a 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs
+++ b/generated/ServiceBus/ServiceBus.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/ServiceBus/ServiceBus.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs b/generated/ServiceBus/ServiceBus.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs
index 4bdb5c9c93d4..cdbdc42d5035 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs
+++ b/generated/ServiceBus/ServiceBus.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs
@@ -392,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/ServiceBus/ServiceBus.Autorest/generated/runtime/Context.cs b/generated/ServiceBus/ServiceBus.Autorest/generated/runtime/Context.cs
index 06bb8c533452..b74aa86cd40d 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/generated/runtime/Context.cs
+++ b/generated/ServiceBus/ServiceBus.Autorest/generated/runtime/Context.cs
@@ -20,7 +20,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.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/ServiceBus/ServiceBus.Autorest/generated/runtime/MessageAttribute.cs b/generated/ServiceBus/ServiceBus.Autorest/generated/runtime/MessageAttribute.cs
index 3142671f3018..8f022541e82d 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/generated/runtime/MessageAttribute.cs
+++ b/generated/ServiceBus/ServiceBus.Autorest/generated/runtime/MessageAttribute.cs
@@ -16,9 +16,12 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.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.ServiceBus" : @"";
+
//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/ServiceBus/ServiceBus.Autorest/generated/runtime/Properties/Resources.resx b/generated/ServiceBus/ServiceBus.Autorest/generated/runtime/Properties/Resources.resx
index a08a2e50172b..4ef90b70573d 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/generated/runtime/Properties/Resources.resx
+++ b/generated/ServiceBus/ServiceBus.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/ServiceBus/ServiceBus.Autorest/internal/New-AzServiceBusGeoDRConfiguration.ps1 b/generated/ServiceBus/ServiceBus.Autorest/internal/New-AzServiceBusGeoDRConfiguration.ps1
index 36e7ea2607a0..d596b20b62f1 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/internal/New-AzServiceBusGeoDRConfiguration.ps1
+++ b/generated/ServiceBus/ServiceBus.Autorest/internal/New-AzServiceBusGeoDRConfiguration.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-create a new Alias(Disaster Recovery configuration)
+Create a new Alias(Disaster Recovery configuration)
.Description
-create a new Alias(Disaster Recovery configuration)
+Create a new Alias(Disaster Recovery configuration)
.Example
New-AzServiceBusGeoDRConfiguration -Name myAlias -ResourceGroupName myResourceGroup -NamespaceName myPrimaryNamespace -PartnerNamespace "/subscriptions/0000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ServiceBus/namespaces/mySecondaryNamespace"
diff --git a/generated/ServiceBus/ServiceBus.Autorest/internal/New-AzServiceBusNamespace.ps1 b/generated/ServiceBus/ServiceBus.Autorest/internal/New-AzServiceBusNamespace.ps1
index 00b7b1cde535..08368b1c4cd1 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/internal/New-AzServiceBusNamespace.ps1
+++ b/generated/ServiceBus/ServiceBus.Autorest/internal/New-AzServiceBusNamespace.ps1
@@ -16,11 +16,11 @@
<#
.Synopsis
-create a service namespace.
+Create a service namespace.
Once created, this namespace's resource manifest is immutable.
This operation is idempotent.
.Description
-create a service namespace.
+Create a service namespace.
Once created, this namespace's resource manifest is immutable.
This operation is idempotent.
.Example
@@ -66,7 +66,7 @@ KEYVAULTPROPERTY : Properties of KeyVault
[UserAssignedIdentity ]: ARM ID of user Identity selected for encryption
PARAMETER : Description of a namespace resource.
- Location : The Geo-location where the resource lives
+ [Location ]: The Geo-location where the resource lives
[Tag ]: Resource tags
[(Any) ]: This indicates any property can be added to this object.
[AlternateName ]: Alternate name for namespace
diff --git a/generated/ServiceBus/ServiceBus.Autorest/internal/New-AzServiceBusNamespaceAuthorizationRule.ps1 b/generated/ServiceBus/ServiceBus.Autorest/internal/New-AzServiceBusNamespaceAuthorizationRule.ps1
index cf09b6046b47..696e76f31e66 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/internal/New-AzServiceBusNamespaceAuthorizationRule.ps1
+++ b/generated/ServiceBus/ServiceBus.Autorest/internal/New-AzServiceBusNamespaceAuthorizationRule.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-create an authorization rule for a namespace.
+Create an authorization rule for a namespace.
.Description
-create an authorization rule for a namespace.
+Create an authorization rule for a namespace.
.Example
{{ Add code here }}
.Example
diff --git a/generated/ServiceBus/ServiceBus.Autorest/internal/New-AzServiceBusNetworkRuleSet.ps1 b/generated/ServiceBus/ServiceBus.Autorest/internal/New-AzServiceBusNetworkRuleSet.ps1
index 1ca9ea00afae..2b6942831993 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/internal/New-AzServiceBusNetworkRuleSet.ps1
+++ b/generated/ServiceBus/ServiceBus.Autorest/internal/New-AzServiceBusNetworkRuleSet.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-create NetworkRuleSet for a Namespace.
+Create NetworkRuleSet for a Namespace.
.Description
-create NetworkRuleSet for a Namespace.
+Create NetworkRuleSet for a Namespace.
.Example
{{ Add code here }}
.Example
diff --git a/generated/ServiceBus/ServiceBus.Autorest/internal/New-AzServiceBusPrivateEndpointConnection.ps1 b/generated/ServiceBus/ServiceBus.Autorest/internal/New-AzServiceBusPrivateEndpointConnection.ps1
index 4ceeba58caaa..9cfce20e52e6 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/internal/New-AzServiceBusPrivateEndpointConnection.ps1
+++ b/generated/ServiceBus/ServiceBus.Autorest/internal/New-AzServiceBusPrivateEndpointConnection.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-create PrivateEndpointConnections of service namespace.
+Create PrivateEndpointConnections of service namespace.
.Description
-create PrivateEndpointConnections of service namespace.
+Create PrivateEndpointConnections of service namespace.
.Example
{{ Add code here }}
.Example
diff --git a/generated/ServiceBus/ServiceBus.Autorest/internal/New-AzServiceBusQueue.ps1 b/generated/ServiceBus/ServiceBus.Autorest/internal/New-AzServiceBusQueue.ps1
index fc3836edf428..c72156c6365f 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/internal/New-AzServiceBusQueue.ps1
+++ b/generated/ServiceBus/ServiceBus.Autorest/internal/New-AzServiceBusQueue.ps1
@@ -16,10 +16,10 @@
<#
.Synopsis
-create a Service Bus queue.
+Create a Service Bus queue.
This operation is idempotent.
.Description
-create a Service Bus queue.
+Create a Service Bus queue.
This operation is idempotent.
.Example
New-AzServiceBusQueue -ResourceGroupName myResourceGroup -NamespaceName myNamespace -Name myQueue -AutoDeleteOnIdle (New-TimeSpan -Days 1 -Minutes 3 -Seconds 4) -DefaultMessageTimeToLive (New-TimeSpan -Days 5) -EnablePartitioning
diff --git a/generated/ServiceBus/ServiceBus.Autorest/internal/New-AzServiceBusQueueAuthorizationRule.ps1 b/generated/ServiceBus/ServiceBus.Autorest/internal/New-AzServiceBusQueueAuthorizationRule.ps1
index ee0f4e9c27f3..8d63ae44c887 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/internal/New-AzServiceBusQueueAuthorizationRule.ps1
+++ b/generated/ServiceBus/ServiceBus.Autorest/internal/New-AzServiceBusQueueAuthorizationRule.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-create an authorization rule for a queue.
+Create an authorization rule for a queue.
.Description
-create an authorization rule for a queue.
+Create an authorization rule for a queue.
.Example
{{ Add code here }}
.Example
diff --git a/generated/ServiceBus/ServiceBus.Autorest/internal/New-AzServiceBusRule.ps1 b/generated/ServiceBus/ServiceBus.Autorest/internal/New-AzServiceBusRule.ps1
index fee5f1a92d18..84ffa3b3e091 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/internal/New-AzServiceBusRule.ps1
+++ b/generated/ServiceBus/ServiceBus.Autorest/internal/New-AzServiceBusRule.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-create a new rule and create an existing rule
+Create a new rule and create an existing rule
.Description
-create a new rule and create an existing rule
+Create a new rule and create an existing rule
.Example
New-AzServiceBusRule -ResourceGroupName myResourceGroup -NamespaceName myNamespace -TopicName myTopic -SubscriptionName mySubscription -Name myCorrelationRule -FilterType CorrelationFilter -ContentType contenttype -CorrelationFilterProperty @{a='b';c='d'} -SessionId sessionid -CorrelationId correlationid -MessageId messageid -Label label -ReplyTo replyto -ReplyToSessionId replytosessionid
.Example
diff --git a/generated/ServiceBus/ServiceBus.Autorest/internal/New-AzServiceBusSubscription.ps1 b/generated/ServiceBus/ServiceBus.Autorest/internal/New-AzServiceBusSubscription.ps1
index 3f07c1bfb5a8..0145e25d89b6 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/internal/New-AzServiceBusSubscription.ps1
+++ b/generated/ServiceBus/ServiceBus.Autorest/internal/New-AzServiceBusSubscription.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-create a topic subscription.
+Create a topic subscription.
.Description
-create a topic subscription.
+Create a topic subscription.
.Example
New-AzServiceBusSubscription -ResourceGroupName myResourceGroup -NamespaceName myNamespace -TopicName myTopic -Name mySubscription -DefaultMessageTimeToLive (New-TimeSpan -Days 6) -EnableBatchedOperations
diff --git a/generated/ServiceBus/ServiceBus.Autorest/internal/New-AzServiceBusTopic.ps1 b/generated/ServiceBus/ServiceBus.Autorest/internal/New-AzServiceBusTopic.ps1
index 33206b2f12b5..e8c3862f7a4d 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/internal/New-AzServiceBusTopic.ps1
+++ b/generated/ServiceBus/ServiceBus.Autorest/internal/New-AzServiceBusTopic.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-create a topic in the specified namespace.
+Create a topic in the specified namespace.
.Description
-create a topic in the specified namespace.
+Create a topic in the specified namespace.
.Example
New-AzServiceBusTopic -ResourceGroupName myResourceGroup -NamespaceName myNamespace -Name myTopic -DefaultMessageTimeToLive (New-TimeSpan -Days 18) -EnableBatchedOperations
diff --git a/generated/ServiceBus/ServiceBus.Autorest/internal/New-AzServiceBusTopicAuthorizationRule.ps1 b/generated/ServiceBus/ServiceBus.Autorest/internal/New-AzServiceBusTopicAuthorizationRule.ps1
index d972e8a8b0eb..99b78c3f9e9a 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/internal/New-AzServiceBusTopicAuthorizationRule.ps1
+++ b/generated/ServiceBus/ServiceBus.Autorest/internal/New-AzServiceBusTopicAuthorizationRule.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-create an authorization rule for the specified topic.
+Create an authorization rule for the specified topic.
.Description
-create an authorization rule for the specified topic.
+Create an authorization rule for the specified topic.
.Example
{{ Add code here }}
.Example
diff --git a/generated/ServiceBus/ServiceBus.Autorest/internal/ProxyCmdletDefinitions.ps1 b/generated/ServiceBus/ServiceBus.Autorest/internal/ProxyCmdletDefinitions.ps1
index 22602f2b0218..bf45225bfbca 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/internal/ProxyCmdletDefinitions.ps1
+++ b/generated/ServiceBus/ServiceBus.Autorest/internal/ProxyCmdletDefinitions.ps1
@@ -2129,9 +2129,9 @@ end {
<#
.Synopsis
-create a new Alias(Disaster Recovery configuration)
+Create a new Alias(Disaster Recovery configuration)
.Description
-create a new Alias(Disaster Recovery configuration)
+Create a new Alias(Disaster Recovery configuration)
.Example
New-AzServiceBusGeoDRConfiguration -Name myAlias -ResourceGroupName myResourceGroup -NamespaceName myPrimaryNamespace -PartnerNamespace "/subscriptions/0000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ServiceBus/namespaces/mySecondaryNamespace"
@@ -2287,9 +2287,9 @@ end {
<#
.Synopsis
-create an authorization rule for a namespace.
+Create an authorization rule for a namespace.
.Description
-create an authorization rule for a namespace.
+Create an authorization rule for a namespace.
.Example
{{ Add code here }}
.Example
@@ -2737,11 +2737,11 @@ end {
<#
.Synopsis
-create a service namespace.
+Create a service namespace.
Once created, this namespace's resource manifest is immutable.
This operation is idempotent.
.Description
-create a service namespace.
+Create a service namespace.
Once created, this namespace's resource manifest is immutable.
This operation is idempotent.
.Example
@@ -2787,7 +2787,7 @@ KEYVAULTPROPERTY : Properties of KeyVault
[UserAssignedIdentity ]: ARM ID of user Identity selected for encryption
PARAMETER : Description of a namespace resource.
- Location : The Geo-location where the resource lives
+ [Location ]: The Geo-location where the resource lives
[Tag ]: Resource tags
[(Any) ]: This indicates any property can be added to this object.
[AlternateName ]: Alternate name for namespace
@@ -3100,9 +3100,9 @@ end {
<#
.Synopsis
-create NetworkRuleSet for a Namespace.
+Create NetworkRuleSet for a Namespace.
.Description
-create NetworkRuleSet for a Namespace.
+Create NetworkRuleSet for a Namespace.
.Example
{{ Add code here }}
.Example
@@ -3332,9 +3332,9 @@ end {
<#
.Synopsis
-create PrivateEndpointConnections of service namespace.
+Create PrivateEndpointConnections of service namespace.
.Description
-create PrivateEndpointConnections of service namespace.
+Create PrivateEndpointConnections of service namespace.
.Example
{{ Add code here }}
.Example
@@ -3581,9 +3581,9 @@ end {
<#
.Synopsis
-create an authorization rule for a queue.
+Create an authorization rule for a queue.
.Description
-create an authorization rule for a queue.
+Create an authorization rule for a queue.
.Example
{{ Add code here }}
.Example
@@ -4100,10 +4100,10 @@ end {
<#
.Synopsis
-create a Service Bus queue.
+Create a Service Bus queue.
This operation is idempotent.
.Description
-create a Service Bus queue.
+Create a Service Bus queue.
This operation is idempotent.
.Example
New-AzServiceBusQueue -ResourceGroupName myResourceGroup -NamespaceName myNamespace -Name myQueue -AutoDeleteOnIdle (New-TimeSpan -Days 1 -Minutes 3 -Seconds 4) -DefaultMessageTimeToLive (New-TimeSpan -Days 5) -EnablePartitioning
@@ -4270,9 +4270,9 @@ end {
<#
.Synopsis
-create a new rule and create an existing rule
+Create a new rule and create an existing rule
.Description
-create a new rule and create an existing rule
+Create a new rule and create an existing rule
.Example
New-AzServiceBusRule -ResourceGroupName myResourceGroup -NamespaceName myNamespace -TopicName myTopic -SubscriptionName mySubscription -Name myCorrelationRule -FilterType CorrelationFilter -ContentType contenttype -CorrelationFilterProperty @{a='b';c='d'} -SessionId sessionid -CorrelationId correlationid -MessageId messageid -Label label -ReplyTo replyto -ReplyToSessionId replytosessionid
.Example
@@ -4440,9 +4440,9 @@ end {
<#
.Synopsis
-create a topic subscription.
+Create a topic subscription.
.Description
-create a topic subscription.
+Create a topic subscription.
.Example
New-AzServiceBusSubscription -ResourceGroupName myResourceGroup -NamespaceName myNamespace -TopicName myTopic -Name mySubscription -DefaultMessageTimeToLive (New-TimeSpan -Days 6) -EnableBatchedOperations
@@ -4608,9 +4608,9 @@ end {
<#
.Synopsis
-create an authorization rule for the specified topic.
+Create an authorization rule for the specified topic.
.Description
-create an authorization rule for the specified topic.
+Create an authorization rule for the specified topic.
.Example
{{ Add code here }}
.Example
@@ -5129,9 +5129,9 @@ end {
<#
.Synopsis
-create a topic in the specified namespace.
+Create a topic in the specified namespace.
.Description
-create a topic in the specified namespace.
+Create a topic in the specified namespace.
.Example
New-AzServiceBusTopic -ResourceGroupName myResourceGroup -NamespaceName myNamespace -Name myTopic -DefaultMessageTimeToLive (New-TimeSpan -Days 18) -EnableBatchedOperations
@@ -5968,9 +5968,9 @@ end {
<#
.Synopsis
-create Migration configuration and starts migration of entities from Standard to Premium namespace
+Create Migration configuration and starts migration of entities from Standard to Premium namespace
.Description
-create Migration configuration and starts migration of entities from Standard to Premium namespace
+Create Migration configuration and starts migration of entities from Standard to Premium namespace
.Example
Start-AzServiceBusMigration -ResourceGroupName myResourceGroup -NamespaceName myNamespace -PostMigrationName myStandardNamespace2 -TargetNamespace /subscriptions/subscriptionId/resourceGroups/myResourceGroup/providers/Microsoft.ServiceBus/namespaces/myPremiumNamespace
diff --git a/generated/ServiceBus/ServiceBus.Autorest/internal/Start-AzServiceBusMigration.ps1 b/generated/ServiceBus/ServiceBus.Autorest/internal/Start-AzServiceBusMigration.ps1
index ebed520e933d..9594d1b74b23 100644
--- a/generated/ServiceBus/ServiceBus.Autorest/internal/Start-AzServiceBusMigration.ps1
+++ b/generated/ServiceBus/ServiceBus.Autorest/internal/Start-AzServiceBusMigration.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-create Migration configuration and starts migration of entities from Standard to Premium namespace
+Create Migration configuration and starts migration of entities from Standard to Premium namespace
.Description
-create Migration configuration and starts migration of entities from Standard to Premium namespace
+Create Migration configuration and starts migration of entities from Standard to Premium namespace
.Example
Start-AzServiceBusMigration -ResourceGroupName myResourceGroup -NamespaceName myNamespace -PostMigrationName myStandardNamespace2 -TargetNamespace /subscriptions/subscriptionId/resourceGroups/myResourceGroup/providers/Microsoft.ServiceBus/namespaces/myPremiumNamespace
diff --git a/generated/ServiceLinker/ServiceLinker.Autorest/exports/Get-AzServiceLinkerConfigurationForContainerApp.ps1 b/generated/ServiceLinker/ServiceLinker.Autorest/exports/Get-AzServiceLinkerConfigurationForContainerApp.ps1
index 5ce7561edfae..6c4bd641c941 100644
--- a/generated/ServiceLinker/ServiceLinker.Autorest/exports/Get-AzServiceLinkerConfigurationForContainerApp.ps1
+++ b/generated/ServiceLinker/ServiceLinker.Autorest/exports/Get-AzServiceLinkerConfigurationForContainerApp.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-list source configurations for a linker in container app.
+List source configurations for a linker in container app.
.Description
-list source configurations for a linker in container app.
+List source configurations for a linker in container app.
.Example
Get-AzServiceLinkerConfigurationForContainerApp -ContainerApp servicelinker-containerapp -ResourceGroupName servicelinker-test-group -LinkerName postgresql_linker | Format-List
@@ -124,8 +124,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/ServiceLinker/ServiceLinker.Autorest/exports/Get-AzServiceLinkerConfigurationForSpringCloud.ps1 b/generated/ServiceLinker/ServiceLinker.Autorest/exports/Get-AzServiceLinkerConfigurationForSpringCloud.ps1
index e32566e6092f..c85042b782b4 100644
--- a/generated/ServiceLinker/ServiceLinker.Autorest/exports/Get-AzServiceLinkerConfigurationForSpringCloud.ps1
+++ b/generated/ServiceLinker/ServiceLinker.Autorest/exports/Get-AzServiceLinkerConfigurationForSpringCloud.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-list source configurations for a linker in spring cloud.
+List source configurations for a linker in spring cloud.
.Description
-list source configurations for a linker in spring cloud.
+List source configurations for a linker in spring cloud.
.Example
Get-AzServiceLinkerConfigurationForSpringCloud -ServiceName servicelinker-springcloud -AppName appconfiguration -ResourceGroupName servicelinker-test-group -LinkerName postgresql_linker | Format-List
@@ -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/ServiceLinker/ServiceLinker.Autorest/exports/Get-AzServiceLinkerConfigurationForWebApp.ps1 b/generated/ServiceLinker/ServiceLinker.Autorest/exports/Get-AzServiceLinkerConfigurationForWebApp.ps1
index 454d35933e2c..dbdda9aea777 100644
--- a/generated/ServiceLinker/ServiceLinker.Autorest/exports/Get-AzServiceLinkerConfigurationForWebApp.ps1
+++ b/generated/ServiceLinker/ServiceLinker.Autorest/exports/Get-AzServiceLinkerConfigurationForWebApp.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-list source configurations for a linker in webapp.
+List source configurations for a linker in webapp.
.Description
-list source configurations for a linker in webapp.
+List source configurations for a linker in webapp.
.Example
Get-AzServiceLinkerConfigurationForWebApp -WebApp servicelinker-webapp -ResourceGroupName servicelinker-test-group -LinkerName postgresql_linker | Format-List
@@ -124,8 +124,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/ServiceLinker/ServiceLinker.Autorest/exports/Get-AzServiceLinkerConfigurationName.ps1 b/generated/ServiceLinker/ServiceLinker.Autorest/exports/Get-AzServiceLinkerConfigurationName.ps1
index 8bf1d01f2532..250abfd673f6 100644
--- a/generated/ServiceLinker/ServiceLinker.Autorest/exports/Get-AzServiceLinkerConfigurationName.ps1
+++ b/generated/ServiceLinker/ServiceLinker.Autorest/exports/Get-AzServiceLinkerConfigurationName.ps1
@@ -105,8 +105,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/ServiceLinker/ServiceLinker.Autorest/exports/Get-AzServiceLinkerForContainerApp.ps1 b/generated/ServiceLinker/ServiceLinker.Autorest/exports/Get-AzServiceLinkerForContainerApp.ps1
index 1b6010065faa..e77b96fff41e 100644
--- a/generated/ServiceLinker/ServiceLinker.Autorest/exports/Get-AzServiceLinkerForContainerApp.ps1
+++ b/generated/ServiceLinker/ServiceLinker.Autorest/exports/Get-AzServiceLinkerForContainerApp.ps1
@@ -159,8 +159,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/ServiceLinker/ServiceLinker.Autorest/exports/Get-AzServiceLinkerForSpringCloud.ps1 b/generated/ServiceLinker/ServiceLinker.Autorest/exports/Get-AzServiceLinkerForSpringCloud.ps1
index 9f24b05bb8f7..f34fbe0a0807 100644
--- a/generated/ServiceLinker/ServiceLinker.Autorest/exports/Get-AzServiceLinkerForSpringCloud.ps1
+++ b/generated/ServiceLinker/ServiceLinker.Autorest/exports/Get-AzServiceLinkerForSpringCloud.ps1
@@ -174,8 +174,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/ServiceLinker/ServiceLinker.Autorest/exports/Get-AzServiceLinkerForWebApp.ps1 b/generated/ServiceLinker/ServiceLinker.Autorest/exports/Get-AzServiceLinkerForWebApp.ps1
index e41214834428..266cd2d639d2 100644
--- a/generated/ServiceLinker/ServiceLinker.Autorest/exports/Get-AzServiceLinkerForWebApp.ps1
+++ b/generated/ServiceLinker/ServiceLinker.Autorest/exports/Get-AzServiceLinkerForWebApp.ps1
@@ -159,8 +159,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/ServiceLinker/ServiceLinker.Autorest/exports/New-AzServiceLinkerForContainerApp.ps1 b/generated/ServiceLinker/ServiceLinker.Autorest/exports/New-AzServiceLinkerForContainerApp.ps1
index 9ef2e49ef275..6031dd3b6fcb 100644
--- a/generated/ServiceLinker/ServiceLinker.Autorest/exports/New-AzServiceLinkerForContainerApp.ps1
+++ b/generated/ServiceLinker/ServiceLinker.Autorest/exports/New-AzServiceLinkerForContainerApp.ps1
@@ -266,8 +266,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/ServiceLinker/ServiceLinker.Autorest/exports/New-AzServiceLinkerForSpringCloud.ps1 b/generated/ServiceLinker/ServiceLinker.Autorest/exports/New-AzServiceLinkerForSpringCloud.ps1
index 4e93721c1bfd..e69d14c0adfa 100644
--- a/generated/ServiceLinker/ServiceLinker.Autorest/exports/New-AzServiceLinkerForSpringCloud.ps1
+++ b/generated/ServiceLinker/ServiceLinker.Autorest/exports/New-AzServiceLinkerForSpringCloud.ps1
@@ -281,8 +281,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/ServiceLinker/ServiceLinker.Autorest/exports/New-AzServiceLinkerForWebApp.ps1 b/generated/ServiceLinker/ServiceLinker.Autorest/exports/New-AzServiceLinkerForWebApp.ps1
index 7ad4beb11b02..2177175b19f8 100644
--- a/generated/ServiceLinker/ServiceLinker.Autorest/exports/New-AzServiceLinkerForWebApp.ps1
+++ b/generated/ServiceLinker/ServiceLinker.Autorest/exports/New-AzServiceLinkerForWebApp.ps1
@@ -267,8 +267,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/ServiceLinker/ServiceLinker.Autorest/exports/New-AzServiceLinkerSecretAuthInfoObject.ps1 b/generated/ServiceLinker/ServiceLinker.Autorest/exports/New-AzServiceLinkerSecretAuthInfoObject.ps1
index 34b2bb0199a9..16f37b48a032 100644
--- a/generated/ServiceLinker/ServiceLinker.Autorest/exports/New-AzServiceLinkerSecretAuthInfoObject.ps1
+++ b/generated/ServiceLinker/ServiceLinker.Autorest/exports/New-AzServiceLinkerSecretAuthInfoObject.ps1
@@ -62,7 +62,7 @@ param(
[Parameter()]
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
[System.String]
- # The name of secret in keyvault refenced by -SecretStoreKeyVaultId.
+ # The name of secret in keyvault referenced by -SecretStoreKeyVaultId.
${SecretNameInKeyVault}
)
diff --git a/generated/ServiceLinker/ServiceLinker.Autorest/exports/ProxyCmdletDefinitions.ps1 b/generated/ServiceLinker/ServiceLinker.Autorest/exports/ProxyCmdletDefinitions.ps1
index 0368a5f2c26f..dbef1fd10fe1 100644
--- a/generated/ServiceLinker/ServiceLinker.Autorest/exports/ProxyCmdletDefinitions.ps1
+++ b/generated/ServiceLinker/ServiceLinker.Autorest/exports/ProxyCmdletDefinitions.ps1
@@ -105,8 +105,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) {
@@ -184,9 +183,9 @@ end {
<#
.Synopsis
-list source configurations for a linker in container app.
+List source configurations for a linker in container app.
.Description
-list source configurations for a linker in container app.
+List source configurations for a linker in container app.
.Example
Get-AzServiceLinkerConfigurationForContainerApp -ContainerApp servicelinker-containerapp -ResourceGroupName servicelinker-test-group -LinkerName postgresql_linker | Format-List
@@ -292,8 +291,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) {
@@ -378,9 +376,9 @@ end {
<#
.Synopsis
-list source configurations for a linker in spring cloud.
+List source configurations for a linker in spring cloud.
.Description
-list source configurations for a linker in spring cloud.
+List source configurations for a linker in spring cloud.
.Example
Get-AzServiceLinkerConfigurationForSpringCloud -ServiceName servicelinker-springcloud -AppName appconfiguration -ResourceGroupName servicelinker-test-group -LinkerName postgresql_linker | Format-List
@@ -499,8 +497,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) {
@@ -588,9 +585,9 @@ end {
<#
.Synopsis
-list source configurations for a linker in webapp.
+List source configurations for a linker in webapp.
.Description
-list source configurations for a linker in webapp.
+List source configurations for a linker in webapp.
.Example
Get-AzServiceLinkerConfigurationForWebApp -WebApp servicelinker-webapp -ResourceGroupName servicelinker-test-group -LinkerName postgresql_linker | Format-List
@@ -696,8 +693,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) {
@@ -925,8 +921,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) {
@@ -1171,8 +1166,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) {
@@ -1405,8 +1399,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) {
@@ -2084,8 +2077,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) {
@@ -2441,8 +2433,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) {
@@ -2787,8 +2778,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) {
@@ -2925,7 +2915,7 @@ param(
[Parameter()]
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
[System.String]
- # The name of secret in keyvault refenced by -SecretStoreKeyVaultId.
+ # The name of secret in keyvault referenced by -SecretStoreKeyVaultId.
${SecretNameInKeyVault}
)
@@ -3538,8 +3528,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) {
@@ -3788,8 +3777,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) {
@@ -4028,8 +4016,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) {
@@ -4259,8 +4246,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) {
@@ -4503,8 +4489,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) {
@@ -4737,8 +4722,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) {
@@ -5022,8 +5006,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) {
@@ -5320,8 +5303,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) {
@@ -5608,8 +5590,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/ServiceLinker/ServiceLinker.Autorest/exports/Remove-AzServiceLinkerForContainerApp.ps1 b/generated/ServiceLinker/ServiceLinker.Autorest/exports/Remove-AzServiceLinkerForContainerApp.ps1
index cbd5a14fef20..685872e63b48 100644
--- a/generated/ServiceLinker/ServiceLinker.Autorest/exports/Remove-AzServiceLinkerForContainerApp.ps1
+++ b/generated/ServiceLinker/ServiceLinker.Autorest/exports/Remove-AzServiceLinkerForContainerApp.ps1
@@ -166,8 +166,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/ServiceLinker/ServiceLinker.Autorest/exports/Remove-AzServiceLinkerForSpringcloud.ps1 b/generated/ServiceLinker/ServiceLinker.Autorest/exports/Remove-AzServiceLinkerForSpringcloud.ps1
index e5193d657ecc..a5b39cf21189 100644
--- a/generated/ServiceLinker/ServiceLinker.Autorest/exports/Remove-AzServiceLinkerForSpringcloud.ps1
+++ b/generated/ServiceLinker/ServiceLinker.Autorest/exports/Remove-AzServiceLinkerForSpringcloud.ps1
@@ -179,8 +179,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/ServiceLinker/ServiceLinker.Autorest/exports/Remove-AzServiceLinkerForWebApp.ps1 b/generated/ServiceLinker/ServiceLinker.Autorest/exports/Remove-AzServiceLinkerForWebApp.ps1
index a2bd9c67240e..8d7e36625708 100644
--- a/generated/ServiceLinker/ServiceLinker.Autorest/exports/Remove-AzServiceLinkerForWebApp.ps1
+++ b/generated/ServiceLinker/ServiceLinker.Autorest/exports/Remove-AzServiceLinkerForWebApp.ps1
@@ -166,8 +166,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/ServiceLinker/ServiceLinker.Autorest/exports/Test-AzServiceLinkerForContainerApp.ps1 b/generated/ServiceLinker/ServiceLinker.Autorest/exports/Test-AzServiceLinkerForContainerApp.ps1
index dfe6268a1fab..a5bd5410e611 100644
--- a/generated/ServiceLinker/ServiceLinker.Autorest/exports/Test-AzServiceLinkerForContainerApp.ps1
+++ b/generated/ServiceLinker/ServiceLinker.Autorest/exports/Test-AzServiceLinkerForContainerApp.ps1
@@ -160,8 +160,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/ServiceLinker/ServiceLinker.Autorest/exports/Test-AzServiceLinkerForSpringCloud.ps1 b/generated/ServiceLinker/ServiceLinker.Autorest/exports/Test-AzServiceLinkerForSpringCloud.ps1
index ec76e53b6977..999525b84b7e 100644
--- a/generated/ServiceLinker/ServiceLinker.Autorest/exports/Test-AzServiceLinkerForSpringCloud.ps1
+++ b/generated/ServiceLinker/ServiceLinker.Autorest/exports/Test-AzServiceLinkerForSpringCloud.ps1
@@ -173,8 +173,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/ServiceLinker/ServiceLinker.Autorest/exports/Test-AzServiceLinkerForWebApp.ps1 b/generated/ServiceLinker/ServiceLinker.Autorest/exports/Test-AzServiceLinkerForWebApp.ps1
index 32e8ead2d5b0..ac24943d031f 100644
--- a/generated/ServiceLinker/ServiceLinker.Autorest/exports/Test-AzServiceLinkerForWebApp.ps1
+++ b/generated/ServiceLinker/ServiceLinker.Autorest/exports/Test-AzServiceLinkerForWebApp.ps1
@@ -160,8 +160,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/ServiceLinker/ServiceLinker.Autorest/exports/Update-AzServiceLinkerForContainerApp.ps1 b/generated/ServiceLinker/ServiceLinker.Autorest/exports/Update-AzServiceLinkerForContainerApp.ps1
index f35347b09378..a9c8f2271934 100644
--- a/generated/ServiceLinker/ServiceLinker.Autorest/exports/Update-AzServiceLinkerForContainerApp.ps1
+++ b/generated/ServiceLinker/ServiceLinker.Autorest/exports/Update-AzServiceLinkerForContainerApp.ps1
@@ -214,8 +214,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/ServiceLinker/ServiceLinker.Autorest/exports/Update-AzServiceLinkerForSpringCloud.ps1 b/generated/ServiceLinker/ServiceLinker.Autorest/exports/Update-AzServiceLinkerForSpringCloud.ps1
index 883e60274b29..c72057eb071a 100644
--- a/generated/ServiceLinker/ServiceLinker.Autorest/exports/Update-AzServiceLinkerForSpringCloud.ps1
+++ b/generated/ServiceLinker/ServiceLinker.Autorest/exports/Update-AzServiceLinkerForSpringCloud.ps1
@@ -227,8 +227,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/ServiceLinker/ServiceLinker.Autorest/exports/Update-AzServiceLinkerForWebApp.ps1 b/generated/ServiceLinker/ServiceLinker.Autorest/exports/Update-AzServiceLinkerForWebApp.ps1
index fb2056242d2f..8b64a87a6555 100644
--- a/generated/ServiceLinker/ServiceLinker.Autorest/exports/Update-AzServiceLinkerForWebApp.ps1
+++ b/generated/ServiceLinker/ServiceLinker.Autorest/exports/Update-AzServiceLinkerForWebApp.ps1
@@ -214,8 +214,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/ServiceLinker/ServiceLinker.Autorest/generated/cmdlets/NewAzServiceLinkerDryrun_CreateExpanded.cs b/generated/ServiceLinker/ServiceLinker.Autorest/generated/cmdlets/NewAzServiceLinkerDryrun_CreateExpanded.cs
index e2124b443122..26960a4cde09 100644
--- a/generated/ServiceLinker/ServiceLinker.Autorest/generated/cmdlets/NewAzServiceLinkerDryrun_CreateExpanded.cs
+++ b/generated/ServiceLinker/ServiceLinker.Autorest/generated/cmdlets/NewAzServiceLinkerDryrun_CreateExpanded.cs
@@ -41,18 +41,9 @@ public partial class NewAzServiceLinkerDryrun_CreateExpanded : global::System.Ma
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
/// a dryrun job resource
private Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.IDryrunResource _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.DryrunResource();
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.ParameterCategory.Runtime)]
@@ -232,11 +223,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Cmdlets.NewAzServiceLink
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -552,24 +538,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.IDryrunResource
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/ServiceLinker/ServiceLinker.Autorest/generated/cmdlets/NewAzServiceLinkerDryrun_CreateViaIdentityExpanded.cs b/generated/ServiceLinker/ServiceLinker.Autorest/generated/cmdlets/NewAzServiceLinkerDryrun_CreateViaIdentityExpanded.cs
index ba9b262f7011..8c081fb7d4fe 100644
--- a/generated/ServiceLinker/ServiceLinker.Autorest/generated/cmdlets/NewAzServiceLinkerDryrun_CreateViaIdentityExpanded.cs
+++ b/generated/ServiceLinker/ServiceLinker.Autorest/generated/cmdlets/NewAzServiceLinkerDryrun_CreateViaIdentityExpanded.cs
@@ -41,18 +41,9 @@ public partial class NewAzServiceLinkerDryrun_CreateViaIdentityExpanded : global
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
/// a dryrun job resource
private Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.IDryrunResource _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.DryrunResource();
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.ParameterCategory.Runtime)]
@@ -208,11 +199,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Cmdlets.NewAzServiceLink
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -544,24 +530,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.IDryrunResource
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/ServiceLinker/ServiceLinker.Autorest/generated/cmdlets/NewAzServiceLinker_CreateExpanded.cs b/generated/ServiceLinker/ServiceLinker.Autorest/generated/cmdlets/NewAzServiceLinker_CreateExpanded.cs
index 8d6172013b92..db4b9e891d3a 100644
--- a/generated/ServiceLinker/ServiceLinker.Autorest/generated/cmdlets/NewAzServiceLinker_CreateExpanded.cs
+++ b/generated/ServiceLinker/ServiceLinker.Autorest/generated/cmdlets/NewAzServiceLinker_CreateExpanded.cs
@@ -41,18 +41,9 @@ public partial class NewAzServiceLinker_CreateExpanded : global::System.Manageme
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
/// Linker of source and target resource
private Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.ILinkerResource _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.LinkerResource();
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.ParameterCategory.Runtime)]
@@ -483,11 +474,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Cmdlets.NewAzServiceLink
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -815,24 +801,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.ILinkerResource
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/ServiceLinker/ServiceLinker.Autorest/generated/cmdlets/NewAzServiceLinker_CreateViaIdentityExpanded.cs b/generated/ServiceLinker/ServiceLinker.Autorest/generated/cmdlets/NewAzServiceLinker_CreateViaIdentityExpanded.cs
index 36b79d749180..ce72abc48c16 100644
--- a/generated/ServiceLinker/ServiceLinker.Autorest/generated/cmdlets/NewAzServiceLinker_CreateViaIdentityExpanded.cs
+++ b/generated/ServiceLinker/ServiceLinker.Autorest/generated/cmdlets/NewAzServiceLinker_CreateViaIdentityExpanded.cs
@@ -41,18 +41,9 @@ public partial class NewAzServiceLinker_CreateViaIdentityExpanded : global::Syst
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
/// Linker of source and target resource
private Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.ILinkerResource _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.LinkerResource();
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.ParameterCategory.Runtime)]
@@ -453,11 +444,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Cmdlets.NewAzServiceLink
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -801,24 +787,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.ILinkerResource
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/ServiceLinker/ServiceLinker.Autorest/generated/cmdlets/RemoveAzServiceLinkerDryrun_Delete.cs b/generated/ServiceLinker/ServiceLinker.Autorest/generated/cmdlets/RemoveAzServiceLinkerDryrun_Delete.cs
index 4196b394f402..b544746f5e4c 100644
--- a/generated/ServiceLinker/ServiceLinker.Autorest/generated/cmdlets/RemoveAzServiceLinkerDryrun_Delete.cs
+++ b/generated/ServiceLinker/ServiceLinker.Autorest/generated/cmdlets/RemoveAzServiceLinkerDryrun_Delete.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/ServiceLinker/ServiceLinker.Autorest/generated/cmdlets/RemoveAzServiceLinkerDryrun_DeleteViaIdentity.cs b/generated/ServiceLinker/ServiceLinker.Autorest/generated/cmdlets/RemoveAzServiceLinkerDryrun_DeleteViaIdentity.cs
index 9e647b7bf155..86413d69b159 100644
--- a/generated/ServiceLinker/ServiceLinker.Autorest/generated/cmdlets/RemoveAzServiceLinkerDryrun_DeleteViaIdentity.cs
+++ b/generated/ServiceLinker/ServiceLinker.Autorest/generated/cmdlets/RemoveAzServiceLinkerDryrun_DeleteViaIdentity.cs
@@ -472,7 +472,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -496,7 +496,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/ServiceLinker/ServiceLinker.Autorest/generated/cmdlets/RemoveAzServiceLinker_Delete.cs b/generated/ServiceLinker/ServiceLinker.Autorest/generated/cmdlets/RemoveAzServiceLinker_Delete.cs
index b95a1339c79a..5d7f6118d3c1 100644
--- a/generated/ServiceLinker/ServiceLinker.Autorest/generated/cmdlets/RemoveAzServiceLinker_Delete.cs
+++ b/generated/ServiceLinker/ServiceLinker.Autorest/generated/cmdlets/RemoveAzServiceLinker_Delete.cs
@@ -41,15 +41,6 @@ public partial class RemoveAzServiceLinker_Delete : global::System.Management.Au
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.ParameterCategory.Runtime)]
@@ -244,11 +235,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Cmdlets.RemoveAzServiceL
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -560,7 +546,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -584,7 +570,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/ServiceLinker/ServiceLinker.Autorest/generated/cmdlets/RemoveAzServiceLinker_DeleteViaIdentity.cs b/generated/ServiceLinker/ServiceLinker.Autorest/generated/cmdlets/RemoveAzServiceLinker_DeleteViaIdentity.cs
index 94991d3a2905..74eae37b1f50 100644
--- a/generated/ServiceLinker/ServiceLinker.Autorest/generated/cmdlets/RemoveAzServiceLinker_DeleteViaIdentity.cs
+++ b/generated/ServiceLinker/ServiceLinker.Autorest/generated/cmdlets/RemoveAzServiceLinker_DeleteViaIdentity.cs
@@ -41,15 +41,6 @@ public partial class RemoveAzServiceLinker_DeleteViaIdentity : global::System.Ma
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.ParameterCategory.Runtime)]
@@ -219,11 +210,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Cmdlets.RemoveAzServiceL
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -551,7 +537,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -575,7 +561,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/ServiceLinker/ServiceLinker.Autorest/generated/cmdlets/TestAzServiceLinker_Validate.cs b/generated/ServiceLinker/ServiceLinker.Autorest/generated/cmdlets/TestAzServiceLinker_Validate.cs
index fbc07477c728..b75e02f8e943 100644
--- a/generated/ServiceLinker/ServiceLinker.Autorest/generated/cmdlets/TestAzServiceLinker_Validate.cs
+++ b/generated/ServiceLinker/ServiceLinker.Autorest/generated/cmdlets/TestAzServiceLinker_Validate.cs
@@ -41,15 +41,6 @@ public partial class TestAzServiceLinker_Validate : global::System.Management.Au
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.ParameterCategory.Runtime)]
@@ -229,11 +220,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Cmdlets.TestAzServiceLin
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -549,24 +535,7 @@ public TestAzServiceLinker_Validate()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.IValidateOperationResult
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/ServiceLinker/ServiceLinker.Autorest/generated/cmdlets/TestAzServiceLinker_ValidateViaIdentity.cs b/generated/ServiceLinker/ServiceLinker.Autorest/generated/cmdlets/TestAzServiceLinker_ValidateViaIdentity.cs
index ad054bbb66ed..47bd53e918f4 100644
--- a/generated/ServiceLinker/ServiceLinker.Autorest/generated/cmdlets/TestAzServiceLinker_ValidateViaIdentity.cs
+++ b/generated/ServiceLinker/ServiceLinker.Autorest/generated/cmdlets/TestAzServiceLinker_ValidateViaIdentity.cs
@@ -41,15 +41,6 @@ public partial class TestAzServiceLinker_ValidateViaIdentity : global::System.Ma
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.ParameterCategory.Runtime)]
@@ -204,11 +195,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Cmdlets.TestAzServiceLin
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -540,24 +526,7 @@ public TestAzServiceLinker_ValidateViaIdentity()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.IValidateOperationResult
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/ServiceLinker/ServiceLinker.Autorest/generated/cmdlets/UpdateAzServiceLinkerDryrun_UpdateExpanded.cs b/generated/ServiceLinker/ServiceLinker.Autorest/generated/cmdlets/UpdateAzServiceLinkerDryrun_UpdateExpanded.cs
index 80a3ea12c3a2..5f6df5692d0f 100644
--- a/generated/ServiceLinker/ServiceLinker.Autorest/generated/cmdlets/UpdateAzServiceLinkerDryrun_UpdateExpanded.cs
+++ b/generated/ServiceLinker/ServiceLinker.Autorest/generated/cmdlets/UpdateAzServiceLinkerDryrun_UpdateExpanded.cs
@@ -41,18 +41,9 @@ public partial class UpdateAzServiceLinkerDryrun_UpdateExpanded : global::System
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
/// a dryrun job to be updated.
private Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.IDryrunPatch _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.DryrunPatch();
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.ParameterCategory.Runtime)]
@@ -232,11 +223,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Cmdlets.UpdateAzServiceL
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -552,24 +538,7 @@ public UpdateAzServiceLinkerDryrun_UpdateExpanded()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.IDryrunResource
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/ServiceLinker/ServiceLinker.Autorest/generated/cmdlets/UpdateAzServiceLinkerDryrun_UpdateViaIdentityExpanded.cs b/generated/ServiceLinker/ServiceLinker.Autorest/generated/cmdlets/UpdateAzServiceLinkerDryrun_UpdateViaIdentityExpanded.cs
index fd8c89e849f0..00fb3c547ac4 100644
--- a/generated/ServiceLinker/ServiceLinker.Autorest/generated/cmdlets/UpdateAzServiceLinkerDryrun_UpdateViaIdentityExpanded.cs
+++ b/generated/ServiceLinker/ServiceLinker.Autorest/generated/cmdlets/UpdateAzServiceLinkerDryrun_UpdateViaIdentityExpanded.cs
@@ -41,18 +41,9 @@ public partial class UpdateAzServiceLinkerDryrun_UpdateViaIdentityExpanded : glo
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
/// a dryrun job to be updated.
private Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.IDryrunPatch _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.DryrunPatch();
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.ParameterCategory.Runtime)]
@@ -208,11 +199,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Cmdlets.UpdateAzServiceL
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -544,24 +530,7 @@ public UpdateAzServiceLinkerDryrun_UpdateViaIdentityExpanded()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.IDryrunResource
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/ServiceLinker/ServiceLinker.Autorest/generated/cmdlets/UpdateAzServiceLinker_UpdateExpanded.cs b/generated/ServiceLinker/ServiceLinker.Autorest/generated/cmdlets/UpdateAzServiceLinker_UpdateExpanded.cs
index b2580a03d777..b0a725563ce3 100644
--- a/generated/ServiceLinker/ServiceLinker.Autorest/generated/cmdlets/UpdateAzServiceLinker_UpdateExpanded.cs
+++ b/generated/ServiceLinker/ServiceLinker.Autorest/generated/cmdlets/UpdateAzServiceLinker_UpdateExpanded.cs
@@ -41,18 +41,9 @@ public partial class UpdateAzServiceLinker_UpdateExpanded : global::System.Manag
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
/// A Linker to be updated.
private Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.ILinkerPatch _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.LinkerPatch();
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.ParameterCategory.Runtime)]
@@ -473,11 +464,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Cmdlets.UpdateAzServiceL
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -805,24 +791,7 @@ public UpdateAzServiceLinker_UpdateExpanded()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.ILinkerResource
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/ServiceLinker/ServiceLinker.Autorest/generated/cmdlets/UpdateAzServiceLinker_UpdateViaIdentityExpanded.cs b/generated/ServiceLinker/ServiceLinker.Autorest/generated/cmdlets/UpdateAzServiceLinker_UpdateViaIdentityExpanded.cs
index fcea55d1d59e..0817c771b43d 100644
--- a/generated/ServiceLinker/ServiceLinker.Autorest/generated/cmdlets/UpdateAzServiceLinker_UpdateViaIdentityExpanded.cs
+++ b/generated/ServiceLinker/ServiceLinker.Autorest/generated/cmdlets/UpdateAzServiceLinker_UpdateViaIdentityExpanded.cs
@@ -41,18 +41,9 @@ public partial class UpdateAzServiceLinker_UpdateViaIdentityExpanded : global::S
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
/// A Linker to be updated.
private Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.ILinkerPatch _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.LinkerPatch();
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.ParameterCategory.Runtime)]
@@ -448,11 +439,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Cmdlets.UpdateAzServiceL
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -796,24 +782,7 @@ public UpdateAzServiceLinker_UpdateViaIdentityExpanded()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.ILinkerResource
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/ServiceLinker/ServiceLinker.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs b/generated/ServiceLinker/ServiceLinker.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs
index ea2f0ea0d231..09a1f47a6017 100644
--- a/generated/ServiceLinker/ServiceLinker.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs
+++ b/generated/ServiceLinker/ServiceLinker.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/ServiceLinker/ServiceLinker.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs b/generated/ServiceLinker/ServiceLinker.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs
index dc569d652819..700f7d7a6248 100644
--- a/generated/ServiceLinker/ServiceLinker.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs
+++ b/generated/ServiceLinker/ServiceLinker.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/ServiceLinker/ServiceLinker.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs b/generated/ServiceLinker/ServiceLinker.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs
index 00a3a954772e..8c58154ebc48 100644
--- a/generated/ServiceLinker/ServiceLinker.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs
+++ b/generated/ServiceLinker/ServiceLinker.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs
@@ -392,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/ServiceLinker/ServiceLinker.Autorest/generated/runtime/Context.cs b/generated/ServiceLinker/ServiceLinker.Autorest/generated/runtime/Context.cs
index 6b5663f9b757..503880d6a9ca 100644
--- a/generated/ServiceLinker/ServiceLinker.Autorest/generated/runtime/Context.cs
+++ b/generated/ServiceLinker/ServiceLinker.Autorest/generated/runtime/Context.cs
@@ -20,7 +20,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.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/ServiceLinker/ServiceLinker.Autorest/generated/runtime/MessageAttribute.cs b/generated/ServiceLinker/ServiceLinker.Autorest/generated/runtime/MessageAttribute.cs
index 4bec3adec4b6..b3f34eae3241 100644
--- a/generated/ServiceLinker/ServiceLinker.Autorest/generated/runtime/MessageAttribute.cs
+++ b/generated/ServiceLinker/ServiceLinker.Autorest/generated/runtime/MessageAttribute.cs
@@ -16,9 +16,12 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.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.ServiceLinker" : @"";
+
//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/ServiceLinker/ServiceLinker.Autorest/generated/runtime/Properties/Resources.resx b/generated/ServiceLinker/ServiceLinker.Autorest/generated/runtime/Properties/Resources.resx
index a08a2e50172b..4ef90b70573d 100644
--- a/generated/ServiceLinker/ServiceLinker.Autorest/generated/runtime/Properties/Resources.resx
+++ b/generated/ServiceLinker/ServiceLinker.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/ServiceLinker/ServiceLinker.Autorest/internal/Get-AzServiceLinkerConfiguration.ps1 b/generated/ServiceLinker/ServiceLinker.Autorest/internal/Get-AzServiceLinkerConfiguration.ps1
index 4b4605f80abb..b175f7f0bc7a 100644
--- a/generated/ServiceLinker/ServiceLinker.Autorest/internal/Get-AzServiceLinkerConfiguration.ps1
+++ b/generated/ServiceLinker/ServiceLinker.Autorest/internal/Get-AzServiceLinkerConfiguration.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-list source configurations for a Linker.
+List source configurations for a Linker.
.Description
-list source configurations for a Linker.
+List source configurations for a Linker.
.Example
{{ Add code here }}
.Example
diff --git a/generated/ServiceLinker/ServiceLinker.Autorest/internal/Get-AzServiceLinkerDryrun.ps1 b/generated/ServiceLinker/ServiceLinker.Autorest/internal/Get-AzServiceLinkerDryrun.ps1
index ca75aa5c462e..12703e1c1bac 100644
--- a/generated/ServiceLinker/ServiceLinker.Autorest/internal/Get-AzServiceLinkerDryrun.ps1
+++ b/generated/ServiceLinker/ServiceLinker.Autorest/internal/Get-AzServiceLinkerDryrun.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-get a dryrun job
+Get a dryrun job
.Description
-get a dryrun job
+Get a dryrun job
.Example
{{ Add code here }}
.Example
diff --git a/generated/ServiceLinker/ServiceLinker.Autorest/internal/New-AzServiceLinker.ps1 b/generated/ServiceLinker/ServiceLinker.Autorest/internal/New-AzServiceLinker.ps1
index b1123f93dad3..57af9bab6fec 100644
--- a/generated/ServiceLinker/ServiceLinker.Autorest/internal/New-AzServiceLinker.ps1
+++ b/generated/ServiceLinker/ServiceLinker.Autorest/internal/New-AzServiceLinker.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-create Linker resource.
+Create Linker resource.
.Description
-create Linker resource.
+Create Linker resource.
.Example
{{ Add code here }}
.Example
diff --git a/generated/ServiceLinker/ServiceLinker.Autorest/internal/New-AzServiceLinkerDryrun.ps1 b/generated/ServiceLinker/ServiceLinker.Autorest/internal/New-AzServiceLinkerDryrun.ps1
index a847ac8cd975..02568e9a64b4 100644
--- a/generated/ServiceLinker/ServiceLinker.Autorest/internal/New-AzServiceLinkerDryrun.ps1
+++ b/generated/ServiceLinker/ServiceLinker.Autorest/internal/New-AzServiceLinkerDryrun.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-create a dryrun job to do necessary check before actual creation
+Create a dryrun job to do necessary check before actual creation
.Description
-create a dryrun job to do necessary check before actual creation
+Create a dryrun job to do necessary check before actual creation
.Example
{{ Add code here }}
.Example
diff --git a/generated/ServiceLinker/ServiceLinker.Autorest/internal/ProxyCmdletDefinitions.ps1 b/generated/ServiceLinker/ServiceLinker.Autorest/internal/ProxyCmdletDefinitions.ps1
index c8bc91ee0eae..58d0e5ad76f9 100644
--- a/generated/ServiceLinker/ServiceLinker.Autorest/internal/ProxyCmdletDefinitions.ps1
+++ b/generated/ServiceLinker/ServiceLinker.Autorest/internal/ProxyCmdletDefinitions.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-list source configurations for a Linker.
+List source configurations for a Linker.
.Description
-list source configurations for a Linker.
+List source configurations for a Linker.
.Example
{{ Add code here }}
.Example
@@ -144,9 +144,9 @@ end {
<#
.Synopsis
-get a dryrun job
+Get a dryrun job
.Description
-get a dryrun job
+Get a dryrun job
.Example
{{ Add code here }}
.Example
@@ -788,9 +788,9 @@ end {
<#
.Synopsis
-create a dryrun job to do necessary check before actual creation
+Create a dryrun job to do necessary check before actual creation
.Description
-create a dryrun job to do necessary check before actual creation
+Create a dryrun job to do necessary check before actual creation
.Example
{{ Add code here }}
.Example
@@ -951,9 +951,9 @@ end {
<#
.Synopsis
-create Linker resource.
+Create Linker resource.
.Description
-create Linker resource.
+Create Linker resource.
.Example
{{ Add code here }}
.Example
@@ -1239,9 +1239,9 @@ end {
<#
.Synopsis
-delete a dryrun job
+Delete a dryrun job
.Description
-delete a dryrun job
+Delete a dryrun job
.Example
{{ Add code here }}
.Example
@@ -1730,9 +1730,9 @@ end {
<#
.Synopsis
-add a dryrun job to do necessary check before actual creation
+Add a dryrun job to do necessary check before actual creation
.Description
-add a dryrun job to do necessary check before actual creation
+Add a dryrun job to do necessary check before actual creation
.Example
{{ Add code here }}
.Example
diff --git a/generated/ServiceLinker/ServiceLinker.Autorest/internal/Remove-AzServiceLinkerDryrun.ps1 b/generated/ServiceLinker/ServiceLinker.Autorest/internal/Remove-AzServiceLinkerDryrun.ps1
index d7051e9f1f25..d2272678cefe 100644
--- a/generated/ServiceLinker/ServiceLinker.Autorest/internal/Remove-AzServiceLinkerDryrun.ps1
+++ b/generated/ServiceLinker/ServiceLinker.Autorest/internal/Remove-AzServiceLinkerDryrun.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-delete a dryrun job
+Delete a dryrun job
.Description
-delete a dryrun job
+Delete a dryrun job
.Example
{{ Add code here }}
.Example
diff --git a/generated/ServiceLinker/ServiceLinker.Autorest/internal/Update-AzServiceLinkerDryrun.ps1 b/generated/ServiceLinker/ServiceLinker.Autorest/internal/Update-AzServiceLinkerDryrun.ps1
index 70b28a146326..4fd6d63335cf 100644
--- a/generated/ServiceLinker/ServiceLinker.Autorest/internal/Update-AzServiceLinkerDryrun.ps1
+++ b/generated/ServiceLinker/ServiceLinker.Autorest/internal/Update-AzServiceLinkerDryrun.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-add a dryrun job to do necessary check before actual creation
+Add a dryrun job to do necessary check before actual creation
.Description
-add a dryrun job to do necessary check before actual creation
+Add a dryrun job to do necessary check before actual creation
.Example
{{ Add code here }}
.Example
diff --git a/generated/Site/Site.Autorest/exports/Get-AzSite.ps1 b/generated/Site/Site.Autorest/exports/Get-AzSite.ps1
index 190b91a61ad6..73a3a48da9b9 100644
--- a/generated/Site/Site.Autorest/exports/Get-AzSite.ps1
+++ b/generated/Site/Site.Autorest/exports/Get-AzSite.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/Site/Site.Autorest/exports/New-AzSite.ps1 b/generated/Site/Site.Autorest/exports/New-AzSite.ps1
index 00aaecc395ff..872e61415dc5 100644
--- a/generated/Site/Site.Autorest/exports/New-AzSite.ps1
+++ b/generated/Site/Site.Autorest/exports/New-AzSite.ps1
@@ -275,8 +275,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/Site/Site.Autorest/exports/ProxyCmdletDefinitions.ps1 b/generated/Site/Site.Autorest/exports/ProxyCmdletDefinitions.ps1
index f3feef820e3f..2b7d9b400d38 100644
--- a/generated/Site/Site.Autorest/exports/ProxyCmdletDefinitions.ps1
+++ b/generated/Site/Site.Autorest/exports/ProxyCmdletDefinitions.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) {
@@ -492,8 +491,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) {
@@ -725,8 +723,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) {
@@ -1063,8 +1060,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/Site/Site.Autorest/exports/Remove-AzSite.ps1 b/generated/Site/Site.Autorest/exports/Remove-AzSite.ps1
index be0f1a00b056..a4f36ab1ab5a 100644
--- a/generated/Site/Site.Autorest/exports/Remove-AzSite.ps1
+++ b/generated/Site/Site.Autorest/exports/Remove-AzSite.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/Site/Site.Autorest/exports/Update-AzSite.ps1 b/generated/Site/Site.Autorest/exports/Update-AzSite.ps1
index bf4f1a5baf93..409cebed0a8b 100644
--- a/generated/Site/Site.Autorest/exports/Update-AzSite.ps1
+++ b/generated/Site/Site.Autorest/exports/Update-AzSite.ps1
@@ -268,8 +268,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/Site/Site.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs b/generated/Site/Site.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs
index a8351c500f81..de90d87bff04 100644
--- a/generated/Site/Site.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs
+++ b/generated/Site/Site.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/Sphere/Sphere.Autorest/Properties/AssemblyInfo.cs b/generated/Sphere/Sphere.Autorest/Properties/AssemblyInfo.cs
deleted file mode 100644
index 0187e9545120..000000000000
--- a/generated/Sphere/Sphere.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 - Sphere")]
-[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("2d4d75b7-e471-4b99-b740-0ca87cf9e649")]
-[assembly: AssemblyVersion("0.1.3")]
-[assembly: AssemblyFileVersion("0.1.3")]
diff --git a/generated/Sphere/Sphere.Autorest/exports/Get-AzSphereCatalog.ps1 b/generated/Sphere/Sphere.Autorest/exports/Get-AzSphereCatalog.ps1
index b1c4a6e38e6d..b92cac598337 100644
--- a/generated/Sphere/Sphere.Autorest/exports/Get-AzSphereCatalog.ps1
+++ b/generated/Sphere/Sphere.Autorest/exports/Get-AzSphereCatalog.ps1
@@ -140,6 +140,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Sphere.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()
}
@@ -164,8 +172,6 @@ begin {
List1 = 'Az.Sphere.private\Get-AzSphereCatalog_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.Sphere.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -179,6 +185,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/Sphere/Sphere.Autorest/exports/Get-AzSphereCatalogDevice.ps1 b/generated/Sphere/Sphere.Autorest/exports/Get-AzSphereCatalogDevice.ps1
index 4672ab6b617a..43ddd6f521f1 100644
--- a/generated/Sphere/Sphere.Autorest/exports/Get-AzSphereCatalogDevice.ps1
+++ b/generated/Sphere/Sphere.Autorest/exports/Get-AzSphereCatalogDevice.ps1
@@ -132,6 +132,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Sphere.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()
}
@@ -153,8 +161,6 @@ begin {
List = 'Az.Sphere.private\Get-AzSphereCatalogDevice_List';
}
if (('List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -168,6 +174,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/Sphere/Sphere.Autorest/exports/Get-AzSphereCatalogDeviceGroup.ps1 b/generated/Sphere/Sphere.Autorest/exports/Get-AzSphereCatalogDeviceGroup.ps1
index 9e6f49717664..541c90dba4df 100644
--- a/generated/Sphere/Sphere.Autorest/exports/Get-AzSphereCatalogDeviceGroup.ps1
+++ b/generated/Sphere/Sphere.Autorest/exports/Get-AzSphereCatalogDeviceGroup.ps1
@@ -138,6 +138,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Sphere.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()
}
@@ -159,8 +167,6 @@ begin {
ListExpanded = 'Az.Sphere.private\Get-AzSphereCatalogDeviceGroup_ListExpanded';
}
if (('ListExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -174,6 +180,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/Sphere/Sphere.Autorest/exports/Get-AzSphereCatalogDeviceInsight.ps1 b/generated/Sphere/Sphere.Autorest/exports/Get-AzSphereCatalogDeviceInsight.ps1
index 755875123eaa..5e0620fe78e6 100644
--- a/generated/Sphere/Sphere.Autorest/exports/Get-AzSphereCatalogDeviceInsight.ps1
+++ b/generated/Sphere/Sphere.Autorest/exports/Get-AzSphereCatalogDeviceInsight.ps1
@@ -132,6 +132,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Sphere.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()
}
@@ -153,8 +161,6 @@ begin {
List = 'Az.Sphere.private\Get-AzSphereCatalogDeviceInsight_List';
}
if (('List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -168,6 +174,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/Sphere/Sphere.Autorest/exports/Get-AzSphereCertificate.ps1 b/generated/Sphere/Sphere.Autorest/exports/Get-AzSphereCertificate.ps1
index 8e17e4f1f449..6e2c84b05185 100644
--- a/generated/Sphere/Sphere.Autorest/exports/Get-AzSphereCertificate.ps1
+++ b/generated/Sphere/Sphere.Autorest/exports/Get-AzSphereCertificate.ps1
@@ -185,6 +185,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Sphere.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()
}
@@ -209,8 +217,6 @@ begin {
List = 'Az.Sphere.private\Get-AzSphereCertificate_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.Sphere.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -224,6 +230,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/Sphere/Sphere.Autorest/exports/Get-AzSphereCertificateCertChain.ps1 b/generated/Sphere/Sphere.Autorest/exports/Get-AzSphereCertificateCertChain.ps1
index 696342f6a3d9..9158821323b1 100644
--- a/generated/Sphere/Sphere.Autorest/exports/Get-AzSphereCertificateCertChain.ps1
+++ b/generated/Sphere/Sphere.Autorest/exports/Get-AzSphereCertificateCertChain.ps1
@@ -158,6 +158,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Sphere.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()
}
@@ -181,8 +189,6 @@ begin {
RetrieveViaIdentityCatalog = 'Az.Sphere.private\Get-AzSphereCertificateCertChain_RetrieveViaIdentityCatalog';
}
if (('Retrieve') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -196,6 +202,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/Sphere/Sphere.Autorest/exports/Get-AzSphereCertificateProof.ps1 b/generated/Sphere/Sphere.Autorest/exports/Get-AzSphereCertificateProof.ps1
index 9b95254a4425..0746ff2268aa 100644
--- a/generated/Sphere/Sphere.Autorest/exports/Get-AzSphereCertificateProof.ps1
+++ b/generated/Sphere/Sphere.Autorest/exports/Get-AzSphereCertificateProof.ps1
@@ -164,6 +164,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Sphere.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()
}
@@ -187,8 +195,6 @@ begin {
RetrieveViaIdentityExpanded = 'Az.Sphere.private\Get-AzSphereCertificateProof_RetrieveViaIdentityExpanded';
}
if (('RetrieveExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -202,6 +208,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/Sphere/Sphere.Autorest/exports/Get-AzSphereDeployment.ps1 b/generated/Sphere/Sphere.Autorest/exports/Get-AzSphereDeployment.ps1
index 5c70d2d2a1b1..3e4082091466 100644
--- a/generated/Sphere/Sphere.Autorest/exports/Get-AzSphereDeployment.ps1
+++ b/generated/Sphere/Sphere.Autorest/exports/Get-AzSphereDeployment.ps1
@@ -245,6 +245,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Sphere.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()
}
@@ -271,8 +279,6 @@ begin {
List = 'Az.Sphere.private\Get-AzSphereDeployment_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.Sphere.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -286,6 +292,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/Sphere/Sphere.Autorest/exports/Get-AzSphereDevice.ps1 b/generated/Sphere/Sphere.Autorest/exports/Get-AzSphereDevice.ps1
index fd9b4ecd62f8..b129b93a8fa5 100644
--- a/generated/Sphere/Sphere.Autorest/exports/Get-AzSphereDevice.ps1
+++ b/generated/Sphere/Sphere.Autorest/exports/Get-AzSphereDevice.ps1
@@ -221,6 +221,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Sphere.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()
}
@@ -247,8 +255,6 @@ begin {
List = 'Az.Sphere.private\Get-AzSphereDevice_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.Sphere.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -262,6 +268,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/Sphere/Sphere.Autorest/exports/Get-AzSphereDeviceGroup.ps1 b/generated/Sphere/Sphere.Autorest/exports/Get-AzSphereDeviceGroup.ps1
index f6e6b81dd634..263f65e96b4c 100644
--- a/generated/Sphere/Sphere.Autorest/exports/Get-AzSphereDeviceGroup.ps1
+++ b/generated/Sphere/Sphere.Autorest/exports/Get-AzSphereDeviceGroup.ps1
@@ -216,6 +216,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Sphere.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()
}
@@ -241,8 +249,6 @@ begin {
List = 'Az.Sphere.private\Get-AzSphereDeviceGroup_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.Sphere.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -256,6 +262,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/Sphere/Sphere.Autorest/exports/Get-AzSphereImage.ps1 b/generated/Sphere/Sphere.Autorest/exports/Get-AzSphereImage.ps1
index 572927bfefd6..2c7b3b74fdc3 100644
--- a/generated/Sphere/Sphere.Autorest/exports/Get-AzSphereImage.ps1
+++ b/generated/Sphere/Sphere.Autorest/exports/Get-AzSphereImage.ps1
@@ -188,6 +188,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Sphere.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.Sphere.private\Get-AzSphereImage_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.Sphere.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/Sphere/Sphere.Autorest/exports/Get-AzSphereProduct.ps1 b/generated/Sphere/Sphere.Autorest/exports/Get-AzSphereProduct.ps1
index 77093fd28717..b8531886f79b 100644
--- a/generated/Sphere/Sphere.Autorest/exports/Get-AzSphereProduct.ps1
+++ b/generated/Sphere/Sphere.Autorest/exports/Get-AzSphereProduct.ps1
@@ -165,6 +165,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Sphere.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()
}
@@ -189,8 +197,6 @@ begin {
List = 'Az.Sphere.private\Get-AzSphereProduct_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.Sphere.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -204,6 +210,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/Sphere/Sphere.Autorest/exports/Invoke-AzSphereCountCatalogDevice.ps1 b/generated/Sphere/Sphere.Autorest/exports/Invoke-AzSphereCountCatalogDevice.ps1
index e7ab6e2b2551..4070878debe4 100644
--- a/generated/Sphere/Sphere.Autorest/exports/Invoke-AzSphereCountCatalogDevice.ps1
+++ b/generated/Sphere/Sphere.Autorest/exports/Invoke-AzSphereCountCatalogDevice.ps1
@@ -132,6 +132,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Sphere.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()
}
@@ -154,8 +162,6 @@ begin {
CountDeviceViaIdentity = 'Az.Sphere.private\Invoke-AzSphereCountCatalogDevice_CountDeviceViaIdentity';
}
if (('CountDevice') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -169,6 +175,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/Sphere/Sphere.Autorest/exports/Invoke-AzSphereCountDeviceGroupDevice.ps1 b/generated/Sphere/Sphere.Autorest/exports/Invoke-AzSphereCountDeviceGroupDevice.ps1
index 05fc1df78a77..6d8547066811 100644
--- a/generated/Sphere/Sphere.Autorest/exports/Invoke-AzSphereCountDeviceGroupDevice.ps1
+++ b/generated/Sphere/Sphere.Autorest/exports/Invoke-AzSphereCountDeviceGroupDevice.ps1
@@ -185,6 +185,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Sphere.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()
}
@@ -209,8 +217,6 @@ begin {
CountDeviceViaIdentityProduct = 'Az.Sphere.private\Invoke-AzSphereCountDeviceGroupDevice_CountDeviceViaIdentityProduct';
}
if (('CountDevice') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -224,6 +230,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/Sphere/Sphere.Autorest/exports/Invoke-AzSphereCountProductDevice.ps1 b/generated/Sphere/Sphere.Autorest/exports/Invoke-AzSphereCountProductDevice.ps1
index 4f859ee12bd4..7b4ffc7ff527 100644
--- a/generated/Sphere/Sphere.Autorest/exports/Invoke-AzSphereCountProductDevice.ps1
+++ b/generated/Sphere/Sphere.Autorest/exports/Invoke-AzSphereCountProductDevice.ps1
@@ -159,6 +159,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Sphere.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()
}
@@ -182,8 +190,6 @@ begin {
CountDeviceViaIdentityCatalog = 'Az.Sphere.private\Invoke-AzSphereCountProductDevice_CountDeviceViaIdentityCatalog';
}
if (('CountDevice') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -197,6 +203,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/Sphere/Sphere.Autorest/exports/New-AzSphereCatalog.ps1 b/generated/Sphere/Sphere.Autorest/exports/New-AzSphereCatalog.ps1
index 6f91c4cdacf0..d9c70cc002bc 100644
--- a/generated/Sphere/Sphere.Autorest/exports/New-AzSphereCatalog.ps1
+++ b/generated/Sphere/Sphere.Autorest/exports/New-AzSphereCatalog.ps1
@@ -146,6 +146,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Sphere.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()
}
@@ -169,8 +177,6 @@ begin {
CreateViaJsonString = 'Az.Sphere.private\New-AzSphereCatalog_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.Sphere.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -184,6 +190,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/Sphere/Sphere.Autorest/exports/New-AzSphereDeployment.ps1 b/generated/Sphere/Sphere.Autorest/exports/New-AzSphereDeployment.ps1
index 37290e96c434..f255e3cad686 100644
--- a/generated/Sphere/Sphere.Autorest/exports/New-AzSphereDeployment.ps1
+++ b/generated/Sphere/Sphere.Autorest/exports/New-AzSphereDeployment.ps1
@@ -177,6 +177,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Sphere.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 {
CreateViaJsonString = 'Az.Sphere.private\New-AzSphereDeployment_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.Sphere.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/Sphere/Sphere.Autorest/exports/New-AzSphereDevice.ps1 b/generated/Sphere/Sphere.Autorest/exports/New-AzSphereDevice.ps1
index 8234aa9e5c3b..55438094c4a6 100644
--- a/generated/Sphere/Sphere.Autorest/exports/New-AzSphereDevice.ps1
+++ b/generated/Sphere/Sphere.Autorest/exports/New-AzSphereDevice.ps1
@@ -160,6 +160,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Sphere.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()
}
@@ -183,8 +191,6 @@ begin {
CreateViaJsonString = 'Az.Sphere.private\New-AzSphereDevice_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.Sphere.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -198,6 +204,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/Sphere/Sphere.Autorest/exports/New-AzSphereDeviceCapabilityImage.ps1 b/generated/Sphere/Sphere.Autorest/exports/New-AzSphereDeviceCapabilityImage.ps1
index 625e6a5f3ead..8255958eb0e5 100644
--- a/generated/Sphere/Sphere.Autorest/exports/New-AzSphereDeviceCapabilityImage.ps1
+++ b/generated/Sphere/Sphere.Autorest/exports/New-AzSphereDeviceCapabilityImage.ps1
@@ -236,6 +236,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Sphere.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()
}
@@ -262,8 +270,6 @@ begin {
GenerateViaJsonString = 'Az.Sphere.private\New-AzSphereDeviceCapabilityImage_GenerateViaJsonString';
}
if (('GenerateExpanded', 'GenerateViaJsonFilePath', 'GenerateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -277,6 +283,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/Sphere/Sphere.Autorest/exports/New-AzSphereDeviceGroup.ps1 b/generated/Sphere/Sphere.Autorest/exports/New-AzSphereDeviceGroup.ps1
index ca4952d89c7e..4c989b65caca 100644
--- a/generated/Sphere/Sphere.Autorest/exports/New-AzSphereDeviceGroup.ps1
+++ b/generated/Sphere/Sphere.Autorest/exports/New-AzSphereDeviceGroup.ps1
@@ -181,6 +181,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Sphere.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()
}
@@ -204,8 +212,6 @@ begin {
CreateViaJsonString = 'Az.Sphere.private\New-AzSphereDeviceGroup_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.Sphere.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -219,6 +225,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/Sphere/Sphere.Autorest/exports/New-AzSphereImage.ps1 b/generated/Sphere/Sphere.Autorest/exports/New-AzSphereImage.ps1
index 434ec6dbcf29..279c93b5806d 100644
--- a/generated/Sphere/Sphere.Autorest/exports/New-AzSphereImage.ps1
+++ b/generated/Sphere/Sphere.Autorest/exports/New-AzSphereImage.ps1
@@ -163,6 +163,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Sphere.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()
}
@@ -186,8 +194,6 @@ begin {
CreateViaJsonString = 'Az.Sphere.private\New-AzSphereImage_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.Sphere.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -201,6 +207,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/Sphere/Sphere.Autorest/exports/New-AzSphereProduct.ps1 b/generated/Sphere/Sphere.Autorest/exports/New-AzSphereProduct.ps1
index df39761ffc3e..19c0e54f474a 100644
--- a/generated/Sphere/Sphere.Autorest/exports/New-AzSphereProduct.ps1
+++ b/generated/Sphere/Sphere.Autorest/exports/New-AzSphereProduct.ps1
@@ -147,6 +147,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Sphere.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()
}
@@ -170,8 +178,6 @@ begin {
CreateViaJsonString = 'Az.Sphere.private\New-AzSphereProduct_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.Sphere.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -185,6 +191,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/Sphere/Sphere.Autorest/exports/New-AzSphereProductDefaultDeviceGroup.ps1 b/generated/Sphere/Sphere.Autorest/exports/New-AzSphereProductDefaultDeviceGroup.ps1
index e01e11dc3474..b7b95f001329 100644
--- a/generated/Sphere/Sphere.Autorest/exports/New-AzSphereProductDefaultDeviceGroup.ps1
+++ b/generated/Sphere/Sphere.Autorest/exports/New-AzSphereProductDefaultDeviceGroup.ps1
@@ -159,6 +159,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Sphere.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()
}
@@ -182,8 +190,6 @@ begin {
GenerateViaIdentityCatalog = 'Az.Sphere.private\New-AzSphereProductDefaultDeviceGroup_GenerateViaIdentityCatalog';
}
if (('Generate') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -197,6 +203,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/Sphere/Sphere.Autorest/exports/ProxyCmdletDefinitions.ps1 b/generated/Sphere/Sphere.Autorest/exports/ProxyCmdletDefinitions.ps1
index 552b53172c8c..acaa8d00dd34 100644
--- a/generated/Sphere/Sphere.Autorest/exports/ProxyCmdletDefinitions.ps1
+++ b/generated/Sphere/Sphere.Autorest/exports/ProxyCmdletDefinitions.ps1
@@ -138,6 +138,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Sphere.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()
}
@@ -159,8 +167,6 @@ begin {
ListExpanded = 'Az.Sphere.private\Get-AzSphereCatalogDeviceGroup_ListExpanded';
}
if (('ListExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -174,6 +180,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)
@@ -335,6 +344,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Sphere.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()
}
@@ -356,8 +373,6 @@ begin {
List = 'Az.Sphere.private\Get-AzSphereCatalogDeviceInsight_List';
}
if (('List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -371,6 +386,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)
@@ -532,6 +550,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Sphere.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()
}
@@ -553,8 +579,6 @@ begin {
List = 'Az.Sphere.private\Get-AzSphereCatalogDevice_List';
}
if (('List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -568,6 +592,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)
@@ -737,6 +764,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Sphere.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()
}
@@ -761,8 +796,6 @@ begin {
List1 = 'Az.Sphere.private\Get-AzSphereCatalog_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.Sphere.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -776,6 +809,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)
@@ -963,6 +999,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Sphere.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()
}
@@ -986,8 +1030,6 @@ begin {
RetrieveViaIdentityCatalog = 'Az.Sphere.private\Get-AzSphereCertificateCertChain_RetrieveViaIdentityCatalog';
}
if (('Retrieve') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -1001,6 +1043,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)
@@ -1194,6 +1239,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Sphere.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()
}
@@ -1217,8 +1270,6 @@ begin {
RetrieveViaIdentityExpanded = 'Az.Sphere.private\Get-AzSphereCertificateProof_RetrieveViaIdentityExpanded';
}
if (('RetrieveExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -1232,6 +1283,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)
@@ -1446,6 +1500,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Sphere.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()
}
@@ -1470,8 +1532,6 @@ begin {
List = 'Az.Sphere.private\Get-AzSphereCertificate_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.Sphere.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -1485,6 +1545,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)
@@ -1759,6 +1822,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Sphere.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()
}
@@ -1785,8 +1856,6 @@ begin {
List = 'Az.Sphere.private\Get-AzSphereDeployment_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.Sphere.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -1800,6 +1869,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)
@@ -2045,6 +2117,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Sphere.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()
}
@@ -2070,8 +2150,6 @@ begin {
List = 'Az.Sphere.private\Get-AzSphereDeviceGroup_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.Sphere.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -2085,6 +2163,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)
@@ -2335,6 +2416,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Sphere.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()
}
@@ -2361,8 +2450,6 @@ begin {
List = 'Az.Sphere.private\Get-AzSphereDevice_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.Sphere.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -2376,6 +2463,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)
@@ -2593,6 +2683,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Sphere.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()
}
@@ -2617,8 +2715,6 @@ begin {
List = 'Az.Sphere.private\Get-AzSphereImage_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.Sphere.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -2632,6 +2728,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)
@@ -2826,6 +2925,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Sphere.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()
}
@@ -2850,8 +2957,6 @@ begin {
List = 'Az.Sphere.private\Get-AzSphereProduct_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.Sphere.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -2865,6 +2970,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)
@@ -3026,6 +3134,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Sphere.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()
}
@@ -3048,8 +3164,6 @@ begin {
CountDeviceViaIdentity = 'Az.Sphere.private\Invoke-AzSphereCountCatalogDevice_CountDeviceViaIdentity';
}
if (('CountDevice') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -3063,6 +3177,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)
@@ -3277,6 +3394,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Sphere.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()
}
@@ -3301,8 +3426,6 @@ begin {
CountDeviceViaIdentityProduct = 'Az.Sphere.private\Invoke-AzSphereCountDeviceGroupDevice_CountDeviceViaIdentityProduct';
}
if (('CountDevice') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -3316,6 +3439,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)
@@ -3504,6 +3630,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Sphere.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()
}
@@ -3527,8 +3661,6 @@ begin {
CountDeviceViaIdentityCatalog = 'Az.Sphere.private\Invoke-AzSphereCountProductDevice_CountDeviceViaIdentityCatalog';
}
if (('CountDevice') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -3542,6 +3674,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)
@@ -3717,6 +3852,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Sphere.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()
}
@@ -3740,8 +3883,6 @@ begin {
CreateViaJsonString = 'Az.Sphere.private\New-AzSphereCatalog_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.Sphere.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -3755,6 +3896,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)
@@ -3961,6 +4105,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Sphere.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()
}
@@ -3984,8 +4136,6 @@ begin {
CreateViaJsonString = 'Az.Sphere.private\New-AzSphereDeployment_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.Sphere.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -3999,6 +4149,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)
@@ -4264,6 +4417,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Sphere.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()
}
@@ -4290,8 +4451,6 @@ begin {
GenerateViaJsonString = 'Az.Sphere.private\New-AzSphereDeviceCapabilityImage_GenerateViaJsonString';
}
if (('GenerateExpanded', 'GenerateViaJsonFilePath', 'GenerateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -4305,6 +4464,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)
@@ -4515,6 +4677,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Sphere.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()
}
@@ -4538,8 +4708,6 @@ begin {
CreateViaJsonString = 'Az.Sphere.private\New-AzSphereDeviceGroup_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.Sphere.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -4553,6 +4721,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)
@@ -4742,6 +4913,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Sphere.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()
}
@@ -4765,8 +4944,6 @@ begin {
CreateViaJsonString = 'Az.Sphere.private\New-AzSphereDevice_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.Sphere.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -4780,6 +4957,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)
@@ -4972,6 +5152,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Sphere.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()
}
@@ -4995,8 +5183,6 @@ begin {
CreateViaJsonString = 'Az.Sphere.private\New-AzSphereImage_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.Sphere.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -5010,6 +5196,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)
@@ -5198,6 +5387,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Sphere.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()
}
@@ -5221,8 +5418,6 @@ begin {
GenerateViaIdentityCatalog = 'Az.Sphere.private\New-AzSphereProductDefaultDeviceGroup_GenerateViaIdentityCatalog';
}
if (('Generate') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -5236,6 +5431,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)
@@ -5412,6 +5610,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Sphere.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()
}
@@ -5435,8 +5641,6 @@ begin {
CreateViaJsonString = 'Az.Sphere.private\New-AzSphereProduct_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.Sphere.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -5450,6 +5654,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)
@@ -5630,6 +5837,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Sphere.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()
}
@@ -5652,8 +5867,6 @@ begin {
DeleteViaIdentity = 'Az.Sphere.private\Remove-AzSphereCatalog_DeleteViaIdentity';
}
if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -5667,6 +5880,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)
@@ -5900,6 +6116,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Sphere.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()
}
@@ -5924,8 +6148,6 @@ begin {
DeleteViaIdentityProduct = 'Az.Sphere.private\Remove-AzSphereDeviceGroup_DeleteViaIdentityProduct';
}
if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -5939,6 +6161,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)
@@ -6146,6 +6371,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Sphere.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()
}
@@ -6169,8 +6402,6 @@ begin {
DeleteViaIdentityCatalog = 'Az.Sphere.private\Remove-AzSphereProduct_DeleteViaIdentityCatalog';
}
if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -6184,6 +6415,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)
@@ -6372,6 +6606,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Sphere.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()
}
@@ -6396,8 +6638,6 @@ begin {
UpdateViaJsonString = 'Az.Sphere.private\Update-AzSphereCatalog_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.Sphere.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -6411,6 +6651,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)
@@ -6709,6 +6952,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Sphere.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()
}
@@ -6735,8 +6986,6 @@ begin {
UpdateViaJsonString = 'Az.Sphere.private\Update-AzSphereDeviceGroup_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.Sphere.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -6750,6 +6999,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)
@@ -7041,6 +7293,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Sphere.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()
}
@@ -7068,8 +7328,6 @@ begin {
UpdateViaJsonString = 'Az.Sphere.private\Update-AzSphereDevice_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.Sphere.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -7083,6 +7341,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)
@@ -7312,6 +7573,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Sphere.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()
}
@@ -7337,8 +7606,6 @@ begin {
UpdateViaJsonString = 'Az.Sphere.private\Update-AzSphereProduct_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.Sphere.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -7352,6 +7619,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/Sphere/Sphere.Autorest/exports/Remove-AzSphereCatalog.ps1 b/generated/Sphere/Sphere.Autorest/exports/Remove-AzSphereCatalog.ps1
index 8e77e77503af..f612c5213db9 100644
--- a/generated/Sphere/Sphere.Autorest/exports/Remove-AzSphereCatalog.ps1
+++ b/generated/Sphere/Sphere.Autorest/exports/Remove-AzSphereCatalog.ps1
@@ -151,6 +151,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Sphere.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()
}
@@ -173,8 +181,6 @@ begin {
DeleteViaIdentity = 'Az.Sphere.private\Remove-AzSphereCatalog_DeleteViaIdentity';
}
if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -188,6 +194,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/Sphere/Sphere.Autorest/exports/Remove-AzSphereDeviceGroup.ps1 b/generated/Sphere/Sphere.Autorest/exports/Remove-AzSphereDeviceGroup.ps1
index caaa32e8548c..e2808aae2898 100644
--- a/generated/Sphere/Sphere.Autorest/exports/Remove-AzSphereDeviceGroup.ps1
+++ b/generated/Sphere/Sphere.Autorest/exports/Remove-AzSphereDeviceGroup.ps1
@@ -204,6 +204,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Sphere.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()
}
@@ -228,8 +236,6 @@ begin {
DeleteViaIdentityProduct = 'Az.Sphere.private\Remove-AzSphereDeviceGroup_DeleteViaIdentityProduct';
}
if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -243,6 +249,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/Sphere/Sphere.Autorest/exports/Remove-AzSphereProduct.ps1 b/generated/Sphere/Sphere.Autorest/exports/Remove-AzSphereProduct.ps1
index db3aeae881d0..e5f954678923 100644
--- a/generated/Sphere/Sphere.Autorest/exports/Remove-AzSphereProduct.ps1
+++ b/generated/Sphere/Sphere.Autorest/exports/Remove-AzSphereProduct.ps1
@@ -178,6 +178,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Sphere.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()
}
@@ -201,8 +209,6 @@ begin {
DeleteViaIdentityCatalog = 'Az.Sphere.private\Remove-AzSphereProduct_DeleteViaIdentityCatalog';
}
if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -216,6 +222,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/Sphere/Sphere.Autorest/exports/Update-AzSphereCatalog.ps1 b/generated/Sphere/Sphere.Autorest/exports/Update-AzSphereCatalog.ps1
index c04389885a0b..1e6907fcbec4 100644
--- a/generated/Sphere/Sphere.Autorest/exports/Update-AzSphereCatalog.ps1
+++ b/generated/Sphere/Sphere.Autorest/exports/Update-AzSphereCatalog.ps1
@@ -159,6 +159,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Sphere.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()
}
@@ -183,8 +191,6 @@ begin {
UpdateViaJsonString = 'Az.Sphere.private\Update-AzSphereCatalog_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.Sphere.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -198,6 +204,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/Sphere/Sphere.Autorest/exports/Update-AzSphereDevice.ps1 b/generated/Sphere/Sphere.Autorest/exports/Update-AzSphereDevice.ps1
index 24cd7b6aa8c6..779f08767866 100644
--- a/generated/Sphere/Sphere.Autorest/exports/Update-AzSphereDevice.ps1
+++ b/generated/Sphere/Sphere.Autorest/exports/Update-AzSphereDevice.ps1
@@ -262,6 +262,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Sphere.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()
}
@@ -289,8 +297,6 @@ begin {
UpdateViaJsonString = 'Az.Sphere.private\Update-AzSphereDevice_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.Sphere.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -304,6 +310,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/Sphere/Sphere.Autorest/exports/Update-AzSphereDeviceGroup.ps1 b/generated/Sphere/Sphere.Autorest/exports/Update-AzSphereDeviceGroup.ps1
index 87e8445b6132..fa7d83be563a 100644
--- a/generated/Sphere/Sphere.Autorest/exports/Update-AzSphereDeviceGroup.ps1
+++ b/generated/Sphere/Sphere.Autorest/exports/Update-AzSphereDeviceGroup.ps1
@@ -269,6 +269,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Sphere.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()
}
@@ -295,8 +303,6 @@ begin {
UpdateViaJsonString = 'Az.Sphere.private\Update-AzSphereDeviceGroup_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.Sphere.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -310,6 +316,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/Sphere/Sphere.Autorest/exports/Update-AzSphereProduct.ps1 b/generated/Sphere/Sphere.Autorest/exports/Update-AzSphereProduct.ps1
index 129fd73a58ee..acee019a693b 100644
--- a/generated/Sphere/Sphere.Autorest/exports/Update-AzSphereProduct.ps1
+++ b/generated/Sphere/Sphere.Autorest/exports/Update-AzSphereProduct.ps1
@@ -200,6 +200,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Sphere.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()
}
@@ -225,8 +233,6 @@ begin {
UpdateViaJsonString = 'Az.Sphere.private\Update-AzSphereProduct_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.Sphere.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -240,6 +246,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/Sphere/Sphere.Autorest/generated/api/Models/Catalog.cs b/generated/Sphere/Sphere.Autorest/generated/api/Models/Catalog.cs
index 1173a966e7c6..0758d3685ec4 100644
--- a/generated/Sphere/Sphere.Autorest/generated/api/Models/Catalog.cs
+++ b/generated/Sphere/Sphere.Autorest/generated/api/Models/Catalog.cs
@@ -26,28 +26,46 @@ public partial class Catalog :
/// The geo-location where the resource lives
[Microsoft.Azure.PowerShell.Cmdlets.Sphere.Origin(Microsoft.Azure.PowerShell.Cmdlets.Sphere.PropertyOrigin.Inherited)]
- public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ITrackedResourceInternal)__trackedResource).Location = value ; }
+ public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ITrackedResourceInternal)__trackedResource).Location = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICatalogProperties Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICatalogInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.CatalogProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICatalogInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICatalogPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICatalogPropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICatalogInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICatalogPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICatalogPropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for TenantId
- string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICatalogInternal.TenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICatalogPropertiesInternal)Property).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICatalogPropertiesInternal)Property).TenantId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICatalogInternal.TenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICatalogPropertiesInternal)Property).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICatalogPropertiesInternal)Property).TenantId = value ?? null; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__trackedResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__trackedResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__trackedResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__trackedResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__trackedResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__trackedResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__trackedResource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.Sphere.Origin(Microsoft.Azure.PowerShell.Cmdlets.Sphere.PropertyOrigin.Inherited)]
@@ -72,31 +90,31 @@ public partial class Catalog :
/// Azure Resource Manager metadata containing createdBy and modifiedBy information.
///
[Microsoft.Azure.PowerShell.Cmdlets.Sphere.Origin(Microsoft.Azure.PowerShell.Cmdlets.Sphere.PropertyOrigin.Inherited)]
- internal Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__trackedResource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.Sphere.Origin(Microsoft.Azure.PowerShell.Cmdlets.Sphere.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Sphere.Origin(Microsoft.Azure.PowerShell.Cmdlets.Sphere.PropertyOrigin.Inherited)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Sphere.Origin(Microsoft.Azure.PowerShell.Cmdlets.Sphere.PropertyOrigin.Inherited)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.Sphere.Origin(Microsoft.Azure.PowerShell.Cmdlets.Sphere.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Sphere.Origin(Microsoft.Azure.PowerShell.Cmdlets.Sphere.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Sphere.Origin(Microsoft.Azure.PowerShell.Cmdlets.Sphere.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; }
/// Resource tags.
[Microsoft.Azure.PowerShell.Cmdlets.Sphere.Origin(Microsoft.Azure.PowerShell.Cmdlets.Sphere.PropertyOrigin.Inherited)]
diff --git a/generated/Sphere/Sphere.Autorest/generated/api/Models/Certificate.cs b/generated/Sphere/Sphere.Autorest/generated/api/Models/Certificate.cs
index b981204af997..1c42658a2d31 100644
--- a/generated/Sphere/Sphere.Autorest/generated/api/Models/Certificate.cs
+++ b/generated/Sphere/Sphere.Autorest/generated/api/Models/Certificate.cs
@@ -29,40 +29,58 @@ public partial class Certificate :
public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).Id; }
/// Internal Acessors for ExpiryUtc
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICertificateInternal.ExpiryUtc { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICertificatePropertiesInternal)Property).ExpiryUtc; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICertificatePropertiesInternal)Property).ExpiryUtc = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICertificateInternal.ExpiryUtc { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICertificatePropertiesInternal)Property).ExpiryUtc; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICertificatePropertiesInternal)Property).ExpiryUtc = value ?? default(global::System.DateTime); }
/// Internal Acessors for NotBeforeUtc
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICertificateInternal.NotBeforeUtc { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICertificatePropertiesInternal)Property).NotBeforeUtc; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICertificatePropertiesInternal)Property).NotBeforeUtc = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICertificateInternal.NotBeforeUtc { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICertificatePropertiesInternal)Property).NotBeforeUtc; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICertificatePropertiesInternal)Property).NotBeforeUtc = value ?? default(global::System.DateTime); }
/// Internal Acessors for PropertiesCertificate
- string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICertificateInternal.PropertiesCertificate { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICertificatePropertiesInternal)Property).Certificate; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICertificatePropertiesInternal)Property).Certificate = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICertificateInternal.PropertiesCertificate { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICertificatePropertiesInternal)Property).Certificate; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICertificatePropertiesInternal)Property).Certificate = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICertificateProperties Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICertificateInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.CertificateProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICertificateInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICertificatePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICertificatePropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICertificateInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICertificatePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICertificatePropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for Status
- string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICertificateInternal.Status { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICertificatePropertiesInternal)Property).Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICertificatePropertiesInternal)Property).Status = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICertificateInternal.Status { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICertificatePropertiesInternal)Property).Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICertificatePropertiesInternal)Property).Status = value ?? null; }
/// Internal Acessors for Subject
- string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICertificateInternal.Subject { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICertificatePropertiesInternal)Property).Subject; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICertificatePropertiesInternal)Property).Subject = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICertificateInternal.Subject { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICertificatePropertiesInternal)Property).Subject; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICertificatePropertiesInternal)Property).Subject = value ?? null; }
/// Internal Acessors for Thumbprint
- string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICertificateInternal.Thumbprint { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICertificatePropertiesInternal)Property).Thumbprint; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICertificatePropertiesInternal)Property).Thumbprint = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICertificateInternal.Thumbprint { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICertificatePropertiesInternal)Property).Thumbprint; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICertificatePropertiesInternal)Property).Thumbprint = value ?? null; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.Sphere.Origin(Microsoft.Azure.PowerShell.Cmdlets.Sphere.PropertyOrigin.Inherited)]
@@ -103,31 +121,31 @@ public partial class Certificate :
/// Azure Resource Manager metadata containing createdBy and modifiedBy information.
///
[Microsoft.Azure.PowerShell.Cmdlets.Sphere.Origin(Microsoft.Azure.PowerShell.Cmdlets.Sphere.PropertyOrigin.Inherited)]
- internal Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.Sphere.Origin(Microsoft.Azure.PowerShell.Cmdlets.Sphere.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Sphere.Origin(Microsoft.Azure.PowerShell.Cmdlets.Sphere.PropertyOrigin.Inherited)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Sphere.Origin(Microsoft.Azure.PowerShell.Cmdlets.Sphere.PropertyOrigin.Inherited)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.Sphere.Origin(Microsoft.Azure.PowerShell.Cmdlets.Sphere.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Sphere.Origin(Microsoft.Azure.PowerShell.Cmdlets.Sphere.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Sphere.Origin(Microsoft.Azure.PowerShell.Cmdlets.Sphere.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; }
/// The certificate thumbprint.
[Microsoft.Azure.PowerShell.Cmdlets.Sphere.Origin(Microsoft.Azure.PowerShell.Cmdlets.Sphere.PropertyOrigin.Inlined)]
diff --git a/generated/Sphere/Sphere.Autorest/generated/api/Models/Deployment.cs b/generated/Sphere/Sphere.Autorest/generated/api/Models/Deployment.cs
index 4606a379e8ee..8931d2d908ff 100644
--- a/generated/Sphere/Sphere.Autorest/generated/api/Models/Deployment.cs
+++ b/generated/Sphere/Sphere.Autorest/generated/api/Models/Deployment.cs
@@ -37,25 +37,43 @@ public partial class Deployment :
public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).Id; }
/// Internal Acessors for DateUtc
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDeploymentInternal.DateUtc { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDeploymentPropertiesInternal)Property).DeploymentDateUtc; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDeploymentPropertiesInternal)Property).DeploymentDateUtc = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDeploymentInternal.DateUtc { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDeploymentPropertiesInternal)Property).DeploymentDateUtc; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDeploymentPropertiesInternal)Property).DeploymentDateUtc = value ?? default(global::System.DateTime); }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDeploymentProperties Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDeploymentInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.DeploymentProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDeploymentInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDeploymentPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDeploymentPropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDeploymentInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDeploymentPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDeploymentPropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.Sphere.Origin(Microsoft.Azure.PowerShell.Cmdlets.Sphere.PropertyOrigin.Inherited)]
@@ -80,31 +98,31 @@ public partial class Deployment :
/// Azure Resource Manager metadata containing createdBy and modifiedBy information.
///
[Microsoft.Azure.PowerShell.Cmdlets.Sphere.Origin(Microsoft.Azure.PowerShell.Cmdlets.Sphere.PropertyOrigin.Inherited)]
- internal Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.Sphere.Origin(Microsoft.Azure.PowerShell.Cmdlets.Sphere.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Sphere.Origin(Microsoft.Azure.PowerShell.Cmdlets.Sphere.PropertyOrigin.Inherited)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Sphere.Origin(Microsoft.Azure.PowerShell.Cmdlets.Sphere.PropertyOrigin.Inherited)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.Sphere.Origin(Microsoft.Azure.PowerShell.Cmdlets.Sphere.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Sphere.Origin(Microsoft.Azure.PowerShell.Cmdlets.Sphere.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Sphere.Origin(Microsoft.Azure.PowerShell.Cmdlets.Sphere.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; }
///
/// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
diff --git a/generated/Sphere/Sphere.Autorest/generated/api/Models/Device.cs b/generated/Sphere/Sphere.Autorest/generated/api/Models/Device.cs
index c5740328aeed..b00d25ba6943 100644
--- a/generated/Sphere/Sphere.Autorest/generated/api/Models/Device.cs
+++ b/generated/Sphere/Sphere.Autorest/generated/api/Models/Device.cs
@@ -49,37 +49,55 @@ public partial class Device :
public global::System.DateTime? LastUpdateRequestUtc { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDevicePropertiesInternal)Property).LastUpdateRequestUtc; }
/// Internal Acessors for ChipSku
- string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDeviceInternal.ChipSku { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDevicePropertiesInternal)Property).ChipSku; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDevicePropertiesInternal)Property).ChipSku = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDeviceInternal.ChipSku { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDevicePropertiesInternal)Property).ChipSku; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDevicePropertiesInternal)Property).ChipSku = value ?? null; }
/// Internal Acessors for LastAvailableOSVersion
- string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDeviceInternal.LastAvailableOSVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDevicePropertiesInternal)Property).LastAvailableOSVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDevicePropertiesInternal)Property).LastAvailableOSVersion = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDeviceInternal.LastAvailableOSVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDevicePropertiesInternal)Property).LastAvailableOSVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDevicePropertiesInternal)Property).LastAvailableOSVersion = value ?? null; }
/// Internal Acessors for LastInstalledOSVersion
- string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDeviceInternal.LastInstalledOSVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDevicePropertiesInternal)Property).LastInstalledOSVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDevicePropertiesInternal)Property).LastInstalledOSVersion = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDeviceInternal.LastInstalledOSVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDevicePropertiesInternal)Property).LastInstalledOSVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDevicePropertiesInternal)Property).LastInstalledOSVersion = value ?? null; }
/// Internal Acessors for LastOSUpdateUtc
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDeviceInternal.LastOSUpdateUtc { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDevicePropertiesInternal)Property).LastOSUpdateUtc; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDevicePropertiesInternal)Property).LastOSUpdateUtc = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDeviceInternal.LastOSUpdateUtc { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDevicePropertiesInternal)Property).LastOSUpdateUtc; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDevicePropertiesInternal)Property).LastOSUpdateUtc = value ?? default(global::System.DateTime); }
/// Internal Acessors for LastUpdateRequestUtc
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDeviceInternal.LastUpdateRequestUtc { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDevicePropertiesInternal)Property).LastUpdateRequestUtc; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDevicePropertiesInternal)Property).LastUpdateRequestUtc = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDeviceInternal.LastUpdateRequestUtc { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDevicePropertiesInternal)Property).LastUpdateRequestUtc; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDevicePropertiesInternal)Property).LastUpdateRequestUtc = value ?? default(global::System.DateTime); }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDeviceProperties Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDeviceInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.DeviceProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDeviceInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDevicePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDevicePropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDeviceInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDevicePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDevicePropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.Sphere.Origin(Microsoft.Azure.PowerShell.Cmdlets.Sphere.PropertyOrigin.Inherited)]
@@ -104,31 +122,31 @@ public partial class Device :
/// Azure Resource Manager metadata containing createdBy and modifiedBy information.
///
[Microsoft.Azure.PowerShell.Cmdlets.Sphere.Origin(Microsoft.Azure.PowerShell.Cmdlets.Sphere.PropertyOrigin.Inherited)]
- internal Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.Sphere.Origin(Microsoft.Azure.PowerShell.Cmdlets.Sphere.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Sphere.Origin(Microsoft.Azure.PowerShell.Cmdlets.Sphere.PropertyOrigin.Inherited)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Sphere.Origin(Microsoft.Azure.PowerShell.Cmdlets.Sphere.PropertyOrigin.Inherited)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.Sphere.Origin(Microsoft.Azure.PowerShell.Cmdlets.Sphere.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Sphere.Origin(Microsoft.Azure.PowerShell.Cmdlets.Sphere.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Sphere.Origin(Microsoft.Azure.PowerShell.Cmdlets.Sphere.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; }
///
/// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
diff --git a/generated/Sphere/Sphere.Autorest/generated/api/Models/DeviceGroup.cs b/generated/Sphere/Sphere.Autorest/generated/api/Models/DeviceGroup.cs
index 16c924ac87c5..179c8a73171c 100644
--- a/generated/Sphere/Sphere.Autorest/generated/api/Models/DeviceGroup.cs
+++ b/generated/Sphere/Sphere.Autorest/generated/api/Models/DeviceGroup.cs
@@ -37,25 +37,43 @@ public partial class DeviceGroup :
public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).Id; }
/// Internal Acessors for HasDeployment
- bool? Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDeviceGroupInternal.HasDeployment { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDeviceGroupPropertiesInternal)Property).HasDeployment; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDeviceGroupPropertiesInternal)Property).HasDeployment = value; }
+ bool? Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDeviceGroupInternal.HasDeployment { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDeviceGroupPropertiesInternal)Property).HasDeployment; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDeviceGroupPropertiesInternal)Property).HasDeployment = value ?? default(bool); }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDeviceGroupProperties Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDeviceGroupInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.DeviceGroupProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDeviceGroupInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDeviceGroupPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDeviceGroupPropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDeviceGroupInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDeviceGroupPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDeviceGroupPropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.Sphere.Origin(Microsoft.Azure.PowerShell.Cmdlets.Sphere.PropertyOrigin.Inherited)]
@@ -88,31 +106,31 @@ public partial class DeviceGroup :
/// Azure Resource Manager metadata containing createdBy and modifiedBy information.
///
[Microsoft.Azure.PowerShell.Cmdlets.Sphere.Origin(Microsoft.Azure.PowerShell.Cmdlets.Sphere.PropertyOrigin.Inherited)]
- internal Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.Sphere.Origin(Microsoft.Azure.PowerShell.Cmdlets.Sphere.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Sphere.Origin(Microsoft.Azure.PowerShell.Cmdlets.Sphere.PropertyOrigin.Inherited)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Sphere.Origin(Microsoft.Azure.PowerShell.Cmdlets.Sphere.PropertyOrigin.Inherited)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.Sphere.Origin(Microsoft.Azure.PowerShell.Cmdlets.Sphere.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Sphere.Origin(Microsoft.Azure.PowerShell.Cmdlets.Sphere.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Sphere.Origin(Microsoft.Azure.PowerShell.Cmdlets.Sphere.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; }
///
/// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
diff --git a/generated/Sphere/Sphere.Autorest/generated/api/Models/ErrorResponse.cs b/generated/Sphere/Sphere.Autorest/generated/api/Models/ErrorResponse.cs
index ed9fb2124bfe..d82af0be1225 100644
--- a/generated/Sphere/Sphere.Autorest/generated/api/Models/ErrorResponse.cs
+++ b/generated/Sphere/Sphere.Autorest/generated/api/Models/ErrorResponse.cs
@@ -40,22 +40,22 @@ public partial class ErrorResponse :
public string Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IErrorDetailInternal)Error).Message; }
/// Internal Acessors for AdditionalInfo
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IErrorResponseInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IErrorDetailInternal)Error).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IErrorDetailInternal)Error).AdditionalInfo = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IErrorResponseInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IErrorDetailInternal)Error).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IErrorDetailInternal)Error).AdditionalInfo = value ?? null /* arrayOf */; }
/// Internal Acessors for Code
- string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IErrorResponseInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IErrorDetailInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IErrorDetailInternal)Error).Code = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IErrorResponseInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IErrorDetailInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IErrorDetailInternal)Error).Code = value ?? null; }
/// Internal Acessors for Detail
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IErrorResponseInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IErrorDetailInternal)Error).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IErrorDetailInternal)Error).Detail = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IErrorResponseInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IErrorDetailInternal)Error).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IErrorDetailInternal)Error).Detail = value ?? null /* arrayOf */; }
/// Internal Acessors for Error
Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IErrorDetail Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IErrorResponseInternal.Error { get => (this._error = this._error ?? new Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ErrorDetail()); set { {_error = value;} } }
/// Internal Acessors for Message
- string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IErrorResponseInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IErrorDetailInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IErrorDetailInternal)Error).Message = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IErrorResponseInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IErrorDetailInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IErrorDetailInternal)Error).Message = value ?? null; }
/// Internal Acessors for Target
- string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IErrorResponseInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IErrorDetailInternal)Error).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IErrorDetailInternal)Error).Target = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IErrorResponseInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IErrorDetailInternal)Error).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IErrorDetailInternal)Error).Target = value ?? null; }
/// The error target.
[Microsoft.Azure.PowerShell.Cmdlets.Sphere.Origin(Microsoft.Azure.PowerShell.Cmdlets.Sphere.PropertyOrigin.Inlined)]
diff --git a/generated/Sphere/Sphere.Autorest/generated/api/Models/Image.cs b/generated/Sphere/Sphere.Autorest/generated/api/Models/Image.cs
index 02c6c20fb412..c9a2fb4cfa3f 100644
--- a/generated/Sphere/Sphere.Autorest/generated/api/Models/Image.cs
+++ b/generated/Sphere/Sphere.Autorest/generated/api/Models/Image.cs
@@ -45,37 +45,55 @@ public partial class Image :
public string ImageType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IImagePropertiesInternal)Property).ImageType; }
/// Internal Acessors for ComponentId
- string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IImageInternal.ComponentId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IImagePropertiesInternal)Property).ComponentId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IImagePropertiesInternal)Property).ComponentId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IImageInternal.ComponentId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IImagePropertiesInternal)Property).ComponentId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IImagePropertiesInternal)Property).ComponentId = value ?? null; }
/// Internal Acessors for Description
- string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IImageInternal.Description { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IImagePropertiesInternal)Property).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IImagePropertiesInternal)Property).Description = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IImageInternal.Description { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IImagePropertiesInternal)Property).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IImagePropertiesInternal)Property).Description = value ?? null; }
/// Internal Acessors for ImageName
- string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IImageInternal.ImageName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IImagePropertiesInternal)Property).ImageName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IImagePropertiesInternal)Property).ImageName = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IImageInternal.ImageName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IImagePropertiesInternal)Property).ImageName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IImagePropertiesInternal)Property).ImageName = value ?? null; }
/// Internal Acessors for ImageType
- string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IImageInternal.ImageType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IImagePropertiesInternal)Property).ImageType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IImagePropertiesInternal)Property).ImageType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IImageInternal.ImageType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IImagePropertiesInternal)Property).ImageType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IImagePropertiesInternal)Property).ImageType = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IImageProperties Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IImageInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ImageProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IImageInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IImagePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IImagePropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IImageInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IImagePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IImagePropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for Uri
- string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IImageInternal.Uri { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IImagePropertiesInternal)Property).Uri; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IImagePropertiesInternal)Property).Uri = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IImageInternal.Uri { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IImagePropertiesInternal)Property).Uri; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IImagePropertiesInternal)Property).Uri = value ?? null; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.Sphere.Origin(Microsoft.Azure.PowerShell.Cmdlets.Sphere.PropertyOrigin.Inherited)]
@@ -110,31 +128,31 @@ public partial class Image :
/// Azure Resource Manager metadata containing createdBy and modifiedBy information.
///
[Microsoft.Azure.PowerShell.Cmdlets.Sphere.Origin(Microsoft.Azure.PowerShell.Cmdlets.Sphere.PropertyOrigin.Inherited)]
- internal Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.Sphere.Origin(Microsoft.Azure.PowerShell.Cmdlets.Sphere.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Sphere.Origin(Microsoft.Azure.PowerShell.Cmdlets.Sphere.PropertyOrigin.Inherited)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Sphere.Origin(Microsoft.Azure.PowerShell.Cmdlets.Sphere.PropertyOrigin.Inherited)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.Sphere.Origin(Microsoft.Azure.PowerShell.Cmdlets.Sphere.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Sphere.Origin(Microsoft.Azure.PowerShell.Cmdlets.Sphere.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Sphere.Origin(Microsoft.Azure.PowerShell.Cmdlets.Sphere.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; }
///
/// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
diff --git a/generated/Sphere/Sphere.Autorest/generated/api/Models/Operation.cs b/generated/Sphere/Sphere.Autorest/generated/api/Models/Operation.cs
index 370e856ab278..55dc10e2eda6 100644
--- a/generated/Sphere/Sphere.Autorest/generated/api/Models/Operation.cs
+++ b/generated/Sphere/Sphere.Autorest/generated/api/Models/Operation.cs
@@ -73,16 +73,16 @@ public partial class Operation :
Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IOperationDisplay Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IOperationInternal.Display { get => (this._display = this._display ?? new Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.OperationDisplay()); set { {_display = value;} } }
/// Internal Acessors for DisplayDescription
- string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IOperationInternal.DisplayDescription { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IOperationDisplayInternal)Display).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IOperationDisplayInternal)Display).Description = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IOperationInternal.DisplayDescription { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IOperationDisplayInternal)Display).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IOperationDisplayInternal)Display).Description = value ?? null; }
/// Internal Acessors for DisplayOperation
- string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IOperationInternal.DisplayOperation { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IOperationDisplayInternal)Display).Operation; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IOperationDisplayInternal)Display).Operation = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IOperationInternal.DisplayOperation { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IOperationDisplayInternal)Display).Operation; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IOperationDisplayInternal)Display).Operation = value ?? null; }
/// Internal Acessors for DisplayProvider
- string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IOperationInternal.DisplayProvider { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IOperationDisplayInternal)Display).Provider; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IOperationDisplayInternal)Display).Provider = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IOperationInternal.DisplayProvider { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IOperationDisplayInternal)Display).Provider; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IOperationDisplayInternal)Display).Provider = value ?? null; }
/// Internal Acessors for DisplayResource
- string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IOperationInternal.DisplayResource { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IOperationDisplayInternal)Display).Resource; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IOperationDisplayInternal)Display).Resource = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IOperationInternal.DisplayResource { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IOperationDisplayInternal)Display).Resource; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IOperationDisplayInternal)Display).Resource = value ?? null; }
/// Internal Acessors for IsDataAction
bool? Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IOperationInternal.IsDataAction { get => this._isDataAction; set { {_isDataAction = value;} } }
diff --git a/generated/Sphere/Sphere.Autorest/generated/api/Models/Product.cs b/generated/Sphere/Sphere.Autorest/generated/api/Models/Product.cs
index b2951624a856..6d500da60ce1 100644
--- a/generated/Sphere/Sphere.Autorest/generated/api/Models/Product.cs
+++ b/generated/Sphere/Sphere.Autorest/generated/api/Models/Product.cs
@@ -32,19 +32,37 @@ public partial class Product :
Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IProductProperties Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IProductInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ProductProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IProductInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IProductPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IProductPropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IProductInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IProductPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IProductPropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.Sphere.Origin(Microsoft.Azure.PowerShell.Cmdlets.Sphere.PropertyOrigin.Inherited)]
@@ -69,31 +87,31 @@ public partial class Product :
/// Azure Resource Manager metadata containing createdBy and modifiedBy information.
///
[Microsoft.Azure.PowerShell.Cmdlets.Sphere.Origin(Microsoft.Azure.PowerShell.Cmdlets.Sphere.PropertyOrigin.Inherited)]
- internal Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.Sphere.Origin(Microsoft.Azure.PowerShell.Cmdlets.Sphere.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Sphere.Origin(Microsoft.Azure.PowerShell.Cmdlets.Sphere.PropertyOrigin.Inherited)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Sphere.Origin(Microsoft.Azure.PowerShell.Cmdlets.Sphere.PropertyOrigin.Inherited)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.Sphere.Origin(Microsoft.Azure.PowerShell.Cmdlets.Sphere.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Sphere.Origin(Microsoft.Azure.PowerShell.Cmdlets.Sphere.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Sphere.Origin(Microsoft.Azure.PowerShell.Cmdlets.Sphere.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; }
///
/// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
diff --git a/generated/Sphere/Sphere.Autorest/generated/api/Models/ProofOfPossessionNonceResponse.cs b/generated/Sphere/Sphere.Autorest/generated/api/Models/ProofOfPossessionNonceResponse.cs
index dbd85d39988d..e17240f29110 100644
--- a/generated/Sphere/Sphere.Autorest/generated/api/Models/ProofOfPossessionNonceResponse.cs
+++ b/generated/Sphere/Sphere.Autorest/generated/api/Models/ProofOfPossessionNonceResponse.cs
@@ -28,25 +28,25 @@ public partial class ProofOfPossessionNonceResponse :
public global::System.DateTime? ExpiryUtc { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICertificatePropertiesInternal)__certificateProperties).ExpiryUtc; }
/// Internal Acessors for Certificate
- string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICertificatePropertiesInternal.Certificate { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICertificatePropertiesInternal)__certificateProperties).Certificate; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICertificatePropertiesInternal)__certificateProperties).Certificate = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICertificatePropertiesInternal.Certificate { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICertificatePropertiesInternal)__certificateProperties).Certificate; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICertificatePropertiesInternal)__certificateProperties).Certificate = value ?? null; }
/// Internal Acessors for ExpiryUtc
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICertificatePropertiesInternal.ExpiryUtc { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICertificatePropertiesInternal)__certificateProperties).ExpiryUtc; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICertificatePropertiesInternal)__certificateProperties).ExpiryUtc = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICertificatePropertiesInternal.ExpiryUtc { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICertificatePropertiesInternal)__certificateProperties).ExpiryUtc; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICertificatePropertiesInternal)__certificateProperties).ExpiryUtc = value ?? default(global::System.DateTime); }
/// Internal Acessors for NotBeforeUtc
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICertificatePropertiesInternal.NotBeforeUtc { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICertificatePropertiesInternal)__certificateProperties).NotBeforeUtc; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICertificatePropertiesInternal)__certificateProperties).NotBeforeUtc = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICertificatePropertiesInternal.NotBeforeUtc { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICertificatePropertiesInternal)__certificateProperties).NotBeforeUtc; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICertificatePropertiesInternal)__certificateProperties).NotBeforeUtc = value ?? default(global::System.DateTime); }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICertificatePropertiesInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICertificatePropertiesInternal)__certificateProperties).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICertificatePropertiesInternal)__certificateProperties).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICertificatePropertiesInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICertificatePropertiesInternal)__certificateProperties).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICertificatePropertiesInternal)__certificateProperties).ProvisioningState = value ?? null; }
/// Internal Acessors for Status
- string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICertificatePropertiesInternal.Status { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICertificatePropertiesInternal)__certificateProperties).Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICertificatePropertiesInternal)__certificateProperties).Status = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICertificatePropertiesInternal.Status { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICertificatePropertiesInternal)__certificateProperties).Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICertificatePropertiesInternal)__certificateProperties).Status = value ?? null; }
/// Internal Acessors for Subject
- string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICertificatePropertiesInternal.Subject { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICertificatePropertiesInternal)__certificateProperties).Subject; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICertificatePropertiesInternal)__certificateProperties).Subject = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICertificatePropertiesInternal.Subject { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICertificatePropertiesInternal)__certificateProperties).Subject; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICertificatePropertiesInternal)__certificateProperties).Subject = value ?? null; }
/// Internal Acessors for Thumbprint
- string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICertificatePropertiesInternal.Thumbprint { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICertificatePropertiesInternal)__certificateProperties).Thumbprint; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICertificatePropertiesInternal)__certificateProperties).Thumbprint = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICertificatePropertiesInternal.Thumbprint { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICertificatePropertiesInternal)__certificateProperties).Thumbprint; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICertificatePropertiesInternal)__certificateProperties).Thumbprint = value ?? null; }
/// The certificate not before date.
[Microsoft.Azure.PowerShell.Cmdlets.Sphere.Origin(Microsoft.Azure.PowerShell.Cmdlets.Sphere.PropertyOrigin.Inherited)]
diff --git a/generated/Sphere/Sphere.Autorest/generated/api/Models/ProxyResource.cs b/generated/Sphere/Sphere.Autorest/generated/api/Models/ProxyResource.cs
index fcd6a27f3cd4..bb1900030483 100644
--- a/generated/Sphere/Sphere.Autorest/generated/api/Models/ProxyResource.cs
+++ b/generated/Sphere/Sphere.Autorest/generated/api/Models/ProxyResource.cs
@@ -27,16 +27,34 @@ public partial class ProxyResource :
public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__resource).Id; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__resource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__resource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__resource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__resource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__resource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__resource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__resource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__resource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__resource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__resource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__resource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__resource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__resource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__resource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__resource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__resource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__resource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.Sphere.Origin(Microsoft.Azure.PowerShell.Cmdlets.Sphere.PropertyOrigin.Inherited)]
@@ -46,31 +64,31 @@ public partial class ProxyResource :
/// Azure Resource Manager metadata containing createdBy and modifiedBy information.
///
[Microsoft.Azure.PowerShell.Cmdlets.Sphere.Origin(Microsoft.Azure.PowerShell.Cmdlets.Sphere.PropertyOrigin.Inherited)]
- internal Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__resource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__resource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.Sphere.Origin(Microsoft.Azure.PowerShell.Cmdlets.Sphere.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__resource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__resource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__resource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Sphere.Origin(Microsoft.Azure.PowerShell.Cmdlets.Sphere.PropertyOrigin.Inherited)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__resource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__resource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__resource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Sphere.Origin(Microsoft.Azure.PowerShell.Cmdlets.Sphere.PropertyOrigin.Inherited)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__resource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__resource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__resource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.Sphere.Origin(Microsoft.Azure.PowerShell.Cmdlets.Sphere.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__resource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Sphere.Origin(Microsoft.Azure.PowerShell.Cmdlets.Sphere.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__resource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Sphere.Origin(Microsoft.Azure.PowerShell.Cmdlets.Sphere.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__resource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; }
///
/// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
diff --git a/generated/Sphere/Sphere.Autorest/generated/api/Models/Resource.cs b/generated/Sphere/Sphere.Autorest/generated/api/Models/Resource.cs
index 3010da14030e..e79df210b9ff 100644
--- a/generated/Sphere/Sphere.Autorest/generated/api/Models/Resource.cs
+++ b/generated/Sphere/Sphere.Autorest/generated/api/Models/Resource.cs
@@ -33,6 +33,24 @@ public partial class Resource :
/// Internal Acessors for SystemData
Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.SystemData { get => (this._systemData = this._systemData ?? new Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.SystemData()); set { {_systemData = value;} } }
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ISystemDataInternal)SystemData).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ISystemDataInternal)SystemData).CreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ISystemDataInternal)SystemData).CreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ISystemDataInternal)SystemData).CreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ISystemDataInternal)SystemData).CreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ISystemDataInternal)SystemData).CreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ISystemDataInternal)SystemData).LastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ISystemDataInternal)SystemData).LastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ISystemDataInternal)SystemData).LastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ISystemDataInternal)SystemData).LastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ISystemDataInternal)SystemData).LastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ISystemDataInternal)SystemData).LastModifiedByType = value ?? null; }
+
/// Internal Acessors for Type
string Microsoft.Azure.PowerShell.Cmdlets.Sphere.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.Sphere.Origin(Microsoft.Azure.PowerShell.Cmdlets.Sphere.PropertyOrigin.Inlined)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ISystemDataInternal)SystemData).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ISystemDataInternal)SystemData).CreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ISystemDataInternal)SystemData).CreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Sphere.Origin(Microsoft.Azure.PowerShell.Cmdlets.Sphere.PropertyOrigin.Inlined)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ISystemDataInternal)SystemData).CreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ISystemDataInternal)SystemData).CreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ISystemDataInternal)SystemData).CreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Sphere.Origin(Microsoft.Azure.PowerShell.Cmdlets.Sphere.PropertyOrigin.Inlined)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ISystemDataInternal)SystemData).CreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ISystemDataInternal)SystemData).CreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ISystemDataInternal)SystemData).CreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.Sphere.Origin(Microsoft.Azure.PowerShell.Cmdlets.Sphere.PropertyOrigin.Inlined)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ISystemDataInternal)SystemData).LastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ISystemDataInternal)SystemData).LastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ISystemDataInternal)SystemData).LastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Sphere.Origin(Microsoft.Azure.PowerShell.Cmdlets.Sphere.PropertyOrigin.Inlined)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ISystemDataInternal)SystemData).LastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ISystemDataInternal)SystemData).LastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ISystemDataInternal)SystemData).LastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Sphere.Origin(Microsoft.Azure.PowerShell.Cmdlets.Sphere.PropertyOrigin.Inlined)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ISystemDataInternal)SystemData).LastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ISystemDataInternal)SystemData).LastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ISystemDataInternal)SystemData).LastModifiedByType; }
/// Backing field for property.
private string _type;
diff --git a/generated/Sphere/Sphere.Autorest/generated/api/Models/TrackedResource.cs b/generated/Sphere/Sphere.Autorest/generated/api/Models/TrackedResource.cs
index ae8b4088357d..1f1092535f76 100644
--- a/generated/Sphere/Sphere.Autorest/generated/api/Models/TrackedResource.cs
+++ b/generated/Sphere/Sphere.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.Sphere.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__resource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__resource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__resource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__resource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__resource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__resource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__resource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__resource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__resource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__resource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__resource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__resource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__resource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__resource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__resource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__resource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__resource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.Sphere.Origin(Microsoft.Azure.PowerShell.Cmdlets.Sphere.PropertyOrigin.Inherited)]
@@ -53,31 +71,31 @@ public partial class TrackedResource :
/// Azure Resource Manager metadata containing createdBy and modifiedBy information.
///
[Microsoft.Azure.PowerShell.Cmdlets.Sphere.Origin(Microsoft.Azure.PowerShell.Cmdlets.Sphere.PropertyOrigin.Inherited)]
- internal Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__resource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__resource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.Sphere.Origin(Microsoft.Azure.PowerShell.Cmdlets.Sphere.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__resource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__resource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__resource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Sphere.Origin(Microsoft.Azure.PowerShell.Cmdlets.Sphere.PropertyOrigin.Inherited)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__resource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__resource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__resource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Sphere.Origin(Microsoft.Azure.PowerShell.Cmdlets.Sphere.PropertyOrigin.Inherited)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__resource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__resource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__resource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.Sphere.Origin(Microsoft.Azure.PowerShell.Cmdlets.Sphere.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__resource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Sphere.Origin(Microsoft.Azure.PowerShell.Cmdlets.Sphere.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__resource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Sphere.Origin(Microsoft.Azure.PowerShell.Cmdlets.Sphere.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__resource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; }
/// Backing field for property.
private Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ITrackedResourceTags _tag;
@@ -117,7 +135,7 @@ public partial interface ITrackedResource :
{
/// The geo-location where the resource lives
[Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.Info(
- Required = true,
+ Required = false,
ReadOnly = false,
Read = true,
Create = true,
diff --git a/generated/Sphere/Sphere.Autorest/generated/api/Sphere.cs b/generated/Sphere/Sphere.Autorest/generated/api/Sphere.cs
index e35f71b899fa..02477e48f2e9 100644
--- a/generated/Sphere/Sphere.Autorest/generated/api/Sphere.cs
+++ b/generated/Sphere/Sphere.Autorest/generated/api/Sphere.cs
@@ -341,7 +341,7 @@ public partial class Sphere
}
}
- /// Update a Catalog
+ /// update a Catalog
/// The ID of the target subscription.
/// The name of the resource group. The name is case insensitive.
/// Name of catalog
@@ -390,7 +390,7 @@ public partial class Sphere
}
}
- /// Update a Catalog
+ /// update a Catalog
///
/// Resource create parameters.
/// a delegate that is called when the remote service returns 200 (OK).
@@ -449,7 +449,7 @@ public partial class Sphere
}
}
- /// Update a Catalog
+ /// update a Catalog
///
/// Resource create parameters.
/// an instance that will receive events.
@@ -506,7 +506,7 @@ public partial class Sphere
}
}
- /// Update a Catalog
+ /// update a Catalog
/// The ID of the target subscription.
/// The name of the resource group. The name is case insensitive.
/// Name of catalog
@@ -554,7 +554,7 @@ public partial class Sphere
}
}
- /// Update a Catalog
+ /// update a Catalog
/// The ID of the target subscription.
/// The name of the resource group. The name is case insensitive.
/// Name of catalog
@@ -600,7 +600,7 @@ public partial class Sphere
}
}
- /// Update a Catalog
+ /// update a Catalog
/// The ID of the target subscription.
/// The name of the resource group. The name is case insensitive.
/// Name of catalog
@@ -662,13 +662,13 @@ public partial class Sphere
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.Sphere.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Sphere.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");
@@ -816,13 +816,13 @@ public partial class Sphere
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.Sphere.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Sphere.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");
@@ -1085,13 +1085,13 @@ public partial class Sphere
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.Sphere.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Sphere.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");
@@ -3846,7 +3846,7 @@ public partial class Sphere
}
}
- /// Update a Catalog
+ /// update a Catalog
/// The ID of the target subscription.
/// The name of the resource group. The name is case insensitive.
/// Name of catalog
@@ -3895,7 +3895,7 @@ public partial class Sphere
}
}
- /// Update a Catalog
+ /// update a Catalog
///
/// The resource properties to be updated.
/// a delegate that is called when the remote service returns 200 (OK).
@@ -3954,7 +3954,7 @@ public partial class Sphere
}
}
- /// Update a Catalog
+ /// update a Catalog
///
/// The resource properties to be updated.
/// an instance that will receive events.
@@ -4011,7 +4011,7 @@ public partial class Sphere
}
}
- /// Update a Catalog
+ /// update a Catalog
/// The ID of the target subscription.
/// The name of the resource group. The name is case insensitive.
/// Name of catalog
@@ -4059,7 +4059,7 @@ public partial class Sphere
}
}
- /// Update a Catalog
+ /// update a Catalog
/// The ID of the target subscription.
/// The name of the resource group. The name is case insensitive.
/// Name of catalog
@@ -4105,7 +4105,7 @@ public partial class Sphere
}
}
- /// Update a Catalog
+ /// update a Catalog
/// The ID of the target subscription.
/// The name of the resource group. The name is case insensitive.
/// Name of catalog
@@ -4290,11 +4290,12 @@ public partial class Sphere
}
}
- /// Upload an image. Use this action when the image ID is unknown.
+ /// upload an image. Use this action when the image ID is unknown.
/// The ID of the target subscription.
/// The name of the resource group. The name is case insensitive.
/// Name of catalog
/// Image upload request body.
+ /// a delegate that is called when the remote service returns 200 (OK).
/// a delegate that is called when the remote service returns default (any response code not handled
/// elsewhere).
/// an instance that will receive events.
@@ -4303,7 +4304,7 @@ public partial class Sphere
///
/// A that will be complete when handling of the response is completed.
///
- public async global::System.Threading.Tasks.Task CatalogsUploadImage(string subscriptionId, string resourceGroupName, string catalogName, Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IImage body, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.SerializationMode.IncludeUpdate)
+ public async global::System.Threading.Tasks.Task CatalogsUploadImage(string subscriptionId, string resourceGroupName, string catalogName, Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IImage body, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.SerializationMode.IncludeUpdate)
{
var apiVersion = @"2024-04-01";
// Constant Parameters
@@ -4335,13 +4336,14 @@ public partial class Sphere
request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json");
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; }
// make the call
- await this.CatalogsUploadImage_Call (request, onDefault,eventListener,sender);
+ await this.CatalogsUploadImage_Call (request, onOk,onDefault,eventListener,sender);
}
}
- /// Upload an image. Use this action when the image ID is unknown.
+ /// upload an image. Use this action when the image ID is unknown.
///
/// Image upload request body.
+ /// a delegate that is called when the remote service returns 200 (OK).
/// a delegate that is called when the remote service returns default (any response code not handled
/// elsewhere).
/// an instance that will receive events.
@@ -4350,7 +4352,7 @@ public partial class Sphere
///
/// A that will be complete when handling of the response is completed.
///
- public async global::System.Threading.Tasks.Task CatalogsUploadImageViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IImage body, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.SerializationMode.IncludeUpdate)
+ public async global::System.Threading.Tasks.Task CatalogsUploadImageViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IImage body, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.SerializationMode.IncludeUpdate)
{
var apiVersion = @"2024-04-01";
// Constant Parameters
@@ -4394,15 +4396,16 @@ public partial class Sphere
request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json");
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; }
// make the call
- await this.CatalogsUploadImage_Call (request, onDefault,eventListener,sender);
+ await this.CatalogsUploadImage_Call (request, onOk,onDefault,eventListener,sender);
}
}
- /// Upload an image. Use this action when the image ID is unknown.
+ /// upload an image. Use this action when the image ID is unknown.
/// The ID of the target subscription.
/// The name of the resource group. The name is case insensitive.
/// Name of catalog
/// Json string supplied to the CatalogsUploadImage operation
+ /// a delegate that is called when the remote service returns 200 (OK).
/// a delegate that is called when the remote service returns default (any response code not handled
/// elsewhere).
/// an instance that will receive events.
@@ -4410,7 +4413,7 @@ public partial class Sphere
///
/// A that will be complete when handling of the response is completed.
///
- public async global::System.Threading.Tasks.Task CatalogsUploadImageViaJsonString(string subscriptionId, string resourceGroupName, string catalogName, global::System.String jsonString, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.ISendAsync sender)
+ public async global::System.Threading.Tasks.Task CatalogsUploadImageViaJsonString(string subscriptionId, string resourceGroupName, string catalogName, global::System.String jsonString, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.ISendAsync sender)
{
var apiVersion = @"2024-04-01";
// Constant Parameters
@@ -4442,12 +4445,13 @@ public partial class Sphere
request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json");
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; }
// make the call
- await this.CatalogsUploadImage_Call (request, onDefault,eventListener,sender);
+ await this.CatalogsUploadImage_Call (request, onOk,onDefault,eventListener,sender);
}
}
/// Actual wire call for method.
/// the prepared HttpRequestMessage to send.
+ /// a delegate that is called when the remote service returns 200 (OK).
/// a delegate that is called when the remote service returns default (any response code not handled
/// elsewhere).
/// an instance that will receive events.
@@ -4455,20 +4459,20 @@ public partial class Sphere
///
/// A that will be complete when handling of the response is completed.
///
- internal async global::System.Threading.Tasks.Task CatalogsUploadImage_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.ISendAsync sender)
+ internal async global::System.Threading.Tasks.Task CatalogsUploadImage_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.ISendAsync sender)
{
using( NoSynchronizationContext )
{
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.Sphere.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Sphere.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");
@@ -4564,6 +4568,12 @@ public partial class Sphere
switch ( _response.StatusCode )
{
+ case global::System.Net.HttpStatusCode.OK:
+ {
+ await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; }
+ await onOk(_response);
+ break;
+ }
default:
{
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; }
@@ -6147,7 +6157,7 @@ public partial class Sphere
}
///
- /// Update a Deployment. '.default' and '.unassigned' are system defined values and cannot be used for product or device group
+ /// update a Deployment. '.default' and '.unassigned' are system defined values and cannot be used for product or device group
/// name.
///
/// The ID of the target subscription.
@@ -6209,7 +6219,7 @@ public partial class Sphere
}
///
- /// Update a Deployment. '.default' and '.unassigned' are system defined values and cannot be used for product or device group
+ /// update a Deployment. '.default' and '.unassigned' are system defined values and cannot be used for product or device group
/// name.
///
///
@@ -6280,7 +6290,7 @@ public partial class Sphere
}
///
- /// Update a Deployment. '.default' and '.unassigned' are system defined values and cannot be used for product or device group
+ /// update a Deployment. '.default' and '.unassigned' are system defined values and cannot be used for product or device group
/// name.
///
///
@@ -6349,7 +6359,7 @@ public partial class Sphere
}
///
- /// Update a Deployment. '.default' and '.unassigned' are system defined values and cannot be used for product or device group
+ /// update a Deployment. '.default' and '.unassigned' are system defined values and cannot be used for product or device group
/// name.
///
/// The ID of the target subscription.
@@ -6410,7 +6420,7 @@ public partial class Sphere
}
///
- /// Update a Deployment. '.default' and '.unassigned' are system defined values and cannot be used for product or device group
+ /// update a Deployment. '.default' and '.unassigned' are system defined values and cannot be used for product or device group
/// name.
///
/// The ID of the target subscription.
@@ -6469,7 +6479,7 @@ public partial class Sphere
}
///
- /// Update a Deployment. '.default' and '.unassigned' are system defined values and cannot be used for product or device group
+ /// update a Deployment. '.default' and '.unassigned' are system defined values and cannot be used for product or device group
/// name.
///
/// The ID of the target subscription.
@@ -6545,13 +6555,13 @@ public partial class Sphere
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.Sphere.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Sphere.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");
@@ -6699,13 +6709,13 @@ public partial class Sphere
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.Sphere.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Sphere.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");
@@ -7002,13 +7012,13 @@ public partial class Sphere
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.Sphere.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Sphere.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");
@@ -7984,6 +7994,7 @@ public partial class Sphere
/// Name of product.
/// Name of device group.
/// Bulk claim devices request body.
+ /// a delegate that is called when the remote service returns 200 (OK).
/// a delegate that is called when the remote service returns default (any response code not handled
/// elsewhere).
/// an instance that will receive events.
@@ -7992,7 +8003,7 @@ public partial class Sphere
///
/// A that will be complete when handling of the response is completed.
///
- public async global::System.Threading.Tasks.Task DeviceGroupsClaimDevices(string subscriptionId, string resourceGroupName, string catalogName, string productName, string deviceGroupName, Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IClaimDevicesRequest body, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.SerializationMode.IncludeUpdate)
+ public async global::System.Threading.Tasks.Task DeviceGroupsClaimDevices(string subscriptionId, string resourceGroupName, string catalogName, string productName, string deviceGroupName, Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IClaimDevicesRequest body, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.SerializationMode.IncludeUpdate)
{
var apiVersion = @"2024-04-01";
// Constant Parameters
@@ -8028,7 +8039,7 @@ public partial class Sphere
request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json");
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; }
// make the call
- await this.DeviceGroupsClaimDevices_Call (request, onDefault,eventListener,sender);
+ await this.DeviceGroupsClaimDevices_Call (request, onOk,onDefault,eventListener,sender);
}
}
@@ -8038,6 +8049,7 @@ public partial class Sphere
///
///
/// Bulk claim devices request body.
+ /// a delegate that is called when the remote service returns 200 (OK).
/// a delegate that is called when the remote service returns default (any response code not handled
/// elsewhere).
/// an instance that will receive events.
@@ -8046,7 +8058,7 @@ public partial class Sphere
///
/// A that will be complete when handling of the response is completed.
///
- public async global::System.Threading.Tasks.Task DeviceGroupsClaimDevicesViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IClaimDevicesRequest body, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.SerializationMode.IncludeUpdate)
+ public async global::System.Threading.Tasks.Task DeviceGroupsClaimDevicesViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IClaimDevicesRequest body, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.SerializationMode.IncludeUpdate)
{
var apiVersion = @"2024-04-01";
// Constant Parameters
@@ -8096,7 +8108,7 @@ public partial class Sphere
request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json");
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; }
// make the call
- await this.DeviceGroupsClaimDevices_Call (request, onDefault,eventListener,sender);
+ await this.DeviceGroupsClaimDevices_Call (request, onOk,onDefault,eventListener,sender);
}
}
@@ -8110,6 +8122,7 @@ public partial class Sphere
/// Name of product.
/// Name of device group.
/// Json string supplied to the DeviceGroupsClaimDevices operation
+ /// a delegate that is called when the remote service returns 200 (OK).
/// a delegate that is called when the remote service returns default (any response code not handled
/// elsewhere).
/// an instance that will receive events.
@@ -8117,7 +8130,7 @@ public partial class Sphere
///
/// A that will be complete when handling of the response is completed.
///
- public async global::System.Threading.Tasks.Task DeviceGroupsClaimDevicesViaJsonString(string subscriptionId, string resourceGroupName, string catalogName, string productName, string deviceGroupName, global::System.String jsonString, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.ISendAsync sender)
+ public async global::System.Threading.Tasks.Task DeviceGroupsClaimDevicesViaJsonString(string subscriptionId, string resourceGroupName, string catalogName, string productName, string deviceGroupName, global::System.String jsonString, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.ISendAsync sender)
{
var apiVersion = @"2024-04-01";
// Constant Parameters
@@ -8153,12 +8166,13 @@ public partial class Sphere
request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json");
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; }
// make the call
- await this.DeviceGroupsClaimDevices_Call (request, onDefault,eventListener,sender);
+ await this.DeviceGroupsClaimDevices_Call (request, onOk,onDefault,eventListener,sender);
}
}
/// Actual wire call for method.
/// the prepared HttpRequestMessage to send.
+ /// a delegate that is called when the remote service returns 200 (OK).
/// a delegate that is called when the remote service returns default (any response code not handled
/// elsewhere).
/// an instance that will receive events.
@@ -8166,20 +8180,20 @@ public partial class Sphere
///
/// A that will be complete when handling of the response is completed.
///
- internal async global::System.Threading.Tasks.Task DeviceGroupsClaimDevices_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.ISendAsync sender)
+ internal async global::System.Threading.Tasks.Task DeviceGroupsClaimDevices_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.ISendAsync sender)
{
using( NoSynchronizationContext )
{
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.Sphere.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Sphere.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");
@@ -8275,6 +8289,12 @@ public partial class Sphere
switch ( _response.StatusCode )
{
+ case global::System.Net.HttpStatusCode.OK:
+ {
+ await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; }
+ await onOk(_response);
+ break;
+ }
default:
{
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; }
@@ -8697,7 +8717,7 @@ public partial class Sphere
}
///
- /// Update a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for product or device
+ /// update a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for product or device
/// group name.
///
/// The ID of the target subscription.
@@ -8755,7 +8775,7 @@ public partial class Sphere
}
///
- /// Update a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for product or device
+ /// update a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for product or device
/// group name.
///
///
@@ -8823,7 +8843,7 @@ public partial class Sphere
}
///
- /// Update a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for product or device
+ /// update a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for product or device
/// group name.
///
///
@@ -8889,7 +8909,7 @@ public partial class Sphere
}
///
- /// Update a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for product or device
+ /// update a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for product or device
/// group name.
///
/// The ID of the target subscription.
@@ -8946,7 +8966,7 @@ public partial class Sphere
}
///
- /// Update a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for product or device
+ /// update a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for product or device
/// group name.
///
/// The ID of the target subscription.
@@ -9001,7 +9021,7 @@ public partial class Sphere
}
///
- /// Update a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for product or device
+ /// update a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for product or device
/// group name.
///
/// The ID of the target subscription.
@@ -9073,13 +9093,13 @@ public partial class Sphere
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.Sphere.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Sphere.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");
@@ -9227,13 +9247,13 @@ public partial class Sphere
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.Sphere.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Sphere.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");
@@ -9520,13 +9540,13 @@ public partial class Sphere
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.Sphere.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Sphere.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");
@@ -10458,7 +10478,7 @@ public partial class Sphere
}
///
- /// Update a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for product or device
+ /// update a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for product or device
/// group name.
///
/// The ID of the target subscription.
@@ -10516,7 +10536,7 @@ public partial class Sphere
}
///
- /// Update a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for product or device
+ /// update a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for product or device
/// group name.
///
///
@@ -10584,7 +10604,7 @@ public partial class Sphere
}
///
- /// Update a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for product or device
+ /// update a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for product or device
/// group name.
///
///
@@ -10650,7 +10670,7 @@ public partial class Sphere
}
///
- /// Update a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for product or device
+ /// update a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for product or device
/// group name.
///
/// The ID of the target subscription.
@@ -10707,7 +10727,7 @@ public partial class Sphere
}
///
- /// Update a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for product or device
+ /// update a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for product or device
/// group name.
///
/// The ID of the target subscription.
@@ -10762,7 +10782,7 @@ public partial class Sphere
}
///
- /// Update a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for product or device
+ /// update a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for product or device
/// group name.
///
/// The ID of the target subscription.
@@ -10832,13 +10852,13 @@ public partial class Sphere
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.Sphere.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Sphere.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");
@@ -10987,13 +11007,13 @@ public partial class Sphere
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.Sphere.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Sphere.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");
@@ -11148,7 +11168,7 @@ public partial class Sphere
}
///
- /// Update a Device. Use '.unassigned' or '.default' for the device group and product names to claim a device to the catalog
+ /// update a Device. Use '.unassigned' or '.default' for the device group and product names to claim a device to the catalog
/// only.
///
/// The ID of the target subscription.
@@ -11209,7 +11229,7 @@ public partial class Sphere
}
///
- /// Update a Device. Use '.unassigned' or '.default' for the device group and product names to claim a device to the catalog
+ /// update a Device. Use '.unassigned' or '.default' for the device group and product names to claim a device to the catalog
/// only.
///
///
@@ -11280,7 +11300,7 @@ public partial class Sphere
}
///
- /// Update a Device. Use '.unassigned' or '.default' for the device group and product names to claim a device to the catalog
+ /// update a Device. Use '.unassigned' or '.default' for the device group and product names to claim a device to the catalog
/// only.
///
///
@@ -11349,7 +11369,7 @@ public partial class Sphere
}
///
- /// Update a Device. Use '.unassigned' or '.default' for the device group and product names to claim a device to the catalog
+ /// update a Device. Use '.unassigned' or '.default' for the device group and product names to claim a device to the catalog
/// only.
///
/// The ID of the target subscription.
@@ -11409,7 +11429,7 @@ public partial class Sphere
}
///
- /// Update a Device. Use '.unassigned' or '.default' for the device group and product names to claim a device to the catalog
+ /// update a Device. Use '.unassigned' or '.default' for the device group and product names to claim a device to the catalog
/// only.
///
/// The ID of the target subscription.
@@ -11467,7 +11487,7 @@ public partial class Sphere
}
///
- /// Update a Device. Use '.unassigned' or '.default' for the device group and product names to claim a device to the catalog
+ /// update a Device. Use '.unassigned' or '.default' for the device group and product names to claim a device to the catalog
/// only.
///
/// The ID of the target subscription.
@@ -11540,13 +11560,13 @@ public partial class Sphere
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.Sphere.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Sphere.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");
@@ -11694,13 +11714,13 @@ public partial class Sphere
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.Sphere.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Sphere.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");
@@ -11990,13 +12010,13 @@ public partial class Sphere
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.Sphere.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Sphere.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");
@@ -12557,13 +12577,13 @@ public partial class Sphere
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.Sphere.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Sphere.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");
@@ -12712,13 +12732,13 @@ public partial class Sphere
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.Sphere.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Sphere.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");
@@ -13625,7 +13645,7 @@ public partial class Sphere
}
///
- /// Update a Device. Use '.unassigned' or '.default' for the device group and product names to move a device to the catalog
+ /// update a Device. Use '.unassigned' or '.default' for the device group and product names to move a device to the catalog
/// level.
///
/// The ID of the target subscription.
@@ -13686,7 +13706,7 @@ public partial class Sphere
}
///
- /// Update a Device. Use '.unassigned' or '.default' for the device group and product names to move a device to the catalog
+ /// update a Device. Use '.unassigned' or '.default' for the device group and product names to move a device to the catalog
/// level.
///
///
@@ -13757,7 +13777,7 @@ public partial class Sphere
}
///
- /// Update a Device. Use '.unassigned' or '.default' for the device group and product names to move a device to the catalog
+ /// update a Device. Use '.unassigned' or '.default' for the device group and product names to move a device to the catalog
/// level.
///
///
@@ -13826,7 +13846,7 @@ public partial class Sphere
}
///
- /// Update a Device. Use '.unassigned' or '.default' for the device group and product names to move a device to the catalog
+ /// update a Device. Use '.unassigned' or '.default' for the device group and product names to move a device to the catalog
/// level.
///
/// The ID of the target subscription.
@@ -13886,7 +13906,7 @@ public partial class Sphere
}
///
- /// Update a Device. Use '.unassigned' or '.default' for the device group and product names to move a device to the catalog
+ /// update a Device. Use '.unassigned' or '.default' for the device group and product names to move a device to the catalog
/// level.
///
/// The ID of the target subscription.
@@ -13944,7 +13964,7 @@ public partial class Sphere
}
///
- /// Update a Device. Use '.unassigned' or '.default' for the device group and product names to move a device to the catalog
+ /// update a Device. Use '.unassigned' or '.default' for the device group and product names to move a device to the catalog
/// level.
///
/// The ID of the target subscription.
@@ -14017,13 +14037,13 @@ public partial class Sphere
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.Sphere.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Sphere.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");
@@ -14172,13 +14192,13 @@ public partial class Sphere
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.Sphere.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Sphere.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");
@@ -14335,7 +14355,7 @@ public partial class Sphere
}
}
- /// Update a Image
+ /// update a Image
/// The ID of the target subscription.
/// The name of the resource group. The name is case insensitive.
/// Name of catalog
@@ -14387,7 +14407,7 @@ public partial class Sphere
}
}
- /// Update a Image
+ /// update a Image
///
/// Resource create parameters.
/// a delegate that is called when the remote service returns 200 (OK).
@@ -14449,7 +14469,7 @@ public partial class Sphere
}
}
- /// Update a Image
+ /// update a Image
///
/// Resource create parameters.
/// an instance that will receive events.
@@ -14509,7 +14529,7 @@ public partial class Sphere
}
}
- /// Update a Image
+ /// update a Image
/// The ID of the target subscription.
/// The name of the resource group. The name is case insensitive.
/// Name of catalog
@@ -14560,7 +14580,7 @@ public partial class Sphere
}
}
- /// Update a Image
+ /// update a Image
/// The ID of the target subscription.
/// The name of the resource group. The name is case insensitive.
/// Name of catalog
@@ -14609,7 +14629,7 @@ public partial class Sphere
}
}
- /// Update a Image
+ /// update a Image
/// The ID of the target subscription.
/// The name of the resource group. The name is case insensitive.
/// Name of catalog
@@ -14674,13 +14694,13 @@ public partial class Sphere
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.Sphere.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Sphere.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");
@@ -14828,13 +14848,13 @@ public partial class Sphere
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.Sphere.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Sphere.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");
@@ -15105,13 +15125,13 @@ public partial class Sphere
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.Sphere.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Sphere.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");
@@ -16614,7 +16634,7 @@ public partial class Sphere
}
///
- /// Update a Product. '.default' and '.unassigned' are system defined values and cannot be used for product name.
+ /// update a Product. '.default' and '.unassigned' are system defined values and cannot be used for product name.
///
/// The ID of the target subscription.
/// The name of the resource group. The name is case insensitive.
@@ -16668,7 +16688,7 @@ public partial class Sphere
}
///
- /// Update a Product. '.default' and '.unassigned' are system defined values and cannot be used for product name.
+ /// update a Product. '.default' and '.unassigned' are system defined values and cannot be used for product name.
///
///
/// Resource create parameters.
@@ -16732,7 +16752,7 @@ public partial class Sphere
}
///
- /// Update a Product. '.default' and '.unassigned' are system defined values and cannot be used for product name.
+ /// update a Product. '.default' and '.unassigned' are system defined values and cannot be used for product name.
///
///
/// Resource create parameters.
@@ -16794,7 +16814,7 @@ public partial class Sphere
}
///
- /// Update a Product. '.default' and '.unassigned' are system defined values and cannot be used for product name.
+ /// update a Product. '.default' and '.unassigned' are system defined values and cannot be used for product name.
///
/// The ID of the target subscription.
/// The name of the resource group. The name is case insensitive.
@@ -16847,7 +16867,7 @@ public partial class Sphere
}
///
- /// Update a Product. '.default' and '.unassigned' are system defined values and cannot be used for product name.
+ /// update a Product. '.default' and '.unassigned' are system defined values and cannot be used for product name.
///
/// The ID of the target subscription.
/// The name of the resource group. The name is case insensitive.
@@ -16898,7 +16918,7 @@ public partial class Sphere
}
///
- /// Update a Product. '.default' and '.unassigned' are system defined values and cannot be used for product name.
+ /// update a Product. '.default' and '.unassigned' are system defined values and cannot be used for product name.
///
/// The ID of the target subscription.
/// The name of the resource group. The name is case insensitive.
@@ -16964,13 +16984,13 @@ public partial class Sphere
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.Sphere.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Sphere.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");
@@ -17118,13 +17138,13 @@ public partial class Sphere
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.Sphere.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Sphere.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");
@@ -17400,13 +17420,13 @@ public partial class Sphere
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.Sphere.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Sphere.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");
@@ -18592,7 +18612,7 @@ public partial class Sphere
}
///
- /// Update a Product. '.default' and '.unassigned' are system defined values and cannot be used for product name.
+ /// update a Product. '.default' and '.unassigned' are system defined values and cannot be used for product name.
///
/// The ID of the target subscription.
/// The name of the resource group. The name is case insensitive.
@@ -18646,7 +18666,7 @@ public partial class Sphere
}
///
- /// Update a Product. '.default' and '.unassigned' are system defined values and cannot be used for product name.
+ /// update a Product. '.default' and '.unassigned' are system defined values and cannot be used for product name.
///
///
/// The resource properties to be updated.
@@ -18710,7 +18730,7 @@ public partial class Sphere
}
///
- /// Update a Product. '.default' and '.unassigned' are system defined values and cannot be used for product name.
+ /// update a Product. '.default' and '.unassigned' are system defined values and cannot be used for product name.
///
///
/// The resource properties to be updated.
@@ -18772,7 +18792,7 @@ public partial class Sphere
}
///
- /// Update a Product. '.default' and '.unassigned' are system defined values and cannot be used for product name.
+ /// update a Product. '.default' and '.unassigned' are system defined values and cannot be used for product name.
///
/// The ID of the target subscription.
/// The name of the resource group. The name is case insensitive.
@@ -18825,7 +18845,7 @@ public partial class Sphere
}
///
- /// Update a Product. '.default' and '.unassigned' are system defined values and cannot be used for product name.
+ /// update a Product. '.default' and '.unassigned' are system defined values and cannot be used for product name.
///
/// The ID of the target subscription.
/// The name of the resource group. The name is case insensitive.
@@ -18876,7 +18896,7 @@ public partial class Sphere
}
///
- /// Update a Product. '.default' and '.unassigned' are system defined values and cannot be used for product name.
+ /// update a Product. '.default' and '.unassigned' are system defined values and cannot be used for product name.
///
/// The ID of the target subscription.
/// The name of the resource group. The name is case insensitive.
@@ -18942,13 +18962,13 @@ public partial class Sphere
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.Sphere.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Sphere.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");
@@ -19097,13 +19117,13 @@ public partial class Sphere
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.Sphere.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Sphere.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");
diff --git a/generated/Sphere/Sphere.Autorest/generated/cmdlets/NewAzSphereCatalog_CreateExpanded.cs b/generated/Sphere/Sphere.Autorest/generated/cmdlets/NewAzSphereCatalog_CreateExpanded.cs
index 803c20cb7afc..551ece9fd0c8 100644
--- a/generated/Sphere/Sphere.Autorest/generated/cmdlets/NewAzSphereCatalog_CreateExpanded.cs
+++ b/generated/Sphere/Sphere.Autorest/generated/cmdlets/NewAzSphereCatalog_CreateExpanded.cs
@@ -10,13 +10,13 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets
using Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.Cmdlets;
using System;
- /// Create a Catalog
+ /// create a Catalog
///
/// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzSphereCatalog_CreateExpanded", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICatalog))]
- [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"Create a Catalog")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"create a Catalog")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Generated]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}", ApiVersion = "2024-04-01")]
public partial class NewAzSphereCatalog_CreateExpanded : global::System.Management.Automation.PSCmdlet,
@@ -40,18 +40,9 @@ public partial class NewAzSphereCatalog_CreateExpanded : global::System.Manageme
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
/// An Azure Sphere catalog
private Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICatalog _resourceBody = new Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.Catalog();
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.ParameterCategory.Runtime)]
@@ -273,11 +264,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets.NewAzSphereCatalog_Crea
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.Sphere.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -593,24 +579,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICatalog
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/Sphere/Sphere.Autorest/generated/cmdlets/NewAzSphereCatalog_CreateViaJsonFilePath.cs b/generated/Sphere/Sphere.Autorest/generated/cmdlets/NewAzSphereCatalog_CreateViaJsonFilePath.cs
index b386f9c92586..5863ca465389 100644
--- a/generated/Sphere/Sphere.Autorest/generated/cmdlets/NewAzSphereCatalog_CreateViaJsonFilePath.cs
+++ b/generated/Sphere/Sphere.Autorest/generated/cmdlets/NewAzSphereCatalog_CreateViaJsonFilePath.cs
@@ -10,13 +10,13 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets
using Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.Cmdlets;
using System;
- /// Create a Catalog
+ /// create a Catalog
///
/// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzSphereCatalog_CreateViaJsonFilePath", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICatalog))]
- [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"Create a Catalog")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"create a Catalog")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Generated]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}", ApiVersion = "2024-04-01")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.NotSuggestDefaultParameterSet]
@@ -41,17 +41,8 @@ public partial class NewAzSphereCatalog_CreateViaJsonFilePath : global::System.M
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
public global::System.String _jsonString;
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.ParameterCategory.Runtime)]
@@ -263,11 +254,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets.NewAzSphereCatalog_Crea
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.Sphere.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -583,24 +569,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICatalog
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/Sphere/Sphere.Autorest/generated/cmdlets/NewAzSphereCatalog_CreateViaJsonString.cs b/generated/Sphere/Sphere.Autorest/generated/cmdlets/NewAzSphereCatalog_CreateViaJsonString.cs
index da62e0ae00ec..1d179eab706b 100644
--- a/generated/Sphere/Sphere.Autorest/generated/cmdlets/NewAzSphereCatalog_CreateViaJsonString.cs
+++ b/generated/Sphere/Sphere.Autorest/generated/cmdlets/NewAzSphereCatalog_CreateViaJsonString.cs
@@ -10,13 +10,13 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets
using Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.Cmdlets;
using System;
- /// Create a Catalog
+ /// create a Catalog
///
/// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzSphereCatalog_CreateViaJsonString", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICatalog))]
- [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"Create a Catalog")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"create a Catalog")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Generated]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}", ApiVersion = "2024-04-01")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.NotSuggestDefaultParameterSet]
@@ -41,15 +41,6 @@ public partial class NewAzSphereCatalog_CreateViaJsonString : global::System.Man
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.ParameterCategory.Runtime)]
@@ -261,11 +252,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets.NewAzSphereCatalog_Crea
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.Sphere.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -581,24 +567,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICatalog
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/Sphere/Sphere.Autorest/generated/cmdlets/NewAzSphereDeployment_CreateExpanded.cs b/generated/Sphere/Sphere.Autorest/generated/cmdlets/NewAzSphereDeployment_CreateExpanded.cs
index fc568998f1a4..533fc488df75 100644
--- a/generated/Sphere/Sphere.Autorest/generated/cmdlets/NewAzSphereDeployment_CreateExpanded.cs
+++ b/generated/Sphere/Sphere.Autorest/generated/cmdlets/NewAzSphereDeployment_CreateExpanded.cs
@@ -11,7 +11,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets
using System;
///
- /// Create a Deployment. '.default' and '.unassigned' are system defined values and cannot be used for product or device group
+ /// create a Deployment. '.default' and '.unassigned' are system defined values and cannot be used for product or device group
/// name.
///
///
@@ -19,7 +19,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzSphereDeployment_CreateExpanded", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDeployment))]
- [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"Create a Deployment. '.default' and '.unassigned' are system defined values and cannot be used for product or device group name.")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"create a Deployment. '.default' and '.unassigned' are system defined values and cannot be used for product or device group name.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Generated]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/products/{productName}/deviceGroups/{deviceGroupName}/deployments/{deploymentName}", ApiVersion = "2024-04-01")]
public partial class NewAzSphereDeployment_CreateExpanded : global::System.Management.Automation.PSCmdlet,
@@ -43,18 +43,9 @@ public partial class NewAzSphereDeployment_CreateExpanded : global::System.Manag
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
/// An deployment resource belonging to a device group resource.
private Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDeployment _resourceBody = new Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.Deployment();
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.ParameterCategory.Runtime)]
@@ -323,11 +314,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets.NewAzSphereDeployment_C
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.Sphere.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -643,24 +629,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDeployment
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/Sphere/Sphere.Autorest/generated/cmdlets/NewAzSphereDeployment_CreateViaJsonFilePath.cs b/generated/Sphere/Sphere.Autorest/generated/cmdlets/NewAzSphereDeployment_CreateViaJsonFilePath.cs
index b9c85edfa54b..2df9ffa31b00 100644
--- a/generated/Sphere/Sphere.Autorest/generated/cmdlets/NewAzSphereDeployment_CreateViaJsonFilePath.cs
+++ b/generated/Sphere/Sphere.Autorest/generated/cmdlets/NewAzSphereDeployment_CreateViaJsonFilePath.cs
@@ -11,7 +11,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets
using System;
///
- /// Create a Deployment. '.default' and '.unassigned' are system defined values and cannot be used for product or device group
+ /// create a Deployment. '.default' and '.unassigned' are system defined values and cannot be used for product or device group
/// name.
///
///
@@ -19,7 +19,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzSphereDeployment_CreateViaJsonFilePath", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDeployment))]
- [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"Create a Deployment. '.default' and '.unassigned' are system defined values and cannot be used for product or device group name.")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"create a Deployment. '.default' and '.unassigned' are system defined values and cannot be used for product or device group name.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Generated]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/products/{productName}/deviceGroups/{deviceGroupName}/deployments/{deploymentName}", ApiVersion = "2024-04-01")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.NotSuggestDefaultParameterSet]
@@ -44,17 +44,8 @@ public partial class NewAzSphereDeployment_CreateViaJsonFilePath : global::Syste
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
public global::System.String _jsonString;
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.ParameterCategory.Runtime)]
@@ -313,11 +304,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets.NewAzSphereDeployment_C
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.Sphere.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -633,24 +619,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDeployment
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/Sphere/Sphere.Autorest/generated/cmdlets/NewAzSphereDeployment_CreateViaJsonString.cs b/generated/Sphere/Sphere.Autorest/generated/cmdlets/NewAzSphereDeployment_CreateViaJsonString.cs
index 73f9eac9ecba..5ae476f9302f 100644
--- a/generated/Sphere/Sphere.Autorest/generated/cmdlets/NewAzSphereDeployment_CreateViaJsonString.cs
+++ b/generated/Sphere/Sphere.Autorest/generated/cmdlets/NewAzSphereDeployment_CreateViaJsonString.cs
@@ -11,7 +11,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets
using System;
///
- /// Create a Deployment. '.default' and '.unassigned' are system defined values and cannot be used for product or device group
+ /// create a Deployment. '.default' and '.unassigned' are system defined values and cannot be used for product or device group
/// name.
///
///
@@ -19,7 +19,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzSphereDeployment_CreateViaJsonString", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDeployment))]
- [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"Create a Deployment. '.default' and '.unassigned' are system defined values and cannot be used for product or device group name.")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"create a Deployment. '.default' and '.unassigned' are system defined values and cannot be used for product or device group name.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Generated]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/products/{productName}/deviceGroups/{deviceGroupName}/deployments/{deploymentName}", ApiVersion = "2024-04-01")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.NotSuggestDefaultParameterSet]
@@ -44,15 +44,6 @@ public partial class NewAzSphereDeployment_CreateViaJsonString : global::System.
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.ParameterCategory.Runtime)]
@@ -311,11 +302,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets.NewAzSphereDeployment_C
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.Sphere.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -631,24 +617,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDeployment
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/Sphere/Sphere.Autorest/generated/cmdlets/NewAzSphereDeviceCapabilityImage_GenerateExpanded.cs b/generated/Sphere/Sphere.Autorest/generated/cmdlets/NewAzSphereDeviceCapabilityImage_GenerateExpanded.cs
index 9bd78500013e..12160daac54f 100644
--- a/generated/Sphere/Sphere.Autorest/generated/cmdlets/NewAzSphereDeviceCapabilityImage_GenerateExpanded.cs
+++ b/generated/Sphere/Sphere.Autorest/generated/cmdlets/NewAzSphereDeviceCapabilityImage_GenerateExpanded.cs
@@ -43,18 +43,9 @@ public partial class NewAzSphereDeviceCapabilityImage_GenerateExpanded : global:
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
/// Request of the action to create a signed device capability image
private Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IGenerateCapabilityImageRequest _generateDeviceCapabilityRequestBody = new Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.GenerateCapabilityImageRequest();
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.ParameterCategory.Runtime)]
@@ -310,11 +301,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets.NewAzSphereDeviceCapabi
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.Sphere.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -630,24 +616,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ISignedCapabilityImageResponse
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/Sphere/Sphere.Autorest/generated/cmdlets/NewAzSphereDeviceCapabilityImage_GenerateViaIdentityCatalogExpanded.cs b/generated/Sphere/Sphere.Autorest/generated/cmdlets/NewAzSphereDeviceCapabilityImage_GenerateViaIdentityCatalogExpanded.cs
index 0d0d52a49b8d..b910c07451f4 100644
--- a/generated/Sphere/Sphere.Autorest/generated/cmdlets/NewAzSphereDeviceCapabilityImage_GenerateViaIdentityCatalogExpanded.cs
+++ b/generated/Sphere/Sphere.Autorest/generated/cmdlets/NewAzSphereDeviceCapabilityImage_GenerateViaIdentityCatalogExpanded.cs
@@ -43,18 +43,9 @@ public partial class NewAzSphereDeviceCapabilityImage_GenerateViaIdentityCatalog
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
/// Request of the action to create a signed device capability image
private Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IGenerateCapabilityImageRequest _generateDeviceCapabilityRequestBody = new Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.GenerateCapabilityImageRequest();
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.ParameterCategory.Runtime)]
@@ -270,11 +261,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets.NewAzSphereDeviceCapabi
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.Sphere.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -612,24 +598,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ISignedCapabilityImageResponse
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/Sphere/Sphere.Autorest/generated/cmdlets/NewAzSphereDeviceCapabilityImage_GenerateViaIdentityDeviceGroupExpanded.cs b/generated/Sphere/Sphere.Autorest/generated/cmdlets/NewAzSphereDeviceCapabilityImage_GenerateViaIdentityDeviceGroupExpanded.cs
index 44720ec3aeb8..467f623b4733 100644
--- a/generated/Sphere/Sphere.Autorest/generated/cmdlets/NewAzSphereDeviceCapabilityImage_GenerateViaIdentityDeviceGroupExpanded.cs
+++ b/generated/Sphere/Sphere.Autorest/generated/cmdlets/NewAzSphereDeviceCapabilityImage_GenerateViaIdentityDeviceGroupExpanded.cs
@@ -43,18 +43,9 @@ public partial class NewAzSphereDeviceCapabilityImage_GenerateViaIdentityDeviceG
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
/// Request of the action to create a signed device capability image
private Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IGenerateCapabilityImageRequest _generateDeviceCapabilityRequestBody = new Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.GenerateCapabilityImageRequest();
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.ParameterCategory.Runtime)]
@@ -240,11 +231,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets.NewAzSphereDeviceCapabi
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.Sphere.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -590,24 +576,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ISignedCapabilityImageResponse
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/Sphere/Sphere.Autorest/generated/cmdlets/NewAzSphereDeviceCapabilityImage_GenerateViaIdentityProductExpanded.cs b/generated/Sphere/Sphere.Autorest/generated/cmdlets/NewAzSphereDeviceCapabilityImage_GenerateViaIdentityProductExpanded.cs
index 807dc8a06a78..69b43728e8dd 100644
--- a/generated/Sphere/Sphere.Autorest/generated/cmdlets/NewAzSphereDeviceCapabilityImage_GenerateViaIdentityProductExpanded.cs
+++ b/generated/Sphere/Sphere.Autorest/generated/cmdlets/NewAzSphereDeviceCapabilityImage_GenerateViaIdentityProductExpanded.cs
@@ -43,18 +43,9 @@ public partial class NewAzSphereDeviceCapabilityImage_GenerateViaIdentityProduct
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
/// Request of the action to create a signed device capability image
private Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IGenerateCapabilityImageRequest _generateDeviceCapabilityRequestBody = new Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.GenerateCapabilityImageRequest();
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.ParameterCategory.Runtime)]
@@ -255,11 +246,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets.NewAzSphereDeviceCapabi
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.Sphere.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -601,24 +587,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ISignedCapabilityImageResponse
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/Sphere/Sphere.Autorest/generated/cmdlets/NewAzSphereDeviceCapabilityImage_GenerateViaJsonFilePath.cs b/generated/Sphere/Sphere.Autorest/generated/cmdlets/NewAzSphereDeviceCapabilityImage_GenerateViaJsonFilePath.cs
index 781faf2072b9..7f58425b4b9b 100644
--- a/generated/Sphere/Sphere.Autorest/generated/cmdlets/NewAzSphereDeviceCapabilityImage_GenerateViaJsonFilePath.cs
+++ b/generated/Sphere/Sphere.Autorest/generated/cmdlets/NewAzSphereDeviceCapabilityImage_GenerateViaJsonFilePath.cs
@@ -44,17 +44,8 @@ public partial class NewAzSphereDeviceCapabilityImage_GenerateViaJsonFilePath :
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
public global::System.String _jsonString;
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.ParameterCategory.Runtime)]
@@ -312,11 +303,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets.NewAzSphereDeviceCapabi
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.Sphere.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -632,24 +618,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ISignedCapabilityImageResponse
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/Sphere/Sphere.Autorest/generated/cmdlets/NewAzSphereDeviceCapabilityImage_GenerateViaJsonString.cs b/generated/Sphere/Sphere.Autorest/generated/cmdlets/NewAzSphereDeviceCapabilityImage_GenerateViaJsonString.cs
index 05074bf51e56..8383eb838fb4 100644
--- a/generated/Sphere/Sphere.Autorest/generated/cmdlets/NewAzSphereDeviceCapabilityImage_GenerateViaJsonString.cs
+++ b/generated/Sphere/Sphere.Autorest/generated/cmdlets/NewAzSphereDeviceCapabilityImage_GenerateViaJsonString.cs
@@ -44,15 +44,6 @@ public partial class NewAzSphereDeviceCapabilityImage_GenerateViaJsonString : gl
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.ParameterCategory.Runtime)]
@@ -308,11 +299,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets.NewAzSphereDeviceCapabi
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.Sphere.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -628,24 +614,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ISignedCapabilityImageResponse
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/Sphere/Sphere.Autorest/generated/cmdlets/NewAzSphereDeviceGroup_CreateExpanded.cs b/generated/Sphere/Sphere.Autorest/generated/cmdlets/NewAzSphereDeviceGroup_CreateExpanded.cs
index f24833ac6540..4e93fd4930ab 100644
--- a/generated/Sphere/Sphere.Autorest/generated/cmdlets/NewAzSphereDeviceGroup_CreateExpanded.cs
+++ b/generated/Sphere/Sphere.Autorest/generated/cmdlets/NewAzSphereDeviceGroup_CreateExpanded.cs
@@ -11,7 +11,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets
using System;
///
- /// Create a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for product or device
+ /// create a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for product or device
/// group name.
///
///
@@ -19,7 +19,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzSphereDeviceGroup_CreateExpanded", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDeviceGroup))]
- [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"Create a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for product or device group name.")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"create a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for product or device group name.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Generated]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/products/{productName}/deviceGroups/{deviceGroupName}", ApiVersion = "2024-04-01")]
public partial class NewAzSphereDeviceGroup_CreateExpanded : global::System.Management.Automation.PSCmdlet,
@@ -43,18 +43,9 @@ public partial class NewAzSphereDeviceGroup_CreateExpanded : global::System.Mana
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
/// An device group resource belonging to a product resource.
private Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDeviceGroup _resourceBody = new Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.DeviceGroup();
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// Flag to define if the user allows for crash dump collection.
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Flag to define if the user allows for crash dump collection.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.ParameterCategory.Body)]
@@ -342,11 +333,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets.NewAzSphereDeviceGroup_
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.Sphere.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -662,24 +648,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDeviceGroup
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/Sphere/Sphere.Autorest/generated/cmdlets/NewAzSphereDeviceGroup_CreateViaJsonFilePath.cs b/generated/Sphere/Sphere.Autorest/generated/cmdlets/NewAzSphereDeviceGroup_CreateViaJsonFilePath.cs
index ce125c4abb8e..b8d728f82ea1 100644
--- a/generated/Sphere/Sphere.Autorest/generated/cmdlets/NewAzSphereDeviceGroup_CreateViaJsonFilePath.cs
+++ b/generated/Sphere/Sphere.Autorest/generated/cmdlets/NewAzSphereDeviceGroup_CreateViaJsonFilePath.cs
@@ -11,7 +11,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets
using System;
///
- /// Create a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for product or device
+ /// create a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for product or device
/// group name.
///
///
@@ -19,7 +19,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzSphereDeviceGroup_CreateViaJsonFilePath", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDeviceGroup))]
- [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"Create a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for product or device group name.")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"create a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for product or device group name.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Generated]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/products/{productName}/deviceGroups/{deviceGroupName}", ApiVersion = "2024-04-01")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.NotSuggestDefaultParameterSet]
@@ -44,17 +44,8 @@ public partial class NewAzSphereDeviceGroup_CreateViaJsonFilePath : global::Syst
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
public global::System.String _jsonString;
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.ParameterCategory.Runtime)]
@@ -296,11 +287,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets.NewAzSphereDeviceGroup_
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.Sphere.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -616,24 +602,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDeviceGroup
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/Sphere/Sphere.Autorest/generated/cmdlets/NewAzSphereDeviceGroup_CreateViaJsonString.cs b/generated/Sphere/Sphere.Autorest/generated/cmdlets/NewAzSphereDeviceGroup_CreateViaJsonString.cs
index 33226c197ba8..76ef7b77caad 100644
--- a/generated/Sphere/Sphere.Autorest/generated/cmdlets/NewAzSphereDeviceGroup_CreateViaJsonString.cs
+++ b/generated/Sphere/Sphere.Autorest/generated/cmdlets/NewAzSphereDeviceGroup_CreateViaJsonString.cs
@@ -11,7 +11,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets
using System;
///
- /// Create a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for product or device
+ /// create a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for product or device
/// group name.
///
///
@@ -19,7 +19,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzSphereDeviceGroup_CreateViaJsonString", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDeviceGroup))]
- [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"Create a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for product or device group name.")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"create a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for product or device group name.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Generated]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/products/{productName}/deviceGroups/{deviceGroupName}", ApiVersion = "2024-04-01")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.NotSuggestDefaultParameterSet]
@@ -44,15 +44,6 @@ public partial class NewAzSphereDeviceGroup_CreateViaJsonString : global::System
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.ParameterCategory.Runtime)]
@@ -294,11 +285,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets.NewAzSphereDeviceGroup_
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.Sphere.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -614,24 +600,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDeviceGroup
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/Sphere/Sphere.Autorest/generated/cmdlets/NewAzSphereDevice_CreateExpanded.cs b/generated/Sphere/Sphere.Autorest/generated/cmdlets/NewAzSphereDevice_CreateExpanded.cs
index 1d0c5f1a8c62..5b8211f78fa1 100644
--- a/generated/Sphere/Sphere.Autorest/generated/cmdlets/NewAzSphereDevice_CreateExpanded.cs
+++ b/generated/Sphere/Sphere.Autorest/generated/cmdlets/NewAzSphereDevice_CreateExpanded.cs
@@ -11,7 +11,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets
using System;
///
- /// Create a Device. Use '.unassigned' or '.default' for the device group and product names to claim a device to the catalog
+ /// create a Device. Use '.unassigned' or '.default' for the device group and product names to claim a device to the catalog
/// only.
///
///
@@ -19,7 +19,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzSphereDevice_CreateExpanded", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDevice))]
- [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"Create a Device. Use '.unassigned' or '.default' for the device group and product names to claim a device to the catalog only.")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"create a Device. Use '.unassigned' or '.default' for the device group and product names to claim a device to the catalog only.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Generated]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/products/{productName}/deviceGroups/{deviceGroupName}/devices/{deviceName}", ApiVersion = "2024-04-01")]
public partial class NewAzSphereDevice_CreateExpanded : global::System.Management.Automation.PSCmdlet,
@@ -43,18 +43,9 @@ public partial class NewAzSphereDevice_CreateExpanded : global::System.Managemen
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
/// An device resource belonging to a device group resource.
private Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDevice _resourceBody = new Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.Device();
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.ParameterCategory.Runtime)]
@@ -310,11 +301,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets.NewAzSphereDevice_Creat
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.Sphere.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -630,24 +616,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDevice
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/Sphere/Sphere.Autorest/generated/cmdlets/NewAzSphereDevice_CreateViaJsonFilePath.cs b/generated/Sphere/Sphere.Autorest/generated/cmdlets/NewAzSphereDevice_CreateViaJsonFilePath.cs
index 9e54ae14ecc7..9092e27026dd 100644
--- a/generated/Sphere/Sphere.Autorest/generated/cmdlets/NewAzSphereDevice_CreateViaJsonFilePath.cs
+++ b/generated/Sphere/Sphere.Autorest/generated/cmdlets/NewAzSphereDevice_CreateViaJsonFilePath.cs
@@ -11,7 +11,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets
using System;
///
- /// Create a Device. Use '.unassigned' or '.default' for the device group and product names to claim a device to the catalog
+ /// create a Device. Use '.unassigned' or '.default' for the device group and product names to claim a device to the catalog
/// only.
///
///
@@ -19,7 +19,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzSphereDevice_CreateViaJsonFilePath", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDevice))]
- [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"Create a Device. Use '.unassigned' or '.default' for the device group and product names to claim a device to the catalog only.")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"create a Device. Use '.unassigned' or '.default' for the device group and product names to claim a device to the catalog only.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Generated]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/products/{productName}/deviceGroups/{deviceGroupName}/devices/{deviceName}", ApiVersion = "2024-04-01")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.NotSuggestDefaultParameterSet]
@@ -44,17 +44,8 @@ public partial class NewAzSphereDevice_CreateViaJsonFilePath : global::System.Ma
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
public global::System.String _jsonString;
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.ParameterCategory.Runtime)]
@@ -312,11 +303,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets.NewAzSphereDevice_Creat
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.Sphere.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -632,24 +618,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDevice
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/Sphere/Sphere.Autorest/generated/cmdlets/NewAzSphereDevice_CreateViaJsonString.cs b/generated/Sphere/Sphere.Autorest/generated/cmdlets/NewAzSphereDevice_CreateViaJsonString.cs
index 712d3c8f77de..17c2663fb493 100644
--- a/generated/Sphere/Sphere.Autorest/generated/cmdlets/NewAzSphereDevice_CreateViaJsonString.cs
+++ b/generated/Sphere/Sphere.Autorest/generated/cmdlets/NewAzSphereDevice_CreateViaJsonString.cs
@@ -11,7 +11,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets
using System;
///
- /// Create a Device. Use '.unassigned' or '.default' for the device group and product names to claim a device to the catalog
+ /// create a Device. Use '.unassigned' or '.default' for the device group and product names to claim a device to the catalog
/// only.
///
///
@@ -19,7 +19,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzSphereDevice_CreateViaJsonString", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDevice))]
- [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"Create a Device. Use '.unassigned' or '.default' for the device group and product names to claim a device to the catalog only.")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"create a Device. Use '.unassigned' or '.default' for the device group and product names to claim a device to the catalog only.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Generated]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/products/{productName}/deviceGroups/{deviceGroupName}/devices/{deviceName}", ApiVersion = "2024-04-01")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.NotSuggestDefaultParameterSet]
@@ -44,15 +44,6 @@ public partial class NewAzSphereDevice_CreateViaJsonString : global::System.Mana
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.ParameterCategory.Runtime)]
@@ -310,11 +301,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets.NewAzSphereDevice_Creat
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.Sphere.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -630,24 +616,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDevice
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/Sphere/Sphere.Autorest/generated/cmdlets/NewAzSphereImage_CreateExpanded.cs b/generated/Sphere/Sphere.Autorest/generated/cmdlets/NewAzSphereImage_CreateExpanded.cs
index 1392dcc8b32b..48d85396fb8d 100644
--- a/generated/Sphere/Sphere.Autorest/generated/cmdlets/NewAzSphereImage_CreateExpanded.cs
+++ b/generated/Sphere/Sphere.Autorest/generated/cmdlets/NewAzSphereImage_CreateExpanded.cs
@@ -10,13 +10,13 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets
using Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.Cmdlets;
using System;
- /// Create a Image
+ /// create a Image
///
/// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/images/{imageName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzSphereImage_CreateExpanded", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IImage))]
- [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"Create a Image")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"create a Image")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Generated]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/images/{imageName}", ApiVersion = "2024-04-01")]
public partial class NewAzSphereImage_CreateExpanded : global::System.Management.Automation.PSCmdlet,
@@ -40,18 +40,9 @@ public partial class NewAzSphereImage_CreateExpanded : global::System.Management
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
/// An image resource belonging to a catalog resource.
private Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IImage _resourceBody = new Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.Image();
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.ParameterCategory.Runtime)]
@@ -301,11 +292,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets.NewAzSphereImage_Create
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.Sphere.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -621,24 +607,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IImage
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/Sphere/Sphere.Autorest/generated/cmdlets/NewAzSphereImage_CreateViaJsonFilePath.cs b/generated/Sphere/Sphere.Autorest/generated/cmdlets/NewAzSphereImage_CreateViaJsonFilePath.cs
index 4d611a2a8198..bde3cc8d10d7 100644
--- a/generated/Sphere/Sphere.Autorest/generated/cmdlets/NewAzSphereImage_CreateViaJsonFilePath.cs
+++ b/generated/Sphere/Sphere.Autorest/generated/cmdlets/NewAzSphereImage_CreateViaJsonFilePath.cs
@@ -10,13 +10,13 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets
using Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.Cmdlets;
using System;
- /// Create a Image
+ /// create a Image
///
/// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/images/{imageName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzSphereImage_CreateViaJsonFilePath", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IImage))]
- [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"Create a Image")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"create a Image")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Generated]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/images/{imageName}", ApiVersion = "2024-04-01")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.NotSuggestDefaultParameterSet]
@@ -41,17 +41,8 @@ public partial class NewAzSphereImage_CreateViaJsonFilePath : global::System.Man
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
public global::System.String _jsonString;
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.ParameterCategory.Runtime)]
@@ -278,11 +269,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets.NewAzSphereImage_Create
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.Sphere.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -598,24 +584,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IImage
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/Sphere/Sphere.Autorest/generated/cmdlets/NewAzSphereImage_CreateViaJsonString.cs b/generated/Sphere/Sphere.Autorest/generated/cmdlets/NewAzSphereImage_CreateViaJsonString.cs
index eb088f69c3d2..49636390b8a1 100644
--- a/generated/Sphere/Sphere.Autorest/generated/cmdlets/NewAzSphereImage_CreateViaJsonString.cs
+++ b/generated/Sphere/Sphere.Autorest/generated/cmdlets/NewAzSphereImage_CreateViaJsonString.cs
@@ -10,13 +10,13 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets
using Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.Cmdlets;
using System;
- /// Create a Image
+ /// create a Image
///
/// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/images/{imageName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzSphereImage_CreateViaJsonString", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IImage))]
- [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"Create a Image")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"create a Image")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Generated]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/images/{imageName}", ApiVersion = "2024-04-01")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.NotSuggestDefaultParameterSet]
@@ -41,15 +41,6 @@ public partial class NewAzSphereImage_CreateViaJsonString : global::System.Manag
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.ParameterCategory.Runtime)]
@@ -276,11 +267,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets.NewAzSphereImage_Create
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.Sphere.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -596,24 +582,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IImage
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/Sphere/Sphere.Autorest/generated/cmdlets/NewAzSphereProduct_CreateExpanded.cs b/generated/Sphere/Sphere.Autorest/generated/cmdlets/NewAzSphereProduct_CreateExpanded.cs
index 3b8a1ea164d2..5a678c16cac1 100644
--- a/generated/Sphere/Sphere.Autorest/generated/cmdlets/NewAzSphereProduct_CreateExpanded.cs
+++ b/generated/Sphere/Sphere.Autorest/generated/cmdlets/NewAzSphereProduct_CreateExpanded.cs
@@ -11,14 +11,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets
using System;
///
- /// Create a Product. '.default' and '.unassigned' are system defined values and cannot be used for product name.
+ /// create a Product. '.default' and '.unassigned' are system defined values and cannot be used for product name.
///
///
/// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/products/{productName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzSphereProduct_CreateExpanded", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IProduct))]
- [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"Create a Product. '.default' and '.unassigned' are system defined values and cannot be used for product name.")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"create a Product. '.default' and '.unassigned' are system defined values and cannot be used for product name.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Generated]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/products/{productName}", ApiVersion = "2024-04-01")]
public partial class NewAzSphereProduct_CreateExpanded : global::System.Management.Automation.PSCmdlet,
@@ -42,18 +42,9 @@ public partial class NewAzSphereProduct_CreateExpanded : global::System.Manageme
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
/// An product resource belonging to a catalog resource.
private Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IProduct _resourceBody = new Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.Product();
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.ParameterCategory.Runtime)]
@@ -278,11 +269,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets.NewAzSphereProduct_Crea
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.Sphere.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -598,24 +584,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IProduct
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/Sphere/Sphere.Autorest/generated/cmdlets/NewAzSphereProduct_CreateViaJsonFilePath.cs b/generated/Sphere/Sphere.Autorest/generated/cmdlets/NewAzSphereProduct_CreateViaJsonFilePath.cs
index efa45703f49b..40fe9c05141a 100644
--- a/generated/Sphere/Sphere.Autorest/generated/cmdlets/NewAzSphereProduct_CreateViaJsonFilePath.cs
+++ b/generated/Sphere/Sphere.Autorest/generated/cmdlets/NewAzSphereProduct_CreateViaJsonFilePath.cs
@@ -11,14 +11,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets
using System;
///
- /// Create a Product. '.default' and '.unassigned' are system defined values and cannot be used for product name.
+ /// create a Product. '.default' and '.unassigned' are system defined values and cannot be used for product name.
///
///
/// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/products/{productName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzSphereProduct_CreateViaJsonFilePath", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IProduct))]
- [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"Create a Product. '.default' and '.unassigned' are system defined values and cannot be used for product name.")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"create a Product. '.default' and '.unassigned' are system defined values and cannot be used for product name.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Generated]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/products/{productName}", ApiVersion = "2024-04-01")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.NotSuggestDefaultParameterSet]
@@ -43,17 +43,8 @@ public partial class NewAzSphereProduct_CreateViaJsonFilePath : global::System.M
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
public global::System.String _jsonString;
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.ParameterCategory.Runtime)]
@@ -280,11 +271,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets.NewAzSphereProduct_Crea
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.Sphere.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -600,24 +586,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IProduct
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/Sphere/Sphere.Autorest/generated/cmdlets/NewAzSphereProduct_CreateViaJsonString.cs b/generated/Sphere/Sphere.Autorest/generated/cmdlets/NewAzSphereProduct_CreateViaJsonString.cs
index cd0107e74c1c..81afb77eee98 100644
--- a/generated/Sphere/Sphere.Autorest/generated/cmdlets/NewAzSphereProduct_CreateViaJsonString.cs
+++ b/generated/Sphere/Sphere.Autorest/generated/cmdlets/NewAzSphereProduct_CreateViaJsonString.cs
@@ -11,14 +11,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets
using System;
///
- /// Create a Product. '.default' and '.unassigned' are system defined values and cannot be used for product name.
+ /// create a Product. '.default' and '.unassigned' are system defined values and cannot be used for product name.
///
///
/// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/products/{productName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzSphereProduct_CreateViaJsonString", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IProduct))]
- [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"Create a Product. '.default' and '.unassigned' are system defined values and cannot be used for product name.")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"create a Product. '.default' and '.unassigned' are system defined values and cannot be used for product name.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Generated]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/products/{productName}", ApiVersion = "2024-04-01")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.NotSuggestDefaultParameterSet]
@@ -43,15 +43,6 @@ public partial class NewAzSphereProduct_CreateViaJsonString : global::System.Man
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.ParameterCategory.Runtime)]
@@ -278,11 +269,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets.NewAzSphereProduct_Crea
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.Sphere.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -598,24 +584,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IProduct
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/Sphere/Sphere.Autorest/generated/cmdlets/RemoveAzSphereCatalog_Delete.cs b/generated/Sphere/Sphere.Autorest/generated/cmdlets/RemoveAzSphereCatalog_Delete.cs
index 90b07bcfa5c0..f0f99c18d41c 100644
--- a/generated/Sphere/Sphere.Autorest/generated/cmdlets/RemoveAzSphereCatalog_Delete.cs
+++ b/generated/Sphere/Sphere.Autorest/generated/cmdlets/RemoveAzSphereCatalog_Delete.cs
@@ -40,15 +40,6 @@ public partial class RemoveAzSphereCatalog_Delete : global::System.Management.Au
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.ParameterCategory.Runtime)]
@@ -261,11 +252,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets.RemoveAzSphereCatalog_D
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.Sphere.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -577,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);
}
@@ -601,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/Sphere/Sphere.Autorest/generated/cmdlets/RemoveAzSphereCatalog_DeleteViaIdentity.cs b/generated/Sphere/Sphere.Autorest/generated/cmdlets/RemoveAzSphereCatalog_DeleteViaIdentity.cs
index 6df6fb54a3cb..21576875fb2d 100644
--- a/generated/Sphere/Sphere.Autorest/generated/cmdlets/RemoveAzSphereCatalog_DeleteViaIdentity.cs
+++ b/generated/Sphere/Sphere.Autorest/generated/cmdlets/RemoveAzSphereCatalog_DeleteViaIdentity.cs
@@ -40,15 +40,6 @@ public partial class RemoveAzSphereCatalog_DeleteViaIdentity : global::System.Ma
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.ParameterCategory.Runtime)]
@@ -218,11 +209,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets.RemoveAzSphereCatalog_D
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.Sphere.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -554,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);
}
@@ -578,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/Sphere/Sphere.Autorest/generated/cmdlets/RemoveAzSphereDeviceGroup_Delete.cs b/generated/Sphere/Sphere.Autorest/generated/cmdlets/RemoveAzSphereDeviceGroup_Delete.cs
index da35f9be3401..929246cedc33 100644
--- a/generated/Sphere/Sphere.Autorest/generated/cmdlets/RemoveAzSphereDeviceGroup_Delete.cs
+++ b/generated/Sphere/Sphere.Autorest/generated/cmdlets/RemoveAzSphereDeviceGroup_Delete.cs
@@ -43,15 +43,6 @@ public partial class RemoveAzSphereDeviceGroup_Delete : global::System.Managemen
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.ParameterCategory.Runtime)]
@@ -294,11 +285,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets.RemoveAzSphereDeviceGro
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.Sphere.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -610,7 +596,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -634,7 +620,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/Sphere/Sphere.Autorest/generated/cmdlets/RemoveAzSphereDeviceGroup_DeleteViaIdentity.cs b/generated/Sphere/Sphere.Autorest/generated/cmdlets/RemoveAzSphereDeviceGroup_DeleteViaIdentity.cs
index 3f2b34b81109..442e4f0866fd 100644
--- a/generated/Sphere/Sphere.Autorest/generated/cmdlets/RemoveAzSphereDeviceGroup_DeleteViaIdentity.cs
+++ b/generated/Sphere/Sphere.Autorest/generated/cmdlets/RemoveAzSphereDeviceGroup_DeleteViaIdentity.cs
@@ -43,15 +43,6 @@ public partial class RemoveAzSphereDeviceGroup_DeleteViaIdentity : global::Syste
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.ParameterCategory.Runtime)]
@@ -221,11 +212,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets.RemoveAzSphereDeviceGro
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.Sphere.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -565,7 +551,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -589,7 +575,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/Sphere/Sphere.Autorest/generated/cmdlets/RemoveAzSphereDeviceGroup_DeleteViaIdentityCatalog.cs b/generated/Sphere/Sphere.Autorest/generated/cmdlets/RemoveAzSphereDeviceGroup_DeleteViaIdentityCatalog.cs
index ec0b4fd011b8..ddfc6d4c899a 100644
--- a/generated/Sphere/Sphere.Autorest/generated/cmdlets/RemoveAzSphereDeviceGroup_DeleteViaIdentityCatalog.cs
+++ b/generated/Sphere/Sphere.Autorest/generated/cmdlets/RemoveAzSphereDeviceGroup_DeleteViaIdentityCatalog.cs
@@ -43,15 +43,6 @@ public partial class RemoveAzSphereDeviceGroup_DeleteViaIdentityCatalog : global
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.ParameterCategory.Runtime)]
@@ -252,11 +243,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets.RemoveAzSphereDeviceGro
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.Sphere.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -589,7 +575,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -613,7 +599,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/Sphere/Sphere.Autorest/generated/cmdlets/RemoveAzSphereDeviceGroup_DeleteViaIdentityProduct.cs b/generated/Sphere/Sphere.Autorest/generated/cmdlets/RemoveAzSphereDeviceGroup_DeleteViaIdentityProduct.cs
index e8778cadc546..58debb32467d 100644
--- a/generated/Sphere/Sphere.Autorest/generated/cmdlets/RemoveAzSphereDeviceGroup_DeleteViaIdentityProduct.cs
+++ b/generated/Sphere/Sphere.Autorest/generated/cmdlets/RemoveAzSphereDeviceGroup_DeleteViaIdentityProduct.cs
@@ -43,15 +43,6 @@ public partial class RemoveAzSphereDeviceGroup_DeleteViaIdentityProduct : global
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.ParameterCategory.Runtime)]
@@ -237,11 +228,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets.RemoveAzSphereDeviceGro
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.Sphere.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -578,7 +564,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -602,7 +588,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/Sphere/Sphere.Autorest/generated/cmdlets/RemoveAzSphereProduct_Delete.cs b/generated/Sphere/Sphere.Autorest/generated/cmdlets/RemoveAzSphereProduct_Delete.cs
index 0da20aa0bd8b..109972dd46c3 100644
--- a/generated/Sphere/Sphere.Autorest/generated/cmdlets/RemoveAzSphereProduct_Delete.cs
+++ b/generated/Sphere/Sphere.Autorest/generated/cmdlets/RemoveAzSphereProduct_Delete.cs
@@ -42,15 +42,6 @@ public partial class RemoveAzSphereProduct_Delete : global::System.Management.Au
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.ParameterCategory.Runtime)]
@@ -278,11 +269,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets.RemoveAzSphereProduct_D
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.Sphere.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -594,7 +580,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -618,7 +604,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/Sphere/Sphere.Autorest/generated/cmdlets/RemoveAzSphereProduct_DeleteViaIdentity.cs b/generated/Sphere/Sphere.Autorest/generated/cmdlets/RemoveAzSphereProduct_DeleteViaIdentity.cs
index cf38fbf96c99..f0b2f43e5480 100644
--- a/generated/Sphere/Sphere.Autorest/generated/cmdlets/RemoveAzSphereProduct_DeleteViaIdentity.cs
+++ b/generated/Sphere/Sphere.Autorest/generated/cmdlets/RemoveAzSphereProduct_DeleteViaIdentity.cs
@@ -42,15 +42,6 @@ public partial class RemoveAzSphereProduct_DeleteViaIdentity : global::System.Ma
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.ParameterCategory.Runtime)]
@@ -220,11 +211,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets.RemoveAzSphereProduct_D
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.Sphere.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -560,7 +546,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -584,7 +570,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/Sphere/Sphere.Autorest/generated/cmdlets/RemoveAzSphereProduct_DeleteViaIdentityCatalog.cs b/generated/Sphere/Sphere.Autorest/generated/cmdlets/RemoveAzSphereProduct_DeleteViaIdentityCatalog.cs
index d9ac4ec3453e..f3c65293c804 100644
--- a/generated/Sphere/Sphere.Autorest/generated/cmdlets/RemoveAzSphereProduct_DeleteViaIdentityCatalog.cs
+++ b/generated/Sphere/Sphere.Autorest/generated/cmdlets/RemoveAzSphereProduct_DeleteViaIdentityCatalog.cs
@@ -42,15 +42,6 @@ public partial class RemoveAzSphereProduct_DeleteViaIdentityCatalog : global::Sy
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.ParameterCategory.Runtime)]
@@ -236,11 +227,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets.RemoveAzSphereProduct_D
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.Sphere.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -573,7 +559,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -597,7 +583,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/Sphere/Sphere.Autorest/generated/cmdlets/SetAzSphereCatalog_UpdateExpanded.cs b/generated/Sphere/Sphere.Autorest/generated/cmdlets/SetAzSphereCatalog_UpdateExpanded.cs
index 2d4c8bcb1a29..72fc97d0bb29 100644
--- a/generated/Sphere/Sphere.Autorest/generated/cmdlets/SetAzSphereCatalog_UpdateExpanded.cs
+++ b/generated/Sphere/Sphere.Autorest/generated/cmdlets/SetAzSphereCatalog_UpdateExpanded.cs
@@ -10,14 +10,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets
using Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.Cmdlets;
using System;
- /// Update a Catalog
+ /// update a Catalog
///
/// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}"
///
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.InternalExport]
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Set, @"AzSphereCatalog_UpdateExpanded", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICatalog))]
- [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"Update a Catalog")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"update a Catalog")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Generated]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}", ApiVersion = "2024-04-01")]
public partial class SetAzSphereCatalog_UpdateExpanded : global::System.Management.Automation.PSCmdlet,
@@ -41,18 +41,9 @@ public partial class SetAzSphereCatalog_UpdateExpanded : global::System.Manageme
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
/// An Azure Sphere catalog
private Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICatalog _resourceBody = new Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.Catalog();
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.ParameterCategory.Runtime)]
@@ -274,11 +265,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets.SetAzSphereCatalog_Upda
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.Sphere.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -594,24 +580,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICatalog
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/Sphere/Sphere.Autorest/generated/cmdlets/SetAzSphereCatalog_UpdateViaJsonFilePath.cs b/generated/Sphere/Sphere.Autorest/generated/cmdlets/SetAzSphereCatalog_UpdateViaJsonFilePath.cs
index 58ae7f79a80e..0b9bc3bcc641 100644
--- a/generated/Sphere/Sphere.Autorest/generated/cmdlets/SetAzSphereCatalog_UpdateViaJsonFilePath.cs
+++ b/generated/Sphere/Sphere.Autorest/generated/cmdlets/SetAzSphereCatalog_UpdateViaJsonFilePath.cs
@@ -10,14 +10,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets
using Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.Cmdlets;
using System;
- /// Update a Catalog
+ /// update a Catalog
///
/// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}"
///
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.InternalExport]
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Set, @"AzSphereCatalog_UpdateViaJsonFilePath", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICatalog))]
- [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"Update a Catalog")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"update a Catalog")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Generated]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}", ApiVersion = "2024-04-01")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.NotSuggestDefaultParameterSet]
@@ -42,17 +42,8 @@ public partial class SetAzSphereCatalog_UpdateViaJsonFilePath : global::System.M
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
public global::System.String _jsonString;
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.ParameterCategory.Runtime)]
@@ -264,11 +255,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets.SetAzSphereCatalog_Upda
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.Sphere.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -584,24 +570,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICatalog
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/Sphere/Sphere.Autorest/generated/cmdlets/SetAzSphereCatalog_UpdateViaJsonString.cs b/generated/Sphere/Sphere.Autorest/generated/cmdlets/SetAzSphereCatalog_UpdateViaJsonString.cs
index d3cae2420300..b1706fb66aae 100644
--- a/generated/Sphere/Sphere.Autorest/generated/cmdlets/SetAzSphereCatalog_UpdateViaJsonString.cs
+++ b/generated/Sphere/Sphere.Autorest/generated/cmdlets/SetAzSphereCatalog_UpdateViaJsonString.cs
@@ -10,14 +10,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets
using Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.Cmdlets;
using System;
- /// Update a Catalog
+ /// update a Catalog
///
/// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}"
///
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.InternalExport]
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Set, @"AzSphereCatalog_UpdateViaJsonString", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICatalog))]
- [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"Update a Catalog")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"update a Catalog")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Generated]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}", ApiVersion = "2024-04-01")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.NotSuggestDefaultParameterSet]
@@ -42,15 +42,6 @@ public partial class SetAzSphereCatalog_UpdateViaJsonString : global::System.Man
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.ParameterCategory.Runtime)]
@@ -262,11 +253,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets.SetAzSphereCatalog_Upda
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.Sphere.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -582,24 +568,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICatalog
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/Sphere/Sphere.Autorest/generated/cmdlets/SetAzSphereDeployment_UpdateExpanded.cs b/generated/Sphere/Sphere.Autorest/generated/cmdlets/SetAzSphereDeployment_UpdateExpanded.cs
index b0c765825382..ae2bca9d3e4f 100644
--- a/generated/Sphere/Sphere.Autorest/generated/cmdlets/SetAzSphereDeployment_UpdateExpanded.cs
+++ b/generated/Sphere/Sphere.Autorest/generated/cmdlets/SetAzSphereDeployment_UpdateExpanded.cs
@@ -11,7 +11,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets
using System;
///
- /// Update a Deployment. '.default' and '.unassigned' are system defined values and cannot be used for product or device group
+ /// update a Deployment. '.default' and '.unassigned' are system defined values and cannot be used for product or device group
/// name.
///
///
@@ -20,7 +20,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.InternalExport]
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Set, @"AzSphereDeployment_UpdateExpanded", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDeployment))]
- [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"Update a Deployment. '.default' and '.unassigned' are system defined values and cannot be used for product or device group name.")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"update a Deployment. '.default' and '.unassigned' are system defined values and cannot be used for product or device group name.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Generated]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/products/{productName}/deviceGroups/{deviceGroupName}/deployments/{deploymentName}", ApiVersion = "2024-04-01")]
public partial class SetAzSphereDeployment_UpdateExpanded : global::System.Management.Automation.PSCmdlet,
@@ -44,18 +44,9 @@ public partial class SetAzSphereDeployment_UpdateExpanded : global::System.Manag
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
/// An deployment resource belonging to a device group resource.
private Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDeployment _resourceBody = new Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.Deployment();
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.ParameterCategory.Runtime)]
@@ -324,11 +315,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets.SetAzSphereDeployment_U
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.Sphere.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -644,24 +630,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDeployment
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/Sphere/Sphere.Autorest/generated/cmdlets/SetAzSphereDeployment_UpdateViaJsonFilePath.cs b/generated/Sphere/Sphere.Autorest/generated/cmdlets/SetAzSphereDeployment_UpdateViaJsonFilePath.cs
index 5b7e67273568..78ae8c025133 100644
--- a/generated/Sphere/Sphere.Autorest/generated/cmdlets/SetAzSphereDeployment_UpdateViaJsonFilePath.cs
+++ b/generated/Sphere/Sphere.Autorest/generated/cmdlets/SetAzSphereDeployment_UpdateViaJsonFilePath.cs
@@ -11,7 +11,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets
using System;
///
- /// Update a Deployment. '.default' and '.unassigned' are system defined values and cannot be used for product or device group
+ /// update a Deployment. '.default' and '.unassigned' are system defined values and cannot be used for product or device group
/// name.
///
///
@@ -20,7 +20,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.InternalExport]
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Set, @"AzSphereDeployment_UpdateViaJsonFilePath", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDeployment))]
- [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"Update a Deployment. '.default' and '.unassigned' are system defined values and cannot be used for product or device group name.")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"update a Deployment. '.default' and '.unassigned' are system defined values and cannot be used for product or device group name.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Generated]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/products/{productName}/deviceGroups/{deviceGroupName}/deployments/{deploymentName}", ApiVersion = "2024-04-01")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.NotSuggestDefaultParameterSet]
@@ -45,17 +45,8 @@ public partial class SetAzSphereDeployment_UpdateViaJsonFilePath : global::Syste
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
public global::System.String _jsonString;
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.ParameterCategory.Runtime)]
@@ -314,11 +305,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets.SetAzSphereDeployment_U
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.Sphere.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -634,24 +620,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDeployment
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/Sphere/Sphere.Autorest/generated/cmdlets/SetAzSphereDeployment_UpdateViaJsonString.cs b/generated/Sphere/Sphere.Autorest/generated/cmdlets/SetAzSphereDeployment_UpdateViaJsonString.cs
index 3d24778c06ca..e61f7bf025f8 100644
--- a/generated/Sphere/Sphere.Autorest/generated/cmdlets/SetAzSphereDeployment_UpdateViaJsonString.cs
+++ b/generated/Sphere/Sphere.Autorest/generated/cmdlets/SetAzSphereDeployment_UpdateViaJsonString.cs
@@ -11,7 +11,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets
using System;
///
- /// Update a Deployment. '.default' and '.unassigned' are system defined values and cannot be used for product or device group
+ /// update a Deployment. '.default' and '.unassigned' are system defined values and cannot be used for product or device group
/// name.
///
///
@@ -20,7 +20,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.InternalExport]
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Set, @"AzSphereDeployment_UpdateViaJsonString", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDeployment))]
- [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"Update a Deployment. '.default' and '.unassigned' are system defined values and cannot be used for product or device group name.")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"update a Deployment. '.default' and '.unassigned' are system defined values and cannot be used for product or device group name.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Generated]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/products/{productName}/deviceGroups/{deviceGroupName}/deployments/{deploymentName}", ApiVersion = "2024-04-01")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.NotSuggestDefaultParameterSet]
@@ -45,15 +45,6 @@ public partial class SetAzSphereDeployment_UpdateViaJsonString : global::System.
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.ParameterCategory.Runtime)]
@@ -312,11 +303,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets.SetAzSphereDeployment_U
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.Sphere.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -632,24 +618,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDeployment
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/Sphere/Sphere.Autorest/generated/cmdlets/SetAzSphereDeviceGroup_UpdateExpanded.cs b/generated/Sphere/Sphere.Autorest/generated/cmdlets/SetAzSphereDeviceGroup_UpdateExpanded.cs
index d01d9b73f45a..05aa8b2c84e2 100644
--- a/generated/Sphere/Sphere.Autorest/generated/cmdlets/SetAzSphereDeviceGroup_UpdateExpanded.cs
+++ b/generated/Sphere/Sphere.Autorest/generated/cmdlets/SetAzSphereDeviceGroup_UpdateExpanded.cs
@@ -11,7 +11,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets
using System;
///
- /// Update a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for product or device
+ /// update a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for product or device
/// group name.
///
///
@@ -20,7 +20,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.InternalExport]
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Set, @"AzSphereDeviceGroup_UpdateExpanded", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDeviceGroup))]
- [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"Update a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for product or device group name.")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"update a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for product or device group name.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Generated]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/products/{productName}/deviceGroups/{deviceGroupName}", ApiVersion = "2024-04-01")]
public partial class SetAzSphereDeviceGroup_UpdateExpanded : global::System.Management.Automation.PSCmdlet,
@@ -44,18 +44,9 @@ public partial class SetAzSphereDeviceGroup_UpdateExpanded : global::System.Mana
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
/// An device group resource belonging to a product resource.
private Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDeviceGroup _resourceBody = new Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.DeviceGroup();
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// Flag to define if the user allows for crash dump collection.
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Flag to define if the user allows for crash dump collection.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.ParameterCategory.Body)]
@@ -343,11 +334,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets.SetAzSphereDeviceGroup_
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.Sphere.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -663,24 +649,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDeviceGroup
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/Sphere/Sphere.Autorest/generated/cmdlets/SetAzSphereDeviceGroup_UpdateViaJsonFilePath.cs b/generated/Sphere/Sphere.Autorest/generated/cmdlets/SetAzSphereDeviceGroup_UpdateViaJsonFilePath.cs
index 69be3220f8e6..3ad80bd6ead2 100644
--- a/generated/Sphere/Sphere.Autorest/generated/cmdlets/SetAzSphereDeviceGroup_UpdateViaJsonFilePath.cs
+++ b/generated/Sphere/Sphere.Autorest/generated/cmdlets/SetAzSphereDeviceGroup_UpdateViaJsonFilePath.cs
@@ -11,7 +11,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets
using System;
///
- /// Update a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for product or device
+ /// update a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for product or device
/// group name.
///
///
@@ -20,7 +20,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.InternalExport]
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Set, @"AzSphereDeviceGroup_UpdateViaJsonFilePath", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDeviceGroup))]
- [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"Update a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for product or device group name.")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"update a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for product or device group name.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Generated]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/products/{productName}/deviceGroups/{deviceGroupName}", ApiVersion = "2024-04-01")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.NotSuggestDefaultParameterSet]
@@ -45,17 +45,8 @@ public partial class SetAzSphereDeviceGroup_UpdateViaJsonFilePath : global::Syst
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
public global::System.String _jsonString;
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.ParameterCategory.Runtime)]
@@ -297,11 +288,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets.SetAzSphereDeviceGroup_
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.Sphere.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -617,24 +603,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDeviceGroup
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/Sphere/Sphere.Autorest/generated/cmdlets/SetAzSphereDeviceGroup_UpdateViaJsonString.cs b/generated/Sphere/Sphere.Autorest/generated/cmdlets/SetAzSphereDeviceGroup_UpdateViaJsonString.cs
index 5fa64791c254..f12f7f05eb19 100644
--- a/generated/Sphere/Sphere.Autorest/generated/cmdlets/SetAzSphereDeviceGroup_UpdateViaJsonString.cs
+++ b/generated/Sphere/Sphere.Autorest/generated/cmdlets/SetAzSphereDeviceGroup_UpdateViaJsonString.cs
@@ -11,7 +11,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets
using System;
///
- /// Update a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for product or device
+ /// update a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for product or device
/// group name.
///
///
@@ -20,7 +20,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.InternalExport]
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Set, @"AzSphereDeviceGroup_UpdateViaJsonString", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDeviceGroup))]
- [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"Update a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for product or device group name.")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"update a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for product or device group name.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Generated]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/products/{productName}/deviceGroups/{deviceGroupName}", ApiVersion = "2024-04-01")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.NotSuggestDefaultParameterSet]
@@ -45,15 +45,6 @@ public partial class SetAzSphereDeviceGroup_UpdateViaJsonString : global::System
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.ParameterCategory.Runtime)]
@@ -295,11 +286,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets.SetAzSphereDeviceGroup_
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.Sphere.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -615,24 +601,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDeviceGroup
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/Sphere/Sphere.Autorest/generated/cmdlets/SetAzSphereDevice_UpdateExpanded.cs b/generated/Sphere/Sphere.Autorest/generated/cmdlets/SetAzSphereDevice_UpdateExpanded.cs
index a625e605fa43..19ac2f8fa8a0 100644
--- a/generated/Sphere/Sphere.Autorest/generated/cmdlets/SetAzSphereDevice_UpdateExpanded.cs
+++ b/generated/Sphere/Sphere.Autorest/generated/cmdlets/SetAzSphereDevice_UpdateExpanded.cs
@@ -11,7 +11,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets
using System;
///
- /// Update a Device. Use '.unassigned' or '.default' for the device group and product names to claim a device to the catalog
+ /// update a Device. Use '.unassigned' or '.default' for the device group and product names to claim a device to the catalog
/// only.
///
///
@@ -20,7 +20,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.InternalExport]
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Set, @"AzSphereDevice_UpdateExpanded", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDevice))]
- [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"Update a Device. Use '.unassigned' or '.default' for the device group and product names to claim a device to the catalog only.")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"update a Device. Use '.unassigned' or '.default' for the device group and product names to claim a device to the catalog only.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Generated]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/products/{productName}/deviceGroups/{deviceGroupName}/devices/{deviceName}", ApiVersion = "2024-04-01")]
public partial class SetAzSphereDevice_UpdateExpanded : global::System.Management.Automation.PSCmdlet,
@@ -44,18 +44,9 @@ public partial class SetAzSphereDevice_UpdateExpanded : global::System.Managemen
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
/// An device resource belonging to a device group resource.
private Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDevice _resourceBody = new Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.Device();
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.ParameterCategory.Runtime)]
@@ -311,11 +302,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets.SetAzSphereDevice_Updat
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.Sphere.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -631,24 +617,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDevice
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/Sphere/Sphere.Autorest/generated/cmdlets/SetAzSphereDevice_UpdateViaJsonFilePath.cs b/generated/Sphere/Sphere.Autorest/generated/cmdlets/SetAzSphereDevice_UpdateViaJsonFilePath.cs
index 2871c27237fe..e4bb8d55a8e6 100644
--- a/generated/Sphere/Sphere.Autorest/generated/cmdlets/SetAzSphereDevice_UpdateViaJsonFilePath.cs
+++ b/generated/Sphere/Sphere.Autorest/generated/cmdlets/SetAzSphereDevice_UpdateViaJsonFilePath.cs
@@ -11,7 +11,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets
using System;
///
- /// Update a Device. Use '.unassigned' or '.default' for the device group and product names to claim a device to the catalog
+ /// update a Device. Use '.unassigned' or '.default' for the device group and product names to claim a device to the catalog
/// only.
///
///
@@ -20,7 +20,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.InternalExport]
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Set, @"AzSphereDevice_UpdateViaJsonFilePath", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDevice))]
- [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"Update a Device. Use '.unassigned' or '.default' for the device group and product names to claim a device to the catalog only.")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"update a Device. Use '.unassigned' or '.default' for the device group and product names to claim a device to the catalog only.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Generated]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/products/{productName}/deviceGroups/{deviceGroupName}/devices/{deviceName}", ApiVersion = "2024-04-01")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.NotSuggestDefaultParameterSet]
@@ -45,17 +45,8 @@ public partial class SetAzSphereDevice_UpdateViaJsonFilePath : global::System.Ma
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
public global::System.String _jsonString;
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.ParameterCategory.Runtime)]
@@ -313,11 +304,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets.SetAzSphereDevice_Updat
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.Sphere.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -633,24 +619,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDevice
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/Sphere/Sphere.Autorest/generated/cmdlets/SetAzSphereDevice_UpdateViaJsonString.cs b/generated/Sphere/Sphere.Autorest/generated/cmdlets/SetAzSphereDevice_UpdateViaJsonString.cs
index 819d61f67cef..dd368c082004 100644
--- a/generated/Sphere/Sphere.Autorest/generated/cmdlets/SetAzSphereDevice_UpdateViaJsonString.cs
+++ b/generated/Sphere/Sphere.Autorest/generated/cmdlets/SetAzSphereDevice_UpdateViaJsonString.cs
@@ -11,7 +11,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets
using System;
///
- /// Update a Device. Use '.unassigned' or '.default' for the device group and product names to claim a device to the catalog
+ /// update a Device. Use '.unassigned' or '.default' for the device group and product names to claim a device to the catalog
/// only.
///
///
@@ -20,7 +20,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.InternalExport]
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Set, @"AzSphereDevice_UpdateViaJsonString", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDevice))]
- [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"Update a Device. Use '.unassigned' or '.default' for the device group and product names to claim a device to the catalog only.")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"update a Device. Use '.unassigned' or '.default' for the device group and product names to claim a device to the catalog only.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Generated]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/products/{productName}/deviceGroups/{deviceGroupName}/devices/{deviceName}", ApiVersion = "2024-04-01")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.NotSuggestDefaultParameterSet]
@@ -45,15 +45,6 @@ public partial class SetAzSphereDevice_UpdateViaJsonString : global::System.Mana
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.ParameterCategory.Runtime)]
@@ -311,11 +302,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets.SetAzSphereDevice_Updat
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.Sphere.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -631,24 +617,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDevice
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/Sphere/Sphere.Autorest/generated/cmdlets/SetAzSphereImage_UpdateExpanded.cs b/generated/Sphere/Sphere.Autorest/generated/cmdlets/SetAzSphereImage_UpdateExpanded.cs
index a9bb4badce3d..9b07b9bd4498 100644
--- a/generated/Sphere/Sphere.Autorest/generated/cmdlets/SetAzSphereImage_UpdateExpanded.cs
+++ b/generated/Sphere/Sphere.Autorest/generated/cmdlets/SetAzSphereImage_UpdateExpanded.cs
@@ -10,14 +10,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets
using Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.Cmdlets;
using System;
- /// Update a Image
+ /// update a Image
///
/// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/images/{imageName}"
///
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.InternalExport]
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Set, @"AzSphereImage_UpdateExpanded", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IImage))]
- [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"Update a Image")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"update a Image")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Generated]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/images/{imageName}", ApiVersion = "2024-04-01")]
public partial class SetAzSphereImage_UpdateExpanded : global::System.Management.Automation.PSCmdlet,
@@ -41,18 +41,9 @@ public partial class SetAzSphereImage_UpdateExpanded : global::System.Management
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
/// An image resource belonging to a catalog resource.
private Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IImage _resourceBody = new Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.Image();
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.ParameterCategory.Runtime)]
@@ -302,11 +293,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets.SetAzSphereImage_Update
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.Sphere.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -622,24 +608,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IImage
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/Sphere/Sphere.Autorest/generated/cmdlets/SetAzSphereImage_UpdateViaJsonFilePath.cs b/generated/Sphere/Sphere.Autorest/generated/cmdlets/SetAzSphereImage_UpdateViaJsonFilePath.cs
index d283d9f3cea2..c08800cc8204 100644
--- a/generated/Sphere/Sphere.Autorest/generated/cmdlets/SetAzSphereImage_UpdateViaJsonFilePath.cs
+++ b/generated/Sphere/Sphere.Autorest/generated/cmdlets/SetAzSphereImage_UpdateViaJsonFilePath.cs
@@ -10,14 +10,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets
using Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.Cmdlets;
using System;
- /// Update a Image
+ /// update a Image
///
/// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/images/{imageName}"
///
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.InternalExport]
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Set, @"AzSphereImage_UpdateViaJsonFilePath", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IImage))]
- [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"Update a Image")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"update a Image")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Generated]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/images/{imageName}", ApiVersion = "2024-04-01")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.NotSuggestDefaultParameterSet]
@@ -42,17 +42,8 @@ public partial class SetAzSphereImage_UpdateViaJsonFilePath : global::System.Man
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
public global::System.String _jsonString;
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.ParameterCategory.Runtime)]
@@ -279,11 +270,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets.SetAzSphereImage_Update
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.Sphere.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -599,24 +585,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IImage
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/Sphere/Sphere.Autorest/generated/cmdlets/SetAzSphereImage_UpdateViaJsonString.cs b/generated/Sphere/Sphere.Autorest/generated/cmdlets/SetAzSphereImage_UpdateViaJsonString.cs
index ba511f41edc5..c41cefafbf1e 100644
--- a/generated/Sphere/Sphere.Autorest/generated/cmdlets/SetAzSphereImage_UpdateViaJsonString.cs
+++ b/generated/Sphere/Sphere.Autorest/generated/cmdlets/SetAzSphereImage_UpdateViaJsonString.cs
@@ -10,14 +10,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets
using Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.Cmdlets;
using System;
- /// Update a Image
+ /// update a Image
///
/// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/images/{imageName}"
///
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.InternalExport]
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Set, @"AzSphereImage_UpdateViaJsonString", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IImage))]
- [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"Update a Image")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"update a Image")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Generated]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/images/{imageName}", ApiVersion = "2024-04-01")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.NotSuggestDefaultParameterSet]
@@ -42,15 +42,6 @@ public partial class SetAzSphereImage_UpdateViaJsonString : global::System.Manag
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.ParameterCategory.Runtime)]
@@ -277,11 +268,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets.SetAzSphereImage_Update
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.Sphere.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -597,24 +583,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IImage
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/Sphere/Sphere.Autorest/generated/cmdlets/SetAzSphereProduct_UpdateExpanded.cs b/generated/Sphere/Sphere.Autorest/generated/cmdlets/SetAzSphereProduct_UpdateExpanded.cs
index a64d8bf1f6bc..8474fa5e8505 100644
--- a/generated/Sphere/Sphere.Autorest/generated/cmdlets/SetAzSphereProduct_UpdateExpanded.cs
+++ b/generated/Sphere/Sphere.Autorest/generated/cmdlets/SetAzSphereProduct_UpdateExpanded.cs
@@ -11,7 +11,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets
using System;
///
- /// Update a Product. '.default' and '.unassigned' are system defined values and cannot be used for product name.
+ /// update a Product. '.default' and '.unassigned' are system defined values and cannot be used for product name.
///
///
/// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/products/{productName}"
@@ -19,7 +19,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.InternalExport]
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Set, @"AzSphereProduct_UpdateExpanded", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IProduct))]
- [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"Update a Product. '.default' and '.unassigned' are system defined values and cannot be used for product name.")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"update a Product. '.default' and '.unassigned' are system defined values and cannot be used for product name.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Generated]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/products/{productName}", ApiVersion = "2024-04-01")]
public partial class SetAzSphereProduct_UpdateExpanded : global::System.Management.Automation.PSCmdlet,
@@ -43,18 +43,9 @@ public partial class SetAzSphereProduct_UpdateExpanded : global::System.Manageme
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
/// An product resource belonging to a catalog resource.
private Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IProduct _resourceBody = new Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.Product();
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.ParameterCategory.Runtime)]
@@ -279,11 +270,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets.SetAzSphereProduct_Upda
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.Sphere.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -599,24 +585,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IProduct
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/Sphere/Sphere.Autorest/generated/cmdlets/SetAzSphereProduct_UpdateViaJsonFilePath.cs b/generated/Sphere/Sphere.Autorest/generated/cmdlets/SetAzSphereProduct_UpdateViaJsonFilePath.cs
index 8bd6d1467413..1b13cd026381 100644
--- a/generated/Sphere/Sphere.Autorest/generated/cmdlets/SetAzSphereProduct_UpdateViaJsonFilePath.cs
+++ b/generated/Sphere/Sphere.Autorest/generated/cmdlets/SetAzSphereProduct_UpdateViaJsonFilePath.cs
@@ -11,7 +11,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets
using System;
///
- /// Update a Product. '.default' and '.unassigned' are system defined values and cannot be used for product name.
+ /// update a Product. '.default' and '.unassigned' are system defined values and cannot be used for product name.
///
///
/// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/products/{productName}"
@@ -19,7 +19,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.InternalExport]
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Set, @"AzSphereProduct_UpdateViaJsonFilePath", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IProduct))]
- [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"Update a Product. '.default' and '.unassigned' are system defined values and cannot be used for product name.")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"update a Product. '.default' and '.unassigned' are system defined values and cannot be used for product name.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Generated]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/products/{productName}", ApiVersion = "2024-04-01")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.NotSuggestDefaultParameterSet]
@@ -44,17 +44,8 @@ public partial class SetAzSphereProduct_UpdateViaJsonFilePath : global::System.M
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
public global::System.String _jsonString;
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.ParameterCategory.Runtime)]
@@ -281,11 +272,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets.SetAzSphereProduct_Upda
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.Sphere.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -601,24 +587,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IProduct
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/Sphere/Sphere.Autorest/generated/cmdlets/SetAzSphereProduct_UpdateViaJsonString.cs b/generated/Sphere/Sphere.Autorest/generated/cmdlets/SetAzSphereProduct_UpdateViaJsonString.cs
index 099b5ac4d688..f81e4b33ff2f 100644
--- a/generated/Sphere/Sphere.Autorest/generated/cmdlets/SetAzSphereProduct_UpdateViaJsonString.cs
+++ b/generated/Sphere/Sphere.Autorest/generated/cmdlets/SetAzSphereProduct_UpdateViaJsonString.cs
@@ -11,7 +11,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets
using System;
///
- /// Update a Product. '.default' and '.unassigned' are system defined values and cannot be used for product name.
+ /// update a Product. '.default' and '.unassigned' are system defined values and cannot be used for product name.
///
///
/// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/products/{productName}"
@@ -19,7 +19,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.InternalExport]
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Set, @"AzSphereProduct_UpdateViaJsonString", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IProduct))]
- [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"Update a Product. '.default' and '.unassigned' are system defined values and cannot be used for product name.")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"update a Product. '.default' and '.unassigned' are system defined values and cannot be used for product name.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Generated]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/products/{productName}", ApiVersion = "2024-04-01")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.NotSuggestDefaultParameterSet]
@@ -44,15 +44,6 @@ public partial class SetAzSphereProduct_UpdateViaJsonString : global::System.Man
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.ParameterCategory.Runtime)]
@@ -279,11 +270,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets.SetAzSphereProduct_Upda
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.Sphere.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -599,24 +585,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IProduct
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/Sphere/Sphere.Autorest/generated/cmdlets/UpdateAzSphereCatalog_UpdateExpanded.cs b/generated/Sphere/Sphere.Autorest/generated/cmdlets/UpdateAzSphereCatalog_UpdateExpanded.cs
index 55f411f011b1..b2adf6f4276e 100644
--- a/generated/Sphere/Sphere.Autorest/generated/cmdlets/UpdateAzSphereCatalog_UpdateExpanded.cs
+++ b/generated/Sphere/Sphere.Autorest/generated/cmdlets/UpdateAzSphereCatalog_UpdateExpanded.cs
@@ -10,13 +10,13 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets
using Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.Cmdlets;
using System;
- /// Update a Catalog
+ /// update a Catalog
///
/// [OpenAPI] Update=>PATCH:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzSphereCatalog_UpdateExpanded", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICatalog))]
- [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"Update a Catalog")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"update a Catalog")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Generated]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}", ApiVersion = "2024-04-01")]
public partial class UpdateAzSphereCatalog_UpdateExpanded : global::System.Management.Automation.PSCmdlet,
diff --git a/generated/Sphere/Sphere.Autorest/generated/cmdlets/UpdateAzSphereCatalog_UpdateViaIdentityExpanded.cs b/generated/Sphere/Sphere.Autorest/generated/cmdlets/UpdateAzSphereCatalog_UpdateViaIdentityExpanded.cs
index 2caaa933cc4d..689723fb5303 100644
--- a/generated/Sphere/Sphere.Autorest/generated/cmdlets/UpdateAzSphereCatalog_UpdateViaIdentityExpanded.cs
+++ b/generated/Sphere/Sphere.Autorest/generated/cmdlets/UpdateAzSphereCatalog_UpdateViaIdentityExpanded.cs
@@ -10,13 +10,13 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets
using Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.Cmdlets;
using System;
- /// Update a Catalog
+ /// update a Catalog
///
/// [OpenAPI] Update=>PATCH:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzSphereCatalog_UpdateViaIdentityExpanded", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICatalog))]
- [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"Update a Catalog")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"update a Catalog")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Generated]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}", ApiVersion = "2024-04-01")]
public partial class UpdateAzSphereCatalog_UpdateViaIdentityExpanded : global::System.Management.Automation.PSCmdlet,
diff --git a/generated/Sphere/Sphere.Autorest/generated/cmdlets/UpdateAzSphereCatalog_UpdateViaJsonFilePath.cs b/generated/Sphere/Sphere.Autorest/generated/cmdlets/UpdateAzSphereCatalog_UpdateViaJsonFilePath.cs
index 6ffb4610c7ac..e4a737aa7bc0 100644
--- a/generated/Sphere/Sphere.Autorest/generated/cmdlets/UpdateAzSphereCatalog_UpdateViaJsonFilePath.cs
+++ b/generated/Sphere/Sphere.Autorest/generated/cmdlets/UpdateAzSphereCatalog_UpdateViaJsonFilePath.cs
@@ -10,13 +10,13 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets
using Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.Cmdlets;
using System;
- /// Update a Catalog
+ /// update a Catalog
///
/// [OpenAPI] Update=>PATCH:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzSphereCatalog_UpdateViaJsonFilePath", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICatalog))]
- [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"Update a Catalog")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"update a Catalog")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Generated]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}", ApiVersion = "2024-04-01")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.NotSuggestDefaultParameterSet]
diff --git a/generated/Sphere/Sphere.Autorest/generated/cmdlets/UpdateAzSphereCatalog_UpdateViaJsonString.cs b/generated/Sphere/Sphere.Autorest/generated/cmdlets/UpdateAzSphereCatalog_UpdateViaJsonString.cs
index cd72ae4ce7fe..b43c6878c0c8 100644
--- a/generated/Sphere/Sphere.Autorest/generated/cmdlets/UpdateAzSphereCatalog_UpdateViaJsonString.cs
+++ b/generated/Sphere/Sphere.Autorest/generated/cmdlets/UpdateAzSphereCatalog_UpdateViaJsonString.cs
@@ -10,13 +10,13 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets
using Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.Cmdlets;
using System;
- /// Update a Catalog
+ /// update a Catalog
///
/// [OpenAPI] Update=>PATCH:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzSphereCatalog_UpdateViaJsonString", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ICatalog))]
- [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"Update a Catalog")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"update a Catalog")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Generated]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}", ApiVersion = "2024-04-01")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.NotSuggestDefaultParameterSet]
diff --git a/generated/Sphere/Sphere.Autorest/generated/cmdlets/UpdateAzSphereDeviceGroup_UpdateExpanded.cs b/generated/Sphere/Sphere.Autorest/generated/cmdlets/UpdateAzSphereDeviceGroup_UpdateExpanded.cs
index 546216ee9f54..d11c90397e1a 100644
--- a/generated/Sphere/Sphere.Autorest/generated/cmdlets/UpdateAzSphereDeviceGroup_UpdateExpanded.cs
+++ b/generated/Sphere/Sphere.Autorest/generated/cmdlets/UpdateAzSphereDeviceGroup_UpdateExpanded.cs
@@ -11,7 +11,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets
using System;
///
- /// Update a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for product or device
+ /// update a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for product or device
/// group name.
///
///
@@ -19,7 +19,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzSphereDeviceGroup_UpdateExpanded", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDeviceGroup))]
- [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"Update a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for product or device group name.")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"update a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for product or device group name.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Generated]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/products/{productName}/deviceGroups/{deviceGroupName}", ApiVersion = "2024-04-01")]
public partial class UpdateAzSphereDeviceGroup_UpdateExpanded : global::System.Management.Automation.PSCmdlet,
@@ -43,18 +43,9 @@ public partial class UpdateAzSphereDeviceGroup_UpdateExpanded : global::System.M
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
/// The type used for update operations of the DeviceGroup.
private Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDeviceGroupUpdate _propertiesBody = new Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.DeviceGroupUpdate();
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// Flag to define if the user allows for crash dump collection.
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Flag to define if the user allows for crash dump collection.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.ParameterCategory.Body)]
@@ -342,11 +333,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets.UpdateAzSphereDeviceGro
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.Sphere.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -662,24 +648,7 @@ public UpdateAzSphereDeviceGroup_UpdateExpanded()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDeviceGroup
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/Sphere/Sphere.Autorest/generated/cmdlets/UpdateAzSphereDeviceGroup_UpdateViaIdentityCatalogExpanded.cs b/generated/Sphere/Sphere.Autorest/generated/cmdlets/UpdateAzSphereDeviceGroup_UpdateViaIdentityCatalogExpanded.cs
index f1ec19cf46ee..ac7b9c0f364a 100644
--- a/generated/Sphere/Sphere.Autorest/generated/cmdlets/UpdateAzSphereDeviceGroup_UpdateViaIdentityCatalogExpanded.cs
+++ b/generated/Sphere/Sphere.Autorest/generated/cmdlets/UpdateAzSphereDeviceGroup_UpdateViaIdentityCatalogExpanded.cs
@@ -11,7 +11,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets
using System;
///
- /// Update a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for product or device
+ /// update a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for product or device
/// group name.
///
///
@@ -19,7 +19,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzSphereDeviceGroup_UpdateViaIdentityCatalogExpanded", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDeviceGroup))]
- [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"Update a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for product or device group name.")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"update a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for product or device group name.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Generated]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/products/{productName}/deviceGroups/{deviceGroupName}", ApiVersion = "2024-04-01")]
public partial class UpdateAzSphereDeviceGroup_UpdateViaIdentityCatalogExpanded : global::System.Management.Automation.PSCmdlet,
@@ -43,18 +43,9 @@ public partial class UpdateAzSphereDeviceGroup_UpdateViaIdentityCatalogExpanded
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
/// The type used for update operations of the DeviceGroup.
private Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDeviceGroupUpdate _propertiesBody = new Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.DeviceGroupUpdate();
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// Flag to define if the user allows for crash dump collection.
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Flag to define if the user allows for crash dump collection.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.ParameterCategory.Body)]
@@ -302,11 +293,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets.UpdateAzSphereDeviceGro
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.Sphere.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -643,24 +629,7 @@ public UpdateAzSphereDeviceGroup_UpdateViaIdentityCatalogExpanded()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDeviceGroup
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/Sphere/Sphere.Autorest/generated/cmdlets/UpdateAzSphereDeviceGroup_UpdateViaIdentityExpanded.cs b/generated/Sphere/Sphere.Autorest/generated/cmdlets/UpdateAzSphereDeviceGroup_UpdateViaIdentityExpanded.cs
index 670e2bebff70..bcd9bd1d14ea 100644
--- a/generated/Sphere/Sphere.Autorest/generated/cmdlets/UpdateAzSphereDeviceGroup_UpdateViaIdentityExpanded.cs
+++ b/generated/Sphere/Sphere.Autorest/generated/cmdlets/UpdateAzSphereDeviceGroup_UpdateViaIdentityExpanded.cs
@@ -11,7 +11,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets
using System;
///
- /// Update a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for product or device
+ /// update a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for product or device
/// group name.
///
///
@@ -19,7 +19,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzSphereDeviceGroup_UpdateViaIdentityExpanded", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDeviceGroup))]
- [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"Update a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for product or device group name.")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"update a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for product or device group name.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Generated]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/products/{productName}/deviceGroups/{deviceGroupName}", ApiVersion = "2024-04-01")]
public partial class UpdateAzSphereDeviceGroup_UpdateViaIdentityExpanded : global::System.Management.Automation.PSCmdlet,
@@ -43,18 +43,9 @@ public partial class UpdateAzSphereDeviceGroup_UpdateViaIdentityExpanded : globa
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
/// The type used for update operations of the DeviceGroup.
private Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDeviceGroupUpdate _propertiesBody = new Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.DeviceGroupUpdate();
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// Flag to define if the user allows for crash dump collection.
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Flag to define if the user allows for crash dump collection.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.ParameterCategory.Body)]
@@ -269,11 +260,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets.UpdateAzSphereDeviceGro
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.Sphere.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -617,24 +603,7 @@ public UpdateAzSphereDeviceGroup_UpdateViaIdentityExpanded()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDeviceGroup
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/Sphere/Sphere.Autorest/generated/cmdlets/UpdateAzSphereDeviceGroup_UpdateViaIdentityProductExpanded.cs b/generated/Sphere/Sphere.Autorest/generated/cmdlets/UpdateAzSphereDeviceGroup_UpdateViaIdentityProductExpanded.cs
index 965755b0236d..2f038dfec853 100644
--- a/generated/Sphere/Sphere.Autorest/generated/cmdlets/UpdateAzSphereDeviceGroup_UpdateViaIdentityProductExpanded.cs
+++ b/generated/Sphere/Sphere.Autorest/generated/cmdlets/UpdateAzSphereDeviceGroup_UpdateViaIdentityProductExpanded.cs
@@ -11,7 +11,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets
using System;
///
- /// Update a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for product or device
+ /// update a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for product or device
/// group name.
///
///
@@ -19,7 +19,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzSphereDeviceGroup_UpdateViaIdentityProductExpanded", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDeviceGroup))]
- [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"Update a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for product or device group name.")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"update a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for product or device group name.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Generated]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/products/{productName}/deviceGroups/{deviceGroupName}", ApiVersion = "2024-04-01")]
public partial class UpdateAzSphereDeviceGroup_UpdateViaIdentityProductExpanded : global::System.Management.Automation.PSCmdlet,
@@ -43,18 +43,9 @@ public partial class UpdateAzSphereDeviceGroup_UpdateViaIdentityProductExpanded
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
/// The type used for update operations of the DeviceGroup.
private Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDeviceGroupUpdate _propertiesBody = new Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.DeviceGroupUpdate();
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// Flag to define if the user allows for crash dump collection.
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Flag to define if the user allows for crash dump collection.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.ParameterCategory.Body)]
@@ -287,11 +278,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets.UpdateAzSphereDeviceGro
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.Sphere.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -632,24 +618,7 @@ public UpdateAzSphereDeviceGroup_UpdateViaIdentityProductExpanded()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDeviceGroup
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/Sphere/Sphere.Autorest/generated/cmdlets/UpdateAzSphereDeviceGroup_UpdateViaJsonFilePath.cs b/generated/Sphere/Sphere.Autorest/generated/cmdlets/UpdateAzSphereDeviceGroup_UpdateViaJsonFilePath.cs
index fd2dc3469b08..f9f0e4ca9af6 100644
--- a/generated/Sphere/Sphere.Autorest/generated/cmdlets/UpdateAzSphereDeviceGroup_UpdateViaJsonFilePath.cs
+++ b/generated/Sphere/Sphere.Autorest/generated/cmdlets/UpdateAzSphereDeviceGroup_UpdateViaJsonFilePath.cs
@@ -11,7 +11,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets
using System;
///
- /// Update a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for product or device
+ /// update a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for product or device
/// group name.
///
///
@@ -19,7 +19,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzSphereDeviceGroup_UpdateViaJsonFilePath", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDeviceGroup))]
- [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"Update a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for product or device group name.")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"update a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for product or device group name.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Generated]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/products/{productName}/deviceGroups/{deviceGroupName}", ApiVersion = "2024-04-01")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.NotSuggestDefaultParameterSet]
@@ -44,17 +44,8 @@ public partial class UpdateAzSphereDeviceGroup_UpdateViaJsonFilePath : global::S
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
public global::System.String _jsonString;
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.ParameterCategory.Runtime)]
@@ -296,11 +287,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets.UpdateAzSphereDeviceGro
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.Sphere.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -616,24 +602,7 @@ public UpdateAzSphereDeviceGroup_UpdateViaJsonFilePath()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDeviceGroup
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/Sphere/Sphere.Autorest/generated/cmdlets/UpdateAzSphereDeviceGroup_UpdateViaJsonString.cs b/generated/Sphere/Sphere.Autorest/generated/cmdlets/UpdateAzSphereDeviceGroup_UpdateViaJsonString.cs
index 55249e834b68..1bd3409bbb9f 100644
--- a/generated/Sphere/Sphere.Autorest/generated/cmdlets/UpdateAzSphereDeviceGroup_UpdateViaJsonString.cs
+++ b/generated/Sphere/Sphere.Autorest/generated/cmdlets/UpdateAzSphereDeviceGroup_UpdateViaJsonString.cs
@@ -11,7 +11,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets
using System;
///
- /// Update a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for product or device
+ /// update a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for product or device
/// group name.
///
///
@@ -19,7 +19,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzSphereDeviceGroup_UpdateViaJsonString", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDeviceGroup))]
- [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"Update a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for product or device group name.")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"update a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for product or device group name.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Generated]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/products/{productName}/deviceGroups/{deviceGroupName}", ApiVersion = "2024-04-01")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.NotSuggestDefaultParameterSet]
@@ -44,15 +44,6 @@ public partial class UpdateAzSphereDeviceGroup_UpdateViaJsonString : global::Sys
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.ParameterCategory.Runtime)]
@@ -294,11 +285,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets.UpdateAzSphereDeviceGro
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.Sphere.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -614,24 +600,7 @@ public UpdateAzSphereDeviceGroup_UpdateViaJsonString()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDeviceGroup
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/Sphere/Sphere.Autorest/generated/cmdlets/UpdateAzSphereDevice_UpdateExpanded.cs b/generated/Sphere/Sphere.Autorest/generated/cmdlets/UpdateAzSphereDevice_UpdateExpanded.cs
index be4d66378ba1..c4a664c4eff7 100644
--- a/generated/Sphere/Sphere.Autorest/generated/cmdlets/UpdateAzSphereDevice_UpdateExpanded.cs
+++ b/generated/Sphere/Sphere.Autorest/generated/cmdlets/UpdateAzSphereDevice_UpdateExpanded.cs
@@ -11,7 +11,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets
using System;
///
- /// Update a Device. Use '.unassigned' or '.default' for the device group and product names to move a device to the catalog
+ /// update a Device. Use '.unassigned' or '.default' for the device group and product names to move a device to the catalog
/// level.
///
///
@@ -19,7 +19,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzSphereDevice_UpdateExpanded", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDevice))]
- [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"Update a Device. Use '.unassigned' or '.default' for the device group and product names to move a device to the catalog level.")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"update a Device. Use '.unassigned' or '.default' for the device group and product names to move a device to the catalog level.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Generated]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/products/{productName}/deviceGroups/{deviceGroupName}/devices/{deviceName}", ApiVersion = "2024-04-01")]
public partial class UpdateAzSphereDevice_UpdateExpanded : global::System.Management.Automation.PSCmdlet,
@@ -43,18 +43,9 @@ public partial class UpdateAzSphereDevice_UpdateExpanded : global::System.Manage
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
/// The type used for update operations of the Device.
private Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDeviceUpdate _propertiesBody = new Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.DeviceUpdate();
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.ParameterCategory.Runtime)]
@@ -310,11 +301,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets.UpdateAzSphereDevice_Up
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.Sphere.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -630,24 +616,7 @@ public UpdateAzSphereDevice_UpdateExpanded()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDevice
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/Sphere/Sphere.Autorest/generated/cmdlets/UpdateAzSphereDevice_UpdateViaIdentityCatalogExpanded.cs b/generated/Sphere/Sphere.Autorest/generated/cmdlets/UpdateAzSphereDevice_UpdateViaIdentityCatalogExpanded.cs
index 0cf24adab376..2665bba153bc 100644
--- a/generated/Sphere/Sphere.Autorest/generated/cmdlets/UpdateAzSphereDevice_UpdateViaIdentityCatalogExpanded.cs
+++ b/generated/Sphere/Sphere.Autorest/generated/cmdlets/UpdateAzSphereDevice_UpdateViaIdentityCatalogExpanded.cs
@@ -11,7 +11,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets
using System;
///
- /// Update a Device. Use '.unassigned' or '.default' for the device group and product names to move a device to the catalog
+ /// update a Device. Use '.unassigned' or '.default' for the device group and product names to move a device to the catalog
/// level.
///
///
@@ -19,7 +19,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzSphereDevice_UpdateViaIdentityCatalogExpanded", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDevice))]
- [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"Update a Device. Use '.unassigned' or '.default' for the device group and product names to move a device to the catalog level.")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"update a Device. Use '.unassigned' or '.default' for the device group and product names to move a device to the catalog level.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Generated]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/products/{productName}/deviceGroups/{deviceGroupName}/devices/{deviceName}", ApiVersion = "2024-04-01")]
public partial class UpdateAzSphereDevice_UpdateViaIdentityCatalogExpanded : global::System.Management.Automation.PSCmdlet,
@@ -43,18 +43,9 @@ public partial class UpdateAzSphereDevice_UpdateViaIdentityCatalogExpanded : glo
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
/// The type used for update operations of the Device.
private Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDeviceUpdate _propertiesBody = new Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.DeviceUpdate();
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.ParameterCategory.Runtime)]
@@ -268,11 +259,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets.UpdateAzSphereDevice_Up
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.Sphere.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -609,24 +595,7 @@ public UpdateAzSphereDevice_UpdateViaIdentityCatalogExpanded()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDevice
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/Sphere/Sphere.Autorest/generated/cmdlets/UpdateAzSphereDevice_UpdateViaIdentityDeviceGroupExpanded.cs b/generated/Sphere/Sphere.Autorest/generated/cmdlets/UpdateAzSphereDevice_UpdateViaIdentityDeviceGroupExpanded.cs
index 1578c62ac6bc..c6b694e2f956 100644
--- a/generated/Sphere/Sphere.Autorest/generated/cmdlets/UpdateAzSphereDevice_UpdateViaIdentityDeviceGroupExpanded.cs
+++ b/generated/Sphere/Sphere.Autorest/generated/cmdlets/UpdateAzSphereDevice_UpdateViaIdentityDeviceGroupExpanded.cs
@@ -11,7 +11,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets
using System;
///
- /// Update a Device. Use '.unassigned' or '.default' for the device group and product names to move a device to the catalog
+ /// update a Device. Use '.unassigned' or '.default' for the device group and product names to move a device to the catalog
/// level.
///
///
@@ -19,7 +19,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzSphereDevice_UpdateViaIdentityDeviceGroupExpanded", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDevice))]
- [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"Update a Device. Use '.unassigned' or '.default' for the device group and product names to move a device to the catalog level.")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"update a Device. Use '.unassigned' or '.default' for the device group and product names to move a device to the catalog level.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Generated]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/products/{productName}/deviceGroups/{deviceGroupName}/devices/{deviceName}", ApiVersion = "2024-04-01")]
public partial class UpdateAzSphereDevice_UpdateViaIdentityDeviceGroupExpanded : global::System.Management.Automation.PSCmdlet,
@@ -43,18 +43,9 @@ public partial class UpdateAzSphereDevice_UpdateViaIdentityDeviceGroupExpanded :
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
/// The type used for update operations of the Device.
private Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDeviceUpdate _propertiesBody = new Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.DeviceUpdate();
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.ParameterCategory.Runtime)]
@@ -239,11 +230,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets.UpdateAzSphereDevice_Up
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.Sphere.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -588,24 +574,7 @@ public UpdateAzSphereDevice_UpdateViaIdentityDeviceGroupExpanded()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDevice
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/Sphere/Sphere.Autorest/generated/cmdlets/UpdateAzSphereDevice_UpdateViaIdentityExpanded.cs b/generated/Sphere/Sphere.Autorest/generated/cmdlets/UpdateAzSphereDevice_UpdateViaIdentityExpanded.cs
index 9144b1587405..cd00f8612842 100644
--- a/generated/Sphere/Sphere.Autorest/generated/cmdlets/UpdateAzSphereDevice_UpdateViaIdentityExpanded.cs
+++ b/generated/Sphere/Sphere.Autorest/generated/cmdlets/UpdateAzSphereDevice_UpdateViaIdentityExpanded.cs
@@ -11,7 +11,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets
using System;
///
- /// Update a Device. Use '.unassigned' or '.default' for the device group and product names to move a device to the catalog
+ /// update a Device. Use '.unassigned' or '.default' for the device group and product names to move a device to the catalog
/// level.
///
///
@@ -19,7 +19,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzSphereDevice_UpdateViaIdentityExpanded", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDevice))]
- [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"Update a Device. Use '.unassigned' or '.default' for the device group and product names to move a device to the catalog level.")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"update a Device. Use '.unassigned' or '.default' for the device group and product names to move a device to the catalog level.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Generated]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/products/{productName}/deviceGroups/{deviceGroupName}/devices/{deviceName}", ApiVersion = "2024-04-01")]
public partial class UpdateAzSphereDevice_UpdateViaIdentityExpanded : global::System.Management.Automation.PSCmdlet,
@@ -43,18 +43,9 @@ public partial class UpdateAzSphereDevice_UpdateViaIdentityExpanded : global::Sy
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
/// The type used for update operations of the Device.
private Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDeviceUpdate _propertiesBody = new Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.DeviceUpdate();
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.ParameterCategory.Runtime)]
@@ -221,11 +212,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets.UpdateAzSphereDevice_Up
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.Sphere.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -573,24 +559,7 @@ public UpdateAzSphereDevice_UpdateViaIdentityExpanded()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDevice
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/Sphere/Sphere.Autorest/generated/cmdlets/UpdateAzSphereDevice_UpdateViaIdentityProductExpanded.cs b/generated/Sphere/Sphere.Autorest/generated/cmdlets/UpdateAzSphereDevice_UpdateViaIdentityProductExpanded.cs
index d72e5032e3ad..11ce73edb28a 100644
--- a/generated/Sphere/Sphere.Autorest/generated/cmdlets/UpdateAzSphereDevice_UpdateViaIdentityProductExpanded.cs
+++ b/generated/Sphere/Sphere.Autorest/generated/cmdlets/UpdateAzSphereDevice_UpdateViaIdentityProductExpanded.cs
@@ -11,7 +11,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets
using System;
///
- /// Update a Device. Use '.unassigned' or '.default' for the device group and product names to move a device to the catalog
+ /// update a Device. Use '.unassigned' or '.default' for the device group and product names to move a device to the catalog
/// level.
///
///
@@ -19,7 +19,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzSphereDevice_UpdateViaIdentityProductExpanded", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDevice))]
- [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"Update a Device. Use '.unassigned' or '.default' for the device group and product names to move a device to the catalog level.")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"update a Device. Use '.unassigned' or '.default' for the device group and product names to move a device to the catalog level.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Generated]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/products/{productName}/deviceGroups/{deviceGroupName}/devices/{deviceName}", ApiVersion = "2024-04-01")]
public partial class UpdateAzSphereDevice_UpdateViaIdentityProductExpanded : global::System.Management.Automation.PSCmdlet,
@@ -43,18 +43,9 @@ public partial class UpdateAzSphereDevice_UpdateViaIdentityProductExpanded : glo
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
/// The type used for update operations of the Device.
private Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDeviceUpdate _propertiesBody = new Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.DeviceUpdate();
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.ParameterCategory.Runtime)]
@@ -253,11 +244,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets.UpdateAzSphereDevice_Up
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.Sphere.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -598,24 +584,7 @@ public UpdateAzSphereDevice_UpdateViaIdentityProductExpanded()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDevice
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/Sphere/Sphere.Autorest/generated/cmdlets/UpdateAzSphereDevice_UpdateViaJsonFilePath.cs b/generated/Sphere/Sphere.Autorest/generated/cmdlets/UpdateAzSphereDevice_UpdateViaJsonFilePath.cs
index 279d33606446..e3edc2a52397 100644
--- a/generated/Sphere/Sphere.Autorest/generated/cmdlets/UpdateAzSphereDevice_UpdateViaJsonFilePath.cs
+++ b/generated/Sphere/Sphere.Autorest/generated/cmdlets/UpdateAzSphereDevice_UpdateViaJsonFilePath.cs
@@ -11,7 +11,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets
using System;
///
- /// Update a Device. Use '.unassigned' or '.default' for the device group and product names to move a device to the catalog
+ /// update a Device. Use '.unassigned' or '.default' for the device group and product names to move a device to the catalog
/// level.
///
///
@@ -19,7 +19,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzSphereDevice_UpdateViaJsonFilePath", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDevice))]
- [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"Update a Device. Use '.unassigned' or '.default' for the device group and product names to move a device to the catalog level.")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"update a Device. Use '.unassigned' or '.default' for the device group and product names to move a device to the catalog level.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Generated]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/products/{productName}/deviceGroups/{deviceGroupName}/devices/{deviceName}", ApiVersion = "2024-04-01")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.NotSuggestDefaultParameterSet]
@@ -44,17 +44,8 @@ public partial class UpdateAzSphereDevice_UpdateViaJsonFilePath : global::System
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
public global::System.String _jsonString;
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.ParameterCategory.Runtime)]
@@ -312,11 +303,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets.UpdateAzSphereDevice_Up
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.Sphere.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -632,24 +618,7 @@ public UpdateAzSphereDevice_UpdateViaJsonFilePath()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDevice
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/Sphere/Sphere.Autorest/generated/cmdlets/UpdateAzSphereDevice_UpdateViaJsonString.cs b/generated/Sphere/Sphere.Autorest/generated/cmdlets/UpdateAzSphereDevice_UpdateViaJsonString.cs
index 34e79030dbf7..471af9bd6b16 100644
--- a/generated/Sphere/Sphere.Autorest/generated/cmdlets/UpdateAzSphereDevice_UpdateViaJsonString.cs
+++ b/generated/Sphere/Sphere.Autorest/generated/cmdlets/UpdateAzSphereDevice_UpdateViaJsonString.cs
@@ -11,7 +11,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets
using System;
///
- /// Update a Device. Use '.unassigned' or '.default' for the device group and product names to move a device to the catalog
+ /// update a Device. Use '.unassigned' or '.default' for the device group and product names to move a device to the catalog
/// level.
///
///
@@ -19,7 +19,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzSphereDevice_UpdateViaJsonString", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDevice))]
- [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"Update a Device. Use '.unassigned' or '.default' for the device group and product names to move a device to the catalog level.")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"update a Device. Use '.unassigned' or '.default' for the device group and product names to move a device to the catalog level.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Generated]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/products/{productName}/deviceGroups/{deviceGroupName}/devices/{deviceName}", ApiVersion = "2024-04-01")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.NotSuggestDefaultParameterSet]
@@ -44,15 +44,6 @@ public partial class UpdateAzSphereDevice_UpdateViaJsonString : global::System.M
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.ParameterCategory.Runtime)]
@@ -310,11 +301,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets.UpdateAzSphereDevice_Up
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.Sphere.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -630,24 +616,7 @@ public UpdateAzSphereDevice_UpdateViaJsonString()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDevice
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/Sphere/Sphere.Autorest/generated/cmdlets/UpdateAzSphereProduct_UpdateExpanded.cs b/generated/Sphere/Sphere.Autorest/generated/cmdlets/UpdateAzSphereProduct_UpdateExpanded.cs
index e6f212f7872f..6ea509690fe8 100644
--- a/generated/Sphere/Sphere.Autorest/generated/cmdlets/UpdateAzSphereProduct_UpdateExpanded.cs
+++ b/generated/Sphere/Sphere.Autorest/generated/cmdlets/UpdateAzSphereProduct_UpdateExpanded.cs
@@ -11,14 +11,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets
using System;
///
- /// Update a Product. '.default' and '.unassigned' are system defined values and cannot be used for product name.
+ /// update a Product. '.default' and '.unassigned' are system defined values and cannot be used for product name.
///
///
/// [OpenAPI] Update=>PATCH:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/products/{productName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzSphereProduct_UpdateExpanded", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IProduct))]
- [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"Update a Product. '.default' and '.unassigned' are system defined values and cannot be used for product name.")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"update a Product. '.default' and '.unassigned' are system defined values and cannot be used for product name.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Generated]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/products/{productName}", ApiVersion = "2024-04-01")]
public partial class UpdateAzSphereProduct_UpdateExpanded : global::System.Management.Automation.PSCmdlet,
@@ -42,18 +42,9 @@ public partial class UpdateAzSphereProduct_UpdateExpanded : global::System.Manag
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
/// The type used for update operations of the Product.
private Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IProductUpdate _propertiesBody = new Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ProductUpdate();
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.ParameterCategory.Runtime)]
@@ -278,11 +269,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets.UpdateAzSphereProduct_U
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.Sphere.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -598,24 +584,7 @@ public UpdateAzSphereProduct_UpdateExpanded()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IProduct
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/Sphere/Sphere.Autorest/generated/cmdlets/UpdateAzSphereProduct_UpdateViaIdentityCatalogExpanded.cs b/generated/Sphere/Sphere.Autorest/generated/cmdlets/UpdateAzSphereProduct_UpdateViaIdentityCatalogExpanded.cs
index 6f870ba3fdb8..ea051f4589b6 100644
--- a/generated/Sphere/Sphere.Autorest/generated/cmdlets/UpdateAzSphereProduct_UpdateViaIdentityCatalogExpanded.cs
+++ b/generated/Sphere/Sphere.Autorest/generated/cmdlets/UpdateAzSphereProduct_UpdateViaIdentityCatalogExpanded.cs
@@ -11,14 +11,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets
using System;
///
- /// Update a Product. '.default' and '.unassigned' are system defined values and cannot be used for product name.
+ /// update a Product. '.default' and '.unassigned' are system defined values and cannot be used for product name.
///
///
/// [OpenAPI] Update=>PATCH:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/products/{productName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzSphereProduct_UpdateViaIdentityCatalogExpanded", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IProduct))]
- [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"Update a Product. '.default' and '.unassigned' are system defined values and cannot be used for product name.")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"update a Product. '.default' and '.unassigned' are system defined values and cannot be used for product name.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Generated]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/products/{productName}", ApiVersion = "2024-04-01")]
public partial class UpdateAzSphereProduct_UpdateViaIdentityCatalogExpanded : global::System.Management.Automation.PSCmdlet,
@@ -42,18 +42,9 @@ public partial class UpdateAzSphereProduct_UpdateViaIdentityCatalogExpanded : gl
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
/// The type used for update operations of the Product.
private Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IProductUpdate _propertiesBody = new Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ProductUpdate();
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.ParameterCategory.Runtime)]
@@ -236,11 +227,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets.UpdateAzSphereProduct_U
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.Sphere.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -577,24 +563,7 @@ public UpdateAzSphereProduct_UpdateViaIdentityCatalogExpanded()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IProduct
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/Sphere/Sphere.Autorest/generated/cmdlets/UpdateAzSphereProduct_UpdateViaIdentityExpanded.cs b/generated/Sphere/Sphere.Autorest/generated/cmdlets/UpdateAzSphereProduct_UpdateViaIdentityExpanded.cs
index 35c571046590..13d7dc4c5655 100644
--- a/generated/Sphere/Sphere.Autorest/generated/cmdlets/UpdateAzSphereProduct_UpdateViaIdentityExpanded.cs
+++ b/generated/Sphere/Sphere.Autorest/generated/cmdlets/UpdateAzSphereProduct_UpdateViaIdentityExpanded.cs
@@ -11,14 +11,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets
using System;
///
- /// Update a Product. '.default' and '.unassigned' are system defined values and cannot be used for product name.
+ /// update a Product. '.default' and '.unassigned' are system defined values and cannot be used for product name.
///
///
/// [OpenAPI] Update=>PATCH:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/products/{productName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzSphereProduct_UpdateViaIdentityExpanded", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IProduct))]
- [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"Update a Product. '.default' and '.unassigned' are system defined values and cannot be used for product name.")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"update a Product. '.default' and '.unassigned' are system defined values and cannot be used for product name.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Generated]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/products/{productName}", ApiVersion = "2024-04-01")]
public partial class UpdateAzSphereProduct_UpdateViaIdentityExpanded : global::System.Management.Automation.PSCmdlet,
@@ -42,18 +42,9 @@ public partial class UpdateAzSphereProduct_UpdateViaIdentityExpanded : global::S
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
/// The type used for update operations of the Product.
private Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IProductUpdate _propertiesBody = new Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.ProductUpdate();
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.ParameterCategory.Runtime)]
@@ -220,11 +211,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets.UpdateAzSphereProduct_U
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.Sphere.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -564,24 +550,7 @@ public UpdateAzSphereProduct_UpdateViaIdentityExpanded()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IProduct
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/Sphere/Sphere.Autorest/generated/cmdlets/UpdateAzSphereProduct_UpdateViaJsonFilePath.cs b/generated/Sphere/Sphere.Autorest/generated/cmdlets/UpdateAzSphereProduct_UpdateViaJsonFilePath.cs
index a89116eeed23..10e90199b97b 100644
--- a/generated/Sphere/Sphere.Autorest/generated/cmdlets/UpdateAzSphereProduct_UpdateViaJsonFilePath.cs
+++ b/generated/Sphere/Sphere.Autorest/generated/cmdlets/UpdateAzSphereProduct_UpdateViaJsonFilePath.cs
@@ -11,14 +11,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets
using System;
///
- /// Update a Product. '.default' and '.unassigned' are system defined values and cannot be used for product name.
+ /// update a Product. '.default' and '.unassigned' are system defined values and cannot be used for product name.
///
///
/// [OpenAPI] Update=>PATCH:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/products/{productName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzSphereProduct_UpdateViaJsonFilePath", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IProduct))]
- [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"Update a Product. '.default' and '.unassigned' are system defined values and cannot be used for product name.")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"update a Product. '.default' and '.unassigned' are system defined values and cannot be used for product name.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Generated]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/products/{productName}", ApiVersion = "2024-04-01")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.NotSuggestDefaultParameterSet]
@@ -43,17 +43,8 @@ public partial class UpdateAzSphereProduct_UpdateViaJsonFilePath : global::Syste
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
public global::System.String _jsonString;
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.ParameterCategory.Runtime)]
@@ -280,11 +271,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets.UpdateAzSphereProduct_U
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.Sphere.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -600,24 +586,7 @@ public UpdateAzSphereProduct_UpdateViaJsonFilePath()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IProduct
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/Sphere/Sphere.Autorest/generated/cmdlets/UpdateAzSphereProduct_UpdateViaJsonString.cs b/generated/Sphere/Sphere.Autorest/generated/cmdlets/UpdateAzSphereProduct_UpdateViaJsonString.cs
index 4ef932337dd4..ca49f915cfeb 100644
--- a/generated/Sphere/Sphere.Autorest/generated/cmdlets/UpdateAzSphereProduct_UpdateViaJsonString.cs
+++ b/generated/Sphere/Sphere.Autorest/generated/cmdlets/UpdateAzSphereProduct_UpdateViaJsonString.cs
@@ -11,14 +11,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets
using System;
///
- /// Update a Product. '.default' and '.unassigned' are system defined values and cannot be used for product name.
+ /// update a Product. '.default' and '.unassigned' are system defined values and cannot be used for product name.
///
///
/// [OpenAPI] Update=>PATCH:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/products/{productName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzSphereProduct_UpdateViaJsonString", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IProduct))]
- [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"Update a Product. '.default' and '.unassigned' are system defined values and cannot be used for product name.")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Description(@"update a Product. '.default' and '.unassigned' are system defined values and cannot be used for product name.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Generated]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/products/{productName}", ApiVersion = "2024-04-01")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.NotSuggestDefaultParameterSet]
@@ -43,15 +43,6 @@ public partial class UpdateAzSphereProduct_UpdateViaJsonString : global::System.
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Sphere.ParameterCategory.Runtime)]
@@ -278,11 +269,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.Sphere.Cmdlets.UpdateAzSphereProduct_U
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.Sphere.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -598,24 +584,7 @@ public UpdateAzSphereProduct_UpdateViaJsonString()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IProduct
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/Sphere/Sphere.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs b/generated/Sphere/Sphere.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs
index d9990731402f..7112a5d3ed4f 100644
--- a/generated/Sphere/Sphere.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs
+++ b/generated/Sphere/Sphere.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/Sphere/Sphere.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs b/generated/Sphere/Sphere.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs
index 8a8f74ac5682..e18a63be3e42 100644
--- a/generated/Sphere/Sphere.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs
+++ b/generated/Sphere/Sphere.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs
@@ -216,6 +216,20 @@ public string GetProcessCustomAttributesAtRuntime()
{Indent}{Indent}[Microsoft.Azure.PowerShell.Cmdlets.Sphere.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.Sphere.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.Sphere.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/Sphere/Sphere.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs b/generated/Sphere/Sphere.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs
index f4d90e0d7c8d..1546aeb66a37 100644
--- a/generated/Sphere/Sphere.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs
+++ b/generated/Sphere/Sphere.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/Sphere/Sphere.Autorest/generated/runtime/BuildTime/PsAttributes.cs b/generated/Sphere/Sphere.Autorest/generated/runtime/BuildTime/PsAttributes.cs
index a4804e9d67d7..10e80a8f0f37 100644
--- a/generated/Sphere/Sphere.Autorest/generated/runtime/BuildTime/PsAttributes.cs
+++ b/generated/Sphere/Sphere.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/Sphere/Sphere.Autorest/generated/runtime/Context.cs b/generated/Sphere/Sphere.Autorest/generated/runtime/Context.cs
index 6307b17a66ed..e781cce98ba5 100644
--- a/generated/Sphere/Sphere.Autorest/generated/runtime/Context.cs
+++ b/generated/Sphere/Sphere.Autorest/generated/runtime/Context.cs
@@ -20,7 +20,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Sphere.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/Sphere/Sphere.Autorest/generated/runtime/MessageAttribute.cs b/generated/Sphere/Sphere.Autorest/generated/runtime/MessageAttribute.cs
index 0aea2cb4f32c..82f7e2504013 100644
--- a/generated/Sphere/Sphere.Autorest/generated/runtime/MessageAttribute.cs
+++ b/generated/Sphere/Sphere.Autorest/generated/runtime/MessageAttribute.cs
@@ -16,9 +16,12 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Sphere.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.Sphere" : @"";
+
//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/Sphere/Sphere.Autorest/generated/runtime/Properties/Resources.resx b/generated/Sphere/Sphere.Autorest/generated/runtime/Properties/Resources.resx
index a08a2e50172b..4ef90b70573d 100644
--- a/generated/Sphere/Sphere.Autorest/generated/runtime/Properties/Resources.resx
+++ b/generated/Sphere/Sphere.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/Sphere/Sphere.Autorest/internal/Get-AzSphereOperation.ps1 b/generated/Sphere/Sphere.Autorest/internal/Get-AzSphereOperation.ps1
index ec79c93fad52..3e6397eadea0 100644
--- a/generated/Sphere/Sphere.Autorest/internal/Get-AzSphereOperation.ps1
+++ b/generated/Sphere/Sphere.Autorest/internal/Get-AzSphereOperation.ps1
@@ -90,11 +90,17 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
$mapping = @{
List = 'Az.Sphere.private\Get-AzSphereOperation_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/Sphere/Sphere.Autorest/internal/ProxyCmdletDefinitions.ps1 b/generated/Sphere/Sphere.Autorest/internal/ProxyCmdletDefinitions.ps1
index d42d8197c1ca..c09ab2f89439 100644
--- a/generated/Sphere/Sphere.Autorest/internal/ProxyCmdletDefinitions.ps1
+++ b/generated/Sphere/Sphere.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.Sphere.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
$mapping = @{
List = 'Az.Sphere.private\Get-AzSphereOperation_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)
@@ -258,14 +264,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
$mapping = @{
UpdateExpanded = 'Az.Sphere.private\Set-AzSphereCatalog_UpdateExpanded';
UpdateViaJsonFilePath = 'Az.Sphere.private\Set-AzSphereCatalog_UpdateViaJsonFilePath';
UpdateViaJsonString = 'Az.Sphere.private\Set-AzSphereCatalog_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.Sphere.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -274,6 +281,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)
@@ -467,14 +477,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
$mapping = @{
UpdateExpanded = 'Az.Sphere.private\Set-AzSphereDeployment_UpdateExpanded';
UpdateViaJsonFilePath = 'Az.Sphere.private\Set-AzSphereDeployment_UpdateViaJsonFilePath';
UpdateViaJsonString = 'Az.Sphere.private\Set-AzSphereDeployment_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.Sphere.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -483,6 +494,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)
@@ -681,14 +695,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
$mapping = @{
UpdateExpanded = 'Az.Sphere.private\Set-AzSphereDeviceGroup_UpdateExpanded';
UpdateViaJsonFilePath = 'Az.Sphere.private\Set-AzSphereDeviceGroup_UpdateViaJsonFilePath';
UpdateViaJsonString = 'Az.Sphere.private\Set-AzSphereDeviceGroup_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.Sphere.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -697,6 +712,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)
@@ -874,14 +892,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
$mapping = @{
UpdateExpanded = 'Az.Sphere.private\Set-AzSphereDevice_UpdateExpanded';
UpdateViaJsonFilePath = 'Az.Sphere.private\Set-AzSphereDevice_UpdateViaJsonFilePath';
UpdateViaJsonString = 'Az.Sphere.private\Set-AzSphereDevice_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.Sphere.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -890,6 +909,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)
@@ -1067,14 +1089,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
$mapping = @{
UpdateExpanded = 'Az.Sphere.private\Set-AzSphereImage_UpdateExpanded';
UpdateViaJsonFilePath = 'Az.Sphere.private\Set-AzSphereImage_UpdateViaJsonFilePath';
UpdateViaJsonString = 'Az.Sphere.private\Set-AzSphereImage_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.Sphere.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -1083,6 +1106,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)
@@ -1247,14 +1273,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
$mapping = @{
UpdateExpanded = 'Az.Sphere.private\Set-AzSphereProduct_UpdateExpanded';
UpdateViaJsonFilePath = 'Az.Sphere.private\Set-AzSphereProduct_UpdateViaJsonFilePath';
UpdateViaJsonString = 'Az.Sphere.private\Set-AzSphereProduct_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.Sphere.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -1263,6 +1290,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/Sphere/Sphere.Autorest/internal/Set-AzSphereCatalog.ps1 b/generated/Sphere/Sphere.Autorest/internal/Set-AzSphereCatalog.ps1
index 38becf8cff89..471881066039 100644
--- a/generated/Sphere/Sphere.Autorest/internal/Set-AzSphereCatalog.ps1
+++ b/generated/Sphere/Sphere.Autorest/internal/Set-AzSphereCatalog.ps1
@@ -148,14 +148,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
$mapping = @{
UpdateExpanded = 'Az.Sphere.private\Set-AzSphereCatalog_UpdateExpanded';
UpdateViaJsonFilePath = 'Az.Sphere.private\Set-AzSphereCatalog_UpdateViaJsonFilePath';
UpdateViaJsonString = 'Az.Sphere.private\Set-AzSphereCatalog_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.Sphere.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -164,6 +165,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/Sphere/Sphere.Autorest/internal/Set-AzSphereDeployment.ps1 b/generated/Sphere/Sphere.Autorest/internal/Set-AzSphereDeployment.ps1
index ea21d9db1568..4418f859a8c2 100644
--- a/generated/Sphere/Sphere.Autorest/internal/Set-AzSphereDeployment.ps1
+++ b/generated/Sphere/Sphere.Autorest/internal/Set-AzSphereDeployment.ps1
@@ -178,14 +178,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
$mapping = @{
UpdateExpanded = 'Az.Sphere.private\Set-AzSphereDeployment_UpdateExpanded';
UpdateViaJsonFilePath = 'Az.Sphere.private\Set-AzSphereDeployment_UpdateViaJsonFilePath';
UpdateViaJsonString = 'Az.Sphere.private\Set-AzSphereDeployment_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.Sphere.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -194,6 +195,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/Sphere/Sphere.Autorest/internal/Set-AzSphereDevice.ps1 b/generated/Sphere/Sphere.Autorest/internal/Set-AzSphereDevice.ps1
index 3f73466a7b12..29b88ceab5b5 100644
--- a/generated/Sphere/Sphere.Autorest/internal/Set-AzSphereDevice.ps1
+++ b/generated/Sphere/Sphere.Autorest/internal/Set-AzSphereDevice.ps1
@@ -162,14 +162,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
$mapping = @{
UpdateExpanded = 'Az.Sphere.private\Set-AzSphereDevice_UpdateExpanded';
UpdateViaJsonFilePath = 'Az.Sphere.private\Set-AzSphereDevice_UpdateViaJsonFilePath';
UpdateViaJsonString = 'Az.Sphere.private\Set-AzSphereDevice_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.Sphere.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -178,6 +179,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/Sphere/Sphere.Autorest/internal/Set-AzSphereDeviceGroup.ps1 b/generated/Sphere/Sphere.Autorest/internal/Set-AzSphereDeviceGroup.ps1
index 37edfce2a336..7ec9c18add2e 100644
--- a/generated/Sphere/Sphere.Autorest/internal/Set-AzSphereDeviceGroup.ps1
+++ b/generated/Sphere/Sphere.Autorest/internal/Set-AzSphereDeviceGroup.ps1
@@ -183,14 +183,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
$mapping = @{
UpdateExpanded = 'Az.Sphere.private\Set-AzSphereDeviceGroup_UpdateExpanded';
UpdateViaJsonFilePath = 'Az.Sphere.private\Set-AzSphereDeviceGroup_UpdateViaJsonFilePath';
UpdateViaJsonString = 'Az.Sphere.private\Set-AzSphereDeviceGroup_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.Sphere.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 +200,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/Sphere/Sphere.Autorest/internal/Set-AzSphereImage.ps1 b/generated/Sphere/Sphere.Autorest/internal/Set-AzSphereImage.ps1
index b604cd146077..5a47d3ef3999 100644
--- a/generated/Sphere/Sphere.Autorest/internal/Set-AzSphereImage.ps1
+++ b/generated/Sphere/Sphere.Autorest/internal/Set-AzSphereImage.ps1
@@ -162,14 +162,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
$mapping = @{
UpdateExpanded = 'Az.Sphere.private\Set-AzSphereImage_UpdateExpanded';
UpdateViaJsonFilePath = 'Az.Sphere.private\Set-AzSphereImage_UpdateViaJsonFilePath';
UpdateViaJsonString = 'Az.Sphere.private\Set-AzSphereImage_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.Sphere.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -178,6 +179,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/Sphere/Sphere.Autorest/internal/Set-AzSphereProduct.ps1 b/generated/Sphere/Sphere.Autorest/internal/Set-AzSphereProduct.ps1
index 5230d5d3b301..a9e3e982e0d4 100644
--- a/generated/Sphere/Sphere.Autorest/internal/Set-AzSphereProduct.ps1
+++ b/generated/Sphere/Sphere.Autorest/internal/Set-AzSphereProduct.ps1
@@ -149,14 +149,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
$mapping = @{
UpdateExpanded = 'Az.Sphere.private\Set-AzSphereProduct_UpdateExpanded';
UpdateViaJsonFilePath = 'Az.Sphere.private\Set-AzSphereProduct_UpdateViaJsonFilePath';
UpdateViaJsonString = 'Az.Sphere.private\Set-AzSphereProduct_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.Sphere.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -165,6 +166,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/ServiceBus/ServiceBus.Autorest/resources/README.md b/generated/Sphere/Sphere.Autorest/resources/README.md
similarity index 100%
rename from src/ServiceBus/ServiceBus.Autorest/resources/README.md
rename to generated/Sphere/Sphere.Autorest/resources/README.md
diff --git a/generated/SpringCloud/SpringCloud.Autorest/exports/Deploy-AzSpringCloudApp.ps1 b/generated/SpringCloud/SpringCloud.Autorest/exports/Deploy-AzSpringCloudApp.ps1
index 1e016decf0ba..90ee4d52be1d 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/exports/Deploy-AzSpringCloudApp.ps1
+++ b/generated/SpringCloud/SpringCloud.Autorest/exports/Deploy-AzSpringCloudApp.ps1
@@ -64,7 +64,7 @@ param(
[Parameter(Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Category('Path')]
[System.String]
- # The path of the file need to be deploied.
+ # The path of the file need to be deployed.
# The file supports Jar, NetcoreZip and Source.
${FilePath},
@@ -161,8 +161,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/SpringCloud/SpringCloud.Autorest/exports/Disable-AzSpringCloudTestEndpoint.ps1 b/generated/SpringCloud/SpringCloud.Autorest/exports/Disable-AzSpringCloudTestEndpoint.ps1
index 681406d14e16..64f552587cc2 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/exports/Disable-AzSpringCloudTestEndpoint.ps1
+++ b/generated/SpringCloud/SpringCloud.Autorest/exports/Disable-AzSpringCloudTestEndpoint.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/SpringCloud/SpringCloud.Autorest/exports/Enable-AzSpringCloudTestEndpoint.ps1 b/generated/SpringCloud/SpringCloud.Autorest/exports/Enable-AzSpringCloudTestEndpoint.ps1
index f8966a5a2337..008891b64dfc 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/exports/Enable-AzSpringCloudTestEndpoint.ps1
+++ b/generated/SpringCloud/SpringCloud.Autorest/exports/Enable-AzSpringCloudTestEndpoint.ps1
@@ -150,8 +150,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/SpringCloud/SpringCloud.Autorest/exports/Get-AzSpringCloud.ps1 b/generated/SpringCloud/SpringCloud.Autorest/exports/Get-AzSpringCloud.ps1
index 2200dc152ffc..fdf0b5fabede 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/exports/Get-AzSpringCloud.ps1
+++ b/generated/SpringCloud/SpringCloud.Autorest/exports/Get-AzSpringCloud.ps1
@@ -158,8 +158,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/SpringCloud/SpringCloud.Autorest/exports/Get-AzSpringCloudApp.ps1 b/generated/SpringCloud/SpringCloud.Autorest/exports/Get-AzSpringCloudApp.ps1
index 00fe9ae1748e..e2d313d7f03c 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/exports/Get-AzSpringCloudApp.ps1
+++ b/generated/SpringCloud/SpringCloud.Autorest/exports/Get-AzSpringCloudApp.ps1
@@ -199,8 +199,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/SpringCloud/SpringCloud.Autorest/exports/Get-AzSpringCloudAppBinding.ps1 b/generated/SpringCloud/SpringCloud.Autorest/exports/Get-AzSpringCloudAppBinding.ps1
index ee69c888ddf0..0f3e36e083af 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/exports/Get-AzSpringCloudAppBinding.ps1
+++ b/generated/SpringCloud/SpringCloud.Autorest/exports/Get-AzSpringCloudAppBinding.ps1
@@ -228,8 +228,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/SpringCloud/SpringCloud.Autorest/exports/Get-AzSpringCloudAppCustomDomain.ps1 b/generated/SpringCloud/SpringCloud.Autorest/exports/Get-AzSpringCloudAppCustomDomain.ps1
index d7ad75ce0b75..7771f28aa571 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/exports/Get-AzSpringCloudAppCustomDomain.ps1
+++ b/generated/SpringCloud/SpringCloud.Autorest/exports/Get-AzSpringCloudAppCustomDomain.ps1
@@ -225,8 +225,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/SpringCloud/SpringCloud.Autorest/exports/Get-AzSpringCloudAppDeployment.ps1 b/generated/SpringCloud/SpringCloud.Autorest/exports/Get-AzSpringCloudAppDeployment.ps1
index 5165710abac0..ee5d3a97b7a3 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/exports/Get-AzSpringCloudAppDeployment.ps1
+++ b/generated/SpringCloud/SpringCloud.Autorest/exports/Get-AzSpringCloudAppDeployment.ps1
@@ -240,8 +240,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/SpringCloud/SpringCloud.Autorest/exports/Get-AzSpringCloudAppDeploymentLogFileUrl.ps1 b/generated/SpringCloud/SpringCloud.Autorest/exports/Get-AzSpringCloudAppDeploymentLogFileUrl.ps1
index 2adaa7ea1564..7510d65a0a75 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/exports/Get-AzSpringCloudAppDeploymentLogFileUrl.ps1
+++ b/generated/SpringCloud/SpringCloud.Autorest/exports/Get-AzSpringCloudAppDeploymentLogFileUrl.ps1
@@ -227,8 +227,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/SpringCloud/SpringCloud.Autorest/exports/Get-AzSpringCloudBuildService.ps1 b/generated/SpringCloud/SpringCloud.Autorest/exports/Get-AzSpringCloudBuildService.ps1
index 2f563b943b56..bc8bb04dca6a 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/exports/Get-AzSpringCloudBuildService.ps1
+++ b/generated/SpringCloud/SpringCloud.Autorest/exports/Get-AzSpringCloudBuildService.ps1
@@ -178,8 +178,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/SpringCloud/SpringCloud.Autorest/exports/Get-AzSpringCloudBuildServiceAgentPool.ps1 b/generated/SpringCloud/SpringCloud.Autorest/exports/Get-AzSpringCloudBuildServiceAgentPool.ps1
index 667245b533e6..fdbd009cb544 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/exports/Get-AzSpringCloudBuildServiceAgentPool.ps1
+++ b/generated/SpringCloud/SpringCloud.Autorest/exports/Get-AzSpringCloudBuildServiceAgentPool.ps1
@@ -150,8 +150,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/SpringCloud/SpringCloud.Autorest/exports/Get-AzSpringCloudBuildServiceBuilder.ps1 b/generated/SpringCloud/SpringCloud.Autorest/exports/Get-AzSpringCloudBuildServiceBuilder.ps1
index fcda1c219db1..fade79431ebd 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/exports/Get-AzSpringCloudBuildServiceBuilder.ps1
+++ b/generated/SpringCloud/SpringCloud.Autorest/exports/Get-AzSpringCloudBuildServiceBuilder.ps1
@@ -190,8 +190,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/SpringCloud/SpringCloud.Autorest/exports/Get-AzSpringCloudBuildServiceSupportedBuildpack.ps1 b/generated/SpringCloud/SpringCloud.Autorest/exports/Get-AzSpringCloudBuildServiceSupportedBuildpack.ps1
index af70b7cfcf41..7b998f1c100a 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/exports/Get-AzSpringCloudBuildServiceSupportedBuildpack.ps1
+++ b/generated/SpringCloud/SpringCloud.Autorest/exports/Get-AzSpringCloudBuildServiceSupportedBuildpack.ps1
@@ -190,8 +190,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/SpringCloud/SpringCloud.Autorest/exports/Get-AzSpringCloudBuildServiceSupportedStack.ps1 b/generated/SpringCloud/SpringCloud.Autorest/exports/Get-AzSpringCloudBuildServiceSupportedStack.ps1
index 364bd94f07b4..69f1bcb043a6 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/exports/Get-AzSpringCloudBuildServiceSupportedStack.ps1
+++ b/generated/SpringCloud/SpringCloud.Autorest/exports/Get-AzSpringCloudBuildServiceSupportedStack.ps1
@@ -190,8 +190,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/SpringCloud/SpringCloud.Autorest/exports/Get-AzSpringCloudBuildpackBinding.ps1 b/generated/SpringCloud/SpringCloud.Autorest/exports/Get-AzSpringCloudBuildpackBinding.ps1
index 4c62c030618c..f5869812ec17 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/exports/Get-AzSpringCloudBuildpackBinding.ps1
+++ b/generated/SpringCloud/SpringCloud.Autorest/exports/Get-AzSpringCloudBuildpackBinding.ps1
@@ -228,8 +228,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/SpringCloud/SpringCloud.Autorest/exports/Get-AzSpringCloudCertificate.ps1 b/generated/SpringCloud/SpringCloud.Autorest/exports/Get-AzSpringCloudCertificate.ps1
index 2604bb81e833..9a69474a7eae 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/exports/Get-AzSpringCloudCertificate.ps1
+++ b/generated/SpringCloud/SpringCloud.Autorest/exports/Get-AzSpringCloudCertificate.ps1
@@ -189,8 +189,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/SpringCloud/SpringCloud.Autorest/exports/Get-AzSpringCloudConfigServer.ps1 b/generated/SpringCloud/SpringCloud.Autorest/exports/Get-AzSpringCloudConfigServer.ps1
index cf8a2af367ef..d23569b714fb 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/exports/Get-AzSpringCloudConfigServer.ps1
+++ b/generated/SpringCloud/SpringCloud.Autorest/exports/Get-AzSpringCloudConfigServer.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/SpringCloud/SpringCloud.Autorest/exports/Get-AzSpringCloudConfigurationService.ps1 b/generated/SpringCloud/SpringCloud.Autorest/exports/Get-AzSpringCloudConfigurationService.ps1
index 2f0fc8fe323d..04447821172c 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/exports/Get-AzSpringCloudConfigurationService.ps1
+++ b/generated/SpringCloud/SpringCloud.Autorest/exports/Get-AzSpringCloudConfigurationService.ps1
@@ -150,8 +150,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/SpringCloud/SpringCloud.Autorest/exports/Get-AzSpringCloudMonitoringSetting.ps1 b/generated/SpringCloud/SpringCloud.Autorest/exports/Get-AzSpringCloudMonitoringSetting.ps1
index 6939dfd08ca3..ee2ca3bd3f75 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/exports/Get-AzSpringCloudMonitoringSetting.ps1
+++ b/generated/SpringCloud/SpringCloud.Autorest/exports/Get-AzSpringCloudMonitoringSetting.ps1
@@ -150,8 +150,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/SpringCloud/SpringCloud.Autorest/exports/Get-AzSpringCloudRegistry.ps1 b/generated/SpringCloud/SpringCloud.Autorest/exports/Get-AzSpringCloudRegistry.ps1
index 75c3ddffffd6..8e8b862a80a0 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/exports/Get-AzSpringCloudRegistry.ps1
+++ b/generated/SpringCloud/SpringCloud.Autorest/exports/Get-AzSpringCloudRegistry.ps1
@@ -150,8 +150,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/SpringCloud/SpringCloud.Autorest/exports/Get-AzSpringCloudRuntimeVersion.ps1 b/generated/SpringCloud/SpringCloud.Autorest/exports/Get-AzSpringCloudRuntimeVersion.ps1
index 4fd2ef701372..d836ea9cb2f3 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/exports/Get-AzSpringCloudRuntimeVersion.ps1
+++ b/generated/SpringCloud/SpringCloud.Autorest/exports/Get-AzSpringCloudRuntimeVersion.ps1
@@ -93,8 +93,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/SpringCloud/SpringCloud.Autorest/exports/Get-AzSpringCloudSku.ps1 b/generated/SpringCloud/SpringCloud.Autorest/exports/Get-AzSpringCloudSku.ps1
index 93966e514e96..4d7b73d4751a 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/exports/Get-AzSpringCloudSku.ps1
+++ b/generated/SpringCloud/SpringCloud.Autorest/exports/Get-AzSpringCloudSku.ps1
@@ -101,8 +101,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/SpringCloud/SpringCloud.Autorest/exports/Get-AzSpringCloudTestKey.ps1 b/generated/SpringCloud/SpringCloud.Autorest/exports/Get-AzSpringCloudTestKey.ps1
index 7d1adab1575c..5d52a860d2b0 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/exports/Get-AzSpringCloudTestKey.ps1
+++ b/generated/SpringCloud/SpringCloud.Autorest/exports/Get-AzSpringCloudTestKey.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/SpringCloud/SpringCloud.Autorest/exports/New-AzSpringCloud.ps1 b/generated/SpringCloud/SpringCloud.Autorest/exports/New-AzSpringCloud.ps1
index 0b56ce7b9be6..d19edc7ac6a1 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/exports/New-AzSpringCloud.ps1
+++ b/generated/SpringCloud/SpringCloud.Autorest/exports/New-AzSpringCloud.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-create a new Service or update an exiting Service.
+Create a new Service or update an exiting Service.
.Description
-create a new Service or update an exiting Service.
+Create a new Service or update an exiting Service.
.Example
New-AzSpringCloud -ResourceGroupName springcloudrg -Name spring-pwsh01 -Location eastus
.Example
@@ -196,8 +196,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/SpringCloud/SpringCloud.Autorest/exports/New-AzSpringCloudApp.ps1 b/generated/SpringCloud/SpringCloud.Autorest/exports/New-AzSpringCloudApp.ps1
index 92d5cc90eb86..227837c32f12 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/exports/New-AzSpringCloudApp.ps1
+++ b/generated/SpringCloud/SpringCloud.Autorest/exports/New-AzSpringCloudApp.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-create a new App or update an exiting App.
+Create a new App or update an exiting App.
.Description
-create a new App or update an exiting App.
+Create a new App or update an exiting App.
.Example
New-AzSpringCloudApp -ResourceGroupName SpringCloud-gp-junxi -ServiceName springcloud-service -Name tools
@@ -227,8 +227,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/SpringCloud/SpringCloud.Autorest/exports/New-AzSpringCloudAppBinding.ps1 b/generated/SpringCloud/SpringCloud.Autorest/exports/New-AzSpringCloudAppBinding.ps1
index bf4f802379af..8dc6ed341791 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/exports/New-AzSpringCloudAppBinding.ps1
+++ b/generated/SpringCloud/SpringCloud.Autorest/exports/New-AzSpringCloudAppBinding.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-create a new Binding or create an exiting Binding.
+Create a new Binding or create an exiting Binding.
.Description
-create a new Binding or create an exiting Binding.
+Create a new Binding or create an exiting Binding.
.Example
New-AzSpringCloudAppBinding -ResourceGroupName SpringCloud-gp-junxi -ServiceName springcloud-service -name redis -Key myKey -ResourceId myResourceId -AppName tools -BindingParameter @{ "useSsl"= "true" }
@@ -247,8 +247,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/SpringCloud/SpringCloud.Autorest/exports/New-AzSpringCloudAppCustomDomain.ps1 b/generated/SpringCloud/SpringCloud.Autorest/exports/New-AzSpringCloudAppCustomDomain.ps1
index a9f79ccf4efa..ed90498dbfd8 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/exports/New-AzSpringCloudAppCustomDomain.ps1
+++ b/generated/SpringCloud/SpringCloud.Autorest/exports/New-AzSpringCloudAppCustomDomain.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-create custom domain of one lifecycle application.
+Create custom domain of one lifecycle application.
.Description
-create custom domain of one lifecycle application.
+Create custom domain of one lifecycle application.
.Example
New-AzSpringCloudAppCustomDomain -ResourceGroupName SpringCloud-gp-junxi -ServiceName springcloud-service -AppName gateway -Name springcloud-service.azuremicroservices.io
@@ -237,8 +237,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/SpringCloud/SpringCloud.Autorest/exports/New-AzSpringCloudAppDeployment.ps1 b/generated/SpringCloud/SpringCloud.Autorest/exports/New-AzSpringCloudAppDeployment.ps1
index fba7629937d4..cdc5f3c93b20 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/exports/New-AzSpringCloudAppDeployment.ps1
+++ b/generated/SpringCloud/SpringCloud.Autorest/exports/New-AzSpringCloudAppDeployment.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-create a new Deployment or create an exiting Deployment.
+Create a new Deployment or create an exiting Deployment.
.Description
-create a new Deployment or create an exiting Deployment.
+Create a new Deployment or create an exiting Deployment.
.Example
New-AzSpringCloudAppDeployment -ResourceGroupName spring-cloud-rp -ServiceName spring-cloud-service -AppName gateway -Name default
@@ -305,8 +305,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/SpringCloud/SpringCloud.Autorest/exports/New-AzSpringCloudBuildServiceAgentPool.ps1 b/generated/SpringCloud/SpringCloud.Autorest/exports/New-AzSpringCloudBuildServiceAgentPool.ps1
index 0b0c92fc069c..baf559cd55a7 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/exports/New-AzSpringCloudBuildServiceAgentPool.ps1
+++ b/generated/SpringCloud/SpringCloud.Autorest/exports/New-AzSpringCloudBuildServiceAgentPool.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-update build service agent pool.
+Update build service agent pool.
.Description
-update build service agent pool.
+Update build service agent pool.
.Example
New-AzSpringCloudBuildServiceAgentPool -ResourceGroupName springcloudrg -ServiceName espring-pwsh01 -PoolSizeName "S1"
@@ -243,8 +243,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/SpringCloud/SpringCloud.Autorest/exports/New-AzSpringCloudBuildServiceBuilder.ps1 b/generated/SpringCloud/SpringCloud.Autorest/exports/New-AzSpringCloudBuildServiceBuilder.ps1
index 687e24a7f452..1aacd99ede98 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/exports/New-AzSpringCloudBuildServiceBuilder.ps1
+++ b/generated/SpringCloud/SpringCloud.Autorest/exports/New-AzSpringCloudBuildServiceBuilder.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-create a KPack builder.
+Create a KPack builder.
.Description
-create a KPack builder.
+Create a KPack builder.
.Example
New-AzSpringCloudBuildServiceBuilder -ResourceGroupName springcloudrg -ServiceName sspring-portal01 -Name builder01 -StackId 'io.buildpacks.stacks.bionic' -StackVersion 'base'
@@ -242,8 +242,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/SpringCloud/SpringCloud.Autorest/exports/New-AzSpringCloudBuildpackBinding.ps1 b/generated/SpringCloud/SpringCloud.Autorest/exports/New-AzSpringCloudBuildpackBinding.ps1
index aa8cd77c20ea..135c92dca902 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/exports/New-AzSpringCloudBuildpackBinding.ps1
+++ b/generated/SpringCloud/SpringCloud.Autorest/exports/New-AzSpringCloudBuildpackBinding.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-create a buildpack binding.
+Create a buildpack binding.
.Description
-create a buildpack binding.
+Create a buildpack binding.
.Example
New-AzSpringCloudBuildpackBinding -ResourceGroupName springcloudrg -ServiceName sspring-portal0 -BuilderName default -Name binging01 -BindingType 'AppDynamics'
@@ -281,8 +281,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/SpringCloud/SpringCloud.Autorest/exports/New-AzSpringCloudCertificate.ps1 b/generated/SpringCloud/SpringCloud.Autorest/exports/New-AzSpringCloudCertificate.ps1
index adf9fa447f47..7aecc499d71b 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/exports/New-AzSpringCloudCertificate.ps1
+++ b/generated/SpringCloud/SpringCloud.Autorest/exports/New-AzSpringCloudCertificate.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-create certificate resource.
+Create certificate resource.
.Description
-create certificate resource.
+Create certificate resource.
.Example
$cert = New-AzSpringCloudKeyVaultCertificateObject -Name "cert01" -VaultUri "https://xxxxxx.vault.azure.net" -Version "xxxxxxxxxxxxxxxxxxxxx" -ExcludePrivateKey $false
New-AzSpringCloudCertificate -ResourceGroupName spring-rg-test -ServiceName springapp-pwsh01 -Name cert01 -Property $cert
@@ -196,8 +196,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/SpringCloud/SpringCloud.Autorest/exports/New-AzSpringCloudConfigurationService.ps1 b/generated/SpringCloud/SpringCloud.Autorest/exports/New-AzSpringCloudConfigurationService.ps1
index a9b5f76b665d..f2c11a494904 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/exports/New-AzSpringCloudConfigurationService.ps1
+++ b/generated/SpringCloud/SpringCloud.Autorest/exports/New-AzSpringCloudConfigurationService.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-create the default Application Configuration Service or create the existing Application Configuration Service.
+Create the default Application Configuration Service or create the existing Application Configuration Service.
.Description
-create the default Application Configuration Service or create the existing Application Configuration Service.
+Create the default Application Configuration Service or create the existing Application Configuration Service.
.Example
New-AzSpringCloudConfigurationService -ResourceGroupName SpringCloud-gp-junxi -ServiceName springcloud-01
@@ -199,8 +199,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/SpringCloud/SpringCloud.Autorest/exports/New-AzSpringCloudRegistry.ps1 b/generated/SpringCloud/SpringCloud.Autorest/exports/New-AzSpringCloudRegistry.ps1
index 2e06f5c3cf91..8293c6ac5413 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/exports/New-AzSpringCloudRegistry.ps1
+++ b/generated/SpringCloud/SpringCloud.Autorest/exports/New-AzSpringCloudRegistry.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-create the default Service Registry or create the existing Service Registry.
+Create the default Service Registry or create the existing Service Registry.
.Description
-create the default Service Registry or create the existing Service Registry.
+Create the default Service Registry or create the existing Service Registry.
.Example
New-AzSpringCloudRegistry -ResourceGroupName -ServiceName
@@ -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/SpringCloud/SpringCloud.Autorest/exports/New-AzSpringCloudTestKey.ps1 b/generated/SpringCloud/SpringCloud.Autorest/exports/New-AzSpringCloudTestKey.ps1
index 3b8cc1dfd505..a8b2b7d61d76 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/exports/New-AzSpringCloudTestKey.ps1
+++ b/generated/SpringCloud/SpringCloud.Autorest/exports/New-AzSpringCloudTestKey.ps1
@@ -174,8 +174,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/SpringCloud/SpringCloud.Autorest/exports/ProxyCmdletDefinitions.ps1 b/generated/SpringCloud/SpringCloud.Autorest/exports/ProxyCmdletDefinitions.ps1
index dd1275dba527..1f229c4265c1 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/exports/ProxyCmdletDefinitions.ps1
+++ b/generated/SpringCloud/SpringCloud.Autorest/exports/ProxyCmdletDefinitions.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) {
@@ -377,8 +376,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) {
@@ -676,8 +674,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) {
@@ -975,8 +972,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) {
@@ -1276,8 +1272,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) {
@@ -1589,8 +1584,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) {
@@ -1863,8 +1857,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) {
@@ -2164,8 +2157,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) {
@@ -2391,8 +2383,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) {
@@ -2658,8 +2649,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) {
@@ -2924,8 +2914,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) {
@@ -3190,8 +3179,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) {
@@ -3444,8 +3432,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) {
@@ -3708,8 +3695,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) {
@@ -3929,8 +3915,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) {
@@ -4150,8 +4135,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) {
@@ -4374,8 +4358,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) {
@@ -4595,8 +4578,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 +4744,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) {
@@ -4926,8 +4907,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) {
@@ -5110,8 +5090,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) {
@@ -5338,8 +5317,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) {
@@ -5427,9 +5405,9 @@ end {
<#
.Synopsis
-create a new Binding or create an exiting Binding.
+Create a new Binding or create an exiting Binding.
.Description
-create a new Binding or create an exiting Binding.
+Create a new Binding or create an exiting Binding.
.Example
New-AzSpringCloudAppBinding -ResourceGroupName SpringCloud-gp-junxi -ServiceName springcloud-service -name redis -Key myKey -ResourceId myResourceId -AppName tools -BindingParameter @{ "useSsl"= "true" }
@@ -5658,8 +5636,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) {
@@ -5748,9 +5725,9 @@ end {
<#
.Synopsis
-create custom domain of one lifecycle application.
+Create custom domain of one lifecycle application.
.Description
-create custom domain of one lifecycle application.
+Create custom domain of one lifecycle application.
.Example
New-AzSpringCloudAppCustomDomain -ResourceGroupName SpringCloud-gp-junxi -ServiceName springcloud-service -AppName gateway -Name springcloud-service.azuremicroservices.io
@@ -5969,8 +5946,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) {
@@ -6059,9 +6035,9 @@ end {
<#
.Synopsis
-create a new Deployment or create an exiting Deployment.
+Create a new Deployment or create an exiting Deployment.
.Description
-create a new Deployment or create an exiting Deployment.
+Create a new Deployment or create an exiting Deployment.
.Example
New-AzSpringCloudAppDeployment -ResourceGroupName spring-cloud-rp -ServiceName spring-cloud-service -AppName gateway -Name default
@@ -6348,8 +6324,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) {
@@ -6438,9 +6413,9 @@ end {
<#
.Synopsis
-create a buildpack binding.
+Create a buildpack binding.
.Description
-create a buildpack binding.
+Create a buildpack binding.
.Example
New-AzSpringCloudBuildpackBinding -ResourceGroupName springcloudrg -ServiceName sspring-portal0 -BuilderName default -Name binging01 -BindingType 'AppDynamics'
@@ -6703,8 +6678,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) {
@@ -6797,9 +6771,9 @@ end {
<#
.Synopsis
-update build service agent pool.
+Update build service agent pool.
.Description
-update build service agent pool.
+Update build service agent pool.
.Example
New-AzSpringCloudBuildServiceAgentPool -ResourceGroupName springcloudrg -ServiceName espring-pwsh01 -PoolSizeName "S1"
@@ -7024,8 +6998,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) {
@@ -7121,9 +7094,9 @@ end {
<#
.Synopsis
-create a KPack builder.
+Create a KPack builder.
.Description
-create a KPack builder.
+Create a KPack builder.
.Example
New-AzSpringCloudBuildServiceBuilder -ResourceGroupName springcloudrg -ServiceName sspring-portal01 -Name builder01 -StackId 'io.buildpacks.stacks.bionic' -StackVersion 'base'
@@ -7347,8 +7320,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) {
@@ -7440,9 +7412,9 @@ end {
<#
.Synopsis
-create certificate resource.
+Create certificate resource.
.Description
-create certificate resource.
+Create certificate resource.
.Example
$cert = New-AzSpringCloudKeyVaultCertificateObject -Name "cert01" -VaultUri "https://xxxxxx.vault.azure.net" -Version "xxxxxxxxxxxxxxxxxxxxx" -ExcludePrivateKey $false
New-AzSpringCloudCertificate -ResourceGroupName spring-rg-test -ServiceName springapp-pwsh01 -Name cert01 -Property $cert
@@ -7620,8 +7592,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) {
@@ -7709,9 +7680,9 @@ end {
<#
.Synopsis
-create the default Application Configuration Service or create the existing Application Configuration Service.
+Create the default Application Configuration Service or create the existing Application Configuration Service.
.Description
-create the default Application Configuration Service or create the existing Application Configuration Service.
+Create the default Application Configuration Service or create the existing Application Configuration Service.
.Example
New-AzSpringCloudConfigurationService -ResourceGroupName SpringCloud-gp-junxi -ServiceName springcloud-01
@@ -7892,8 +7863,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) {
@@ -7984,9 +7954,9 @@ end {
<#
.Synopsis
-create the default Service Registry or create the existing Service Registry.
+Create the default Service Registry or create the existing Service Registry.
.Description
-create the default Service Registry or create the existing Service Registry.
+Create the default Service Registry or create the existing Service Registry.
.Example
New-AzSpringCloudRegistry -ResourceGroupName -ServiceName
@@ -8156,8 +8126,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) {
@@ -8405,8 +8374,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) {
@@ -8718,8 +8686,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) {
@@ -9030,8 +8997,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) {
@@ -9343,8 +9309,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) {
@@ -9620,8 +9585,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) {
@@ -9962,8 +9926,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) {
@@ -10271,8 +10234,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) {
@@ -10551,8 +10513,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) {
@@ -10819,8 +10780,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) {
@@ -11063,8 +11023,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) {
@@ -11374,8 +11333,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) {
@@ -11757,8 +11715,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) {
@@ -12075,8 +12032,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) {
@@ -12388,8 +12344,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) {
@@ -12674,8 +12629,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) {
@@ -13013,8 +12967,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) {
@@ -13314,8 +13267,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) {
@@ -13510,8 +13462,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) {
@@ -13806,8 +13757,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) {
@@ -14164,8 +14114,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) {
@@ -14255,9 +14204,9 @@ end {
<#
.Synopsis
-update custom domain of one lifecycle application.
+Update custom domain of one lifecycle application.
.Description
-update custom domain of one lifecycle application.
+Update custom domain of one lifecycle application.
.Example
Update-AzSpringCloudAppCustomDomain -ResourceGroupName SpringCloud-gp-junxi -ServiceName springcloud-service -AppName gateway -Name springcloud-service.azuremicroservices.io
.Example
@@ -14512,8 +14461,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) {
@@ -14935,8 +14883,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) {
@@ -15339,8 +15286,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) {
@@ -15429,9 +15375,9 @@ end {
<#
.Synopsis
-update a buildpack binding.
+Update a buildpack binding.
.Description
-update a buildpack binding.
+Update a buildpack binding.
.Example
Update-AzSpringCloudBuildpackBinding -ResourceGroupName springcloudrg -ServiceName sspring-portal0 -BuilderName default -Name binging01 -BindingType 'AppDynamics'
@@ -15696,8 +15642,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) {
@@ -15789,9 +15734,9 @@ end {
<#
.Synopsis
-update build service agent pool.
+Update build service agent pool.
.Description
-update build service agent pool.
+Update build service agent pool.
.Example
Update-AzSpringCloudBuildServiceAgentPool -ResourceGroupName springcloudrg -ServiceName espring-pwsh01 -PoolSizeName "S1"
@@ -15995,8 +15940,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) {
@@ -16090,9 +16034,9 @@ end {
<#
.Synopsis
-update a KPack builder.
+Update a KPack builder.
.Description
-update a KPack builder.
+Update a KPack builder.
.Example
Update-AzSpringCloudBuildServiceBuilder -ResourceGroupName springcloudrg -ServiceName sspring-portal01 -Name builder01 -StackId 'io.buildpacks.stacks.bionic' -StackVersion 'base'
@@ -16322,8 +16266,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) {
@@ -16414,9 +16357,9 @@ end {
<#
.Synopsis
-update certificate resource.
+Update certificate resource.
.Description
-update certificate resource.
+Update certificate resource.
.Example
$cert = New-AzSpringCloudKeyVaultCertificateObject -Name "cert01" -VaultUri "https://xxxxxx.vault.azure.net" -Version "xxxxxxxxxxxxxxxxxxxxx" -ExcludePrivateKey $false
Update-AzSpringCloudCertificate -ResourceGroupName spring-rg-test -ServiceName springapp-pwsh01 -Name cert01 -Property $cert
@@ -16604,8 +16547,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) {
@@ -16692,9 +16634,9 @@ end {
<#
.Synopsis
-update the config server.
+Update the config server.
.Description
-update the config server.
+Update the config server.
.Example
Update-AzSpringCloudConfigServer -ResourceGroupName SpringCloud-gp-junxi -Name springcloud-service
.Example
@@ -16955,8 +16897,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) {
@@ -17044,9 +16985,9 @@ end {
<#
.Synopsis
-update the default Application Configuration Service or update the existing Application Configuration Service.
+Update the default Application Configuration Service or update the existing Application Configuration Service.
.Description
-update the default Application Configuration Service or update the existing Application Configuration Service.
+Update the default Application Configuration Service or update the existing Application Configuration Service.
.Example
Update-AzSpringCloudConfigurationService -ResourceGroupName SpringCloud-gp-junxi -ServiceName springcloud-01 -GitRepository ***
@@ -17236,8 +17177,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) {
@@ -17327,9 +17267,9 @@ end {
<#
.Synopsis
-update the Monitoring Setting.
+Update the Monitoring Setting.
.Description
-update the Monitoring Setting.
+Update the Monitoring Setting.
.Example
Update-AzSpringCloudMonitoringSetting -ResourceGroupName SpringCloud-gp-junxi -Name springcloud-service -AppInsightsInstrumentationKey "InstrumentationKey=xxxxxxxxxxxxxxxxxxx;IngestionEndpoint=https://xxxxxx.in.applicationinsights.azure.com/;LiveEndpoint=https://eastus.livediagnostics.monitor.azure.com/" -TraceEnabled
.Example
@@ -17527,8 +17467,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) {
@@ -17817,8 +17756,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) {
@@ -17954,7 +17892,7 @@ param(
[Parameter(Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Category('Path')]
[System.String]
- # The path of the file need to be deploied.
+ # The path of the file need to be deployed.
# The file supports Jar, NetcoreZip and Source.
${FilePath},
@@ -18051,8 +17989,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) {
@@ -18138,9 +18075,9 @@ end {
<#
.Synopsis
-create a new Service or update an exiting Service.
+Create a new Service or update an exiting Service.
.Description
-create a new Service or update an exiting Service.
+Create a new Service or update an exiting Service.
.Example
New-AzSpringCloud -ResourceGroupName springcloudrg -Name spring-pwsh01 -Location eastus
.Example
@@ -18318,8 +18255,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) {
@@ -18404,9 +18340,9 @@ end {
<#
.Synopsis
-create a new App or update an exiting App.
+Create a new App or update an exiting App.
.Description
-create a new App or update an exiting App.
+Create a new App or update an exiting App.
.Example
New-AzSpringCloudApp -ResourceGroupName SpringCloud-gp-junxi -ServiceName springcloud-service -Name tools
@@ -18615,8 +18551,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/SpringCloud/SpringCloud.Autorest/exports/Remove-AzSpringCloud.ps1 b/generated/SpringCloud/SpringCloud.Autorest/exports/Remove-AzSpringCloud.ps1
index 00ad936c3118..cdc02297c811 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/exports/Remove-AzSpringCloud.ps1
+++ b/generated/SpringCloud/SpringCloud.Autorest/exports/Remove-AzSpringCloud.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/SpringCloud/SpringCloud.Autorest/exports/Remove-AzSpringCloudApp.ps1 b/generated/SpringCloud/SpringCloud.Autorest/exports/Remove-AzSpringCloudApp.ps1
index ae876f807192..055e9e66b21c 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/exports/Remove-AzSpringCloudApp.ps1
+++ b/generated/SpringCloud/SpringCloud.Autorest/exports/Remove-AzSpringCloudApp.ps1
@@ -204,8 +204,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/SpringCloud/SpringCloud.Autorest/exports/Remove-AzSpringCloudAppBinding.ps1 b/generated/SpringCloud/SpringCloud.Autorest/exports/Remove-AzSpringCloudAppBinding.ps1
index cc90cb8bd781..a1811e108747 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/exports/Remove-AzSpringCloudAppBinding.ps1
+++ b/generated/SpringCloud/SpringCloud.Autorest/exports/Remove-AzSpringCloudAppBinding.ps1
@@ -240,8 +240,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/SpringCloud/SpringCloud.Autorest/exports/Remove-AzSpringCloudAppCustomDomain.ps1 b/generated/SpringCloud/SpringCloud.Autorest/exports/Remove-AzSpringCloudAppCustomDomain.ps1
index ecc4315fdaa4..1d7af10f3edc 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/exports/Remove-AzSpringCloudAppCustomDomain.ps1
+++ b/generated/SpringCloud/SpringCloud.Autorest/exports/Remove-AzSpringCloudAppCustomDomain.ps1
@@ -239,8 +239,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/SpringCloud/SpringCloud.Autorest/exports/Remove-AzSpringCloudAppDeployment.ps1 b/generated/SpringCloud/SpringCloud.Autorest/exports/Remove-AzSpringCloudAppDeployment.ps1
index c4792cd5e267..35201fc105eb 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/exports/Remove-AzSpringCloudAppDeployment.ps1
+++ b/generated/SpringCloud/SpringCloud.Autorest/exports/Remove-AzSpringCloudAppDeployment.ps1
@@ -240,8 +240,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/SpringCloud/SpringCloud.Autorest/exports/Remove-AzSpringCloudBuildServiceBuilder.ps1 b/generated/SpringCloud/SpringCloud.Autorest/exports/Remove-AzSpringCloudBuildServiceBuilder.ps1
index a3137f394a07..3920255bc783 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/exports/Remove-AzSpringCloudBuildServiceBuilder.ps1
+++ b/generated/SpringCloud/SpringCloud.Autorest/exports/Remove-AzSpringCloudBuildServiceBuilder.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/SpringCloud/SpringCloud.Autorest/exports/Remove-AzSpringCloudBuildpackBinding.ps1 b/generated/SpringCloud/SpringCloud.Autorest/exports/Remove-AzSpringCloudBuildpackBinding.ps1
index be0aee8a3786..f1f0b8f22c19 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/exports/Remove-AzSpringCloudBuildpackBinding.ps1
+++ b/generated/SpringCloud/SpringCloud.Autorest/exports/Remove-AzSpringCloudBuildpackBinding.ps1
@@ -270,8 +270,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/SpringCloud/SpringCloud.Autorest/exports/Remove-AzSpringCloudCertificate.ps1 b/generated/SpringCloud/SpringCloud.Autorest/exports/Remove-AzSpringCloudCertificate.ps1
index b7123618df4f..bec1adb736be 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/exports/Remove-AzSpringCloudCertificate.ps1
+++ b/generated/SpringCloud/SpringCloud.Autorest/exports/Remove-AzSpringCloudCertificate.ps1
@@ -204,8 +204,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/SpringCloud/SpringCloud.Autorest/exports/Remove-AzSpringCloudConfigurationService.ps1 b/generated/SpringCloud/SpringCloud.Autorest/exports/Remove-AzSpringCloudConfigurationService.ps1
index fdd60a6848a7..02e46744295f 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/exports/Remove-AzSpringCloudConfigurationService.ps1
+++ b/generated/SpringCloud/SpringCloud.Autorest/exports/Remove-AzSpringCloudConfigurationService.ps1
@@ -196,8 +196,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/SpringCloud/SpringCloud.Autorest/exports/Restart-AzSpringCloudAppDeployment.ps1 b/generated/SpringCloud/SpringCloud.Autorest/exports/Restart-AzSpringCloudAppDeployment.ps1
index c27f6b39df28..a09410d69cd9 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/exports/Restart-AzSpringCloudAppDeployment.ps1
+++ b/generated/SpringCloud/SpringCloud.Autorest/exports/Restart-AzSpringCloudAppDeployment.ps1
@@ -240,8 +240,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/SpringCloud/SpringCloud.Autorest/exports/Start-AzSpringCloudAppDeployment.ps1 b/generated/SpringCloud/SpringCloud.Autorest/exports/Start-AzSpringCloudAppDeployment.ps1
index 56d34bb223ee..4ae1780fdab7 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/exports/Start-AzSpringCloudAppDeployment.ps1
+++ b/generated/SpringCloud/SpringCloud.Autorest/exports/Start-AzSpringCloudAppDeployment.ps1
@@ -240,8 +240,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/SpringCloud/SpringCloud.Autorest/exports/Start-AzSpringCloudAppDeploymentJfr.ps1 b/generated/SpringCloud/SpringCloud.Autorest/exports/Start-AzSpringCloudAppDeploymentJfr.ps1
index 24ea718128e1..018a3696a989 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/exports/Start-AzSpringCloudAppDeploymentJfr.ps1
+++ b/generated/SpringCloud/SpringCloud.Autorest/exports/Start-AzSpringCloudAppDeploymentJfr.ps1
@@ -310,8 +310,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/SpringCloud/SpringCloud.Autorest/exports/Stop-AzSpringCloudAppDeployment.ps1 b/generated/SpringCloud/SpringCloud.Autorest/exports/Stop-AzSpringCloudAppDeployment.ps1
index ce625b16f1fe..051bd332faf4 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/exports/Stop-AzSpringCloudAppDeployment.ps1
+++ b/generated/SpringCloud/SpringCloud.Autorest/exports/Stop-AzSpringCloudAppDeployment.ps1
@@ -240,8 +240,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/SpringCloud/SpringCloud.Autorest/exports/Test-AzSpringCloudAppCustomDomain.ps1 b/generated/SpringCloud/SpringCloud.Autorest/exports/Test-AzSpringCloudAppCustomDomain.ps1
index 5ca1ba93de14..8ea426de1c6a 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/exports/Test-AzSpringCloudAppCustomDomain.ps1
+++ b/generated/SpringCloud/SpringCloud.Autorest/exports/Test-AzSpringCloudAppCustomDomain.ps1
@@ -213,8 +213,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/SpringCloud/SpringCloud.Autorest/exports/Test-AzSpringCloudConfigServer.ps1 b/generated/SpringCloud/SpringCloud.Autorest/exports/Test-AzSpringCloudConfigServer.ps1
index bacf203b1230..0f39230b576b 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/exports/Test-AzSpringCloudConfigServer.ps1
+++ b/generated/SpringCloud/SpringCloud.Autorest/exports/Test-AzSpringCloudConfigServer.ps1
@@ -265,8 +265,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/SpringCloud/SpringCloud.Autorest/exports/Test-AzSpringCloudConfigurationService.ps1 b/generated/SpringCloud/SpringCloud.Autorest/exports/Test-AzSpringCloudConfigurationService.ps1
index a1b8910dfe9a..7fb83ed93f9d 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/exports/Test-AzSpringCloudConfigurationService.ps1
+++ b/generated/SpringCloud/SpringCloud.Autorest/exports/Test-AzSpringCloudConfigurationService.ps1
@@ -228,8 +228,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/SpringCloud/SpringCloud.Autorest/exports/Test-AzSpringCloudNameAvailability.ps1 b/generated/SpringCloud/SpringCloud.Autorest/exports/Test-AzSpringCloudNameAvailability.ps1
index 45de71296126..6454d954341d 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/exports/Test-AzSpringCloudNameAvailability.ps1
+++ b/generated/SpringCloud/SpringCloud.Autorest/exports/Test-AzSpringCloudNameAvailability.ps1
@@ -119,8 +119,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/SpringCloud/SpringCloud.Autorest/exports/Update-AzSpringCloud.ps1 b/generated/SpringCloud/SpringCloud.Autorest/exports/Update-AzSpringCloud.ps1
index 43a0b47c7018..760aa00bc3ae 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/exports/Update-AzSpringCloud.ps1
+++ b/generated/SpringCloud/SpringCloud.Autorest/exports/Update-AzSpringCloud.ps1
@@ -217,8 +217,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/SpringCloud/SpringCloud.Autorest/exports/Update-AzSpringCloudApp.ps1 b/generated/SpringCloud/SpringCloud.Autorest/exports/Update-AzSpringCloudApp.ps1
index 8dc15cb75866..2d11d505681c 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/exports/Update-AzSpringCloudApp.ps1
+++ b/generated/SpringCloud/SpringCloud.Autorest/exports/Update-AzSpringCloudApp.ps1
@@ -329,8 +329,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/SpringCloud/SpringCloud.Autorest/exports/Update-AzSpringCloudAppActiveDeployment.ps1 b/generated/SpringCloud/SpringCloud.Autorest/exports/Update-AzSpringCloudAppActiveDeployment.ps1
index aad9cb910e7b..15ab830205a7 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/exports/Update-AzSpringCloudAppActiveDeployment.ps1
+++ b/generated/SpringCloud/SpringCloud.Autorest/exports/Update-AzSpringCloudAppActiveDeployment.ps1
@@ -226,8 +226,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/SpringCloud/SpringCloud.Autorest/exports/Update-AzSpringCloudAppBinding.ps1 b/generated/SpringCloud/SpringCloud.Autorest/exports/Update-AzSpringCloudAppBinding.ps1
index 02af8777bf42..e162abddfdbf 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/exports/Update-AzSpringCloudAppBinding.ps1
+++ b/generated/SpringCloud/SpringCloud.Autorest/exports/Update-AzSpringCloudAppBinding.ps1
@@ -284,8 +284,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/SpringCloud/SpringCloud.Autorest/exports/Update-AzSpringCloudAppCustomDomain.ps1 b/generated/SpringCloud/SpringCloud.Autorest/exports/Update-AzSpringCloudAppCustomDomain.ps1
index cf80e39d5cb1..29e2d7eed62d 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/exports/Update-AzSpringCloudAppCustomDomain.ps1
+++ b/generated/SpringCloud/SpringCloud.Autorest/exports/Update-AzSpringCloudAppCustomDomain.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-update custom domain of one lifecycle application.
+Update custom domain of one lifecycle application.
.Description
-update custom domain of one lifecycle application.
+Update custom domain of one lifecycle application.
.Example
Update-AzSpringCloudAppCustomDomain -ResourceGroupName SpringCloud-gp-junxi -ServiceName springcloud-service -AppName gateway -Name springcloud-service.azuremicroservices.io
.Example
@@ -273,8 +273,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/SpringCloud/SpringCloud.Autorest/exports/Update-AzSpringCloudAppDeployment.ps1 b/generated/SpringCloud/SpringCloud.Autorest/exports/Update-AzSpringCloudAppDeployment.ps1
index c5ec6116780e..eb8d401fa886 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/exports/Update-AzSpringCloudAppDeployment.ps1
+++ b/generated/SpringCloud/SpringCloud.Autorest/exports/Update-AzSpringCloudAppDeployment.ps1
@@ -348,8 +348,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/SpringCloud/SpringCloud.Autorest/exports/Update-AzSpringCloudBuildServiceAgentPool.ps1 b/generated/SpringCloud/SpringCloud.Autorest/exports/Update-AzSpringCloudBuildServiceAgentPool.ps1
index 3154adc9eff3..186f3c412046 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/exports/Update-AzSpringCloudBuildServiceAgentPool.ps1
+++ b/generated/SpringCloud/SpringCloud.Autorest/exports/Update-AzSpringCloudBuildServiceAgentPool.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-update build service agent pool.
+Update build service agent pool.
.Description
-update build service agent pool.
+Update build service agent pool.
.Example
Update-AzSpringCloudBuildServiceAgentPool -ResourceGroupName springcloudrg -ServiceName espring-pwsh01 -PoolSizeName "S1"
@@ -222,8 +222,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/SpringCloud/SpringCloud.Autorest/exports/Update-AzSpringCloudBuildServiceBuilder.ps1 b/generated/SpringCloud/SpringCloud.Autorest/exports/Update-AzSpringCloudBuildServiceBuilder.ps1
index 7f3a71880f8a..8e6806fb48df 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/exports/Update-AzSpringCloudBuildServiceBuilder.ps1
+++ b/generated/SpringCloud/SpringCloud.Autorest/exports/Update-AzSpringCloudBuildServiceBuilder.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-update a KPack builder.
+Update a KPack builder.
.Description
-update a KPack builder.
+Update a KPack builder.
.Example
Update-AzSpringCloudBuildServiceBuilder -ResourceGroupName springcloudrg -ServiceName sspring-portal01 -Name builder01 -StackId 'io.buildpacks.stacks.bionic' -StackVersion 'base'
@@ -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/SpringCloud/SpringCloud.Autorest/exports/Update-AzSpringCloudBuildpackBinding.ps1 b/generated/SpringCloud/SpringCloud.Autorest/exports/Update-AzSpringCloudBuildpackBinding.ps1
index b62e191fa02d..3b9b610a1b8e 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/exports/Update-AzSpringCloudBuildpackBinding.ps1
+++ b/generated/SpringCloud/SpringCloud.Autorest/exports/Update-AzSpringCloudBuildpackBinding.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-update a buildpack binding.
+Update a buildpack binding.
.Description
-update a buildpack binding.
+Update a buildpack binding.
.Example
Update-AzSpringCloudBuildpackBinding -ResourceGroupName springcloudrg -ServiceName sspring-portal0 -BuilderName default -Name binging01 -BindingType 'AppDynamics'
@@ -283,8 +283,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/SpringCloud/SpringCloud.Autorest/exports/Update-AzSpringCloudCertificate.ps1 b/generated/SpringCloud/SpringCloud.Autorest/exports/Update-AzSpringCloudCertificate.ps1
index 03839463e5da..8e3c5b2a7a4a 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/exports/Update-AzSpringCloudCertificate.ps1
+++ b/generated/SpringCloud/SpringCloud.Autorest/exports/Update-AzSpringCloudCertificate.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-update certificate resource.
+Update certificate resource.
.Description
-update certificate resource.
+Update certificate resource.
.Example
$cert = New-AzSpringCloudKeyVaultCertificateObject -Name "cert01" -VaultUri "https://xxxxxx.vault.azure.net" -Version "xxxxxxxxxxxxxxxxxxxxx" -ExcludePrivateKey $false
Update-AzSpringCloudCertificate -ResourceGroupName spring-rg-test -ServiceName springapp-pwsh01 -Name cert01 -Property $cert
@@ -206,8 +206,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/SpringCloud/SpringCloud.Autorest/exports/Update-AzSpringCloudConfigServer.ps1 b/generated/SpringCloud/SpringCloud.Autorest/exports/Update-AzSpringCloudConfigServer.ps1
index 06f7dd6ebc72..cb4dab254d8e 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/exports/Update-AzSpringCloudConfigServer.ps1
+++ b/generated/SpringCloud/SpringCloud.Autorest/exports/Update-AzSpringCloudConfigServer.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-update the config server.
+Update the config server.
.Description
-update the config server.
+Update the config server.
.Example
Update-AzSpringCloudConfigServer -ResourceGroupName SpringCloud-gp-junxi -Name springcloud-service
.Example
@@ -279,8 +279,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/SpringCloud/SpringCloud.Autorest/exports/Update-AzSpringCloudConfigurationService.ps1 b/generated/SpringCloud/SpringCloud.Autorest/exports/Update-AzSpringCloudConfigurationService.ps1
index 5e106d6633aa..af822e91815c 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/exports/Update-AzSpringCloudConfigurationService.ps1
+++ b/generated/SpringCloud/SpringCloud.Autorest/exports/Update-AzSpringCloudConfigurationService.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-update the default Application Configuration Service or update the existing Application Configuration Service.
+Update the default Application Configuration Service or update the existing Application Configuration Service.
.Description
-update the default Application Configuration Service or update the existing Application Configuration Service.
+Update the default Application Configuration Service or update the existing Application Configuration Service.
.Example
Update-AzSpringCloudConfigurationService -ResourceGroupName SpringCloud-gp-junxi -ServiceName springcloud-01 -GitRepository ***
@@ -208,8 +208,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/SpringCloud/SpringCloud.Autorest/exports/Update-AzSpringCloudMonitoringSetting.ps1 b/generated/SpringCloud/SpringCloud.Autorest/exports/Update-AzSpringCloudMonitoringSetting.ps1
index bd9c5e155676..4de6635fad47 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/exports/Update-AzSpringCloudMonitoringSetting.ps1
+++ b/generated/SpringCloud/SpringCloud.Autorest/exports/Update-AzSpringCloudMonitoringSetting.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-update the Monitoring Setting.
+Update the Monitoring Setting.
.Description
-update the Monitoring Setting.
+Update the Monitoring Setting.
.Example
Update-AzSpringCloudMonitoringSetting -ResourceGroupName SpringCloud-gp-junxi -Name springcloud-service -AppInsightsInstrumentationKey "InstrumentationKey=xxxxxxxxxxxxxxxxxxx;IngestionEndpoint=https://xxxxxx.in.applicationinsights.azure.com/;LiveEndpoint=https://eastus.livediagnostics.monitor.azure.com/" -TraceEnabled
.Example
@@ -216,8 +216,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/SpringCloud/SpringCloud.Autorest/generated/cmdlets/DisableAzSpringCloudTestEndpoint_Disable.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/DisableAzSpringCloudTestEndpoint_Disable.cs
index 39dd734d7efc..056ae5a8fab9 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/DisableAzSpringCloudTestEndpoint_Disable.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/DisableAzSpringCloudTestEndpoint_Disable.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] DisableTestEndpoint=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/disableTestEndpoint"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsLifecycle.Disable, @"AzSpringCloudTestEndpoint_Disable", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(bool))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Disable test endpoint functionality for a Service.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -491,7 +491,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/SpringCloud/SpringCloud.Autorest/generated/cmdlets/DisableAzSpringCloudTestEndpoint_DisableViaIdentity.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/DisableAzSpringCloudTestEndpoint_DisableViaIdentity.cs
index ca88e5f40306..d782b6e0ebe5 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/DisableAzSpringCloudTestEndpoint_DisableViaIdentity.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/DisableAzSpringCloudTestEndpoint_DisableViaIdentity.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] DisableTestEndpoint=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/disableTestEndpoint"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsLifecycle.Disable, @"AzSpringCloudTestEndpoint_DisableViaIdentity", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(bool))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Disable test endpoint functionality for a Service.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -466,7 +466,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/SpringCloud/SpringCloud.Autorest/generated/cmdlets/EnableAzSpringCloudTestEndpoint_Enable.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/EnableAzSpringCloudTestEndpoint_Enable.cs
index c09938e6ef6e..5b47ca42878f 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/EnableAzSpringCloudTestEndpoint_Enable.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/EnableAzSpringCloudTestEndpoint_Enable.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] EnableTestEndpoint=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/enableTestEndpoint"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsLifecycle.Enable, @"AzSpringCloudTestEndpoint_Enable", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.ITestKeys))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Enable test endpoint functionality for a Service.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/EnableAzSpringCloudTestEndpoint_EnableViaIdentity.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/EnableAzSpringCloudTestEndpoint_EnableViaIdentity.cs
index 3342d071ff92..6b72d9e40b2b 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/EnableAzSpringCloudTestEndpoint_EnableViaIdentity.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/EnableAzSpringCloudTestEndpoint_EnableViaIdentity.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] EnableTestEndpoint=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/enableTestEndpoint"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsLifecycle.Enable, @"AzSpringCloudTestEndpoint_EnableViaIdentity", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.ITestKeys))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Enable test endpoint functionality for a Service.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudAppBinding_Get.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudAppBinding_Get.cs
index ea8cb6a0586e..292e7f911ae5 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudAppBinding_Get.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudAppBinding_Get.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/bindings/{bindingName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzSpringCloudAppBinding_Get")]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IBindingResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Get a Binding and its properties.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudAppBinding_GetViaIdentity.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudAppBinding_GetViaIdentity.cs
index d03d45c911b2..26e99aee9248 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudAppBinding_GetViaIdentity.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudAppBinding_GetViaIdentity.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/bindings/{bindingName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzSpringCloudAppBinding_GetViaIdentity")]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IBindingResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Get a Binding and its properties.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudAppBinding_GetViaIdentityApp.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudAppBinding_GetViaIdentityApp.cs
index 76ceb827307c..faee4150ead0 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudAppBinding_GetViaIdentityApp.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudAppBinding_GetViaIdentityApp.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/bindings/{bindingName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzSpringCloudAppBinding_GetViaIdentityApp")]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IBindingResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Get a Binding and its properties.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudAppBinding_GetViaIdentitySpring.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudAppBinding_GetViaIdentitySpring.cs
index 5787678166f4..3af3edcf4e0e 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudAppBinding_GetViaIdentitySpring.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudAppBinding_GetViaIdentitySpring.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/bindings/{bindingName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzSpringCloudAppBinding_GetViaIdentitySpring")]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IBindingResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Get a Binding and its properties.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudAppBinding_List.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudAppBinding_List.cs
index 329b777ebf78..ce2bfdc7154f 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudAppBinding_List.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudAppBinding_List.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] List=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/bindings"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzSpringCloudAppBinding_List")]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IBindingResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Handles requests to list all resources in an App.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudAppCustomDomain_Get.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudAppCustomDomain_Get.cs
index c22c616b7395..febbb2c44262 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudAppCustomDomain_Get.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudAppCustomDomain_Get.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/domains/{domainName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzSpringCloudAppCustomDomain_Get")]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.ICustomDomainResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Get the custom domain of one lifecycle application.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudAppCustomDomain_GetViaIdentity.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudAppCustomDomain_GetViaIdentity.cs
index cb505897b0c0..4e8fe63553ba 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudAppCustomDomain_GetViaIdentity.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudAppCustomDomain_GetViaIdentity.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/domains/{domainName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzSpringCloudAppCustomDomain_GetViaIdentity")]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.ICustomDomainResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Get the custom domain of one lifecycle application.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudAppCustomDomain_GetViaIdentityApp.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudAppCustomDomain_GetViaIdentityApp.cs
index bcab5bfb72a7..5e90fc6ea65c 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudAppCustomDomain_GetViaIdentityApp.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudAppCustomDomain_GetViaIdentityApp.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/domains/{domainName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzSpringCloudAppCustomDomain_GetViaIdentityApp")]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.ICustomDomainResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Get the custom domain of one lifecycle application.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudAppCustomDomain_GetViaIdentitySpring.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudAppCustomDomain_GetViaIdentitySpring.cs
index 1bc2c3e512e3..9c6298e47bdb 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudAppCustomDomain_GetViaIdentitySpring.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudAppCustomDomain_GetViaIdentitySpring.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/domains/{domainName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzSpringCloudAppCustomDomain_GetViaIdentitySpring")]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.ICustomDomainResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Get the custom domain of one lifecycle application.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudAppCustomDomain_List.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudAppCustomDomain_List.cs
index 2073f442e655..a5e748778a21 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudAppCustomDomain_List.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudAppCustomDomain_List.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] List=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/domains"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzSpringCloudAppCustomDomain_List")]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.ICustomDomainResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"List the custom domains of one lifecycle application.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudAppDeploymentLogFileUrl_Get.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudAppDeploymentLogFileUrl_Get.cs
index d8ae9a963526..051c9b702a8b 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudAppDeploymentLogFileUrl_Get.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudAppDeploymentLogFileUrl_Get.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] GetLogFileUrl=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/deployments/{deploymentName}/getLogFileUrl"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzSpringCloudAppDeploymentLogFileUrl_Get", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.ILogFileUrlResponse))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Get deployment log file URL")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -534,7 +534,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudAppDeploymentLogFileUrl_GetViaIdentity.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudAppDeploymentLogFileUrl_GetViaIdentity.cs
index b30801ff9558..ebbfd70f499d 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudAppDeploymentLogFileUrl_GetViaIdentity.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudAppDeploymentLogFileUrl_GetViaIdentity.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] GetLogFileUrl=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/deployments/{deploymentName}/getLogFileUrl"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzSpringCloudAppDeploymentLogFileUrl_GetViaIdentity", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.ILogFileUrlResponse))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Get deployment log file URL")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -486,7 +486,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudAppDeploymentLogFileUrl_GetViaIdentityApp.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudAppDeploymentLogFileUrl_GetViaIdentityApp.cs
index ecb70c710367..c027cbae2802 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudAppDeploymentLogFileUrl_GetViaIdentityApp.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudAppDeploymentLogFileUrl_GetViaIdentityApp.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] GetLogFileUrl=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/deployments/{deploymentName}/getLogFileUrl"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzSpringCloudAppDeploymentLogFileUrl_GetViaIdentityApp", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.ILogFileUrlResponse))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Get deployment log file URL")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -497,7 +497,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudAppDeploymentLogFileUrl_GetViaIdentitySpring.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudAppDeploymentLogFileUrl_GetViaIdentitySpring.cs
index a64344170706..f32a707a72ed 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudAppDeploymentLogFileUrl_GetViaIdentitySpring.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudAppDeploymentLogFileUrl_GetViaIdentitySpring.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] GetLogFileUrl=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/deployments/{deploymentName}/getLogFileUrl"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzSpringCloudAppDeploymentLogFileUrl_GetViaIdentitySpring", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.ILogFileUrlResponse))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Get deployment log file URL")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -507,7 +507,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudAppDeployment_Get.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudAppDeployment_Get.cs
index 32bc5b943618..a6d0e9df3cb7 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudAppDeployment_Get.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudAppDeployment_Get.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/deployments/{deploymentName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzSpringCloudAppDeployment_Get")]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IDeploymentResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Get a Deployment and its properties.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudAppDeployment_GetViaIdentity.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudAppDeployment_GetViaIdentity.cs
index 10630c689b0a..34e40eec51ba 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudAppDeployment_GetViaIdentity.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudAppDeployment_GetViaIdentity.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/deployments/{deploymentName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzSpringCloudAppDeployment_GetViaIdentity")]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IDeploymentResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Get a Deployment and its properties.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudAppDeployment_GetViaIdentityApp.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudAppDeployment_GetViaIdentityApp.cs
index 004f1a491d28..597867400593 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudAppDeployment_GetViaIdentityApp.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudAppDeployment_GetViaIdentityApp.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/deployments/{deploymentName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzSpringCloudAppDeployment_GetViaIdentityApp")]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IDeploymentResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Get a Deployment and its properties.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudAppDeployment_GetViaIdentitySpring.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudAppDeployment_GetViaIdentitySpring.cs
index 1804f47ba1e5..72648f47a007 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudAppDeployment_GetViaIdentitySpring.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudAppDeployment_GetViaIdentitySpring.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/deployments/{deploymentName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzSpringCloudAppDeployment_GetViaIdentitySpring")]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IDeploymentResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Get a Deployment and its properties.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudAppDeployment_List.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudAppDeployment_List.cs
index 70122d5b7e7b..c38cb2fc54ce 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudAppDeployment_List.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudAppDeployment_List.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] List=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/deployments"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzSpringCloudAppDeployment_List")]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IDeploymentResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Handles requests to list all resources in an App.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudAppDeployment_List1.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudAppDeployment_List1.cs
index 767110b96ecd..4cee4c074cc4 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudAppDeployment_List1.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudAppDeployment_List1.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] ListForCluster=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/deployments"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzSpringCloudAppDeployment_List1")]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IDeploymentResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"List deployments for a certain service")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudAppResourceUploadUrl_Get.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudAppResourceUploadUrl_Get.cs
index e519488846ba..0a50abfd96bf 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudAppResourceUploadUrl_Get.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudAppResourceUploadUrl_Get.cs
@@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
///
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.InternalExport]
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzSpringCloudAppResourceUploadUrl_Get", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IResourceUploadDefinition))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Get an resource upload URL for an App, which may be artifacts or source archive.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudAppResourceUploadUrl_GetViaIdentity.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudAppResourceUploadUrl_GetViaIdentity.cs
index 057267bab969..23f8d572eeb6 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudAppResourceUploadUrl_GetViaIdentity.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudAppResourceUploadUrl_GetViaIdentity.cs
@@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
///
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.InternalExport]
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzSpringCloudAppResourceUploadUrl_GetViaIdentity", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IResourceUploadDefinition))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Get an resource upload URL for an App, which may be artifacts or source archive.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudAppResourceUploadUrl_GetViaIdentitySpring.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudAppResourceUploadUrl_GetViaIdentitySpring.cs
index 9b1a183b08e1..2565e9e06c81 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudAppResourceUploadUrl_GetViaIdentitySpring.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudAppResourceUploadUrl_GetViaIdentitySpring.cs
@@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
///
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.InternalExport]
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzSpringCloudAppResourceUploadUrl_GetViaIdentitySpring", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IResourceUploadDefinition))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Get an resource upload URL for an App, which may be artifacts or source archive.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudApp_Get.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudApp_Get.cs
index 5b107048521e..96d655d4a463 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudApp_Get.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudApp_Get.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzSpringCloudApp_Get")]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IAppResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Get an App and its properties.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudApp_GetViaIdentity.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudApp_GetViaIdentity.cs
index bcecc9f7b4bd..09af63cf7879 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudApp_GetViaIdentity.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudApp_GetViaIdentity.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzSpringCloudApp_GetViaIdentity")]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IAppResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Get an App and its properties.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudApp_GetViaIdentitySpring.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudApp_GetViaIdentitySpring.cs
index 2b440e573a19..cbefa8acf3d9 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudApp_GetViaIdentitySpring.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudApp_GetViaIdentitySpring.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzSpringCloudApp_GetViaIdentitySpring")]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IAppResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Get an App and its properties.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudApp_List.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudApp_List.cs
index 2bcc7e05e9a3..6a6990adb326 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudApp_List.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudApp_List.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] List=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzSpringCloudApp_List")]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IAppResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Handles requests to list all resources in a Service.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceAgentPool_Get.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceAgentPool_Get.cs
index d3a2e65e6334..fc608f718018 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceAgentPool_Get.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceAgentPool_Get.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/buildServices/{buildServiceName}/agentPools/{agentPoolName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzSpringCloudBuildServiceAgentPool_Get")]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IBuildServiceAgentPoolResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Get build service agent pool.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceAgentPool_GetViaIdentity.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceAgentPool_GetViaIdentity.cs
index 986ca899c4cc..1eb02300d200 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceAgentPool_GetViaIdentity.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceAgentPool_GetViaIdentity.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/buildServices/{buildServiceName}/agentPools/{agentPoolName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzSpringCloudBuildServiceAgentPool_GetViaIdentity")]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IBuildServiceAgentPoolResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Get build service agent pool.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceBuildResultLog_Get.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceBuildResultLog_Get.cs
index dc8a0555697d..ba71e476a26f 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceBuildResultLog_Get.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceBuildResultLog_Get.cs
@@ -16,7 +16,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
///
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.InternalExport]
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzSpringCloudBuildServiceBuildResultLog_Get", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IBuildResultLog))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Get a KPack build result log download URL.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceBuildResultLog_GetViaIdentity.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceBuildResultLog_GetViaIdentity.cs
index 661de062a2ef..40dee47e0e11 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceBuildResultLog_GetViaIdentity.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceBuildResultLog_GetViaIdentity.cs
@@ -16,7 +16,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
///
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.InternalExport]
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzSpringCloudBuildServiceBuildResultLog_GetViaIdentity", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IBuildResultLog))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Get a KPack build result log download URL.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceBuildResultLog_GetViaIdentityBuild.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceBuildResultLog_GetViaIdentityBuild.cs
index 4d9c31320701..70debe761709 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceBuildResultLog_GetViaIdentityBuild.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceBuildResultLog_GetViaIdentityBuild.cs
@@ -16,7 +16,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
///
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.InternalExport]
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzSpringCloudBuildServiceBuildResultLog_GetViaIdentityBuild", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IBuildResultLog))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Get a KPack build result log download URL.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceBuildResultLog_GetViaIdentityBuildService.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceBuildResultLog_GetViaIdentityBuildService.cs
index 424470d59aa9..e9de8959a706 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceBuildResultLog_GetViaIdentityBuildService.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceBuildResultLog_GetViaIdentityBuildService.cs
@@ -16,7 +16,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
///
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.InternalExport]
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzSpringCloudBuildServiceBuildResultLog_GetViaIdentityBuildService", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IBuildResultLog))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Get a KPack build result log download URL.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceBuildResultLog_GetViaIdentitySpring.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceBuildResultLog_GetViaIdentitySpring.cs
index 4fbac9098526..54b04d7c7c30 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceBuildResultLog_GetViaIdentitySpring.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceBuildResultLog_GetViaIdentitySpring.cs
@@ -16,7 +16,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
///
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.InternalExport]
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzSpringCloudBuildServiceBuildResultLog_GetViaIdentitySpring", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IBuildResultLog))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Get a KPack build result log download URL.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceBuildResult_Get.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceBuildResult_Get.cs
index a7e707b2c586..583fd5e29144 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceBuildResult_Get.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceBuildResult_Get.cs
@@ -16,7 +16,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
///
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.InternalExport]
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzSpringCloudBuildServiceBuildResult_Get")]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IBuildResult))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Get a KPack build result.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceBuildResult_GetViaIdentity.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceBuildResult_GetViaIdentity.cs
index 3605dec26d1c..36e7170ba079 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceBuildResult_GetViaIdentity.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceBuildResult_GetViaIdentity.cs
@@ -16,7 +16,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
///
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.InternalExport]
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzSpringCloudBuildServiceBuildResult_GetViaIdentity")]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IBuildResult))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Get a KPack build result.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceBuildResult_GetViaIdentityBuild.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceBuildResult_GetViaIdentityBuild.cs
index 6fa3556b5df2..74f2c7b61aad 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceBuildResult_GetViaIdentityBuild.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceBuildResult_GetViaIdentityBuild.cs
@@ -16,7 +16,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
///
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.InternalExport]
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzSpringCloudBuildServiceBuildResult_GetViaIdentityBuild")]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IBuildResult))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Get a KPack build result.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceBuildResult_GetViaIdentityBuildService.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceBuildResult_GetViaIdentityBuildService.cs
index 51daa1fa6af6..5cdc801c9164 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceBuildResult_GetViaIdentityBuildService.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceBuildResult_GetViaIdentityBuildService.cs
@@ -16,7 +16,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
///
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.InternalExport]
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzSpringCloudBuildServiceBuildResult_GetViaIdentityBuildService")]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IBuildResult))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Get a KPack build result.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceBuildResult_GetViaIdentitySpring.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceBuildResult_GetViaIdentitySpring.cs
index 319b21deb85e..dc28c4455425 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceBuildResult_GetViaIdentitySpring.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceBuildResult_GetViaIdentitySpring.cs
@@ -16,7 +16,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
///
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.InternalExport]
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzSpringCloudBuildServiceBuildResult_GetViaIdentitySpring")]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IBuildResult))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Get a KPack build result.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceBuildResult_List.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceBuildResult_List.cs
index 901e09cd64ec..165ae28a8bfc 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceBuildResult_List.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceBuildResult_List.cs
@@ -16,7 +16,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
///
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.InternalExport]
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzSpringCloudBuildServiceBuildResult_List")]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IBuildResult))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"List KPack build results.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceBuild_Get.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceBuild_Get.cs
index 2df62f4e70c0..c5caae01debc 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceBuild_Get.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceBuild_Get.cs
@@ -16,7 +16,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
///
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.InternalExport]
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzSpringCloudBuildServiceBuild_Get")]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IBuild))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Get a KPack build.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceBuild_GetViaIdentity.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceBuild_GetViaIdentity.cs
index e6bf5b2bd915..dcc701747ece 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceBuild_GetViaIdentity.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceBuild_GetViaIdentity.cs
@@ -16,7 +16,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
///
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.InternalExport]
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzSpringCloudBuildServiceBuild_GetViaIdentity")]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IBuild))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Get a KPack build.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceBuild_GetViaIdentityBuildService.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceBuild_GetViaIdentityBuildService.cs
index 7785db337de7..6c19da7905fc 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceBuild_GetViaIdentityBuildService.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceBuild_GetViaIdentityBuildService.cs
@@ -16,7 +16,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
///
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.InternalExport]
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzSpringCloudBuildServiceBuild_GetViaIdentityBuildService")]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IBuild))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Get a KPack build.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceBuild_GetViaIdentitySpring.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceBuild_GetViaIdentitySpring.cs
index 9f7aa69114a3..a311383d8162 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceBuild_GetViaIdentitySpring.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceBuild_GetViaIdentitySpring.cs
@@ -16,7 +16,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
///
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.InternalExport]
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzSpringCloudBuildServiceBuild_GetViaIdentitySpring")]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IBuild))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Get a KPack build.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceBuild_List.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceBuild_List.cs
index 3ed202537080..18c96d7891a3 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceBuild_List.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceBuild_List.cs
@@ -16,7 +16,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
///
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.InternalExport]
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzSpringCloudBuildServiceBuild_List")]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IBuild))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"List KPack builds.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceBuilder_Get.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceBuilder_Get.cs
index 0e8620fde8a8..edf548badd1b 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceBuilder_Get.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceBuilder_Get.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/buildServices/{buildServiceName}/builders/{builderName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzSpringCloudBuildServiceBuilder_Get")]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IBuilderResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Get a KPack builder.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceBuilder_GetViaIdentity.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceBuilder_GetViaIdentity.cs
index dca5771d2a55..6f52f560e2c0 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceBuilder_GetViaIdentity.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceBuilder_GetViaIdentity.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/buildServices/{buildServiceName}/builders/{builderName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzSpringCloudBuildServiceBuilder_GetViaIdentity")]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IBuilderResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Get a KPack builder.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceBuilder_GetViaIdentitySpring.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceBuilder_GetViaIdentitySpring.cs
index 9c7c9b38f222..62a82a461bc8 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceBuilder_GetViaIdentitySpring.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceBuilder_GetViaIdentitySpring.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/buildServices/{buildServiceName}/builders/{builderName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzSpringCloudBuildServiceBuilder_GetViaIdentitySpring")]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IBuilderResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Get a KPack builder.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceBuilder_List.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceBuilder_List.cs
index 3b9032bb9580..c01502d70ff5 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceBuilder_List.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceBuilder_List.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] List=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/buildServices/{buildServiceName}/builders"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzSpringCloudBuildServiceBuilder_List")]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IBuilderResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"List KPack builders result.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceResourceUploadUrl_Get.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceResourceUploadUrl_Get.cs
index 5adfd12ad389..65c3981dcca2 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceResourceUploadUrl_Get.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceResourceUploadUrl_Get.cs
@@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
///
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.InternalExport]
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzSpringCloudBuildServiceResourceUploadUrl_Get", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IResourceUploadDefinition))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Get an resource upload URL for build service, which may be artifacts or source archive.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceResourceUploadUrl_GetViaIdentity.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceResourceUploadUrl_GetViaIdentity.cs
index cddb54503725..7aa0df85065e 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceResourceUploadUrl_GetViaIdentity.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceResourceUploadUrl_GetViaIdentity.cs
@@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
///
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.InternalExport]
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzSpringCloudBuildServiceResourceUploadUrl_GetViaIdentity", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IResourceUploadDefinition))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Get an resource upload URL for build service, which may be artifacts or source archive.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceResourceUploadUrl_GetViaIdentitySpring.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceResourceUploadUrl_GetViaIdentitySpring.cs
index 51886a2242b4..2aa1c7099763 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceResourceUploadUrl_GetViaIdentitySpring.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceResourceUploadUrl_GetViaIdentitySpring.cs
@@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
///
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.InternalExport]
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzSpringCloudBuildServiceResourceUploadUrl_GetViaIdentitySpring", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IResourceUploadDefinition))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Get an resource upload URL for build service, which may be artifacts or source archive.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceSupportedBuildpack_Get.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceSupportedBuildpack_Get.cs
index 8c1bbec81ba2..f7468ec1987d 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceSupportedBuildpack_Get.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceSupportedBuildpack_Get.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] GetSupportedBuildpack=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/buildServices/{buildServiceName}/supportedBuildpacks/{buildpackName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzSpringCloudBuildServiceSupportedBuildpack_Get")]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.ISupportedBuildpackResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Get the supported buildpack resource.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceSupportedBuildpack_GetViaIdentity.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceSupportedBuildpack_GetViaIdentity.cs
index 2321fc5681d8..257d375c12f0 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceSupportedBuildpack_GetViaIdentity.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceSupportedBuildpack_GetViaIdentity.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] GetSupportedBuildpack=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/buildServices/{buildServiceName}/supportedBuildpacks/{buildpackName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzSpringCloudBuildServiceSupportedBuildpack_GetViaIdentity")]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.ISupportedBuildpackResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Get the supported buildpack resource.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceSupportedBuildpack_GetViaIdentitySpring.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceSupportedBuildpack_GetViaIdentitySpring.cs
index 6e6fd3b078cb..1fbaefb1b3a9 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceSupportedBuildpack_GetViaIdentitySpring.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceSupportedBuildpack_GetViaIdentitySpring.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] GetSupportedBuildpack=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/buildServices/{buildServiceName}/supportedBuildpacks/{buildpackName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzSpringCloudBuildServiceSupportedBuildpack_GetViaIdentitySpring")]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.ISupportedBuildpackResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Get the supported buildpack resource.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceSupportedBuildpack_List.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceSupportedBuildpack_List.cs
index 70225dcbed1c..379a068db48e 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceSupportedBuildpack_List.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceSupportedBuildpack_List.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] ListSupportedBuildpacks=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/buildServices/{buildServiceName}/supportedBuildpacks"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzSpringCloudBuildServiceSupportedBuildpack_List")]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.ISupportedBuildpacksCollection))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Get all supported buildpacks.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceSupportedStack_Get.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceSupportedStack_Get.cs
index f76230a44caa..662b16961aee 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceSupportedStack_Get.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceSupportedStack_Get.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] GetSupportedStack=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/buildServices/{buildServiceName}/supportedStacks/{stackName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzSpringCloudBuildServiceSupportedStack_Get")]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.ISupportedStackResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Get the supported stack resource.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceSupportedStack_GetViaIdentity.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceSupportedStack_GetViaIdentity.cs
index dd289a3916dc..9a3e0c8a058d 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceSupportedStack_GetViaIdentity.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceSupportedStack_GetViaIdentity.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] GetSupportedStack=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/buildServices/{buildServiceName}/supportedStacks/{stackName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzSpringCloudBuildServiceSupportedStack_GetViaIdentity")]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.ISupportedStackResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Get the supported stack resource.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceSupportedStack_GetViaIdentitySpring.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceSupportedStack_GetViaIdentitySpring.cs
index 608bf4ad6a2f..dac52e54250f 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceSupportedStack_GetViaIdentitySpring.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceSupportedStack_GetViaIdentitySpring.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] GetSupportedStack=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/buildServices/{buildServiceName}/supportedStacks/{stackName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzSpringCloudBuildServiceSupportedStack_GetViaIdentitySpring")]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.ISupportedStackResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Get the supported stack resource.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceSupportedStack_List.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceSupportedStack_List.cs
index 59d216a0f62b..faa26a7c3eaa 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceSupportedStack_List.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildServiceSupportedStack_List.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] ListSupportedStacks=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/buildServices/{buildServiceName}/supportedStacks"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzSpringCloudBuildServiceSupportedStack_List")]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.ISupportedStacksCollection))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Get all supported stacks.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildService_Get.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildService_Get.cs
index 4cf35af7904b..23d3061b9d86 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildService_Get.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildService_Get.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] GetBuildService=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/buildServices/{buildServiceName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzSpringCloudBuildService_Get")]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IBuildService))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Get a build service resource.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildService_GetViaIdentity.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildService_GetViaIdentity.cs
index dddd0fbf099d..dcd44c422793 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildService_GetViaIdentity.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildService_GetViaIdentity.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] GetBuildService=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/buildServices/{buildServiceName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzSpringCloudBuildService_GetViaIdentity")]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IBuildService))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Get a build service resource.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildService_GetViaIdentitySpring.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildService_GetViaIdentitySpring.cs
index ef38f774a456..d31ad51752cd 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildService_GetViaIdentitySpring.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildService_GetViaIdentitySpring.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] GetBuildService=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/buildServices/{buildServiceName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzSpringCloudBuildService_GetViaIdentitySpring")]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IBuildService))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Get a build service resource.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildpackBinding_Get.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildpackBinding_Get.cs
index 966eacc84d27..0085dfa36e46 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildpackBinding_Get.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildpackBinding_Get.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/buildServices/{buildServiceName}/builders/{builderName}/buildpackBindings/{buildpackBindingName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzSpringCloudBuildpackBinding_Get")]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IBuildpackBindingResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Get a buildpack binding by name.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildpackBinding_GetViaIdentity.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildpackBinding_GetViaIdentity.cs
index f0001fa6ebb2..7c21412c1ccc 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildpackBinding_GetViaIdentity.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildpackBinding_GetViaIdentity.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/buildServices/{buildServiceName}/builders/{builderName}/buildpackBindings/{buildpackBindingName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzSpringCloudBuildpackBinding_GetViaIdentity")]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IBuildpackBindingResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Get a buildpack binding by name.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildpackBinding_GetViaIdentityBuilder.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildpackBinding_GetViaIdentityBuilder.cs
index 2d24a7fc973e..d8ffacc452d3 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildpackBinding_GetViaIdentityBuilder.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildpackBinding_GetViaIdentityBuilder.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/buildServices/{buildServiceName}/builders/{builderName}/buildpackBindings/{buildpackBindingName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzSpringCloudBuildpackBinding_GetViaIdentityBuilder")]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IBuildpackBindingResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Get a buildpack binding by name.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildpackBinding_GetViaIdentitySpring.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildpackBinding_GetViaIdentitySpring.cs
index 96b27f395131..184a46652b57 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildpackBinding_GetViaIdentitySpring.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildpackBinding_GetViaIdentitySpring.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/buildServices/{buildServiceName}/builders/{builderName}/buildpackBindings/{buildpackBindingName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzSpringCloudBuildpackBinding_GetViaIdentitySpring")]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IBuildpackBindingResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Get a buildpack binding by name.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildpackBinding_List.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildpackBinding_List.cs
index 4ed2e36820e6..a5bb8e649ba3 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildpackBinding_List.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudBuildpackBinding_List.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] List=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/buildServices/{buildServiceName}/builders/{builderName}/buildpackBindings"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzSpringCloudBuildpackBinding_List")]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IBuildpackBindingResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Handles requests to list all buildpack bindings in a builder.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudCertificate_Get.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudCertificate_Get.cs
index 4b749f38582f..06274118f9e9 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudCertificate_Get.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudCertificate_Get.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/certificates/{certificateName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzSpringCloudCertificate_Get")]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.ICertificateResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Get the certificate resource.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudCertificate_GetViaIdentity.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudCertificate_GetViaIdentity.cs
index d2fcac32e12f..d687d034783c 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudCertificate_GetViaIdentity.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudCertificate_GetViaIdentity.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/certificates/{certificateName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzSpringCloudCertificate_GetViaIdentity")]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.ICertificateResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Get the certificate resource.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudCertificate_GetViaIdentitySpring.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudCertificate_GetViaIdentitySpring.cs
index 0c50bd173729..46c877baf056 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudCertificate_GetViaIdentitySpring.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudCertificate_GetViaIdentitySpring.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/certificates/{certificateName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzSpringCloudCertificate_GetViaIdentitySpring")]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.ICertificateResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Get the certificate resource.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudCertificate_List.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudCertificate_List.cs
index 89fa00a09ac7..e1308b65027f 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudCertificate_List.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudCertificate_List.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] List=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/certificates"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzSpringCloudCertificate_List")]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.ICertificateResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"List all the certificates of one user.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudConfigServer_Get.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudConfigServer_Get.cs
index 750a71d76e00..8e67aed4be9f 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudConfigServer_Get.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudConfigServer_Get.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/configServers/default"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzSpringCloudConfigServer_Get")]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IConfigServerResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Get the config server and its properties.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudConfigServer_GetViaIdentity.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudConfigServer_GetViaIdentity.cs
index 4fddd0c7ff7a..780599051699 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudConfigServer_GetViaIdentity.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudConfigServer_GetViaIdentity.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/configServers/default"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzSpringCloudConfigServer_GetViaIdentity")]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IConfigServerResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Get the config server and its properties.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudConfigurationService_Get.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudConfigurationService_Get.cs
index 6e94d2580d12..eb43af9b3f5b 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudConfigurationService_Get.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudConfigurationService_Get.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/configurationServices/{configurationServiceName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzSpringCloudConfigurationService_Get")]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IConfigurationServiceResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Get the Application Configuration Service and its properties.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudConfigurationService_GetViaIdentity.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudConfigurationService_GetViaIdentity.cs
index 57bcb1f4caad..36821f4da2d7 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudConfigurationService_GetViaIdentity.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudConfigurationService_GetViaIdentity.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/configurationServices/{configurationServiceName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzSpringCloudConfigurationService_GetViaIdentity")]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IConfigurationServiceResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Get the Application Configuration Service and its properties.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudMonitoringSetting_Get.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudMonitoringSetting_Get.cs
index e262cb1c6251..29757fd8e47d 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudMonitoringSetting_Get.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudMonitoringSetting_Get.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/monitoringSettings/default"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzSpringCloudMonitoringSetting_Get")]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IMonitoringSettingResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Get the Monitoring Setting and its properties.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudMonitoringSetting_GetViaIdentity.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudMonitoringSetting_GetViaIdentity.cs
index e79bb5a96400..1628c16c289c 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudMonitoringSetting_GetViaIdentity.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudMonitoringSetting_GetViaIdentity.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/monitoringSettings/default"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzSpringCloudMonitoringSetting_GetViaIdentity")]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IMonitoringSettingResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Get the Monitoring Setting and its properties.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudOperation_List.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudOperation_List.cs
index 7945c2bca7fa..cad2278ec255 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudOperation_List.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudOperation_List.cs
@@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
///
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.InternalExport]
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzSpringCloudOperation_List")]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IOperationDetail))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Lists all of the available REST API operations of the Microsoft.AppPlatform provider.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudRegistry_Get.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudRegistry_Get.cs
index 95d2dfc0748e..dc4a25a16393 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudRegistry_Get.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudRegistry_Get.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/serviceRegistries/{serviceRegistryName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzSpringCloudRegistry_Get")]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IServiceRegistryResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Get the Service Registry and its properties.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudRegistry_GetViaIdentity.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudRegistry_GetViaIdentity.cs
index ab30a373fff2..c420f1017d64 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudRegistry_GetViaIdentity.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudRegistry_GetViaIdentity.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/serviceRegistries/{serviceRegistryName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzSpringCloudRegistry_GetViaIdentity")]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IServiceRegistryResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Get the Service Registry and its properties.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudRuntimeVersion_List.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudRuntimeVersion_List.cs
index 21637406c7b6..4256d216e3ff 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudRuntimeVersion_List.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudRuntimeVersion_List.cs
@@ -17,7 +17,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] ListRuntimeVersions=>GET:"/providers/Microsoft.AppPlatform/runtimeVersions"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzSpringCloudRuntimeVersion_List")]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IAvailableRuntimeVersions))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Lists all of the available runtime versions supported by Microsoft.AppPlatform provider.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudSku_List.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudSku_List.cs
index ce7fe761145c..209be200ec95 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudSku_List.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudSku_List.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] List=>GET:"/subscriptions/{subscriptionId}/providers/Microsoft.AppPlatform/skus"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzSpringCloudSku_List")]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IResourceSku))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Lists all of the available skus of the Microsoft.AppPlatform provider.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudTestKey_List.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudTestKey_List.cs
index abf9a6294640..1be2d6c07200 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudTestKey_List.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloudTestKey_List.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] ListTestKeys=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/listTestKeys"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzSpringCloudTestKey_List", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.ITestKeys))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"List test keys for a Service.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloud_Get.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloud_Get.cs
index 7d8cd155e4a6..39010e63cf21 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloud_Get.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloud_Get.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzSpringCloud_Get")]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IServiceResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Get a Service and its properties.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloud_GetViaIdentity.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloud_GetViaIdentity.cs
index f9387e57da8d..5b277027b817 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloud_GetViaIdentity.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloud_GetViaIdentity.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzSpringCloud_GetViaIdentity")]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IServiceResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Get a Service and its properties.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloud_List.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloud_List.cs
index d295dd426b65..ba20f2ebae73 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloud_List.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloud_List.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] ListBySubscription=>GET:"/subscriptions/{subscriptionId}/providers/Microsoft.AppPlatform/Spring"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzSpringCloud_List")]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IServiceResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Handles requests to list all resources in a subscription.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloud_List1.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloud_List1.cs
index a814c4113493..370d93639bf6 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloud_List1.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/GetAzSpringCloud_List1.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] List=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzSpringCloud_List1")]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IServiceResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Handles requests to list all resources in a resource group.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudAppBinding_CreateExpanded.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudAppBinding_CreateExpanded.cs
index 6cc1039645f1..fa9ebe25258f 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudAppBinding_CreateExpanded.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudAppBinding_CreateExpanded.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/bindings/{bindingName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzSpringCloudAppBinding_CreateExpanded", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IBindingResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"create a new Binding or create an exiting Binding.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -44,15 +44,6 @@ public partial class NewAzSpringCloudAppBinding_CreateExpanded : global::System.
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// Backing field for property.
private string _appName;
@@ -321,11 +312,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.NewAzSpringCloudAp
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -641,24 +627,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IBindingResource
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudAppBinding_CreateViaIdentityAppExpanded.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudAppBinding_CreateViaIdentityAppExpanded.cs
index 170f16b82931..6098943b8265 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudAppBinding_CreateViaIdentityAppExpanded.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudAppBinding_CreateViaIdentityAppExpanded.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/bindings/{bindingName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzSpringCloudAppBinding_CreateViaIdentityAppExpanded", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IBindingResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"create a new Binding or create an exiting Binding.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -44,15 +44,6 @@ public partial class NewAzSpringCloudAppBinding_CreateViaIdentityAppExpanded : g
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// Backing field for property.
private Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.ISpringCloudIdentity _appInputObject;
@@ -258,11 +249,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.NewAzSpringCloudAp
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -603,24 +589,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IBindingResource
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudAppBinding_CreateViaIdentitySpringExpanded.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudAppBinding_CreateViaIdentitySpringExpanded.cs
index 921fb3f3ed97..3e840d0c2f56 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudAppBinding_CreateViaIdentitySpringExpanded.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudAppBinding_CreateViaIdentitySpringExpanded.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/bindings/{bindingName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzSpringCloudAppBinding_CreateViaIdentitySpringExpanded", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IBindingResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"create a new Binding or create an exiting Binding.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -44,15 +44,6 @@ public partial class NewAzSpringCloudAppBinding_CreateViaIdentitySpringExpanded
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// Backing field for property.
private string _appName;
@@ -275,11 +266,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.NewAzSpringCloudAp
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -616,24 +602,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IBindingResource
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudAppBinding_CreateViaJsonFilePath.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudAppBinding_CreateViaJsonFilePath.cs
index 785aefe521e9..702a6a64e310 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudAppBinding_CreateViaJsonFilePath.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudAppBinding_CreateViaJsonFilePath.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/bindings/{bindingName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzSpringCloudAppBinding_CreateViaJsonFilePath", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IBindingResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"create a new Binding or create an exiting Binding.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -42,17 +42,8 @@ public partial class NewAzSpringCloudAppBinding_CreateViaJsonFilePath : global::
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
public global::System.String _jsonString;
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// Backing field for property.
private string _appName;
@@ -300,11 +291,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.NewAzSpringCloudAp
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -620,24 +606,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IBindingResource
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudAppBinding_CreateViaJsonString.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudAppBinding_CreateViaJsonString.cs
index b4d5a3504b73..99cf1a8cdb62 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudAppBinding_CreateViaJsonString.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudAppBinding_CreateViaJsonString.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/bindings/{bindingName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzSpringCloudAppBinding_CreateViaJsonString", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IBindingResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"create a new Binding or create an exiting Binding.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -42,15 +42,6 @@ public partial class NewAzSpringCloudAppBinding_CreateViaJsonString : global::Sy
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// Backing field for property.
private string _appName;
@@ -298,11 +289,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.NewAzSpringCloudAp
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -618,24 +604,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IBindingResource
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudAppCustomDomain_CreateExpanded.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudAppCustomDomain_CreateExpanded.cs
index adea75a269d6..575c4ca387e4 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudAppCustomDomain_CreateExpanded.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudAppCustomDomain_CreateExpanded.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/domains/{domainName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzSpringCloudAppCustomDomain_CreateExpanded", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.ICustomDomainResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"create custom domain of one lifecycle application.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -44,15 +44,6 @@ public partial class NewAzSpringCloudAppCustomDomain_CreateExpanded : global::Sy
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// Backing field for property.
private string _appName;
@@ -308,11 +299,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.NewAzSpringCloudAp
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -628,24 +614,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.ICustomDomainResource
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudAppCustomDomain_CreateViaIdentityAppExpanded.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudAppCustomDomain_CreateViaIdentityAppExpanded.cs
index 33a303eeefe8..2fb143ab52bb 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudAppCustomDomain_CreateViaIdentityAppExpanded.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudAppCustomDomain_CreateViaIdentityAppExpanded.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/domains/{domainName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzSpringCloudAppCustomDomain_CreateViaIdentityAppExpanded", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.ICustomDomainResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"create custom domain of one lifecycle application.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -44,15 +44,6 @@ public partial class NewAzSpringCloudAppCustomDomain_CreateViaIdentityAppExpande
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// Backing field for property.
private Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.ISpringCloudIdentity _appInputObject;
@@ -247,11 +238,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.NewAzSpringCloudAp
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -592,24 +578,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.ICustomDomainResource
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudAppCustomDomain_CreateViaIdentitySpringExpanded.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudAppCustomDomain_CreateViaIdentitySpringExpanded.cs
index 58ac6a1b7016..eea9da540f47 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudAppCustomDomain_CreateViaIdentitySpringExpanded.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudAppCustomDomain_CreateViaIdentitySpringExpanded.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/domains/{domainName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzSpringCloudAppCustomDomain_CreateViaIdentitySpringExpanded", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.ICustomDomainResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"create custom domain of one lifecycle application.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -44,15 +44,6 @@ public partial class NewAzSpringCloudAppCustomDomain_CreateViaIdentitySpringExpa
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// Backing field for property.
private string _appName;
@@ -262,11 +253,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.NewAzSpringCloudAp
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -604,24 +590,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.ICustomDomainResource
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudAppCustomDomain_CreateViaJsonFilePath.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudAppCustomDomain_CreateViaJsonFilePath.cs
index 450cb8f5f7d7..282b6ff71546 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudAppCustomDomain_CreateViaJsonFilePath.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudAppCustomDomain_CreateViaJsonFilePath.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/domains/{domainName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzSpringCloudAppCustomDomain_CreateViaJsonFilePath", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.ICustomDomainResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"create custom domain of one lifecycle application.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -42,17 +42,8 @@ public partial class NewAzSpringCloudAppCustomDomain_CreateViaJsonFilePath : glo
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
public global::System.String _jsonString;
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// Backing field for property.
private string _appName;
@@ -299,11 +290,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.NewAzSpringCloudAp
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -619,24 +605,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.ICustomDomainResource
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudAppCustomDomain_CreateViaJsonString.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudAppCustomDomain_CreateViaJsonString.cs
index 31284aebc94b..cebdeaf24cd0 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudAppCustomDomain_CreateViaJsonString.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudAppCustomDomain_CreateViaJsonString.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/domains/{domainName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzSpringCloudAppCustomDomain_CreateViaJsonString", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.ICustomDomainResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"create custom domain of one lifecycle application.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -42,15 +42,6 @@ public partial class NewAzSpringCloudAppCustomDomain_CreateViaJsonString : globa
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// Backing field for property.
private string _appName;
@@ -297,11 +288,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.NewAzSpringCloudAp
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -617,24 +603,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.ICustomDomainResource
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudAppDeployment_CreateExpanded.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudAppDeployment_CreateExpanded.cs
index 57fcbae219c9..937c4505d826 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudAppDeployment_CreateExpanded.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudAppDeployment_CreateExpanded.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/deployments/{deploymentName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzSpringCloudAppDeployment_CreateExpanded", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IDeploymentResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"create a new Deployment or create an exiting Deployment.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -44,15 +44,6 @@ public partial class NewAzSpringCloudAppDeployment_CreateExpanded : global::Syst
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// Indicates whether the Deployment is active
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Indicates whether the Deployment is active")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Category(global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.ParameterCategory.Body)]
@@ -394,11 +385,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.NewAzSpringCloudAp
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -714,24 +700,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IDeploymentResource
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudAppDeployment_CreateViaIdentityAppExpanded.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudAppDeployment_CreateViaIdentityAppExpanded.cs
index 82e6668885ba..7433a1bd5a92 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudAppDeployment_CreateViaIdentityAppExpanded.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudAppDeployment_CreateViaIdentityAppExpanded.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/deployments/{deploymentName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzSpringCloudAppDeployment_CreateViaIdentityAppExpanded", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IDeploymentResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"create a new Deployment or create an exiting Deployment.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -44,15 +44,6 @@ public partial class NewAzSpringCloudAppDeployment_CreateViaIdentityAppExpanded
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// Indicates whether the Deployment is active
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Indicates whether the Deployment is active")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Category(global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.ParameterCategory.Body)]
@@ -333,11 +324,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.NewAzSpringCloudAp
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -678,24 +664,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IDeploymentResource
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudAppDeployment_CreateViaIdentitySpringExpanded.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudAppDeployment_CreateViaIdentitySpringExpanded.cs
index 5f47350cd7e9..962c5219516b 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudAppDeployment_CreateViaIdentitySpringExpanded.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudAppDeployment_CreateViaIdentitySpringExpanded.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/deployments/{deploymentName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzSpringCloudAppDeployment_CreateViaIdentitySpringExpanded", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IDeploymentResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"create a new Deployment or create an exiting Deployment.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -44,15 +44,6 @@ public partial class NewAzSpringCloudAppDeployment_CreateViaIdentitySpringExpand
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// Indicates whether the Deployment is active
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Indicates whether the Deployment is active")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Category(global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.ParameterCategory.Body)]
@@ -348,11 +339,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.NewAzSpringCloudAp
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -690,24 +676,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IDeploymentResource
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudAppDeployment_CreateViaJsonFilePath.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudAppDeployment_CreateViaJsonFilePath.cs
index d8ed52e62053..424725587316 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudAppDeployment_CreateViaJsonFilePath.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudAppDeployment_CreateViaJsonFilePath.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/deployments/{deploymentName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzSpringCloudAppDeployment_CreateViaJsonFilePath", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IDeploymentResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"create a new Deployment or create an exiting Deployment.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -42,17 +42,8 @@ public partial class NewAzSpringCloudAppDeployment_CreateViaJsonFilePath : globa
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
public global::System.String _jsonString;
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// Backing field for property.
private string _appName;
@@ -300,11 +291,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.NewAzSpringCloudAp
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -620,24 +606,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IDeploymentResource
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudAppDeployment_CreateViaJsonString.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudAppDeployment_CreateViaJsonString.cs
index 4b7be9c5acfa..8a096f861190 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudAppDeployment_CreateViaJsonString.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudAppDeployment_CreateViaJsonString.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/deployments/{deploymentName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzSpringCloudAppDeployment_CreateViaJsonString", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IDeploymentResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"create a new Deployment or create an exiting Deployment.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -42,15 +42,6 @@ public partial class NewAzSpringCloudAppDeployment_CreateViaJsonString : global:
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// Backing field for property.
private string _appName;
@@ -298,11 +289,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.NewAzSpringCloudAp
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -618,24 +604,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IDeploymentResource
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudApp_CreateExpanded.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudApp_CreateExpanded.cs
index c95bffa8eef4..e0fb9e3f302d 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudApp_CreateExpanded.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudApp_CreateExpanded.cs
@@ -16,7 +16,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
///
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.InternalExport]
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzSpringCloudApp_CreateExpanded", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IAppResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"create a new App or create an exiting App.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -45,15 +45,6 @@ public partial class NewAzSpringCloudApp_CreateExpanded : global::System.Managem
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// Collection of addons
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.ExportAs(typeof(global::System.Collections.Hashtable))]
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Collection of addons")]
@@ -422,11 +413,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.NewAzSpringCloudAp
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -742,24 +728,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IAppResource
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudApp_CreateViaIdentitySpringExpanded.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudApp_CreateViaIdentitySpringExpanded.cs
index f9b373234b82..7487c2349632 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudApp_CreateViaIdentitySpringExpanded.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudApp_CreateViaIdentitySpringExpanded.cs
@@ -16,7 +16,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
///
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.InternalExport]
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzSpringCloudApp_CreateViaIdentitySpringExpanded", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IAppResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"create a new App or create an exiting App.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -45,15 +45,6 @@ public partial class NewAzSpringCloudApp_CreateViaIdentitySpringExpanded : globa
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// Collection of addons
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.ExportAs(typeof(global::System.Collections.Hashtable))]
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Collection of addons")]
@@ -374,11 +365,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.NewAzSpringCloudAp
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -715,24 +701,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IAppResource
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudApp_CreateViaJsonFilePath.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudApp_CreateViaJsonFilePath.cs
index 68d35bec08ef..cd1bf8a4f43f 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudApp_CreateViaJsonFilePath.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudApp_CreateViaJsonFilePath.cs
@@ -16,7 +16,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
///
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.InternalExport]
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzSpringCloudApp_CreateViaJsonFilePath", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IAppResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"create a new App or create an exiting App.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -43,17 +43,8 @@ public partial class NewAzSpringCloudApp_CreateViaJsonFilePath : global::System.
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
public global::System.String _jsonString;
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Category(global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.ParameterCategory.Runtime)]
@@ -286,11 +277,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.NewAzSpringCloudAp
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -606,24 +592,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IAppResource
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudApp_CreateViaJsonString.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudApp_CreateViaJsonString.cs
index 6461bf703731..75880199ac69 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudApp_CreateViaJsonString.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudApp_CreateViaJsonString.cs
@@ -16,7 +16,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
///
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.InternalExport]
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzSpringCloudApp_CreateViaJsonString", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IAppResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"create a new App or create an exiting App.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -43,15 +43,6 @@ public partial class NewAzSpringCloudApp_CreateViaJsonString : global::System.Ma
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Category(global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.ParameterCategory.Runtime)]
@@ -284,11 +275,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.NewAzSpringCloudAp
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -604,24 +590,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IAppResource
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudBuildServiceAgentPool_UpdateExpanded.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudBuildServiceAgentPool_UpdateExpanded.cs
index a9e878c9a6f3..ea7936946282 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudBuildServiceAgentPool_UpdateExpanded.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudBuildServiceAgentPool_UpdateExpanded.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] UpdatePut=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/buildServices/{buildServiceName}/agentPools/{agentPoolName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzSpringCloudBuildServiceAgentPool_UpdateExpanded", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IBuildServiceAgentPoolResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"update build service agent pool.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -44,15 +44,6 @@ public partial class NewAzSpringCloudBuildServiceAgentPool_UpdateExpanded : glob
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Category(global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.ParameterCategory.Runtime)]
@@ -309,11 +300,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.NewAzSpringCloudBu
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -637,24 +623,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IBuildServiceAgentPoolResource
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudBuildServiceAgentPool_UpdateViaIdentityBuildServiceExpanded.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudBuildServiceAgentPool_UpdateViaIdentityBuildServiceExpanded.cs
index 59185d48b276..95cd87de41bf 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudBuildServiceAgentPool_UpdateViaIdentityBuildServiceExpanded.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudBuildServiceAgentPool_UpdateViaIdentityBuildServiceExpanded.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] UpdatePut=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/buildServices/{buildServiceName}/agentPools/{agentPoolName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzSpringCloudBuildServiceAgentPool_UpdateViaIdentityBuildServiceExpanded", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IBuildServiceAgentPoolResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"update build service agent pool.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -44,15 +44,6 @@ public partial class NewAzSpringCloudBuildServiceAgentPool_UpdateViaIdentityBuil
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Category(global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.ParameterCategory.Runtime)]
@@ -242,11 +233,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.NewAzSpringCloudBu
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -592,24 +578,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IBuildServiceAgentPoolResource
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudBuildServiceAgentPool_UpdateViaIdentityExpanded.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudBuildServiceAgentPool_UpdateViaIdentityExpanded.cs
index 72a37ce5999f..dbdb189b5b54 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudBuildServiceAgentPool_UpdateViaIdentityExpanded.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudBuildServiceAgentPool_UpdateViaIdentityExpanded.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] UpdatePut=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/buildServices/{buildServiceName}/agentPools/{agentPoolName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzSpringCloudBuildServiceAgentPool_UpdateViaIdentityExpanded", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IBuildServiceAgentPoolResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"update build service agent pool.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -44,15 +44,6 @@ public partial class NewAzSpringCloudBuildServiceAgentPool_UpdateViaIdentityExpa
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Category(global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.ParameterCategory.Runtime)]
@@ -221,11 +212,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.NewAzSpringCloudBu
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -570,24 +556,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IBuildServiceAgentPoolResource
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudBuildServiceAgentPool_UpdateViaIdentitySpringExpanded.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudBuildServiceAgentPool_UpdateViaIdentitySpringExpanded.cs
index a4fc2428fc4b..2914e59322ad 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudBuildServiceAgentPool_UpdateViaIdentitySpringExpanded.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudBuildServiceAgentPool_UpdateViaIdentitySpringExpanded.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] UpdatePut=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/buildServices/{buildServiceName}/agentPools/{agentPoolName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzSpringCloudBuildServiceAgentPool_UpdateViaIdentitySpringExpanded", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IBuildServiceAgentPoolResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"update build service agent pool.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -44,15 +44,6 @@ public partial class NewAzSpringCloudBuildServiceAgentPool_UpdateViaIdentitySpri
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Category(global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.ParameterCategory.Runtime)]
@@ -263,11 +254,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.NewAzSpringCloudBu
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -613,24 +599,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IBuildServiceAgentPoolResource
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudBuildServiceAgentPool_UpdateViaJsonFilePath.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudBuildServiceAgentPool_UpdateViaJsonFilePath.cs
index 45cb7593b375..069f121b2156 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudBuildServiceAgentPool_UpdateViaJsonFilePath.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudBuildServiceAgentPool_UpdateViaJsonFilePath.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] UpdatePut=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/buildServices/{buildServiceName}/agentPools/{agentPoolName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzSpringCloudBuildServiceAgentPool_UpdateViaJsonFilePath", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IBuildServiceAgentPoolResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"update build service agent pool.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -42,17 +42,8 @@ public partial class NewAzSpringCloudBuildServiceAgentPool_UpdateViaJsonFilePath
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
public global::System.String _jsonString;
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Category(global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.ParameterCategory.Runtime)]
@@ -313,11 +304,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.NewAzSpringCloudBu
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -641,24 +627,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IBuildServiceAgentPoolResource
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudBuildServiceAgentPool_UpdateViaJsonString.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudBuildServiceAgentPool_UpdateViaJsonString.cs
index 3cbaede113b6..ad03e8a55c7e 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudBuildServiceAgentPool_UpdateViaJsonString.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudBuildServiceAgentPool_UpdateViaJsonString.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] UpdatePut=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/buildServices/{buildServiceName}/agentPools/{agentPoolName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzSpringCloudBuildServiceAgentPool_UpdateViaJsonString", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IBuildServiceAgentPoolResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"update build service agent pool.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -42,15 +42,6 @@ public partial class NewAzSpringCloudBuildServiceAgentPool_UpdateViaJsonString :
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Category(global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.ParameterCategory.Runtime)]
@@ -311,11 +302,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.NewAzSpringCloudBu
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -639,24 +625,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IBuildServiceAgentPoolResource
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudBuildServiceBuild_CreateExpanded.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudBuildServiceBuild_CreateExpanded.cs
index ac21ab05c1d5..b66544bad1f4 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudBuildServiceBuild_CreateExpanded.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudBuildServiceBuild_CreateExpanded.cs
@@ -16,7 +16,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
///
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.InternalExport]
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzSpringCloudBuildServiceBuild_CreateExpanded", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IBuild))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"create a KPack build.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudBuildServiceBuild_CreateViaIdentityBuildServiceExpanded.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudBuildServiceBuild_CreateViaIdentityBuildServiceExpanded.cs
index d6cbea06b2bc..d1f9265fd539 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudBuildServiceBuild_CreateViaIdentityBuildServiceExpanded.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudBuildServiceBuild_CreateViaIdentityBuildServiceExpanded.cs
@@ -16,7 +16,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
///
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.InternalExport]
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzSpringCloudBuildServiceBuild_CreateViaIdentityBuildServiceExpanded", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IBuild))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"create a KPack build.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudBuildServiceBuild_CreateViaIdentitySpringExpanded.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudBuildServiceBuild_CreateViaIdentitySpringExpanded.cs
index 9ff641bcc66c..bdeaf5cc7f68 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudBuildServiceBuild_CreateViaIdentitySpringExpanded.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudBuildServiceBuild_CreateViaIdentitySpringExpanded.cs
@@ -16,7 +16,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
///
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.InternalExport]
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzSpringCloudBuildServiceBuild_CreateViaIdentitySpringExpanded", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IBuild))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"create a KPack build.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudBuildServiceBuild_CreateViaJsonFilePath.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudBuildServiceBuild_CreateViaJsonFilePath.cs
index 94f9019e3965..b9b5f817b68a 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudBuildServiceBuild_CreateViaJsonFilePath.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudBuildServiceBuild_CreateViaJsonFilePath.cs
@@ -16,7 +16,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
///
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.InternalExport]
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzSpringCloudBuildServiceBuild_CreateViaJsonFilePath", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IBuild))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"create a KPack build.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudBuildServiceBuild_CreateViaJsonString.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudBuildServiceBuild_CreateViaJsonString.cs
index afc282b294b7..777708b806f7 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudBuildServiceBuild_CreateViaJsonString.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudBuildServiceBuild_CreateViaJsonString.cs
@@ -16,7 +16,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
///
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.InternalExport]
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzSpringCloudBuildServiceBuild_CreateViaJsonString", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IBuild))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"create a KPack build.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudBuildServiceBuilder_CreateExpanded.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudBuildServiceBuilder_CreateExpanded.cs
index 5024f367935f..3d2ac64e27ef 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudBuildServiceBuilder_CreateExpanded.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudBuildServiceBuilder_CreateExpanded.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/buildServices/{buildServiceName}/builders/{builderName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzSpringCloudBuildServiceBuilder_CreateExpanded", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IBuilderResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"create a KPack builder.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -44,15 +44,6 @@ public partial class NewAzSpringCloudBuildServiceBuilder_CreateExpanded : global
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Category(global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.ParameterCategory.Runtime)]
@@ -326,11 +317,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.NewAzSpringCloudBu
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -650,24 +636,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IBuilderResource
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudBuildServiceBuilder_CreateViaIdentityBuildServiceExpanded.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudBuildServiceBuilder_CreateViaIdentityBuildServiceExpanded.cs
index 7789e902e6c4..de4c69acf9ff 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudBuildServiceBuilder_CreateViaIdentityBuildServiceExpanded.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudBuildServiceBuilder_CreateViaIdentityBuildServiceExpanded.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/buildServices/{buildServiceName}/builders/{builderName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzSpringCloudBuildServiceBuilder_CreateViaIdentityBuildServiceExpanded", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IBuilderResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"create a KPack builder.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -44,15 +44,6 @@ public partial class NewAzSpringCloudBuildServiceBuilder_CreateViaIdentityBuildS
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Category(global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.ParameterCategory.Runtime)]
@@ -259,11 +250,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.NewAzSpringCloudBu
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -605,24 +591,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IBuilderResource
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudBuildServiceBuilder_CreateViaIdentitySpringExpanded.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudBuildServiceBuilder_CreateViaIdentitySpringExpanded.cs
index 49d037cb43e8..2856bf01a440 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudBuildServiceBuilder_CreateViaIdentitySpringExpanded.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudBuildServiceBuilder_CreateViaIdentitySpringExpanded.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/buildServices/{buildServiceName}/builders/{builderName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzSpringCloudBuildServiceBuilder_CreateViaIdentitySpringExpanded", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IBuilderResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"create a KPack builder.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -44,15 +44,6 @@ public partial class NewAzSpringCloudBuildServiceBuilder_CreateViaIdentitySpring
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Category(global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.ParameterCategory.Runtime)]
@@ -280,11 +271,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.NewAzSpringCloudBu
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -626,24 +612,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IBuilderResource
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudBuildServiceBuilder_CreateViaJsonFilePath.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudBuildServiceBuilder_CreateViaJsonFilePath.cs
index 9e945096cb3b..c68372f8cc66 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudBuildServiceBuilder_CreateViaJsonFilePath.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudBuildServiceBuilder_CreateViaJsonFilePath.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/buildServices/{buildServiceName}/builders/{builderName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzSpringCloudBuildServiceBuilder_CreateViaJsonFilePath", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IBuilderResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"create a KPack builder.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -42,17 +42,8 @@ public partial class NewAzSpringCloudBuildServiceBuilder_CreateViaJsonFilePath :
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
public global::System.String _jsonString;
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Category(global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.ParameterCategory.Runtime)]
@@ -307,11 +298,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.NewAzSpringCloudBu
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -631,24 +617,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IBuilderResource
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudBuildServiceBuilder_CreateViaJsonString.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudBuildServiceBuilder_CreateViaJsonString.cs
index c7e4ea5e82e8..4d01a46bc995 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudBuildServiceBuilder_CreateViaJsonString.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudBuildServiceBuilder_CreateViaJsonString.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/buildServices/{buildServiceName}/builders/{builderName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzSpringCloudBuildServiceBuilder_CreateViaJsonString", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IBuilderResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"create a KPack builder.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -42,15 +42,6 @@ public partial class NewAzSpringCloudBuildServiceBuilder_CreateViaJsonString : g
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Category(global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.ParameterCategory.Runtime)]
@@ -303,11 +294,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.NewAzSpringCloudBu
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -627,24 +613,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IBuilderResource
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudBuildpackBinding_CreateExpanded.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudBuildpackBinding_CreateExpanded.cs
index 93cdc102aeea..46c6dfcdb38a 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudBuildpackBinding_CreateExpanded.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudBuildpackBinding_CreateExpanded.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/buildServices/{buildServiceName}/builders/{builderName}/buildpackBindings/{buildpackBindingName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzSpringCloudBuildpackBinding_CreateExpanded", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IBuildpackBindingResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"create a buildpack binding.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -44,15 +44,6 @@ public partial class NewAzSpringCloudBuildpackBinding_CreateExpanded : global::S
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Category(global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.ParameterCategory.Runtime)]
@@ -344,11 +335,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.NewAzSpringCloudBu
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -668,24 +654,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IBuildpackBindingResource
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudBuildpackBinding_CreateViaIdentityBuildServiceExpanded.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudBuildpackBinding_CreateViaIdentityBuildServiceExpanded.cs
index 32af7988d6ba..12202fad88c9 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudBuildpackBinding_CreateViaIdentityBuildServiceExpanded.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudBuildpackBinding_CreateViaIdentityBuildServiceExpanded.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/buildServices/{buildServiceName}/builders/{builderName}/buildpackBindings/{buildpackBindingName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzSpringCloudBuildpackBinding_CreateViaIdentityBuildServiceExpanded", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IBuildpackBindingResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"create a buildpack binding.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -44,15 +44,6 @@ public partial class NewAzSpringCloudBuildpackBinding_CreateViaIdentityBuildServ
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Category(global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.ParameterCategory.Runtime)]
@@ -277,11 +268,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.NewAzSpringCloudBu
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -623,24 +609,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IBuildpackBindingResource
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudBuildpackBinding_CreateViaIdentityBuilderExpanded.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudBuildpackBinding_CreateViaIdentityBuilderExpanded.cs
index 732fb4b95d62..5381ba6e6a9c 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudBuildpackBinding_CreateViaIdentityBuilderExpanded.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudBuildpackBinding_CreateViaIdentityBuilderExpanded.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/buildServices/{buildServiceName}/builders/{builderName}/buildpackBindings/{buildpackBindingName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzSpringCloudBuildpackBinding_CreateViaIdentityBuilderExpanded", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IBuildpackBindingResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"create a buildpack binding.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -44,15 +44,6 @@ public partial class NewAzSpringCloudBuildpackBinding_CreateViaIdentityBuilderEx
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Category(global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.ParameterCategory.Runtime)]
@@ -262,11 +253,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.NewAzSpringCloudBu
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -612,24 +598,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IBuildpackBindingResource
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudBuildpackBinding_CreateViaIdentitySpringExpanded.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudBuildpackBinding_CreateViaIdentitySpringExpanded.cs
index db7840188858..d73089c0d71f 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudBuildpackBinding_CreateViaIdentitySpringExpanded.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudBuildpackBinding_CreateViaIdentitySpringExpanded.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/buildServices/{buildServiceName}/builders/{builderName}/buildpackBindings/{buildpackBindingName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzSpringCloudBuildpackBinding_CreateViaIdentitySpringExpanded", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IBuildpackBindingResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"create a buildpack binding.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -44,15 +44,6 @@ public partial class NewAzSpringCloudBuildpackBinding_CreateViaIdentitySpringExp
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Category(global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.ParameterCategory.Runtime)]
@@ -298,11 +289,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.NewAzSpringCloudBu
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -644,24 +630,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IBuildpackBindingResource
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudBuildpackBinding_CreateViaJsonFilePath.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudBuildpackBinding_CreateViaJsonFilePath.cs
index c1611fbe13d4..339c9fb93a5d 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudBuildpackBinding_CreateViaJsonFilePath.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudBuildpackBinding_CreateViaJsonFilePath.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/buildServices/{buildServiceName}/builders/{builderName}/buildpackBindings/{buildpackBindingName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzSpringCloudBuildpackBinding_CreateViaJsonFilePath", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IBuildpackBindingResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"create a buildpack binding.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -42,17 +42,8 @@ public partial class NewAzSpringCloudBuildpackBinding_CreateViaJsonFilePath : gl
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
public global::System.String _jsonString;
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Category(global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.ParameterCategory.Runtime)]
@@ -321,11 +312,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.NewAzSpringCloudBu
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -645,24 +631,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IBuildpackBindingResource
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudBuildpackBinding_CreateViaJsonString.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudBuildpackBinding_CreateViaJsonString.cs
index da14654a763c..046415bac96b 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudBuildpackBinding_CreateViaJsonString.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudBuildpackBinding_CreateViaJsonString.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/buildServices/{buildServiceName}/builders/{builderName}/buildpackBindings/{buildpackBindingName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzSpringCloudBuildpackBinding_CreateViaJsonString", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IBuildpackBindingResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"create a buildpack binding.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -42,15 +42,6 @@ public partial class NewAzSpringCloudBuildpackBinding_CreateViaJsonString : glob
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Category(global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.ParameterCategory.Runtime)]
@@ -319,11 +310,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.NewAzSpringCloudBu
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -643,24 +629,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IBuildpackBindingResource
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudCertificate_CreateExpanded.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudCertificate_CreateExpanded.cs
index dbda4b41a849..73807d6b3887 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudCertificate_CreateExpanded.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudCertificate_CreateExpanded.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/certificates/{certificateName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzSpringCloudCertificate_CreateExpanded", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.ICertificateResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"create certificate resource.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -44,15 +44,6 @@ public partial class NewAzSpringCloudCertificate_CreateExpanded : global::System
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Category(global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.ParameterCategory.Runtime)]
@@ -283,11 +274,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.NewAzSpringCloudCe
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -603,24 +589,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.ICertificateResource
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudCertificate_CreateViaIdentitySpringExpanded.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudCertificate_CreateViaIdentitySpringExpanded.cs
index 147e571f4ebd..15e971f392c1 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudCertificate_CreateViaIdentitySpringExpanded.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudCertificate_CreateViaIdentitySpringExpanded.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/certificates/{certificateName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzSpringCloudCertificate_CreateViaIdentitySpringExpanded", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.ICertificateResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"create certificate resource.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -44,15 +44,6 @@ public partial class NewAzSpringCloudCertificate_CreateViaIdentitySpringExpanded
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Category(global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.ParameterCategory.Runtime)]
@@ -237,11 +228,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.NewAzSpringCloudCe
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -578,24 +564,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.ICertificateResource
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudCertificate_CreateViaJsonFilePath.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudCertificate_CreateViaJsonFilePath.cs
index 9bd649f44244..b063cf4a9781 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudCertificate_CreateViaJsonFilePath.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudCertificate_CreateViaJsonFilePath.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/certificates/{certificateName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzSpringCloudCertificate_CreateViaJsonFilePath", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.ICertificateResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"create certificate resource.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -42,17 +42,8 @@ public partial class NewAzSpringCloudCertificate_CreateViaJsonFilePath : global:
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
public global::System.String _jsonString;
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Category(global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.ParameterCategory.Runtime)]
@@ -285,11 +276,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.NewAzSpringCloudCe
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -605,24 +591,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.ICertificateResource
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudCertificate_CreateViaJsonString.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudCertificate_CreateViaJsonString.cs
index 207f4b0f4477..dce02267b263 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudCertificate_CreateViaJsonString.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudCertificate_CreateViaJsonString.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/certificates/{certificateName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzSpringCloudCertificate_CreateViaJsonString", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.ICertificateResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"create certificate resource.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -42,15 +42,6 @@ public partial class NewAzSpringCloudCertificate_CreateViaJsonString : global::S
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Category(global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.ParameterCategory.Runtime)]
@@ -283,11 +274,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.NewAzSpringCloudCe
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -603,24 +589,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.ICertificateResource
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudConfigurationService_CreateExpanded.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudConfigurationService_CreateExpanded.cs
index 1bad8502011f..12a12602c0a4 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudConfigurationService_CreateExpanded.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudConfigurationService_CreateExpanded.cs
@@ -17,7 +17,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/configurationServices/{configurationServiceName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzSpringCloudConfigurationService_CreateExpanded", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IConfigurationServiceResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"create the default Application Configuration Service or create the existing Application Configuration Service.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -46,15 +46,6 @@ public partial class NewAzSpringCloudConfigurationService_CreateExpanded : globa
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Category(global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.ParameterCategory.Runtime)]
@@ -292,11 +283,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.NewAzSpringCloudCo
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -616,24 +602,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IConfigurationServiceResource
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudConfigurationService_CreateViaIdentitySpringExpanded.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudConfigurationService_CreateViaIdentitySpringExpanded.cs
index 514329c64b8f..59125f43b3ba 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudConfigurationService_CreateViaIdentitySpringExpanded.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudConfigurationService_CreateViaIdentitySpringExpanded.cs
@@ -17,7 +17,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/configurationServices/{configurationServiceName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzSpringCloudConfigurationService_CreateViaIdentitySpringExpanded", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IConfigurationServiceResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"create the default Application Configuration Service or create the existing Application Configuration Service.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -46,15 +46,6 @@ public partial class NewAzSpringCloudConfigurationService_CreateViaIdentitySprin
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Category(global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.ParameterCategory.Runtime)]
@@ -246,11 +237,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.NewAzSpringCloudCo
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -592,24 +578,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IConfigurationServiceResource
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudConfigurationService_CreateViaJsonFilePath.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudConfigurationService_CreateViaJsonFilePath.cs
index 7952053f5b43..4f0683846cef 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudConfigurationService_CreateViaJsonFilePath.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudConfigurationService_CreateViaJsonFilePath.cs
@@ -17,7 +17,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/configurationServices/{configurationServiceName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzSpringCloudConfigurationService_CreateViaJsonFilePath", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IConfigurationServiceResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"create the default Application Configuration Service or create the existing Application Configuration Service.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -44,17 +44,8 @@ public partial class NewAzSpringCloudConfigurationService_CreateViaJsonFilePath
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
public global::System.String _jsonString;
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Category(global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.ParameterCategory.Runtime)]
@@ -295,11 +286,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.NewAzSpringCloudCo
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -619,24 +605,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IConfigurationServiceResource
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudConfigurationService_CreateViaJsonString.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudConfigurationService_CreateViaJsonString.cs
index 0f41e9d1f59d..4f44d143c205 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudConfigurationService_CreateViaJsonString.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudConfigurationService_CreateViaJsonString.cs
@@ -17,7 +17,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/configurationServices/{configurationServiceName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzSpringCloudConfigurationService_CreateViaJsonString", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IConfigurationServiceResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"create the default Application Configuration Service or create the existing Application Configuration Service.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -44,15 +44,6 @@ public partial class NewAzSpringCloudConfigurationService_CreateViaJsonString :
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Category(global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.ParameterCategory.Runtime)]
@@ -293,11 +284,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.NewAzSpringCloudCo
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -617,24 +603,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IConfigurationServiceResource
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudRegistry_Create.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudRegistry_Create.cs
index 053732fe8770..6bd77c4cef82 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudRegistry_Create.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudRegistry_Create.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/serviceRegistries/{serviceRegistryName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzSpringCloudRegistry_Create", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IServiceRegistryResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"create the default Service Registry or create the existing Service Registry.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -41,15 +41,6 @@ public partial class NewAzSpringCloudRegistry_Create : global::System.Management
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Category(global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.ParameterCategory.Runtime)]
@@ -274,11 +265,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.NewAzSpringCloudRe
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -598,24 +584,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IServiceRegistryResource
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudRegistry_CreateViaIdentity.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudRegistry_CreateViaIdentity.cs
index b9323fa7902e..36342e24879d 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudRegistry_CreateViaIdentity.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudRegistry_CreateViaIdentity.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/serviceRegistries/{serviceRegistryName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzSpringCloudRegistry_CreateViaIdentity", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IServiceRegistryResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"create the default Service Registry or create the existing Service Registry.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -41,15 +41,6 @@ public partial class NewAzSpringCloudRegistry_CreateViaIdentity : global::System
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Category(global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.ParameterCategory.Runtime)]
@@ -204,11 +195,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.NewAzSpringCloudRe
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -548,24 +534,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IServiceRegistryResource
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudRegistry_CreateViaIdentitySpring.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudRegistry_CreateViaIdentitySpring.cs
index f28ba1a102b4..c360c23e0471 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudRegistry_CreateViaIdentitySpring.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudRegistry_CreateViaIdentitySpring.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/serviceRegistries/{serviceRegistryName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzSpringCloudRegistry_CreateViaIdentitySpring", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IServiceRegistryResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"create the default Service Registry or create the existing Service Registry.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -41,15 +41,6 @@ public partial class NewAzSpringCloudRegistry_CreateViaIdentitySpring : global::
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Category(global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.ParameterCategory.Runtime)]
@@ -226,11 +217,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.NewAzSpringCloudRe
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -571,24 +557,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IServiceRegistryResource
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudTestKey_RegenerateExpanded.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudTestKey_RegenerateExpanded.cs
index 89b25d958ad8..bdcb6e17c94a 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudTestKey_RegenerateExpanded.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudTestKey_RegenerateExpanded.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] RegenerateTestKey=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/regenerateTestKey"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzSpringCloudTestKey_RegenerateExpanded", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.ITestKeys))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Regenerate a test key for a Service.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudTestKey_RegenerateViaIdentityExpanded.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudTestKey_RegenerateViaIdentityExpanded.cs
index c9e68453e79c..4437742ed655 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudTestKey_RegenerateViaIdentityExpanded.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudTestKey_RegenerateViaIdentityExpanded.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] RegenerateTestKey=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/regenerateTestKey"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzSpringCloudTestKey_RegenerateViaIdentityExpanded", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.ITestKeys))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Regenerate a test key for a Service.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudTestKey_RegenerateViaJsonFilePath.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudTestKey_RegenerateViaJsonFilePath.cs
index 539af444cb5a..dab89a3da79a 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudTestKey_RegenerateViaJsonFilePath.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudTestKey_RegenerateViaJsonFilePath.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] RegenerateTestKey=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/regenerateTestKey"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzSpringCloudTestKey_RegenerateViaJsonFilePath", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.ITestKeys))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Regenerate a test key for a Service.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudTestKey_RegenerateViaJsonString.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudTestKey_RegenerateViaJsonString.cs
index 49e7e8c9cd2e..14e700351d86 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudTestKey_RegenerateViaJsonString.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloudTestKey_RegenerateViaJsonString.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] RegenerateTestKey=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/regenerateTestKey"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzSpringCloudTestKey_RegenerateViaJsonString", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.ITestKeys))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Regenerate a test key for a Service.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloud_CreateExpanded.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloud_CreateExpanded.cs
index 91bdeb7feed1..ae87282f5df0 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloud_CreateExpanded.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloud_CreateExpanded.cs
@@ -16,7 +16,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
///
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.InternalExport]
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzSpringCloud_CreateExpanded", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IServiceResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"create a new Service or create an exiting Service.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -42,18 +42,9 @@ public partial class NewAzSpringCloud_CreateExpanded : global::System.Management
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
/// Service resource
private Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IServiceResource _resourceBody = new Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.ServiceResource();
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Category(global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.ParameterCategory.Runtime)]
@@ -390,11 +381,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.NewAzSpringCloud_C
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -710,24 +696,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IServiceResource
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloud_CreateViaJsonFilePath.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloud_CreateViaJsonFilePath.cs
index 76c228d787c7..da83d584bab3 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloud_CreateViaJsonFilePath.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloud_CreateViaJsonFilePath.cs
@@ -16,7 +16,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
///
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.InternalExport]
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzSpringCloud_CreateViaJsonFilePath", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IServiceResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"create a new Service or create an exiting Service.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -43,17 +43,8 @@ public partial class NewAzSpringCloud_CreateViaJsonFilePath : global::System.Man
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
public global::System.String _jsonString;
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Category(global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.ParameterCategory.Runtime)]
@@ -271,11 +262,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.NewAzSpringCloud_C
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -591,24 +577,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IServiceResource
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloud_CreateViaJsonString.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloud_CreateViaJsonString.cs
index b71223b7c81d..91933f2dd823 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloud_CreateViaJsonString.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/NewAzSpringCloud_CreateViaJsonString.cs
@@ -16,7 +16,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
///
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.InternalExport]
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzSpringCloud_CreateViaJsonString", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IServiceResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"create a new Service or create an exiting Service.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -43,15 +43,6 @@ public partial class NewAzSpringCloud_CreateViaJsonString : global::System.Manag
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Category(global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.ParameterCategory.Runtime)]
@@ -269,11 +260,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.NewAzSpringCloud_C
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -589,24 +575,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IServiceResource
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudAppBinding_Delete.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudAppBinding_Delete.cs
index 05aebf428dfc..6f07f0dbedc8 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudAppBinding_Delete.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudAppBinding_Delete.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] Delete=>DELETE:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/bindings/{bindingName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Remove, @"AzSpringCloudAppBinding_Delete", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(bool))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Operation to delete a Binding.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -41,15 +41,6 @@ public partial class RemoveAzSpringCloudAppBinding_Delete : global::System.Manag
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// Backing field for property.
private string _appName;
@@ -298,11 +289,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.RemoveAzSpringClou
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -614,7 +600,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -638,7 +624,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/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudAppBinding_DeleteViaIdentity.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudAppBinding_DeleteViaIdentity.cs
index 053dc8c3b2a1..1733b54da420 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudAppBinding_DeleteViaIdentity.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudAppBinding_DeleteViaIdentity.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] Delete=>DELETE:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/bindings/{bindingName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Remove, @"AzSpringCloudAppBinding_DeleteViaIdentity", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(bool))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Operation to delete a Binding.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -41,15 +41,6 @@ public partial class RemoveAzSpringCloudAppBinding_DeleteViaIdentity : global::S
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Category(global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.ParameterCategory.Runtime)]
@@ -219,11 +210,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.RemoveAzSpringClou
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -563,7 +549,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 +573,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/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudAppBinding_DeleteViaIdentityApp.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudAppBinding_DeleteViaIdentityApp.cs
index 34d2ccd003bc..791127e60ae8 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudAppBinding_DeleteViaIdentityApp.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudAppBinding_DeleteViaIdentityApp.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] Delete=>DELETE:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/bindings/{bindingName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Remove, @"AzSpringCloudAppBinding_DeleteViaIdentityApp", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(bool))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Operation to delete a Binding.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -41,15 +41,6 @@ public partial class RemoveAzSpringCloudAppBinding_DeleteViaIdentityApp : global
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// Backing field for property.
private Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.ISpringCloudIdentity _appInputObject;
@@ -235,11 +226,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.RemoveAzSpringClou
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -576,7 +562,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -600,7 +586,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/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudAppBinding_DeleteViaIdentitySpring.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudAppBinding_DeleteViaIdentitySpring.cs
index bfed58b899b2..14e98e5e0e00 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudAppBinding_DeleteViaIdentitySpring.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudAppBinding_DeleteViaIdentitySpring.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] Delete=>DELETE:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/bindings/{bindingName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Remove, @"AzSpringCloudAppBinding_DeleteViaIdentitySpring", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(bool))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Operation to delete a Binding.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -41,15 +41,6 @@ public partial class RemoveAzSpringCloudAppBinding_DeleteViaIdentitySpring : glo
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// Backing field for property.
private string _appName;
@@ -250,11 +241,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.RemoveAzSpringClou
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -587,7 +573,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -611,7 +597,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/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudAppCustomDomain_Delete.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudAppCustomDomain_Delete.cs
index 2351831ead90..d45f8afb53e3 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudAppCustomDomain_Delete.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudAppCustomDomain_Delete.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] Delete=>DELETE:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/domains/{domainName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Remove, @"AzSpringCloudAppCustomDomain_Delete", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(bool))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Delete the custom domain of one lifecycle application.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -41,15 +41,6 @@ public partial class RemoveAzSpringCloudAppCustomDomain_Delete : global::System.
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// Backing field for property.
private string _appName;
@@ -297,11 +288,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.RemoveAzSpringClou
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -613,7 +599,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -637,7 +623,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/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudAppCustomDomain_DeleteViaIdentity.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudAppCustomDomain_DeleteViaIdentity.cs
index 0104887ab3d5..b73ee846eaa2 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudAppCustomDomain_DeleteViaIdentity.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudAppCustomDomain_DeleteViaIdentity.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] Delete=>DELETE:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/domains/{domainName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Remove, @"AzSpringCloudAppCustomDomain_DeleteViaIdentity", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(bool))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Delete the custom domain of one lifecycle application.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -41,15 +41,6 @@ public partial class RemoveAzSpringCloudAppCustomDomain_DeleteViaIdentity : glob
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Category(global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.ParameterCategory.Runtime)]
@@ -219,11 +210,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.RemoveAzSpringClou
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -563,7 +549,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 +573,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/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudAppCustomDomain_DeleteViaIdentityApp.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudAppCustomDomain_DeleteViaIdentityApp.cs
index 5e5e5b7ff05e..4049cec1e108 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudAppCustomDomain_DeleteViaIdentityApp.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudAppCustomDomain_DeleteViaIdentityApp.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] Delete=>DELETE:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/domains/{domainName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Remove, @"AzSpringCloudAppCustomDomain_DeleteViaIdentityApp", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(bool))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Delete the custom domain of one lifecycle application.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -41,15 +41,6 @@ public partial class RemoveAzSpringCloudAppCustomDomain_DeleteViaIdentityApp : g
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// Backing field for property.
private Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.ISpringCloudIdentity _appInputObject;
@@ -234,11 +225,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.RemoveAzSpringClou
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -575,7 +561,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -599,7 +585,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/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudAppCustomDomain_DeleteViaIdentitySpring.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudAppCustomDomain_DeleteViaIdentitySpring.cs
index a11cf56f2fe9..53248479cb2b 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudAppCustomDomain_DeleteViaIdentitySpring.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudAppCustomDomain_DeleteViaIdentitySpring.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] Delete=>DELETE:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/domains/{domainName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Remove, @"AzSpringCloudAppCustomDomain_DeleteViaIdentitySpring", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(bool))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Delete the custom domain of one lifecycle application.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -41,15 +41,6 @@ public partial class RemoveAzSpringCloudAppCustomDomain_DeleteViaIdentitySpring
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// Backing field for property.
private string _appName;
@@ -251,11 +242,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.RemoveAzSpringClou
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -588,7 +574,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -612,7 +598,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/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudAppDeployment_Delete.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudAppDeployment_Delete.cs
index 3ab4e6d58b3d..0aeae17d7227 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudAppDeployment_Delete.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudAppDeployment_Delete.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] Delete=>DELETE:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/deployments/{deploymentName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Remove, @"AzSpringCloudAppDeployment_Delete", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(bool))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Operation to delete a Deployment.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -41,15 +41,6 @@ public partial class RemoveAzSpringCloudAppDeployment_Delete : global::System.Ma
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// Backing field for property.
private string _appName;
@@ -298,11 +289,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.RemoveAzSpringClou
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -614,7 +600,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -638,7 +624,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/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudAppDeployment_DeleteViaIdentity.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudAppDeployment_DeleteViaIdentity.cs
index 3ea98cb2891e..75bcb95bfd72 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudAppDeployment_DeleteViaIdentity.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudAppDeployment_DeleteViaIdentity.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] Delete=>DELETE:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/deployments/{deploymentName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Remove, @"AzSpringCloudAppDeployment_DeleteViaIdentity", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(bool))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Operation to delete a Deployment.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -41,15 +41,6 @@ public partial class RemoveAzSpringCloudAppDeployment_DeleteViaIdentity : global
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Category(global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.ParameterCategory.Runtime)]
@@ -219,11 +210,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.RemoveAzSpringClou
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -563,7 +549,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 +573,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/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudAppDeployment_DeleteViaIdentityApp.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudAppDeployment_DeleteViaIdentityApp.cs
index 4da68627ef33..4296d59d89fa 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudAppDeployment_DeleteViaIdentityApp.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudAppDeployment_DeleteViaIdentityApp.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] Delete=>DELETE:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/deployments/{deploymentName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Remove, @"AzSpringCloudAppDeployment_DeleteViaIdentityApp", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(bool))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Operation to delete a Deployment.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -41,15 +41,6 @@ public partial class RemoveAzSpringCloudAppDeployment_DeleteViaIdentityApp : glo
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// Backing field for property.
private Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.ISpringCloudIdentity _appInputObject;
@@ -235,11 +226,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.RemoveAzSpringClou
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -576,7 +562,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -600,7 +586,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/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudAppDeployment_DeleteViaIdentitySpring.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudAppDeployment_DeleteViaIdentitySpring.cs
index 4b624d0b5c81..15e2a39644c4 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudAppDeployment_DeleteViaIdentitySpring.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudAppDeployment_DeleteViaIdentitySpring.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] Delete=>DELETE:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/deployments/{deploymentName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Remove, @"AzSpringCloudAppDeployment_DeleteViaIdentitySpring", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(bool))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Operation to delete a Deployment.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -41,15 +41,6 @@ public partial class RemoveAzSpringCloudAppDeployment_DeleteViaIdentitySpring :
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// Backing field for property.
private string _appName;
@@ -252,11 +243,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.RemoveAzSpringClou
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -589,7 +575,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -613,7 +599,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/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudApp_Delete.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudApp_Delete.cs
index d322b4c3425a..7834c74951ba 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudApp_Delete.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudApp_Delete.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] Delete=>DELETE:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Remove, @"AzSpringCloudApp_Delete", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(bool))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Operation to delete an App.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -41,15 +41,6 @@ public partial class RemoveAzSpringCloudApp_Delete : global::System.Management.A
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Category(global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.ParameterCategory.Runtime)]
@@ -283,11 +274,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.RemoveAzSpringClou
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -599,7 +585,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -623,7 +609,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/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudApp_DeleteViaIdentity.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudApp_DeleteViaIdentity.cs
index 8bc2becbcf8a..e1dce8cc9fb4 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudApp_DeleteViaIdentity.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudApp_DeleteViaIdentity.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] Delete=>DELETE:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Remove, @"AzSpringCloudApp_DeleteViaIdentity", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(bool))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Operation to delete an App.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -41,15 +41,6 @@ public partial class RemoveAzSpringCloudApp_DeleteViaIdentity : global::System.M
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Category(global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.ParameterCategory.Runtime)]
@@ -219,11 +210,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.RemoveAzSpringClou
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -559,7 +545,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -583,7 +569,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/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudApp_DeleteViaIdentitySpring.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudApp_DeleteViaIdentitySpring.cs
index 12f536785684..1b205f32a5f7 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudApp_DeleteViaIdentitySpring.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudApp_DeleteViaIdentitySpring.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] Delete=>DELETE:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Remove, @"AzSpringCloudApp_DeleteViaIdentitySpring", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(bool))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Operation to delete an App.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -41,15 +41,6 @@ public partial class RemoveAzSpringCloudApp_DeleteViaIdentitySpring : global::Sy
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Category(global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.ParameterCategory.Runtime)]
@@ -235,11 +226,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.RemoveAzSpringClou
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -572,7 +558,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -596,7 +582,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/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudBuildServiceBuilder_Delete.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudBuildServiceBuilder_Delete.cs
index e31576fba615..a3268052c715 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudBuildServiceBuilder_Delete.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudBuildServiceBuilder_Delete.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] Delete=>DELETE:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/buildServices/{buildServiceName}/builders/{builderName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Remove, @"AzSpringCloudBuildServiceBuilder_Delete", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(bool))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Delete a KPack builder.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -41,15 +41,6 @@ public partial class RemoveAzSpringCloudBuildServiceBuilder_Delete : global::Sys
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Category(global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.ParameterCategory.Runtime)]
@@ -303,11 +294,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.RemoveAzSpringClou
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -623,7 +609,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -647,7 +633,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/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudBuildServiceBuilder_DeleteViaIdentity.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudBuildServiceBuilder_DeleteViaIdentity.cs
index 55510667b0ec..270324c92011 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudBuildServiceBuilder_DeleteViaIdentity.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudBuildServiceBuilder_DeleteViaIdentity.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] Delete=>DELETE:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/buildServices/{buildServiceName}/builders/{builderName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Remove, @"AzSpringCloudBuildServiceBuilder_DeleteViaIdentity", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(bool))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Delete a KPack builder.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -41,15 +41,6 @@ public partial class RemoveAzSpringCloudBuildServiceBuilder_DeleteViaIdentity :
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Category(global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.ParameterCategory.Runtime)]
@@ -221,11 +212,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.RemoveAzSpringClou
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -565,7 +551,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -589,7 +575,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/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudBuildServiceBuilder_DeleteViaIdentityBuildService.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudBuildServiceBuilder_DeleteViaIdentityBuildService.cs
index cbf2a7057fb5..4dc3a7e15338 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudBuildServiceBuilder_DeleteViaIdentityBuildService.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudBuildServiceBuilder_DeleteViaIdentityBuildService.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] Delete=>DELETE:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/buildServices/{buildServiceName}/builders/{builderName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Remove, @"AzSpringCloudBuildServiceBuilder_DeleteViaIdentityBuildService", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(bool))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Delete a KPack builder.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -41,15 +41,6 @@ public partial class RemoveAzSpringCloudBuildServiceBuilder_DeleteViaIdentityBui
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Category(global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.ParameterCategory.Runtime)]
@@ -236,11 +227,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.RemoveAzSpringClou
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -578,7 +564,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -602,7 +588,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/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudBuildServiceBuilder_DeleteViaIdentitySpring.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudBuildServiceBuilder_DeleteViaIdentitySpring.cs
index ddee57f5c5bd..b3a2b4dbde41 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudBuildServiceBuilder_DeleteViaIdentitySpring.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudBuildServiceBuilder_DeleteViaIdentitySpring.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] Delete=>DELETE:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/buildServices/{buildServiceName}/builders/{builderName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Remove, @"AzSpringCloudBuildServiceBuilder_DeleteViaIdentitySpring", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(bool))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Delete a KPack builder.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -41,15 +41,6 @@ public partial class RemoveAzSpringCloudBuildServiceBuilder_DeleteViaIdentitySpr
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Category(global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.ParameterCategory.Runtime)]
@@ -257,11 +248,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.RemoveAzSpringClou
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -599,7 +585,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -623,7 +609,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/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudBuildpackBinding_Delete.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudBuildpackBinding_Delete.cs
index 7d7ef57a814e..9099552cd1c9 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudBuildpackBinding_Delete.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudBuildpackBinding_Delete.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] Delete=>DELETE:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/buildServices/{buildServiceName}/builders/{builderName}/buildpackBindings/{buildpackBindingName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Remove, @"AzSpringCloudBuildpackBinding_Delete", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(bool))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Operation to delete a Buildpack Binding")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -41,15 +41,6 @@ public partial class RemoveAzSpringCloudBuildpackBinding_Delete : global::System
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Category(global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.ParameterCategory.Runtime)]
@@ -319,11 +310,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.RemoveAzSpringClou
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -639,7 +625,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -663,7 +649,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/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudBuildpackBinding_DeleteViaIdentity.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudBuildpackBinding_DeleteViaIdentity.cs
index 4818ad6cc8c5..b10eccac8a1f 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudBuildpackBinding_DeleteViaIdentity.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudBuildpackBinding_DeleteViaIdentity.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] Delete=>DELETE:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/buildServices/{buildServiceName}/builders/{builderName}/buildpackBindings/{buildpackBindingName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Remove, @"AzSpringCloudBuildpackBinding_DeleteViaIdentity", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(bool))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Operation to delete a Buildpack Binding")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -41,15 +41,6 @@ public partial class RemoveAzSpringCloudBuildpackBinding_DeleteViaIdentity : glo
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Category(global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.ParameterCategory.Runtime)]
@@ -219,11 +210,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.RemoveAzSpringClou
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -567,7 +553,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -591,7 +577,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/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudBuildpackBinding_DeleteViaIdentityBuildService.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudBuildpackBinding_DeleteViaIdentityBuildService.cs
index 402039a2daa8..866974e64eed 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudBuildpackBinding_DeleteViaIdentityBuildService.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudBuildpackBinding_DeleteViaIdentityBuildService.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] Delete=>DELETE:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/buildServices/{buildServiceName}/builders/{builderName}/buildpackBindings/{buildpackBindingName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Remove, @"AzSpringCloudBuildpackBinding_DeleteViaIdentityBuildService", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(bool))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Operation to delete a Buildpack Binding")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -41,15 +41,6 @@ public partial class RemoveAzSpringCloudBuildpackBinding_DeleteViaIdentityBuildS
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Category(global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.ParameterCategory.Runtime)]
@@ -252,11 +243,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.RemoveAzSpringClou
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -594,7 +580,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -618,7 +604,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/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudBuildpackBinding_DeleteViaIdentityBuilder.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudBuildpackBinding_DeleteViaIdentityBuilder.cs
index 2d6868e8be2d..6adc621e61f5 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudBuildpackBinding_DeleteViaIdentityBuilder.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudBuildpackBinding_DeleteViaIdentityBuilder.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] Delete=>DELETE:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/buildServices/{buildServiceName}/builders/{builderName}/buildpackBindings/{buildpackBindingName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Remove, @"AzSpringCloudBuildpackBinding_DeleteViaIdentityBuilder", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(bool))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Operation to delete a Buildpack Binding")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -41,15 +41,6 @@ public partial class RemoveAzSpringCloudBuildpackBinding_DeleteViaIdentityBuilde
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Category(global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.ParameterCategory.Runtime)]
@@ -237,11 +228,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.RemoveAzSpringClou
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -582,7 +568,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -606,7 +592,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/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudBuildpackBinding_DeleteViaIdentitySpring.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudBuildpackBinding_DeleteViaIdentitySpring.cs
index 41269e9cbb5b..a4b68a42e25c 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudBuildpackBinding_DeleteViaIdentitySpring.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudBuildpackBinding_DeleteViaIdentitySpring.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] Delete=>DELETE:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/buildServices/{buildServiceName}/builders/{builderName}/buildpackBindings/{buildpackBindingName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Remove, @"AzSpringCloudBuildpackBinding_DeleteViaIdentitySpring", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(bool))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Operation to delete a Buildpack Binding")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -41,15 +41,6 @@ public partial class RemoveAzSpringCloudBuildpackBinding_DeleteViaIdentitySpring
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Category(global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.ParameterCategory.Runtime)]
@@ -273,11 +264,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.RemoveAzSpringClou
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -614,7 +600,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -638,7 +624,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/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudCertificate_Delete.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudCertificate_Delete.cs
index 40a7b5dbfb15..365bb1d90fc4 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudCertificate_Delete.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudCertificate_Delete.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] Delete=>DELETE:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/certificates/{certificateName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Remove, @"AzSpringCloudCertificate_Delete", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(bool))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Delete the certificate resource.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -41,15 +41,6 @@ public partial class RemoveAzSpringCloudCertificate_Delete : global::System.Mana
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Category(global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.ParameterCategory.Runtime)]
@@ -283,11 +274,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.RemoveAzSpringClou
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -599,7 +585,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -623,7 +609,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/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudCertificate_DeleteViaIdentity.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudCertificate_DeleteViaIdentity.cs
index 12781def687a..0c84e8f7b4d4 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudCertificate_DeleteViaIdentity.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudCertificate_DeleteViaIdentity.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] Delete=>DELETE:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/certificates/{certificateName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Remove, @"AzSpringCloudCertificate_DeleteViaIdentity", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(bool))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Delete the certificate resource.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -41,15 +41,6 @@ public partial class RemoveAzSpringCloudCertificate_DeleteViaIdentity : global::
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Category(global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.ParameterCategory.Runtime)]
@@ -219,11 +210,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.RemoveAzSpringClou
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -559,7 +545,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -583,7 +569,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/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudCertificate_DeleteViaIdentitySpring.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudCertificate_DeleteViaIdentitySpring.cs
index 4d444592b9c5..1d8e97e9dea5 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudCertificate_DeleteViaIdentitySpring.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudCertificate_DeleteViaIdentitySpring.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] Delete=>DELETE:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/certificates/{certificateName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Remove, @"AzSpringCloudCertificate_DeleteViaIdentitySpring", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(bool))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Delete the certificate resource.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -41,15 +41,6 @@ public partial class RemoveAzSpringCloudCertificate_DeleteViaIdentitySpring : gl
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Category(global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.ParameterCategory.Runtime)]
@@ -235,11 +226,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.RemoveAzSpringClou
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -572,7 +558,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -596,7 +582,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/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudConfigurationService_Delete.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudConfigurationService_Delete.cs
index f28506142997..12114d97c66b 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudConfigurationService_Delete.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudConfigurationService_Delete.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] Delete=>DELETE:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/configurationServices/{configurationServiceName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Remove, @"AzSpringCloudConfigurationService_Delete", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(bool))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Disable the default Application Configuration Service.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -41,15 +41,6 @@ public partial class RemoveAzSpringCloudConfigurationService_Delete : global::Sy
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Category(global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.ParameterCategory.Runtime)]
@@ -289,11 +280,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.RemoveAzSpringClou
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -609,7 +595,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -633,7 +619,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/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudConfigurationService_DeleteViaIdentity.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudConfigurationService_DeleteViaIdentity.cs
index f12a765f0d04..fcba37fc0d7f 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudConfigurationService_DeleteViaIdentity.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudConfigurationService_DeleteViaIdentity.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] Delete=>DELETE:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/configurationServices/{configurationServiceName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Remove, @"AzSpringCloudConfigurationService_DeleteViaIdentity", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(bool))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Disable the default Application Configuration Service.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -41,15 +41,6 @@ public partial class RemoveAzSpringCloudConfigurationService_DeleteViaIdentity :
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Category(global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.ParameterCategory.Runtime)]
@@ -221,11 +212,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.RemoveAzSpringClou
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -561,7 +547,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -585,7 +571,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/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudConfigurationService_DeleteViaIdentitySpring.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudConfigurationService_DeleteViaIdentitySpring.cs
index 5f61fc33a52f..0c90b15079ca 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudConfigurationService_DeleteViaIdentitySpring.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudConfigurationService_DeleteViaIdentitySpring.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] Delete=>DELETE:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/configurationServices/{configurationServiceName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Remove, @"AzSpringCloudConfigurationService_DeleteViaIdentitySpring", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(bool))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Disable the default Application Configuration Service.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -41,15 +41,6 @@ public partial class RemoveAzSpringCloudConfigurationService_DeleteViaIdentitySp
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Category(global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.ParameterCategory.Runtime)]
@@ -243,11 +234,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.RemoveAzSpringClou
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -585,7 +571,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -609,7 +595,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/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudRegistry_Delete.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudRegistry_Delete.cs
index b0ee198bd60a..5aa343690b0f 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudRegistry_Delete.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudRegistry_Delete.cs
@@ -16,7 +16,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
///
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.InternalExport]
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Remove, @"AzSpringCloudRegistry_Delete", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(bool))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Disable the default Service Registry.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -42,15 +42,6 @@ public partial class RemoveAzSpringCloudRegistry_Delete : global::System.Managem
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Category(global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.ParameterCategory.Runtime)]
@@ -290,11 +281,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.RemoveAzSpringClou
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -610,7 +596,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -634,7 +620,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/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudRegistry_DeleteViaIdentity.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudRegistry_DeleteViaIdentity.cs
index 2b281e917b3f..60ea8b66daa8 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudRegistry_DeleteViaIdentity.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudRegistry_DeleteViaIdentity.cs
@@ -16,7 +16,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
///
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.InternalExport]
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Remove, @"AzSpringCloudRegistry_DeleteViaIdentity", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(bool))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Disable the default Service Registry.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -42,15 +42,6 @@ public partial class RemoveAzSpringCloudRegistry_DeleteViaIdentity : global::Sys
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Category(global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.ParameterCategory.Runtime)]
@@ -220,11 +211,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.RemoveAzSpringClou
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -560,7 +546,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -584,7 +570,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/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudRegistry_DeleteViaIdentitySpring.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudRegistry_DeleteViaIdentitySpring.cs
index 9c8f9a4bdf9d..2f8c6997d4c6 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudRegistry_DeleteViaIdentitySpring.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloudRegistry_DeleteViaIdentitySpring.cs
@@ -16,7 +16,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
///
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.InternalExport]
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Remove, @"AzSpringCloudRegistry_DeleteViaIdentitySpring", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(bool))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Disable the default Service Registry.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -42,15 +42,6 @@ public partial class RemoveAzSpringCloudRegistry_DeleteViaIdentitySpring : globa
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Category(global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.ParameterCategory.Runtime)]
@@ -242,11 +233,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.RemoveAzSpringClou
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -583,7 +569,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -607,7 +593,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/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloud_Delete.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloud_Delete.cs
index 487a5d36bfdb..6f831a9e09cd 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloud_Delete.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloud_Delete.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] Delete=>DELETE:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Remove, @"AzSpringCloud_Delete", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(bool))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Operation to delete a Service.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -41,15 +41,6 @@ public partial class RemoveAzSpringCloud_Delete : global::System.Management.Auto
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Category(global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.ParameterCategory.Runtime)]
@@ -268,11 +259,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.RemoveAzSpringClou
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -584,7 +570,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -608,7 +594,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/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloud_DeleteViaIdentity.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloud_DeleteViaIdentity.cs
index 06f73c8d2c16..aa5fccc4e597 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloud_DeleteViaIdentity.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RemoveAzSpringCloud_DeleteViaIdentity.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] Delete=>DELETE:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Remove, @"AzSpringCloud_DeleteViaIdentity", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(bool))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Operation to delete a Service.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -41,15 +41,6 @@ public partial class RemoveAzSpringCloud_DeleteViaIdentity : global::System.Mana
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Category(global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.ParameterCategory.Runtime)]
@@ -219,11 +210,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.RemoveAzSpringClou
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -555,7 +541,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -579,7 +565,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/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RestartAzSpringCloudAppDeployment_Restart.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RestartAzSpringCloudAppDeployment_Restart.cs
index e156d340827a..566e3beda5de 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RestartAzSpringCloudAppDeployment_Restart.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RestartAzSpringCloudAppDeployment_Restart.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] Restart=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/deployments/{deploymentName}/restart"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsLifecycle.Restart, @"AzSpringCloudAppDeployment_Restart", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(bool))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Restart the deployment.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -41,15 +41,6 @@ public partial class RestartAzSpringCloudAppDeployment_Restart : global::System.
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// Backing field for property.
private string _appName;
@@ -288,11 +279,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.RestartAzSpringClo
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -604,7 +590,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/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RestartAzSpringCloudAppDeployment_RestartViaIdentity.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RestartAzSpringCloudAppDeployment_RestartViaIdentity.cs
index 744da3ca246f..a42a4376494d 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RestartAzSpringCloudAppDeployment_RestartViaIdentity.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RestartAzSpringCloudAppDeployment_RestartViaIdentity.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] Restart=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/deployments/{deploymentName}/restart"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsLifecycle.Restart, @"AzSpringCloudAppDeployment_RestartViaIdentity", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(bool))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Restart the deployment.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -41,15 +41,6 @@ public partial class RestartAzSpringCloudAppDeployment_RestartViaIdentity : glob
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Category(global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.ParameterCategory.Runtime)]
@@ -209,11 +200,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.RestartAzSpringClo
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -553,7 +539,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/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RestartAzSpringCloudAppDeployment_RestartViaIdentityApp.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RestartAzSpringCloudAppDeployment_RestartViaIdentityApp.cs
index 33968e7a9093..b5d668fdd346 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RestartAzSpringCloudAppDeployment_RestartViaIdentityApp.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RestartAzSpringCloudAppDeployment_RestartViaIdentityApp.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] Restart=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/deployments/{deploymentName}/restart"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsLifecycle.Restart, @"AzSpringCloudAppDeployment_RestartViaIdentityApp", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(bool))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Restart the deployment.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -41,15 +41,6 @@ public partial class RestartAzSpringCloudAppDeployment_RestartViaIdentityApp : g
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// Backing field for property.
private Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.ISpringCloudIdentity _appInputObject;
@@ -225,11 +216,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.RestartAzSpringClo
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -566,7 +552,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/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RestartAzSpringCloudAppDeployment_RestartViaIdentitySpring.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RestartAzSpringCloudAppDeployment_RestartViaIdentitySpring.cs
index b69fc2628927..5a199c5a3206 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RestartAzSpringCloudAppDeployment_RestartViaIdentitySpring.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/RestartAzSpringCloudAppDeployment_RestartViaIdentitySpring.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] Restart=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/deployments/{deploymentName}/restart"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsLifecycle.Restart, @"AzSpringCloudAppDeployment_RestartViaIdentitySpring", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(bool))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Restart the deployment.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -41,15 +41,6 @@ public partial class RestartAzSpringCloudAppDeployment_RestartViaIdentitySpring
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// Backing field for property.
private string _appName;
@@ -242,11 +233,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.RestartAzSpringClo
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -579,7 +565,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/SpringCloud/SpringCloud.Autorest/generated/cmdlets/StartAzSpringCloudAppDeploymentJfr_StartExpanded.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/StartAzSpringCloudAppDeploymentJfr_StartExpanded.cs
index 33eea0315e89..1ed9573807d7 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/StartAzSpringCloudAppDeploymentJfr_StartExpanded.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/StartAzSpringCloudAppDeploymentJfr_StartExpanded.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] StartJFR=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/deployments/{deploymentName}/startJFR"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsLifecycle.Start, @"AzSpringCloudAppDeploymentJfr_StartExpanded", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(bool))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Start JFR")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -44,15 +44,6 @@ public partial class StartAzSpringCloudAppDeploymentJfr_StartExpanded : global::
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// App instance name
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "App instance name")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Category(global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.ParameterCategory.Body)]
@@ -324,11 +315,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.StartAzSpringCloud
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -640,7 +626,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/SpringCloud/SpringCloud.Autorest/generated/cmdlets/StartAzSpringCloudAppDeploymentJfr_StartViaIdentity.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/StartAzSpringCloudAppDeploymentJfr_StartViaIdentity.cs
index 9b6abbba1e8f..7e9de97e3b34 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/StartAzSpringCloudAppDeploymentJfr_StartViaIdentity.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/StartAzSpringCloudAppDeploymentJfr_StartViaIdentity.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] StartJFR=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/deployments/{deploymentName}/startJFR"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsLifecycle.Start, @"AzSpringCloudAppDeploymentJfr_StartViaIdentity", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(bool))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Start JFR")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -41,15 +41,6 @@ public partial class StartAzSpringCloudAppDeploymentJfr_StartViaIdentity : globa
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Category(global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.ParameterCategory.Runtime)]
@@ -224,11 +215,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.StartAzSpringCloud
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -568,7 +554,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/SpringCloud/SpringCloud.Autorest/generated/cmdlets/StartAzSpringCloudAppDeploymentJfr_StartViaIdentityApp.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/StartAzSpringCloudAppDeploymentJfr_StartViaIdentityApp.cs
index a997b5a7975c..d9624cded42c 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/StartAzSpringCloudAppDeploymentJfr_StartViaIdentityApp.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/StartAzSpringCloudAppDeploymentJfr_StartViaIdentityApp.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] StartJFR=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/deployments/{deploymentName}/startJFR"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsLifecycle.Start, @"AzSpringCloudAppDeploymentJfr_StartViaIdentityApp", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(bool))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Start JFR")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -41,15 +41,6 @@ public partial class StartAzSpringCloudAppDeploymentJfr_StartViaIdentityApp : gl
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// Backing field for property.
private Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.ISpringCloudIdentity _appInputObject;
@@ -239,11 +230,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.StartAzSpringCloud
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -580,7 +566,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/SpringCloud/SpringCloud.Autorest/generated/cmdlets/StartAzSpringCloudAppDeploymentJfr_StartViaIdentityAppExpanded.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/StartAzSpringCloudAppDeploymentJfr_StartViaIdentityAppExpanded.cs
index e612a349d443..ad7e0e1a6397 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/StartAzSpringCloudAppDeploymentJfr_StartViaIdentityAppExpanded.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/StartAzSpringCloudAppDeploymentJfr_StartViaIdentityAppExpanded.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] StartJFR=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/deployments/{deploymentName}/startJFR"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsLifecycle.Start, @"AzSpringCloudAppDeploymentJfr_StartViaIdentityAppExpanded", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(bool))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Start JFR")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -44,15 +44,6 @@ public partial class StartAzSpringCloudAppDeploymentJfr_StartViaIdentityAppExpan
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// Backing field for property.
private Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.ISpringCloudIdentity _appInputObject;
@@ -263,11 +254,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.StartAzSpringCloud
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -605,7 +591,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/SpringCloud/SpringCloud.Autorest/generated/cmdlets/StartAzSpringCloudAppDeploymentJfr_StartViaIdentityExpanded.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/StartAzSpringCloudAppDeploymentJfr_StartViaIdentityExpanded.cs
index 230c75c1e12c..cf9c156d71ea 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/StartAzSpringCloudAppDeploymentJfr_StartViaIdentityExpanded.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/StartAzSpringCloudAppDeploymentJfr_StartViaIdentityExpanded.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] StartJFR=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/deployments/{deploymentName}/startJFR"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsLifecycle.Start, @"AzSpringCloudAppDeploymentJfr_StartViaIdentityExpanded", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(bool))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Start JFR")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -44,15 +44,6 @@ public partial class StartAzSpringCloudAppDeploymentJfr_StartViaIdentityExpanded
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// App instance name
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "App instance name")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Category(global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.ParameterCategory.Body)]
@@ -248,11 +239,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.StartAzSpringCloud
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -592,7 +578,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/SpringCloud/SpringCloud.Autorest/generated/cmdlets/StartAzSpringCloudAppDeploymentJfr_StartViaIdentitySpring.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/StartAzSpringCloudAppDeploymentJfr_StartViaIdentitySpring.cs
index 0e08ba604d69..812ee9660ec2 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/StartAzSpringCloudAppDeploymentJfr_StartViaIdentitySpring.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/StartAzSpringCloudAppDeploymentJfr_StartViaIdentitySpring.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] StartJFR=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/deployments/{deploymentName}/startJFR"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsLifecycle.Start, @"AzSpringCloudAppDeploymentJfr_StartViaIdentitySpring", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(bool))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Start JFR")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -41,15 +41,6 @@ public partial class StartAzSpringCloudAppDeploymentJfr_StartViaIdentitySpring :
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// Backing field for property.
private string _appName;
@@ -256,11 +247,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.StartAzSpringCloud
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -593,7 +579,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/SpringCloud/SpringCloud.Autorest/generated/cmdlets/StartAzSpringCloudAppDeploymentJfr_StartViaIdentitySpringExpanded.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/StartAzSpringCloudAppDeploymentJfr_StartViaIdentitySpringExpanded.cs
index 6c4e06a96456..387b59a600c7 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/StartAzSpringCloudAppDeploymentJfr_StartViaIdentitySpringExpanded.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/StartAzSpringCloudAppDeploymentJfr_StartViaIdentitySpringExpanded.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] StartJFR=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/deployments/{deploymentName}/startJFR"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsLifecycle.Start, @"AzSpringCloudAppDeploymentJfr_StartViaIdentitySpringExpanded", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(bool))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Start JFR")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -44,15 +44,6 @@ public partial class StartAzSpringCloudAppDeploymentJfr_StartViaIdentitySpringEx
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// App instance name
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "App instance name")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Category(global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.ParameterCategory.Body)]
@@ -278,11 +269,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.StartAzSpringCloud
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -616,7 +602,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/SpringCloud/SpringCloud.Autorest/generated/cmdlets/StartAzSpringCloudAppDeploymentJfr_StartViaJsonFilePath.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/StartAzSpringCloudAppDeploymentJfr_StartViaJsonFilePath.cs
index 6c53cf6ab33f..76a22566bd21 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/StartAzSpringCloudAppDeploymentJfr_StartViaJsonFilePath.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/StartAzSpringCloudAppDeploymentJfr_StartViaJsonFilePath.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] StartJFR=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/deployments/{deploymentName}/startJFR"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsLifecycle.Start, @"AzSpringCloudAppDeploymentJfr_StartViaJsonFilePath", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(bool))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Start JFR")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -42,17 +42,8 @@ public partial class StartAzSpringCloudAppDeploymentJfr_StartViaJsonFilePath : g
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
public global::System.String _jsonString;
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// Backing field for property.
private string _appName;
@@ -304,11 +295,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.StartAzSpringCloud
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -620,7 +606,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/SpringCloud/SpringCloud.Autorest/generated/cmdlets/StartAzSpringCloudAppDeploymentJfr_StartViaJsonString.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/StartAzSpringCloudAppDeploymentJfr_StartViaJsonString.cs
index 52679084c58a..69e00b5f4933 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/StartAzSpringCloudAppDeploymentJfr_StartViaJsonString.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/StartAzSpringCloudAppDeploymentJfr_StartViaJsonString.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] StartJFR=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/deployments/{deploymentName}/startJFR"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsLifecycle.Start, @"AzSpringCloudAppDeploymentJfr_StartViaJsonString", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(bool))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Start JFR")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -42,15 +42,6 @@ public partial class StartAzSpringCloudAppDeploymentJfr_StartViaJsonString : glo
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// Backing field for property.
private string _appName;
@@ -302,11 +293,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.StartAzSpringCloud
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -618,7 +604,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/SpringCloud/SpringCloud.Autorest/generated/cmdlets/StartAzSpringCloudAppDeployment_Start.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/StartAzSpringCloudAppDeployment_Start.cs
index c56cac31a3c9..8109d4f42af3 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/StartAzSpringCloudAppDeployment_Start.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/StartAzSpringCloudAppDeployment_Start.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] Start=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/deployments/{deploymentName}/start"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsLifecycle.Start, @"AzSpringCloudAppDeployment_Start", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(bool))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Start the deployment.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -41,15 +41,6 @@ public partial class StartAzSpringCloudAppDeployment_Start : global::System.Mana
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// Backing field for property.
private string _appName;
@@ -288,11 +279,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.StartAzSpringCloud
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -604,7 +590,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/SpringCloud/SpringCloud.Autorest/generated/cmdlets/StartAzSpringCloudAppDeployment_StartViaIdentity.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/StartAzSpringCloudAppDeployment_StartViaIdentity.cs
index 77dc4b79667f..ae25c7d8bb5b 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/StartAzSpringCloudAppDeployment_StartViaIdentity.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/StartAzSpringCloudAppDeployment_StartViaIdentity.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] Start=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/deployments/{deploymentName}/start"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsLifecycle.Start, @"AzSpringCloudAppDeployment_StartViaIdentity", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(bool))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Start the deployment.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -41,15 +41,6 @@ public partial class StartAzSpringCloudAppDeployment_StartViaIdentity : global::
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Category(global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.ParameterCategory.Runtime)]
@@ -209,11 +200,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.StartAzSpringCloud
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -553,7 +539,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/SpringCloud/SpringCloud.Autorest/generated/cmdlets/StartAzSpringCloudAppDeployment_StartViaIdentityApp.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/StartAzSpringCloudAppDeployment_StartViaIdentityApp.cs
index c50e9d732ee1..5c38b99ed960 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/StartAzSpringCloudAppDeployment_StartViaIdentityApp.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/StartAzSpringCloudAppDeployment_StartViaIdentityApp.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] Start=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/deployments/{deploymentName}/start"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsLifecycle.Start, @"AzSpringCloudAppDeployment_StartViaIdentityApp", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(bool))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Start the deployment.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -41,15 +41,6 @@ public partial class StartAzSpringCloudAppDeployment_StartViaIdentityApp : globa
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// Backing field for property.
private Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.ISpringCloudIdentity _appInputObject;
@@ -225,11 +216,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.StartAzSpringCloud
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -566,7 +552,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/SpringCloud/SpringCloud.Autorest/generated/cmdlets/StartAzSpringCloudAppDeployment_StartViaIdentitySpring.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/StartAzSpringCloudAppDeployment_StartViaIdentitySpring.cs
index e8744cc2d612..eacbc36938b5 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/StartAzSpringCloudAppDeployment_StartViaIdentitySpring.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/StartAzSpringCloudAppDeployment_StartViaIdentitySpring.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] Start=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/deployments/{deploymentName}/start"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsLifecycle.Start, @"AzSpringCloudAppDeployment_StartViaIdentitySpring", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(bool))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Start the deployment.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -41,15 +41,6 @@ public partial class StartAzSpringCloudAppDeployment_StartViaIdentitySpring : gl
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// Backing field for property.
private string _appName;
@@ -240,11 +231,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.StartAzSpringCloud
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -577,7 +563,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/SpringCloud/SpringCloud.Autorest/generated/cmdlets/StopAzSpringCloudAppDeployment_Stop.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/StopAzSpringCloudAppDeployment_Stop.cs
index dafcc840f1f5..2d50f83f4809 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/StopAzSpringCloudAppDeployment_Stop.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/StopAzSpringCloudAppDeployment_Stop.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] Stop=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/deployments/{deploymentName}/stop"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsLifecycle.Stop, @"AzSpringCloudAppDeployment_Stop", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(bool))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Stop the deployment.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -41,15 +41,6 @@ public partial class StopAzSpringCloudAppDeployment_Stop : global::System.Manage
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// Backing field for property.
private string _appName;
@@ -288,11 +279,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.StopAzSpringCloudA
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -604,7 +590,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/SpringCloud/SpringCloud.Autorest/generated/cmdlets/StopAzSpringCloudAppDeployment_StopViaIdentity.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/StopAzSpringCloudAppDeployment_StopViaIdentity.cs
index b51b828276c1..a9ba5a8bcbad 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/StopAzSpringCloudAppDeployment_StopViaIdentity.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/StopAzSpringCloudAppDeployment_StopViaIdentity.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] Stop=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/deployments/{deploymentName}/stop"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsLifecycle.Stop, @"AzSpringCloudAppDeployment_StopViaIdentity", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(bool))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Stop the deployment.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -41,15 +41,6 @@ public partial class StopAzSpringCloudAppDeployment_StopViaIdentity : global::Sy
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Category(global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.ParameterCategory.Runtime)]
@@ -209,11 +200,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.StopAzSpringCloudA
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -553,7 +539,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/SpringCloud/SpringCloud.Autorest/generated/cmdlets/StopAzSpringCloudAppDeployment_StopViaIdentityApp.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/StopAzSpringCloudAppDeployment_StopViaIdentityApp.cs
index fe486e2aa8e9..c668a7465272 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/StopAzSpringCloudAppDeployment_StopViaIdentityApp.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/StopAzSpringCloudAppDeployment_StopViaIdentityApp.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] Stop=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/deployments/{deploymentName}/stop"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsLifecycle.Stop, @"AzSpringCloudAppDeployment_StopViaIdentityApp", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(bool))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Stop the deployment.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -41,15 +41,6 @@ public partial class StopAzSpringCloudAppDeployment_StopViaIdentityApp : global:
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// Backing field for property.
private Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.ISpringCloudIdentity _appInputObject;
@@ -225,11 +216,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.StopAzSpringCloudA
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -566,7 +552,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/SpringCloud/SpringCloud.Autorest/generated/cmdlets/StopAzSpringCloudAppDeployment_StopViaIdentitySpring.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/StopAzSpringCloudAppDeployment_StopViaIdentitySpring.cs
index 78879053135d..4cfe4c0e7aa3 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/StopAzSpringCloudAppDeployment_StopViaIdentitySpring.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/StopAzSpringCloudAppDeployment_StopViaIdentitySpring.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] Stop=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/deployments/{deploymentName}/stop"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsLifecycle.Stop, @"AzSpringCloudAppDeployment_StopViaIdentitySpring", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(bool))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Stop the deployment.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -41,15 +41,6 @@ public partial class StopAzSpringCloudAppDeployment_StopViaIdentitySpring : glob
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// Backing field for property.
private string _appName;
@@ -240,11 +231,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.StopAzSpringCloudA
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -577,7 +563,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/SpringCloud/SpringCloud.Autorest/generated/cmdlets/TestAzSpringCloudAppCustomDomain_ValidateExpanded.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/TestAzSpringCloudAppCustomDomain_ValidateExpanded.cs
index bb7429b98497..6aac71ed5176 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/TestAzSpringCloudAppCustomDomain_ValidateExpanded.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/TestAzSpringCloudAppCustomDomain_ValidateExpanded.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] ValidateDomain=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/validateDomain"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsDiagnostic.Test, @"AzSpringCloudAppCustomDomain_ValidateExpanded", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.ICustomDomainValidateResult))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Check the resource name is valid as well as not in use.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/TestAzSpringCloudAppCustomDomain_ValidateViaIdentityExpanded.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/TestAzSpringCloudAppCustomDomain_ValidateViaIdentityExpanded.cs
index d686494eb061..1722bea3bc26 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/TestAzSpringCloudAppCustomDomain_ValidateViaIdentityExpanded.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/TestAzSpringCloudAppCustomDomain_ValidateViaIdentityExpanded.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] ValidateDomain=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/validateDomain"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsDiagnostic.Test, @"AzSpringCloudAppCustomDomain_ValidateViaIdentityExpanded", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.ICustomDomainValidateResult))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Check the resource name is valid as well as not in use.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/TestAzSpringCloudAppCustomDomain_ValidateViaIdentitySpringExpanded.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/TestAzSpringCloudAppCustomDomain_ValidateViaIdentitySpringExpanded.cs
index 43cf5f3e3ea2..48bb65714c78 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/TestAzSpringCloudAppCustomDomain_ValidateViaIdentitySpringExpanded.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/TestAzSpringCloudAppCustomDomain_ValidateViaIdentitySpringExpanded.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] ValidateDomain=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/validateDomain"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsDiagnostic.Test, @"AzSpringCloudAppCustomDomain_ValidateViaIdentitySpringExpanded", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.ICustomDomainValidateResult))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Check the resource name is valid as well as not in use.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/TestAzSpringCloudAppCustomDomain_ValidateViaJsonFilePath.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/TestAzSpringCloudAppCustomDomain_ValidateViaJsonFilePath.cs
index f20509530b25..38633dbc8521 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/TestAzSpringCloudAppCustomDomain_ValidateViaJsonFilePath.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/TestAzSpringCloudAppCustomDomain_ValidateViaJsonFilePath.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] ValidateDomain=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/validateDomain"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsDiagnostic.Test, @"AzSpringCloudAppCustomDomain_ValidateViaJsonFilePath", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.ICustomDomainValidateResult))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Check the resource name is valid as well as not in use.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/TestAzSpringCloudAppCustomDomain_ValidateViaJsonString.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/TestAzSpringCloudAppCustomDomain_ValidateViaJsonString.cs
index dc14a6637a96..65c3205e0e17 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/TestAzSpringCloudAppCustomDomain_ValidateViaJsonString.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/TestAzSpringCloudAppCustomDomain_ValidateViaJsonString.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] ValidateDomain=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/validateDomain"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsDiagnostic.Test, @"AzSpringCloudAppCustomDomain_ValidateViaJsonString", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.ICustomDomainValidateResult))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Check the resource name is valid as well as not in use.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/TestAzSpringCloudConfigServer_ValidateExpanded.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/TestAzSpringCloudConfigServer_ValidateExpanded.cs
index e9544c150364..d49d7c6c1fb9 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/TestAzSpringCloudConfigServer_ValidateExpanded.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/TestAzSpringCloudConfigServer_ValidateExpanded.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] Validate=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/configServers/validate"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsDiagnostic.Test, @"AzSpringCloudConfigServer_ValidateExpanded", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IConfigServerSettingsValidateResult))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Check if the config server settings are valid.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -44,15 +44,6 @@ public partial class TestAzSpringCloudConfigServer_ValidateExpanded : global::Sy
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Category(global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.ParameterCategory.Runtime)]
@@ -368,11 +359,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.TestAzSpringCloudC
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -688,24 +674,7 @@ public TestAzSpringCloudConfigServer_ValidateExpanded()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IConfigServerSettingsValidateResult
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/TestAzSpringCloudConfigServer_ValidateViaIdentityExpanded.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/TestAzSpringCloudConfigServer_ValidateViaIdentityExpanded.cs
index a974a95a5e22..49836674e50a 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/TestAzSpringCloudConfigServer_ValidateViaIdentityExpanded.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/TestAzSpringCloudConfigServer_ValidateViaIdentityExpanded.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] Validate=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/configServers/validate"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsDiagnostic.Test, @"AzSpringCloudConfigServer_ValidateViaIdentityExpanded", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IConfigServerSettingsValidateResult))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Check if the config server settings are valid.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -44,15 +44,6 @@ public partial class TestAzSpringCloudConfigServer_ValidateViaIdentityExpanded :
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Category(global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.ParameterCategory.Runtime)]
@@ -322,11 +313,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.TestAzSpringCloudC
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -662,24 +648,7 @@ public TestAzSpringCloudConfigServer_ValidateViaIdentityExpanded()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IConfigServerSettingsValidateResult
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/TestAzSpringCloudConfigServer_ValidateViaJsonFilePath.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/TestAzSpringCloudConfigServer_ValidateViaJsonFilePath.cs
index 0920b2109083..8571467705c1 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/TestAzSpringCloudConfigServer_ValidateViaJsonFilePath.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/TestAzSpringCloudConfigServer_ValidateViaJsonFilePath.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] Validate=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/configServers/validate"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsDiagnostic.Test, @"AzSpringCloudConfigServer_ValidateViaJsonFilePath", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IConfigServerSettingsValidateResult))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Check if the config server settings are valid.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -42,17 +42,8 @@ public partial class TestAzSpringCloudConfigServer_ValidateViaJsonFilePath : glo
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
public global::System.String _jsonString;
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Category(global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.ParameterCategory.Runtime)]
@@ -269,11 +260,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.TestAzSpringCloudC
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -589,24 +575,7 @@ public TestAzSpringCloudConfigServer_ValidateViaJsonFilePath()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IConfigServerSettingsValidateResult
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/TestAzSpringCloudConfigServer_ValidateViaJsonString.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/TestAzSpringCloudConfigServer_ValidateViaJsonString.cs
index a20e4e2d2b92..fdf8d61365dd 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/TestAzSpringCloudConfigServer_ValidateViaJsonString.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/TestAzSpringCloudConfigServer_ValidateViaJsonString.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] Validate=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/configServers/validate"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsDiagnostic.Test, @"AzSpringCloudConfigServer_ValidateViaJsonString", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IConfigServerSettingsValidateResult))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Check if the config server settings are valid.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -42,15 +42,6 @@ public partial class TestAzSpringCloudConfigServer_ValidateViaJsonString : globa
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Category(global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.ParameterCategory.Runtime)]
@@ -267,11 +258,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.TestAzSpringCloudC
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -587,24 +573,7 @@ public TestAzSpringCloudConfigServer_ValidateViaJsonString()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IConfigServerSettingsValidateResult
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/TestAzSpringCloudConfigurationService_ValidateExpanded.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/TestAzSpringCloudConfigurationService_ValidateExpanded.cs
index 1d91509048d9..1520872c1172 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/TestAzSpringCloudConfigurationService_ValidateExpanded.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/TestAzSpringCloudConfigurationService_ValidateExpanded.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] Validate=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/configurationServices/{configurationServiceName}/validate"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsDiagnostic.Test, @"AzSpringCloudConfigurationService_ValidateExpanded", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IConfigurationServiceSettingsValidateResult))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Check if the Application Configuration Service settings are valid.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -41,15 +41,6 @@ public partial class TestAzSpringCloudConfigurationService_ValidateExpanded : gl
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// The settings of Application Configuration Service.
private Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IConfigurationServiceSettings _settingsBody = new Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.ConfigurationServiceSettings();
@@ -290,11 +281,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.TestAzSpringCloudC
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -614,24 +600,7 @@ public TestAzSpringCloudConfigurationService_ValidateExpanded()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IConfigurationServiceSettingsValidateResult
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/TestAzSpringCloudConfigurationService_ValidateViaIdentityExpanded.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/TestAzSpringCloudConfigurationService_ValidateViaIdentityExpanded.cs
index 2de881ff0d4c..b4d58758c7de 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/TestAzSpringCloudConfigurationService_ValidateViaIdentityExpanded.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/TestAzSpringCloudConfigurationService_ValidateViaIdentityExpanded.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] Validate=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/configurationServices/{configurationServiceName}/validate"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsDiagnostic.Test, @"AzSpringCloudConfigurationService_ValidateViaIdentityExpanded", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IConfigurationServiceSettingsValidateResult))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Check if the Application Configuration Service settings are valid.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -41,15 +41,6 @@ public partial class TestAzSpringCloudConfigurationService_ValidateViaIdentityEx
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// The settings of Application Configuration Service.
private Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IConfigurationServiceSettings _settingsBody = new Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.ConfigurationServiceSettings();
@@ -222,11 +213,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.TestAzSpringCloudC
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -567,24 +553,7 @@ public TestAzSpringCloudConfigurationService_ValidateViaIdentityExpanded()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IConfigurationServiceSettingsValidateResult
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/TestAzSpringCloudConfigurationService_ValidateViaIdentitySpringExpanded.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/TestAzSpringCloudConfigurationService_ValidateViaIdentitySpringExpanded.cs
index 5d6966f65828..6d564dda2a51 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/TestAzSpringCloudConfigurationService_ValidateViaIdentitySpringExpanded.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/TestAzSpringCloudConfigurationService_ValidateViaIdentitySpringExpanded.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] Validate=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/configurationServices/{configurationServiceName}/validate"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsDiagnostic.Test, @"AzSpringCloudConfigurationService_ValidateViaIdentitySpringExpanded", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IConfigurationServiceSettingsValidateResult))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Check if the Application Configuration Service settings are valid.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -41,15 +41,6 @@ public partial class TestAzSpringCloudConfigurationService_ValidateViaIdentitySp
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// The settings of Application Configuration Service.
private Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IConfigurationServiceSettings _settingsBody = new Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.ConfigurationServiceSettings();
@@ -244,11 +235,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.TestAzSpringCloudC
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -590,24 +576,7 @@ public TestAzSpringCloudConfigurationService_ValidateViaIdentitySpringExpanded()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IConfigurationServiceSettingsValidateResult
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/TestAzSpringCloudConfigurationService_ValidateViaJsonFilePath.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/TestAzSpringCloudConfigurationService_ValidateViaJsonFilePath.cs
index 3b0b56b3bbef..063d91f80284 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/TestAzSpringCloudConfigurationService_ValidateViaJsonFilePath.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/TestAzSpringCloudConfigurationService_ValidateViaJsonFilePath.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] Validate=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/configurationServices/{configurationServiceName}/validate"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsDiagnostic.Test, @"AzSpringCloudConfigurationService_ValidateViaJsonFilePath", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IConfigurationServiceSettingsValidateResult))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Check if the Application Configuration Service settings are valid.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -42,17 +42,8 @@ public partial class TestAzSpringCloudConfigurationService_ValidateViaJsonFilePa
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
public global::System.String _jsonString;
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Category(global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.ParameterCategory.Runtime)]
@@ -293,11 +284,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.TestAzSpringCloudC
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -618,24 +604,7 @@ public TestAzSpringCloudConfigurationService_ValidateViaJsonFilePath()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IConfigurationServiceSettingsValidateResult
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/TestAzSpringCloudConfigurationService_ValidateViaJsonString.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/TestAzSpringCloudConfigurationService_ValidateViaJsonString.cs
index 4bebe025fcd0..eace82e285cd 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/TestAzSpringCloudConfigurationService_ValidateViaJsonString.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/TestAzSpringCloudConfigurationService_ValidateViaJsonString.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] Validate=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/configurationServices/{configurationServiceName}/validate"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsDiagnostic.Test, @"AzSpringCloudConfigurationService_ValidateViaJsonString", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IConfigurationServiceSettingsValidateResult))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Check if the Application Configuration Service settings are valid.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -42,15 +42,6 @@ public partial class TestAzSpringCloudConfigurationService_ValidateViaJsonString
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Category(global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.ParameterCategory.Runtime)]
@@ -291,11 +282,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.TestAzSpringCloudC
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -615,24 +601,7 @@ public TestAzSpringCloudConfigurationService_ValidateViaJsonString()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IConfigurationServiceSettingsValidateResult
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/TestAzSpringCloudNameAvailability_CheckExpanded.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/TestAzSpringCloudNameAvailability_CheckExpanded.cs
index 034346ee1a3f..dc21e8ccc28a 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/TestAzSpringCloudNameAvailability_CheckExpanded.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/TestAzSpringCloudNameAvailability_CheckExpanded.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] CheckNameAvailability=>POST:"/subscriptions/{subscriptionId}/providers/Microsoft.AppPlatform/locations/{location}/checkNameAvailability"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsDiagnostic.Test, @"AzSpringCloudNameAvailability_CheckExpanded", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.INameAvailability))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Checks that the resource name is valid and is not already in use.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/UpdateAzSpringCloudAppActiveDeployment_SetExpanded.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/UpdateAzSpringCloudAppActiveDeployment_SetExpanded.cs
index 94aeb854d169..41cffa82b031 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/UpdateAzSpringCloudAppActiveDeployment_SetExpanded.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/UpdateAzSpringCloudAppActiveDeployment_SetExpanded.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] SetActiveDeployments=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/setActiveDeployments"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzSpringCloudAppActiveDeployment_SetExpanded", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IAppResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Set existing Deployment under the app as active")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -46,15 +46,6 @@ public partial class UpdateAzSpringCloudAppActiveDeployment_SetExpanded : global
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Category(global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.ParameterCategory.Runtime)]
@@ -285,11 +276,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.UpdateAzSpringClou
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -605,24 +591,7 @@ public UpdateAzSpringCloudAppActiveDeployment_SetExpanded()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IAppResource
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/UpdateAzSpringCloudAppActiveDeployment_SetViaIdentityExpanded.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/UpdateAzSpringCloudAppActiveDeployment_SetViaIdentityExpanded.cs
index 08f3a9a2ae3c..699818b29ea3 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/UpdateAzSpringCloudAppActiveDeployment_SetViaIdentityExpanded.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/UpdateAzSpringCloudAppActiveDeployment_SetViaIdentityExpanded.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] SetActiveDeployments=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/setActiveDeployments"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzSpringCloudAppActiveDeployment_SetViaIdentityExpanded", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IAppResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Set existing Deployment under the app as active")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -46,15 +46,6 @@ public partial class UpdateAzSpringCloudAppActiveDeployment_SetViaIdentityExpand
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Category(global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.ParameterCategory.Runtime)]
@@ -224,11 +215,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.UpdateAzSpringClou
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -569,24 +555,7 @@ public UpdateAzSpringCloudAppActiveDeployment_SetViaIdentityExpanded()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IAppResource
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/UpdateAzSpringCloudAppActiveDeployment_SetViaIdentitySpringExpanded.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/UpdateAzSpringCloudAppActiveDeployment_SetViaIdentitySpringExpanded.cs
index ec89045be8c0..6f876f466d1a 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/UpdateAzSpringCloudAppActiveDeployment_SetViaIdentitySpringExpanded.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/UpdateAzSpringCloudAppActiveDeployment_SetViaIdentitySpringExpanded.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] SetActiveDeployments=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/setActiveDeployments"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzSpringCloudAppActiveDeployment_SetViaIdentitySpringExpanded", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IAppResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Set existing Deployment under the app as active")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -46,15 +46,6 @@ public partial class UpdateAzSpringCloudAppActiveDeployment_SetViaIdentitySpring
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Category(global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.ParameterCategory.Runtime)]
@@ -239,11 +230,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.UpdateAzSpringClou
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -581,24 +567,7 @@ public UpdateAzSpringCloudAppActiveDeployment_SetViaIdentitySpringExpanded()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IAppResource
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/UpdateAzSpringCloudAppActiveDeployment_SetViaJsonFilePath.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/UpdateAzSpringCloudAppActiveDeployment_SetViaJsonFilePath.cs
index ff88125ac3ab..7e37dd13264d 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/UpdateAzSpringCloudAppActiveDeployment_SetViaJsonFilePath.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/UpdateAzSpringCloudAppActiveDeployment_SetViaJsonFilePath.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] SetActiveDeployments=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/setActiveDeployments"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzSpringCloudAppActiveDeployment_SetViaJsonFilePath", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IAppResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Set existing Deployment under the app as active")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -42,17 +42,8 @@ public partial class UpdateAzSpringCloudAppActiveDeployment_SetViaJsonFilePath :
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
public global::System.String _jsonString;
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Category(global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.ParameterCategory.Runtime)]
@@ -286,11 +277,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.UpdateAzSpringClou
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -606,24 +592,7 @@ public UpdateAzSpringCloudAppActiveDeployment_SetViaJsonFilePath()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IAppResource
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/UpdateAzSpringCloudAppActiveDeployment_SetViaJsonString.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/UpdateAzSpringCloudAppActiveDeployment_SetViaJsonString.cs
index 58e24185e181..2b7eea66cf17 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/UpdateAzSpringCloudAppActiveDeployment_SetViaJsonString.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/UpdateAzSpringCloudAppActiveDeployment_SetViaJsonString.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] SetActiveDeployments=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/setActiveDeployments"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzSpringCloudAppActiveDeployment_SetViaJsonString", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IAppResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Set existing Deployment under the app as active")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -42,15 +42,6 @@ public partial class UpdateAzSpringCloudAppActiveDeployment_SetViaJsonString : g
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary();
- /// A buffer to record first returned object in response.
- private object _firstResponse = null;
-
- ///
- /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
- /// Two means multiple returned objects in response.
- ///
- private int _responseSize = 0;
-
/// when specified, runs this cmdlet as a PowerShell job
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Category(global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.ParameterCategory.Runtime)]
@@ -282,11 +273,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets.UpdateAzSpringClou
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -602,24 +588,7 @@ public UpdateAzSpringCloudAppActiveDeployment_SetViaJsonString()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IAppResource
var result = (await response);
- if (null != result)
- {
- if (0 == _responseSize)
- {
- _firstResponse = result;
- _responseSize = 1;
- }
- else
- {
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
- }
- WriteObject(result.AddMultipleTypeNameIntoPSObject());
- _responseSize = 2;
- }
- }
+ WriteObject(result, false);
}
}
}
diff --git a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/UpdateAzSpringCloudAppBinding_UpdateExpanded.cs b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/UpdateAzSpringCloudAppBinding_UpdateExpanded.cs
index ba95326c7ec2..34c7a06557c6 100644
--- a/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/UpdateAzSpringCloudAppBinding_UpdateExpanded.cs
+++ b/generated/SpringCloud/SpringCloud.Autorest/generated/cmdlets/UpdateAzSpringCloudAppBinding_UpdateExpanded.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Cmdlets
/// [OpenAPI] Update=>PATCH:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/bindings/{bindingName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzSpringCloudAppBinding_UpdateExpanded", SupportsShouldProcess = true)]
- [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.CmdletBreakingChange("19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.GenericBreakingChange("", "19.3.0", "0.3.2", "2028/03/31", ChangeDescription = "Azure Spring Apps, including the Standard consumption and dedicated (currently in Public Preview only), Basic, Standard, and Enterprise plans, will be retired, please see details on https://aka.ms/asaretirement.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IBindingResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Description(@"Operation to update an exiting Binding.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Generated]
@@ -44,15 +44,6 @@ public partial class UpdateAzSpringCloudAppBinding_UpdateExpanded : global::Syst
/// A dictionary to carry over additional data for pipeline.
private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary