diff --git a/generated/HealthDataAIServices/HealthDataAIServices.Autorest/exports/Get-AzDeidService.ps1 b/generated/HealthDataAIServices/HealthDataAIServices.Autorest/exports/Get-AzDeidService.ps1
index ee50d3a2b7da..a8b55d24dfdd 100644
--- a/generated/HealthDataAIServices/HealthDataAIServices.Autorest/exports/Get-AzDeidService.ps1
+++ b/generated/HealthDataAIServices/HealthDataAIServices.Autorest/exports/Get-AzDeidService.ps1
@@ -134,6 +134,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.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()
}
@@ -158,8 +166,6 @@ begin {
List1 = 'Az.HealthDataAIServices.private\Get-AzDeidService_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.HealthDataAIServices.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -173,6 +179,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -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/HealthDataAIServices/HealthDataAIServices.Autorest/exports/New-AzDeidService.ps1 b/generated/HealthDataAIServices/HealthDataAIServices.Autorest/exports/New-AzDeidService.ps1
index ef9510a6c36e..8578da782238 100644
--- a/generated/HealthDataAIServices/HealthDataAIServices.Autorest/exports/New-AzDeidService.ps1
+++ b/generated/HealthDataAIServices/HealthDataAIServices.Autorest/exports/New-AzDeidService.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-create a DeidService
+Create a DeidService
.Description
-create a DeidService
+Create a DeidService
.Example
New-AzDeidService -Name myHealthDeidService -ResourceGroupName azpwsh-test-rg -Location eastus2 -EnableSystemAssignedIdentity -PublicNetworkAccess "Disabled"
.Example
@@ -170,6 +170,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.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()
}
@@ -193,8 +201,6 @@ begin {
CreateViaJsonString = 'Az.HealthDataAIServices.private\New-AzDeidService_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.HealthDataAIServices.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -208,6 +214,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -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/HealthDataAIServices/HealthDataAIServices.Autorest/exports/ProxyCmdletDefinitions.ps1 b/generated/HealthDataAIServices/HealthDataAIServices.Autorest/exports/ProxyCmdletDefinitions.ps1
index 289a955bf3f9..5851a8f5878a 100644
--- a/generated/HealthDataAIServices/HealthDataAIServices.Autorest/exports/ProxyCmdletDefinitions.ps1
+++ b/generated/HealthDataAIServices/HealthDataAIServices.Autorest/exports/ProxyCmdletDefinitions.ps1
@@ -134,6 +134,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.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()
}
@@ -158,8 +166,6 @@ begin {
List1 = 'Az.HealthDataAIServices.private\Get-AzDeidService_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.HealthDataAIServices.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -173,6 +179,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -218,9 +227,9 @@ end {
<#
.Synopsis
-create a DeidService
+Create a DeidService
.Description
-create a DeidService
+Create a DeidService
.Example
New-AzDeidService -Name myHealthDeidService -ResourceGroupName azpwsh-test-rg -Location eastus2 -EnableSystemAssignedIdentity -PublicNetworkAccess "Disabled"
.Example
@@ -372,6 +381,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.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()
}
@@ -395,8 +412,6 @@ begin {
CreateViaJsonString = 'Az.HealthDataAIServices.private\New-AzDeidService_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.HealthDataAIServices.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -410,6 +425,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -586,6 +604,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.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()
}
@@ -608,8 +634,6 @@ begin {
DeleteViaIdentity = 'Az.HealthDataAIServices.private\Remove-AzDeidService_DeleteViaIdentity';
}
if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -623,6 +647,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -668,9 +695,9 @@ end {
<#
.Synopsis
-update a DeidService
+Update a DeidService
.Description
-update a DeidService
+Update a DeidService
.Example
Update-AzDeidService -Name myHealthDeidService -ResourceGroupName azpwsh-test-rg -EnableSystemAssignedIdentity $true
.Example
@@ -823,6 +850,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.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()
}
@@ -845,8 +880,6 @@ begin {
UpdateViaIdentityExpanded = 'Az.HealthDataAIServices.private\Update-AzDeidService_UpdateViaIdentityExpanded';
}
if (('UpdateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -860,6 +893,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -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/HealthDataAIServices/HealthDataAIServices.Autorest/exports/Remove-AzDeidService.ps1 b/generated/HealthDataAIServices/HealthDataAIServices.Autorest/exports/Remove-AzDeidService.ps1
index 48fd5e77b035..b5ab35c7967b 100644
--- a/generated/HealthDataAIServices/HealthDataAIServices.Autorest/exports/Remove-AzDeidService.ps1
+++ b/generated/HealthDataAIServices/HealthDataAIServices.Autorest/exports/Remove-AzDeidService.ps1
@@ -147,6 +147,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.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 {
DeleteViaIdentity = 'Az.HealthDataAIServices.private\Remove-AzDeidService_DeleteViaIdentity';
}
if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.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/HealthDataAIServices/HealthDataAIServices.Autorest/exports/Update-AzDeidService.ps1 b/generated/HealthDataAIServices/HealthDataAIServices.Autorest/exports/Update-AzDeidService.ps1
index 673ee8d88a67..2d09b0de4fd8 100644
--- a/generated/HealthDataAIServices/HealthDataAIServices.Autorest/exports/Update-AzDeidService.ps1
+++ b/generated/HealthDataAIServices/HealthDataAIServices.Autorest/exports/Update-AzDeidService.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-update a DeidService
+Update a DeidService
.Description
-update a DeidService
+Update a DeidService
.Example
Update-AzDeidService -Name myHealthDeidService -ResourceGroupName azpwsh-test-rg -EnableSystemAssignedIdentity $true
.Example
@@ -171,6 +171,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.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()
}
@@ -193,8 +201,6 @@ begin {
UpdateViaIdentityExpanded = 'Az.HealthDataAIServices.private\Update-AzDeidService_UpdateViaIdentityExpanded';
}
if (('UpdateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -208,6 +214,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -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/HealthDataAIServices/HealthDataAIServices.Autorest/generated/api/HealthDataAiServices.cs b/generated/HealthDataAIServices/HealthDataAIServices.Autorest/generated/api/HealthDataAiServices.cs
index 0ed427b9a49a..6d62f44c12d3 100644
--- a/generated/HealthDataAIServices/HealthDataAIServices.Autorest/generated/api/HealthDataAiServices.cs
+++ b/generated/HealthDataAIServices/HealthDataAIServices.Autorest/generated/api/HealthDataAiServices.cs
@@ -334,13 +334,13 @@ public partial class HealthDataAiServices
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.HealthDataAIServices.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.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");
@@ -488,13 +488,13 @@ public partial class HealthDataAiServices
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.HealthDataAIServices.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.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");
@@ -757,13 +757,13 @@ public partial class HealthDataAiServices
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.HealthDataAIServices.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.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");
@@ -2170,13 +2170,13 @@ public partial class HealthDataAiServices
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.HealthDataAIServices.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.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");
@@ -2325,13 +2325,13 @@ public partial class HealthDataAiServices
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.HealthDataAIServices.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.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");
@@ -3102,13 +3102,13 @@ public partial class HealthDataAiServices
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.HealthDataAIServices.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.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");
@@ -3256,13 +3256,13 @@ public partial class HealthDataAiServices
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.HealthDataAIServices.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.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");
@@ -3533,13 +3533,13 @@ public partial class HealthDataAiServices
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.HealthDataAIServices.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.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/HealthDataAIServices/HealthDataAIServices.Autorest/generated/api/Models/ComponentsQjfoe3SchemasManagedserviceidentityupdatePropertiesUserassignedidentitiesAdditionalproperties.cs b/generated/HealthDataAIServices/HealthDataAIServices.Autorest/generated/api/Models/ComponentsQjfoe3SchemasManagedserviceidentityupdatePropertiesUserassignedidentitiesAdditionalproperties.cs
index a852fc3c1dd0..0bd22ccd2dfc 100644
--- a/generated/HealthDataAIServices/HealthDataAIServices.Autorest/generated/api/Models/ComponentsQjfoe3SchemasManagedserviceidentityupdatePropertiesUserassignedidentitiesAdditionalproperties.cs
+++ b/generated/HealthDataAIServices/HealthDataAIServices.Autorest/generated/api/Models/ComponentsQjfoe3SchemasManagedserviceidentityupdatePropertiesUserassignedidentitiesAdditionalproperties.cs
@@ -23,10 +23,10 @@ public partial class ComponentsQjfoe3SchemasManagedserviceidentityupdateProperti
public string ClientId { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IUserAssignedIdentityInternal)__userAssignedIdentity).ClientId; }
/// Internal Acessors for ClientId
- string Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IUserAssignedIdentityInternal.ClientId { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IUserAssignedIdentityInternal)__userAssignedIdentity).ClientId; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IUserAssignedIdentityInternal)__userAssignedIdentity).ClientId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IUserAssignedIdentityInternal.ClientId { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IUserAssignedIdentityInternal)__userAssignedIdentity).ClientId; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IUserAssignedIdentityInternal)__userAssignedIdentity).ClientId = value ?? null; }
/// Internal Acessors for PrincipalId
- string Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IUserAssignedIdentityInternal.PrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IUserAssignedIdentityInternal)__userAssignedIdentity).PrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IUserAssignedIdentityInternal)__userAssignedIdentity).PrincipalId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IUserAssignedIdentityInternal.PrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IUserAssignedIdentityInternal)__userAssignedIdentity).PrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IUserAssignedIdentityInternal)__userAssignedIdentity).PrincipalId = value ?? null; }
/// The principal ID of the assigned identity.
[Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Origin(Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.PropertyOrigin.Inherited)]
diff --git a/generated/HealthDataAIServices/HealthDataAIServices.Autorest/generated/api/Models/DeidService.cs b/generated/HealthDataAIServices/HealthDataAIServices.Autorest/generated/api/Models/DeidService.cs
index 571a7382cded..596228b8157e 100644
--- a/generated/HealthDataAIServices/HealthDataAIServices.Autorest/generated/api/Models/DeidService.cs
+++ b/generated/HealthDataAIServices/HealthDataAIServices.Autorest/generated/api/Models/DeidService.cs
@@ -60,40 +60,58 @@ public partial class DeidService :
/// The geo-location where the resource lives
[Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Origin(Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.PropertyOrigin.Inherited)]
- public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.ITrackedResourceInternal)__trackedResource).Location = value ; }
+ public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.ITrackedResourceInternal)__trackedResource).Location = value ?? null; }
/// Internal Acessors for Identity
Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IManagedServiceIdentity Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IDeidServiceInternal.Identity { get => (this._identity = this._identity ?? new Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.ManagedServiceIdentity()); set { {_identity = value;} } }
/// Internal Acessors for IdentityPrincipalId
- string Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IDeidServiceInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IManagedServiceIdentityInternal)Identity).PrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IManagedServiceIdentityInternal)Identity).PrincipalId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IDeidServiceInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IManagedServiceIdentityInternal)Identity).PrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IManagedServiceIdentityInternal)Identity).PrincipalId = value ?? null; }
/// Internal Acessors for IdentityTenantId
- string Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IDeidServiceInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IManagedServiceIdentityInternal)Identity).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IManagedServiceIdentityInternal)Identity).TenantId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IDeidServiceInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IManagedServiceIdentityInternal)Identity).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IManagedServiceIdentityInternal)Identity).TenantId = value ?? null; }
/// Internal Acessors for PrivateEndpointConnection
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IDeidServiceInternal.PrivateEndpointConnection { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IDeidServicePropertiesInternal)Property).PrivateEndpointConnection; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IDeidServicePropertiesInternal)Property).PrivateEndpointConnection = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IDeidServiceInternal.PrivateEndpointConnection { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IDeidServicePropertiesInternal)Property).PrivateEndpointConnection; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IDeidServicePropertiesInternal)Property).PrivateEndpointConnection = value ?? null /* arrayOf */; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IDeidServiceProperties Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IDeidServiceInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.DeidServiceProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IDeidServiceInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IDeidServicePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IDeidServicePropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IDeidServiceInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IDeidServicePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IDeidServicePropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for ServiceUrl
- string Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IDeidServiceInternal.ServiceUrl { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IDeidServicePropertiesInternal)Property).ServiceUrl; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IDeidServicePropertiesInternal)Property).ServiceUrl = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IDeidServiceInternal.ServiceUrl { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IDeidServicePropertiesInternal)Property).ServiceUrl; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IDeidServicePropertiesInternal)Property).ServiceUrl = value ?? null; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__trackedResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__trackedResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__trackedResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__trackedResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__trackedResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__trackedResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__trackedResource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Origin(Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.PropertyOrigin.Inherited)]
@@ -130,31 +148,31 @@ public partial class DeidService :
/// Azure Resource Manager metadata containing createdBy and modifiedBy information.
///
[Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Origin(Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.PropertyOrigin.Inherited)]
- internal Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__trackedResource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Origin(Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Origin(Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.PropertyOrigin.Inherited)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Origin(Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.PropertyOrigin.Inherited)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Origin(Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Origin(Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Origin(Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; }
/// Resource tags.
[Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Origin(Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.PropertyOrigin.Inherited)]
diff --git a/generated/HealthDataAIServices/HealthDataAIServices.Autorest/generated/api/Models/ErrorResponse.cs b/generated/HealthDataAIServices/HealthDataAIServices.Autorest/generated/api/Models/ErrorResponse.cs
index 890ba63a0df3..8400794412b4 100644
--- a/generated/HealthDataAIServices/HealthDataAIServices.Autorest/generated/api/Models/ErrorResponse.cs
+++ b/generated/HealthDataAIServices/HealthDataAIServices.Autorest/generated/api/Models/ErrorResponse.cs
@@ -40,22 +40,22 @@ public partial class ErrorResponse :
public string Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IErrorDetailInternal)Error).Message; }
/// Internal Acessors for AdditionalInfo
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IErrorResponseInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IErrorDetailInternal)Error).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IErrorDetailInternal)Error).AdditionalInfo = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IErrorResponseInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IErrorDetailInternal)Error).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IErrorDetailInternal)Error).AdditionalInfo = value ?? null /* arrayOf */; }
/// Internal Acessors for Code
- string Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IErrorResponseInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IErrorDetailInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IErrorDetailInternal)Error).Code = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IErrorResponseInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IErrorDetailInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IErrorDetailInternal)Error).Code = value ?? null; }
/// Internal Acessors for Detail
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IErrorResponseInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IErrorDetailInternal)Error).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IErrorDetailInternal)Error).Detail = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IErrorResponseInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IErrorDetailInternal)Error).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IErrorDetailInternal)Error).Detail = value ?? null /* arrayOf */; }
/// Internal Acessors for Error
Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IErrorDetail Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IErrorResponseInternal.Error { get => (this._error = this._error ?? new Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.ErrorDetail()); set { {_error = value;} } }
/// Internal Acessors for Message
- string Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IErrorResponseInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IErrorDetailInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IErrorDetailInternal)Error).Message = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IErrorResponseInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IErrorDetailInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IErrorDetailInternal)Error).Message = value ?? null; }
/// Internal Acessors for Target
- string Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IErrorResponseInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IErrorDetailInternal)Error).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IErrorDetailInternal)Error).Target = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IErrorResponseInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IErrorDetailInternal)Error).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IErrorDetailInternal)Error).Target = value ?? null; }
/// The error target.
[Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Origin(Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.PropertyOrigin.Inlined)]
diff --git a/generated/HealthDataAIServices/HealthDataAIServices.Autorest/generated/api/Models/Operation.cs b/generated/HealthDataAIServices/HealthDataAIServices.Autorest/generated/api/Models/Operation.cs
index b6d0e2fd54df..6477a1c9c87c 100644
--- a/generated/HealthDataAIServices/HealthDataAIServices.Autorest/generated/api/Models/Operation.cs
+++ b/generated/HealthDataAIServices/HealthDataAIServices.Autorest/generated/api/Models/Operation.cs
@@ -73,16 +73,16 @@ public partial class Operation :
Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IOperationDisplay Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IOperationInternal.Display { get => (this._display = this._display ?? new Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.OperationDisplay()); set { {_display = value;} } }
/// Internal Acessors for DisplayDescription
- string Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IOperationInternal.DisplayDescription { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IOperationDisplayInternal)Display).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IOperationDisplayInternal)Display).Description = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IOperationInternal.DisplayDescription { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IOperationDisplayInternal)Display).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IOperationDisplayInternal)Display).Description = value ?? null; }
/// Internal Acessors for DisplayOperation
- string Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IOperationInternal.DisplayOperation { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IOperationDisplayInternal)Display).Operation; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IOperationDisplayInternal)Display).Operation = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IOperationInternal.DisplayOperation { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IOperationDisplayInternal)Display).Operation; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IOperationDisplayInternal)Display).Operation = value ?? null; }
/// Internal Acessors for DisplayProvider
- string Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IOperationInternal.DisplayProvider { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IOperationDisplayInternal)Display).Provider; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IOperationDisplayInternal)Display).Provider = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IOperationInternal.DisplayProvider { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IOperationDisplayInternal)Display).Provider; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IOperationDisplayInternal)Display).Provider = value ?? null; }
/// Internal Acessors for DisplayResource
- string Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IOperationInternal.DisplayResource { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IOperationDisplayInternal)Display).Resource; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IOperationDisplayInternal)Display).Resource = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IOperationInternal.DisplayResource { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IOperationDisplayInternal)Display).Resource; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IOperationDisplayInternal)Display).Resource = value ?? null; }
/// Internal Acessors for IsDataAction
bool? Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IOperationInternal.IsDataAction { get => this._isDataAction; set { {_isDataAction = value;} } }
diff --git a/generated/HealthDataAIServices/HealthDataAIServices.Autorest/generated/api/Models/PrivateEndpointConnection.cs b/generated/HealthDataAIServices/HealthDataAIServices.Autorest/generated/api/Models/PrivateEndpointConnection.cs
index 48b14ec39465..19686762902a 100644
--- a/generated/HealthDataAIServices/HealthDataAIServices.Autorest/generated/api/Models/PrivateEndpointConnection.cs
+++ b/generated/HealthDataAIServices/HealthDataAIServices.Autorest/generated/api/Models/PrivateEndpointConnection.cs
@@ -30,34 +30,52 @@ public partial class PrivateEndpointConnection :
public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).Id; }
/// Internal Acessors for GroupId
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IPrivateEndpointConnectionInternal.GroupId { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IPrivateEndpointConnectionPropertiesInternal)Property).GroupId; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IPrivateEndpointConnectionPropertiesInternal)Property).GroupId = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IPrivateEndpointConnectionInternal.GroupId { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IPrivateEndpointConnectionPropertiesInternal)Property).GroupId; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IPrivateEndpointConnectionPropertiesInternal)Property).GroupId = value ?? null /* arrayOf */; }
/// Internal Acessors for PrivateEndpoint
- Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IPrivateEndpoint Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IPrivateEndpointConnectionInternal.PrivateEndpoint { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateEndpoint; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateEndpoint = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IPrivateEndpoint Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IPrivateEndpointConnectionInternal.PrivateEndpoint { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateEndpoint; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateEndpoint = value ?? null /* model class */; }
/// Internal Acessors for PrivateEndpointId
- string Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IPrivateEndpointConnectionInternal.PrivateEndpointId { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateEndpointId; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateEndpointId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IPrivateEndpointConnectionInternal.PrivateEndpointId { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateEndpointId; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateEndpointId = value ?? null; }
/// Internal Acessors for PrivateLinkServiceConnectionState
- Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IPrivateLinkServiceConnectionState Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IPrivateEndpointConnectionInternal.PrivateLinkServiceConnectionState { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateLinkServiceConnectionState; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateLinkServiceConnectionState = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IPrivateLinkServiceConnectionState Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IPrivateEndpointConnectionInternal.PrivateLinkServiceConnectionState { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateLinkServiceConnectionState; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateLinkServiceConnectionState = value ?? null /* model class */; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IPrivateEndpointConnectionProperties Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IPrivateEndpointConnectionInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.PrivateEndpointConnectionProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IPrivateEndpointConnectionInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IPrivateEndpointConnectionPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IPrivateEndpointConnectionPropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IPrivateEndpointConnectionInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IPrivateEndpointConnectionPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IPrivateEndpointConnectionPropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Origin(Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.PropertyOrigin.Inherited)]
@@ -98,31 +116,31 @@ public partial class PrivateEndpointConnection :
/// Azure Resource Manager metadata containing createdBy and modifiedBy information.
///
[Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Origin(Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.PropertyOrigin.Inherited)]
- internal Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Origin(Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Origin(Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.PropertyOrigin.Inherited)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Origin(Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.PropertyOrigin.Inherited)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Origin(Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Origin(Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Origin(Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; }
///
/// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
diff --git a/generated/HealthDataAIServices/HealthDataAIServices.Autorest/generated/api/Models/PrivateEndpointConnectionProperties.cs b/generated/HealthDataAIServices/HealthDataAIServices.Autorest/generated/api/Models/PrivateEndpointConnectionProperties.cs
index ebcf1e9f41c9..89d56190c6c7 100644
--- a/generated/HealthDataAIServices/HealthDataAIServices.Autorest/generated/api/Models/PrivateEndpointConnectionProperties.cs
+++ b/generated/HealthDataAIServices/HealthDataAIServices.Autorest/generated/api/Models/PrivateEndpointConnectionProperties.cs
@@ -27,7 +27,7 @@ public partial class PrivateEndpointConnectionProperties :
Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IPrivateEndpoint Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IPrivateEndpointConnectionPropertiesInternal.PrivateEndpoint { get => (this._privateEndpoint = this._privateEndpoint ?? new Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.PrivateEndpoint()); set { {_privateEndpoint = value;} } }
/// Internal Acessors for PrivateEndpointId
- string Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IPrivateEndpointConnectionPropertiesInternal.PrivateEndpointId { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IPrivateEndpointInternal)PrivateEndpoint).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IPrivateEndpointInternal)PrivateEndpoint).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IPrivateEndpointConnectionPropertiesInternal.PrivateEndpointId { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IPrivateEndpointInternal)PrivateEndpoint).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IPrivateEndpointInternal)PrivateEndpoint).Id = value ?? null; }
/// Internal Acessors for PrivateLinkServiceConnectionState
Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IPrivateLinkServiceConnectionState Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IPrivateEndpointConnectionPropertiesInternal.PrivateLinkServiceConnectionState { get => (this._privateLinkServiceConnectionState = this._privateLinkServiceConnectionState ?? new Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.PrivateLinkServiceConnectionState()); set { {_privateLinkServiceConnectionState = value;} } }
diff --git a/generated/HealthDataAIServices/HealthDataAIServices.Autorest/generated/api/Models/PrivateEndpointConnectionResource.cs b/generated/HealthDataAIServices/HealthDataAIServices.Autorest/generated/api/Models/PrivateEndpointConnectionResource.cs
index 413eddb399f7..78d402116de1 100644
--- a/generated/HealthDataAIServices/HealthDataAIServices.Autorest/generated/api/Models/PrivateEndpointConnectionResource.cs
+++ b/generated/HealthDataAIServices/HealthDataAIServices.Autorest/generated/api/Models/PrivateEndpointConnectionResource.cs
@@ -30,34 +30,52 @@ public partial class PrivateEndpointConnectionResource :
public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__proxyResource).Id; }
/// Internal Acessors for GroupId
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IPrivateEndpointConnectionResourceInternal.GroupId { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IPrivateEndpointConnectionPropertiesInternal)Property).GroupId; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IPrivateEndpointConnectionPropertiesInternal)Property).GroupId = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IPrivateEndpointConnectionResourceInternal.GroupId { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IPrivateEndpointConnectionPropertiesInternal)Property).GroupId; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IPrivateEndpointConnectionPropertiesInternal)Property).GroupId = value ?? null /* arrayOf */; }
/// Internal Acessors for PrivateEndpoint
- Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IPrivateEndpoint Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IPrivateEndpointConnectionResourceInternal.PrivateEndpoint { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateEndpoint; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateEndpoint = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IPrivateEndpoint Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IPrivateEndpointConnectionResourceInternal.PrivateEndpoint { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateEndpoint; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateEndpoint = value ?? null /* model class */; }
/// Internal Acessors for PrivateEndpointId
- string Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IPrivateEndpointConnectionResourceInternal.PrivateEndpointId { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateEndpointId; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateEndpointId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IPrivateEndpointConnectionResourceInternal.PrivateEndpointId { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateEndpointId; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateEndpointId = value ?? null; }
/// Internal Acessors for PrivateLinkServiceConnectionState
- Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IPrivateLinkServiceConnectionState Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IPrivateEndpointConnectionResourceInternal.PrivateLinkServiceConnectionState { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateLinkServiceConnectionState; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateLinkServiceConnectionState = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IPrivateLinkServiceConnectionState Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IPrivateEndpointConnectionResourceInternal.PrivateLinkServiceConnectionState { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateLinkServiceConnectionState; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateLinkServiceConnectionState = value ?? null /* model class */; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IPrivateEndpointConnectionProperties Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IPrivateEndpointConnectionResourceInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.PrivateEndpointConnectionProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IPrivateEndpointConnectionResourceInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IPrivateEndpointConnectionPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IPrivateEndpointConnectionPropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IPrivateEndpointConnectionResourceInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IPrivateEndpointConnectionPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IPrivateEndpointConnectionPropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__proxyResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__proxyResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__proxyResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__proxyResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__proxyResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__proxyResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__proxyResource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Origin(Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.PropertyOrigin.Inherited)]
@@ -102,31 +120,31 @@ public partial class PrivateEndpointConnectionResource :
/// Azure Resource Manager metadata containing createdBy and modifiedBy information.
///
[Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Origin(Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.PropertyOrigin.Inherited)]
- internal Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__proxyResource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Origin(Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Origin(Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.PropertyOrigin.Inherited)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Origin(Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.PropertyOrigin.Inherited)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Origin(Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Origin(Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Origin(Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; }
///
/// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
diff --git a/generated/HealthDataAIServices/HealthDataAIServices.Autorest/generated/api/Models/PrivateLinkResource.cs b/generated/HealthDataAIServices/HealthDataAIServices.Autorest/generated/api/Models/PrivateLinkResource.cs
index 75d2d2475c16..24a15b35dc0d 100644
--- a/generated/HealthDataAIServices/HealthDataAIServices.Autorest/generated/api/Models/PrivateLinkResource.cs
+++ b/generated/HealthDataAIServices/HealthDataAIServices.Autorest/generated/api/Models/PrivateLinkResource.cs
@@ -30,25 +30,43 @@ public partial class PrivateLinkResource :
public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__proxyResource).Id; }
/// Internal Acessors for GroupId
- string Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IPrivateLinkResourceInternal.GroupId { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IPrivateLinkResourcePropertiesInternal)Property).GroupId; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IPrivateLinkResourcePropertiesInternal)Property).GroupId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IPrivateLinkResourceInternal.GroupId { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IPrivateLinkResourcePropertiesInternal)Property).GroupId; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IPrivateLinkResourcePropertiesInternal)Property).GroupId = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IPrivateLinkResourceProperties Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IPrivateLinkResourceInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.PrivateLinkResourceProperties()); set { {_property = value;} } }
/// Internal Acessors for RequiredMember
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IPrivateLinkResourceInternal.RequiredMember { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IPrivateLinkResourcePropertiesInternal)Property).RequiredMember; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IPrivateLinkResourcePropertiesInternal)Property).RequiredMember = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IPrivateLinkResourceInternal.RequiredMember { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IPrivateLinkResourcePropertiesInternal)Property).RequiredMember; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IPrivateLinkResourcePropertiesInternal)Property).RequiredMember = value ?? null /* arrayOf */; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__proxyResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__proxyResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__proxyResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__proxyResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__proxyResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__proxyResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__proxyResource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Origin(Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.PropertyOrigin.Inherited)]
@@ -73,31 +91,31 @@ public partial class PrivateLinkResource :
/// Azure Resource Manager metadata containing createdBy and modifiedBy information.
///
[Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Origin(Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.PropertyOrigin.Inherited)]
- internal Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__proxyResource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Origin(Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Origin(Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.PropertyOrigin.Inherited)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Origin(Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.PropertyOrigin.Inherited)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Origin(Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Origin(Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Origin(Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; }
///
/// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
diff --git a/generated/HealthDataAIServices/HealthDataAIServices.Autorest/generated/api/Models/ProxyResource.cs b/generated/HealthDataAIServices/HealthDataAIServices.Autorest/generated/api/Models/ProxyResource.cs
index 3c7de212df2e..7930bcf189f3 100644
--- a/generated/HealthDataAIServices/HealthDataAIServices.Autorest/generated/api/Models/ProxyResource.cs
+++ b/generated/HealthDataAIServices/HealthDataAIServices.Autorest/generated/api/Models/ProxyResource.cs
@@ -28,16 +28,34 @@ public partial class ProxyResource :
public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).Id; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Origin(Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.PropertyOrigin.Inherited)]
@@ -47,31 +65,31 @@ public partial class ProxyResource :
/// Azure Resource Manager metadata containing createdBy and modifiedBy information.
///
[Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Origin(Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.PropertyOrigin.Inherited)]
- internal Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Origin(Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Origin(Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.PropertyOrigin.Inherited)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Origin(Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.PropertyOrigin.Inherited)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Origin(Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Origin(Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Origin(Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; }
///
/// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
diff --git a/generated/HealthDataAIServices/HealthDataAIServices.Autorest/generated/api/Models/Resource.cs b/generated/HealthDataAIServices/HealthDataAIServices.Autorest/generated/api/Models/Resource.cs
index bd25e5b1af78..ddfe1cf5be63 100644
--- a/generated/HealthDataAIServices/HealthDataAIServices.Autorest/generated/api/Models/Resource.cs
+++ b/generated/HealthDataAIServices/HealthDataAIServices.Autorest/generated/api/Models/Resource.cs
@@ -33,6 +33,24 @@ public partial class Resource :
/// Internal Acessors for SystemData
Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal.SystemData { get => (this._systemData = this._systemData ?? new Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.SystemData()); set { {_systemData = value;} } }
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.ISystemDataInternal)SystemData).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.ISystemDataInternal)SystemData).CreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.ISystemDataInternal)SystemData).CreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.ISystemDataInternal)SystemData).CreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.ISystemDataInternal)SystemData).CreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.ISystemDataInternal)SystemData).CreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.ISystemDataInternal)SystemData).LastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.ISystemDataInternal)SystemData).LastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.ISystemDataInternal)SystemData).LastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.ISystemDataInternal)SystemData).LastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.ISystemDataInternal)SystemData).LastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.ISystemDataInternal)SystemData).LastModifiedByType = value ?? null; }
+
/// Internal Acessors for Type
string Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.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.HealthDataAIServices.Origin(Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.PropertyOrigin.Inlined)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.ISystemDataInternal)SystemData).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.ISystemDataInternal)SystemData).CreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.ISystemDataInternal)SystemData).CreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Origin(Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.PropertyOrigin.Inlined)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.ISystemDataInternal)SystemData).CreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.ISystemDataInternal)SystemData).CreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.ISystemDataInternal)SystemData).CreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Origin(Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.PropertyOrigin.Inlined)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.ISystemDataInternal)SystemData).CreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.ISystemDataInternal)SystemData).CreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.ISystemDataInternal)SystemData).CreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Origin(Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.PropertyOrigin.Inlined)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.ISystemDataInternal)SystemData).LastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.ISystemDataInternal)SystemData).LastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.ISystemDataInternal)SystemData).LastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Origin(Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.PropertyOrigin.Inlined)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.ISystemDataInternal)SystemData).LastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.ISystemDataInternal)SystemData).LastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.ISystemDataInternal)SystemData).LastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Origin(Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.PropertyOrigin.Inlined)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.ISystemDataInternal)SystemData).LastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.ISystemDataInternal)SystemData).LastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.ISystemDataInternal)SystemData).LastModifiedByType; }
/// Backing field for property.
private string _type;
diff --git a/generated/HealthDataAIServices/HealthDataAIServices.Autorest/generated/api/Models/TrackedResource.cs b/generated/HealthDataAIServices/HealthDataAIServices.Autorest/generated/api/Models/TrackedResource.cs
index a9d4251d4f59..3de0ad43ffc7 100644
--- a/generated/HealthDataAIServices/HealthDataAIServices.Autorest/generated/api/Models/TrackedResource.cs
+++ b/generated/HealthDataAIServices/HealthDataAIServices.Autorest/generated/api/Models/TrackedResource.cs
@@ -35,16 +35,34 @@ public partial class TrackedResource :
public string Location { get => this._location; set => this._location = value; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Origin(Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.PropertyOrigin.Inherited)]
@@ -54,31 +72,31 @@ public partial class TrackedResource :
/// Azure Resource Manager metadata containing createdBy and modifiedBy information.
///
[Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Origin(Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.PropertyOrigin.Inherited)]
- internal Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Origin(Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Origin(Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.PropertyOrigin.Inherited)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Origin(Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.PropertyOrigin.Inherited)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Origin(Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Origin(Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Origin(Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; }
/// Backing field for property.
private Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.ITrackedResourceTags _tag;
@@ -118,7 +136,7 @@ public partial interface ITrackedResource :
{
/// The geo-location where the resource lives
[Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Runtime.Info(
- Required = true,
+ Required = false,
ReadOnly = false,
Read = true,
Create = true,
diff --git a/generated/HealthDataAIServices/HealthDataAIServices.Autorest/generated/cmdlets/NewAzDeidService_CreateExpanded.cs b/generated/HealthDataAIServices/HealthDataAIServices.Autorest/generated/cmdlets/NewAzDeidService_CreateExpanded.cs
index dec4c5250f42..693ffd6cfed0 100644
--- a/generated/HealthDataAIServices/HealthDataAIServices.Autorest/generated/cmdlets/NewAzDeidService_CreateExpanded.cs
+++ b/generated/HealthDataAIServices/HealthDataAIServices.Autorest/generated/cmdlets/NewAzDeidService_CreateExpanded.cs
@@ -40,18 +40,9 @@ public partial class NewAzDeidService_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;
-
/// A HealthDataAIServicesProviderHub resource
private Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IDeidService _resourceBody = new Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.DeidService();
- ///
- /// 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.HealthDataAIServices.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.ParameterCategory.Runtime)]
@@ -297,11 +288,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Cmdlets.NewAzDeid
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.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.HealthDataAIServices.Models.IDeidService
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/HealthDataAIServices/HealthDataAIServices.Autorest/generated/cmdlets/NewAzDeidService_CreateViaJsonFilePath.cs b/generated/HealthDataAIServices/HealthDataAIServices.Autorest/generated/cmdlets/NewAzDeidService_CreateViaJsonFilePath.cs
index 31288e5cc820..75e4e6d0ea6d 100644
--- a/generated/HealthDataAIServices/HealthDataAIServices.Autorest/generated/cmdlets/NewAzDeidService_CreateViaJsonFilePath.cs
+++ b/generated/HealthDataAIServices/HealthDataAIServices.Autorest/generated/cmdlets/NewAzDeidService_CreateViaJsonFilePath.cs
@@ -41,17 +41,8 @@ public partial class NewAzDeidService_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.HealthDataAIServices.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.ParameterCategory.Runtime)]
@@ -263,11 +254,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Cmdlets.NewAzDeid
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.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.HealthDataAIServices.Models.IDeidService
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/HealthDataAIServices/HealthDataAIServices.Autorest/generated/cmdlets/NewAzDeidService_CreateViaJsonString.cs b/generated/HealthDataAIServices/HealthDataAIServices.Autorest/generated/cmdlets/NewAzDeidService_CreateViaJsonString.cs
index 818f5a1d3b7e..cd62af6b479b 100644
--- a/generated/HealthDataAIServices/HealthDataAIServices.Autorest/generated/cmdlets/NewAzDeidService_CreateViaJsonString.cs
+++ b/generated/HealthDataAIServices/HealthDataAIServices.Autorest/generated/cmdlets/NewAzDeidService_CreateViaJsonString.cs
@@ -41,15 +41,6 @@ public partial class NewAzDeidService_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.HealthDataAIServices.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.ParameterCategory.Runtime)]
@@ -261,11 +252,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Cmdlets.NewAzDeid
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.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.HealthDataAIServices.Models.IDeidService
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/HealthDataAIServices/HealthDataAIServices.Autorest/generated/cmdlets/RemoveAzDeidService_Delete.cs b/generated/HealthDataAIServices/HealthDataAIServices.Autorest/generated/cmdlets/RemoveAzDeidService_Delete.cs
index 945ff71e556c..08a2b716d948 100644
--- a/generated/HealthDataAIServices/HealthDataAIServices.Autorest/generated/cmdlets/RemoveAzDeidService_Delete.cs
+++ b/generated/HealthDataAIServices/HealthDataAIServices.Autorest/generated/cmdlets/RemoveAzDeidService_Delete.cs
@@ -40,15 +40,6 @@ public partial class RemoveAzDeidService_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.HealthDataAIServices.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.ParameterCategory.Runtime)]
@@ -261,11 +252,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Cmdlets.RemoveAzD
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.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/HealthDataAIServices/HealthDataAIServices.Autorest/generated/cmdlets/RemoveAzDeidService_DeleteViaIdentity.cs b/generated/HealthDataAIServices/HealthDataAIServices.Autorest/generated/cmdlets/RemoveAzDeidService_DeleteViaIdentity.cs
index a06bef65a1da..09083fe87ce9 100644
--- a/generated/HealthDataAIServices/HealthDataAIServices.Autorest/generated/cmdlets/RemoveAzDeidService_DeleteViaIdentity.cs
+++ b/generated/HealthDataAIServices/HealthDataAIServices.Autorest/generated/cmdlets/RemoveAzDeidService_DeleteViaIdentity.cs
@@ -40,15 +40,6 @@ public partial class RemoveAzDeidService_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.HealthDataAIServices.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.ParameterCategory.Runtime)]
@@ -218,11 +209,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Cmdlets.RemoveAzD
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.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/HealthDataAIServices/HealthDataAIServices.Autorest/generated/cmdlets/UpdateAzDeidService_UpdateExpanded.cs b/generated/HealthDataAIServices/HealthDataAIServices.Autorest/generated/cmdlets/UpdateAzDeidService_UpdateExpanded.cs
index ab67c0d393bb..8250a2c84401 100644
--- a/generated/HealthDataAIServices/HealthDataAIServices.Autorest/generated/cmdlets/UpdateAzDeidService_UpdateExpanded.cs
+++ b/generated/HealthDataAIServices/HealthDataAIServices.Autorest/generated/cmdlets/UpdateAzDeidService_UpdateExpanded.cs
@@ -40,18 +40,9 @@ public partial class UpdateAzDeidService_UpdateExpanded : 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 HealthDataAIServicesProviderHub resource
private Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IDeidService _resourceBody = new Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.DeidService();
- ///
- /// 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.HealthDataAIServices.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.ParameterCategory.Runtime)]
@@ -286,11 +277,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Cmdlets.UpdateAzD
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -659,24 +645,7 @@ private void Update_resourceBody()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IDeidService
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/HealthDataAIServices/HealthDataAIServices.Autorest/generated/cmdlets/UpdateAzDeidService_UpdateViaIdentityExpanded.cs b/generated/HealthDataAIServices/HealthDataAIServices.Autorest/generated/cmdlets/UpdateAzDeidService_UpdateViaIdentityExpanded.cs
index 64f3a7a4f8d2..2536342cbf28 100644
--- a/generated/HealthDataAIServices/HealthDataAIServices.Autorest/generated/cmdlets/UpdateAzDeidService_UpdateViaIdentityExpanded.cs
+++ b/generated/HealthDataAIServices/HealthDataAIServices.Autorest/generated/cmdlets/UpdateAzDeidService_UpdateViaIdentityExpanded.cs
@@ -40,18 +40,9 @@ public partial class UpdateAzDeidService_UpdateViaIdentityExpanded : 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 HealthDataAIServicesProviderHub resource
private Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IDeidService _resourceBody = new Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.DeidService();
- ///
- /// 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.HealthDataAIServices.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.ParameterCategory.Runtime)]
@@ -243,11 +234,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Cmdlets.UpdateAzD
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -639,24 +625,7 @@ private void Update_resourceBody()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Models.IDeidService
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/HealthDataAIServices/HealthDataAIServices.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs b/generated/HealthDataAIServices/HealthDataAIServices.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs
index 9168ee3127e9..aeea18dee45a 100644
--- a/generated/HealthDataAIServices/HealthDataAIServices.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs
+++ b/generated/HealthDataAIServices/HealthDataAIServices.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/HealthDataAIServices/HealthDataAIServices.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs b/generated/HealthDataAIServices/HealthDataAIServices.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs
index 47bb8febf372..5e484a2c6c0a 100644
--- a/generated/HealthDataAIServices/HealthDataAIServices.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs
+++ b/generated/HealthDataAIServices/HealthDataAIServices.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs
@@ -216,6 +216,20 @@ public string GetProcessCustomAttributesAtRuntime()
{Indent}{Indent}[Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.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.HealthDataAIServices.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.HealthDataAIServices.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/HealthDataAIServices/HealthDataAIServices.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs b/generated/HealthDataAIServices/HealthDataAIServices.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs
index c46fb8224552..7a99e4c076f8 100644
--- a/generated/HealthDataAIServices/HealthDataAIServices.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs
+++ b/generated/HealthDataAIServices/HealthDataAIServices.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/HealthDataAIServices/HealthDataAIServices.Autorest/generated/runtime/BuildTime/PsAttributes.cs b/generated/HealthDataAIServices/HealthDataAIServices.Autorest/generated/runtime/BuildTime/PsAttributes.cs
index f5f4658f911e..58fbf014a790 100644
--- a/generated/HealthDataAIServices/HealthDataAIServices.Autorest/generated/runtime/BuildTime/PsAttributes.cs
+++ b/generated/HealthDataAIServices/HealthDataAIServices.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/HealthDataAIServices/HealthDataAIServices.Autorest/generated/runtime/Context.cs b/generated/HealthDataAIServices/HealthDataAIServices.Autorest/generated/runtime/Context.cs
index 2e2dd64f4eb6..b726a866966a 100644
--- a/generated/HealthDataAIServices/HealthDataAIServices.Autorest/generated/runtime/Context.cs
+++ b/generated/HealthDataAIServices/HealthDataAIServices.Autorest/generated/runtime/Context.cs
@@ -20,7 +20,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.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/HealthDataAIServices/HealthDataAIServices.Autorest/generated/runtime/MessageAttribute.cs b/generated/HealthDataAIServices/HealthDataAIServices.Autorest/generated/runtime/MessageAttribute.cs
index c033fa0d572b..8c4ef487e500 100644
--- a/generated/HealthDataAIServices/HealthDataAIServices.Autorest/generated/runtime/MessageAttribute.cs
+++ b/generated/HealthDataAIServices/HealthDataAIServices.Autorest/generated/runtime/MessageAttribute.cs
@@ -16,9 +16,12 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.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.HealthDataAIServices" : @"";
+
//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/HealthDataAIServices/HealthDataAIServices.Autorest/generated/runtime/Properties/Resources.resx b/generated/HealthDataAIServices/HealthDataAIServices.Autorest/generated/runtime/Properties/Resources.resx
index a08a2e50172b..4ef90b70573d 100644
--- a/generated/HealthDataAIServices/HealthDataAIServices.Autorest/generated/runtime/Properties/Resources.resx
+++ b/generated/HealthDataAIServices/HealthDataAIServices.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/HealthDataAIServices/HealthDataAIServices.Autorest/internal/Get-AzDeidOperation.ps1 b/generated/HealthDataAIServices/HealthDataAIServices.Autorest/internal/Get-AzDeidOperation.ps1
index b61f9ab1c42b..d71334602dad 100644
--- a/generated/HealthDataAIServices/HealthDataAIServices.Autorest/internal/Get-AzDeidOperation.ps1
+++ b/generated/HealthDataAIServices/HealthDataAIServices.Autorest/internal/Get-AzDeidOperation.ps1
@@ -90,11 +90,17 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
$mapping = @{
List = 'Az.HealthDataAIServices.private\Get-AzDeidOperation_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/HealthDataAIServices/HealthDataAIServices.Autorest/internal/ProxyCmdletDefinitions.ps1 b/generated/HealthDataAIServices/HealthDataAIServices.Autorest/internal/ProxyCmdletDefinitions.ps1
index b61f9ab1c42b..d71334602dad 100644
--- a/generated/HealthDataAIServices/HealthDataAIServices.Autorest/internal/ProxyCmdletDefinitions.ps1
+++ b/generated/HealthDataAIServices/HealthDataAIServices.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.HealthDataAIServices.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
$mapping = @{
List = 'Az.HealthDataAIServices.private\Get-AzDeidOperation_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/src/HealthcareApis/HealthcareApis.Autorest/resources/README.md b/generated/HealthDataAIServices/HealthDataAIServices.Autorest/resources/README.md
similarity index 100%
rename from src/HealthcareApis/HealthcareApis.Autorest/resources/README.md
rename to generated/HealthDataAIServices/HealthDataAIServices.Autorest/resources/README.md
diff --git a/generated/HealthcareApis/HealthcareApis.Autorest/exports/Get-AzHealthcareApisService.ps1 b/generated/HealthcareApis/HealthcareApis.Autorest/exports/Get-AzHealthcareApisService.ps1
index 20797ef4eb2c..196f931b8c87 100644
--- a/generated/HealthcareApis/HealthcareApis.Autorest/exports/Get-AzHealthcareApisService.ps1
+++ b/generated/HealthcareApis/HealthcareApis.Autorest/exports/Get-AzHealthcareApisService.ps1
@@ -146,8 +146,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log 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/HealthcareApis/HealthcareApis.Autorest/exports/Get-AzHealthcareApisWorkspace.ps1 b/generated/HealthcareApis/HealthcareApis.Autorest/exports/Get-AzHealthcareApisWorkspace.ps1
index 86fe1916954b..750c5e78c463 100644
--- a/generated/HealthcareApis/HealthcareApis.Autorest/exports/Get-AzHealthcareApisWorkspace.ps1
+++ b/generated/HealthcareApis/HealthcareApis.Autorest/exports/Get-AzHealthcareApisWorkspace.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/HealthcareApis/HealthcareApis.Autorest/exports/Get-AzHealthcareDicomService.ps1 b/generated/HealthcareApis/HealthcareApis.Autorest/exports/Get-AzHealthcareDicomService.ps1
index 3605d4ce1dd4..32c5b52084e8 100644
--- a/generated/HealthcareApis/HealthcareApis.Autorest/exports/Get-AzHealthcareDicomService.ps1
+++ b/generated/HealthcareApis/HealthcareApis.Autorest/exports/Get-AzHealthcareDicomService.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/HealthcareApis/HealthcareApis.Autorest/exports/Get-AzHealthcareFhirDestination.ps1 b/generated/HealthcareApis/HealthcareApis.Autorest/exports/Get-AzHealthcareFhirDestination.ps1
index 7e3574d5fa79..2ec3fce26a1f 100644
--- a/generated/HealthcareApis/HealthcareApis.Autorest/exports/Get-AzHealthcareFhirDestination.ps1
+++ b/generated/HealthcareApis/HealthcareApis.Autorest/exports/Get-AzHealthcareFhirDestination.ps1
@@ -118,8 +118,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log 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/HealthcareApis/HealthcareApis.Autorest/exports/Get-AzHealthcareFhirService.ps1 b/generated/HealthcareApis/HealthcareApis.Autorest/exports/Get-AzHealthcareFhirService.ps1
index 7688f008992b..166be37456b0 100644
--- a/generated/HealthcareApis/HealthcareApis.Autorest/exports/Get-AzHealthcareFhirService.ps1
+++ b/generated/HealthcareApis/HealthcareApis.Autorest/exports/Get-AzHealthcareFhirService.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/HealthcareApis/HealthcareApis.Autorest/exports/Get-AzHealthcareIotConnector.ps1 b/generated/HealthcareApis/HealthcareApis.Autorest/exports/Get-AzHealthcareIotConnector.ps1
index 9cab8efcf09b..789343725099 100644
--- a/generated/HealthcareApis/HealthcareApis.Autorest/exports/Get-AzHealthcareIotConnector.ps1
+++ b/generated/HealthcareApis/HealthcareApis.Autorest/exports/Get-AzHealthcareIotConnector.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/HealthcareApis/HealthcareApis.Autorest/exports/Get-AzHealthcareIotConnectorFhirDestination.ps1 b/generated/HealthcareApis/HealthcareApis.Autorest/exports/Get-AzHealthcareIotConnectorFhirDestination.ps1
index 957077a10598..d7657ce7e7e4 100644
--- a/generated/HealthcareApis/HealthcareApis.Autorest/exports/Get-AzHealthcareIotConnectorFhirDestination.ps1
+++ b/generated/HealthcareApis/HealthcareApis.Autorest/exports/Get-AzHealthcareIotConnectorFhirDestination.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/HealthcareApis/HealthcareApis.Autorest/exports/New-AzHealthcareApisService.ps1 b/generated/HealthcareApis/HealthcareApis.Autorest/exports/New-AzHealthcareApisService.ps1
index 3b7ec511bd93..1356b38898ea 100644
--- a/generated/HealthcareApis/HealthcareApis.Autorest/exports/New-AzHealthcareApisService.ps1
+++ b/generated/HealthcareApis/HealthcareApis.Autorest/exports/New-AzHealthcareApisService.ps1
@@ -289,8 +289,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log 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/HealthcareApis/HealthcareApis.Autorest/exports/New-AzHealthcareApisWorkspace.ps1 b/generated/HealthcareApis/HealthcareApis.Autorest/exports/New-AzHealthcareApisWorkspace.ps1
index fd9ff4792490..1c72342a60e4 100644
--- a/generated/HealthcareApis/HealthcareApis.Autorest/exports/New-AzHealthcareApisWorkspace.ps1
+++ b/generated/HealthcareApis/HealthcareApis.Autorest/exports/New-AzHealthcareApisWorkspace.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/HealthcareApis/HealthcareApis.Autorest/exports/New-AzHealthcareDicomService.ps1 b/generated/HealthcareApis/HealthcareApis.Autorest/exports/New-AzHealthcareDicomService.ps1
index 71fa60ed1d7d..74a442bb84e7 100644
--- a/generated/HealthcareApis/HealthcareApis.Autorest/exports/New-AzHealthcareDicomService.ps1
+++ b/generated/HealthcareApis/HealthcareApis.Autorest/exports/New-AzHealthcareDicomService.ps1
@@ -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/HealthcareApis/HealthcareApis.Autorest/exports/New-AzHealthcareFhirService.ps1 b/generated/HealthcareApis/HealthcareApis.Autorest/exports/New-AzHealthcareFhirService.ps1
index f0c66fae7340..5198f8a26991 100644
--- a/generated/HealthcareApis/HealthcareApis.Autorest/exports/New-AzHealthcareFhirService.ps1
+++ b/generated/HealthcareApis/HealthcareApis.Autorest/exports/New-AzHealthcareFhirService.ps1
@@ -344,8 +344,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log 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/HealthcareApis/HealthcareApis.Autorest/exports/New-AzHealthcareIotConnector.ps1 b/generated/HealthcareApis/HealthcareApis.Autorest/exports/New-AzHealthcareIotConnector.ps1
index 203055fe7c86..7ad776a46657 100644
--- a/generated/HealthcareApis/HealthcareApis.Autorest/exports/New-AzHealthcareIotConnector.ps1
+++ b/generated/HealthcareApis/HealthcareApis.Autorest/exports/New-AzHealthcareIotConnector.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/HealthcareApis/HealthcareApis.Autorest/exports/New-AzHealthcareIotConnectorFhirDestination.ps1 b/generated/HealthcareApis/HealthcareApis.Autorest/exports/New-AzHealthcareIotConnectorFhirDestination.ps1
index 8c023c1e65fe..b4518765d75c 100644
--- a/generated/HealthcareApis/HealthcareApis.Autorest/exports/New-AzHealthcareIotConnectorFhirDestination.ps1
+++ b/generated/HealthcareApis/HealthcareApis.Autorest/exports/New-AzHealthcareIotConnectorFhirDestination.ps1
@@ -248,8 +248,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
diff --git a/generated/HealthcareApis/HealthcareApis.Autorest/exports/ProxyCmdletDefinitions.ps1 b/generated/HealthcareApis/HealthcareApis.Autorest/exports/ProxyCmdletDefinitions.ps1
index 7ffaeeddc928..d23dd5d9c05d 100644
--- a/generated/HealthcareApis/HealthcareApis.Autorest/exports/ProxyCmdletDefinitions.ps1
+++ b/generated/HealthcareApis/HealthcareApis.Autorest/exports/ProxyCmdletDefinitions.ps1
@@ -146,8 +146,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -366,8 +365,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -612,8 +610,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -803,8 +800,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -1046,8 +1042,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -1315,8 +1310,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -1561,8 +1555,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -1793,8 +1786,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -2024,8 +2016,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -2283,8 +2274,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -2543,8 +2533,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -2831,8 +2820,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -3092,8 +3080,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -3304,8 +3291,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -3564,8 +3550,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -3817,8 +3802,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -4106,8 +4090,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -4501,8 +4484,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -4808,8 +4790,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -5115,8 +5096,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -5476,8 +5456,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -5711,8 +5690,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -6005,8 +5983,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -6422,8 +6399,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -6739,8 +6715,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -7060,8 +7035,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log 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/HealthcareApis/HealthcareApis.Autorest/exports/Remove-AzHealthcareApisService.ps1 b/generated/HealthcareApis/HealthcareApis.Autorest/exports/Remove-AzHealthcareApisService.ps1
index 8c192399f4d4..3cb0acc68f23 100644
--- a/generated/HealthcareApis/HealthcareApis.Autorest/exports/Remove-AzHealthcareApisService.ps1
+++ b/generated/HealthcareApis/HealthcareApis.Autorest/exports/Remove-AzHealthcareApisService.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/HealthcareApis/HealthcareApis.Autorest/exports/Remove-AzHealthcareApisWorkspace.ps1 b/generated/HealthcareApis/HealthcareApis.Autorest/exports/Remove-AzHealthcareApisWorkspace.ps1
index 3731d62f4d26..7a3bd9dee5f6 100644
--- a/generated/HealthcareApis/HealthcareApis.Autorest/exports/Remove-AzHealthcareApisWorkspace.ps1
+++ b/generated/HealthcareApis/HealthcareApis.Autorest/exports/Remove-AzHealthcareApisWorkspace.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/HealthcareApis/HealthcareApis.Autorest/exports/Remove-AzHealthcareDicomService.ps1 b/generated/HealthcareApis/HealthcareApis.Autorest/exports/Remove-AzHealthcareDicomService.ps1
index 49caa9a54d0d..afc3e0c667ce 100644
--- a/generated/HealthcareApis/HealthcareApis.Autorest/exports/Remove-AzHealthcareDicomService.ps1
+++ b/generated/HealthcareApis/HealthcareApis.Autorest/exports/Remove-AzHealthcareDicomService.ps1
@@ -188,8 +188,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
diff --git a/generated/HealthcareApis/HealthcareApis.Autorest/exports/Remove-AzHealthcareFhirService.ps1 b/generated/HealthcareApis/HealthcareApis.Autorest/exports/Remove-AzHealthcareFhirService.ps1
index 5745c9d10489..16b29af0fbe2 100644
--- a/generated/HealthcareApis/HealthcareApis.Autorest/exports/Remove-AzHealthcareFhirService.ps1
+++ b/generated/HealthcareApis/HealthcareApis.Autorest/exports/Remove-AzHealthcareFhirService.ps1
@@ -188,8 +188,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
diff --git a/generated/HealthcareApis/HealthcareApis.Autorest/exports/Remove-AzHealthcareIotConnector.ps1 b/generated/HealthcareApis/HealthcareApis.Autorest/exports/Remove-AzHealthcareIotConnector.ps1
index ce77ff8b0ec7..69d6b6bb128e 100644
--- a/generated/HealthcareApis/HealthcareApis.Autorest/exports/Remove-AzHealthcareIotConnector.ps1
+++ b/generated/HealthcareApis/HealthcareApis.Autorest/exports/Remove-AzHealthcareIotConnector.ps1
@@ -188,8 +188,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
diff --git a/generated/HealthcareApis/HealthcareApis.Autorest/exports/Remove-AzHealthcareIotConnectorFhirDestination.ps1 b/generated/HealthcareApis/HealthcareApis.Autorest/exports/Remove-AzHealthcareIotConnectorFhirDestination.ps1
index c884c64213fe..aa744d9270a6 100644
--- a/generated/HealthcareApis/HealthcareApis.Autorest/exports/Remove-AzHealthcareIotConnectorFhirDestination.ps1
+++ b/generated/HealthcareApis/HealthcareApis.Autorest/exports/Remove-AzHealthcareIotConnectorFhirDestination.ps1
@@ -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/HealthcareApis/HealthcareApis.Autorest/exports/Test-AzHealthcareServiceNameAvailability.ps1 b/generated/HealthcareApis/HealthcareApis.Autorest/exports/Test-AzHealthcareServiceNameAvailability.ps1
index 2b40e552bf92..25412277e86b 100644
--- a/generated/HealthcareApis/HealthcareApis.Autorest/exports/Test-AzHealthcareServiceNameAvailability.ps1
+++ b/generated/HealthcareApis/HealthcareApis.Autorest/exports/Test-AzHealthcareServiceNameAvailability.ps1
@@ -140,8 +140,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log 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/HealthcareApis/HealthcareApis.Autorest/exports/Update-AzHealthcareApisService.ps1 b/generated/HealthcareApis/HealthcareApis.Autorest/exports/Update-AzHealthcareApisService.ps1
index ab5c30d8901a..01bd1fc5007f 100644
--- a/generated/HealthcareApis/HealthcareApis.Autorest/exports/Update-AzHealthcareApisService.ps1
+++ b/generated/HealthcareApis/HealthcareApis.Autorest/exports/Update-AzHealthcareApisService.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/HealthcareApis/HealthcareApis.Autorest/exports/Update-AzHealthcareApisWorkspace.ps1 b/generated/HealthcareApis/HealthcareApis.Autorest/exports/Update-AzHealthcareApisWorkspace.ps1
index 05d0bae18682..554572196577 100644
--- a/generated/HealthcareApis/HealthcareApis.Autorest/exports/Update-AzHealthcareApisWorkspace.ps1
+++ b/generated/HealthcareApis/HealthcareApis.Autorest/exports/Update-AzHealthcareApisWorkspace.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/HealthcareApis/HealthcareApis.Autorest/exports/Update-AzHealthcareDicomService.ps1 b/generated/HealthcareApis/HealthcareApis.Autorest/exports/Update-AzHealthcareDicomService.ps1
index ba77636a58bb..66f56a4a6b3d 100644
--- a/generated/HealthcareApis/HealthcareApis.Autorest/exports/Update-AzHealthcareDicomService.ps1
+++ b/generated/HealthcareApis/HealthcareApis.Autorest/exports/Update-AzHealthcareDicomService.ps1
@@ -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/HealthcareApis/HealthcareApis.Autorest/exports/Update-AzHealthcareFhirService.ps1 b/generated/HealthcareApis/HealthcareApis.Autorest/exports/Update-AzHealthcareFhirService.ps1
index 0a475cef00ed..cd337745b60f 100644
--- a/generated/HealthcareApis/HealthcareApis.Autorest/exports/Update-AzHealthcareFhirService.ps1
+++ b/generated/HealthcareApis/HealthcareApis.Autorest/exports/Update-AzHealthcareFhirService.ps1
@@ -323,8 +323,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log 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/HealthcareApis/HealthcareApis.Autorest/exports/Update-AzHealthcareIotConnector.ps1 b/generated/HealthcareApis/HealthcareApis.Autorest/exports/Update-AzHealthcareIotConnector.ps1
index 2aa87cef2f6d..9e73fd8451a1 100644
--- a/generated/HealthcareApis/HealthcareApis.Autorest/exports/Update-AzHealthcareIotConnector.ps1
+++ b/generated/HealthcareApis/HealthcareApis.Autorest/exports/Update-AzHealthcareIotConnector.ps1
@@ -234,8 +234,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log 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/HealthcareApis/HealthcareApis.Autorest/exports/Update-AzHealthcareIotConnectorFhirDestination.ps1 b/generated/HealthcareApis/HealthcareApis.Autorest/exports/Update-AzHealthcareIotConnectorFhirDestination.ps1
index 619389217e30..8542939f9a0b 100644
--- a/generated/HealthcareApis/HealthcareApis.Autorest/exports/Update-AzHealthcareIotConnectorFhirDestination.ps1
+++ b/generated/HealthcareApis/HealthcareApis.Autorest/exports/Update-AzHealthcareIotConnectorFhirDestination.ps1
@@ -235,8 +235,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log 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/HealthcareApis/HealthcareApis.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs b/generated/HealthcareApis/HealthcareApis.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs
index 2a5734c79be5..a4bf2eca9b94 100644
--- a/generated/HealthcareApis/HealthcareApis.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs
+++ b/generated/HealthcareApis/HealthcareApis.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/ImageBuilder/ImageBuilder.Autorest/exports/Get-AzImageBuilderTemplate.ps1 b/generated/ImageBuilder/ImageBuilder.Autorest/exports/Get-AzImageBuilderTemplate.ps1
index bf3405d15456..c4fbdace98d7 100644
--- a/generated/ImageBuilder/ImageBuilder.Autorest/exports/Get-AzImageBuilderTemplate.ps1
+++ b/generated/ImageBuilder/ImageBuilder.Autorest/exports/Get-AzImageBuilderTemplate.ps1
@@ -141,8 +141,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
diff --git a/generated/ImageBuilder/ImageBuilder.Autorest/exports/Get-AzImageBuilderTemplateRunOutput.ps1 b/generated/ImageBuilder/ImageBuilder.Autorest/exports/Get-AzImageBuilderTemplateRunOutput.ps1
index 246ad31c5172..83792d8ea93e 100644
--- a/generated/ImageBuilder/ImageBuilder.Autorest/exports/Get-AzImageBuilderTemplateRunOutput.ps1
+++ b/generated/ImageBuilder/ImageBuilder.Autorest/exports/Get-AzImageBuilderTemplateRunOutput.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/ImageBuilder/ImageBuilder.Autorest/exports/Get-AzImageBuilderTrigger.ps1 b/generated/ImageBuilder/ImageBuilder.Autorest/exports/Get-AzImageBuilderTrigger.ps1
index 7672fec6bf9e..901f58af1b2c 100644
--- a/generated/ImageBuilder/ImageBuilder.Autorest/exports/Get-AzImageBuilderTrigger.ps1
+++ b/generated/ImageBuilder/ImageBuilder.Autorest/exports/Get-AzImageBuilderTrigger.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/ImageBuilder/ImageBuilder.Autorest/exports/New-AzImageBuilderTemplate.ps1 b/generated/ImageBuilder/ImageBuilder.Autorest/exports/New-AzImageBuilderTemplate.ps1
index 0acd8365b486..02c899f507d7 100644
--- a/generated/ImageBuilder/ImageBuilder.Autorest/exports/New-AzImageBuilderTemplate.ps1
+++ b/generated/ImageBuilder/ImageBuilder.Autorest/exports/New-AzImageBuilderTemplate.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-create a virtual machine image template
+Create a virtual machine image template
.Description
-create a virtual machine image template
+Create a virtual machine image template
.Example
$source = New-AzImageBuilderTemplateSourceObject -Publisher "Canonical" -Offer "UbuntuServer" -Sku "18.04-LTS" -Version "latest"
$customizer = New-AzImageBuilderTemplateCustomizerObject -ShellCustomizer -Name "CheckSumCompareShellScript" -ScriptUri "https://raw.githubusercontent.com/danielsollondon/azvmimagebuilder/master/quickquickstarts/customizeScript2.sh" -Sha256Checksum "ade4c5214c3c675e92c66e2d067a870c5b81b9844b3de3cc72c49ff36425fc93"
@@ -374,8 +374,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log 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/ImageBuilder/ImageBuilder.Autorest/exports/New-AzImageBuilderTrigger.ps1 b/generated/ImageBuilder/ImageBuilder.Autorest/exports/New-AzImageBuilderTrigger.ps1
index 2db1696d6c7c..d92ffe278478 100644
--- a/generated/ImageBuilder/ImageBuilder.Autorest/exports/New-AzImageBuilderTrigger.ps1
+++ b/generated/ImageBuilder/ImageBuilder.Autorest/exports/New-AzImageBuilderTrigger.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-create a trigger for the specified virtual machine image template
+Create a trigger for the specified virtual machine image template
.Description
-create a trigger for the specified virtual machine image template
+Create a trigger for the specified virtual machine image template
.Example
New-AzImageBuilderTrigger -ImageTemplateName azps-ibt-1 -ResourceGroupName azps_test_group_imagebuilder -Name azps-buildertrigger -Kind "SourceImage"
@@ -177,8 +177,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
diff --git a/generated/ImageBuilder/ImageBuilder.Autorest/exports/ProxyCmdletDefinitions.ps1 b/generated/ImageBuilder/ImageBuilder.Autorest/exports/ProxyCmdletDefinitions.ps1
index fdb3dac11658..602eaf6a23d4 100644
--- a/generated/ImageBuilder/ImageBuilder.Autorest/exports/ProxyCmdletDefinitions.ps1
+++ b/generated/ImageBuilder/ImageBuilder.Autorest/exports/ProxyCmdletDefinitions.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) {
@@ -374,8 +373,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -607,8 +605,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -696,9 +693,9 @@ end {
<#
.Synopsis
-create a virtual machine image template
+Create a virtual machine image template
.Description
-create a virtual machine image template
+Create a virtual machine image template
.Example
$source = New-AzImageBuilderTemplateSourceObject -Publisher "Canonical" -Offer "UbuntuServer" -Sku "18.04-LTS" -Version "latest"
$customizer = New-AzImageBuilderTemplateCustomizerObject -ShellCustomizer -Name "CheckSumCompareShellScript" -ScriptUri "https://raw.githubusercontent.com/danielsollondon/azvmimagebuilder/master/quickquickstarts/customizeScript2.sh" -Sha256Checksum "ade4c5214c3c675e92c66e2d067a870c5b81b9844b3de3cc72c49ff36425fc93"
@@ -1054,8 +1051,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -1142,9 +1138,9 @@ end {
<#
.Synopsis
-create a trigger for the specified virtual machine image template
+Create a trigger for the specified virtual machine image template
.Description
-create a trigger for the specified virtual machine image template
+Create a trigger for the specified virtual machine image template
.Example
New-AzImageBuilderTrigger -ImageTemplateName azps-ibt-1 -ResourceGroupName azps_test_group_imagebuilder -Name azps-buildertrigger -Kind "SourceImage"
@@ -1303,8 +1299,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -1530,8 +1525,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -1776,8 +1770,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -1864,9 +1857,9 @@ end {
<#
.Synopsis
-run artifacts from a existing image template
+Run artifacts from a existing image template
.Description
-run artifacts from a existing image template
+Run artifacts from a existing image template
.Example
Start-AzImageBuilderTemplate -Name azps-ibt-1 -ResourceGroupName azps_test_group_imagebuilder
.Example
@@ -2002,8 +1995,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -2227,8 +2219,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log 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/ImageBuilder/ImageBuilder.Autorest/exports/Remove-AzImageBuilderTemplate.ps1 b/generated/ImageBuilder/ImageBuilder.Autorest/exports/Remove-AzImageBuilderTemplate.ps1
index ca1261c7870d..3afb092526c3 100644
--- a/generated/ImageBuilder/ImageBuilder.Autorest/exports/Remove-AzImageBuilderTemplate.ps1
+++ b/generated/ImageBuilder/ImageBuilder.Autorest/exports/Remove-AzImageBuilderTemplate.ps1
@@ -154,8 +154,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
diff --git a/generated/ImageBuilder/ImageBuilder.Autorest/exports/Remove-AzImageBuilderTrigger.ps1 b/generated/ImageBuilder/ImageBuilder.Autorest/exports/Remove-AzImageBuilderTrigger.ps1
index 56af55e0adf0..eb1b705b9b65 100644
--- a/generated/ImageBuilder/ImageBuilder.Autorest/exports/Remove-AzImageBuilderTrigger.ps1
+++ b/generated/ImageBuilder/ImageBuilder.Autorest/exports/Remove-AzImageBuilderTrigger.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/ImageBuilder/ImageBuilder.Autorest/exports/Start-AzImageBuilderTemplate.ps1 b/generated/ImageBuilder/ImageBuilder.Autorest/exports/Start-AzImageBuilderTemplate.ps1
index ea7ee78d7656..753954c51b18 100644
--- a/generated/ImageBuilder/ImageBuilder.Autorest/exports/Start-AzImageBuilderTemplate.ps1
+++ b/generated/ImageBuilder/ImageBuilder.Autorest/exports/Start-AzImageBuilderTemplate.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-run artifacts from a existing image template
+Run artifacts from a existing image template
.Description
-run artifacts from a existing image template
+Run artifacts from a existing image template
.Example
Start-AzImageBuilderTemplate -Name azps-ibt-1 -ResourceGroupName azps_test_group_imagebuilder
.Example
@@ -154,8 +154,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
diff --git a/generated/ImageBuilder/ImageBuilder.Autorest/exports/Stop-AzImageBuilderTemplate.ps1 b/generated/ImageBuilder/ImageBuilder.Autorest/exports/Stop-AzImageBuilderTemplate.ps1
index 22ee8f1d9879..eb5c358c0ab0 100644
--- a/generated/ImageBuilder/ImageBuilder.Autorest/exports/Stop-AzImageBuilderTemplate.ps1
+++ b/generated/ImageBuilder/ImageBuilder.Autorest/exports/Stop-AzImageBuilderTemplate.ps1
@@ -154,8 +154,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
diff --git a/generated/ImageBuilder/ImageBuilder.Autorest/generated/api/Models/ImageTemplate.cs b/generated/ImageBuilder/ImageBuilder.Autorest/generated/api/Models/ImageTemplate.cs
index 95ade9c31d71..84878548e267 100644
--- a/generated/ImageBuilder/ImageBuilder.Autorest/generated/api/Models/ImageTemplate.cs
+++ b/generated/ImageBuilder/ImageBuilder.Autorest/generated/api/Models/ImageTemplate.cs
@@ -112,88 +112,88 @@ public partial class ImageTemplate :
public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ITrackedResourceInternal)__trackedResource).Location = value ?? null; }
/// Internal Acessors for ExactStagingResourceGroup
- string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplateInternal.ExactStagingResourceGroup { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesInternal)Property).ExactStagingResourceGroup; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesInternal)Property).ExactStagingResourceGroup = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplateInternal.ExactStagingResourceGroup { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesInternal)Property).ExactStagingResourceGroup; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesInternal)Property).ExactStagingResourceGroup = value ?? null; }
/// Internal Acessors for Identity
Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplateIdentity Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplateInternal.Identity { get => (this._identity = this._identity ?? new Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ImageTemplateIdentity()); set { {_identity = value;} } }
/// Internal Acessors for LastRunStatus
- Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplateLastRunStatus Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplateInternal.LastRunStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesInternal)Property).LastRunStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesInternal)Property).LastRunStatus = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplateLastRunStatus Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplateInternal.LastRunStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesInternal)Property).LastRunStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesInternal)Property).LastRunStatus = value ?? null /* model class */; }
/// Internal Acessors for LastRunStatusEndTime
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplateInternal.LastRunStatusEndTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesInternal)Property).LastRunStatusEndTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesInternal)Property).LastRunStatusEndTime = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplateInternal.LastRunStatusEndTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesInternal)Property).LastRunStatusEndTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesInternal)Property).LastRunStatusEndTime = value ?? default(global::System.DateTime); }
/// Internal Acessors for LastRunStatusMessage
- string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplateInternal.LastRunStatusMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesInternal)Property).LastRunStatusMessage; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesInternal)Property).LastRunStatusMessage = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplateInternal.LastRunStatusMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesInternal)Property).LastRunStatusMessage; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesInternal)Property).LastRunStatusMessage = value ?? null; }
/// Internal Acessors for LastRunStatusRunState
- string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplateInternal.LastRunStatusRunState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesInternal)Property).LastRunStatusRunState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesInternal)Property).LastRunStatusRunState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplateInternal.LastRunStatusRunState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesInternal)Property).LastRunStatusRunState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesInternal)Property).LastRunStatusRunState = value ?? null; }
/// Internal Acessors for LastRunStatusRunSubState
- string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplateInternal.LastRunStatusRunSubState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesInternal)Property).LastRunStatusRunSubState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesInternal)Property).LastRunStatusRunSubState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplateInternal.LastRunStatusRunSubState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesInternal)Property).LastRunStatusRunSubState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesInternal)Property).LastRunStatusRunSubState = value ?? null; }
/// Internal Acessors for LastRunStatusStartTime
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplateInternal.LastRunStatusStartTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesInternal)Property).LastRunStatusStartTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesInternal)Property).LastRunStatusStartTime = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplateInternal.LastRunStatusStartTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesInternal)Property).LastRunStatusStartTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesInternal)Property).LastRunStatusStartTime = value ?? default(global::System.DateTime); }
/// Internal Acessors for Optimize
- Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesOptimize Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplateInternal.Optimize { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesInternal)Property).Optimize; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesInternal)Property).Optimize = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesOptimize Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplateInternal.Optimize { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesInternal)Property).Optimize; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesInternal)Property).Optimize = value ?? null /* model class */; }
/// Internal Acessors for OptimizeVMBoot
- Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesOptimizeVMBoot Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplateInternal.OptimizeVMBoot { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesInternal)Property).OptimizeVMBoot; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesInternal)Property).OptimizeVMBoot = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesOptimizeVMBoot Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplateInternal.OptimizeVMBoot { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesInternal)Property).OptimizeVMBoot; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesInternal)Property).OptimizeVMBoot = value ?? null /* model class */; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplateProperties Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplateInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ImageTemplateProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningError
- Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IProvisioningError Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplateInternal.ProvisioningError { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesInternal)Property).ProvisioningError; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesInternal)Property).ProvisioningError = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IProvisioningError Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplateInternal.ProvisioningError { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesInternal)Property).ProvisioningError; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesInternal)Property).ProvisioningError = value ?? null /* model class */; }
/// Internal Acessors for ProvisioningErrorCode
- string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplateInternal.ProvisioningErrorCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesInternal)Property).ProvisioningErrorCode; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesInternal)Property).ProvisioningErrorCode = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplateInternal.ProvisioningErrorCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesInternal)Property).ProvisioningErrorCode; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesInternal)Property).ProvisioningErrorCode = value ?? null; }
/// Internal Acessors for ProvisioningErrorMessage
- string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplateInternal.ProvisioningErrorMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesInternal)Property).ProvisioningErrorMessage; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesInternal)Property).ProvisioningErrorMessage = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplateInternal.ProvisioningErrorMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesInternal)Property).ProvisioningErrorMessage; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesInternal)Property).ProvisioningErrorMessage = value ?? null; }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplateInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplateInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for VMProfile
- Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplateVMProfile Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplateInternal.VMProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesInternal)Property).VMProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesInternal)Property).VMProfile = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplateVMProfile Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplateInternal.VMProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesInternal)Property).VMProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesInternal)Property).VMProfile = value ?? null /* model class */; }
/// Internal Acessors for VMProfileVnetConfig
- Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IVirtualNetworkConfig Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplateInternal.VMProfileVnetConfig { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesInternal)Property).VMProfileVnetConfig; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesInternal)Property).VMProfileVnetConfig = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IVirtualNetworkConfig Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplateInternal.VMProfileVnetConfig { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesInternal)Property).VMProfileVnetConfig; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesInternal)Property).VMProfileVnetConfig = value ?? null /* model class */; }
/// Internal Acessors for Validate
- Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesValidate Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplateInternal.Validate { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesInternal)Property).Validate; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesInternal)Property).Validate = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesValidate Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplateInternal.Validate { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesInternal)Property).Validate; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesInternal)Property).Validate = value ?? null /* model class */; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__trackedResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__trackedResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__trackedResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__trackedResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__trackedResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; }
/// Internal Acessors for SystemDataCreatedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
/// Internal Acessors for SystemDataCreatedBy
- string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; }
/// Internal Acessors for SystemDataCreatedByType
- string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; }
/// Internal Acessors for SystemDataLastModifiedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
/// Internal Acessors for SystemDataLastModifiedBy
- string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; }
/// Internal Acessors for SystemDataLastModifiedByType
- string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__trackedResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__trackedResource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Origin(Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.PropertyOrigin.Inherited)]
diff --git a/generated/ImageBuilder/ImageBuilder.Autorest/generated/api/Models/ImageTemplateProperties.cs b/generated/ImageBuilder/ImageBuilder.Autorest/generated/api/Models/ImageTemplateProperties.cs
index aa5bd49326ce..76082604480f 100644
--- a/generated/ImageBuilder/ImageBuilder.Autorest/generated/api/Models/ImageTemplateProperties.cs
+++ b/generated/ImageBuilder/ImageBuilder.Autorest/generated/api/Models/ImageTemplateProperties.cs
@@ -84,34 +84,34 @@ public partial class ImageTemplateProperties :
Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplateLastRunStatus Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesInternal.LastRunStatus { get => (this._lastRunStatus = this._lastRunStatus ?? new Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ImageTemplateLastRunStatus()); set { {_lastRunStatus = value;} } }
/// Internal Acessors for LastRunStatusEndTime
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesInternal.LastRunStatusEndTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplateLastRunStatusInternal)LastRunStatus).EndTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplateLastRunStatusInternal)LastRunStatus).EndTime = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesInternal.LastRunStatusEndTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplateLastRunStatusInternal)LastRunStatus).EndTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplateLastRunStatusInternal)LastRunStatus).EndTime = value ?? default(global::System.DateTime); }
/// Internal Acessors for LastRunStatusMessage
- string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesInternal.LastRunStatusMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplateLastRunStatusInternal)LastRunStatus).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplateLastRunStatusInternal)LastRunStatus).Message = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesInternal.LastRunStatusMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplateLastRunStatusInternal)LastRunStatus).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplateLastRunStatusInternal)LastRunStatus).Message = value ?? null; }
/// Internal Acessors for LastRunStatusRunState
- string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesInternal.LastRunStatusRunState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplateLastRunStatusInternal)LastRunStatus).RunState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplateLastRunStatusInternal)LastRunStatus).RunState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesInternal.LastRunStatusRunState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplateLastRunStatusInternal)LastRunStatus).RunState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplateLastRunStatusInternal)LastRunStatus).RunState = value ?? null; }
/// Internal Acessors for LastRunStatusRunSubState
- string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesInternal.LastRunStatusRunSubState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplateLastRunStatusInternal)LastRunStatus).RunSubState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplateLastRunStatusInternal)LastRunStatus).RunSubState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesInternal.LastRunStatusRunSubState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplateLastRunStatusInternal)LastRunStatus).RunSubState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplateLastRunStatusInternal)LastRunStatus).RunSubState = value ?? null; }
/// Internal Acessors for LastRunStatusStartTime
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesInternal.LastRunStatusStartTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplateLastRunStatusInternal)LastRunStatus).StartTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplateLastRunStatusInternal)LastRunStatus).StartTime = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesInternal.LastRunStatusStartTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplateLastRunStatusInternal)LastRunStatus).StartTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplateLastRunStatusInternal)LastRunStatus).StartTime = value ?? default(global::System.DateTime); }
/// Internal Acessors for Optimize
Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesOptimize Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesInternal.Optimize { get => (this._optimize = this._optimize ?? new Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ImageTemplatePropertiesOptimize()); set { {_optimize = value;} } }
/// Internal Acessors for OptimizeVMBoot
- Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesOptimizeVMBoot Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesInternal.OptimizeVMBoot { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesOptimizeInternal)Optimize).VMBoot; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesOptimizeInternal)Optimize).VMBoot = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesOptimizeVMBoot Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesInternal.OptimizeVMBoot { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesOptimizeInternal)Optimize).VMBoot; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesOptimizeInternal)Optimize).VMBoot = value ?? null /* model class */; }
/// Internal Acessors for ProvisioningError
Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IProvisioningError Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesInternal.ProvisioningError { get => (this._provisioningError = this._provisioningError ?? new Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ProvisioningError()); set { {_provisioningError = value;} } }
/// Internal Acessors for ProvisioningErrorCode
- string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesInternal.ProvisioningErrorCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IProvisioningErrorInternal)ProvisioningError).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IProvisioningErrorInternal)ProvisioningError).Code = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesInternal.ProvisioningErrorCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IProvisioningErrorInternal)ProvisioningError).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IProvisioningErrorInternal)ProvisioningError).Code = value ?? null; }
/// Internal Acessors for ProvisioningErrorMessage
- string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesInternal.ProvisioningErrorMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IProvisioningErrorInternal)ProvisioningError).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IProvisioningErrorInternal)ProvisioningError).Message = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesInternal.ProvisioningErrorMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IProvisioningErrorInternal)ProvisioningError).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IProvisioningErrorInternal)ProvisioningError).Message = value ?? null; }
/// Internal Acessors for ProvisioningState
string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesInternal.ProvisioningState { get => this._provisioningState; set { {_provisioningState = value;} } }
@@ -120,7 +120,7 @@ public partial class ImageTemplateProperties :
Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplateVMProfile Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesInternal.VMProfile { get => (this._vMProfile = this._vMProfile ?? new Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ImageTemplateVMProfile()); set { {_vMProfile = value;} } }
/// Internal Acessors for VMProfileVnetConfig
- Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IVirtualNetworkConfig Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesInternal.VMProfileVnetConfig { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplateVMProfileInternal)VMProfile).VnetConfig; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplateVMProfileInternal)VMProfile).VnetConfig = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IVirtualNetworkConfig Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesInternal.VMProfileVnetConfig { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplateVMProfileInternal)VMProfile).VnetConfig; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplateVMProfileInternal)VMProfile).VnetConfig = value ?? null /* model class */; }
/// Internal Acessors for Validate
Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesValidate Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplatePropertiesInternal.Validate { get => (this._validate = this._validate ?? new Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ImageTemplatePropertiesValidate()); set { {_validate = value;} } }
diff --git a/generated/ImageBuilder/ImageBuilder.Autorest/generated/api/Models/ProxyResource.cs b/generated/ImageBuilder/ImageBuilder.Autorest/generated/api/Models/ProxyResource.cs
index 2732b73e6191..8ecce2994df3 100644
--- a/generated/ImageBuilder/ImageBuilder.Autorest/generated/api/Models/ProxyResource.cs
+++ b/generated/ImageBuilder/ImageBuilder.Autorest/generated/api/Models/ProxyResource.cs
@@ -27,34 +27,34 @@ public partial class ProxyResource :
public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__resource).Id; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__resource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__resource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__resource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__resource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__resource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__resource).SystemData = value ?? null /* model class */; }
/// Internal Acessors for SystemDataCreatedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__resource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__resource).SystemDataCreatedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__resource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__resource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
/// Internal Acessors for SystemDataCreatedBy
- string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__resource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__resource).SystemDataCreatedBy = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__resource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__resource).SystemDataCreatedBy = value ?? null; }
/// Internal Acessors for SystemDataCreatedByType
- string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__resource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__resource).SystemDataCreatedByType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__resource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__resource).SystemDataCreatedByType = value ?? null; }
/// Internal Acessors for SystemDataLastModifiedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__resource).SystemDataLastModifiedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__resource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
/// Internal Acessors for SystemDataLastModifiedBy
- string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__resource).SystemDataLastModifiedBy = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__resource).SystemDataLastModifiedBy = value ?? null; }
/// Internal Acessors for SystemDataLastModifiedByType
- string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__resource).SystemDataLastModifiedByType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__resource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__resource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__resource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Origin(Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.PropertyOrigin.Inherited)]
diff --git a/generated/ImageBuilder/ImageBuilder.Autorest/generated/api/Models/Resource.cs b/generated/ImageBuilder/ImageBuilder.Autorest/generated/api/Models/Resource.cs
index 6575be9be9c1..a38bcb959cb5 100644
--- a/generated/ImageBuilder/ImageBuilder.Autorest/generated/api/Models/Resource.cs
+++ b/generated/ImageBuilder/ImageBuilder.Autorest/generated/api/Models/Resource.cs
@@ -34,22 +34,22 @@ public partial class Resource :
Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.SystemData { get => (this._systemData = this._systemData ?? new Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.SystemData()); set { {_systemData = value;} } }
/// Internal Acessors for SystemDataCreatedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ISystemDataInternal)SystemData).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ISystemDataInternal)SystemData).CreatedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ISystemDataInternal)SystemData).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ISystemDataInternal)SystemData).CreatedAt = value ?? default(global::System.DateTime); }
/// Internal Acessors for SystemDataCreatedBy
- string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ISystemDataInternal)SystemData).CreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ISystemDataInternal)SystemData).CreatedBy = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ISystemDataInternal)SystemData).CreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ISystemDataInternal)SystemData).CreatedBy = value ?? null; }
/// Internal Acessors for SystemDataCreatedByType
- string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ISystemDataInternal)SystemData).CreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ISystemDataInternal)SystemData).CreatedByType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ISystemDataInternal)SystemData).CreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ISystemDataInternal)SystemData).CreatedByType = value ?? null; }
/// Internal Acessors for SystemDataLastModifiedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ISystemDataInternal)SystemData).LastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ISystemDataInternal)SystemData).LastModifiedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ISystemDataInternal)SystemData).LastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ISystemDataInternal)SystemData).LastModifiedAt = value ?? default(global::System.DateTime); }
/// Internal Acessors for SystemDataLastModifiedBy
- string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ISystemDataInternal)SystemData).LastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ISystemDataInternal)SystemData).LastModifiedBy = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ISystemDataInternal)SystemData).LastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ISystemDataInternal)SystemData).LastModifiedBy = value ?? null; }
/// Internal Acessors for SystemDataLastModifiedByType
- string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ISystemDataInternal)SystemData).LastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ISystemDataInternal)SystemData).LastModifiedByType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ISystemDataInternal)SystemData).LastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ISystemDataInternal)SystemData).LastModifiedByType = value ?? null; }
/// Internal Acessors for Type
string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.Type { get => this._type; set { {_type = value;} } }
diff --git a/generated/ImageBuilder/ImageBuilder.Autorest/generated/api/Models/RunOutput.cs b/generated/ImageBuilder/ImageBuilder.Autorest/generated/api/Models/RunOutput.cs
index dfe814c1a63e..e7e54f2e1ee4 100644
--- a/generated/ImageBuilder/ImageBuilder.Autorest/generated/api/Models/RunOutput.cs
+++ b/generated/ImageBuilder/ImageBuilder.Autorest/generated/api/Models/RunOutput.cs
@@ -36,40 +36,40 @@ public partial class RunOutput :
public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__proxyResource).Id; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__proxyResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__proxyResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__proxyResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__proxyResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__proxyResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
/// Internal Acessors for SystemDataCreatedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
/// Internal Acessors for SystemDataCreatedBy
- string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
/// Internal Acessors for SystemDataCreatedByType
- string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
/// Internal Acessors for SystemDataLastModifiedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
/// Internal Acessors for SystemDataLastModifiedBy
- string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
/// Internal Acessors for SystemDataLastModifiedByType
- string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__proxyResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__proxyResource).Type = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IRunOutputProperties Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IRunOutputInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.RunOutputProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IRunOutputInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IRunOutputPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IRunOutputPropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IRunOutputInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IRunOutputPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IRunOutputPropertiesInternal)Property).ProvisioningState = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Origin(Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.PropertyOrigin.Inherited)]
diff --git a/generated/ImageBuilder/ImageBuilder.Autorest/generated/api/Models/SourceImageTriggerProperties.cs b/generated/ImageBuilder/ImageBuilder.Autorest/generated/api/Models/SourceImageTriggerProperties.cs
index ff7c6330d808..d19efd844675 100644
--- a/generated/ImageBuilder/ImageBuilder.Autorest/generated/api/Models/SourceImageTriggerProperties.cs
+++ b/generated/ImageBuilder/ImageBuilder.Autorest/generated/api/Models/SourceImageTriggerProperties.cs
@@ -25,19 +25,19 @@ public partial class SourceImageTriggerProperties :
public string Kind { get => "SourceImage"; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ITriggerPropertiesInternal)__triggerProperties).Kind = "SourceImage"; }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ITriggerPropertiesInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ITriggerPropertiesInternal)__triggerProperties).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ITriggerPropertiesInternal)__triggerProperties).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ITriggerPropertiesInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ITriggerPropertiesInternal)__triggerProperties).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ITriggerPropertiesInternal)__triggerProperties).ProvisioningState = value ?? null; }
/// Internal Acessors for Status
- Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ITriggerStatus Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ITriggerPropertiesInternal.Status { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ITriggerPropertiesInternal)__triggerProperties).Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ITriggerPropertiesInternal)__triggerProperties).Status = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ITriggerStatus Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ITriggerPropertiesInternal.Status { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ITriggerPropertiesInternal)__triggerProperties).Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ITriggerPropertiesInternal)__triggerProperties).Status = value ?? null /* model class */; }
/// Internal Acessors for StatusCode
- string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ITriggerPropertiesInternal.StatusCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ITriggerPropertiesInternal)__triggerProperties).StatusCode; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ITriggerPropertiesInternal)__triggerProperties).StatusCode = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ITriggerPropertiesInternal.StatusCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ITriggerPropertiesInternal)__triggerProperties).StatusCode; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ITriggerPropertiesInternal)__triggerProperties).StatusCode = value ?? null; }
/// Internal Acessors for StatusMessage
- string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ITriggerPropertiesInternal.StatusMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ITriggerPropertiesInternal)__triggerProperties).StatusMessage; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ITriggerPropertiesInternal)__triggerProperties).StatusMessage = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ITriggerPropertiesInternal.StatusMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ITriggerPropertiesInternal)__triggerProperties).StatusMessage; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ITriggerPropertiesInternal)__triggerProperties).StatusMessage = value ?? null; }
/// Internal Acessors for StatusTime
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ITriggerPropertiesInternal.StatusTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ITriggerPropertiesInternal)__triggerProperties).StatusTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ITriggerPropertiesInternal)__triggerProperties).StatusTime = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ITriggerPropertiesInternal.StatusTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ITriggerPropertiesInternal)__triggerProperties).StatusTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ITriggerPropertiesInternal)__triggerProperties).StatusTime = value ?? default(global::System.DateTime); }
/// Provisioning state of the resource
[Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Origin(Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.PropertyOrigin.Inherited)]
diff --git a/generated/ImageBuilder/ImageBuilder.Autorest/generated/api/Models/TrackedResource.cs b/generated/ImageBuilder/ImageBuilder.Autorest/generated/api/Models/TrackedResource.cs
index 79d810b2f2d1..f02e1af91fdf 100644
--- a/generated/ImageBuilder/ImageBuilder.Autorest/generated/api/Models/TrackedResource.cs
+++ b/generated/ImageBuilder/ImageBuilder.Autorest/generated/api/Models/TrackedResource.cs
@@ -34,34 +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.ImageBuilder.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__resource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__resource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__resource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__resource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__resource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__resource).SystemData = value ?? null /* model class */; }
/// Internal Acessors for SystemDataCreatedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__resource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__resource).SystemDataCreatedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__resource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__resource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
/// Internal Acessors for SystemDataCreatedBy
- string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__resource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__resource).SystemDataCreatedBy = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__resource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__resource).SystemDataCreatedBy = value ?? null; }
/// Internal Acessors for SystemDataCreatedByType
- string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__resource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__resource).SystemDataCreatedByType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__resource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__resource).SystemDataCreatedByType = value ?? null; }
/// Internal Acessors for SystemDataLastModifiedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__resource).SystemDataLastModifiedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__resource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
/// Internal Acessors for SystemDataLastModifiedBy
- string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__resource).SystemDataLastModifiedBy = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__resource).SystemDataLastModifiedBy = value ?? null; }
/// Internal Acessors for SystemDataLastModifiedByType
- string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__resource).SystemDataLastModifiedByType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__resource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__resource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__resource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Origin(Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.PropertyOrigin.Inherited)]
diff --git a/generated/ImageBuilder/ImageBuilder.Autorest/generated/api/Models/Trigger.cs b/generated/ImageBuilder/ImageBuilder.Autorest/generated/api/Models/Trigger.cs
index 0d32ebcdaae1..484dae00a9b4 100644
--- a/generated/ImageBuilder/ImageBuilder.Autorest/generated/api/Models/Trigger.cs
+++ b/generated/ImageBuilder/ImageBuilder.Autorest/generated/api/Models/Trigger.cs
@@ -31,52 +31,52 @@ public partial class Trigger :
public string Kind { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ITriggerPropertiesInternal)Property).Kind; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ITriggerPropertiesInternal)Property).Kind = value ?? null; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__proxyResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__proxyResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__proxyResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__proxyResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__proxyResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
/// Internal Acessors for SystemDataCreatedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
/// Internal Acessors for SystemDataCreatedBy
- string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
/// Internal Acessors for SystemDataCreatedByType
- string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
/// Internal Acessors for SystemDataLastModifiedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
/// Internal Acessors for SystemDataLastModifiedBy
- string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
/// Internal Acessors for SystemDataLastModifiedByType
- string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__proxyResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IResourceInternal)__proxyResource).Type = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ITriggerProperties Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ITriggerInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.TriggerProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ITriggerInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ITriggerPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ITriggerPropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ITriggerInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ITriggerPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ITriggerPropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for Status
- Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ITriggerStatus Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ITriggerInternal.Status { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ITriggerPropertiesInternal)Property).Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ITriggerPropertiesInternal)Property).Status = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ITriggerStatus Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ITriggerInternal.Status { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ITriggerPropertiesInternal)Property).Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ITriggerPropertiesInternal)Property).Status = value ?? null /* model class */; }
/// Internal Acessors for StatusCode
- string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ITriggerInternal.StatusCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ITriggerPropertiesInternal)Property).StatusCode; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ITriggerPropertiesInternal)Property).StatusCode = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ITriggerInternal.StatusCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ITriggerPropertiesInternal)Property).StatusCode; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ITriggerPropertiesInternal)Property).StatusCode = value ?? null; }
/// Internal Acessors for StatusMessage
- string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ITriggerInternal.StatusMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ITriggerPropertiesInternal)Property).StatusMessage; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ITriggerPropertiesInternal)Property).StatusMessage = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ITriggerInternal.StatusMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ITriggerPropertiesInternal)Property).StatusMessage; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ITriggerPropertiesInternal)Property).StatusMessage = value ?? null; }
/// Internal Acessors for StatusTime
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ITriggerInternal.StatusTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ITriggerPropertiesInternal)Property).StatusTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ITriggerPropertiesInternal)Property).StatusTime = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ITriggerInternal.StatusTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ITriggerPropertiesInternal)Property).StatusTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ITriggerPropertiesInternal)Property).StatusTime = value ?? default(global::System.DateTime); }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Origin(Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.PropertyOrigin.Inherited)]
diff --git a/generated/ImageBuilder/ImageBuilder.Autorest/generated/api/Models/TriggerProperties.cs b/generated/ImageBuilder/ImageBuilder.Autorest/generated/api/Models/TriggerProperties.cs
index 8294989a1ecc..05892bf52573 100644
--- a/generated/ImageBuilder/ImageBuilder.Autorest/generated/api/Models/TriggerProperties.cs
+++ b/generated/ImageBuilder/ImageBuilder.Autorest/generated/api/Models/TriggerProperties.cs
@@ -27,13 +27,13 @@ public partial class TriggerProperties :
Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ITriggerStatus Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ITriggerPropertiesInternal.Status { get => (this._status = this._status ?? new Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.TriggerStatus()); set { {_status = value;} } }
/// Internal Acessors for StatusCode
- string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ITriggerPropertiesInternal.StatusCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ITriggerStatusInternal)Status).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ITriggerStatusInternal)Status).Code = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ITriggerPropertiesInternal.StatusCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ITriggerStatusInternal)Status).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ITriggerStatusInternal)Status).Code = value ?? null; }
/// Internal Acessors for StatusMessage
- string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ITriggerPropertiesInternal.StatusMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ITriggerStatusInternal)Status).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ITriggerStatusInternal)Status).Message = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ITriggerPropertiesInternal.StatusMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ITriggerStatusInternal)Status).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ITriggerStatusInternal)Status).Message = value ?? null; }
/// Internal Acessors for StatusTime
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ITriggerPropertiesInternal.StatusTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ITriggerStatusInternal)Status).Time; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ITriggerStatusInternal)Status).Time = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ITriggerPropertiesInternal.StatusTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ITriggerStatusInternal)Status).Time; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ITriggerStatusInternal)Status).Time = value ?? default(global::System.DateTime); }
/// Backing field for property.
private string _provisioningState;
diff --git a/generated/ImageBuilder/ImageBuilder.Autorest/generated/cmdlets/NewAzImageBuilderTemplate_CreateExpanded.cs b/generated/ImageBuilder/ImageBuilder.Autorest/generated/cmdlets/NewAzImageBuilderTemplate_CreateExpanded.cs
index f2fd3a58f67c..cfa7e82e1f00 100644
--- a/generated/ImageBuilder/ImageBuilder.Autorest/generated/cmdlets/NewAzImageBuilderTemplate_CreateExpanded.cs
+++ b/generated/ImageBuilder/ImageBuilder.Autorest/generated/cmdlets/NewAzImageBuilderTemplate_CreateExpanded.cs
@@ -41,20 +41,11 @@ public partial class NewAzImageBuilderTemplate_CreateExpanded : 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;
-
///
/// Image template is an ARM resource managed by Microsoft.VirtualMachineImages provider
///
private Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplate _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ImageTemplate();
- ///
- /// 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.ImageBuilder.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.ParameterCategory.Runtime)]
@@ -483,11 +474,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Cmdlets.NewAzImageBuilder
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -829,24 +815,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplate
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/ImageBuilder/ImageBuilder.Autorest/generated/cmdlets/NewAzImageBuilderTemplate_CreateViaJsonFilePath.cs b/generated/ImageBuilder/ImageBuilder.Autorest/generated/cmdlets/NewAzImageBuilderTemplate_CreateViaJsonFilePath.cs
index 04e01f5a5e66..9ebf57838694 100644
--- a/generated/ImageBuilder/ImageBuilder.Autorest/generated/cmdlets/NewAzImageBuilderTemplate_CreateViaJsonFilePath.cs
+++ b/generated/ImageBuilder/ImageBuilder.Autorest/generated/cmdlets/NewAzImageBuilderTemplate_CreateViaJsonFilePath.cs
@@ -41,17 +41,8 @@ public partial class NewAzImageBuilderTemplate_CreateViaJsonFilePath : 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.ImageBuilder.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.ParameterCategory.Runtime)]
@@ -267,11 +258,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Cmdlets.NewAzImageBuilder
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -587,24 +573,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.IImageTemplate
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/ImageBuilder/ImageBuilder.Autorest/generated/cmdlets/NewAzImageBuilderTemplate_CreateViaJsonString.cs b/generated/ImageBuilder/ImageBuilder.Autorest/generated/cmdlets/NewAzImageBuilderTemplate_CreateViaJsonString.cs
index ecc95fa7eb8d..02f41d96c632 100644
--- a/generated/ImageBuilder/ImageBuilder.Autorest/generated/cmdlets/NewAzImageBuilderTemplate_CreateViaJsonString.cs
+++ b/generated/ImageBuilder/ImageBuilder.Autorest/generated/cmdlets/NewAzImageBuilderTemplate_CreateViaJsonString.cs
@@ -41,15 +41,6 @@ public partial class NewAzImageBuilderTemplate_CreateViaJsonString : 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.ImageBuilder.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.ParameterCategory.Runtime)]
@@ -264,11 +255,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Cmdlets.NewAzImageBuilder
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.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.ImageBuilder.Models.IImageTemplate
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/ImageBuilder/ImageBuilder.Autorest/generated/cmdlets/NewAzImageBuilderTrigger_CreateExpanded.cs b/generated/ImageBuilder/ImageBuilder.Autorest/generated/cmdlets/NewAzImageBuilderTrigger_CreateExpanded.cs
index 64b602a4cb8a..1c2e8b6a98d4 100644
--- a/generated/ImageBuilder/ImageBuilder.Autorest/generated/cmdlets/NewAzImageBuilderTrigger_CreateExpanded.cs
+++ b/generated/ImageBuilder/ImageBuilder.Autorest/generated/cmdlets/NewAzImageBuilderTrigger_CreateExpanded.cs
@@ -40,18 +40,9 @@ public partial class NewAzImageBuilderTrigger_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;
-
/// Represents a trigger that can invoke an image template build.
private Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ITrigger _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.Trigger();
- ///
- /// 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.ImageBuilder.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.ParameterCategory.Runtime)]
@@ -279,11 +270,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Cmdlets.NewAzImageBuilder
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.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.ImageBuilder.Models.ITrigger
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/ImageBuilder/ImageBuilder.Autorest/generated/cmdlets/NewAzImageBuilderTrigger_CreateViaIdentityImageTemplateExpanded.cs b/generated/ImageBuilder/ImageBuilder.Autorest/generated/cmdlets/NewAzImageBuilderTrigger_CreateViaIdentityImageTemplateExpanded.cs
index e0cdacf6813f..f8ffb67a86e5 100644
--- a/generated/ImageBuilder/ImageBuilder.Autorest/generated/cmdlets/NewAzImageBuilderTrigger_CreateViaIdentityImageTemplateExpanded.cs
+++ b/generated/ImageBuilder/ImageBuilder.Autorest/generated/cmdlets/NewAzImageBuilderTrigger_CreateViaIdentityImageTemplateExpanded.cs
@@ -40,18 +40,9 @@ public partial class NewAzImageBuilderTrigger_CreateViaIdentityImageTemplateExpa
/// 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;
-
/// Represents a trigger that can invoke an image template build.
private Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ITrigger _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.Trigger();
- ///
- /// 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.ImageBuilder.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.ParameterCategory.Runtime)]
@@ -236,11 +227,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Cmdlets.NewAzImageBuilder
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.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.ImageBuilder.Models.ITrigger
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/ImageBuilder/ImageBuilder.Autorest/generated/cmdlets/NewAzImageBuilderTrigger_CreateViaJsonFilePath.cs b/generated/ImageBuilder/ImageBuilder.Autorest/generated/cmdlets/NewAzImageBuilderTrigger_CreateViaJsonFilePath.cs
index a4c3a20ae5fa..27437d1d9efd 100644
--- a/generated/ImageBuilder/ImageBuilder.Autorest/generated/cmdlets/NewAzImageBuilderTrigger_CreateViaJsonFilePath.cs
+++ b/generated/ImageBuilder/ImageBuilder.Autorest/generated/cmdlets/NewAzImageBuilderTrigger_CreateViaJsonFilePath.cs
@@ -41,17 +41,8 @@ public partial class NewAzImageBuilderTrigger_CreateViaJsonFilePath : 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;
-
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.ImageBuilder.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.ParameterCategory.Runtime)]
@@ -281,11 +272,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Cmdlets.NewAzImageBuilder
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.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.ImageBuilder.Models.ITrigger
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/ImageBuilder/ImageBuilder.Autorest/generated/cmdlets/NewAzImageBuilderTrigger_CreateViaJsonString.cs b/generated/ImageBuilder/ImageBuilder.Autorest/generated/cmdlets/NewAzImageBuilderTrigger_CreateViaJsonString.cs
index 39ae491a0eaa..0f68c0277b19 100644
--- a/generated/ImageBuilder/ImageBuilder.Autorest/generated/cmdlets/NewAzImageBuilderTrigger_CreateViaJsonString.cs
+++ b/generated/ImageBuilder/ImageBuilder.Autorest/generated/cmdlets/NewAzImageBuilderTrigger_CreateViaJsonString.cs
@@ -41,15 +41,6 @@ public partial class NewAzImageBuilderTrigger_CreateViaJsonString : 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.ImageBuilder.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.ParameterCategory.Runtime)]
@@ -279,11 +270,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Cmdlets.NewAzImageBuilder
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.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.ImageBuilder.Models.ITrigger
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/ImageBuilder/ImageBuilder.Autorest/generated/cmdlets/RemoveAzImageBuilderTemplate_Delete.cs b/generated/ImageBuilder/ImageBuilder.Autorest/generated/cmdlets/RemoveAzImageBuilderTemplate_Delete.cs
index fd83fbec0d09..0c63fce5872e 100644
--- a/generated/ImageBuilder/ImageBuilder.Autorest/generated/cmdlets/RemoveAzImageBuilderTemplate_Delete.cs
+++ b/generated/ImageBuilder/ImageBuilder.Autorest/generated/cmdlets/RemoveAzImageBuilderTemplate_Delete.cs
@@ -40,15 +40,6 @@ public partial class RemoveAzImageBuilderTemplate_Delete : 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;
-
/// 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.ImageBuilder.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.ParameterCategory.Runtime)]
@@ -264,11 +255,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Cmdlets.RemoveAzImageBuil
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -580,7 +566,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -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/ImageBuilder/ImageBuilder.Autorest/generated/cmdlets/RemoveAzImageBuilderTemplate_DeleteViaIdentity.cs b/generated/ImageBuilder/ImageBuilder.Autorest/generated/cmdlets/RemoveAzImageBuilderTemplate_DeleteViaIdentity.cs
index 4d30af620732..6e5750587323 100644
--- a/generated/ImageBuilder/ImageBuilder.Autorest/generated/cmdlets/RemoveAzImageBuilderTemplate_DeleteViaIdentity.cs
+++ b/generated/ImageBuilder/ImageBuilder.Autorest/generated/cmdlets/RemoveAzImageBuilderTemplate_DeleteViaIdentity.cs
@@ -40,15 +40,6 @@ public partial class RemoveAzImageBuilderTemplate_DeleteViaIdentity : 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.ImageBuilder.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.ParameterCategory.Runtime)]
@@ -218,11 +209,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Cmdlets.RemoveAzImageBuil
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.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/ImageBuilder/ImageBuilder.Autorest/generated/cmdlets/RemoveAzImageBuilderTrigger_Delete.cs b/generated/ImageBuilder/ImageBuilder.Autorest/generated/cmdlets/RemoveAzImageBuilderTrigger_Delete.cs
index c4df94d1a928..be108b4d20dd 100644
--- a/generated/ImageBuilder/ImageBuilder.Autorest/generated/cmdlets/RemoveAzImageBuilderTrigger_Delete.cs
+++ b/generated/ImageBuilder/ImageBuilder.Autorest/generated/cmdlets/RemoveAzImageBuilderTrigger_Delete.cs
@@ -40,15 +40,6 @@ public partial class RemoveAzImageBuilderTrigger_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.ImageBuilder.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.ParameterCategory.Runtime)]
@@ -279,11 +270,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Cmdlets.RemoveAzImageBuil
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -595,7 +581,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -619,7 +605,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/ImageBuilder/ImageBuilder.Autorest/generated/cmdlets/RemoveAzImageBuilderTrigger_DeleteViaIdentity.cs b/generated/ImageBuilder/ImageBuilder.Autorest/generated/cmdlets/RemoveAzImageBuilderTrigger_DeleteViaIdentity.cs
index 32e2f66b6fed..445663711e98 100644
--- a/generated/ImageBuilder/ImageBuilder.Autorest/generated/cmdlets/RemoveAzImageBuilderTrigger_DeleteViaIdentity.cs
+++ b/generated/ImageBuilder/ImageBuilder.Autorest/generated/cmdlets/RemoveAzImageBuilderTrigger_DeleteViaIdentity.cs
@@ -40,15 +40,6 @@ public partial class RemoveAzImageBuilderTrigger_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.ImageBuilder.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.ParameterCategory.Runtime)]
@@ -218,11 +209,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Cmdlets.RemoveAzImageBuil
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.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/ImageBuilder/ImageBuilder.Autorest/generated/cmdlets/RemoveAzImageBuilderTrigger_DeleteViaIdentityImageTemplate.cs b/generated/ImageBuilder/ImageBuilder.Autorest/generated/cmdlets/RemoveAzImageBuilderTrigger_DeleteViaIdentityImageTemplate.cs
index d6038aa1cb08..0f246aa1c407 100644
--- a/generated/ImageBuilder/ImageBuilder.Autorest/generated/cmdlets/RemoveAzImageBuilderTrigger_DeleteViaIdentityImageTemplate.cs
+++ b/generated/ImageBuilder/ImageBuilder.Autorest/generated/cmdlets/RemoveAzImageBuilderTrigger_DeleteViaIdentityImageTemplate.cs
@@ -40,15 +40,6 @@ public partial class RemoveAzImageBuilderTrigger_DeleteViaIdentityImageTemplate
/// 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.ImageBuilder.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.ParameterCategory.Runtime)]
@@ -236,11 +227,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Cmdlets.RemoveAzImageBuil
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.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/ImageBuilder/ImageBuilder.Autorest/generated/cmdlets/StartAzImageBuilderTemplate_Run.cs b/generated/ImageBuilder/ImageBuilder.Autorest/generated/cmdlets/StartAzImageBuilderTemplate_Run.cs
index fcf1826f904f..7d307b130eb3 100644
--- a/generated/ImageBuilder/ImageBuilder.Autorest/generated/cmdlets/StartAzImageBuilderTemplate_Run.cs
+++ b/generated/ImageBuilder/ImageBuilder.Autorest/generated/cmdlets/StartAzImageBuilderTemplate_Run.cs
@@ -40,15 +40,6 @@ public partial class StartAzImageBuilderTemplate_Run : 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.ImageBuilder.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.ParameterCategory.Runtime)]
@@ -264,11 +255,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Cmdlets.StartAzImageBuild
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -580,7 +566,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -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/ImageBuilder/ImageBuilder.Autorest/generated/cmdlets/StartAzImageBuilderTemplate_RunViaIdentity.cs b/generated/ImageBuilder/ImageBuilder.Autorest/generated/cmdlets/StartAzImageBuilderTemplate_RunViaIdentity.cs
index cfee6279bbed..f244433c6489 100644
--- a/generated/ImageBuilder/ImageBuilder.Autorest/generated/cmdlets/StartAzImageBuilderTemplate_RunViaIdentity.cs
+++ b/generated/ImageBuilder/ImageBuilder.Autorest/generated/cmdlets/StartAzImageBuilderTemplate_RunViaIdentity.cs
@@ -40,15 +40,6 @@ public partial class StartAzImageBuilderTemplate_RunViaIdentity : 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.ImageBuilder.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.ParameterCategory.Runtime)]
@@ -218,11 +209,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Cmdlets.StartAzImageBuild
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.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/ImageBuilder/ImageBuilder.Autorest/generated/cmdlets/StopAzImageBuilderTemplate_Cancel.cs b/generated/ImageBuilder/ImageBuilder.Autorest/generated/cmdlets/StopAzImageBuilderTemplate_Cancel.cs
index 6526e20d56a0..3a99ee64266f 100644
--- a/generated/ImageBuilder/ImageBuilder.Autorest/generated/cmdlets/StopAzImageBuilderTemplate_Cancel.cs
+++ b/generated/ImageBuilder/ImageBuilder.Autorest/generated/cmdlets/StopAzImageBuilderTemplate_Cancel.cs
@@ -40,15 +40,6 @@ public partial class StopAzImageBuilderTemplate_Cancel : 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;
-
- ///
- /// 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.ImageBuilder.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.ParameterCategory.Runtime)]
@@ -264,11 +255,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Cmdlets.StopAzImageBuilde
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -580,7 +566,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -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/ImageBuilder/ImageBuilder.Autorest/generated/cmdlets/StopAzImageBuilderTemplate_CancelViaIdentity.cs b/generated/ImageBuilder/ImageBuilder.Autorest/generated/cmdlets/StopAzImageBuilderTemplate_CancelViaIdentity.cs
index 5a95539013f9..2316d6174da1 100644
--- a/generated/ImageBuilder/ImageBuilder.Autorest/generated/cmdlets/StopAzImageBuilderTemplate_CancelViaIdentity.cs
+++ b/generated/ImageBuilder/ImageBuilder.Autorest/generated/cmdlets/StopAzImageBuilderTemplate_CancelViaIdentity.cs
@@ -40,15 +40,6 @@ public partial class StopAzImageBuilderTemplate_CancelViaIdentity : 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.ImageBuilder.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.ParameterCategory.Runtime)]
@@ -218,11 +209,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Cmdlets.StopAzImageBuilde
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.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/ImageBuilder/ImageBuilder.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs b/generated/ImageBuilder/ImageBuilder.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs
index dbec43c255f5..c7c20a80a4c3 100644
--- a/generated/ImageBuilder/ImageBuilder.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs
+++ b/generated/ImageBuilder/ImageBuilder.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/ImageBuilder/ImageBuilder.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs b/generated/ImageBuilder/ImageBuilder.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs
index 7b425437823e..5ffd1e9e3470 100644
--- a/generated/ImageBuilder/ImageBuilder.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs
+++ b/generated/ImageBuilder/ImageBuilder.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/ImageBuilder/ImageBuilder.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs b/generated/ImageBuilder/ImageBuilder.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs
index 4018c11bc0c3..4ff23cf04498 100644
--- a/generated/ImageBuilder/ImageBuilder.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs
+++ b/generated/ImageBuilder/ImageBuilder.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/ImageBuilder/ImageBuilder.Autorest/generated/runtime/Context.cs b/generated/ImageBuilder/ImageBuilder.Autorest/generated/runtime/Context.cs
index 5133b416f5c3..2ab3ce9ba07e 100644
--- a/generated/ImageBuilder/ImageBuilder.Autorest/generated/runtime/Context.cs
+++ b/generated/ImageBuilder/ImageBuilder.Autorest/generated/runtime/Context.cs
@@ -20,7 +20,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.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/ImageBuilder/ImageBuilder.Autorest/generated/runtime/MessageAttribute.cs b/generated/ImageBuilder/ImageBuilder.Autorest/generated/runtime/MessageAttribute.cs
index ebf8e53235f3..9a5ff697c406 100644
--- a/generated/ImageBuilder/ImageBuilder.Autorest/generated/runtime/MessageAttribute.cs
+++ b/generated/ImageBuilder/ImageBuilder.Autorest/generated/runtime/MessageAttribute.cs
@@ -16,9 +16,12 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.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.ImageBuilder" : @"";
+
//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/ImageBuilder/ImageBuilder.Autorest/generated/runtime/Properties/Resources.resx b/generated/ImageBuilder/ImageBuilder.Autorest/generated/runtime/Properties/Resources.resx
index a08a2e50172b..4ef90b70573d 100644
--- a/generated/ImageBuilder/ImageBuilder.Autorest/generated/runtime/Properties/Resources.resx
+++ b/generated/ImageBuilder/ImageBuilder.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/ImageBuilder/ImageBuilder.Autorest/internal/New-AzImageBuilderTemplate.ps1 b/generated/ImageBuilder/ImageBuilder.Autorest/internal/New-AzImageBuilderTemplate.ps1
index a98ff61b464b..3bcbdca40a64 100644
--- a/generated/ImageBuilder/ImageBuilder.Autorest/internal/New-AzImageBuilderTemplate.ps1
+++ b/generated/ImageBuilder/ImageBuilder.Autorest/internal/New-AzImageBuilderTemplate.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-create a virtual machine image template
+Create a virtual machine image template
.Description
-create a virtual machine image template
+Create a virtual machine image template
.Example
$source = New-AzImageBuilderTemplateSourceObject -Publisher "Canonical" -Offer "UbuntuServer" -Sku "18.04-LTS" -Version "latest"
$customizer = New-AzImageBuilderTemplateCustomizerObject -ShellCustomizer -Name "CheckSumCompareShellScript" -ScriptUri "https://raw.githubusercontent.com/danielsollondon/azvmimagebuilder/master/quickquickstarts/customizeScript2.sh" -Sha256Checksum "ade4c5214c3c675e92c66e2d067a870c5b81b9844b3de3cc72c49ff36425fc93"
diff --git a/generated/ImageBuilder/ImageBuilder.Autorest/internal/ProxyCmdletDefinitions.ps1 b/generated/ImageBuilder/ImageBuilder.Autorest/internal/ProxyCmdletDefinitions.ps1
index 942bf9914c4c..821d435dc998 100644
--- a/generated/ImageBuilder/ImageBuilder.Autorest/internal/ProxyCmdletDefinitions.ps1
+++ b/generated/ImageBuilder/ImageBuilder.Autorest/internal/ProxyCmdletDefinitions.ps1
@@ -132,9 +132,9 @@ end {
<#
.Synopsis
-create a virtual machine image template
+Create a virtual machine image template
.Description
-create a virtual machine image template
+Create a virtual machine image template
.Example
$source = New-AzImageBuilderTemplateSourceObject -Publisher "Canonical" -Offer "UbuntuServer" -Sku "18.04-LTS" -Version "latest"
$customizer = New-AzImageBuilderTemplateCustomizerObject -ShellCustomizer -Name "CheckSumCompareShellScript" -ScriptUri "https://raw.githubusercontent.com/danielsollondon/azvmimagebuilder/master/quickquickstarts/customizeScript2.sh" -Sha256Checksum "ade4c5214c3c675e92c66e2d067a870c5b81b9844b3de3cc72c49ff36425fc93"
diff --git a/generated/ImportExport/ImportExport.Autorest/exports/Get-AzImportExport.ps1 b/generated/ImportExport/ImportExport.Autorest/exports/Get-AzImportExport.ps1
index 6193d88e6b60..aa1569eb9962 100644
--- a/generated/ImportExport/ImportExport.Autorest/exports/Get-AzImportExport.ps1
+++ b/generated/ImportExport/ImportExport.Autorest/exports/Get-AzImportExport.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/ImportExport/ImportExport.Autorest/exports/Get-AzImportExportBitLockerKey.ps1 b/generated/ImportExport/ImportExport.Autorest/exports/Get-AzImportExportBitLockerKey.ps1
index 7a8a4b40f8a3..4ac495fa0567 100644
--- a/generated/ImportExport/ImportExport.Autorest/exports/Get-AzImportExportBitLockerKey.ps1
+++ b/generated/ImportExport/ImportExport.Autorest/exports/Get-AzImportExportBitLockerKey.ps1
@@ -117,8 +117,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log 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/ImportExport/ImportExport.Autorest/exports/Get-AzImportExportLocation.ps1 b/generated/ImportExport/ImportExport.Autorest/exports/Get-AzImportExportLocation.ps1
index b095da23683b..8c28b31142f3 100644
--- a/generated/ImportExport/ImportExport.Autorest/exports/Get-AzImportExportLocation.ps1
+++ b/generated/ImportExport/ImportExport.Autorest/exports/Get-AzImportExportLocation.ps1
@@ -133,8 +133,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log 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/ImportExport/ImportExport.Autorest/exports/New-AzImportExport.ps1 b/generated/ImportExport/ImportExport.Autorest/exports/New-AzImportExport.ps1
index f08b3c9e649c..e73d2da68bd9 100644
--- a/generated/ImportExport/ImportExport.Autorest/exports/New-AzImportExport.ps1
+++ b/generated/ImportExport/ImportExport.Autorest/exports/New-AzImportExport.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-create a new job or create an existing job in the specified subscription.
+Create a new job or create an existing job in the specified subscription.
.Description
-create a new job or create an existing job in the specified subscription.
+Create a new job or create an existing job in the specified subscription.
.Example
$driveList = @( @{ DriveId = "9CA995BA"; BitLockerKey = "238810-662376-448998-450120-652806-203390-606320-483076"; ManifestFile = "\\DriveManifest.xml"; ManifestHash = "109B21108597EF36D5785F08303F3638"; DriveHeaderHash = "" })
New-AzImportExport -Name test-job -ResourceGroupName ImportTestRG -Location eastus -StorageAccountId "/subscriptions//resourcegroups/ImportTestRG/providers/Microsoft.Storage/storageAccounts/teststorageforimport" -JobType Import -ReturnAddressRecipientName "Some name" -ReturnAddressStreetAddress1 "Street1" -ReturnAddressCity "Redmond" -ReturnAddressStateOrProvince "WA" -ReturnAddressPostalCode "98008" -ReturnAddressCountryOrRegion "USA" -ReturnAddressPhone "4250000000" -ReturnAddressEmail test@contoso.com -DiagnosticsPath "waimportexport" -BackupDriveManifest -DriveList $driveList
@@ -442,8 +442,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log 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/ImportExport/ImportExport.Autorest/exports/ProxyCmdletDefinitions.ps1 b/generated/ImportExport/ImportExport.Autorest/exports/ProxyCmdletDefinitions.ps1
index 7d4704c463d3..c94368e4c4d8 100644
--- a/generated/ImportExport/ImportExport.Autorest/exports/ProxyCmdletDefinitions.ps1
+++ b/generated/ImportExport/ImportExport.Autorest/exports/ProxyCmdletDefinitions.ps1
@@ -133,8 +133,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -361,8 +360,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -450,9 +448,9 @@ end {
<#
.Synopsis
-create a new job or create an existing job in the specified subscription.
+Create a new job or create an existing job in the specified subscription.
.Description
-create a new job or create an existing job in the specified subscription.
+Create a new job or create an existing job in the specified subscription.
.Example
$driveList = @( @{ DriveId = "9CA995BA"; BitLockerKey = "238810-662376-448998-450120-652806-203390-606320-483076"; ManifestFile = "\\DriveManifest.xml"; ManifestHash = "109B21108597EF36D5785F08303F3638"; DriveHeaderHash = "" })
New-AzImportExport -Name test-job -ResourceGroupName ImportTestRG -Location eastus -StorageAccountId "/subscriptions//resourcegroups/ImportTestRG/providers/Microsoft.Storage/storageAccounts/teststorageforimport" -JobType Import -ReturnAddressRecipientName "Some name" -ReturnAddressStreetAddress1 "Street1" -ReturnAddressCity "Redmond" -ReturnAddressStateOrProvince "WA" -ReturnAddressPostalCode "98008" -ReturnAddressCountryOrRegion "USA" -ReturnAddressPhone "4250000000" -ReturnAddressEmail test@contoso.com -DiagnosticsPath "waimportexport" -BackupDriveManifest -DriveList $driveList
@@ -876,8 +874,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -1096,8 +1093,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -1183,11 +1179,11 @@ end {
<#
.Synopsis
-update specific properties of a job.
+Update specific properties of a job.
You can call this operation to notify the Import/Export service that the hard drives comprising the import or export job have been shipped to the Microsoft data center.
It can also be used to cancel an existing job.
.Description
-update specific properties of a job.
+Update specific properties of a job.
You can call this operation to notify the Import/Export service that the hard drives comprising the import or export job have been shipped to the Microsoft data center.
It can also be used to cancel an existing job.
.Example
@@ -1494,8 +1490,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -1684,8 +1679,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log 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/ImportExport/ImportExport.Autorest/exports/Remove-AzImportExport.ps1 b/generated/ImportExport/ImportExport.Autorest/exports/Remove-AzImportExport.ps1
index d29e05b76919..fb8878e6c64c 100644
--- a/generated/ImportExport/ImportExport.Autorest/exports/Remove-AzImportExport.ps1
+++ b/generated/ImportExport/ImportExport.Autorest/exports/Remove-AzImportExport.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/ImportExport/ImportExport.Autorest/exports/Update-AzImportExport.ps1 b/generated/ImportExport/ImportExport.Autorest/exports/Update-AzImportExport.ps1
index 2cb801dadddc..be5bb480e3ab 100644
--- a/generated/ImportExport/ImportExport.Autorest/exports/Update-AzImportExport.ps1
+++ b/generated/ImportExport/ImportExport.Autorest/exports/Update-AzImportExport.ps1
@@ -16,11 +16,11 @@
<#
.Synopsis
-update specific properties of a job.
+Update specific properties of a job.
You can call this operation to notify the Import/Export service that the hard drives comprising the import or export job have been shipped to the Microsoft data center.
It can also be used to cancel an existing job.
.Description
-update specific properties of a job.
+Update specific properties of a job.
You can call this operation to notify the Import/Export service that the hard drives comprising the import or export job have been shipped to the Microsoft data center.
It can also be used to cancel an existing job.
.Example
@@ -327,8 +327,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log 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/ImportExport/ImportExport.Autorest/generated/api/Models/JobDetails.cs b/generated/ImportExport/ImportExport.Autorest/generated/api/Models/JobDetails.cs
index 2edfa9567379..2ad023a2ad93 100644
--- a/generated/ImportExport/ImportExport.Autorest/generated/api/Models/JobDetails.cs
+++ b/generated/ImportExport/ImportExport.Autorest/generated/api/Models/JobDetails.cs
@@ -153,7 +153,7 @@ public partial class JobDetails :
Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IExport Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobDetailsInternal.Export { get => (this._export = this._export ?? new Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.Export()); set { {_export = value;} } }
/// Internal Acessors for ExportBlobList
- Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IExportBlobList Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobDetailsInternal.ExportBlobList { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IExportInternal)Export).BlobList; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IExportInternal)Export).BlobList = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IExportBlobList Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobDetailsInternal.ExportBlobList { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IExportInternal)Export).BlobList; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IExportInternal)Export).BlobList = value ?? null /* model class */; }
/// Internal Acessors for ReturnAddress
Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IReturnAddress Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobDetailsInternal.ReturnAddress { get => (this._returnAddress = this._returnAddress ?? new Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.ReturnAddress()); set { {_returnAddress = value;} } }
@@ -168,7 +168,7 @@ public partial class JobDetails :
Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IShippingInformation Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobDetailsInternal.ShippingInformation { get => (this._shippingInformation = this._shippingInformation ?? new Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.ShippingInformation()); set { {_shippingInformation = value;} } }
/// Internal Acessors for ShippingInformationAdditionalInformation
- string Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobDetailsInternal.ShippingInformationAdditionalInformation { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IShippingInformationInternal)ShippingInformation).AdditionalInformation; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IShippingInformationInternal)ShippingInformation).AdditionalInformation = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobDetailsInternal.ShippingInformationAdditionalInformation { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IShippingInformationInternal)ShippingInformation).AdditionalInformation; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IShippingInformationInternal)ShippingInformation).AdditionalInformation = value ?? null; }
/// Backing field for property.
private long? _percentComplete;
diff --git a/generated/ImportExport/ImportExport.Autorest/generated/api/Models/JobResponse.cs b/generated/ImportExport/ImportExport.Autorest/generated/api/Models/JobResponse.cs
index 20e8a8124175..93a79b1a7234 100644
--- a/generated/ImportExport/ImportExport.Autorest/generated/api/Models/JobResponse.cs
+++ b/generated/ImportExport/ImportExport.Autorest/generated/api/Models/JobResponse.cs
@@ -130,16 +130,16 @@ public partial class JobResponse :
public string LogLevel { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobDetailsInternal)Property).LogLevel; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobDetailsInternal)Property).LogLevel = value ?? null; }
/// Internal Acessors for DeliveryPackage
- Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IDeliveryPackageInformation Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobResponseInternal.DeliveryPackage { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobDetailsInternal)Property).DeliveryPackage; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobDetailsInternal)Property).DeliveryPackage = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IDeliveryPackageInformation Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobResponseInternal.DeliveryPackage { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobDetailsInternal)Property).DeliveryPackage; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobDetailsInternal)Property).DeliveryPackage = value ?? null /* model class */; }
/// Internal Acessors for EncryptionKey
- Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IEncryptionKeyDetails Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobResponseInternal.EncryptionKey { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobDetailsInternal)Property).EncryptionKey; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobDetailsInternal)Property).EncryptionKey = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IEncryptionKeyDetails Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobResponseInternal.EncryptionKey { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobDetailsInternal)Property).EncryptionKey; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobDetailsInternal)Property).EncryptionKey = value ?? null /* model class */; }
/// Internal Acessors for Export
- Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IExport Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobResponseInternal.Export { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobDetailsInternal)Property).Export; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobDetailsInternal)Property).Export = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IExport Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobResponseInternal.Export { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobDetailsInternal)Property).Export; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobDetailsInternal)Property).Export = value ?? null /* model class */; }
/// Internal Acessors for ExportBlobList
- Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IExportBlobList Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobResponseInternal.ExportBlobList { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobDetailsInternal)Property).ExportBlobList; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobDetailsInternal)Property).ExportBlobList = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IExportBlobList Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobResponseInternal.ExportBlobList { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobDetailsInternal)Property).ExportBlobList; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobDetailsInternal)Property).ExportBlobList = value ?? null /* model class */; }
/// Internal Acessors for Id
string Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobResponseInternal.Id { get => this._id; set { {_id = value;} } }
@@ -148,10 +148,10 @@ public partial class JobResponse :
Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IIdentityDetails Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobResponseInternal.Identity { get => (this._identity = this._identity ?? new Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IdentityDetails()); set { {_identity = value;} } }
/// Internal Acessors for IdentityPrincipalId
- string Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobResponseInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IIdentityDetailsInternal)Identity).PrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IIdentityDetailsInternal)Identity).PrincipalId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobResponseInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IIdentityDetailsInternal)Identity).PrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IIdentityDetailsInternal)Identity).PrincipalId = value ?? null; }
/// Internal Acessors for IdentityTenantId
- string Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobResponseInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IIdentityDetailsInternal)Identity).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IIdentityDetailsInternal)Identity).TenantId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobResponseInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IIdentityDetailsInternal)Identity).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IIdentityDetailsInternal)Identity).TenantId = value ?? null; }
/// Internal Acessors for Name
string Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobResponseInternal.Name { get => this._name; set { {_name = value;} } }
@@ -160,40 +160,40 @@ public partial class JobResponse :
Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobDetails Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobResponseInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.JobDetails()); set { {_property = value;} } }
/// Internal Acessors for ReturnAddress
- Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IReturnAddress Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobResponseInternal.ReturnAddress { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobDetailsInternal)Property).ReturnAddress; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobDetailsInternal)Property).ReturnAddress = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IReturnAddress Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobResponseInternal.ReturnAddress { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobDetailsInternal)Property).ReturnAddress; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobDetailsInternal)Property).ReturnAddress = value ?? null /* model class */; }
/// Internal Acessors for ReturnPackage
- Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IPackageInformation Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobResponseInternal.ReturnPackage { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobDetailsInternal)Property).ReturnPackage; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobDetailsInternal)Property).ReturnPackage = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IPackageInformation Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobResponseInternal.ReturnPackage { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobDetailsInternal)Property).ReturnPackage; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobDetailsInternal)Property).ReturnPackage = value ?? null /* model class */; }
/// Internal Acessors for ReturnShipping
- Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IReturnShipping Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobResponseInternal.ReturnShipping { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobDetailsInternal)Property).ReturnShipping; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobDetailsInternal)Property).ReturnShipping = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IReturnShipping Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobResponseInternal.ReturnShipping { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobDetailsInternal)Property).ReturnShipping; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobDetailsInternal)Property).ReturnShipping = value ?? null /* model class */; }
/// Internal Acessors for ShippingInformation
- Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IShippingInformation Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobResponseInternal.ShippingInformation { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobDetailsInternal)Property).ShippingInformation; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobDetailsInternal)Property).ShippingInformation = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IShippingInformation Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobResponseInternal.ShippingInformation { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobDetailsInternal)Property).ShippingInformation; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobDetailsInternal)Property).ShippingInformation = value ?? null /* model class */; }
/// Internal Acessors for ShippingInformationAdditionalInformation
- string Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobResponseInternal.ShippingInformationAdditionalInformation { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobDetailsInternal)Property).ShippingInformationAdditionalInformation; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobDetailsInternal)Property).ShippingInformationAdditionalInformation = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobResponseInternal.ShippingInformationAdditionalInformation { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobDetailsInternal)Property).ShippingInformationAdditionalInformation; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobDetailsInternal)Property).ShippingInformationAdditionalInformation = value ?? null; }
/// Internal Acessors for SystemData
Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobResponseInternal.SystemData { get => (this._systemData = this._systemData ?? new Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.SystemData()); set { {_systemData = value;} } }
/// Internal Acessors for SystemDataCreatedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobResponseInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.ISystemDataInternal)SystemData).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.ISystemDataInternal)SystemData).CreatedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobResponseInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.ISystemDataInternal)SystemData).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.ISystemDataInternal)SystemData).CreatedAt = value ?? default(global::System.DateTime); }
/// Internal Acessors for SystemDataCreatedBy
- string Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobResponseInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.ISystemDataInternal)SystemData).CreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.ISystemDataInternal)SystemData).CreatedBy = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobResponseInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.ISystemDataInternal)SystemData).CreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.ISystemDataInternal)SystemData).CreatedBy = value ?? null; }
/// Internal Acessors for SystemDataCreatedByType
- string Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobResponseInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.ISystemDataInternal)SystemData).CreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.ISystemDataInternal)SystemData).CreatedByType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobResponseInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.ISystemDataInternal)SystemData).CreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.ISystemDataInternal)SystemData).CreatedByType = value ?? null; }
/// Internal Acessors for SystemDataLastModifiedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobResponseInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.ISystemDataInternal)SystemData).LastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.ISystemDataInternal)SystemData).LastModifiedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobResponseInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.ISystemDataInternal)SystemData).LastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.ISystemDataInternal)SystemData).LastModifiedAt = value ?? default(global::System.DateTime); }
/// Internal Acessors for SystemDataLastModifiedBy
- string Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobResponseInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.ISystemDataInternal)SystemData).LastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.ISystemDataInternal)SystemData).LastModifiedBy = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobResponseInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.ISystemDataInternal)SystemData).LastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.ISystemDataInternal)SystemData).LastModifiedBy = value ?? null; }
/// Internal Acessors for SystemDataLastModifiedByType
- string Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobResponseInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.ISystemDataInternal)SystemData).LastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.ISystemDataInternal)SystemData).LastModifiedByType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobResponseInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.ISystemDataInternal)SystemData).LastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.ISystemDataInternal)SystemData).LastModifiedByType = value ?? null; }
/// Internal Acessors for Type
string Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobResponseInternal.Type { get => this._type; set { {_type = value;} } }
diff --git a/generated/ImportExport/ImportExport.Autorest/generated/api/Models/PutJobParameters.cs b/generated/ImportExport/ImportExport.Autorest/generated/api/Models/PutJobParameters.cs
index ac07a14a69d6..539ef8b46a17 100644
--- a/generated/ImportExport/ImportExport.Autorest/generated/api/Models/PutJobParameters.cs
+++ b/generated/ImportExport/ImportExport.Autorest/generated/api/Models/PutJobParameters.cs
@@ -104,34 +104,34 @@ public partial class PutJobParameters :
public string LogLevel { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobDetailsInternal)Property).LogLevel; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobDetailsInternal)Property).LogLevel = value ?? null; }
/// Internal Acessors for DeliveryPackage
- Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IDeliveryPackageInformation Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IPutJobParametersInternal.DeliveryPackage { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobDetailsInternal)Property).DeliveryPackage; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobDetailsInternal)Property).DeliveryPackage = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IDeliveryPackageInformation Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IPutJobParametersInternal.DeliveryPackage { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobDetailsInternal)Property).DeliveryPackage; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobDetailsInternal)Property).DeliveryPackage = value ?? null /* model class */; }
/// Internal Acessors for EncryptionKey
- Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IEncryptionKeyDetails Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IPutJobParametersInternal.EncryptionKey { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobDetailsInternal)Property).EncryptionKey; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobDetailsInternal)Property).EncryptionKey = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IEncryptionKeyDetails Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IPutJobParametersInternal.EncryptionKey { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobDetailsInternal)Property).EncryptionKey; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobDetailsInternal)Property).EncryptionKey = value ?? null /* model class */; }
/// Internal Acessors for Export
- Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IExport Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IPutJobParametersInternal.Export { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobDetailsInternal)Property).Export; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobDetailsInternal)Property).Export = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IExport Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IPutJobParametersInternal.Export { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobDetailsInternal)Property).Export; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobDetailsInternal)Property).Export = value ?? null /* model class */; }
/// Internal Acessors for ExportBlobList
- Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IExportBlobList Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IPutJobParametersInternal.ExportBlobList { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobDetailsInternal)Property).ExportBlobList; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobDetailsInternal)Property).ExportBlobList = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IExportBlobList Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IPutJobParametersInternal.ExportBlobList { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobDetailsInternal)Property).ExportBlobList; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobDetailsInternal)Property).ExportBlobList = value ?? null /* model class */; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobDetails Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IPutJobParametersInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.JobDetails()); set { {_property = value;} } }
/// Internal Acessors for ReturnAddress
- Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IReturnAddress Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IPutJobParametersInternal.ReturnAddress { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobDetailsInternal)Property).ReturnAddress; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobDetailsInternal)Property).ReturnAddress = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IReturnAddress Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IPutJobParametersInternal.ReturnAddress { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobDetailsInternal)Property).ReturnAddress; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobDetailsInternal)Property).ReturnAddress = value ?? null /* model class */; }
/// Internal Acessors for ReturnPackage
- Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IPackageInformation Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IPutJobParametersInternal.ReturnPackage { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobDetailsInternal)Property).ReturnPackage; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobDetailsInternal)Property).ReturnPackage = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IPackageInformation Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IPutJobParametersInternal.ReturnPackage { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobDetailsInternal)Property).ReturnPackage; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobDetailsInternal)Property).ReturnPackage = value ?? null /* model class */; }
/// Internal Acessors for ReturnShipping
- Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IReturnShipping Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IPutJobParametersInternal.ReturnShipping { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobDetailsInternal)Property).ReturnShipping; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobDetailsInternal)Property).ReturnShipping = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IReturnShipping Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IPutJobParametersInternal.ReturnShipping { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobDetailsInternal)Property).ReturnShipping; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobDetailsInternal)Property).ReturnShipping = value ?? null /* model class */; }
/// Internal Acessors for ShippingInformation
- Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IShippingInformation Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IPutJobParametersInternal.ShippingInformation { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobDetailsInternal)Property).ShippingInformation; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobDetailsInternal)Property).ShippingInformation = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IShippingInformation Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IPutJobParametersInternal.ShippingInformation { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobDetailsInternal)Property).ShippingInformation; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobDetailsInternal)Property).ShippingInformation = value ?? null /* model class */; }
/// Internal Acessors for ShippingInformationAdditionalInformation
- string Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IPutJobParametersInternal.ShippingInformationAdditionalInformation { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobDetailsInternal)Property).ShippingInformationAdditionalInformation; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobDetailsInternal)Property).ShippingInformationAdditionalInformation = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IPutJobParametersInternal.ShippingInformationAdditionalInformation { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobDetailsInternal)Property).ShippingInformationAdditionalInformation; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IJobDetailsInternal)Property).ShippingInformationAdditionalInformation = value ?? null; }
/// Overall percentage completed for the job.
[Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Origin(Microsoft.Azure.PowerShell.Cmdlets.ImportExport.PropertyOrigin.Inlined)]
diff --git a/generated/ImportExport/ImportExport.Autorest/generated/api/Models/UpdateJobParameters.cs b/generated/ImportExport/ImportExport.Autorest/generated/api/Models/UpdateJobParameters.cs
index 34bafef3279f..f0f987e352c1 100644
--- a/generated/ImportExport/ImportExport.Autorest/generated/api/Models/UpdateJobParameters.cs
+++ b/generated/ImportExport/ImportExport.Autorest/generated/api/Models/UpdateJobParameters.cs
@@ -50,16 +50,16 @@ public partial class UpdateJobParameters :
public string LogLevel { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IUpdateJobParametersPropertiesInternal)Property).LogLevel; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IUpdateJobParametersPropertiesInternal)Property).LogLevel = value ?? null; }
/// Internal Acessors for DeliveryPackage
- Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IDeliveryPackageInformation Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IUpdateJobParametersInternal.DeliveryPackage { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IUpdateJobParametersPropertiesInternal)Property).DeliveryPackage; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IUpdateJobParametersPropertiesInternal)Property).DeliveryPackage = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IDeliveryPackageInformation Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IUpdateJobParametersInternal.DeliveryPackage { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IUpdateJobParametersPropertiesInternal)Property).DeliveryPackage; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IUpdateJobParametersPropertiesInternal)Property).DeliveryPackage = value ?? null /* model class */; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IUpdateJobParametersProperties Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IUpdateJobParametersInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.UpdateJobParametersProperties()); set { {_property = value;} } }
/// Internal Acessors for ReturnAddress
- Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IReturnAddress Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IUpdateJobParametersInternal.ReturnAddress { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IUpdateJobParametersPropertiesInternal)Property).ReturnAddress; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IUpdateJobParametersPropertiesInternal)Property).ReturnAddress = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IReturnAddress Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IUpdateJobParametersInternal.ReturnAddress { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IUpdateJobParametersPropertiesInternal)Property).ReturnAddress; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IUpdateJobParametersPropertiesInternal)Property).ReturnAddress = value ?? null /* model class */; }
/// Internal Acessors for ReturnShipping
- Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IReturnShipping Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IUpdateJobParametersInternal.ReturnShipping { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IUpdateJobParametersPropertiesInternal)Property).ReturnShipping; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IUpdateJobParametersPropertiesInternal)Property).ReturnShipping = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IReturnShipping Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IUpdateJobParametersInternal.ReturnShipping { get => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IUpdateJobParametersPropertiesInternal)Property).ReturnShipping; set => ((Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IUpdateJobParametersPropertiesInternal)Property).ReturnShipping = value ?? null /* model class */; }
/// Backing field for property.
private Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.IUpdateJobParametersProperties _property;
diff --git a/generated/ImportExport/ImportExport.Autorest/generated/cmdlets/RemoveAzImportExport_Delete.cs b/generated/ImportExport/ImportExport.Autorest/generated/cmdlets/RemoveAzImportExport_Delete.cs
index cbabb11aeb4d..d077c4350de1 100644
--- a/generated/ImportExport/ImportExport.Autorest/generated/cmdlets/RemoveAzImportExport_Delete.cs
+++ b/generated/ImportExport/ImportExport.Autorest/generated/cmdlets/RemoveAzImportExport_Delete.cs
@@ -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/ImportExport/ImportExport.Autorest/generated/cmdlets/RemoveAzImportExport_DeleteViaIdentity.cs b/generated/ImportExport/ImportExport.Autorest/generated/cmdlets/RemoveAzImportExport_DeleteViaIdentity.cs
index d91ffe805dfa..e528c377c61e 100644
--- a/generated/ImportExport/ImportExport.Autorest/generated/cmdlets/RemoveAzImportExport_DeleteViaIdentity.cs
+++ b/generated/ImportExport/ImportExport.Autorest/generated/cmdlets/RemoveAzImportExport_DeleteViaIdentity.cs
@@ -481,7 +481,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/ImportExport/ImportExport.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs b/generated/ImportExport/ImportExport.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs
index 2c551deec303..9822cfffef19 100644
--- a/generated/ImportExport/ImportExport.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs
+++ b/generated/ImportExport/ImportExport.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/ImportExport/ImportExport.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs b/generated/ImportExport/ImportExport.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs
index 870c35bb974c..367e3f936dd9 100644
--- a/generated/ImportExport/ImportExport.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs
+++ b/generated/ImportExport/ImportExport.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/ImportExport/ImportExport.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs b/generated/ImportExport/ImportExport.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs
index 29343bec6c2d..8c5cbf9c1268 100644
--- a/generated/ImportExport/ImportExport.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs
+++ b/generated/ImportExport/ImportExport.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/ImportExport/ImportExport.Autorest/generated/runtime/Context.cs b/generated/ImportExport/ImportExport.Autorest/generated/runtime/Context.cs
index 1fba4984a82c..2445f682d8df 100644
--- a/generated/ImportExport/ImportExport.Autorest/generated/runtime/Context.cs
+++ b/generated/ImportExport/ImportExport.Autorest/generated/runtime/Context.cs
@@ -20,7 +20,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ImportExport.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/ImportExport/ImportExport.Autorest/generated/runtime/MessageAttribute.cs b/generated/ImportExport/ImportExport.Autorest/generated/runtime/MessageAttribute.cs
index 8ded19c140b7..c613ef5411f2 100644
--- a/generated/ImportExport/ImportExport.Autorest/generated/runtime/MessageAttribute.cs
+++ b/generated/ImportExport/ImportExport.Autorest/generated/runtime/MessageAttribute.cs
@@ -16,9 +16,12 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ImportExport.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.ImportExport" : @"";
+
//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/ImportExport/ImportExport.Autorest/generated/runtime/Properties/Resources.resx b/generated/ImportExport/ImportExport.Autorest/generated/runtime/Properties/Resources.resx
index a08a2e50172b..4ef90b70573d 100644
--- a/generated/ImportExport/ImportExport.Autorest/generated/runtime/Properties/Resources.resx
+++ b/generated/ImportExport/ImportExport.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/Informatica/Informatica.Autorest/exports/Get-AzInformaticaOrganization.ps1 b/generated/Informatica/Informatica.Autorest/exports/Get-AzInformaticaOrganization.ps1
index 1b9c12492335..761f79bd87ea 100644
--- a/generated/Informatica/Informatica.Autorest/exports/Get-AzInformaticaOrganization.ps1
+++ b/generated/Informatica/Informatica.Autorest/exports/Get-AzInformaticaOrganization.ps1
@@ -131,6 +131,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Informatica.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -155,8 +163,6 @@ begin {
List1 = 'Az.Informatica.private\Get-AzInformaticaOrganization_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.Informatica.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -170,6 +176,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/Informatica/Informatica.Autorest/exports/Get-AzInformaticaOrganizationServerlessMetadata.ps1 b/generated/Informatica/Informatica.Autorest/exports/Get-AzInformaticaOrganizationServerlessMetadata.ps1
index cf67f1c88b2f..8ebd0a1bd311 100644
--- a/generated/Informatica/Informatica.Autorest/exports/Get-AzInformaticaOrganizationServerlessMetadata.ps1
+++ b/generated/Informatica/Informatica.Autorest/exports/Get-AzInformaticaOrganizationServerlessMetadata.ps1
@@ -127,6 +127,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Informatica.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()
}
@@ -149,8 +157,6 @@ begin {
GetViaIdentity = 'Az.Informatica.private\Get-AzInformaticaOrganizationServerlessMetadata_GetViaIdentity';
}
if (('Get') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Informatica.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 +170,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -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/Informatica/Informatica.Autorest/exports/Get-AzInformaticaOrganizationServerlessRuntime.ps1 b/generated/Informatica/Informatica.Autorest/exports/Get-AzInformaticaOrganizationServerlessRuntime.ps1
index 51944a30889e..1ed31bddb52c 100644
--- a/generated/Informatica/Informatica.Autorest/exports/Get-AzInformaticaOrganizationServerlessRuntime.ps1
+++ b/generated/Informatica/Informatica.Autorest/exports/Get-AzInformaticaOrganizationServerlessRuntime.ps1
@@ -127,6 +127,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Informatica.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()
}
@@ -149,8 +157,6 @@ begin {
GetViaIdentity = 'Az.Informatica.private\Get-AzInformaticaOrganizationServerlessRuntime_GetViaIdentity';
}
if (('Get') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Informatica.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 +170,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -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/Informatica/Informatica.Autorest/exports/Get-AzInformaticaServerlessRuntime.ps1 b/generated/Informatica/Informatica.Autorest/exports/Get-AzInformaticaServerlessRuntime.ps1
index f2a1d13a9512..3bef76e49270 100644
--- a/generated/Informatica/Informatica.Autorest/exports/Get-AzInformaticaServerlessRuntime.ps1
+++ b/generated/Informatica/Informatica.Autorest/exports/Get-AzInformaticaServerlessRuntime.ps1
@@ -151,6 +151,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Informatica.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -175,8 +183,6 @@ begin {
List = 'Az.Informatica.private\Get-AzInformaticaServerlessRuntime_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.Informatica.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -190,6 +196,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/Informatica/Informatica.Autorest/exports/Invoke-AzInformaticaServerlessRuntimeResource.ps1 b/generated/Informatica/Informatica.Autorest/exports/Invoke-AzInformaticaServerlessRuntimeResource.ps1
index 5d07433e90cf..eb5a9c714167 100644
--- a/generated/Informatica/Informatica.Autorest/exports/Invoke-AzInformaticaServerlessRuntimeResource.ps1
+++ b/generated/Informatica/Informatica.Autorest/exports/Invoke-AzInformaticaServerlessRuntimeResource.ps1
@@ -147,6 +147,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Informatica.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 {
ServerlessViaIdentityOrganization = 'Az.Informatica.private\Invoke-AzInformaticaServerlessRuntimeResource_ServerlessViaIdentityOrganization';
}
if (('Serverless') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Informatica.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/Informatica/Informatica.Autorest/exports/New-AzInformaticaOrganization.ps1 b/generated/Informatica/Informatica.Autorest/exports/New-AzInformaticaOrganization.ps1
index e9b4bc5ed3c2..a03af0457fc0 100644
--- a/generated/Informatica/Informatica.Autorest/exports/New-AzInformaticaOrganization.ps1
+++ b/generated/Informatica/Informatica.Autorest/exports/New-AzInformaticaOrganization.ps1
@@ -284,6 +284,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Informatica.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()
}
@@ -307,8 +315,6 @@ begin {
CreateViaJsonString = 'Az.Informatica.private\New-AzInformaticaOrganization_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.Informatica.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -322,6 +328,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -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/Informatica/Informatica.Autorest/exports/New-AzInformaticaServerlessRuntime.ps1 b/generated/Informatica/Informatica.Autorest/exports/New-AzInformaticaServerlessRuntime.ps1
index 638d63ff5009..a87fda1fb174 100644
--- a/generated/Informatica/Informatica.Autorest/exports/New-AzInformaticaServerlessRuntime.ps1
+++ b/generated/Informatica/Informatica.Autorest/exports/New-AzInformaticaServerlessRuntime.ps1
@@ -295,6 +295,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Informatica.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()
}
@@ -318,8 +326,6 @@ begin {
CreateViaJsonString = 'Az.Informatica.private\New-AzInformaticaServerlessRuntime_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.Informatica.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -333,6 +339,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -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/Informatica/Informatica.Autorest/exports/ProxyCmdletDefinitions.ps1 b/generated/Informatica/Informatica.Autorest/exports/ProxyCmdletDefinitions.ps1
index 5f9dbbf1eecd..6e82393b114c 100644
--- a/generated/Informatica/Informatica.Autorest/exports/ProxyCmdletDefinitions.ps1
+++ b/generated/Informatica/Informatica.Autorest/exports/ProxyCmdletDefinitions.ps1
@@ -127,6 +127,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Informatica.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()
}
@@ -149,8 +157,6 @@ begin {
GetViaIdentity = 'Az.Informatica.private\Get-AzInformaticaOrganizationServerlessMetadata_GetViaIdentity';
}
if (('Get') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Informatica.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 +170,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -320,6 +329,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Informatica.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()
}
@@ -342,8 +359,6 @@ begin {
GetViaIdentity = 'Az.Informatica.private\Get-AzInformaticaOrganizationServerlessRuntime_GetViaIdentity';
}
if (('Get') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Informatica.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -357,6 +372,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -517,6 +535,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Informatica.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()
}
@@ -541,8 +567,6 @@ begin {
List1 = 'Az.Informatica.private\Get-AzInformaticaOrganization_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.Informatica.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -556,6 +580,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -736,6 +763,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Informatica.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()
}
@@ -760,8 +795,6 @@ begin {
List = 'Az.Informatica.private\Get-AzInformaticaServerlessRuntime_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.Informatica.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -775,6 +808,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -951,6 +987,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Informatica.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()
}
@@ -974,8 +1018,6 @@ begin {
ServerlessViaIdentityOrganization = 'Az.Informatica.private\Invoke-AzInformaticaServerlessRuntimeResource_ServerlessViaIdentityOrganization';
}
if (('Serverless') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Informatica.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -989,6 +1031,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -1302,6 +1347,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Informatica.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()
}
@@ -1325,8 +1378,6 @@ begin {
CreateViaJsonString = 'Az.Informatica.private\New-AzInformaticaOrganization_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.Informatica.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -1340,6 +1391,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -1664,6 +1718,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Informatica.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()
}
@@ -1687,8 +1749,6 @@ begin {
CreateViaJsonString = 'Az.Informatica.private\New-AzInformaticaServerlessRuntime_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.Informatica.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -1702,6 +1762,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -1877,6 +1940,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Informatica.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()
}
@@ -1899,8 +1970,6 @@ begin {
DeleteViaIdentity = 'Az.Informatica.private\Remove-AzInformaticaOrganization_DeleteViaIdentity';
}
if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Informatica.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -1914,6 +1983,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -2109,6 +2181,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Informatica.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()
}
@@ -2132,8 +2212,6 @@ begin {
DeleteViaIdentityOrganization = 'Az.Informatica.private\Remove-AzInformaticaServerlessRuntime_DeleteViaIdentityOrganization';
}
if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Informatica.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -2147,6 +2225,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -2329,6 +2410,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Informatica.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()
}
@@ -2352,8 +2441,6 @@ begin {
StartViaIdentityOrganization = 'Az.Informatica.private\Start-AzInformaticaServerlessRuntimeFailedServerlessRuntime_StartViaIdentityOrganization';
}
if (('Start') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Informatica.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -2367,6 +2454,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -2543,6 +2633,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Informatica.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()
}
@@ -2566,8 +2664,6 @@ begin {
CheckViaIdentityOrganization = 'Az.Informatica.private\Test-AzInformaticaServerlessRuntimeDependency_CheckViaIdentityOrganization';
}
if (('Check') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Informatica.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -2581,6 +2677,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -2823,6 +2922,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Informatica.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()
}
@@ -2847,8 +2954,6 @@ begin {
UpdateViaJsonString = 'Az.Informatica.private\Update-AzInformaticaOrganization_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.Informatica.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -2862,6 +2967,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -3241,6 +3349,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Informatica.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()
}
@@ -3266,8 +3382,6 @@ begin {
UpdateViaJsonString = 'Az.Informatica.private\Update-AzInformaticaServerlessRuntime_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.Informatica.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -3281,6 +3395,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -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/Informatica/Informatica.Autorest/exports/Remove-AzInformaticaOrganization.ps1 b/generated/Informatica/Informatica.Autorest/exports/Remove-AzInformaticaOrganization.ps1
index 8d65d54ac650..23f3c72bd0ac 100644
--- a/generated/Informatica/Informatica.Autorest/exports/Remove-AzInformaticaOrganization.ps1
+++ b/generated/Informatica/Informatica.Autorest/exports/Remove-AzInformaticaOrganization.ps1
@@ -146,6 +146,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Informatica.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()
}
@@ -168,8 +176,6 @@ begin {
DeleteViaIdentity = 'Az.Informatica.private\Remove-AzInformaticaOrganization_DeleteViaIdentity';
}
if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Informatica.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -183,6 +189,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -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/Informatica/Informatica.Autorest/exports/Remove-AzInformaticaServerlessRuntime.ps1 b/generated/Informatica/Informatica.Autorest/exports/Remove-AzInformaticaServerlessRuntime.ps1
index 026d87eb16d8..78a5dc341447 100644
--- a/generated/Informatica/Informatica.Autorest/exports/Remove-AzInformaticaServerlessRuntime.ps1
+++ b/generated/Informatica/Informatica.Autorest/exports/Remove-AzInformaticaServerlessRuntime.ps1
@@ -166,6 +166,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Informatica.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 {
DeleteViaIdentityOrganization = 'Az.Informatica.private\Remove-AzInformaticaServerlessRuntime_DeleteViaIdentityOrganization';
}
if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Informatica.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/Informatica/Informatica.Autorest/exports/Start-AzInformaticaServerlessRuntimeFailedServerlessRuntime.ps1 b/generated/Informatica/Informatica.Autorest/exports/Start-AzInformaticaServerlessRuntimeFailedServerlessRuntime.ps1
index fbc5b71abb65..5f48dad0e64b 100644
--- a/generated/Informatica/Informatica.Autorest/exports/Start-AzInformaticaServerlessRuntimeFailedServerlessRuntime.ps1
+++ b/generated/Informatica/Informatica.Autorest/exports/Start-AzInformaticaServerlessRuntimeFailedServerlessRuntime.ps1
@@ -153,6 +153,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Informatica.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()
}
@@ -176,8 +184,6 @@ begin {
StartViaIdentityOrganization = 'Az.Informatica.private\Start-AzInformaticaServerlessRuntimeFailedServerlessRuntime_StartViaIdentityOrganization';
}
if (('Start') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Informatica.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -191,6 +197,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -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/Informatica/Informatica.Autorest/exports/Test-AzInformaticaServerlessRuntimeDependency.ps1 b/generated/Informatica/Informatica.Autorest/exports/Test-AzInformaticaServerlessRuntimeDependency.ps1
index 868611da32fe..8ec57a52ca04 100644
--- a/generated/Informatica/Informatica.Autorest/exports/Test-AzInformaticaServerlessRuntimeDependency.ps1
+++ b/generated/Informatica/Informatica.Autorest/exports/Test-AzInformaticaServerlessRuntimeDependency.ps1
@@ -147,6 +147,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Informatica.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 {
CheckViaIdentityOrganization = 'Az.Informatica.private\Test-AzInformaticaServerlessRuntimeDependency_CheckViaIdentityOrganization';
}
if (('Check') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Informatica.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/Informatica/Informatica.Autorest/exports/Update-AzInformaticaOrganization.ps1 b/generated/Informatica/Informatica.Autorest/exports/Update-AzInformaticaOrganization.ps1
index 1fe5a3a42e49..bd97905f958e 100644
--- a/generated/Informatica/Informatica.Autorest/exports/Update-AzInformaticaOrganization.ps1
+++ b/generated/Informatica/Informatica.Autorest/exports/Update-AzInformaticaOrganization.ps1
@@ -213,6 +213,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Informatica.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()
}
@@ -237,8 +245,6 @@ begin {
UpdateViaJsonString = 'Az.Informatica.private\Update-AzInformaticaOrganization_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.Informatica.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -252,6 +258,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -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/Informatica/Informatica.Autorest/exports/Update-AzInformaticaServerlessRuntime.ps1 b/generated/Informatica/Informatica.Autorest/exports/Update-AzInformaticaServerlessRuntime.ps1
index 55ad14a0ffff..b6275d8f025f 100644
--- a/generated/Informatica/Informatica.Autorest/exports/Update-AzInformaticaServerlessRuntime.ps1
+++ b/generated/Informatica/Informatica.Autorest/exports/Update-AzInformaticaServerlessRuntime.ps1
@@ -350,6 +350,14 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Informatica.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()
}
@@ -375,8 +383,6 @@ begin {
UpdateViaJsonString = 'Az.Informatica.private\Update-AzInformaticaServerlessRuntime_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.Informatica.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -390,6 +396,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -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/Informatica/Informatica.Autorest/generated/api/Informatica.cs b/generated/Informatica/Informatica.Autorest/generated/api/Informatica.cs
index 44f1eebde990..ca13ad2d133d 100644
--- a/generated/Informatica/Informatica.Autorest/generated/api/Informatica.cs
+++ b/generated/Informatica/Informatica.Autorest/generated/api/Informatica.cs
@@ -295,7 +295,7 @@ public partial class Informatica
}
}
- /// Update a InformaticaOrganizationResource
+ /// update a InformaticaOrganizationResource
/// The ID of the target subscription.
/// The name of the resource group. The name is case insensitive.
/// Name of the Organizations resource
@@ -344,7 +344,7 @@ public partial class Informatica
}
}
- /// Update a InformaticaOrganizationResource
+ /// update a InformaticaOrganizationResource
///
/// Resource create parameters.
/// a delegate that is called when the remote service returns 200 (OK).
@@ -403,7 +403,7 @@ public partial class Informatica
}
}
- /// Update a InformaticaOrganizationResource
+ /// update a InformaticaOrganizationResource
///
/// Resource create parameters.
/// an instance that will receive events.
@@ -460,7 +460,7 @@ public partial class Informatica
}
}
- /// Update a InformaticaOrganizationResource
+ /// update a InformaticaOrganizationResource
/// The ID of the target subscription.
/// The name of the resource group. The name is case insensitive.
/// Name of the Organizations resource
@@ -508,7 +508,7 @@ public partial class Informatica
}
}
- /// Update a InformaticaOrganizationResource
+ /// update a InformaticaOrganizationResource
/// The ID of the target subscription.
/// The name of the resource group. The name is case insensitive.
/// Name of the Organizations resource
@@ -554,7 +554,7 @@ public partial class Informatica
}
}
- /// Update a InformaticaOrganizationResource
+ /// update a InformaticaOrganizationResource
/// The ID of the target subscription.
/// The name of the resource group. The name is case insensitive.
/// Name of the Organizations resource
@@ -618,13 +618,13 @@ public partial class Informatica
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.Informatica.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Informatica.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Informatica.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");
@@ -772,13 +772,13 @@ public partial class Informatica
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.Informatica.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Informatica.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Informatica.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");
@@ -1041,13 +1041,13 @@ public partial class Informatica
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.Informatica.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Informatica.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Informatica.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");
@@ -2801,7 +2801,7 @@ public partial class Informatica
}
}
- /// Update a InformaticaOrganizationResource
+ /// update a InformaticaOrganizationResource
/// The ID of the target subscription.
/// The name of the resource group. The name is case insensitive.
/// Name of the Organizations resource
@@ -2850,7 +2850,7 @@ public partial class Informatica
}
}
- /// Update a InformaticaOrganizationResource
+ /// update a InformaticaOrganizationResource
///
/// The resource properties to be updated.
/// a delegate that is called when the remote service returns 200 (OK).
@@ -2909,7 +2909,7 @@ public partial class Informatica
}
}
- /// Update a InformaticaOrganizationResource
+ /// update a InformaticaOrganizationResource
///
/// The resource properties to be updated.
/// an instance that will receive events.
@@ -2966,7 +2966,7 @@ public partial class Informatica
}
}
- /// Update a InformaticaOrganizationResource
+ /// update a InformaticaOrganizationResource
/// The ID of the target subscription.
/// The name of the resource group. The name is case insensitive.
/// Name of the Organizations resource
@@ -3014,7 +3014,7 @@ public partial class Informatica
}
}
- /// Update a InformaticaOrganizationResource
+ /// update a InformaticaOrganizationResource
/// The ID of the target subscription.
/// The name of the resource group. The name is case insensitive.
/// Name of the Organizations resource
@@ -3060,7 +3060,7 @@ public partial class Informatica
}
}
- /// Update a InformaticaOrganizationResource
+ /// update a InformaticaOrganizationResource
/// The ID of the target subscription.
/// The name of the resource group. The name is case insensitive.
/// Name of the Organizations resource
@@ -3591,7 +3591,7 @@ public partial class Informatica
}
}
- /// Update a InformaticaServerlessRuntimeResource
+ /// update a InformaticaServerlessRuntimeResource
/// The ID of the target subscription.
/// The name of the resource group. The name is case insensitive.
/// Name of the Organizations resource
@@ -3643,7 +3643,7 @@ public partial class Informatica
}
}
- /// Update a InformaticaServerlessRuntimeResource
+ /// update a InformaticaServerlessRuntimeResource
///
/// Resource create parameters.
/// a delegate that is called when the remote service returns 200 (OK).
@@ -3705,7 +3705,7 @@ public partial class Informatica
}
}
- /// Update a InformaticaServerlessRuntimeResource
+ /// update a InformaticaServerlessRuntimeResource
///
/// Resource create parameters.
/// an instance that will receive events.
@@ -3765,7 +3765,7 @@ public partial class Informatica
}
}
- /// Update a InformaticaServerlessRuntimeResource
+ /// update a InformaticaServerlessRuntimeResource
/// The ID of the target subscription.
/// The name of the resource group. The name is case insensitive.
/// Name of the Organizations resource
@@ -3816,7 +3816,7 @@ public partial class Informatica
}
}
- /// Update a InformaticaServerlessRuntimeResource
+ /// update a InformaticaServerlessRuntimeResource
/// The ID of the target subscription.
/// The name of the resource group. The name is case insensitive.
/// Name of the Organizations resource
@@ -3865,7 +3865,7 @@ public partial class Informatica
}
}
- /// Update a InformaticaServerlessRuntimeResource
+ /// update a InformaticaServerlessRuntimeResource
/// The ID of the target subscription.
/// The name of the resource group. The name is case insensitive.
/// Name of the Organizations resource
@@ -3932,13 +3932,13 @@ public partial class Informatica
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.Informatica.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Informatica.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Informatica.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");
@@ -4086,13 +4086,13 @@ public partial class Informatica
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.Informatica.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Informatica.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Informatica.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");
@@ -4364,13 +4364,13 @@ public partial class Informatica
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.Informatica.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Informatica.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Informatica.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");
@@ -5731,7 +5731,7 @@ public partial class Informatica
}
}
- /// Update a InformaticaServerlessRuntimeResource
+ /// update a InformaticaServerlessRuntimeResource
/// The ID of the target subscription.
/// The name of the resource group. The name is case insensitive.
/// Name of the Organizations resource
@@ -5783,7 +5783,7 @@ public partial class Informatica
}
}
- /// Update a InformaticaServerlessRuntimeResource
+ /// update a InformaticaServerlessRuntimeResource
///
/// The resource properties to be updated.
/// a delegate that is called when the remote service returns 200 (OK).
@@ -5845,7 +5845,7 @@ public partial class Informatica
}
}
- /// Update a InformaticaServerlessRuntimeResource
+ /// update a InformaticaServerlessRuntimeResource
///
/// The resource properties to be updated.
/// an instance that will receive events.
@@ -5905,7 +5905,7 @@ public partial class Informatica
}
}
- /// Update a InformaticaServerlessRuntimeResource
+ /// update a InformaticaServerlessRuntimeResource
/// The ID of the target subscription.
/// The name of the resource group. The name is case insensitive.
/// Name of the Organizations resource
@@ -5956,7 +5956,7 @@ public partial class Informatica
}
}
- /// Update a InformaticaServerlessRuntimeResource
+ /// update a InformaticaServerlessRuntimeResource
/// The ID of the target subscription.
/// The name of the resource group. The name is case insensitive.
/// Name of the Organizations resource
@@ -6005,7 +6005,7 @@ public partial class Informatica
}
}
- /// Update a InformaticaServerlessRuntimeResource
+ /// update a InformaticaServerlessRuntimeResource
/// The ID of the target subscription.
/// The name of the resource group. The name is case insensitive.
/// Name of the Organizations resource
diff --git a/generated/Informatica/Informatica.Autorest/generated/api/Models/ErrorResponse.cs b/generated/Informatica/Informatica.Autorest/generated/api/Models/ErrorResponse.cs
index 9b4006b2be9e..0e6b0c361b7e 100644
--- a/generated/Informatica/Informatica.Autorest/generated/api/Models/ErrorResponse.cs
+++ b/generated/Informatica/Informatica.Autorest/generated/api/Models/ErrorResponse.cs
@@ -40,22 +40,22 @@ public partial class ErrorResponse :
public string Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IErrorDetailInternal)Error).Message; }
/// Internal Acessors for AdditionalInfo
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IErrorResponseInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IErrorDetailInternal)Error).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IErrorDetailInternal)Error).AdditionalInfo = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IErrorResponseInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IErrorDetailInternal)Error).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IErrorDetailInternal)Error).AdditionalInfo = value ?? null /* arrayOf */; }
/// Internal Acessors for Code
- string Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IErrorResponseInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IErrorDetailInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IErrorDetailInternal)Error).Code = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IErrorResponseInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IErrorDetailInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IErrorDetailInternal)Error).Code = value ?? null; }
/// Internal Acessors for Detail
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IErrorResponseInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IErrorDetailInternal)Error).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IErrorDetailInternal)Error).Detail = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IErrorResponseInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IErrorDetailInternal)Error).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IErrorDetailInternal)Error).Detail = value ?? null /* arrayOf */; }
/// Internal Acessors for Error
Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IErrorDetail Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IErrorResponseInternal.Error { get => (this._error = this._error ?? new Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.ErrorDetail()); set { {_error = value;} } }
/// Internal Acessors for Message
- string Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IErrorResponseInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IErrorDetailInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IErrorDetailInternal)Error).Message = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IErrorResponseInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IErrorDetailInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IErrorDetailInternal)Error).Message = value ?? null; }
/// Internal Acessors for Target
- string Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IErrorResponseInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IErrorDetailInternal)Error).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IErrorDetailInternal)Error).Target = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IErrorResponseInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IErrorDetailInternal)Error).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IErrorDetailInternal)Error).Target = value ?? null; }
/// The error target.
[Microsoft.Azure.PowerShell.Cmdlets.Informatica.Origin(Microsoft.Azure.PowerShell.Cmdlets.Informatica.PropertyOrigin.Inlined)]
diff --git a/generated/Informatica/Informatica.Autorest/generated/api/Models/InformaticaOrganizationResource.cs b/generated/Informatica/Informatica.Autorest/generated/api/Models/InformaticaOrganizationResource.cs
index 4cb2846baaa7..9a35979a2467 100644
--- a/generated/Informatica/Informatica.Autorest/generated/api/Models/InformaticaOrganizationResource.cs
+++ b/generated/Informatica/Informatica.Autorest/generated/api/Models/InformaticaOrganizationResource.cs
@@ -71,47 +71,65 @@ public partial class InformaticaOrganizationResource :
/// The geo-location where the resource lives
[Microsoft.Azure.PowerShell.Cmdlets.Informatica.Origin(Microsoft.Azure.PowerShell.Cmdlets.Informatica.PropertyOrigin.Inherited)]
- public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.ITrackedResourceInternal)__trackedResource).Location = value ; }
+ public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.ITrackedResourceInternal)__trackedResource).Location = value ?? null; }
/// Marketplace Subscription Id
[Microsoft.Azure.PowerShell.Cmdlets.Informatica.Origin(Microsoft.Azure.PowerShell.Cmdlets.Informatica.PropertyOrigin.Inlined)]
public string MarketplaceDetailMarketplaceSubscriptionId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IOrganizationPropertiesInternal)Property).MarketplaceDetailMarketplaceSubscriptionId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IOrganizationPropertiesInternal)Property).MarketplaceDetailMarketplaceSubscriptionId = value ?? null; }
/// Internal Acessors for CompanyDetail
- Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.ICompanyDetails Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IInformaticaOrganizationResourceInternal.CompanyDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IOrganizationPropertiesInternal)Property).CompanyDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IOrganizationPropertiesInternal)Property).CompanyDetail = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.ICompanyDetails Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IInformaticaOrganizationResourceInternal.CompanyDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IOrganizationPropertiesInternal)Property).CompanyDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IOrganizationPropertiesInternal)Property).CompanyDetail = value ?? null /* model class */; }
/// Internal Acessors for InformaticaProperty
- Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IInformaticaProperties Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IInformaticaOrganizationResourceInternal.InformaticaProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IOrganizationPropertiesInternal)Property).InformaticaProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IOrganizationPropertiesInternal)Property).InformaticaProperty = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IInformaticaProperties Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IInformaticaOrganizationResourceInternal.InformaticaProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IOrganizationPropertiesInternal)Property).InformaticaProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IOrganizationPropertiesInternal)Property).InformaticaProperty = value ?? null /* model class */; }
/// Internal Acessors for LinkOrganization
- Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.ILinkOrganization Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IInformaticaOrganizationResourceInternal.LinkOrganization { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IOrganizationPropertiesInternal)Property).LinkOrganization; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IOrganizationPropertiesInternal)Property).LinkOrganization = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.ILinkOrganization Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IInformaticaOrganizationResourceInternal.LinkOrganization { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IOrganizationPropertiesInternal)Property).LinkOrganization; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IOrganizationPropertiesInternal)Property).LinkOrganization = value ?? null /* model class */; }
/// Internal Acessors for MarketplaceDetail
- Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IMarketplaceDetails Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IInformaticaOrganizationResourceInternal.MarketplaceDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IOrganizationPropertiesInternal)Property).MarketplaceDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IOrganizationPropertiesInternal)Property).MarketplaceDetail = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IMarketplaceDetails Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IInformaticaOrganizationResourceInternal.MarketplaceDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IOrganizationPropertiesInternal)Property).MarketplaceDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IOrganizationPropertiesInternal)Property).MarketplaceDetail = value ?? null /* model class */; }
/// Internal Acessors for MarketplaceDetailOfferDetail
- Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IOfferDetails Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IInformaticaOrganizationResourceInternal.MarketplaceDetailOfferDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IOrganizationPropertiesInternal)Property).MarketplaceDetailOfferDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IOrganizationPropertiesInternal)Property).MarketplaceDetailOfferDetail = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IOfferDetails Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IInformaticaOrganizationResourceInternal.MarketplaceDetailOfferDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IOrganizationPropertiesInternal)Property).MarketplaceDetailOfferDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IOrganizationPropertiesInternal)Property).MarketplaceDetailOfferDetail = value ?? null /* model class */; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IOrganizationProperties Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IInformaticaOrganizationResourceInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.OrganizationProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IInformaticaOrganizationResourceInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IOrganizationPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IOrganizationPropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IInformaticaOrganizationResourceInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IOrganizationPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IOrganizationPropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for UserDetail
- Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IUserDetails Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IInformaticaOrganizationResourceInternal.UserDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IOrganizationPropertiesInternal)Property).UserDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IOrganizationPropertiesInternal)Property).UserDetail = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IUserDetails Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IInformaticaOrganizationResourceInternal.UserDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IOrganizationPropertiesInternal)Property).UserDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IOrganizationPropertiesInternal)Property).UserDetail = value ?? null /* model class */; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__trackedResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__trackedResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__trackedResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__trackedResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__trackedResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__trackedResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__trackedResource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.Informatica.Origin(Microsoft.Azure.PowerShell.Cmdlets.Informatica.PropertyOrigin.Inherited)]
@@ -160,31 +178,31 @@ public partial class InformaticaOrganizationResource :
/// Azure Resource Manager metadata containing createdBy and modifiedBy information.
///
[Microsoft.Azure.PowerShell.Cmdlets.Informatica.Origin(Microsoft.Azure.PowerShell.Cmdlets.Informatica.PropertyOrigin.Inherited)]
- internal Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__trackedResource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.Informatica.Origin(Microsoft.Azure.PowerShell.Cmdlets.Informatica.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Informatica.Origin(Microsoft.Azure.PowerShell.Cmdlets.Informatica.PropertyOrigin.Inherited)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Informatica.Origin(Microsoft.Azure.PowerShell.Cmdlets.Informatica.PropertyOrigin.Inherited)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.Informatica.Origin(Microsoft.Azure.PowerShell.Cmdlets.Informatica.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Informatica.Origin(Microsoft.Azure.PowerShell.Cmdlets.Informatica.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Informatica.Origin(Microsoft.Azure.PowerShell.Cmdlets.Informatica.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; }
/// Resource tags.
[Microsoft.Azure.PowerShell.Cmdlets.Informatica.Origin(Microsoft.Azure.PowerShell.Cmdlets.Informatica.PropertyOrigin.Inherited)]
diff --git a/generated/Informatica/Informatica.Autorest/generated/api/Models/InformaticaServerlessRuntimeProperties.cs b/generated/Informatica/Informatica.Autorest/generated/api/Models/InformaticaServerlessRuntimeProperties.cs
index ef0dfbb541c1..b85ef698464d 100644
--- a/generated/Informatica/Informatica.Autorest/generated/api/Models/InformaticaServerlessRuntimeProperties.cs
+++ b/generated/Informatica/Informatica.Autorest/generated/api/Models/InformaticaServerlessRuntimeProperties.cs
@@ -60,7 +60,7 @@ public partial class InformaticaServerlessRuntimeProperties :
///
/// Internal Acessors for ServerlessRuntimeNetworkProfileNetworkInterfaceConfiguration
///
- Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.INetworkInterfaceConfiguration Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IInformaticaServerlessRuntimePropertiesInternal.ServerlessRuntimeNetworkProfileNetworkInterfaceConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IServerlessRuntimeNetworkProfileInternal)ServerlessRuntimeNetworkProfile).NetworkInterfaceConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IServerlessRuntimeNetworkProfileInternal)ServerlessRuntimeNetworkProfile).NetworkInterfaceConfiguration = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.INetworkInterfaceConfiguration Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IInformaticaServerlessRuntimePropertiesInternal.ServerlessRuntimeNetworkProfileNetworkInterfaceConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IServerlessRuntimeNetworkProfileInternal)ServerlessRuntimeNetworkProfile).NetworkInterfaceConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IServerlessRuntimeNetworkProfileInternal)ServerlessRuntimeNetworkProfile).NetworkInterfaceConfiguration = value ?? null /* model class */; }
/// Internal Acessors for ServerlessRuntimeUserContextProperty
Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IServerlessRuntimeUserContextProperties Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IInformaticaServerlessRuntimePropertiesInternal.ServerlessRuntimeUserContextProperty { get => (this._serverlessRuntimeUserContextProperty = this._serverlessRuntimeUserContextProperty ?? new Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.ServerlessRuntimeUserContextProperties()); set { {_serverlessRuntimeUserContextProperty = value;} } }
diff --git a/generated/Informatica/Informatica.Autorest/generated/api/Models/InformaticaServerlessRuntimeResource.cs b/generated/Informatica/Informatica.Autorest/generated/api/Models/InformaticaServerlessRuntimeResource.cs
index 826bd2441faa..9c0d3cde9864 100644
--- a/generated/Informatica/Informatica.Autorest/generated/api/Models/InformaticaServerlessRuntimeResource.cs
+++ b/generated/Informatica/Informatica.Autorest/generated/api/Models/InformaticaServerlessRuntimeResource.cs
@@ -48,33 +48,51 @@ public partial class InformaticaServerlessRuntimeResource :
Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IInformaticaServerlessRuntimeProperties Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IInformaticaServerlessRuntimeResourceInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.InformaticaServerlessRuntimeProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IInformaticaServerlessRuntimeResourceInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IInformaticaServerlessRuntimePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IInformaticaServerlessRuntimePropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IInformaticaServerlessRuntimeResourceInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IInformaticaServerlessRuntimePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IInformaticaServerlessRuntimePropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for ServerlessRuntimeConfig
- Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IServerlessRuntimeConfigProperties Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IInformaticaServerlessRuntimeResourceInternal.ServerlessRuntimeConfig { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IInformaticaServerlessRuntimePropertiesInternal)Property).ServerlessRuntimeConfig; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IInformaticaServerlessRuntimePropertiesInternal)Property).ServerlessRuntimeConfig = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IServerlessRuntimeConfigProperties Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IInformaticaServerlessRuntimeResourceInternal.ServerlessRuntimeConfig { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IInformaticaServerlessRuntimePropertiesInternal)Property).ServerlessRuntimeConfig; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IInformaticaServerlessRuntimePropertiesInternal)Property).ServerlessRuntimeConfig = value ?? null /* model class */; }
/// Internal Acessors for ServerlessRuntimeNetworkProfile
- Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IServerlessRuntimeNetworkProfile Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IInformaticaServerlessRuntimeResourceInternal.ServerlessRuntimeNetworkProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IInformaticaServerlessRuntimePropertiesInternal)Property).ServerlessRuntimeNetworkProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IInformaticaServerlessRuntimePropertiesInternal)Property).ServerlessRuntimeNetworkProfile = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IServerlessRuntimeNetworkProfile Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IInformaticaServerlessRuntimeResourceInternal.ServerlessRuntimeNetworkProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IInformaticaServerlessRuntimePropertiesInternal)Property).ServerlessRuntimeNetworkProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IInformaticaServerlessRuntimePropertiesInternal)Property).ServerlessRuntimeNetworkProfile = value ?? null /* model class */; }
///
/// Internal Acessors for ServerlessRuntimeNetworkProfileNetworkInterfaceConfiguration
///
- Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.INetworkInterfaceConfiguration Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IInformaticaServerlessRuntimeResourceInternal.ServerlessRuntimeNetworkProfileNetworkInterfaceConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IInformaticaServerlessRuntimePropertiesInternal)Property).ServerlessRuntimeNetworkProfileNetworkInterfaceConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IInformaticaServerlessRuntimePropertiesInternal)Property).ServerlessRuntimeNetworkProfileNetworkInterfaceConfiguration = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.INetworkInterfaceConfiguration Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IInformaticaServerlessRuntimeResourceInternal.ServerlessRuntimeNetworkProfileNetworkInterfaceConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IInformaticaServerlessRuntimePropertiesInternal)Property).ServerlessRuntimeNetworkProfileNetworkInterfaceConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IInformaticaServerlessRuntimePropertiesInternal)Property).ServerlessRuntimeNetworkProfileNetworkInterfaceConfiguration = value ?? null /* model class */; }
/// Internal Acessors for ServerlessRuntimeUserContextProperty
- Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IServerlessRuntimeUserContextProperties Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IInformaticaServerlessRuntimeResourceInternal.ServerlessRuntimeUserContextProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IInformaticaServerlessRuntimePropertiesInternal)Property).ServerlessRuntimeUserContextProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IInformaticaServerlessRuntimePropertiesInternal)Property).ServerlessRuntimeUserContextProperty = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IServerlessRuntimeUserContextProperties Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IInformaticaServerlessRuntimeResourceInternal.ServerlessRuntimeUserContextProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IInformaticaServerlessRuntimePropertiesInternal)Property).ServerlessRuntimeUserContextProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IInformaticaServerlessRuntimePropertiesInternal)Property).ServerlessRuntimeUserContextProperty = value ?? null /* model class */; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__proxyResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__proxyResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__proxyResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__proxyResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__proxyResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__proxyResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__proxyResource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.Informatica.Origin(Microsoft.Azure.PowerShell.Cmdlets.Informatica.PropertyOrigin.Inherited)]
@@ -139,31 +157,31 @@ public partial class InformaticaServerlessRuntimeResource :
/// Azure Resource Manager metadata containing createdBy and modifiedBy information.
///
[Microsoft.Azure.PowerShell.Cmdlets.Informatica.Origin(Microsoft.Azure.PowerShell.Cmdlets.Informatica.PropertyOrigin.Inherited)]
- internal Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__proxyResource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.Informatica.Origin(Microsoft.Azure.PowerShell.Cmdlets.Informatica.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Informatica.Origin(Microsoft.Azure.PowerShell.Cmdlets.Informatica.PropertyOrigin.Inherited)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Informatica.Origin(Microsoft.Azure.PowerShell.Cmdlets.Informatica.PropertyOrigin.Inherited)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.Informatica.Origin(Microsoft.Azure.PowerShell.Cmdlets.Informatica.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Informatica.Origin(Microsoft.Azure.PowerShell.Cmdlets.Informatica.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Informatica.Origin(Microsoft.Azure.PowerShell.Cmdlets.Informatica.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; }
///
/// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
diff --git a/generated/Informatica/Informatica.Autorest/generated/api/Models/InformaticaServerlessRuntimeResourceUpdate.cs b/generated/Informatica/Informatica.Autorest/generated/api/Models/InformaticaServerlessRuntimeResourceUpdate.cs
index 9ae51fd04f7c..9f1430ad74f4 100644
--- a/generated/Informatica/Informatica.Autorest/generated/api/Models/InformaticaServerlessRuntimeResourceUpdate.cs
+++ b/generated/Informatica/Informatica.Autorest/generated/api/Models/InformaticaServerlessRuntimeResourceUpdate.cs
@@ -37,18 +37,18 @@ public partial class InformaticaServerlessRuntimeResourceUpdate :
Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IServerlessRuntimePropertiesCustomUpdate Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IInformaticaServerlessRuntimeResourceUpdateInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.ServerlessRuntimePropertiesCustomUpdate()); set { {_property = value;} } }
/// Internal Acessors for ServerlessRuntimeConfig
- Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IServerlessRuntimeConfigPropertiesUpdate Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IInformaticaServerlessRuntimeResourceUpdateInternal.ServerlessRuntimeConfig { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IServerlessRuntimePropertiesCustomUpdateInternal)Property).ServerlessRuntimeConfig; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IServerlessRuntimePropertiesCustomUpdateInternal)Property).ServerlessRuntimeConfig = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IServerlessRuntimeConfigPropertiesUpdate Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IInformaticaServerlessRuntimeResourceUpdateInternal.ServerlessRuntimeConfig { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IServerlessRuntimePropertiesCustomUpdateInternal)Property).ServerlessRuntimeConfig; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IServerlessRuntimePropertiesCustomUpdateInternal)Property).ServerlessRuntimeConfig = value ?? null /* model class */; }
/// Internal Acessors for ServerlessRuntimeNetworkProfile
- Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IServerlessRuntimeNetworkProfileUpdate Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IInformaticaServerlessRuntimeResourceUpdateInternal.ServerlessRuntimeNetworkProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IServerlessRuntimePropertiesCustomUpdateInternal)Property).ServerlessRuntimeNetworkProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IServerlessRuntimePropertiesCustomUpdateInternal)Property).ServerlessRuntimeNetworkProfile = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IServerlessRuntimeNetworkProfileUpdate Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IInformaticaServerlessRuntimeResourceUpdateInternal.ServerlessRuntimeNetworkProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IServerlessRuntimePropertiesCustomUpdateInternal)Property).ServerlessRuntimeNetworkProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IServerlessRuntimePropertiesCustomUpdateInternal)Property).ServerlessRuntimeNetworkProfile = value ?? null /* model class */; }
///
/// Internal Acessors for ServerlessRuntimeNetworkProfileNetworkInterfaceConfiguration
///
- Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.INetworkInterfaceConfigurationUpdate Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IInformaticaServerlessRuntimeResourceUpdateInternal.ServerlessRuntimeNetworkProfileNetworkInterfaceConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IServerlessRuntimePropertiesCustomUpdateInternal)Property).ServerlessRuntimeNetworkProfileNetworkInterfaceConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IServerlessRuntimePropertiesCustomUpdateInternal)Property).ServerlessRuntimeNetworkProfileNetworkInterfaceConfiguration = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.INetworkInterfaceConfigurationUpdate Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IInformaticaServerlessRuntimeResourceUpdateInternal.ServerlessRuntimeNetworkProfileNetworkInterfaceConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IServerlessRuntimePropertiesCustomUpdateInternal)Property).ServerlessRuntimeNetworkProfileNetworkInterfaceConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IServerlessRuntimePropertiesCustomUpdateInternal)Property).ServerlessRuntimeNetworkProfileNetworkInterfaceConfiguration = value ?? null /* model class */; }
/// Internal Acessors for ServerlessRuntimeUserContextProperty
- Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IServerlessRuntimeUserContextPropertiesUpdate Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IInformaticaServerlessRuntimeResourceUpdateInternal.ServerlessRuntimeUserContextProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IServerlessRuntimePropertiesCustomUpdateInternal)Property).ServerlessRuntimeUserContextProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IServerlessRuntimePropertiesCustomUpdateInternal)Property).ServerlessRuntimeUserContextProperty = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IServerlessRuntimeUserContextPropertiesUpdate Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IInformaticaServerlessRuntimeResourceUpdateInternal.ServerlessRuntimeUserContextProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IServerlessRuntimePropertiesCustomUpdateInternal)Property).ServerlessRuntimeUserContextProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IServerlessRuntimePropertiesCustomUpdateInternal)Property).ServerlessRuntimeUserContextProperty = value ?? null /* model class */; }
/// Virtual network subnet resource id
[Microsoft.Azure.PowerShell.Cmdlets.Informatica.Origin(Microsoft.Azure.PowerShell.Cmdlets.Informatica.PropertyOrigin.Inlined)]
diff --git a/generated/Informatica/Informatica.Autorest/generated/api/Models/Operation.cs b/generated/Informatica/Informatica.Autorest/generated/api/Models/Operation.cs
index 8812aec6f4c7..15730ea9828c 100644
--- a/generated/Informatica/Informatica.Autorest/generated/api/Models/Operation.cs
+++ b/generated/Informatica/Informatica.Autorest/generated/api/Models/Operation.cs
@@ -73,16 +73,16 @@ public partial class Operation :
Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IOperationDisplay Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IOperationInternal.Display { get => (this._display = this._display ?? new Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.OperationDisplay()); set { {_display = value;} } }
/// Internal Acessors for DisplayDescription
- string Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IOperationInternal.DisplayDescription { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IOperationDisplayInternal)Display).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IOperationDisplayInternal)Display).Description = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IOperationInternal.DisplayDescription { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IOperationDisplayInternal)Display).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IOperationDisplayInternal)Display).Description = value ?? null; }
/// Internal Acessors for DisplayOperation
- string Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IOperationInternal.DisplayOperation { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IOperationDisplayInternal)Display).Operation; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IOperationDisplayInternal)Display).Operation = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IOperationInternal.DisplayOperation { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IOperationDisplayInternal)Display).Operation; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IOperationDisplayInternal)Display).Operation = value ?? null; }
/// Internal Acessors for DisplayProvider
- string Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IOperationInternal.DisplayProvider { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IOperationDisplayInternal)Display).Provider; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IOperationDisplayInternal)Display).Provider = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IOperationInternal.DisplayProvider { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IOperationDisplayInternal)Display).Provider; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IOperationDisplayInternal)Display).Provider = value ?? null; }
/// Internal Acessors for DisplayResource
- string Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IOperationInternal.DisplayResource { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IOperationDisplayInternal)Display).Resource; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IOperationDisplayInternal)Display).Resource = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IOperationInternal.DisplayResource { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IOperationDisplayInternal)Display).Resource; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IOperationDisplayInternal)Display).Resource = value ?? null; }
/// Internal Acessors for IsDataAction
bool? Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IOperationInternal.IsDataAction { get => this._isDataAction; set { {_isDataAction = value;} } }
diff --git a/generated/Informatica/Informatica.Autorest/generated/api/Models/OrganizationProperties.cs b/generated/Informatica/Informatica.Autorest/generated/api/Models/OrganizationProperties.cs
index d969dc9b93a0..e375055e0365 100644
--- a/generated/Informatica/Informatica.Autorest/generated/api/Models/OrganizationProperties.cs
+++ b/generated/Informatica/Informatica.Autorest/generated/api/Models/OrganizationProperties.cs
@@ -102,7 +102,7 @@ public partial class OrganizationProperties :
Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IMarketplaceDetails Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IOrganizationPropertiesInternal.MarketplaceDetail { get => (this._marketplaceDetail = this._marketplaceDetail ?? new Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.MarketplaceDetails()); set { {_marketplaceDetail = value;} } }
/// Internal Acessors for MarketplaceDetailOfferDetail
- Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IOfferDetails Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IOrganizationPropertiesInternal.MarketplaceDetailOfferDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IMarketplaceDetailsInternal)MarketplaceDetail).OfferDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IMarketplaceDetailsInternal)MarketplaceDetail).OfferDetail = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IOfferDetails Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IOrganizationPropertiesInternal.MarketplaceDetailOfferDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IMarketplaceDetailsInternal)MarketplaceDetail).OfferDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IMarketplaceDetailsInternal)MarketplaceDetail).OfferDetail = value ?? null /* model class */; }
/// Internal Acessors for ProvisioningState
string Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IOrganizationPropertiesInternal.ProvisioningState { get => this._provisioningState; set { {_provisioningState = value;} } }
diff --git a/generated/Informatica/Informatica.Autorest/generated/api/Models/OrganizationPropertiesCustomUpdate.cs b/generated/Informatica/Informatica.Autorest/generated/api/Models/OrganizationPropertiesCustomUpdate.cs
index f0824785c143..88a9cbdf50da 100644
--- a/generated/Informatica/Informatica.Autorest/generated/api/Models/OrganizationPropertiesCustomUpdate.cs
+++ b/generated/Informatica/Informatica.Autorest/generated/api/Models/OrganizationPropertiesCustomUpdate.cs
@@ -76,7 +76,7 @@ public partial class OrganizationPropertiesCustomUpdate :
Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IMarketplaceDetailsUpdate Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IOrganizationPropertiesCustomUpdateInternal.MarketplaceDetail { get => (this._marketplaceDetail = this._marketplaceDetail ?? new Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.MarketplaceDetailsUpdate()); set { {_marketplaceDetail = value;} } }
/// Internal Acessors for MarketplaceDetailOfferDetail
- Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IOfferDetailsUpdate Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IOrganizationPropertiesCustomUpdateInternal.MarketplaceDetailOfferDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IMarketplaceDetailsUpdateInternal)MarketplaceDetail).OfferDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IMarketplaceDetailsUpdateInternal)MarketplaceDetail).OfferDetail = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IOfferDetailsUpdate Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IOrganizationPropertiesCustomUpdateInternal.MarketplaceDetailOfferDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IMarketplaceDetailsUpdateInternal)MarketplaceDetail).OfferDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IMarketplaceDetailsUpdateInternal)MarketplaceDetail).OfferDetail = value ?? null /* model class */; }
/// Internal Acessors for UserDetail
Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IUserDetailsUpdate Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IOrganizationPropertiesCustomUpdateInternal.UserDetail { get => (this._userDetail = this._userDetail ?? new Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.UserDetailsUpdate()); set { {_userDetail = value;} } }
diff --git a/generated/Informatica/Informatica.Autorest/generated/api/Models/ProxyResource.cs b/generated/Informatica/Informatica.Autorest/generated/api/Models/ProxyResource.cs
index 37d44443ea89..b98819605929 100644
--- a/generated/Informatica/Informatica.Autorest/generated/api/Models/ProxyResource.cs
+++ b/generated/Informatica/Informatica.Autorest/generated/api/Models/ProxyResource.cs
@@ -27,16 +27,34 @@ public partial class ProxyResource :
public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__resource).Id; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__resource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__resource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__resource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__resource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__resource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__resource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__resource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__resource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__resource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__resource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__resource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__resource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__resource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__resource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__resource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__resource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__resource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.Informatica.Origin(Microsoft.Azure.PowerShell.Cmdlets.Informatica.PropertyOrigin.Inherited)]
@@ -46,31 +64,31 @@ public partial class ProxyResource :
/// Azure Resource Manager metadata containing createdBy and modifiedBy information.
///
[Microsoft.Azure.PowerShell.Cmdlets.Informatica.Origin(Microsoft.Azure.PowerShell.Cmdlets.Informatica.PropertyOrigin.Inherited)]
- internal Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__resource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__resource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.Informatica.Origin(Microsoft.Azure.PowerShell.Cmdlets.Informatica.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__resource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__resource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__resource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Informatica.Origin(Microsoft.Azure.PowerShell.Cmdlets.Informatica.PropertyOrigin.Inherited)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__resource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__resource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__resource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Informatica.Origin(Microsoft.Azure.PowerShell.Cmdlets.Informatica.PropertyOrigin.Inherited)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__resource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__resource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__resource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.Informatica.Origin(Microsoft.Azure.PowerShell.Cmdlets.Informatica.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__resource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Informatica.Origin(Microsoft.Azure.PowerShell.Cmdlets.Informatica.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__resource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Informatica.Origin(Microsoft.Azure.PowerShell.Cmdlets.Informatica.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__resource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; }
///
/// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
diff --git a/generated/Informatica/Informatica.Autorest/generated/api/Models/Resource.cs b/generated/Informatica/Informatica.Autorest/generated/api/Models/Resource.cs
index f65e37f5dba5..0caadedc1874 100644
--- a/generated/Informatica/Informatica.Autorest/generated/api/Models/Resource.cs
+++ b/generated/Informatica/Informatica.Autorest/generated/api/Models/Resource.cs
@@ -33,6 +33,24 @@ public partial class Resource :
/// Internal Acessors for SystemData
Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal.SystemData { get => (this._systemData = this._systemData ?? new Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.SystemData()); set { {_systemData = value;} } }
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.ISystemDataInternal)SystemData).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.ISystemDataInternal)SystemData).CreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.ISystemDataInternal)SystemData).CreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.ISystemDataInternal)SystemData).CreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.ISystemDataInternal)SystemData).CreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.ISystemDataInternal)SystemData).CreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.ISystemDataInternal)SystemData).LastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.ISystemDataInternal)SystemData).LastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.ISystemDataInternal)SystemData).LastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.ISystemDataInternal)SystemData).LastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.ISystemDataInternal)SystemData).LastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.ISystemDataInternal)SystemData).LastModifiedByType = value ?? null; }
+
/// Internal Acessors for Type
string Microsoft.Azure.PowerShell.Cmdlets.Informatica.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.Informatica.Origin(Microsoft.Azure.PowerShell.Cmdlets.Informatica.PropertyOrigin.Inlined)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.ISystemDataInternal)SystemData).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.ISystemDataInternal)SystemData).CreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.ISystemDataInternal)SystemData).CreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Informatica.Origin(Microsoft.Azure.PowerShell.Cmdlets.Informatica.PropertyOrigin.Inlined)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.ISystemDataInternal)SystemData).CreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.ISystemDataInternal)SystemData).CreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.ISystemDataInternal)SystemData).CreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Informatica.Origin(Microsoft.Azure.PowerShell.Cmdlets.Informatica.PropertyOrigin.Inlined)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.ISystemDataInternal)SystemData).CreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.ISystemDataInternal)SystemData).CreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.ISystemDataInternal)SystemData).CreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.Informatica.Origin(Microsoft.Azure.PowerShell.Cmdlets.Informatica.PropertyOrigin.Inlined)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.ISystemDataInternal)SystemData).LastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.ISystemDataInternal)SystemData).LastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.ISystemDataInternal)SystemData).LastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Informatica.Origin(Microsoft.Azure.PowerShell.Cmdlets.Informatica.PropertyOrigin.Inlined)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.ISystemDataInternal)SystemData).LastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.ISystemDataInternal)SystemData).LastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.ISystemDataInternal)SystemData).LastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Informatica.Origin(Microsoft.Azure.PowerShell.Cmdlets.Informatica.PropertyOrigin.Inlined)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.ISystemDataInternal)SystemData).LastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.ISystemDataInternal)SystemData).LastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.ISystemDataInternal)SystemData).LastModifiedByType; }
/// Backing field for property.
private string _type;
diff --git a/generated/Informatica/Informatica.Autorest/generated/api/Models/ServerlessRuntimePropertiesCustomUpdate.cs b/generated/Informatica/Informatica.Autorest/generated/api/Models/ServerlessRuntimePropertiesCustomUpdate.cs
index dc1d659bc07a..9ec47c86f80e 100644
--- a/generated/Informatica/Informatica.Autorest/generated/api/Models/ServerlessRuntimePropertiesCustomUpdate.cs
+++ b/generated/Informatica/Informatica.Autorest/generated/api/Models/ServerlessRuntimePropertiesCustomUpdate.cs
@@ -57,7 +57,7 @@ public partial class ServerlessRuntimePropertiesCustomUpdate :
///
/// Internal Acessors for ServerlessRuntimeNetworkProfileNetworkInterfaceConfiguration
///
- Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.INetworkInterfaceConfigurationUpdate Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IServerlessRuntimePropertiesCustomUpdateInternal.ServerlessRuntimeNetworkProfileNetworkInterfaceConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IServerlessRuntimeNetworkProfileUpdateInternal)ServerlessRuntimeNetworkProfile).NetworkInterfaceConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IServerlessRuntimeNetworkProfileUpdateInternal)ServerlessRuntimeNetworkProfile).NetworkInterfaceConfiguration = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.INetworkInterfaceConfigurationUpdate Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IServerlessRuntimePropertiesCustomUpdateInternal.ServerlessRuntimeNetworkProfileNetworkInterfaceConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IServerlessRuntimeNetworkProfileUpdateInternal)ServerlessRuntimeNetworkProfile).NetworkInterfaceConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IServerlessRuntimeNetworkProfileUpdateInternal)ServerlessRuntimeNetworkProfile).NetworkInterfaceConfiguration = value ?? null /* model class */; }
/// Internal Acessors for ServerlessRuntimeUserContextProperty
Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IServerlessRuntimeUserContextPropertiesUpdate Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IServerlessRuntimePropertiesCustomUpdateInternal.ServerlessRuntimeUserContextProperty { get => (this._serverlessRuntimeUserContextProperty = this._serverlessRuntimeUserContextProperty ?? new Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.ServerlessRuntimeUserContextPropertiesUpdate()); set { {_serverlessRuntimeUserContextProperty = value;} } }
diff --git a/generated/Informatica/Informatica.Autorest/generated/api/Models/TrackedResource.cs b/generated/Informatica/Informatica.Autorest/generated/api/Models/TrackedResource.cs
index 259cd06a6ff1..26bbb6490791 100644
--- a/generated/Informatica/Informatica.Autorest/generated/api/Models/TrackedResource.cs
+++ b/generated/Informatica/Informatica.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.Informatica.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__resource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__resource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__resource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__resource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__resource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__resource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__resource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__resource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__resource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__resource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__resource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__resource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__resource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__resource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__resource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__resource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__resource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.Informatica.Origin(Microsoft.Azure.PowerShell.Cmdlets.Informatica.PropertyOrigin.Inherited)]
@@ -53,31 +71,31 @@ public partial class TrackedResource :
/// Azure Resource Manager metadata containing createdBy and modifiedBy information.
///
[Microsoft.Azure.PowerShell.Cmdlets.Informatica.Origin(Microsoft.Azure.PowerShell.Cmdlets.Informatica.PropertyOrigin.Inherited)]
- internal Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__resource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__resource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.Informatica.Origin(Microsoft.Azure.PowerShell.Cmdlets.Informatica.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__resource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__resource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__resource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Informatica.Origin(Microsoft.Azure.PowerShell.Cmdlets.Informatica.PropertyOrigin.Inherited)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__resource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__resource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__resource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Informatica.Origin(Microsoft.Azure.PowerShell.Cmdlets.Informatica.PropertyOrigin.Inherited)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__resource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__resource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__resource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.Informatica.Origin(Microsoft.Azure.PowerShell.Cmdlets.Informatica.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__resource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Informatica.Origin(Microsoft.Azure.PowerShell.Cmdlets.Informatica.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__resource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Informatica.Origin(Microsoft.Azure.PowerShell.Cmdlets.Informatica.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__resource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; }
/// Backing field for property.
private Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.ITrackedResourceTags _tag;
@@ -117,7 +135,7 @@ public partial interface ITrackedResource :
{
/// The geo-location where the resource lives
[Microsoft.Azure.PowerShell.Cmdlets.Informatica.Runtime.Info(
- Required = true,
+ Required = false,
ReadOnly = false,
Read = true,
Create = true,
diff --git a/generated/Informatica/Informatica.Autorest/generated/cmdlets/NewAzInformaticaOrganization_CreateExpanded.cs b/generated/Informatica/Informatica.Autorest/generated/cmdlets/NewAzInformaticaOrganization_CreateExpanded.cs
index 307c2099eb2a..caf5b584b322 100644
--- a/generated/Informatica/Informatica.Autorest/generated/cmdlets/NewAzInformaticaOrganization_CreateExpanded.cs
+++ b/generated/Informatica/Informatica.Autorest/generated/cmdlets/NewAzInformaticaOrganization_CreateExpanded.cs
@@ -10,13 +10,13 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Informatica.Cmdlets
using Microsoft.Azure.PowerShell.Cmdlets.Informatica.Runtime.Cmdlets;
using System;
- /// Create a InformaticaOrganizationResource
+ /// create a InformaticaOrganizationResource
///
/// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Informatica.DataManagement/organizations/{organizationName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzInformaticaOrganization_CreateExpanded", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IInformaticaOrganizationResource))]
- [global::Microsoft.Azure.PowerShell.Cmdlets.Informatica.Description(@"Create a InformaticaOrganizationResource")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Informatica.Description(@"create a InformaticaOrganizationResource")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Informatica.Generated]
[global::Microsoft.Azure.PowerShell.Cmdlets.Informatica.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Informatica.DataManagement/organizations/{organizationName}", ApiVersion = "2024-05-08")]
public partial class NewAzInformaticaOrganization_CreateExpanded : global::System.Management.Automation.PSCmdlet,
@@ -40,18 +40,9 @@ public partial class NewAzInformaticaOrganization_CreateExpanded : 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;
-
/// An Organization Resource by Informatica.
private Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IInformaticaOrganizationResource _resourceBody = new Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.InformaticaOrganizationResource();
- ///
- /// 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.Informatica.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Informatica.ParameterCategory.Runtime)]
@@ -526,11 +517,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.Informatica.Cmdlets.NewAzInformaticaOr
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.Informatica.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -846,24 +832,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IInformaticaOrganizationResource
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/Informatica/Informatica.Autorest/generated/cmdlets/NewAzInformaticaOrganization_CreateViaJsonFilePath.cs b/generated/Informatica/Informatica.Autorest/generated/cmdlets/NewAzInformaticaOrganization_CreateViaJsonFilePath.cs
index b094224c937c..dacfb12e23cb 100644
--- a/generated/Informatica/Informatica.Autorest/generated/cmdlets/NewAzInformaticaOrganization_CreateViaJsonFilePath.cs
+++ b/generated/Informatica/Informatica.Autorest/generated/cmdlets/NewAzInformaticaOrganization_CreateViaJsonFilePath.cs
@@ -10,13 +10,13 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Informatica.Cmdlets
using Microsoft.Azure.PowerShell.Cmdlets.Informatica.Runtime.Cmdlets;
using System;
- /// Create a InformaticaOrganizationResource
+ /// create a InformaticaOrganizationResource
///
/// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Informatica.DataManagement/organizations/{organizationName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzInformaticaOrganization_CreateViaJsonFilePath", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IInformaticaOrganizationResource))]
- [global::Microsoft.Azure.PowerShell.Cmdlets.Informatica.Description(@"Create a InformaticaOrganizationResource")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Informatica.Description(@"create a InformaticaOrganizationResource")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Informatica.Generated]
[global::Microsoft.Azure.PowerShell.Cmdlets.Informatica.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Informatica.DataManagement/organizations/{organizationName}", ApiVersion = "2024-05-08")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Informatica.NotSuggestDefaultParameterSet]
@@ -41,17 +41,8 @@ public partial class NewAzInformaticaOrganization_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.Informatica.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Informatica.ParameterCategory.Runtime)]
@@ -263,11 +254,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.Informatica.Cmdlets.NewAzInformaticaOr
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.Informatica.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.Informatica.Models.IInformaticaOrganizationResource
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/Informatica/Informatica.Autorest/generated/cmdlets/NewAzInformaticaOrganization_CreateViaJsonString.cs b/generated/Informatica/Informatica.Autorest/generated/cmdlets/NewAzInformaticaOrganization_CreateViaJsonString.cs
index e4adcdc6d540..9adc275fbe69 100644
--- a/generated/Informatica/Informatica.Autorest/generated/cmdlets/NewAzInformaticaOrganization_CreateViaJsonString.cs
+++ b/generated/Informatica/Informatica.Autorest/generated/cmdlets/NewAzInformaticaOrganization_CreateViaJsonString.cs
@@ -10,13 +10,13 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Informatica.Cmdlets
using Microsoft.Azure.PowerShell.Cmdlets.Informatica.Runtime.Cmdlets;
using System;
- /// Create a InformaticaOrganizationResource
+ /// create a InformaticaOrganizationResource
///
/// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Informatica.DataManagement/organizations/{organizationName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzInformaticaOrganization_CreateViaJsonString", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IInformaticaOrganizationResource))]
- [global::Microsoft.Azure.PowerShell.Cmdlets.Informatica.Description(@"Create a InformaticaOrganizationResource")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Informatica.Description(@"create a InformaticaOrganizationResource")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Informatica.Generated]
[global::Microsoft.Azure.PowerShell.Cmdlets.Informatica.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Informatica.DataManagement/organizations/{organizationName}", ApiVersion = "2024-05-08")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Informatica.NotSuggestDefaultParameterSet]
@@ -41,15 +41,6 @@ public partial class NewAzInformaticaOrganization_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;
-
/// 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.Informatica.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Informatica.ParameterCategory.Runtime)]
@@ -261,11 +252,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.Informatica.Cmdlets.NewAzInformaticaOr
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.Informatica.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.Informatica.Models.IInformaticaOrganizationResource
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/Informatica/Informatica.Autorest/generated/cmdlets/NewAzInformaticaServerlessRuntime_CreateExpanded.cs b/generated/Informatica/Informatica.Autorest/generated/cmdlets/NewAzInformaticaServerlessRuntime_CreateExpanded.cs
index 7ef6fbad9144..c58781761c57 100644
--- a/generated/Informatica/Informatica.Autorest/generated/cmdlets/NewAzInformaticaServerlessRuntime_CreateExpanded.cs
+++ b/generated/Informatica/Informatica.Autorest/generated/cmdlets/NewAzInformaticaServerlessRuntime_CreateExpanded.cs
@@ -10,13 +10,13 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Informatica.Cmdlets
using Microsoft.Azure.PowerShell.Cmdlets.Informatica.Runtime.Cmdlets;
using System;
- /// Create a InformaticaServerlessRuntimeResource
+ /// create a InformaticaServerlessRuntimeResource
///
/// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Informatica.DataManagement/organizations/{organizationName}/serverlessRuntimes/{serverlessRuntimeName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzInformaticaServerlessRuntime_CreateExpanded", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IInformaticaServerlessRuntimeResource))]
- [global::Microsoft.Azure.PowerShell.Cmdlets.Informatica.Description(@"Create a InformaticaServerlessRuntimeResource")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Informatica.Description(@"create a InformaticaServerlessRuntimeResource")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Informatica.Generated]
[global::Microsoft.Azure.PowerShell.Cmdlets.Informatica.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Informatica.DataManagement/organizations/{organizationName}/serverlessRuntimes/{serverlessRuntimeName}", ApiVersion = "2024-05-08")]
public partial class NewAzInformaticaServerlessRuntime_CreateExpanded : global::System.Management.Automation.PSCmdlet,
@@ -40,18 +40,9 @@ public partial class NewAzInformaticaServerlessRuntime_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 Serverless Runtime environment resource by Informatica.
private Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IInformaticaServerlessRuntimeResource _resourceBody = new Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.InformaticaServerlessRuntimeResource();
- ///
- /// 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;
-
/// String KV pairs indicating Advanced custom properties.
[global::System.Management.Automation.AllowEmptyCollection]
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "String KV pairs indicating Advanced custom properties.")]
@@ -436,11 +427,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.Informatica.Cmdlets.NewAzInformaticaSe
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.Informatica.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -756,24 +742,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IInformaticaServerlessRuntimeResource
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/Informatica/Informatica.Autorest/generated/cmdlets/NewAzInformaticaServerlessRuntime_CreateViaJsonFilePath.cs b/generated/Informatica/Informatica.Autorest/generated/cmdlets/NewAzInformaticaServerlessRuntime_CreateViaJsonFilePath.cs
index 8cd9755be012..81f6dcf0fac3 100644
--- a/generated/Informatica/Informatica.Autorest/generated/cmdlets/NewAzInformaticaServerlessRuntime_CreateViaJsonFilePath.cs
+++ b/generated/Informatica/Informatica.Autorest/generated/cmdlets/NewAzInformaticaServerlessRuntime_CreateViaJsonFilePath.cs
@@ -10,13 +10,13 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Informatica.Cmdlets
using Microsoft.Azure.PowerShell.Cmdlets.Informatica.Runtime.Cmdlets;
using System;
- /// Create a InformaticaServerlessRuntimeResource
+ /// create a InformaticaServerlessRuntimeResource
///
/// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Informatica.DataManagement/organizations/{organizationName}/serverlessRuntimes/{serverlessRuntimeName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzInformaticaServerlessRuntime_CreateViaJsonFilePath", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IInformaticaServerlessRuntimeResource))]
- [global::Microsoft.Azure.PowerShell.Cmdlets.Informatica.Description(@"Create a InformaticaServerlessRuntimeResource")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Informatica.Description(@"create a InformaticaServerlessRuntimeResource")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Informatica.Generated]
[global::Microsoft.Azure.PowerShell.Cmdlets.Informatica.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Informatica.DataManagement/organizations/{organizationName}/serverlessRuntimes/{serverlessRuntimeName}", ApiVersion = "2024-05-08")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Informatica.NotSuggestDefaultParameterSet]
@@ -41,17 +41,8 @@ public partial class NewAzInformaticaServerlessRuntime_CreateViaJsonFilePath : 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;
-
/// 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.Informatica.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Informatica.ParameterCategory.Runtime)]
@@ -278,11 +269,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.Informatica.Cmdlets.NewAzInformaticaSe
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.Informatica.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.Informatica.Models.IInformaticaServerlessRuntimeResource
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/Informatica/Informatica.Autorest/generated/cmdlets/NewAzInformaticaServerlessRuntime_CreateViaJsonString.cs b/generated/Informatica/Informatica.Autorest/generated/cmdlets/NewAzInformaticaServerlessRuntime_CreateViaJsonString.cs
index b585c6121131..b14220cc0e1e 100644
--- a/generated/Informatica/Informatica.Autorest/generated/cmdlets/NewAzInformaticaServerlessRuntime_CreateViaJsonString.cs
+++ b/generated/Informatica/Informatica.Autorest/generated/cmdlets/NewAzInformaticaServerlessRuntime_CreateViaJsonString.cs
@@ -10,13 +10,13 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Informatica.Cmdlets
using Microsoft.Azure.PowerShell.Cmdlets.Informatica.Runtime.Cmdlets;
using System;
- /// Create a InformaticaServerlessRuntimeResource
+ /// create a InformaticaServerlessRuntimeResource
///
/// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Informatica.DataManagement/organizations/{organizationName}/serverlessRuntimes/{serverlessRuntimeName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzInformaticaServerlessRuntime_CreateViaJsonString", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IInformaticaServerlessRuntimeResource))]
- [global::Microsoft.Azure.PowerShell.Cmdlets.Informatica.Description(@"Create a InformaticaServerlessRuntimeResource")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Informatica.Description(@"create a InformaticaServerlessRuntimeResource")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Informatica.Generated]
[global::Microsoft.Azure.PowerShell.Cmdlets.Informatica.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Informatica.DataManagement/organizations/{organizationName}/serverlessRuntimes/{serverlessRuntimeName}", ApiVersion = "2024-05-08")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Informatica.NotSuggestDefaultParameterSet]
@@ -41,15 +41,6 @@ public partial class NewAzInformaticaServerlessRuntime_CreateViaJsonString : 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.Informatica.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Informatica.ParameterCategory.Runtime)]
@@ -276,11 +267,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.Informatica.Cmdlets.NewAzInformaticaSe
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.Informatica.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.Informatica.Models.IInformaticaServerlessRuntimeResource
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/Informatica/Informatica.Autorest/generated/cmdlets/RemoveAzInformaticaOrganization_Delete.cs b/generated/Informatica/Informatica.Autorest/generated/cmdlets/RemoveAzInformaticaOrganization_Delete.cs
index 6fe45af68330..6a5849182b3c 100644
--- a/generated/Informatica/Informatica.Autorest/generated/cmdlets/RemoveAzInformaticaOrganization_Delete.cs
+++ b/generated/Informatica/Informatica.Autorest/generated/cmdlets/RemoveAzInformaticaOrganization_Delete.cs
@@ -40,15 +40,6 @@ public partial class RemoveAzInformaticaOrganization_Delete : 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.Informatica.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Informatica.ParameterCategory.Runtime)]
@@ -261,11 +252,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.Informatica.Cmdlets.RemoveAzInformatic
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.Informatica.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/Informatica/Informatica.Autorest/generated/cmdlets/RemoveAzInformaticaOrganization_DeleteViaIdentity.cs b/generated/Informatica/Informatica.Autorest/generated/cmdlets/RemoveAzInformaticaOrganization_DeleteViaIdentity.cs
index 4fdb05ae37bf..c350c37a9852 100644
--- a/generated/Informatica/Informatica.Autorest/generated/cmdlets/RemoveAzInformaticaOrganization_DeleteViaIdentity.cs
+++ b/generated/Informatica/Informatica.Autorest/generated/cmdlets/RemoveAzInformaticaOrganization_DeleteViaIdentity.cs
@@ -40,15 +40,6 @@ public partial class RemoveAzInformaticaOrganization_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.Informatica.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Informatica.ParameterCategory.Runtime)]
@@ -218,11 +209,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.Informatica.Cmdlets.RemoveAzInformatic
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.Informatica.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/Informatica/Informatica.Autorest/generated/cmdlets/RemoveAzInformaticaServerlessRuntime_Delete.cs b/generated/Informatica/Informatica.Autorest/generated/cmdlets/RemoveAzInformaticaServerlessRuntime_Delete.cs
index e3bd7a34b7a8..fcacb1a7b8e9 100644
--- a/generated/Informatica/Informatica.Autorest/generated/cmdlets/RemoveAzInformaticaServerlessRuntime_Delete.cs
+++ b/generated/Informatica/Informatica.Autorest/generated/cmdlets/RemoveAzInformaticaServerlessRuntime_Delete.cs
@@ -40,15 +40,6 @@ public partial class RemoveAzInformaticaServerlessRuntime_Delete : 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.Informatica.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Informatica.ParameterCategory.Runtime)]
@@ -276,11 +267,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.Informatica.Cmdlets.RemoveAzInformatic
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.Informatica.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -592,7 +578,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -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/Informatica/Informatica.Autorest/generated/cmdlets/RemoveAzInformaticaServerlessRuntime_DeleteViaIdentity.cs b/generated/Informatica/Informatica.Autorest/generated/cmdlets/RemoveAzInformaticaServerlessRuntime_DeleteViaIdentity.cs
index b6ff96a1f9d4..707c63cd40d4 100644
--- a/generated/Informatica/Informatica.Autorest/generated/cmdlets/RemoveAzInformaticaServerlessRuntime_DeleteViaIdentity.cs
+++ b/generated/Informatica/Informatica.Autorest/generated/cmdlets/RemoveAzInformaticaServerlessRuntime_DeleteViaIdentity.cs
@@ -40,15 +40,6 @@ public partial class RemoveAzInformaticaServerlessRuntime_DeleteViaIdentity : 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.Informatica.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Informatica.ParameterCategory.Runtime)]
@@ -218,11 +209,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.Informatica.Cmdlets.RemoveAzInformatic
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.Informatica.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/Informatica/Informatica.Autorest/generated/cmdlets/RemoveAzInformaticaServerlessRuntime_DeleteViaIdentityOrganization.cs b/generated/Informatica/Informatica.Autorest/generated/cmdlets/RemoveAzInformaticaServerlessRuntime_DeleteViaIdentityOrganization.cs
index ae25663b6458..beb564b67bd7 100644
--- a/generated/Informatica/Informatica.Autorest/generated/cmdlets/RemoveAzInformaticaServerlessRuntime_DeleteViaIdentityOrganization.cs
+++ b/generated/Informatica/Informatica.Autorest/generated/cmdlets/RemoveAzInformaticaServerlessRuntime_DeleteViaIdentityOrganization.cs
@@ -40,15 +40,6 @@ public partial class RemoveAzInformaticaServerlessRuntime_DeleteViaIdentityOrgan
/// 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.Informatica.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Informatica.ParameterCategory.Runtime)]
@@ -236,11 +227,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.Informatica.Cmdlets.RemoveAzInformatic
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.Informatica.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -574,7 +560,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -598,7 +584,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/Informatica/Informatica.Autorest/generated/cmdlets/StartAzInformaticaServerlessRuntimeFailedServerlessRuntime_Start.cs b/generated/Informatica/Informatica.Autorest/generated/cmdlets/StartAzInformaticaServerlessRuntimeFailedServerlessRuntime_Start.cs
index 7d941376ee99..005dd8f344d8 100644
--- a/generated/Informatica/Informatica.Autorest/generated/cmdlets/StartAzInformaticaServerlessRuntimeFailedServerlessRuntime_Start.cs
+++ b/generated/Informatica/Informatica.Autorest/generated/cmdlets/StartAzInformaticaServerlessRuntimeFailedServerlessRuntime_Start.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);
}
diff --git a/generated/Informatica/Informatica.Autorest/generated/cmdlets/StartAzInformaticaServerlessRuntimeFailedServerlessRuntime_StartViaIdentity.cs b/generated/Informatica/Informatica.Autorest/generated/cmdlets/StartAzInformaticaServerlessRuntimeFailedServerlessRuntime_StartViaIdentity.cs
index eebe3e73ed9b..63bd72673f31 100644
--- a/generated/Informatica/Informatica.Autorest/generated/cmdlets/StartAzInformaticaServerlessRuntimeFailedServerlessRuntime_StartViaIdentity.cs
+++ b/generated/Informatica/Informatica.Autorest/generated/cmdlets/StartAzInformaticaServerlessRuntimeFailedServerlessRuntime_StartViaIdentity.cs
@@ -470,7 +470,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/Informatica/Informatica.Autorest/generated/cmdlets/StartAzInformaticaServerlessRuntimeFailedServerlessRuntime_StartViaIdentityOrganization.cs b/generated/Informatica/Informatica.Autorest/generated/cmdlets/StartAzInformaticaServerlessRuntimeFailedServerlessRuntime_StartViaIdentityOrganization.cs
index 2a5d05f0cb68..a94ac33d79f0 100644
--- a/generated/Informatica/Informatica.Autorest/generated/cmdlets/StartAzInformaticaServerlessRuntimeFailedServerlessRuntime_StartViaIdentityOrganization.cs
+++ b/generated/Informatica/Informatica.Autorest/generated/cmdlets/StartAzInformaticaServerlessRuntimeFailedServerlessRuntime_StartViaIdentityOrganization.cs
@@ -481,7 +481,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/Informatica/Informatica.Autorest/generated/cmdlets/UpdateAzInformaticaOrganization_UpdateExpanded.cs b/generated/Informatica/Informatica.Autorest/generated/cmdlets/UpdateAzInformaticaOrganization_UpdateExpanded.cs
index 93a27f4164c6..8846d983611d 100644
--- a/generated/Informatica/Informatica.Autorest/generated/cmdlets/UpdateAzInformaticaOrganization_UpdateExpanded.cs
+++ b/generated/Informatica/Informatica.Autorest/generated/cmdlets/UpdateAzInformaticaOrganization_UpdateExpanded.cs
@@ -10,13 +10,13 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Informatica.Cmdlets
using Microsoft.Azure.PowerShell.Cmdlets.Informatica.Runtime.Cmdlets;
using System;
- /// Update a InformaticaOrganizationResource
+ /// update a InformaticaOrganizationResource
///
/// [OpenAPI] Update=>PATCH:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Informatica.DataManagement/organizations/{organizationName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzInformaticaOrganization_UpdateExpanded", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IInformaticaOrganizationResource))]
- [global::Microsoft.Azure.PowerShell.Cmdlets.Informatica.Description(@"Update a InformaticaOrganizationResource")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Informatica.Description(@"update a InformaticaOrganizationResource")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Informatica.Generated]
[global::Microsoft.Azure.PowerShell.Cmdlets.Informatica.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Informatica.DataManagement/organizations/{organizationName}", ApiVersion = "2024-05-08")]
public partial class UpdateAzInformaticaOrganization_UpdateExpanded : global::System.Management.Automation.PSCmdlet,
diff --git a/generated/Informatica/Informatica.Autorest/generated/cmdlets/UpdateAzInformaticaOrganization_UpdateViaIdentityExpanded.cs b/generated/Informatica/Informatica.Autorest/generated/cmdlets/UpdateAzInformaticaOrganization_UpdateViaIdentityExpanded.cs
index 40ddc652388a..d6b3e8eee2fc 100644
--- a/generated/Informatica/Informatica.Autorest/generated/cmdlets/UpdateAzInformaticaOrganization_UpdateViaIdentityExpanded.cs
+++ b/generated/Informatica/Informatica.Autorest/generated/cmdlets/UpdateAzInformaticaOrganization_UpdateViaIdentityExpanded.cs
@@ -10,13 +10,13 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Informatica.Cmdlets
using Microsoft.Azure.PowerShell.Cmdlets.Informatica.Runtime.Cmdlets;
using System;
- /// Update a InformaticaOrganizationResource
+ /// update a InformaticaOrganizationResource
///
/// [OpenAPI] Update=>PATCH:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Informatica.DataManagement/organizations/{organizationName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzInformaticaOrganization_UpdateViaIdentityExpanded", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IInformaticaOrganizationResource))]
- [global::Microsoft.Azure.PowerShell.Cmdlets.Informatica.Description(@"Update a InformaticaOrganizationResource")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Informatica.Description(@"update a InformaticaOrganizationResource")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Informatica.Generated]
[global::Microsoft.Azure.PowerShell.Cmdlets.Informatica.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Informatica.DataManagement/organizations/{organizationName}", ApiVersion = "2024-05-08")]
public partial class UpdateAzInformaticaOrganization_UpdateViaIdentityExpanded : global::System.Management.Automation.PSCmdlet,
diff --git a/generated/Informatica/Informatica.Autorest/generated/cmdlets/UpdateAzInformaticaOrganization_UpdateViaJsonFilePath.cs b/generated/Informatica/Informatica.Autorest/generated/cmdlets/UpdateAzInformaticaOrganization_UpdateViaJsonFilePath.cs
index af1ed7a801d4..e8863ed85b8b 100644
--- a/generated/Informatica/Informatica.Autorest/generated/cmdlets/UpdateAzInformaticaOrganization_UpdateViaJsonFilePath.cs
+++ b/generated/Informatica/Informatica.Autorest/generated/cmdlets/UpdateAzInformaticaOrganization_UpdateViaJsonFilePath.cs
@@ -10,13 +10,13 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Informatica.Cmdlets
using Microsoft.Azure.PowerShell.Cmdlets.Informatica.Runtime.Cmdlets;
using System;
- /// Update a InformaticaOrganizationResource
+ /// update a InformaticaOrganizationResource
///
/// [OpenAPI] Update=>PATCH:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Informatica.DataManagement/organizations/{organizationName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzInformaticaOrganization_UpdateViaJsonFilePath", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IInformaticaOrganizationResource))]
- [global::Microsoft.Azure.PowerShell.Cmdlets.Informatica.Description(@"Update a InformaticaOrganizationResource")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Informatica.Description(@"update a InformaticaOrganizationResource")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Informatica.Generated]
[global::Microsoft.Azure.PowerShell.Cmdlets.Informatica.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Informatica.DataManagement/organizations/{organizationName}", ApiVersion = "2024-05-08")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Informatica.NotSuggestDefaultParameterSet]
diff --git a/generated/Informatica/Informatica.Autorest/generated/cmdlets/UpdateAzInformaticaOrganization_UpdateViaJsonString.cs b/generated/Informatica/Informatica.Autorest/generated/cmdlets/UpdateAzInformaticaOrganization_UpdateViaJsonString.cs
index c83bb3d245a6..113988283d72 100644
--- a/generated/Informatica/Informatica.Autorest/generated/cmdlets/UpdateAzInformaticaOrganization_UpdateViaJsonString.cs
+++ b/generated/Informatica/Informatica.Autorest/generated/cmdlets/UpdateAzInformaticaOrganization_UpdateViaJsonString.cs
@@ -10,13 +10,13 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Informatica.Cmdlets
using Microsoft.Azure.PowerShell.Cmdlets.Informatica.Runtime.Cmdlets;
using System;
- /// Update a InformaticaOrganizationResource
+ /// update a InformaticaOrganizationResource
///
/// [OpenAPI] Update=>PATCH:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Informatica.DataManagement/organizations/{organizationName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzInformaticaOrganization_UpdateViaJsonString", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IInformaticaOrganizationResource))]
- [global::Microsoft.Azure.PowerShell.Cmdlets.Informatica.Description(@"Update a InformaticaOrganizationResource")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Informatica.Description(@"update a InformaticaOrganizationResource")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Informatica.Generated]
[global::Microsoft.Azure.PowerShell.Cmdlets.Informatica.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Informatica.DataManagement/organizations/{organizationName}", ApiVersion = "2024-05-08")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Informatica.NotSuggestDefaultParameterSet]
diff --git a/generated/Informatica/Informatica.Autorest/generated/cmdlets/UpdateAzInformaticaServerlessRuntime_UpdateExpanded.cs b/generated/Informatica/Informatica.Autorest/generated/cmdlets/UpdateAzInformaticaServerlessRuntime_UpdateExpanded.cs
index 9e389d218a83..1fc9489688d2 100644
--- a/generated/Informatica/Informatica.Autorest/generated/cmdlets/UpdateAzInformaticaServerlessRuntime_UpdateExpanded.cs
+++ b/generated/Informatica/Informatica.Autorest/generated/cmdlets/UpdateAzInformaticaServerlessRuntime_UpdateExpanded.cs
@@ -10,13 +10,13 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Informatica.Cmdlets
using Microsoft.Azure.PowerShell.Cmdlets.Informatica.Runtime.Cmdlets;
using System;
- /// Update a InformaticaServerlessRuntimeResource
+ /// update a InformaticaServerlessRuntimeResource
///
/// [OpenAPI] Update=>PATCH:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Informatica.DataManagement/organizations/{organizationName}/serverlessRuntimes/{serverlessRuntimeName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzInformaticaServerlessRuntime_UpdateExpanded", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IInformaticaServerlessRuntimeResource))]
- [global::Microsoft.Azure.PowerShell.Cmdlets.Informatica.Description(@"Update a InformaticaServerlessRuntimeResource")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Informatica.Description(@"update a InformaticaServerlessRuntimeResource")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Informatica.Generated]
[global::Microsoft.Azure.PowerShell.Cmdlets.Informatica.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Informatica.DataManagement/organizations/{organizationName}/serverlessRuntimes/{serverlessRuntimeName}", ApiVersion = "2024-05-08")]
public partial class UpdateAzInformaticaServerlessRuntime_UpdateExpanded : global::System.Management.Automation.PSCmdlet,
diff --git a/generated/Informatica/Informatica.Autorest/generated/cmdlets/UpdateAzInformaticaServerlessRuntime_UpdateViaIdentityExpanded.cs b/generated/Informatica/Informatica.Autorest/generated/cmdlets/UpdateAzInformaticaServerlessRuntime_UpdateViaIdentityExpanded.cs
index f9b7eb9c896a..f6af0bc02839 100644
--- a/generated/Informatica/Informatica.Autorest/generated/cmdlets/UpdateAzInformaticaServerlessRuntime_UpdateViaIdentityExpanded.cs
+++ b/generated/Informatica/Informatica.Autorest/generated/cmdlets/UpdateAzInformaticaServerlessRuntime_UpdateViaIdentityExpanded.cs
@@ -10,13 +10,13 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Informatica.Cmdlets
using Microsoft.Azure.PowerShell.Cmdlets.Informatica.Runtime.Cmdlets;
using System;
- /// Update a InformaticaServerlessRuntimeResource
+ /// update a InformaticaServerlessRuntimeResource
///
/// [OpenAPI] Update=>PATCH:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Informatica.DataManagement/organizations/{organizationName}/serverlessRuntimes/{serverlessRuntimeName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzInformaticaServerlessRuntime_UpdateViaIdentityExpanded", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IInformaticaServerlessRuntimeResource))]
- [global::Microsoft.Azure.PowerShell.Cmdlets.Informatica.Description(@"Update a InformaticaServerlessRuntimeResource")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Informatica.Description(@"update a InformaticaServerlessRuntimeResource")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Informatica.Generated]
[global::Microsoft.Azure.PowerShell.Cmdlets.Informatica.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Informatica.DataManagement/organizations/{organizationName}/serverlessRuntimes/{serverlessRuntimeName}", ApiVersion = "2024-05-08")]
public partial class UpdateAzInformaticaServerlessRuntime_UpdateViaIdentityExpanded : global::System.Management.Automation.PSCmdlet,
diff --git a/generated/Informatica/Informatica.Autorest/generated/cmdlets/UpdateAzInformaticaServerlessRuntime_UpdateViaIdentityOrganizationExpanded.cs b/generated/Informatica/Informatica.Autorest/generated/cmdlets/UpdateAzInformaticaServerlessRuntime_UpdateViaIdentityOrganizationExpanded.cs
index e3c4fc35cc25..049e916d73da 100644
--- a/generated/Informatica/Informatica.Autorest/generated/cmdlets/UpdateAzInformaticaServerlessRuntime_UpdateViaIdentityOrganizationExpanded.cs
+++ b/generated/Informatica/Informatica.Autorest/generated/cmdlets/UpdateAzInformaticaServerlessRuntime_UpdateViaIdentityOrganizationExpanded.cs
@@ -10,13 +10,13 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Informatica.Cmdlets
using Microsoft.Azure.PowerShell.Cmdlets.Informatica.Runtime.Cmdlets;
using System;
- /// Update a InformaticaServerlessRuntimeResource
+ /// update a InformaticaServerlessRuntimeResource
///
/// [OpenAPI] Update=>PATCH:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Informatica.DataManagement/organizations/{organizationName}/serverlessRuntimes/{serverlessRuntimeName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzInformaticaServerlessRuntime_UpdateViaIdentityOrganizationExpanded", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IInformaticaServerlessRuntimeResource))]
- [global::Microsoft.Azure.PowerShell.Cmdlets.Informatica.Description(@"Update a InformaticaServerlessRuntimeResource")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Informatica.Description(@"update a InformaticaServerlessRuntimeResource")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Informatica.Generated]
[global::Microsoft.Azure.PowerShell.Cmdlets.Informatica.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Informatica.DataManagement/organizations/{organizationName}/serverlessRuntimes/{serverlessRuntimeName}", ApiVersion = "2024-05-08")]
public partial class UpdateAzInformaticaServerlessRuntime_UpdateViaIdentityOrganizationExpanded : global::System.Management.Automation.PSCmdlet,
diff --git a/generated/Informatica/Informatica.Autorest/generated/cmdlets/UpdateAzInformaticaServerlessRuntime_UpdateViaJsonFilePath.cs b/generated/Informatica/Informatica.Autorest/generated/cmdlets/UpdateAzInformaticaServerlessRuntime_UpdateViaJsonFilePath.cs
index e0cdc7b81f75..da25513e99ce 100644
--- a/generated/Informatica/Informatica.Autorest/generated/cmdlets/UpdateAzInformaticaServerlessRuntime_UpdateViaJsonFilePath.cs
+++ b/generated/Informatica/Informatica.Autorest/generated/cmdlets/UpdateAzInformaticaServerlessRuntime_UpdateViaJsonFilePath.cs
@@ -10,13 +10,13 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Informatica.Cmdlets
using Microsoft.Azure.PowerShell.Cmdlets.Informatica.Runtime.Cmdlets;
using System;
- /// Update a InformaticaServerlessRuntimeResource
+ /// update a InformaticaServerlessRuntimeResource
///
/// [OpenAPI] Update=>PATCH:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Informatica.DataManagement/organizations/{organizationName}/serverlessRuntimes/{serverlessRuntimeName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzInformaticaServerlessRuntime_UpdateViaJsonFilePath", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IInformaticaServerlessRuntimeResource))]
- [global::Microsoft.Azure.PowerShell.Cmdlets.Informatica.Description(@"Update a InformaticaServerlessRuntimeResource")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Informatica.Description(@"update a InformaticaServerlessRuntimeResource")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Informatica.Generated]
[global::Microsoft.Azure.PowerShell.Cmdlets.Informatica.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Informatica.DataManagement/organizations/{organizationName}/serverlessRuntimes/{serverlessRuntimeName}", ApiVersion = "2024-05-08")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Informatica.NotSuggestDefaultParameterSet]
diff --git a/generated/Informatica/Informatica.Autorest/generated/cmdlets/UpdateAzInformaticaServerlessRuntime_UpdateViaJsonString.cs b/generated/Informatica/Informatica.Autorest/generated/cmdlets/UpdateAzInformaticaServerlessRuntime_UpdateViaJsonString.cs
index 42e53147f79d..1c79c016270a 100644
--- a/generated/Informatica/Informatica.Autorest/generated/cmdlets/UpdateAzInformaticaServerlessRuntime_UpdateViaJsonString.cs
+++ b/generated/Informatica/Informatica.Autorest/generated/cmdlets/UpdateAzInformaticaServerlessRuntime_UpdateViaJsonString.cs
@@ -10,13 +10,13 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Informatica.Cmdlets
using Microsoft.Azure.PowerShell.Cmdlets.Informatica.Runtime.Cmdlets;
using System;
- /// Update a InformaticaServerlessRuntimeResource
+ /// update a InformaticaServerlessRuntimeResource
///
/// [OpenAPI] Update=>PATCH:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Informatica.DataManagement/organizations/{organizationName}/serverlessRuntimes/{serverlessRuntimeName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzInformaticaServerlessRuntime_UpdateViaJsonString", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Informatica.Models.IInformaticaServerlessRuntimeResource))]
- [global::Microsoft.Azure.PowerShell.Cmdlets.Informatica.Description(@"Update a InformaticaServerlessRuntimeResource")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Informatica.Description(@"update a InformaticaServerlessRuntimeResource")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Informatica.Generated]
[global::Microsoft.Azure.PowerShell.Cmdlets.Informatica.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Informatica.DataManagement/organizations/{organizationName}/serverlessRuntimes/{serverlessRuntimeName}", ApiVersion = "2024-05-08")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Informatica.NotSuggestDefaultParameterSet]
diff --git a/generated/Informatica/Informatica.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs b/generated/Informatica/Informatica.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs
index db5f8d269fcd..19485035358a 100644
--- a/generated/Informatica/Informatica.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs
+++ b/generated/Informatica/Informatica.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/Informatica/Informatica.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs b/generated/Informatica/Informatica.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs
index c1dafdac6e83..01aaf2f8f83f 100644
--- a/generated/Informatica/Informatica.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs
+++ b/generated/Informatica/Informatica.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs
@@ -216,6 +216,20 @@ public string GetProcessCustomAttributesAtRuntime()
{Indent}{Indent}[Microsoft.Azure.PowerShell.Cmdlets.Informatica.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.Informatica.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.Informatica.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/Informatica/Informatica.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs b/generated/Informatica/Informatica.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs
index 1e421d3d712c..2cc662e783c7 100644
--- a/generated/Informatica/Informatica.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs
+++ b/generated/Informatica/Informatica.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/Informatica/Informatica.Autorest/generated/runtime/BuildTime/PsAttributes.cs b/generated/Informatica/Informatica.Autorest/generated/runtime/BuildTime/PsAttributes.cs
index c7a530b4f0c0..fd71b80a00e3 100644
--- a/generated/Informatica/Informatica.Autorest/generated/runtime/BuildTime/PsAttributes.cs
+++ b/generated/Informatica/Informatica.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/Informatica/Informatica.Autorest/generated/runtime/Context.cs b/generated/Informatica/Informatica.Autorest/generated/runtime/Context.cs
index 3a060ab4884b..80e8f0a7dbf7 100644
--- a/generated/Informatica/Informatica.Autorest/generated/runtime/Context.cs
+++ b/generated/Informatica/Informatica.Autorest/generated/runtime/Context.cs
@@ -20,7 +20,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Informatica.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/Informatica/Informatica.Autorest/generated/runtime/MessageAttribute.cs b/generated/Informatica/Informatica.Autorest/generated/runtime/MessageAttribute.cs
index 2f45091783b3..6b6c905272ef 100644
--- a/generated/Informatica/Informatica.Autorest/generated/runtime/MessageAttribute.cs
+++ b/generated/Informatica/Informatica.Autorest/generated/runtime/MessageAttribute.cs
@@ -16,9 +16,12 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Informatica.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.Informatica" : @"";
+
//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/Informatica/Informatica.Autorest/generated/runtime/Properties/Resources.resx b/generated/Informatica/Informatica.Autorest/generated/runtime/Properties/Resources.resx
index a08a2e50172b..4ef90b70573d 100644
--- a/generated/Informatica/Informatica.Autorest/generated/runtime/Properties/Resources.resx
+++ b/generated/Informatica/Informatica.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/Informatica/Informatica.Autorest/internal/Get-AzInformaticaOperation.ps1 b/generated/Informatica/Informatica.Autorest/internal/Get-AzInformaticaOperation.ps1
index 5022de21268e..1e0677cdaf87 100644
--- a/generated/Informatica/Informatica.Autorest/internal/Get-AzInformaticaOperation.ps1
+++ b/generated/Informatica/Informatica.Autorest/internal/Get-AzInformaticaOperation.ps1
@@ -90,11 +90,17 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Informatica.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
$mapping = @{
List = 'Az.Informatica.private\Get-AzInformaticaOperation_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/Informatica/Informatica.Autorest/internal/ProxyCmdletDefinitions.ps1 b/generated/Informatica/Informatica.Autorest/internal/ProxyCmdletDefinitions.ps1
index 5022de21268e..1e0677cdaf87 100644
--- a/generated/Informatica/Informatica.Autorest/internal/ProxyCmdletDefinitions.ps1
+++ b/generated/Informatica/Informatica.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.Informatica.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
$mapping = @{
List = 'Az.Informatica.private\Get-AzInformaticaOperation_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/src/ImageBuilder/ImageBuilder.Autorest/resources/README.md b/generated/Informatica/Informatica.Autorest/resources/README.md
similarity index 100%
rename from src/ImageBuilder/ImageBuilder.Autorest/resources/README.md
rename to generated/Informatica/Informatica.Autorest/resources/README.md
diff --git a/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Get-AzIoTOperationsServiceBroker.ps1 b/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Get-AzIoTOperationsServiceBroker.ps1
index 626613bf8e39..942fc10abd5f 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Get-AzIoTOperationsServiceBroker.ps1
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Get-AzIoTOperationsServiceBroker.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/IoTOperationsService/IoTOperationsService.Autorest/exports/Get-AzIoTOperationsServiceBrokerAuthentication.ps1 b/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Get-AzIoTOperationsServiceBrokerAuthentication.ps1
index 7f4185917659..45c9e719b6a0 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Get-AzIoTOperationsServiceBrokerAuthentication.ps1
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Get-AzIoTOperationsServiceBrokerAuthentication.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/IoTOperationsService/IoTOperationsService.Autorest/exports/Get-AzIoTOperationsServiceBrokerAuthorization.ps1 b/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Get-AzIoTOperationsServiceBrokerAuthorization.ps1
index 2f20d49acfae..32486530e526 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Get-AzIoTOperationsServiceBrokerAuthorization.ps1
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Get-AzIoTOperationsServiceBrokerAuthorization.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/IoTOperationsService/IoTOperationsService.Autorest/exports/Get-AzIoTOperationsServiceBrokerListener.ps1 b/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Get-AzIoTOperationsServiceBrokerListener.ps1
index 3b5dd378918c..de5af4c08a82 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Get-AzIoTOperationsServiceBrokerListener.ps1
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Get-AzIoTOperationsServiceBrokerListener.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/IoTOperationsService/IoTOperationsService.Autorest/exports/Get-AzIoTOperationsServiceDataflow.ps1 b/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Get-AzIoTOperationsServiceDataflow.ps1
index 75f52c021f77..51dd99056fcd 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Get-AzIoTOperationsServiceDataflow.ps1
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Get-AzIoTOperationsServiceDataflow.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/IoTOperationsService/IoTOperationsService.Autorest/exports/Get-AzIoTOperationsServiceDataflowEndpoint.ps1 b/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Get-AzIoTOperationsServiceDataflowEndpoint.ps1
index c4618dc0f506..e0638f68d84a 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Get-AzIoTOperationsServiceDataflowEndpoint.ps1
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Get-AzIoTOperationsServiceDataflowEndpoint.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/IoTOperationsService/IoTOperationsService.Autorest/exports/Get-AzIoTOperationsServiceDataflowProfile.ps1 b/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Get-AzIoTOperationsServiceDataflowProfile.ps1
index 3db548309a31..1e3d170ab614 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Get-AzIoTOperationsServiceDataflowProfile.ps1
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Get-AzIoTOperationsServiceDataflowProfile.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/IoTOperationsService/IoTOperationsService.Autorest/exports/Get-AzIoTOperationsServiceInstance.ps1 b/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Get-AzIoTOperationsServiceInstance.ps1
index ac5430d668ea..a471367a0cd5 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Get-AzIoTOperationsServiceInstance.ps1
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Get-AzIoTOperationsServiceInstance.ps1
@@ -143,8 +143,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
diff --git a/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/New-AzIoTOperationsServiceBroker.ps1 b/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/New-AzIoTOperationsServiceBroker.ps1
index 72d3cb33b02e..601dcca2d01e 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/New-AzIoTOperationsServiceBroker.ps1
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/New-AzIoTOperationsServiceBroker.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-create a BrokerResource
+Create a BrokerResource
.Description
-create a BrokerResource
+Create a BrokerResource
.Example
New-AzIoTOperationsServiceBroker -InstanceName "aio-instance-name" -Name "my-broker" -ResourceGroupName "aio-validation-116116143" -ExtendedLocationName "/subscriptions/d4ccd08b-0809-446d-a8b7-7af8a90109cd/resourceGroups/aio-validation-116116143/providers/Microsoft.ExtendedLocation/customLocations/location-116116143"
@@ -390,8 +390,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log 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/IoTOperationsService/IoTOperationsService.Autorest/exports/New-AzIoTOperationsServiceBrokerAuthentication.ps1 b/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/New-AzIoTOperationsServiceBrokerAuthentication.ps1
index a51a47e13a52..e1a0304cef0c 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/New-AzIoTOperationsServiceBrokerAuthentication.ps1
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/New-AzIoTOperationsServiceBrokerAuthentication.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-create a BrokerAuthenticationResource
+Create a BrokerAuthenticationResource
.Description
-create a BrokerAuthenticationResource
+Create a BrokerAuthenticationResource
.Example
New-AzIoTOperationsServiceBrokerAuthentication `
-AuthenticationName "my-authn" `
@@ -195,8 +195,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
diff --git a/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/New-AzIoTOperationsServiceBrokerAuthorization.ps1 b/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/New-AzIoTOperationsServiceBrokerAuthorization.ps1
index b9cc64b9a698..b4b4ba79728c 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/New-AzIoTOperationsServiceBrokerAuthorization.ps1
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/New-AzIoTOperationsServiceBrokerAuthorization.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-create a BrokerAuthorizationResource
+Create a BrokerAuthorizationResource
.Description
-create a BrokerAuthorizationResource
+Create a BrokerAuthorizationResource
.Example
New-AzIoTOperationsServiceBrokerAuthorization `
-AuthorizationName "my-authz" `
@@ -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/IoTOperationsService/IoTOperationsService.Autorest/exports/New-AzIoTOperationsServiceBrokerListener.ps1 b/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/New-AzIoTOperationsServiceBrokerListener.ps1
index e1c938fe1837..9c68c46cb715 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/New-AzIoTOperationsServiceBrokerListener.ps1
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/New-AzIoTOperationsServiceBrokerListener.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-create a BrokerListenerResource
+Create a BrokerListenerResource
.Description
-create a BrokerListenerResource
+Create a BrokerListenerResource
.Example
New-AzIoTOperationsServiceBrokerListener -BrokerName "my-broker" -InstanceName "aio-instance-name" -ListenerName my-listener -ResourceGroupName "aio-validation-116116143" -ExtendedLocationName "/subscriptions/d4ccd08b-0809-446d-a8b7-7af8a90109cd/resourceGroups/aio-validation-116116143/providers/Microsoft.ExtendedLocation/customLocations/location-116116143" -Port @(@{ port = 1883 })
@@ -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/IoTOperationsService/IoTOperationsService.Autorest/exports/New-AzIoTOperationsServiceDataflow.ps1 b/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/New-AzIoTOperationsServiceDataflow.ps1
index db8d5a28abab..ef69b140802d 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/New-AzIoTOperationsServiceDataflow.ps1
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/New-AzIoTOperationsServiceDataflow.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-create a DataflowResource
+Create a DataflowResource
.Description
-create a DataflowResource
+Create a DataflowResource
.Example
New-AzIoTOperationsServiceDataflow -InstanceName "aio-117832708" `
-Name "dataflow-name" `
@@ -246,8 +246,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log 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/IoTOperationsService/IoTOperationsService.Autorest/exports/New-AzIoTOperationsServiceDataflowEndpoint.ps1 b/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/New-AzIoTOperationsServiceDataflowEndpoint.ps1
index b7cfea0346d3..1846230313f6 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/New-AzIoTOperationsServiceDataflowEndpoint.ps1
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/New-AzIoTOperationsServiceDataflowEndpoint.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-create a DataflowEndpointResource
+Create a DataflowEndpointResource
.Description
-create a DataflowEndpointResource
+Create a DataflowEndpointResource
.Example
New-AzIoTOperationsServiceDataflowEndpoint -InstanceName "aio-instance-name" -Name "local-storage-endpoint" -ResourceGroupName "aio-validation-116116143" -ExtendedLocationName "/subscriptions/d4ccd08b-0809-446d-a8b7-7af8a90109cd/resourceGroups/aio-validation-116116143/providers/Microsoft.ExtendedLocation/customLocations/location-116116143" -EndpointType "LocalStorage" -LocalStorageSettingPersistentVolumeClaimRef "myPersistentVolumeClaim"
@@ -405,8 +405,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log 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/IoTOperationsService/IoTOperationsService.Autorest/exports/New-AzIoTOperationsServiceDataflowProfile.ps1 b/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/New-AzIoTOperationsServiceDataflowProfile.ps1
index a570a7e00ee0..1f81a274aa32 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/New-AzIoTOperationsServiceDataflowProfile.ps1
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/New-AzIoTOperationsServiceDataflowProfile.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-create a DataflowProfileResource
+Create a DataflowProfileResource
.Description
-create a DataflowProfileResource
+Create a DataflowProfileResource
.Example
New-AzIoTOperationsServiceDataflowProfile -InstanceName "aio-117832708" -Name "dataflowprofile-name" -ResourceGroupName "aio-validation-117832708" -ExtendedLocationName "/subscriptions/d4ccd08b-0809-446d-a8b7-7af8a90109cd/resourceGroups/aio-validation-117832708/providers/Microsoft.ExtendedLocation/customLocations/location-117832708"
@@ -170,8 +170,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
diff --git a/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/New-AzIoTOperationsServiceInstance.ps1 b/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/New-AzIoTOperationsServiceInstance.ps1
index 8930d33ded5c..a278a7227676 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/New-AzIoTOperationsServiceInstance.ps1
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/New-AzIoTOperationsServiceInstance.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-create a InstanceResource
+Create a InstanceResource
.Description
-create a InstanceResource
+Create a InstanceResource
.Example
New-AzIoTOperationsServiceInstance -Name "aio-instance-name" -ResourceGroupName "aio-validation-116116143" -ExtendedLocationName "/subscriptions/d4ccd08b-0809-446d-a8b7-7af8a90109cd/resourceGroups/aio-validation-116116143/providers/Microsoft.ExtendedLocation/customLocations/location-116116143" -Location "eastus2" -Description test -SchemaRegistryRefResourceId "/subscriptions/d4ccd08b-0809-446d-a8b7-7af8a90109cd/resourceGroups/aio-validation-116116143/providers/Microsoft.DeviceRegistry/schemaRegistries/aio-sr-dd5644c861"
@@ -184,8 +184,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log 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/IoTOperationsService/IoTOperationsService.Autorest/exports/ProxyCmdletDefinitions.ps1 b/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/ProxyCmdletDefinitions.ps1
index e098f80bd429..fac6b8ae377d 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/ProxyCmdletDefinitions.ps1
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/ProxyCmdletDefinitions.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) {
@@ -466,8 +465,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -736,8 +734,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -979,8 +976,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -1221,8 +1217,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -1463,8 +1458,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -1735,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) {
@@ -1952,8 +1945,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -2041,9 +2033,9 @@ end {
<#
.Synopsis
-create a BrokerAuthenticationResource
+Create a BrokerAuthenticationResource
.Description
-create a BrokerAuthenticationResource
+Create a BrokerAuthenticationResource
.Example
New-AzIoTOperationsServiceBrokerAuthentication `
-AuthenticationName "my-authn" `
@@ -2220,8 +2212,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -2308,9 +2299,9 @@ end {
<#
.Synopsis
-create a BrokerAuthorizationResource
+Create a BrokerAuthorizationResource
.Description
-create a BrokerAuthorizationResource
+Create a BrokerAuthorizationResource
.Example
New-AzIoTOperationsServiceBrokerAuthorization `
-AuthorizationName "my-authz" `
@@ -2514,8 +2505,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -2602,9 +2592,9 @@ end {
<#
.Synopsis
-create a BrokerListenerResource
+Create a BrokerListenerResource
.Description
-create a BrokerListenerResource
+Create a BrokerListenerResource
.Example
New-AzIoTOperationsServiceBrokerListener -BrokerName "my-broker" -InstanceName "aio-instance-name" -ListenerName my-listener -ResourceGroupName "aio-validation-116116143" -ExtendedLocationName "/subscriptions/d4ccd08b-0809-446d-a8b7-7af8a90109cd/resourceGroups/aio-validation-116116143/providers/Microsoft.ExtendedLocation/customLocations/location-116116143" -Port @(@{ port = 1883 })
@@ -2785,8 +2775,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -2873,9 +2862,9 @@ end {
<#
.Synopsis
-create a BrokerResource
+Create a BrokerResource
.Description
-create a BrokerResource
+Create a BrokerResource
.Example
New-AzIoTOperationsServiceBroker -InstanceName "aio-instance-name" -Name "my-broker" -ResourceGroupName "aio-validation-116116143" -ExtendedLocationName "/subscriptions/d4ccd08b-0809-446d-a8b7-7af8a90109cd/resourceGroups/aio-validation-116116143/providers/Microsoft.ExtendedLocation/customLocations/location-116116143"
@@ -3247,8 +3236,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -3335,9 +3323,9 @@ end {
<#
.Synopsis
-create a DataflowEndpointResource
+Create a DataflowEndpointResource
.Description
-create a DataflowEndpointResource
+Create a DataflowEndpointResource
.Example
New-AzIoTOperationsServiceDataflowEndpoint -InstanceName "aio-instance-name" -Name "local-storage-endpoint" -ResourceGroupName "aio-validation-116116143" -ExtendedLocationName "/subscriptions/d4ccd08b-0809-446d-a8b7-7af8a90109cd/resourceGroups/aio-validation-116116143/providers/Microsoft.ExtendedLocation/customLocations/location-116116143" -EndpointType "LocalStorage" -LocalStorageSettingPersistentVolumeClaimRef "myPersistentVolumeClaim"
@@ -3724,8 +3712,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -3812,9 +3799,9 @@ end {
<#
.Synopsis
-create a DataflowProfileResource
+Create a DataflowProfileResource
.Description
-create a DataflowProfileResource
+Create a DataflowProfileResource
.Example
New-AzIoTOperationsServiceDataflowProfile -InstanceName "aio-117832708" -Name "dataflowprofile-name" -ResourceGroupName "aio-validation-117832708" -ExtendedLocationName "/subscriptions/d4ccd08b-0809-446d-a8b7-7af8a90109cd/resourceGroups/aio-validation-117832708/providers/Microsoft.ExtendedLocation/customLocations/location-117832708"
@@ -3966,8 +3953,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -4054,9 +4040,9 @@ end {
<#
.Synopsis
-create a DataflowResource
+Create a DataflowResource
.Description
-create a DataflowResource
+Create a DataflowResource
.Example
New-AzIoTOperationsServiceDataflow -InstanceName "aio-117832708" `
-Name "dataflow-name" `
@@ -4284,8 +4270,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -4372,9 +4357,9 @@ end {
<#
.Synopsis
-create a InstanceResource
+Create a InstanceResource
.Description
-create a InstanceResource
+Create a InstanceResource
.Example
New-AzIoTOperationsServiceInstance -Name "aio-instance-name" -ResourceGroupName "aio-validation-116116143" -ExtendedLocationName "/subscriptions/d4ccd08b-0809-446d-a8b7-7af8a90109cd/resourceGroups/aio-validation-116116143/providers/Microsoft.ExtendedLocation/customLocations/location-116116143" -Location "eastus2" -Description test -SchemaRegistryRefResourceId "/subscriptions/d4ccd08b-0809-446d-a8b7-7af8a90109cd/resourceGroups/aio-validation-116116143/providers/Microsoft.DeviceRegistry/schemaRegistries/aio-sr-dd5644c861"
@@ -4540,8 +4525,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -4822,8 +4806,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -5105,8 +5088,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -5388,8 +5370,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -5645,8 +5626,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -5901,8 +5881,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -6157,8 +6136,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -6441,8 +6419,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -6672,8 +6649,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -6759,9 +6735,9 @@ end {
<#
.Synopsis
-update a BrokerAuthenticationResource
+Update a BrokerAuthenticationResource
.Description
-update a BrokerAuthenticationResource
+Update a BrokerAuthenticationResource
.Example
Set-AzIoTOperationsServiceBrokerAuthentication `
-AuthenticationName "my-authn" `
@@ -6938,8 +6914,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -7026,9 +7001,9 @@ end {
<#
.Synopsis
-update a BrokerAuthorizationResource
+Update a BrokerAuthorizationResource
.Description
-update a BrokerAuthorizationResource
+Update a BrokerAuthorizationResource
.Example
Set-AzIoTOperationsServiceBrokerAuthorization -BrokerName "default" -InstanceName "aio-117832708" -ResourceGroupName "aio-validation-117832708"
@@ -7198,8 +7173,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -7286,9 +7260,9 @@ end {
<#
.Synopsis
-update a BrokerListenerResource
+Update a BrokerListenerResource
.Description
-update a BrokerListenerResource
+Update a BrokerListenerResource
.Example
Set-AzIoTOperationsServiceBrokerListener -BrokerName "my-broker" -InstanceName "aio-instance-name" -ListenerName my-listener -ResourceGroupName "aio-validation-116116143" -ExtendedLocationName "/subscriptions/d4ccd08b-0809-446d-a8b7-7af8a90109cd/resourceGroups/aio-validation-116116143/providers/Microsoft.ExtendedLocation/customLocations/location-116116143" -Port @(@{ port = 1883 })
@@ -7469,8 +7443,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -7557,9 +7530,9 @@ end {
<#
.Synopsis
-update a BrokerResource
+Update a BrokerResource
.Description
-update a BrokerResource
+Update a BrokerResource
.Example
Set-AzIoTOperationsServiceBroker -InstanceName "aio-instance-name" -Name "my-broker" -ResourceGroupName "aio-validation-116116143" -ExtendedLocationName "/subscriptions/d4ccd08b-0809-446d-a8b7-7af8a90109cd/resourceGroups/aio-validation-116116143/providers/Microsoft.ExtendedLocation/customLocations/location-116116143"
@@ -7931,8 +7904,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -8019,9 +7991,9 @@ end {
<#
.Synopsis
-update a DataflowEndpointResource
+Update a DataflowEndpointResource
.Description
-update a DataflowEndpointResource
+Update a DataflowEndpointResource
.Example
New-AzIoTOperationsServiceDataflowEndpoint -InstanceName "aio-instance-name" -Name "local-storage-endpoint" -ResourceGroupName "aio-validation-116116143" -ExtendedLocationName "/subscriptions/d4ccd08b-0809-446d-a8b7-7af8a90109cd/resourceGroups/aio-validation-116116143/providers/Microsoft.ExtendedLocation/customLocations/location-116116143" -EndpointType "LocalStorage" -LocalStorageSettingPersistentVolumeClaimRef "myPersistentVolumeClaim"
@@ -8408,8 +8380,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -8496,9 +8467,9 @@ end {
<#
.Synopsis
-update a DataflowProfileResource
+Update a DataflowProfileResource
.Description
-update a DataflowProfileResource
+Update a DataflowProfileResource
.Example
New-AzIoTOperationsServiceDataflowProfile -InstanceName "aio-instance-name" -Name dataflowprofile-name -ResourceGroupName "aio-validation-116116143" -ExtendedLocationName "/subscriptions/d4ccd08b-0809-446d-a8b7-7af8a90109cd/resourceGroups/aio-validation-116116143/providers/Microsoft.ExtendedLocation/customLocations/location-116116143"
@@ -8650,8 +8621,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -8738,9 +8708,9 @@ end {
<#
.Synopsis
-update a DataflowResource
+Update a DataflowResource
.Description
-update a DataflowResource
+Update a DataflowResource
.Example
Set-AzIoTOperationsServiceDataflow -InstanceName "aio-117832708" `
-Name "dataflow-name" `
@@ -8968,8 +8938,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -9056,9 +9025,9 @@ end {
<#
.Synopsis
-update a InstanceResource
+Update a InstanceResource
.Description
-update a InstanceResource
+Update a InstanceResource
.Example
Set-AzIoTOperationsServiceInstance -Name "aio-instance-name" -ResourceGroupName "aio-validation-116116143" -ExtendedLocationName "/subscriptions/d4ccd08b-0809-446d-a8b7-7af8a90109cd/resourceGroups/aio-validation-116116143/providers/Microsoft.ExtendedLocation/customLocations/location-116116143" -Location "eastus2" -Description "new-description" -SchemaRegistryRefResourceId "/subscriptions/d4ccd08b-0809-446d-a8b7-7af8a90109cd/resourceGroups/aio-validation-116116143/providers/Microsoft.DeviceRegistry/schemaRegistries/aio-sr-dd5644c861"
@@ -9224,8 +9193,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -9312,9 +9280,9 @@ end {
<#
.Synopsis
-update a BrokerAuthenticationResource
+Update a BrokerAuthenticationResource
.Description
-update a BrokerAuthenticationResource
+Update a BrokerAuthenticationResource
.Example
Update-AzIoTOperationsServiceBrokerAuthentication `
-AuthenticationName "my-authn" `
@@ -9534,8 +9502,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -9623,9 +9590,9 @@ end {
<#
.Synopsis
-update a BrokerAuthorizationResource
+Update a BrokerAuthorizationResource
.Description
-update a BrokerAuthorizationResource
+Update a BrokerAuthorizationResource
.Example
Update-AzIoTOperationsServiceBrokerAuthorization -BrokerName "default" -InstanceName "aio-117832708" -ResourceGroupName "aio-validation-117832708"
@@ -9839,8 +9806,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -9928,9 +9894,9 @@ end {
<#
.Synopsis
-update a BrokerListenerResource
+Update a BrokerListenerResource
.Description
-update a BrokerListenerResource
+Update a BrokerListenerResource
.Example
Update-AzIoTOperationsServiceBrokerListener -BrokerName "my-broker" -InstanceName "aio-instance-name" -ListenerName "my-listener" -ResourceGroupName "aio-validation-116116143" -Port @(@{ port = 1883 })
@@ -10155,8 +10121,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -10244,9 +10209,9 @@ end {
<#
.Synopsis
-update a BrokerResource
+Update a BrokerResource
.Description
-update a BrokerResource
+Update a BrokerResource
.Example
Update-AzIoTOperationsServiceBroker -InstanceName "aio-instance-name" -Name "my-broker" -ResourceGroupName "aio-validation-116116143"
@@ -10470,8 +10435,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -10558,9 +10522,9 @@ end {
<#
.Synopsis
-update a DataflowEndpointResource
+Update a DataflowEndpointResource
.Description
-update a DataflowEndpointResource
+Update a DataflowEndpointResource
.Example
Update-AzIoTOperationsServiceDataflowEndpoint -InstanceName "aio-instance-name" -Name "local-storage-endpoint" -ResourceGroupName "aio-validation-116116143" -EndpointType "LocalStorage" -LocalStorageSettingPersistentVolumeClaimRef "myPersistentVolumeClaim"
@@ -10970,8 +10934,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -11058,9 +11021,9 @@ end {
<#
.Synopsis
-update a DataflowProfileResource
+Update a DataflowProfileResource
.Description
-update a DataflowProfileResource
+Update a DataflowProfileResource
.Example
Update-AzIoTOperationsServiceDataflowProfile -InstanceName "aio-instance-name" -Name dataflowprofile-name -ResourceGroupName "aio-validation-116116143"
@@ -11239,8 +11202,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -11327,9 +11289,9 @@ end {
<#
.Synopsis
-update a DataflowResource
+Update a DataflowResource
.Description
-update a DataflowResource
+Update a DataflowResource
.Example
Update-AzIoTOperationsServiceDataflow -InstanceName "aio-117832708" `
-Name "dataflow-name" `
@@ -11600,8 +11562,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
@@ -11689,9 +11650,9 @@ end {
<#
.Synopsis
-update a InstanceResource
+Update a InstanceResource
.Description
-update a InstanceResource
+Update a InstanceResource
.Example
Update-AzIoTOperationsServiceInstance -Name "aio-instance-name" -ResourceGroupName "aio-validation-116116143" -Description "new-description" -SchemaRegistryRefResourceId "/subscriptions/d4ccd08b-0809-446d-a8b7-7af8a90109cd/resourceGroups/aio-validation-116116143/providers/Microsoft.DeviceRegistry/schemaRegistries/aio-sr-dd5644c861"
@@ -11858,8 +11819,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log 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/IoTOperationsService/IoTOperationsService.Autorest/exports/Remove-AzIoTOperationsServiceBroker.ps1 b/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Remove-AzIoTOperationsServiceBroker.ps1
index 742d5e6b18e2..90bb0a363e53 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Remove-AzIoTOperationsServiceBroker.ps1
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Remove-AzIoTOperationsServiceBroker.ps1
@@ -184,8 +184,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log 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/IoTOperationsService/IoTOperationsService.Autorest/exports/Remove-AzIoTOperationsServiceBrokerAuthentication.ps1 b/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Remove-AzIoTOperationsServiceBrokerAuthentication.ps1
index 2f8f6633d91a..b685ec61c7ea 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Remove-AzIoTOperationsServiceBrokerAuthentication.ps1
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Remove-AzIoTOperationsServiceBrokerAuthentication.ps1
@@ -210,8 +210,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log 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/IoTOperationsService/IoTOperationsService.Autorest/exports/Remove-AzIoTOperationsServiceBrokerAuthorization.ps1 b/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Remove-AzIoTOperationsServiceBrokerAuthorization.ps1
index cdea83f71367..e0561046a9c2 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Remove-AzIoTOperationsServiceBrokerAuthorization.ps1
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Remove-AzIoTOperationsServiceBrokerAuthorization.ps1
@@ -210,8 +210,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log 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/IoTOperationsService/IoTOperationsService.Autorest/exports/Remove-AzIoTOperationsServiceBrokerListener.ps1 b/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Remove-AzIoTOperationsServiceBrokerListener.ps1
index 066a4f960d72..493ee9a66a3d 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Remove-AzIoTOperationsServiceBrokerListener.ps1
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Remove-AzIoTOperationsServiceBrokerListener.ps1
@@ -210,8 +210,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log 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/IoTOperationsService/IoTOperationsService.Autorest/exports/Remove-AzIoTOperationsServiceDataflow.ps1 b/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Remove-AzIoTOperationsServiceDataflow.ps1
index 7e5ded8da116..5fbdf4e6d8fa 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Remove-AzIoTOperationsServiceDataflow.ps1
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Remove-AzIoTOperationsServiceDataflow.ps1
@@ -212,8 +212,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log 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/IoTOperationsService/IoTOperationsService.Autorest/exports/Remove-AzIoTOperationsServiceDataflowEndpoint.ps1 b/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Remove-AzIoTOperationsServiceDataflowEndpoint.ps1
index 9759a8277f51..af5117b283c3 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Remove-AzIoTOperationsServiceDataflowEndpoint.ps1
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Remove-AzIoTOperationsServiceDataflowEndpoint.ps1
@@ -184,8 +184,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log 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/IoTOperationsService/IoTOperationsService.Autorest/exports/Remove-AzIoTOperationsServiceDataflowProfile.ps1 b/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Remove-AzIoTOperationsServiceDataflowProfile.ps1
index 7258ba850b22..765c454bd9d3 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Remove-AzIoTOperationsServiceDataflowProfile.ps1
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Remove-AzIoTOperationsServiceDataflowProfile.ps1
@@ -184,8 +184,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log 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/IoTOperationsService/IoTOperationsService.Autorest/exports/Remove-AzIoTOperationsServiceInstance.ps1 b/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Remove-AzIoTOperationsServiceInstance.ps1
index 00437fe13ad0..50f08c59b150 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Remove-AzIoTOperationsServiceInstance.ps1
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Remove-AzIoTOperationsServiceInstance.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/IoTOperationsService/IoTOperationsService.Autorest/exports/Set-AzIoTOperationsServiceBroker.ps1 b/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Set-AzIoTOperationsServiceBroker.ps1
index 1b7645219aa4..66a5042e90ef 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Set-AzIoTOperationsServiceBroker.ps1
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Set-AzIoTOperationsServiceBroker.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-update a BrokerResource
+Update a BrokerResource
.Description
-update a BrokerResource
+Update a BrokerResource
.Example
Set-AzIoTOperationsServiceBroker -InstanceName "aio-instance-name" -Name "my-broker" -ResourceGroupName "aio-validation-116116143" -ExtendedLocationName "/subscriptions/d4ccd08b-0809-446d-a8b7-7af8a90109cd/resourceGroups/aio-validation-116116143/providers/Microsoft.ExtendedLocation/customLocations/location-116116143"
@@ -390,8 +390,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log 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/IoTOperationsService/IoTOperationsService.Autorest/exports/Set-AzIoTOperationsServiceBrokerAuthentication.ps1 b/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Set-AzIoTOperationsServiceBrokerAuthentication.ps1
index 5d1d36bc6de7..e856ee480261 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Set-AzIoTOperationsServiceBrokerAuthentication.ps1
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Set-AzIoTOperationsServiceBrokerAuthentication.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-update a BrokerAuthenticationResource
+Update a BrokerAuthenticationResource
.Description
-update a BrokerAuthenticationResource
+Update a BrokerAuthenticationResource
.Example
Set-AzIoTOperationsServiceBrokerAuthentication `
-AuthenticationName "my-authn" `
@@ -195,8 +195,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
diff --git a/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Set-AzIoTOperationsServiceBrokerAuthorization.ps1 b/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Set-AzIoTOperationsServiceBrokerAuthorization.ps1
index 3dbd7b9f5c05..1f63fe85e8e9 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Set-AzIoTOperationsServiceBrokerAuthorization.ps1
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Set-AzIoTOperationsServiceBrokerAuthorization.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-update a BrokerAuthorizationResource
+Update a BrokerAuthorizationResource
.Description
-update a BrokerAuthorizationResource
+Update a BrokerAuthorizationResource
.Example
Set-AzIoTOperationsServiceBrokerAuthorization -BrokerName "default" -InstanceName "aio-117832708" -ResourceGroupName "aio-validation-117832708"
@@ -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/IoTOperationsService/IoTOperationsService.Autorest/exports/Set-AzIoTOperationsServiceBrokerListener.ps1 b/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Set-AzIoTOperationsServiceBrokerListener.ps1
index 372b48c0df9f..fa3b8307a728 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Set-AzIoTOperationsServiceBrokerListener.ps1
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Set-AzIoTOperationsServiceBrokerListener.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-update a BrokerListenerResource
+Update a BrokerListenerResource
.Description
-update a BrokerListenerResource
+Update a BrokerListenerResource
.Example
Set-AzIoTOperationsServiceBrokerListener -BrokerName "my-broker" -InstanceName "aio-instance-name" -ListenerName my-listener -ResourceGroupName "aio-validation-116116143" -ExtendedLocationName "/subscriptions/d4ccd08b-0809-446d-a8b7-7af8a90109cd/resourceGroups/aio-validation-116116143/providers/Microsoft.ExtendedLocation/customLocations/location-116116143" -Port @(@{ port = 1883 })
@@ -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/IoTOperationsService/IoTOperationsService.Autorest/exports/Set-AzIoTOperationsServiceDataflow.ps1 b/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Set-AzIoTOperationsServiceDataflow.ps1
index 2f7c00365018..7dd4169a8935 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Set-AzIoTOperationsServiceDataflow.ps1
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Set-AzIoTOperationsServiceDataflow.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-update a DataflowResource
+Update a DataflowResource
.Description
-update a DataflowResource
+Update a DataflowResource
.Example
Set-AzIoTOperationsServiceDataflow -InstanceName "aio-117832708" `
-Name "dataflow-name" `
@@ -246,8 +246,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log 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/IoTOperationsService/IoTOperationsService.Autorest/exports/Set-AzIoTOperationsServiceDataflowEndpoint.ps1 b/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Set-AzIoTOperationsServiceDataflowEndpoint.ps1
index 5e350904fab4..299d7d1525c6 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Set-AzIoTOperationsServiceDataflowEndpoint.ps1
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Set-AzIoTOperationsServiceDataflowEndpoint.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-update a DataflowEndpointResource
+Update a DataflowEndpointResource
.Description
-update a DataflowEndpointResource
+Update a DataflowEndpointResource
.Example
New-AzIoTOperationsServiceDataflowEndpoint -InstanceName "aio-instance-name" -Name "local-storage-endpoint" -ResourceGroupName "aio-validation-116116143" -ExtendedLocationName "/subscriptions/d4ccd08b-0809-446d-a8b7-7af8a90109cd/resourceGroups/aio-validation-116116143/providers/Microsoft.ExtendedLocation/customLocations/location-116116143" -EndpointType "LocalStorage" -LocalStorageSettingPersistentVolumeClaimRef "myPersistentVolumeClaim"
@@ -405,8 +405,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log 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/IoTOperationsService/IoTOperationsService.Autorest/exports/Set-AzIoTOperationsServiceDataflowProfile.ps1 b/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Set-AzIoTOperationsServiceDataflowProfile.ps1
index c7393fe9cf6e..843a1b44b1c2 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Set-AzIoTOperationsServiceDataflowProfile.ps1
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Set-AzIoTOperationsServiceDataflowProfile.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-update a DataflowProfileResource
+Update a DataflowProfileResource
.Description
-update a DataflowProfileResource
+Update a DataflowProfileResource
.Example
New-AzIoTOperationsServiceDataflowProfile -InstanceName "aio-instance-name" -Name dataflowprofile-name -ResourceGroupName "aio-validation-116116143" -ExtendedLocationName "/subscriptions/d4ccd08b-0809-446d-a8b7-7af8a90109cd/resourceGroups/aio-validation-116116143/providers/Microsoft.ExtendedLocation/customLocations/location-116116143"
@@ -170,8 +170,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
+ throw "No Azure login detected. Please run 'Connect-AzAccount' to log in."
}
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
diff --git a/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Set-AzIoTOperationsServiceInstance.ps1 b/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Set-AzIoTOperationsServiceInstance.ps1
index f3be0ee69564..06fc2831e278 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Set-AzIoTOperationsServiceInstance.ps1
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Set-AzIoTOperationsServiceInstance.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-update a InstanceResource
+Update a InstanceResource
.Description
-update a InstanceResource
+Update a InstanceResource
.Example
Set-AzIoTOperationsServiceInstance -Name "aio-instance-name" -ResourceGroupName "aio-validation-116116143" -ExtendedLocationName "/subscriptions/d4ccd08b-0809-446d-a8b7-7af8a90109cd/resourceGroups/aio-validation-116116143/providers/Microsoft.ExtendedLocation/customLocations/location-116116143" -Location "eastus2" -Description "new-description" -SchemaRegistryRefResourceId "/subscriptions/d4ccd08b-0809-446d-a8b7-7af8a90109cd/resourceGroups/aio-validation-116116143/providers/Microsoft.DeviceRegistry/schemaRegistries/aio-sr-dd5644c861"
@@ -184,8 +184,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log 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/IoTOperationsService/IoTOperationsService.Autorest/exports/Update-AzIoTOperationsServiceBroker.ps1 b/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Update-AzIoTOperationsServiceBroker.ps1
index 49595beade1a..fe28d85f2214 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Update-AzIoTOperationsServiceBroker.ps1
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Update-AzIoTOperationsServiceBroker.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-update a BrokerResource
+Update a BrokerResource
.Description
-update a BrokerResource
+Update a BrokerResource
.Example
Update-AzIoTOperationsServiceBroker -InstanceName "aio-instance-name" -Name "my-broker" -ResourceGroupName "aio-validation-116116143"
@@ -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/IoTOperationsService/IoTOperationsService.Autorest/exports/Update-AzIoTOperationsServiceBrokerAuthentication.ps1 b/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Update-AzIoTOperationsServiceBrokerAuthentication.ps1
index 020d7d2419cb..e9afe82cebbb 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Update-AzIoTOperationsServiceBrokerAuthentication.ps1
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Update-AzIoTOperationsServiceBrokerAuthentication.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-update a BrokerAuthenticationResource
+Update a BrokerAuthenticationResource
.Description
-update a BrokerAuthenticationResource
+Update a BrokerAuthenticationResource
.Example
Update-AzIoTOperationsServiceBrokerAuthentication `
-AuthenticationName "my-authn" `
@@ -238,8 +238,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log 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/IoTOperationsService/IoTOperationsService.Autorest/exports/Update-AzIoTOperationsServiceBrokerAuthorization.ps1 b/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Update-AzIoTOperationsServiceBrokerAuthorization.ps1
index 45180cb75e5f..16d6047087e2 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Update-AzIoTOperationsServiceBrokerAuthorization.ps1
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Update-AzIoTOperationsServiceBrokerAuthorization.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-update a BrokerAuthorizationResource
+Update a BrokerAuthorizationResource
.Description
-update a BrokerAuthorizationResource
+Update a BrokerAuthorizationResource
.Example
Update-AzIoTOperationsServiceBrokerAuthorization -BrokerName "default" -InstanceName "aio-117832708" -ResourceGroupName "aio-validation-117832708"
@@ -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/IoTOperationsService/IoTOperationsService.Autorest/exports/Update-AzIoTOperationsServiceBrokerListener.ps1 b/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Update-AzIoTOperationsServiceBrokerListener.ps1
index 7232ab253044..df8f144e5370 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Update-AzIoTOperationsServiceBrokerListener.ps1
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Update-AzIoTOperationsServiceBrokerListener.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-update a BrokerListenerResource
+Update a BrokerListenerResource
.Description
-update a BrokerListenerResource
+Update a BrokerListenerResource
.Example
Update-AzIoTOperationsServiceBrokerListener -BrokerName "my-broker" -InstanceName "aio-instance-name" -ListenerName "my-listener" -ResourceGroupName "aio-validation-116116143" -Port @(@{ port = 1883 })
@@ -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/IoTOperationsService/IoTOperationsService.Autorest/exports/Update-AzIoTOperationsServiceDataflow.ps1 b/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Update-AzIoTOperationsServiceDataflow.ps1
index 53aa5c2512a2..3f4f8091623c 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Update-AzIoTOperationsServiceDataflow.ps1
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Update-AzIoTOperationsServiceDataflow.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-update a DataflowResource
+Update a DataflowResource
.Description
-update a DataflowResource
+Update a DataflowResource
.Example
Update-AzIoTOperationsServiceDataflow -InstanceName "aio-117832708" `
-Name "dataflow-name" `
@@ -289,8 +289,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log 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/IoTOperationsService/IoTOperationsService.Autorest/exports/Update-AzIoTOperationsServiceDataflowEndpoint.ps1 b/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Update-AzIoTOperationsServiceDataflowEndpoint.ps1
index 741e5233564c..82ba1a04aa62 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Update-AzIoTOperationsServiceDataflowEndpoint.ps1
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Update-AzIoTOperationsServiceDataflowEndpoint.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-update a DataflowEndpointResource
+Update a DataflowEndpointResource
.Description
-update a DataflowEndpointResource
+Update a DataflowEndpointResource
.Example
Update-AzIoTOperationsServiceDataflowEndpoint -InstanceName "aio-instance-name" -Name "local-storage-endpoint" -ResourceGroupName "aio-validation-116116143" -EndpointType "LocalStorage" -LocalStorageSettingPersistentVolumeClaimRef "myPersistentVolumeClaim"
@@ -428,8 +428,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log 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/IoTOperationsService/IoTOperationsService.Autorest/exports/Update-AzIoTOperationsServiceDataflowProfile.ps1 b/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Update-AzIoTOperationsServiceDataflowProfile.ps1
index 4dcb99d42b70..84fec7566c78 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Update-AzIoTOperationsServiceDataflowProfile.ps1
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Update-AzIoTOperationsServiceDataflowProfile.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-update a DataflowProfileResource
+Update a DataflowProfileResource
.Description
-update a DataflowProfileResource
+Update a DataflowProfileResource
.Example
Update-AzIoTOperationsServiceDataflowProfile -InstanceName "aio-instance-name" -Name dataflowprofile-name -ResourceGroupName "aio-validation-116116143"
@@ -197,8 +197,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log 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/IoTOperationsService/IoTOperationsService.Autorest/exports/Update-AzIoTOperationsServiceInstance.ps1 b/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Update-AzIoTOperationsServiceInstance.ps1
index 4d5472f70e53..548944fc0b7c 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Update-AzIoTOperationsServiceInstance.ps1
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Update-AzIoTOperationsServiceInstance.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-update a InstanceResource
+Update a InstanceResource
.Description
-update a InstanceResource
+Update a InstanceResource
.Example
Update-AzIoTOperationsServiceInstance -Name "aio-instance-name" -ResourceGroupName "aio-validation-116116143" -Description "new-description" -SchemaRegistryRefResourceId "/subscriptions/d4ccd08b-0809-446d-a8b7-7af8a90109cd/resourceGroups/aio-validation-116116143/providers/Microsoft.DeviceRegistry/schemaRegistries/aio-sr-dd5644c861"
@@ -185,8 +185,7 @@ begin {
$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log 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/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/AdvancedSettings.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/AdvancedSettings.cs
index 78ae0fb41dd3..b877b5cfb514 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/AdvancedSettings.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/AdvancedSettings.cs
@@ -72,13 +72,13 @@ public partial class AdvancedSettings :
Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IClientConfig Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IAdvancedSettingsInternal.Client { get => (this._client = this._client ?? new Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ClientConfig()); set { {_client = value;} } }
/// Internal Acessors for ClientSubscriberQueueLimit
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ISubscriberQueueLimit Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IAdvancedSettingsInternal.ClientSubscriberQueueLimit { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IClientConfigInternal)Client).SubscriberQueueLimit; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IClientConfigInternal)Client).SubscriberQueueLimit = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ISubscriberQueueLimit Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IAdvancedSettingsInternal.ClientSubscriberQueueLimit { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IClientConfigInternal)Client).SubscriberQueueLimit; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IClientConfigInternal)Client).SubscriberQueueLimit = value ?? null /* model class */; }
/// Internal Acessors for InternalCert
Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ICertManagerCertOptions Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IAdvancedSettingsInternal.InternalCert { get => (this._internalCert = this._internalCert ?? new Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.CertManagerCertOptions()); set { {_internalCert = value;} } }
/// Internal Acessors for InternalCertPrivateKey
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ICertManagerPrivateKey Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IAdvancedSettingsInternal.InternalCertPrivateKey { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ICertManagerCertOptionsInternal)InternalCert).PrivateKey; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ICertManagerCertOptionsInternal)InternalCert).PrivateKey = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ICertManagerPrivateKey Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IAdvancedSettingsInternal.InternalCertPrivateKey { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ICertManagerCertOptionsInternal)InternalCert).PrivateKey; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ICertManagerCertOptionsInternal)InternalCert).PrivateKey = value ?? null /* model class */; }
/// algorithm for private key.
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inlined)]
diff --git a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/BrokerAuthenticationResource.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/BrokerAuthenticationResource.cs
index 0c36aa37a622..84cd91e26f95 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/BrokerAuthenticationResource.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/BrokerAuthenticationResource.cs
@@ -35,7 +35,7 @@ public partial class BrokerAuthenticationResource :
/// The name of the extended location.
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inlined)]
- public string ExtendedLocationName { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IExtendedLocationInternal)ExtendedLocation).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IExtendedLocationInternal)ExtendedLocation).Name = value ; }
+ public string ExtendedLocationName { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IExtendedLocationInternal)ExtendedLocation).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IExtendedLocationInternal)ExtendedLocation).Name = value ?? null; }
/// Type of ExtendedLocation.
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inlined)]
@@ -51,25 +51,43 @@ public partial class BrokerAuthenticationResource :
Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IExtendedLocation Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerAuthenticationResourceInternal.ExtendedLocation { get => (this._extendedLocation = this._extendedLocation ?? new Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ExtendedLocation()); set { {_extendedLocation = value;} } }
/// Internal Acessors for ExtendedLocationType
- string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerAuthenticationResourceInternal.ExtendedLocationType { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IExtendedLocationInternal)ExtendedLocation).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IExtendedLocationInternal)ExtendedLocation).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerAuthenticationResourceInternal.ExtendedLocationType { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IExtendedLocationInternal)ExtendedLocation).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IExtendedLocationInternal)ExtendedLocation).Type = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerAuthenticationProperties Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerAuthenticationResourceInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.BrokerAuthenticationProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerAuthenticationResourceInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerAuthenticationPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerAuthenticationPropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerAuthenticationResourceInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerAuthenticationPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerAuthenticationPropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inherited)]
@@ -94,31 +112,31 @@ public partial class BrokerAuthenticationResource :
/// Azure Resource Manager metadata containing createdBy and modifiedBy information.
///
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inherited)]
- internal Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inherited)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inherited)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; }
///
/// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
@@ -165,7 +183,7 @@ public partial interface IBrokerAuthenticationResource :
System.Collections.Generic.List AuthenticationMethod { get; set; }
/// The name of the extended location.
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Runtime.Info(
- Required = true,
+ Required = false,
ReadOnly = false,
Read = true,
Create = true,
@@ -176,7 +194,7 @@ public partial interface IBrokerAuthenticationResource :
string ExtendedLocationName { get; set; }
/// Type of ExtendedLocation.
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Runtime.Info(
- Required = true,
+ Required = false,
ReadOnly = true,
Read = true,
Create = true,
diff --git a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/BrokerAuthenticatorMethodCustom.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/BrokerAuthenticatorMethodCustom.cs
index 33698e90e57d..06ee474d2166 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/BrokerAuthenticatorMethodCustom.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/BrokerAuthenticatorMethodCustom.cs
@@ -49,7 +49,7 @@ public partial class BrokerAuthenticatorMethodCustom :
Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerAuthenticatorCustomAuth Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerAuthenticatorMethodCustomInternal.Auth { get => (this._auth = this._auth ?? new Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.BrokerAuthenticatorCustomAuth()); set { {_auth = value;} } }
/// Internal Acessors for AuthX509
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IX509ManualCertificate Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerAuthenticatorMethodCustomInternal.AuthX509 { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerAuthenticatorCustomAuthInternal)Auth).X509; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerAuthenticatorCustomAuthInternal)Auth).X509 = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IX509ManualCertificate Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerAuthenticatorMethodCustomInternal.AuthX509 { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerAuthenticatorCustomAuthInternal)Auth).X509; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerAuthenticatorCustomAuthInternal)Auth).X509 = value ?? null /* model class */; }
///
/// Kubernetes secret containing an X.509 client certificate. This is a reference to the secret through an identifying name,
diff --git a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/BrokerAuthenticatorMethods.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/BrokerAuthenticatorMethods.cs
index 00211426026c..a91337202924 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/BrokerAuthenticatorMethods.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/BrokerAuthenticatorMethods.cs
@@ -44,13 +44,13 @@ public partial class BrokerAuthenticatorMethods :
public string Method { get => this._method; set => this._method = value; }
/// Internal Acessors for AuthX509
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IX509ManualCertificate Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerAuthenticatorMethodsInternal.AuthX509 { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerAuthenticatorMethodCustomInternal)CustomSetting).AuthX509; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerAuthenticatorMethodCustomInternal)CustomSetting).AuthX509 = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IX509ManualCertificate Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerAuthenticatorMethodsInternal.AuthX509 { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerAuthenticatorMethodCustomInternal)CustomSetting).AuthX509; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerAuthenticatorMethodCustomInternal)CustomSetting).AuthX509 = value ?? null /* model class */; }
/// Internal Acessors for CustomSetting
Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerAuthenticatorMethodCustom Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerAuthenticatorMethodsInternal.CustomSetting { get => (this._customSetting = this._customSetting ?? new Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.BrokerAuthenticatorMethodCustom()); set { {_customSetting = value;} } }
/// Internal Acessors for CustomSettingAuth
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerAuthenticatorCustomAuth Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerAuthenticatorMethodsInternal.CustomSettingAuth { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerAuthenticatorMethodCustomInternal)CustomSetting).Auth; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerAuthenticatorMethodCustomInternal)CustomSetting).Auth = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerAuthenticatorCustomAuth Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerAuthenticatorMethodsInternal.CustomSettingAuth { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerAuthenticatorMethodCustomInternal)CustomSetting).Auth; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerAuthenticatorMethodCustomInternal)CustomSetting).Auth = value ?? null /* model class */; }
/// Internal Acessors for ServiceAccountTokenSetting
Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerAuthenticatorMethodSat Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerAuthenticatorMethodsInternal.ServiceAccountTokenSetting { get => (this._serviceAccountTokenSetting = this._serviceAccountTokenSetting ?? new Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.BrokerAuthenticatorMethodSat()); set { {_serviceAccountTokenSetting = value;} } }
diff --git a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/BrokerAuthorizationResource.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/BrokerAuthorizationResource.cs
index 2cd99f140c8f..d842334f8767 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/BrokerAuthorizationResource.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/BrokerAuthorizationResource.cs
@@ -38,7 +38,7 @@ public partial class BrokerAuthorizationResource :
/// The name of the extended location.
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inlined)]
- public string ExtendedLocationName { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IExtendedLocationInternal)ExtendedLocation).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IExtendedLocationInternal)ExtendedLocation).Name = value ; }
+ public string ExtendedLocationName { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IExtendedLocationInternal)ExtendedLocation).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IExtendedLocationInternal)ExtendedLocation).Name = value ?? null; }
/// Type of ExtendedLocation.
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inlined)]
@@ -51,31 +51,49 @@ public partial class BrokerAuthorizationResource :
public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).Id; }
/// Internal Acessors for AuthorizationPolicy
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IAuthorizationConfig Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerAuthorizationResourceInternal.AuthorizationPolicy { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerAuthorizationPropertiesInternal)Property).AuthorizationPolicy; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerAuthorizationPropertiesInternal)Property).AuthorizationPolicy = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IAuthorizationConfig Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerAuthorizationResourceInternal.AuthorizationPolicy { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerAuthorizationPropertiesInternal)Property).AuthorizationPolicy; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerAuthorizationPropertiesInternal)Property).AuthorizationPolicy = value ?? null /* model class */; }
/// Internal Acessors for ExtendedLocation
Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IExtendedLocation Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerAuthorizationResourceInternal.ExtendedLocation { get => (this._extendedLocation = this._extendedLocation ?? new Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ExtendedLocation()); set { {_extendedLocation = value;} } }
/// Internal Acessors for ExtendedLocationType
- string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerAuthorizationResourceInternal.ExtendedLocationType { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IExtendedLocationInternal)ExtendedLocation).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IExtendedLocationInternal)ExtendedLocation).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerAuthorizationResourceInternal.ExtendedLocationType { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IExtendedLocationInternal)ExtendedLocation).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IExtendedLocationInternal)ExtendedLocation).Type = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerAuthorizationProperties Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerAuthorizationResourceInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.BrokerAuthorizationProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerAuthorizationResourceInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerAuthorizationPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerAuthorizationPropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerAuthorizationResourceInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerAuthorizationPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerAuthorizationPropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inherited)]
@@ -100,31 +118,31 @@ public partial class BrokerAuthorizationResource :
/// Azure Resource Manager metadata containing createdBy and modifiedBy information.
///
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inherited)]
- internal Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inherited)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inherited)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; }
///
/// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
@@ -182,7 +200,7 @@ public partial interface IBrokerAuthorizationResource :
System.Collections.Generic.List AuthorizationPolicyRule { get; set; }
/// The name of the extended location.
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Runtime.Info(
- Required = true,
+ Required = false,
ReadOnly = false,
Read = true,
Create = true,
@@ -193,7 +211,7 @@ public partial interface IBrokerAuthorizationResource :
string ExtendedLocationName { get; set; }
/// Type of ExtendedLocation.
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Runtime.Info(
- Required = true,
+ Required = false,
ReadOnly = true,
Read = true,
Create = true,
diff --git a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/BrokerDiagnostics.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/BrokerDiagnostics.cs
index 91c09c5b49c2..a22a013c82f9 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/BrokerDiagnostics.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/BrokerDiagnostics.cs
@@ -48,7 +48,7 @@ public partial class BrokerDiagnostics :
Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ITraces Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerDiagnosticsInternal.Trace { get => (this._trace = this._trace ?? new Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.Traces()); set { {_trace = value;} } }
/// Internal Acessors for TraceSelfTracing
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ISelfTracing Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerDiagnosticsInternal.TraceSelfTracing { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ITracesInternal)Trace).SelfTracing; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ITracesInternal)Trace).SelfTracing = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ISelfTracing Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerDiagnosticsInternal.TraceSelfTracing { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ITracesInternal)Trace).SelfTracing; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ITracesInternal)Trace).SelfTracing = value ?? null /* model class */; }
/// Backing field for property.
private Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ISelfCheck _selfCheck;
diff --git a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/BrokerListenerResource.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/BrokerListenerResource.cs
index 6b339600f592..a8977fa1c8b2 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/BrokerListenerResource.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/BrokerListenerResource.cs
@@ -28,7 +28,7 @@ public partial class BrokerListenerResource :
/// The name of the extended location.
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inlined)]
- public string ExtendedLocationName { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IExtendedLocationInternal)ExtendedLocation).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IExtendedLocationInternal)ExtendedLocation).Name = value ; }
+ public string ExtendedLocationName { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IExtendedLocationInternal)ExtendedLocation).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IExtendedLocationInternal)ExtendedLocation).Name = value ?? null; }
/// Type of ExtendedLocation.
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inlined)]
@@ -44,25 +44,43 @@ public partial class BrokerListenerResource :
Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IExtendedLocation Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerListenerResourceInternal.ExtendedLocation { get => (this._extendedLocation = this._extendedLocation ?? new Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ExtendedLocation()); set { {_extendedLocation = value;} } }
/// Internal Acessors for ExtendedLocationType
- string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerListenerResourceInternal.ExtendedLocationType { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IExtendedLocationInternal)ExtendedLocation).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IExtendedLocationInternal)ExtendedLocation).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerListenerResourceInternal.ExtendedLocationType { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IExtendedLocationInternal)ExtendedLocation).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IExtendedLocationInternal)ExtendedLocation).Type = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerListenerProperties Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerListenerResourceInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.BrokerListenerProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerListenerResourceInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerListenerPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerListenerPropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerListenerResourceInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerListenerPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerListenerPropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inherited)]
@@ -99,31 +117,31 @@ public partial class BrokerListenerResource :
/// Azure Resource Manager metadata containing createdBy and modifiedBy information.
///
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inherited)]
- internal Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inherited)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inherited)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; }
///
/// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
@@ -156,7 +174,7 @@ public partial interface IBrokerListenerResource :
{
/// The name of the extended location.
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Runtime.Info(
- Required = true,
+ Required = false,
ReadOnly = false,
Read = true,
Create = true,
@@ -167,7 +185,7 @@ public partial interface IBrokerListenerResource :
string ExtendedLocationName { get; set; }
/// Type of ExtendedLocation.
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Runtime.Info(
- Required = true,
+ Required = false,
ReadOnly = true,
Read = true,
Create = true,
diff --git a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/BrokerProperties.PowerShell.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/BrokerProperties.PowerShell.cs
index c4b1e594d6d2..1782593b51e4 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/BrokerProperties.PowerShell.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/BrokerProperties.PowerShell.cs
@@ -142,11 +142,11 @@ internal BrokerProperties(global::System.Collections.IDictionary content)
}
if (content.Contains("BackendChainPartition"))
{
- ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal)this).BackendChainPartition = (int) content.GetValueForProperty("BackendChainPartition",((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal)this).BackendChainPartition, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int)));
+ ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal)this).BackendChainPartition = (int?) content.GetValueForProperty("BackendChainPartition",((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal)this).BackendChainPartition, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int)));
}
if (content.Contains("BackendChainRedundancyFactor"))
{
- ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal)this).BackendChainRedundancyFactor = (int) content.GetValueForProperty("BackendChainRedundancyFactor",((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal)this).BackendChainRedundancyFactor, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int)));
+ ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal)this).BackendChainRedundancyFactor = (int?) content.GetValueForProperty("BackendChainRedundancyFactor",((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal)this).BackendChainRedundancyFactor, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int)));
}
if (content.Contains("BackendChainWorker"))
{
@@ -154,7 +154,7 @@ internal BrokerProperties(global::System.Collections.IDictionary content)
}
if (content.Contains("FrontendReplica"))
{
- ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal)this).FrontendReplica = (int) content.GetValueForProperty("FrontendReplica",((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal)this).FrontendReplica, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int)));
+ ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal)this).FrontendReplica = (int?) content.GetValueForProperty("FrontendReplica",((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal)this).FrontendReplica, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int)));
}
if (content.Contains("FrontendWorker"))
{
@@ -343,11 +343,11 @@ internal BrokerProperties(global::System.Management.Automation.PSObject content)
}
if (content.Contains("BackendChainPartition"))
{
- ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal)this).BackendChainPartition = (int) content.GetValueForProperty("BackendChainPartition",((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal)this).BackendChainPartition, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int)));
+ ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal)this).BackendChainPartition = (int?) content.GetValueForProperty("BackendChainPartition",((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal)this).BackendChainPartition, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int)));
}
if (content.Contains("BackendChainRedundancyFactor"))
{
- ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal)this).BackendChainRedundancyFactor = (int) content.GetValueForProperty("BackendChainRedundancyFactor",((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal)this).BackendChainRedundancyFactor, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int)));
+ ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal)this).BackendChainRedundancyFactor = (int?) content.GetValueForProperty("BackendChainRedundancyFactor",((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal)this).BackendChainRedundancyFactor, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int)));
}
if (content.Contains("BackendChainWorker"))
{
@@ -355,7 +355,7 @@ internal BrokerProperties(global::System.Management.Automation.PSObject content)
}
if (content.Contains("FrontendReplica"))
{
- ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal)this).FrontendReplica = (int) content.GetValueForProperty("FrontendReplica",((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal)this).FrontendReplica, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int)));
+ ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal)this).FrontendReplica = (int?) content.GetValueForProperty("FrontendReplica",((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal)this).FrontendReplica, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int)));
}
if (content.Contains("FrontendWorker"))
{
diff --git a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/BrokerProperties.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/BrokerProperties.cs
index bd5bec010d2b..92e74c760c3a 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/BrokerProperties.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/BrokerProperties.cs
@@ -133,49 +133,49 @@ public partial class BrokerProperties :
Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IAdvancedSettings Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal.Advanced { get => (this._advanced = this._advanced ?? new Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.AdvancedSettings()); set { {_advanced = value;} } }
/// Internal Acessors for AdvancedClient
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IClientConfig Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal.AdvancedClient { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IAdvancedSettingsInternal)Advanced).Client; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IAdvancedSettingsInternal)Advanced).Client = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IClientConfig Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal.AdvancedClient { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IAdvancedSettingsInternal)Advanced).Client; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IAdvancedSettingsInternal)Advanced).Client = value ?? null /* model class */; }
/// Internal Acessors for AdvancedInternalCert
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ICertManagerCertOptions Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal.AdvancedInternalCert { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IAdvancedSettingsInternal)Advanced).InternalCert; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IAdvancedSettingsInternal)Advanced).InternalCert = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ICertManagerCertOptions Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal.AdvancedInternalCert { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IAdvancedSettingsInternal)Advanced).InternalCert; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IAdvancedSettingsInternal)Advanced).InternalCert = value ?? null /* model class */; }
/// Internal Acessors for Cardinality
Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ICardinality Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal.Cardinality { get => (this._cardinality = this._cardinality ?? new Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.Cardinality()); set { {_cardinality = value;} } }
/// Internal Acessors for CardinalityBackendChain
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBackendChain Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal.CardinalityBackendChain { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ICardinalityInternal)Cardinality).BackendChain; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ICardinalityInternal)Cardinality).BackendChain = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBackendChain Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal.CardinalityBackendChain { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ICardinalityInternal)Cardinality).BackendChain; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ICardinalityInternal)Cardinality).BackendChain = value ?? null /* model class */; }
/// Internal Acessors for CardinalityFrontend
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IFrontend Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal.CardinalityFrontend { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ICardinalityInternal)Cardinality).Frontend; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ICardinalityInternal)Cardinality).Frontend = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IFrontend Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal.CardinalityFrontend { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ICardinalityInternal)Cardinality).Frontend; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ICardinalityInternal)Cardinality).Frontend = value ?? null /* model class */; }
/// Internal Acessors for ClientSubscriberQueueLimit
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ISubscriberQueueLimit Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal.ClientSubscriberQueueLimit { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IAdvancedSettingsInternal)Advanced).ClientSubscriberQueueLimit; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IAdvancedSettingsInternal)Advanced).ClientSubscriberQueueLimit = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ISubscriberQueueLimit Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal.ClientSubscriberQueueLimit { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IAdvancedSettingsInternal)Advanced).ClientSubscriberQueueLimit; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IAdvancedSettingsInternal)Advanced).ClientSubscriberQueueLimit = value ?? null /* model class */; }
/// Internal Acessors for Diagnostic
Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerDiagnostics Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal.Diagnostic { get => (this._diagnostic = this._diagnostic ?? new Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.BrokerDiagnostics()); set { {_diagnostic = value;} } }
/// Internal Acessors for DiagnosticLog
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDiagnosticsLogs Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal.DiagnosticLog { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerDiagnosticsInternal)Diagnostic).Log; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerDiagnosticsInternal)Diagnostic).Log = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDiagnosticsLogs Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal.DiagnosticLog { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerDiagnosticsInternal)Diagnostic).Log; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerDiagnosticsInternal)Diagnostic).Log = value ?? null /* model class */; }
/// Internal Acessors for DiagnosticMetric
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IMetrics Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal.DiagnosticMetric { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerDiagnosticsInternal)Diagnostic).Metric; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerDiagnosticsInternal)Diagnostic).Metric = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IMetrics Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal.DiagnosticMetric { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerDiagnosticsInternal)Diagnostic).Metric; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerDiagnosticsInternal)Diagnostic).Metric = value ?? null /* model class */; }
/// Internal Acessors for DiagnosticSelfCheck
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ISelfCheck Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal.DiagnosticSelfCheck { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerDiagnosticsInternal)Diagnostic).SelfCheck; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerDiagnosticsInternal)Diagnostic).SelfCheck = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ISelfCheck Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal.DiagnosticSelfCheck { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerDiagnosticsInternal)Diagnostic).SelfCheck; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerDiagnosticsInternal)Diagnostic).SelfCheck = value ?? null /* model class */; }
/// Internal Acessors for DiagnosticTrace
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ITraces Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal.DiagnosticTrace { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerDiagnosticsInternal)Diagnostic).Trace; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerDiagnosticsInternal)Diagnostic).Trace = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ITraces Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal.DiagnosticTrace { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerDiagnosticsInternal)Diagnostic).Trace; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerDiagnosticsInternal)Diagnostic).Trace = value ?? null /* model class */; }
/// Internal Acessors for GenerateResourceLimit
Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IGenerateResourceLimits Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal.GenerateResourceLimit { get => (this._generateResourceLimit = this._generateResourceLimit ?? new Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.GenerateResourceLimits()); set { {_generateResourceLimit = value;} } }
/// Internal Acessors for InternalCertPrivateKey
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ICertManagerPrivateKey Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal.InternalCertPrivateKey { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IAdvancedSettingsInternal)Advanced).InternalCertPrivateKey; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IAdvancedSettingsInternal)Advanced).InternalCertPrivateKey = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ICertManagerPrivateKey Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal.InternalCertPrivateKey { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IAdvancedSettingsInternal)Advanced).InternalCertPrivateKey; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IAdvancedSettingsInternal)Advanced).InternalCertPrivateKey = value ?? null /* model class */; }
/// Internal Acessors for ProvisioningState
string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal.ProvisioningState { get => this._provisioningState; set { {_provisioningState = value;} } }
/// Internal Acessors for TraceSelfTracing
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ISelfTracing Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal.TraceSelfTracing { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerDiagnosticsInternal)Diagnostic).TraceSelfTracing; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerDiagnosticsInternal)Diagnostic).TraceSelfTracing = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ISelfTracing Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal.TraceSelfTracing { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerDiagnosticsInternal)Diagnostic).TraceSelfTracing; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerDiagnosticsInternal)Diagnostic).TraceSelfTracing = value ?? null /* model class */; }
/// algorithm for private key.
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inlined)]
diff --git a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/BrokerResource.PowerShell.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/BrokerResource.PowerShell.cs
index 3cf38f67d579..17a33693cb44 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/BrokerResource.PowerShell.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/BrokerResource.PowerShell.cs
@@ -198,11 +198,11 @@ internal BrokerResource(global::System.Collections.IDictionary content)
}
if (content.Contains("BackendChainPartition"))
{
- ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerResourceInternal)this).BackendChainPartition = (int) content.GetValueForProperty("BackendChainPartition",((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerResourceInternal)this).BackendChainPartition, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int)));
+ ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerResourceInternal)this).BackendChainPartition = (int?) content.GetValueForProperty("BackendChainPartition",((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerResourceInternal)this).BackendChainPartition, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int)));
}
if (content.Contains("BackendChainRedundancyFactor"))
{
- ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerResourceInternal)this).BackendChainRedundancyFactor = (int) content.GetValueForProperty("BackendChainRedundancyFactor",((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerResourceInternal)this).BackendChainRedundancyFactor, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int)));
+ ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerResourceInternal)this).BackendChainRedundancyFactor = (int?) content.GetValueForProperty("BackendChainRedundancyFactor",((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerResourceInternal)this).BackendChainRedundancyFactor, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int)));
}
if (content.Contains("BackendChainWorker"))
{
@@ -210,7 +210,7 @@ internal BrokerResource(global::System.Collections.IDictionary content)
}
if (content.Contains("FrontendReplica"))
{
- ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerResourceInternal)this).FrontendReplica = (int) content.GetValueForProperty("FrontendReplica",((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerResourceInternal)this).FrontendReplica, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int)));
+ ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerResourceInternal)this).FrontendReplica = (int?) content.GetValueForProperty("FrontendReplica",((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerResourceInternal)this).FrontendReplica, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int)));
}
if (content.Contains("FrontendWorker"))
{
@@ -455,11 +455,11 @@ internal BrokerResource(global::System.Management.Automation.PSObject content)
}
if (content.Contains("BackendChainPartition"))
{
- ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerResourceInternal)this).BackendChainPartition = (int) content.GetValueForProperty("BackendChainPartition",((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerResourceInternal)this).BackendChainPartition, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int)));
+ ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerResourceInternal)this).BackendChainPartition = (int?) content.GetValueForProperty("BackendChainPartition",((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerResourceInternal)this).BackendChainPartition, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int)));
}
if (content.Contains("BackendChainRedundancyFactor"))
{
- ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerResourceInternal)this).BackendChainRedundancyFactor = (int) content.GetValueForProperty("BackendChainRedundancyFactor",((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerResourceInternal)this).BackendChainRedundancyFactor, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int)));
+ ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerResourceInternal)this).BackendChainRedundancyFactor = (int?) content.GetValueForProperty("BackendChainRedundancyFactor",((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerResourceInternal)this).BackendChainRedundancyFactor, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int)));
}
if (content.Contains("BackendChainWorker"))
{
@@ -467,7 +467,7 @@ internal BrokerResource(global::System.Management.Automation.PSObject content)
}
if (content.Contains("FrontendReplica"))
{
- ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerResourceInternal)this).FrontendReplica = (int) content.GetValueForProperty("FrontendReplica",((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerResourceInternal)this).FrontendReplica, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int)));
+ ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerResourceInternal)this).FrontendReplica = (int?) content.GetValueForProperty("FrontendReplica",((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerResourceInternal)this).FrontendReplica, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int)));
}
if (content.Contains("FrontendWorker"))
{
diff --git a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/BrokerResource.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/BrokerResource.cs
index 897e497627a9..bdaddac65ee4 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/BrokerResource.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/BrokerResource.cs
@@ -68,7 +68,7 @@ public partial class BrokerResource :
/// The name of the extended location.
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inlined)]
- public string ExtendedLocationName { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IExtendedLocationInternal)ExtendedLocation).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IExtendedLocationInternal)ExtendedLocation).Name = value ; }
+ public string ExtendedLocationName { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IExtendedLocationInternal)ExtendedLocation).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IExtendedLocationInternal)ExtendedLocation).Name = value ?? null; }
/// Type of ExtendedLocation.
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inlined)]
@@ -119,73 +119,91 @@ public partial class BrokerResource :
public int? MetricPrometheusPort { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal)Property).MetricPrometheusPort; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal)Property).MetricPrometheusPort = value ?? default(int); }
/// Internal Acessors for Advanced
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IAdvancedSettings Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerResourceInternal.Advanced { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal)Property).Advanced; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal)Property).Advanced = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IAdvancedSettings Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerResourceInternal.Advanced { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal)Property).Advanced; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal)Property).Advanced = value ?? null /* model class */; }
/// Internal Acessors for AdvancedClient
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IClientConfig Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerResourceInternal.AdvancedClient { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal)Property).AdvancedClient; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal)Property).AdvancedClient = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IClientConfig Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerResourceInternal.AdvancedClient { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal)Property).AdvancedClient; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal)Property).AdvancedClient = value ?? null /* model class */; }
/// Internal Acessors for AdvancedInternalCert
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ICertManagerCertOptions Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerResourceInternal.AdvancedInternalCert { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal)Property).AdvancedInternalCert; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal)Property).AdvancedInternalCert = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ICertManagerCertOptions Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerResourceInternal.AdvancedInternalCert { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal)Property).AdvancedInternalCert; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal)Property).AdvancedInternalCert = value ?? null /* model class */; }
/// Internal Acessors for Cardinality
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ICardinality Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerResourceInternal.Cardinality { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal)Property).Cardinality; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal)Property).Cardinality = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ICardinality Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerResourceInternal.Cardinality { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal)Property).Cardinality; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal)Property).Cardinality = value ?? null /* model class */; }
/// Internal Acessors for CardinalityBackendChain
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBackendChain Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerResourceInternal.CardinalityBackendChain { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal)Property).CardinalityBackendChain; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal)Property).CardinalityBackendChain = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBackendChain Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerResourceInternal.CardinalityBackendChain { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal)Property).CardinalityBackendChain; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal)Property).CardinalityBackendChain = value ?? null /* model class */; }
/// Internal Acessors for CardinalityFrontend
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IFrontend Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerResourceInternal.CardinalityFrontend { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal)Property).CardinalityFrontend; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal)Property).CardinalityFrontend = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IFrontend Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerResourceInternal.CardinalityFrontend { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal)Property).CardinalityFrontend; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal)Property).CardinalityFrontend = value ?? null /* model class */; }
/// Internal Acessors for ClientSubscriberQueueLimit
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ISubscriberQueueLimit Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerResourceInternal.ClientSubscriberQueueLimit { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal)Property).ClientSubscriberQueueLimit; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal)Property).ClientSubscriberQueueLimit = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ISubscriberQueueLimit Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerResourceInternal.ClientSubscriberQueueLimit { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal)Property).ClientSubscriberQueueLimit; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal)Property).ClientSubscriberQueueLimit = value ?? null /* model class */; }
/// Internal Acessors for Diagnostic
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerDiagnostics Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerResourceInternal.Diagnostic { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal)Property).Diagnostic; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal)Property).Diagnostic = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerDiagnostics Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerResourceInternal.Diagnostic { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal)Property).Diagnostic; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal)Property).Diagnostic = value ?? null /* model class */; }
/// Internal Acessors for DiagnosticLog
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDiagnosticsLogs Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerResourceInternal.DiagnosticLog { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal)Property).DiagnosticLog; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal)Property).DiagnosticLog = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDiagnosticsLogs Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerResourceInternal.DiagnosticLog { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal)Property).DiagnosticLog; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal)Property).DiagnosticLog = value ?? null /* model class */; }
/// Internal Acessors for DiagnosticMetric
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IMetrics Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerResourceInternal.DiagnosticMetric { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal)Property).DiagnosticMetric; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal)Property).DiagnosticMetric = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IMetrics Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerResourceInternal.DiagnosticMetric { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal)Property).DiagnosticMetric; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal)Property).DiagnosticMetric = value ?? null /* model class */; }
/// Internal Acessors for DiagnosticSelfCheck
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ISelfCheck Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerResourceInternal.DiagnosticSelfCheck { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal)Property).DiagnosticSelfCheck; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal)Property).DiagnosticSelfCheck = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ISelfCheck Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerResourceInternal.DiagnosticSelfCheck { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal)Property).DiagnosticSelfCheck; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal)Property).DiagnosticSelfCheck = value ?? null /* model class */; }
/// Internal Acessors for DiagnosticTrace
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ITraces Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerResourceInternal.DiagnosticTrace { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal)Property).DiagnosticTrace; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal)Property).DiagnosticTrace = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ITraces Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerResourceInternal.DiagnosticTrace { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal)Property).DiagnosticTrace; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal)Property).DiagnosticTrace = value ?? null /* model class */; }
/// Internal Acessors for ExtendedLocation
Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IExtendedLocation Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerResourceInternal.ExtendedLocation { get => (this._extendedLocation = this._extendedLocation ?? new Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ExtendedLocation()); set { {_extendedLocation = value;} } }
/// Internal Acessors for ExtendedLocationType
- string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerResourceInternal.ExtendedLocationType { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IExtendedLocationInternal)ExtendedLocation).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IExtendedLocationInternal)ExtendedLocation).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerResourceInternal.ExtendedLocationType { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IExtendedLocationInternal)ExtendedLocation).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IExtendedLocationInternal)ExtendedLocation).Type = value ?? null; }
/// Internal Acessors for GenerateResourceLimit
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IGenerateResourceLimits Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerResourceInternal.GenerateResourceLimit { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal)Property).GenerateResourceLimit; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal)Property).GenerateResourceLimit = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IGenerateResourceLimits Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerResourceInternal.GenerateResourceLimit { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal)Property).GenerateResourceLimit; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal)Property).GenerateResourceLimit = value ?? null /* model class */; }
/// Internal Acessors for InternalCertPrivateKey
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ICertManagerPrivateKey Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerResourceInternal.InternalCertPrivateKey { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal)Property).InternalCertPrivateKey; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal)Property).InternalCertPrivateKey = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ICertManagerPrivateKey Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerResourceInternal.InternalCertPrivateKey { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal)Property).InternalCertPrivateKey; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal)Property).InternalCertPrivateKey = value ?? null /* model class */; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerProperties Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerResourceInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.BrokerProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerResourceInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerResourceInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for TraceSelfTracing
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ISelfTracing Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerResourceInternal.TraceSelfTracing { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal)Property).TraceSelfTracing; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal)Property).TraceSelfTracing = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ISelfTracing Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerResourceInternal.TraceSelfTracing { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal)Property).TraceSelfTracing; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerPropertiesInternal)Property).TraceSelfTracing = value ?? null /* model class */; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inherited)]
@@ -246,31 +264,31 @@ public partial class BrokerResource :
/// Azure Resource Manager metadata containing createdBy and modifiedBy information.
///
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inherited)]
- internal Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inherited)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inherited)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; }
/// The cache size in megabytes.
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inlined)]
@@ -426,7 +444,7 @@ public partial interface IBrokerResource :
Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDiskBackedMessageBuffer DiskBackedMessageBuffer { get; set; }
/// The name of the extended location.
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Runtime.Info(
- Required = true,
+ Required = false,
ReadOnly = false,
Read = true,
Create = true,
@@ -437,7 +455,7 @@ public partial interface IBrokerResource :
string ExtendedLocationName { get; set; }
/// Type of ExtendedLocation.
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Runtime.Info(
- Required = true,
+ Required = false,
ReadOnly = true,
Read = true,
Create = true,
diff --git a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/DataflowEndpointDataExplorer.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/DataflowEndpointDataExplorer.cs
index eea1cbd9a532..b9978e95038f 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/DataflowEndpointDataExplorer.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/DataflowEndpointDataExplorer.cs
@@ -61,10 +61,10 @@ public partial class DataflowEndpointDataExplorer :
Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointDataExplorerAuthentication Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointDataExplorerInternal.Authentication { get => (this._authentication = this._authentication ?? new Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.DataflowEndpointDataExplorerAuthentication()); set { {_authentication = value;} } }
/// Internal Acessors for AuthenticationSystemAssignedManagedIdentitySetting
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointAuthenticationSystemAssignedManagedIdentity Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointDataExplorerInternal.AuthenticationSystemAssignedManagedIdentitySetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointDataExplorerAuthenticationInternal)Authentication).SystemAssignedManagedIdentitySetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointDataExplorerAuthenticationInternal)Authentication).SystemAssignedManagedIdentitySetting = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointAuthenticationSystemAssignedManagedIdentity Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointDataExplorerInternal.AuthenticationSystemAssignedManagedIdentitySetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointDataExplorerAuthenticationInternal)Authentication).SystemAssignedManagedIdentitySetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointDataExplorerAuthenticationInternal)Authentication).SystemAssignedManagedIdentitySetting = value ?? null /* model class */; }
/// Internal Acessors for AuthenticationUserAssignedManagedIdentitySetting
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointAuthenticationUserAssignedManagedIdentity Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointDataExplorerInternal.AuthenticationUserAssignedManagedIdentitySetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointDataExplorerAuthenticationInternal)Authentication).UserAssignedManagedIdentitySetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointDataExplorerAuthenticationInternal)Authentication).UserAssignedManagedIdentitySetting = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointAuthenticationUserAssignedManagedIdentity Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointDataExplorerInternal.AuthenticationUserAssignedManagedIdentitySetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointDataExplorerAuthenticationInternal)Authentication).UserAssignedManagedIdentitySetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointDataExplorerAuthenticationInternal)Authentication).UserAssignedManagedIdentitySetting = value ?? null /* model class */; }
/// Internal Acessors for Batching
Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBatchingConfiguration Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointDataExplorerInternal.Batching { get => (this._batching = this._batching ?? new Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.BatchingConfiguration()); set { {_batching = value;} } }
diff --git a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/DataflowEndpointDataLakeStorage.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/DataflowEndpointDataLakeStorage.cs
index 7f5b187dbd07..ffef754f812b 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/DataflowEndpointDataLakeStorage.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/DataflowEndpointDataLakeStorage.cs
@@ -56,13 +56,13 @@ public partial class DataflowEndpointDataLakeStorage :
Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointDataLakeStorageAuthentication Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointDataLakeStorageInternal.Authentication { get => (this._authentication = this._authentication ?? new Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.DataflowEndpointDataLakeStorageAuthentication()); set { {_authentication = value;} } }
/// Internal Acessors for AuthenticationAccessTokenSetting
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointAuthenticationAccessToken Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointDataLakeStorageInternal.AuthenticationAccessTokenSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointDataLakeStorageAuthenticationInternal)Authentication).AccessTokenSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointDataLakeStorageAuthenticationInternal)Authentication).AccessTokenSetting = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointAuthenticationAccessToken Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointDataLakeStorageInternal.AuthenticationAccessTokenSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointDataLakeStorageAuthenticationInternal)Authentication).AccessTokenSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointDataLakeStorageAuthenticationInternal)Authentication).AccessTokenSetting = value ?? null /* model class */; }
/// Internal Acessors for AuthenticationSystemAssignedManagedIdentitySetting
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointAuthenticationSystemAssignedManagedIdentity Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointDataLakeStorageInternal.AuthenticationSystemAssignedManagedIdentitySetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointDataLakeStorageAuthenticationInternal)Authentication).SystemAssignedManagedIdentitySetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointDataLakeStorageAuthenticationInternal)Authentication).SystemAssignedManagedIdentitySetting = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointAuthenticationSystemAssignedManagedIdentity Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointDataLakeStorageInternal.AuthenticationSystemAssignedManagedIdentitySetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointDataLakeStorageAuthenticationInternal)Authentication).SystemAssignedManagedIdentitySetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointDataLakeStorageAuthenticationInternal)Authentication).SystemAssignedManagedIdentitySetting = value ?? null /* model class */; }
/// Internal Acessors for AuthenticationUserAssignedManagedIdentitySetting
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointAuthenticationUserAssignedManagedIdentity Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointDataLakeStorageInternal.AuthenticationUserAssignedManagedIdentitySetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointDataLakeStorageAuthenticationInternal)Authentication).UserAssignedManagedIdentitySetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointDataLakeStorageAuthenticationInternal)Authentication).UserAssignedManagedIdentitySetting = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointAuthenticationUserAssignedManagedIdentity Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointDataLakeStorageInternal.AuthenticationUserAssignedManagedIdentitySetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointDataLakeStorageAuthenticationInternal)Authentication).UserAssignedManagedIdentitySetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointDataLakeStorageAuthenticationInternal)Authentication).UserAssignedManagedIdentitySetting = value ?? null /* model class */; }
/// Internal Acessors for Batching
Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBatchingConfiguration Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointDataLakeStorageInternal.Batching { get => (this._batching = this._batching ?? new Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.BatchingConfiguration()); set { {_batching = value;} } }
diff --git a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/DataflowEndpointFabricOneLake.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/DataflowEndpointFabricOneLake.cs
index 1ba14cd4dd2a..13f5db6f9172 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/DataflowEndpointFabricOneLake.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/DataflowEndpointFabricOneLake.cs
@@ -54,10 +54,10 @@ public partial class DataflowEndpointFabricOneLake :
Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointFabricOneLakeAuthentication Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointFabricOneLakeInternal.Authentication { get => (this._authentication = this._authentication ?? new Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.DataflowEndpointFabricOneLakeAuthentication()); set { {_authentication = value;} } }
/// Internal Acessors for AuthenticationSystemAssignedManagedIdentitySetting
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointAuthenticationSystemAssignedManagedIdentity Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointFabricOneLakeInternal.AuthenticationSystemAssignedManagedIdentitySetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointFabricOneLakeAuthenticationInternal)Authentication).SystemAssignedManagedIdentitySetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointFabricOneLakeAuthenticationInternal)Authentication).SystemAssignedManagedIdentitySetting = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointAuthenticationSystemAssignedManagedIdentity Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointFabricOneLakeInternal.AuthenticationSystemAssignedManagedIdentitySetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointFabricOneLakeAuthenticationInternal)Authentication).SystemAssignedManagedIdentitySetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointFabricOneLakeAuthenticationInternal)Authentication).SystemAssignedManagedIdentitySetting = value ?? null /* model class */; }
/// Internal Acessors for AuthenticationUserAssignedManagedIdentitySetting
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointAuthenticationUserAssignedManagedIdentity Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointFabricOneLakeInternal.AuthenticationUserAssignedManagedIdentitySetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointFabricOneLakeAuthenticationInternal)Authentication).UserAssignedManagedIdentitySetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointFabricOneLakeAuthenticationInternal)Authentication).UserAssignedManagedIdentitySetting = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointAuthenticationUserAssignedManagedIdentity Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointFabricOneLakeInternal.AuthenticationUserAssignedManagedIdentitySetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointFabricOneLakeAuthenticationInternal)Authentication).UserAssignedManagedIdentitySetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointFabricOneLakeAuthenticationInternal)Authentication).UserAssignedManagedIdentitySetting = value ?? null /* model class */; }
/// Internal Acessors for Batching
Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBatchingConfiguration Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointFabricOneLakeInternal.Batching { get => (this._batching = this._batching ?? new Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.BatchingConfiguration()); set { {_batching = value;} } }
diff --git a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/DataflowEndpointKafka.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/DataflowEndpointKafka.cs
index f8a97b08f664..12abc08bd7de 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/DataflowEndpointKafka.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/DataflowEndpointKafka.cs
@@ -101,16 +101,16 @@ public partial class DataflowEndpointKafka :
Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointKafkaAuthentication Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointKafkaInternal.Authentication { get => (this._authentication = this._authentication ?? new Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.DataflowEndpointKafkaAuthentication()); set { {_authentication = value;} } }
/// Internal Acessors for AuthenticationSaslSetting
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointAuthenticationSasl Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointKafkaInternal.AuthenticationSaslSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointKafkaAuthenticationInternal)Authentication).SaslSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointKafkaAuthenticationInternal)Authentication).SaslSetting = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointAuthenticationSasl Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointKafkaInternal.AuthenticationSaslSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointKafkaAuthenticationInternal)Authentication).SaslSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointKafkaAuthenticationInternal)Authentication).SaslSetting = value ?? null /* model class */; }
/// Internal Acessors for AuthenticationSystemAssignedManagedIdentitySetting
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointAuthenticationSystemAssignedManagedIdentity Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointKafkaInternal.AuthenticationSystemAssignedManagedIdentitySetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointKafkaAuthenticationInternal)Authentication).SystemAssignedManagedIdentitySetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointKafkaAuthenticationInternal)Authentication).SystemAssignedManagedIdentitySetting = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointAuthenticationSystemAssignedManagedIdentity Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointKafkaInternal.AuthenticationSystemAssignedManagedIdentitySetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointKafkaAuthenticationInternal)Authentication).SystemAssignedManagedIdentitySetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointKafkaAuthenticationInternal)Authentication).SystemAssignedManagedIdentitySetting = value ?? null /* model class */; }
/// Internal Acessors for AuthenticationUserAssignedManagedIdentitySetting
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointAuthenticationUserAssignedManagedIdentity Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointKafkaInternal.AuthenticationUserAssignedManagedIdentitySetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointKafkaAuthenticationInternal)Authentication).UserAssignedManagedIdentitySetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointKafkaAuthenticationInternal)Authentication).UserAssignedManagedIdentitySetting = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointAuthenticationUserAssignedManagedIdentity Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointKafkaInternal.AuthenticationUserAssignedManagedIdentitySetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointKafkaAuthenticationInternal)Authentication).UserAssignedManagedIdentitySetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointKafkaAuthenticationInternal)Authentication).UserAssignedManagedIdentitySetting = value ?? null /* model class */; }
/// Internal Acessors for AuthenticationX509CertificateSetting
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointAuthenticationX509 Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointKafkaInternal.AuthenticationX509CertificateSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointKafkaAuthenticationInternal)Authentication).X509CertificateSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointKafkaAuthenticationInternal)Authentication).X509CertificateSetting = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointAuthenticationX509 Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointKafkaInternal.AuthenticationX509CertificateSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointKafkaAuthenticationInternal)Authentication).X509CertificateSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointKafkaAuthenticationInternal)Authentication).X509CertificateSetting = value ?? null /* model class */; }
/// Internal Acessors for Batching
Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointKafkaBatching Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointKafkaInternal.Batching { get => (this._batching = this._batching ?? new Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.DataflowEndpointKafkaBatching()); set { {_batching = value;} } }
diff --git a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/DataflowEndpointMqtt.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/DataflowEndpointMqtt.cs
index 4c959a7e32a3..45cc3643c8c0 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/DataflowEndpointMqtt.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/DataflowEndpointMqtt.cs
@@ -72,16 +72,16 @@ public partial class DataflowEndpointMqtt :
Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointMqttAuthentication Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointMqttInternal.Authentication { get => (this._authentication = this._authentication ?? new Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.DataflowEndpointMqttAuthentication()); set { {_authentication = value;} } }
/// Internal Acessors for AuthenticationServiceAccountTokenSetting
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointAuthenticationServiceAccountToken Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointMqttInternal.AuthenticationServiceAccountTokenSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointMqttAuthenticationInternal)Authentication).ServiceAccountTokenSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointMqttAuthenticationInternal)Authentication).ServiceAccountTokenSetting = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointAuthenticationServiceAccountToken Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointMqttInternal.AuthenticationServiceAccountTokenSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointMqttAuthenticationInternal)Authentication).ServiceAccountTokenSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointMqttAuthenticationInternal)Authentication).ServiceAccountTokenSetting = value ?? null /* model class */; }
/// Internal Acessors for AuthenticationSystemAssignedManagedIdentitySetting
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointAuthenticationSystemAssignedManagedIdentity Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointMqttInternal.AuthenticationSystemAssignedManagedIdentitySetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointMqttAuthenticationInternal)Authentication).SystemAssignedManagedIdentitySetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointMqttAuthenticationInternal)Authentication).SystemAssignedManagedIdentitySetting = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointAuthenticationSystemAssignedManagedIdentity Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointMqttInternal.AuthenticationSystemAssignedManagedIdentitySetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointMqttAuthenticationInternal)Authentication).SystemAssignedManagedIdentitySetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointMqttAuthenticationInternal)Authentication).SystemAssignedManagedIdentitySetting = value ?? null /* model class */; }
/// Internal Acessors for AuthenticationUserAssignedManagedIdentitySetting
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointAuthenticationUserAssignedManagedIdentity Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointMqttInternal.AuthenticationUserAssignedManagedIdentitySetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointMqttAuthenticationInternal)Authentication).UserAssignedManagedIdentitySetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointMqttAuthenticationInternal)Authentication).UserAssignedManagedIdentitySetting = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointAuthenticationUserAssignedManagedIdentity Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointMqttInternal.AuthenticationUserAssignedManagedIdentitySetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointMqttAuthenticationInternal)Authentication).UserAssignedManagedIdentitySetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointMqttAuthenticationInternal)Authentication).UserAssignedManagedIdentitySetting = value ?? null /* model class */; }
/// Internal Acessors for AuthenticationX509CertificateSetting
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointAuthenticationX509 Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointMqttInternal.AuthenticationX509CertificateSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointMqttAuthenticationInternal)Authentication).X509CertificateSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointMqttAuthenticationInternal)Authentication).X509CertificateSetting = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointAuthenticationX509 Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointMqttInternal.AuthenticationX509CertificateSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointMqttAuthenticationInternal)Authentication).X509CertificateSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointMqttAuthenticationInternal)Authentication).X509CertificateSetting = value ?? null /* model class */; }
/// Internal Acessors for Tl
Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ITlsProperties Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointMqttInternal.Tl { get => (this._tl = this._tl ?? new Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.TlsProperties()); set { {_tl = value;} } }
diff --git a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/DataflowEndpointProperties.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/DataflowEndpointProperties.cs
index 8f0f7b0568ce..7d4b5a59cfcb 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/DataflowEndpointProperties.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/DataflowEndpointProperties.cs
@@ -186,67 +186,67 @@ public partial class DataflowEndpointProperties :
public string LocalStorageSettingPersistentVolumeClaimRef { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointLocalStorageInternal)LocalStorageSetting).PersistentVolumeClaimRef; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointLocalStorageInternal)LocalStorageSetting).PersistentVolumeClaimRef = value ?? null; }
/// Internal Acessors for AuthenticationAccessTokenSetting
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointAuthenticationAccessToken Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal.AuthenticationAccessTokenSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointDataLakeStorageInternal)DataLakeStorageSetting).AuthenticationAccessTokenSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointDataLakeStorageInternal)DataLakeStorageSetting).AuthenticationAccessTokenSetting = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointAuthenticationAccessToken Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal.AuthenticationAccessTokenSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointDataLakeStorageInternal)DataLakeStorageSetting).AuthenticationAccessTokenSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointDataLakeStorageInternal)DataLakeStorageSetting).AuthenticationAccessTokenSetting = value ?? null /* model class */; }
/// Internal Acessors for DataExplorerSetting
Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointDataExplorer Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal.DataExplorerSetting { get => (this._dataExplorerSetting = this._dataExplorerSetting ?? new Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.DataflowEndpointDataExplorer()); set { {_dataExplorerSetting = value;} } }
/// Internal Acessors for DataExplorerSettingAuthentication
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointDataExplorerAuthentication Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal.DataExplorerSettingAuthentication { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointDataExplorerInternal)DataExplorerSetting).Authentication; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointDataExplorerInternal)DataExplorerSetting).Authentication = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointDataExplorerAuthentication Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal.DataExplorerSettingAuthentication { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointDataExplorerInternal)DataExplorerSetting).Authentication; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointDataExplorerInternal)DataExplorerSetting).Authentication = value ?? null /* model class */; }
/// Internal Acessors for DataExplorerSettingBatching
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBatchingConfiguration Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal.DataExplorerSettingBatching { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointDataExplorerInternal)DataExplorerSetting).Batching; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointDataExplorerInternal)DataExplorerSetting).Batching = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBatchingConfiguration Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal.DataExplorerSettingBatching { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointDataExplorerInternal)DataExplorerSetting).Batching; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointDataExplorerInternal)DataExplorerSetting).Batching = value ?? null /* model class */; }
///
/// Internal Acessors for DataExplorerSettingsAuthenticationSystemAssignedManagedIdentitySetting
///
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointAuthenticationSystemAssignedManagedIdentity Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal.DataExplorerSettingsAuthenticationSystemAssignedManagedIdentitySetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointDataExplorerInternal)DataExplorerSetting).AuthenticationSystemAssignedManagedIdentitySetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointDataExplorerInternal)DataExplorerSetting).AuthenticationSystemAssignedManagedIdentitySetting = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointAuthenticationSystemAssignedManagedIdentity Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal.DataExplorerSettingsAuthenticationSystemAssignedManagedIdentitySetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointDataExplorerInternal)DataExplorerSetting).AuthenticationSystemAssignedManagedIdentitySetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointDataExplorerInternal)DataExplorerSetting).AuthenticationSystemAssignedManagedIdentitySetting = value ?? null /* model class */; }
///
/// Internal Acessors for DataExplorerSettingsAuthenticationUserAssignedManagedIdentitySetting
///
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointAuthenticationUserAssignedManagedIdentity Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal.DataExplorerSettingsAuthenticationUserAssignedManagedIdentitySetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointDataExplorerInternal)DataExplorerSetting).AuthenticationUserAssignedManagedIdentitySetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointDataExplorerInternal)DataExplorerSetting).AuthenticationUserAssignedManagedIdentitySetting = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointAuthenticationUserAssignedManagedIdentity Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal.DataExplorerSettingsAuthenticationUserAssignedManagedIdentitySetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointDataExplorerInternal)DataExplorerSetting).AuthenticationUserAssignedManagedIdentitySetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointDataExplorerInternal)DataExplorerSetting).AuthenticationUserAssignedManagedIdentitySetting = value ?? null /* model class */; }
/// Internal Acessors for DataLakeStorageSetting
Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointDataLakeStorage Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal.DataLakeStorageSetting { get => (this._dataLakeStorageSetting = this._dataLakeStorageSetting ?? new Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.DataflowEndpointDataLakeStorage()); set { {_dataLakeStorageSetting = value;} } }
/// Internal Acessors for DataLakeStorageSettingAuthentication
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointDataLakeStorageAuthentication Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal.DataLakeStorageSettingAuthentication { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointDataLakeStorageInternal)DataLakeStorageSetting).Authentication; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointDataLakeStorageInternal)DataLakeStorageSetting).Authentication = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointDataLakeStorageAuthentication Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal.DataLakeStorageSettingAuthentication { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointDataLakeStorageInternal)DataLakeStorageSetting).Authentication; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointDataLakeStorageInternal)DataLakeStorageSetting).Authentication = value ?? null /* model class */; }
/// Internal Acessors for DataLakeStorageSettingBatching
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBatchingConfiguration Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal.DataLakeStorageSettingBatching { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointDataLakeStorageInternal)DataLakeStorageSetting).Batching; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointDataLakeStorageInternal)DataLakeStorageSetting).Batching = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBatchingConfiguration Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal.DataLakeStorageSettingBatching { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointDataLakeStorageInternal)DataLakeStorageSetting).Batching; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointDataLakeStorageInternal)DataLakeStorageSetting).Batching = value ?? null /* model class */; }
///
/// Internal Acessors for DataLakeStorageSettingsAuthenticationSystemAssignedManagedIdentitySetting
///
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointAuthenticationSystemAssignedManagedIdentity Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal.DataLakeStorageSettingsAuthenticationSystemAssignedManagedIdentitySetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointDataLakeStorageInternal)DataLakeStorageSetting).AuthenticationSystemAssignedManagedIdentitySetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointDataLakeStorageInternal)DataLakeStorageSetting).AuthenticationSystemAssignedManagedIdentitySetting = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointAuthenticationSystemAssignedManagedIdentity Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal.DataLakeStorageSettingsAuthenticationSystemAssignedManagedIdentitySetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointDataLakeStorageInternal)DataLakeStorageSetting).AuthenticationSystemAssignedManagedIdentitySetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointDataLakeStorageInternal)DataLakeStorageSetting).AuthenticationSystemAssignedManagedIdentitySetting = value ?? null /* model class */; }
///
/// Internal Acessors for DataLakeStorageSettingsAuthenticationUserAssignedManagedIdentitySetting
///
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointAuthenticationUserAssignedManagedIdentity Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal.DataLakeStorageSettingsAuthenticationUserAssignedManagedIdentitySetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointDataLakeStorageInternal)DataLakeStorageSetting).AuthenticationUserAssignedManagedIdentitySetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointDataLakeStorageInternal)DataLakeStorageSetting).AuthenticationUserAssignedManagedIdentitySetting = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointAuthenticationUserAssignedManagedIdentity Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal.DataLakeStorageSettingsAuthenticationUserAssignedManagedIdentitySetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointDataLakeStorageInternal)DataLakeStorageSetting).AuthenticationUserAssignedManagedIdentitySetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointDataLakeStorageInternal)DataLakeStorageSetting).AuthenticationUserAssignedManagedIdentitySetting = value ?? null /* model class */; }
/// Internal Acessors for FabricOneLakeSetting
Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointFabricOneLake Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal.FabricOneLakeSetting { get => (this._fabricOneLakeSetting = this._fabricOneLakeSetting ?? new Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.DataflowEndpointFabricOneLake()); set { {_fabricOneLakeSetting = value;} } }
/// Internal Acessors for FabricOneLakeSettingAuthentication
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointFabricOneLakeAuthentication Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal.FabricOneLakeSettingAuthentication { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointFabricOneLakeInternal)FabricOneLakeSetting).Authentication; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointFabricOneLakeInternal)FabricOneLakeSetting).Authentication = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointFabricOneLakeAuthentication Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal.FabricOneLakeSettingAuthentication { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointFabricOneLakeInternal)FabricOneLakeSetting).Authentication; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointFabricOneLakeInternal)FabricOneLakeSetting).Authentication = value ?? null /* model class */; }
/// Internal Acessors for FabricOneLakeSettingBatching
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBatchingConfiguration Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal.FabricOneLakeSettingBatching { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointFabricOneLakeInternal)FabricOneLakeSetting).Batching; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointFabricOneLakeInternal)FabricOneLakeSetting).Batching = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBatchingConfiguration Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal.FabricOneLakeSettingBatching { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointFabricOneLakeInternal)FabricOneLakeSetting).Batching; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointFabricOneLakeInternal)FabricOneLakeSetting).Batching = value ?? null /* model class */; }
/// Internal Acessors for FabricOneLakeSettingName
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointFabricOneLakeNames Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal.FabricOneLakeSettingName { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointFabricOneLakeInternal)FabricOneLakeSetting).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointFabricOneLakeInternal)FabricOneLakeSetting).Name = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointFabricOneLakeNames Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal.FabricOneLakeSettingName { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointFabricOneLakeInternal)FabricOneLakeSetting).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointFabricOneLakeInternal)FabricOneLakeSetting).Name = value ?? null /* model class */; }
///
/// Internal Acessors for FabricOneLakeSettingsAuthenticationSystemAssignedManagedIdentitySetting
///
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointAuthenticationSystemAssignedManagedIdentity Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal.FabricOneLakeSettingsAuthenticationSystemAssignedManagedIdentitySetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointFabricOneLakeInternal)FabricOneLakeSetting).AuthenticationSystemAssignedManagedIdentitySetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointFabricOneLakeInternal)FabricOneLakeSetting).AuthenticationSystemAssignedManagedIdentitySetting = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointAuthenticationSystemAssignedManagedIdentity Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal.FabricOneLakeSettingsAuthenticationSystemAssignedManagedIdentitySetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointFabricOneLakeInternal)FabricOneLakeSetting).AuthenticationSystemAssignedManagedIdentitySetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointFabricOneLakeInternal)FabricOneLakeSetting).AuthenticationSystemAssignedManagedIdentitySetting = value ?? null /* model class */; }
///
/// Internal Acessors for FabricOneLakeSettingsAuthenticationUserAssignedManagedIdentitySetting
///
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointAuthenticationUserAssignedManagedIdentity Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal.FabricOneLakeSettingsAuthenticationUserAssignedManagedIdentitySetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointFabricOneLakeInternal)FabricOneLakeSetting).AuthenticationUserAssignedManagedIdentitySetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointFabricOneLakeInternal)FabricOneLakeSetting).AuthenticationUserAssignedManagedIdentitySetting = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointAuthenticationUserAssignedManagedIdentity Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal.FabricOneLakeSettingsAuthenticationUserAssignedManagedIdentitySetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointFabricOneLakeInternal)FabricOneLakeSetting).AuthenticationUserAssignedManagedIdentitySetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointFabricOneLakeInternal)FabricOneLakeSetting).AuthenticationUserAssignedManagedIdentitySetting = value ?? null /* model class */; }
/// Internal Acessors for LocalStorageSetting
Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointLocalStorage Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal.LocalStorageSetting { get => (this._localStorageSetting = this._localStorageSetting ?? new Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.DataflowEndpointLocalStorage()); set { {_localStorageSetting = value;} } }
diff --git a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/DataflowEndpointResource.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/DataflowEndpointResource.cs
index ea32dcd93ac3..5e8a63f93256 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/DataflowEndpointResource.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/DataflowEndpointResource.cs
@@ -114,7 +114,7 @@ public partial class DataflowEndpointResource :
/// The name of the extended location.
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inlined)]
- public string ExtendedLocationName { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IExtendedLocationInternal)ExtendedLocation).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IExtendedLocationInternal)ExtendedLocation).Name = value ; }
+ public string ExtendedLocationName { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IExtendedLocationInternal)ExtendedLocation).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IExtendedLocationInternal)ExtendedLocation).Name = value ?? null; }
/// Type of ExtendedLocation.
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inlined)]
@@ -177,94 +177,112 @@ public partial class DataflowEndpointResource :
public string LocalStorageSettingPersistentVolumeClaimRef { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal)Property).LocalStorageSettingPersistentVolumeClaimRef; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal)Property).LocalStorageSettingPersistentVolumeClaimRef = value ?? null; }
/// Internal Acessors for AuthenticationAccessTokenSetting
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointAuthenticationAccessToken Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointResourceInternal.AuthenticationAccessTokenSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal)Property).AuthenticationAccessTokenSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal)Property).AuthenticationAccessTokenSetting = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointAuthenticationAccessToken Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointResourceInternal.AuthenticationAccessTokenSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal)Property).AuthenticationAccessTokenSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal)Property).AuthenticationAccessTokenSetting = value ?? null /* model class */; }
/// Internal Acessors for DataExplorerSetting
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointDataExplorer Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointResourceInternal.DataExplorerSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal)Property).DataExplorerSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal)Property).DataExplorerSetting = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointDataExplorer Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointResourceInternal.DataExplorerSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal)Property).DataExplorerSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal)Property).DataExplorerSetting = value ?? null /* model class */; }
/// Internal Acessors for DataExplorerSettingAuthentication
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointDataExplorerAuthentication Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointResourceInternal.DataExplorerSettingAuthentication { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal)Property).DataExplorerSettingAuthentication; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal)Property).DataExplorerSettingAuthentication = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointDataExplorerAuthentication Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointResourceInternal.DataExplorerSettingAuthentication { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal)Property).DataExplorerSettingAuthentication; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal)Property).DataExplorerSettingAuthentication = value ?? null /* model class */; }
/// Internal Acessors for DataExplorerSettingBatching
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBatchingConfiguration Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointResourceInternal.DataExplorerSettingBatching { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal)Property).DataExplorerSettingBatching; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal)Property).DataExplorerSettingBatching = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBatchingConfiguration Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointResourceInternal.DataExplorerSettingBatching { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal)Property).DataExplorerSettingBatching; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal)Property).DataExplorerSettingBatching = value ?? null /* model class */; }
///
/// Internal Acessors for DataExplorerSettingsAuthenticationSystemAssignedManagedIdentitySetting
///
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointAuthenticationSystemAssignedManagedIdentity Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointResourceInternal.DataExplorerSettingsAuthenticationSystemAssignedManagedIdentitySetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal)Property).DataExplorerSettingsAuthenticationSystemAssignedManagedIdentitySetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal)Property).DataExplorerSettingsAuthenticationSystemAssignedManagedIdentitySetting = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointAuthenticationSystemAssignedManagedIdentity Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointResourceInternal.DataExplorerSettingsAuthenticationSystemAssignedManagedIdentitySetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal)Property).DataExplorerSettingsAuthenticationSystemAssignedManagedIdentitySetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal)Property).DataExplorerSettingsAuthenticationSystemAssignedManagedIdentitySetting = value ?? null /* model class */; }
///
/// Internal Acessors for DataExplorerSettingsAuthenticationUserAssignedManagedIdentitySetting
///
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointAuthenticationUserAssignedManagedIdentity Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointResourceInternal.DataExplorerSettingsAuthenticationUserAssignedManagedIdentitySetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal)Property).DataExplorerSettingsAuthenticationUserAssignedManagedIdentitySetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal)Property).DataExplorerSettingsAuthenticationUserAssignedManagedIdentitySetting = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointAuthenticationUserAssignedManagedIdentity Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointResourceInternal.DataExplorerSettingsAuthenticationUserAssignedManagedIdentitySetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal)Property).DataExplorerSettingsAuthenticationUserAssignedManagedIdentitySetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal)Property).DataExplorerSettingsAuthenticationUserAssignedManagedIdentitySetting = value ?? null /* model class */; }
/// Internal Acessors for DataLakeStorageSetting
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointDataLakeStorage Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointResourceInternal.DataLakeStorageSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal)Property).DataLakeStorageSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal)Property).DataLakeStorageSetting = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointDataLakeStorage Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointResourceInternal.DataLakeStorageSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal)Property).DataLakeStorageSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal)Property).DataLakeStorageSetting = value ?? null /* model class */; }
/// Internal Acessors for DataLakeStorageSettingAuthentication
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointDataLakeStorageAuthentication Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointResourceInternal.DataLakeStorageSettingAuthentication { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal)Property).DataLakeStorageSettingAuthentication; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal)Property).DataLakeStorageSettingAuthentication = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointDataLakeStorageAuthentication Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointResourceInternal.DataLakeStorageSettingAuthentication { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal)Property).DataLakeStorageSettingAuthentication; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal)Property).DataLakeStorageSettingAuthentication = value ?? null /* model class */; }
/// Internal Acessors for DataLakeStorageSettingBatching
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBatchingConfiguration Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointResourceInternal.DataLakeStorageSettingBatching { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal)Property).DataLakeStorageSettingBatching; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal)Property).DataLakeStorageSettingBatching = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBatchingConfiguration Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointResourceInternal.DataLakeStorageSettingBatching { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal)Property).DataLakeStorageSettingBatching; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal)Property).DataLakeStorageSettingBatching = value ?? null /* model class */; }
///
/// Internal Acessors for DataLakeStorageSettingsAuthenticationSystemAssignedManagedIdentitySetting
///
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointAuthenticationSystemAssignedManagedIdentity Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointResourceInternal.DataLakeStorageSettingsAuthenticationSystemAssignedManagedIdentitySetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal)Property).DataLakeStorageSettingsAuthenticationSystemAssignedManagedIdentitySetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal)Property).DataLakeStorageSettingsAuthenticationSystemAssignedManagedIdentitySetting = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointAuthenticationSystemAssignedManagedIdentity Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointResourceInternal.DataLakeStorageSettingsAuthenticationSystemAssignedManagedIdentitySetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal)Property).DataLakeStorageSettingsAuthenticationSystemAssignedManagedIdentitySetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal)Property).DataLakeStorageSettingsAuthenticationSystemAssignedManagedIdentitySetting = value ?? null /* model class */; }
///
/// Internal Acessors for DataLakeStorageSettingsAuthenticationUserAssignedManagedIdentitySetting
///
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointAuthenticationUserAssignedManagedIdentity Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointResourceInternal.DataLakeStorageSettingsAuthenticationUserAssignedManagedIdentitySetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal)Property).DataLakeStorageSettingsAuthenticationUserAssignedManagedIdentitySetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal)Property).DataLakeStorageSettingsAuthenticationUserAssignedManagedIdentitySetting = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointAuthenticationUserAssignedManagedIdentity Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointResourceInternal.DataLakeStorageSettingsAuthenticationUserAssignedManagedIdentitySetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal)Property).DataLakeStorageSettingsAuthenticationUserAssignedManagedIdentitySetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal)Property).DataLakeStorageSettingsAuthenticationUserAssignedManagedIdentitySetting = value ?? null /* model class */; }
/// Internal Acessors for ExtendedLocation
Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IExtendedLocation Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointResourceInternal.ExtendedLocation { get => (this._extendedLocation = this._extendedLocation ?? new Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ExtendedLocation()); set { {_extendedLocation = value;} } }
/// Internal Acessors for ExtendedLocationType
- string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointResourceInternal.ExtendedLocationType { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IExtendedLocationInternal)ExtendedLocation).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IExtendedLocationInternal)ExtendedLocation).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointResourceInternal.ExtendedLocationType { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IExtendedLocationInternal)ExtendedLocation).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IExtendedLocationInternal)ExtendedLocation).Type = value ?? null; }
/// Internal Acessors for FabricOneLakeSetting
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointFabricOneLake Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointResourceInternal.FabricOneLakeSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal)Property).FabricOneLakeSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal)Property).FabricOneLakeSetting = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointFabricOneLake Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointResourceInternal.FabricOneLakeSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal)Property).FabricOneLakeSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal)Property).FabricOneLakeSetting = value ?? null /* model class */; }
/// Internal Acessors for FabricOneLakeSettingAuthentication
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointFabricOneLakeAuthentication Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointResourceInternal.FabricOneLakeSettingAuthentication { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal)Property).FabricOneLakeSettingAuthentication; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal)Property).FabricOneLakeSettingAuthentication = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointFabricOneLakeAuthentication Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointResourceInternal.FabricOneLakeSettingAuthentication { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal)Property).FabricOneLakeSettingAuthentication; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal)Property).FabricOneLakeSettingAuthentication = value ?? null /* model class */; }
/// Internal Acessors for FabricOneLakeSettingBatching
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBatchingConfiguration Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointResourceInternal.FabricOneLakeSettingBatching { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal)Property).FabricOneLakeSettingBatching; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal)Property).FabricOneLakeSettingBatching = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBatchingConfiguration Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointResourceInternal.FabricOneLakeSettingBatching { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal)Property).FabricOneLakeSettingBatching; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal)Property).FabricOneLakeSettingBatching = value ?? null /* model class */; }
/// Internal Acessors for FabricOneLakeSettingName
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointFabricOneLakeNames Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointResourceInternal.FabricOneLakeSettingName { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal)Property).FabricOneLakeSettingName; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal)Property).FabricOneLakeSettingName = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointFabricOneLakeNames Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointResourceInternal.FabricOneLakeSettingName { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal)Property).FabricOneLakeSettingName; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal)Property).FabricOneLakeSettingName = value ?? null /* model class */; }
///
/// Internal Acessors for FabricOneLakeSettingsAuthenticationSystemAssignedManagedIdentitySetting
///
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointAuthenticationSystemAssignedManagedIdentity Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointResourceInternal.FabricOneLakeSettingsAuthenticationSystemAssignedManagedIdentitySetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal)Property).FabricOneLakeSettingsAuthenticationSystemAssignedManagedIdentitySetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal)Property).FabricOneLakeSettingsAuthenticationSystemAssignedManagedIdentitySetting = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointAuthenticationSystemAssignedManagedIdentity Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointResourceInternal.FabricOneLakeSettingsAuthenticationSystemAssignedManagedIdentitySetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal)Property).FabricOneLakeSettingsAuthenticationSystemAssignedManagedIdentitySetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal)Property).FabricOneLakeSettingsAuthenticationSystemAssignedManagedIdentitySetting = value ?? null /* model class */; }
///
/// Internal Acessors for FabricOneLakeSettingsAuthenticationUserAssignedManagedIdentitySetting
///
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointAuthenticationUserAssignedManagedIdentity Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointResourceInternal.FabricOneLakeSettingsAuthenticationUserAssignedManagedIdentitySetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal)Property).FabricOneLakeSettingsAuthenticationUserAssignedManagedIdentitySetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal)Property).FabricOneLakeSettingsAuthenticationUserAssignedManagedIdentitySetting = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointAuthenticationUserAssignedManagedIdentity Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointResourceInternal.FabricOneLakeSettingsAuthenticationUserAssignedManagedIdentitySetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal)Property).FabricOneLakeSettingsAuthenticationUserAssignedManagedIdentitySetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal)Property).FabricOneLakeSettingsAuthenticationUserAssignedManagedIdentitySetting = value ?? null /* model class */; }
/// Internal Acessors for LocalStorageSetting
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointLocalStorage Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointResourceInternal.LocalStorageSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal)Property).LocalStorageSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal)Property).LocalStorageSetting = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointLocalStorage Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointResourceInternal.LocalStorageSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal)Property).LocalStorageSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal)Property).LocalStorageSetting = value ?? null /* model class */; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointProperties Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointResourceInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.DataflowEndpointProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointResourceInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointResourceInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointPropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).Type = value ?? null; }
/// Broker endpoint.
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inlined)]
@@ -301,31 +319,31 @@ public partial class DataflowEndpointResource :
/// Azure Resource Manager metadata containing createdBy and modifiedBy information.
///
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inherited)]
- internal Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inherited)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inherited)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; }
///
/// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
@@ -580,7 +598,7 @@ public partial interface IDataflowEndpointResource :
string EndpointType { get; set; }
/// The name of the extended location.
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Runtime.Info(
- Required = true,
+ Required = false,
ReadOnly = false,
Read = true,
Create = true,
@@ -591,7 +609,7 @@ public partial interface IDataflowEndpointResource :
string ExtendedLocationName { get; set; }
/// Type of ExtendedLocation.
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Runtime.Info(
- Required = true,
+ Required = false,
ReadOnly = true,
Read = true,
Create = true,
diff --git a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/DataflowProfileProperties.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/DataflowProfileProperties.cs
index 2ed3bf665a8d..07109790bb29 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/DataflowProfileProperties.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/DataflowProfileProperties.cs
@@ -41,10 +41,10 @@ public partial class DataflowProfileProperties :
Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IProfileDiagnostics Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowProfilePropertiesInternal.Diagnostic { get => (this._diagnostic = this._diagnostic ?? new Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ProfileDiagnostics()); set { {_diagnostic = value;} } }
/// Internal Acessors for DiagnosticLog
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDiagnosticsLogs Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowProfilePropertiesInternal.DiagnosticLog { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IProfileDiagnosticsInternal)Diagnostic).Log; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IProfileDiagnosticsInternal)Diagnostic).Log = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDiagnosticsLogs Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowProfilePropertiesInternal.DiagnosticLog { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IProfileDiagnosticsInternal)Diagnostic).Log; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IProfileDiagnosticsInternal)Diagnostic).Log = value ?? null /* model class */; }
/// Internal Acessors for DiagnosticMetric
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IMetrics Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowProfilePropertiesInternal.DiagnosticMetric { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IProfileDiagnosticsInternal)Diagnostic).Metric; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IProfileDiagnosticsInternal)Diagnostic).Metric = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IMetrics Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowProfilePropertiesInternal.DiagnosticMetric { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IProfileDiagnosticsInternal)Diagnostic).Metric; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IProfileDiagnosticsInternal)Diagnostic).Metric = value ?? null /* model class */; }
/// Internal Acessors for ProvisioningState
string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowProfilePropertiesInternal.ProvisioningState { get => this._provisioningState; set { {_provisioningState = value;} } }
diff --git a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/DataflowProfileResource.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/DataflowProfileResource.cs
index 79124c956150..2cd90d7d1bf9 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/DataflowProfileResource.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/DataflowProfileResource.cs
@@ -28,7 +28,7 @@ public partial class DataflowProfileResource :
/// The name of the extended location.
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inlined)]
- public string ExtendedLocationName { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IExtendedLocationInternal)ExtendedLocation).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IExtendedLocationInternal)ExtendedLocation).Name = value ; }
+ public string ExtendedLocationName { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IExtendedLocationInternal)ExtendedLocation).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IExtendedLocationInternal)ExtendedLocation).Name = value ?? null; }
/// Type of ExtendedLocation.
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inlined)]
@@ -55,37 +55,55 @@ public partial class DataflowProfileResource :
public int? MetricPrometheusPort { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowProfilePropertiesInternal)Property).MetricPrometheusPort; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowProfilePropertiesInternal)Property).MetricPrometheusPort = value ?? default(int); }
/// Internal Acessors for Diagnostic
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IProfileDiagnostics Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowProfileResourceInternal.Diagnostic { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowProfilePropertiesInternal)Property).Diagnostic; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowProfilePropertiesInternal)Property).Diagnostic = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IProfileDiagnostics Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowProfileResourceInternal.Diagnostic { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowProfilePropertiesInternal)Property).Diagnostic; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowProfilePropertiesInternal)Property).Diagnostic = value ?? null /* model class */; }
/// Internal Acessors for DiagnosticLog
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDiagnosticsLogs Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowProfileResourceInternal.DiagnosticLog { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowProfilePropertiesInternal)Property).DiagnosticLog; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowProfilePropertiesInternal)Property).DiagnosticLog = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDiagnosticsLogs Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowProfileResourceInternal.DiagnosticLog { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowProfilePropertiesInternal)Property).DiagnosticLog; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowProfilePropertiesInternal)Property).DiagnosticLog = value ?? null /* model class */; }
/// Internal Acessors for DiagnosticMetric
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IMetrics Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowProfileResourceInternal.DiagnosticMetric { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowProfilePropertiesInternal)Property).DiagnosticMetric; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowProfilePropertiesInternal)Property).DiagnosticMetric = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IMetrics Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowProfileResourceInternal.DiagnosticMetric { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowProfilePropertiesInternal)Property).DiagnosticMetric; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowProfilePropertiesInternal)Property).DiagnosticMetric = value ?? null /* model class */; }
/// Internal Acessors for ExtendedLocation
Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IExtendedLocation Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowProfileResourceInternal.ExtendedLocation { get => (this._extendedLocation = this._extendedLocation ?? new Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ExtendedLocation()); set { {_extendedLocation = value;} } }
/// Internal Acessors for ExtendedLocationType
- string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowProfileResourceInternal.ExtendedLocationType { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IExtendedLocationInternal)ExtendedLocation).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IExtendedLocationInternal)ExtendedLocation).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowProfileResourceInternal.ExtendedLocationType { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IExtendedLocationInternal)ExtendedLocation).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IExtendedLocationInternal)ExtendedLocation).Type = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowProfileProperties Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowProfileResourceInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.DataflowProfileProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowProfileResourceInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowProfilePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowProfilePropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowProfileResourceInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowProfilePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowProfilePropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inherited)]
@@ -110,31 +128,31 @@ public partial class DataflowProfileResource :
/// Azure Resource Manager metadata containing createdBy and modifiedBy information.
///
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inherited)]
- internal Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inherited)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inherited)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; }
///
/// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
@@ -167,7 +185,7 @@ public partial interface IDataflowProfileResource :
{
/// The name of the extended location.
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Runtime.Info(
- Required = true,
+ Required = false,
ReadOnly = false,
Read = true,
Create = true,
@@ -178,7 +196,7 @@ public partial interface IDataflowProfileResource :
string ExtendedLocationName { get; set; }
/// Type of ExtendedLocation.
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Runtime.Info(
- Required = true,
+ Required = false,
ReadOnly = true,
Read = true,
Create = true,
diff --git a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/DataflowResource.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/DataflowResource.cs
index a590ca1fbed7..0fdd7eb1a27f 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/DataflowResource.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/DataflowResource.cs
@@ -28,7 +28,7 @@ public partial class DataflowResource :
/// The name of the extended location.
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inlined)]
- public string ExtendedLocationName { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IExtendedLocationInternal)ExtendedLocation).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IExtendedLocationInternal)ExtendedLocation).Name = value ; }
+ public string ExtendedLocationName { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IExtendedLocationInternal)ExtendedLocation).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IExtendedLocationInternal)ExtendedLocation).Name = value ?? null; }
/// Type of ExtendedLocation.
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inlined)]
@@ -44,25 +44,43 @@ public partial class DataflowResource :
Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IExtendedLocation Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowResourceInternal.ExtendedLocation { get => (this._extendedLocation = this._extendedLocation ?? new Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ExtendedLocation()); set { {_extendedLocation = value;} } }
/// Internal Acessors for ExtendedLocationType
- string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowResourceInternal.ExtendedLocationType { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IExtendedLocationInternal)ExtendedLocation).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IExtendedLocationInternal)ExtendedLocation).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowResourceInternal.ExtendedLocationType { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IExtendedLocationInternal)ExtendedLocation).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IExtendedLocationInternal)ExtendedLocation).Type = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowProperties Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowResourceInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.DataflowProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowResourceInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowPropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowResourceInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowPropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).Type = value ?? null; }
/// Mode for Dataflow. Optional; defaults to Enabled.
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inlined)]
@@ -97,31 +115,31 @@ public partial class DataflowResource :
/// Azure Resource Manager metadata containing createdBy and modifiedBy information.
///
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inherited)]
- internal Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inherited)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inherited)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; }
///
/// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
@@ -154,7 +172,7 @@ public partial interface IDataflowResource :
{
/// The name of the extended location.
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Runtime.Info(
- Required = true,
+ Required = false,
ReadOnly = false,
Read = true,
Create = true,
@@ -165,7 +183,7 @@ public partial interface IDataflowResource :
string ExtendedLocationName { get; set; }
/// Type of ExtendedLocation.
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Runtime.Info(
- Required = true,
+ Required = false,
ReadOnly = true,
Read = true,
Create = true,
diff --git a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/DiskBackedMessageBuffer.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/DiskBackedMessageBuffer.cs
index 5c1314eec408..058fad3d3ea9 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/DiskBackedMessageBuffer.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/DiskBackedMessageBuffer.cs
@@ -125,31 +125,31 @@ public partial class DiskBackedMessageBuffer :
Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IVolumeClaimSpec Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDiskBackedMessageBufferInternal.EphemeralVolumeClaimSpec { get => (this._ephemeralVolumeClaimSpec = this._ephemeralVolumeClaimSpec ?? new Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.VolumeClaimSpec()); set { {_ephemeralVolumeClaimSpec = value;} } }
/// Internal Acessors for EphemeralVolumeClaimSpecDataSource
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ILocalKubernetesReference Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDiskBackedMessageBufferInternal.EphemeralVolumeClaimSpecDataSource { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IVolumeClaimSpecInternal)EphemeralVolumeClaimSpec).DataSource; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IVolumeClaimSpecInternal)EphemeralVolumeClaimSpec).DataSource = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ILocalKubernetesReference Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDiskBackedMessageBufferInternal.EphemeralVolumeClaimSpecDataSource { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IVolumeClaimSpecInternal)EphemeralVolumeClaimSpec).DataSource; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IVolumeClaimSpecInternal)EphemeralVolumeClaimSpec).DataSource = value ?? null /* model class */; }
/// Internal Acessors for EphemeralVolumeClaimSpecDataSourceRef
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IKubernetesReference Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDiskBackedMessageBufferInternal.EphemeralVolumeClaimSpecDataSourceRef { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IVolumeClaimSpecInternal)EphemeralVolumeClaimSpec).DataSourceRef; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IVolumeClaimSpecInternal)EphemeralVolumeClaimSpec).DataSourceRef = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IKubernetesReference Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDiskBackedMessageBufferInternal.EphemeralVolumeClaimSpecDataSourceRef { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IVolumeClaimSpecInternal)EphemeralVolumeClaimSpec).DataSourceRef; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IVolumeClaimSpecInternal)EphemeralVolumeClaimSpec).DataSourceRef = value ?? null /* model class */; }
/// Internal Acessors for EphemeralVolumeClaimSpecResource
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IVolumeClaimResourceRequirements Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDiskBackedMessageBufferInternal.EphemeralVolumeClaimSpecResource { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IVolumeClaimSpecInternal)EphemeralVolumeClaimSpec).Resource; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IVolumeClaimSpecInternal)EphemeralVolumeClaimSpec).Resource = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IVolumeClaimResourceRequirements Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDiskBackedMessageBufferInternal.EphemeralVolumeClaimSpecResource { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IVolumeClaimSpecInternal)EphemeralVolumeClaimSpec).Resource; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IVolumeClaimSpecInternal)EphemeralVolumeClaimSpec).Resource = value ?? null /* model class */; }
/// Internal Acessors for EphemeralVolumeClaimSpecSelector
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IVolumeClaimSpecSelector Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDiskBackedMessageBufferInternal.EphemeralVolumeClaimSpecSelector { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IVolumeClaimSpecInternal)EphemeralVolumeClaimSpec).Selector; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IVolumeClaimSpecInternal)EphemeralVolumeClaimSpec).Selector = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IVolumeClaimSpecSelector Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDiskBackedMessageBufferInternal.EphemeralVolumeClaimSpecSelector { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IVolumeClaimSpecInternal)EphemeralVolumeClaimSpec).Selector; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IVolumeClaimSpecInternal)EphemeralVolumeClaimSpec).Selector = value ?? null /* model class */; }
/// Internal Acessors for PersistentVolumeClaimSpec
Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IVolumeClaimSpec Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDiskBackedMessageBufferInternal.PersistentVolumeClaimSpec { get => (this._persistentVolumeClaimSpec = this._persistentVolumeClaimSpec ?? new Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.VolumeClaimSpec()); set { {_persistentVolumeClaimSpec = value;} } }
/// Internal Acessors for PersistentVolumeClaimSpecDataSource
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ILocalKubernetesReference Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDiskBackedMessageBufferInternal.PersistentVolumeClaimSpecDataSource { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IVolumeClaimSpecInternal)PersistentVolumeClaimSpec).DataSource; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IVolumeClaimSpecInternal)PersistentVolumeClaimSpec).DataSource = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ILocalKubernetesReference Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDiskBackedMessageBufferInternal.PersistentVolumeClaimSpecDataSource { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IVolumeClaimSpecInternal)PersistentVolumeClaimSpec).DataSource; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IVolumeClaimSpecInternal)PersistentVolumeClaimSpec).DataSource = value ?? null /* model class */; }
/// Internal Acessors for PersistentVolumeClaimSpecDataSourceRef
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IKubernetesReference Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDiskBackedMessageBufferInternal.PersistentVolumeClaimSpecDataSourceRef { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IVolumeClaimSpecInternal)PersistentVolumeClaimSpec).DataSourceRef; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IVolumeClaimSpecInternal)PersistentVolumeClaimSpec).DataSourceRef = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IKubernetesReference Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDiskBackedMessageBufferInternal.PersistentVolumeClaimSpecDataSourceRef { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IVolumeClaimSpecInternal)PersistentVolumeClaimSpec).DataSourceRef; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IVolumeClaimSpecInternal)PersistentVolumeClaimSpec).DataSourceRef = value ?? null /* model class */; }
/// Internal Acessors for PersistentVolumeClaimSpecResource
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IVolumeClaimResourceRequirements Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDiskBackedMessageBufferInternal.PersistentVolumeClaimSpecResource { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IVolumeClaimSpecInternal)PersistentVolumeClaimSpec).Resource; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IVolumeClaimSpecInternal)PersistentVolumeClaimSpec).Resource = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IVolumeClaimResourceRequirements Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDiskBackedMessageBufferInternal.PersistentVolumeClaimSpecResource { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IVolumeClaimSpecInternal)PersistentVolumeClaimSpec).Resource; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IVolumeClaimSpecInternal)PersistentVolumeClaimSpec).Resource = value ?? null /* model class */; }
/// Internal Acessors for PersistentVolumeClaimSpecSelector
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IVolumeClaimSpecSelector Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDiskBackedMessageBufferInternal.PersistentVolumeClaimSpecSelector { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IVolumeClaimSpecInternal)PersistentVolumeClaimSpec).Selector; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IVolumeClaimSpecInternal)PersistentVolumeClaimSpec).Selector = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IVolumeClaimSpecSelector Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDiskBackedMessageBufferInternal.PersistentVolumeClaimSpecSelector { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IVolumeClaimSpecInternal)PersistentVolumeClaimSpec).Selector; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IVolumeClaimSpecInternal)PersistentVolumeClaimSpec).Selector = value ?? null /* model class */; }
/// Backing field for property.
private Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IVolumeClaimSpec _persistentVolumeClaimSpec;
diff --git a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/ErrorResponse.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/ErrorResponse.cs
index 3ff95039365f..078a82cecea0 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/ErrorResponse.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/ErrorResponse.cs
@@ -40,22 +40,22 @@ public partial class ErrorResponse :
public string Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IErrorDetailInternal)Error).Message; }
/// Internal Acessors for AdditionalInfo
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IErrorResponseInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IErrorDetailInternal)Error).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IErrorDetailInternal)Error).AdditionalInfo = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IErrorResponseInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IErrorDetailInternal)Error).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IErrorDetailInternal)Error).AdditionalInfo = value ?? null /* arrayOf */; }
/// Internal Acessors for Code
- string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IErrorResponseInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IErrorDetailInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IErrorDetailInternal)Error).Code = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IErrorResponseInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IErrorDetailInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IErrorDetailInternal)Error).Code = value ?? null; }
/// Internal Acessors for Detail
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IErrorResponseInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IErrorDetailInternal)Error).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IErrorDetailInternal)Error).Detail = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IErrorResponseInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IErrorDetailInternal)Error).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IErrorDetailInternal)Error).Detail = value ?? null /* arrayOf */; }
/// Internal Acessors for Error
Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IErrorDetail Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IErrorResponseInternal.Error { get => (this._error = this._error ?? new Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ErrorDetail()); set { {_error = value;} } }
/// Internal Acessors for Message
- string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IErrorResponseInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IErrorDetailInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IErrorDetailInternal)Error).Message = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IErrorResponseInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IErrorDetailInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IErrorDetailInternal)Error).Message = value ?? null; }
/// Internal Acessors for Target
- string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IErrorResponseInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IErrorDetailInternal)Error).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IErrorDetailInternal)Error).Target = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IErrorResponseInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IErrorDetailInternal)Error).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IErrorDetailInternal)Error).Target = value ?? null; }
/// The error target.
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inlined)]
diff --git a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/InstancePatchModel.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/InstancePatchModel.cs
index ef405b26b391..a536533edf32 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/InstancePatchModel.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/InstancePatchModel.cs
@@ -50,10 +50,10 @@ public partial class InstancePatchModel :
Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IManagedServiceIdentity Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IInstancePatchModelInternal.Identity { get => (this._identity = this._identity ?? new Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ManagedServiceIdentity()); set { {_identity = value;} } }
/// Internal Acessors for IdentityPrincipalId
- string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IInstancePatchModelInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IManagedServiceIdentityInternal)Identity).PrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IManagedServiceIdentityInternal)Identity).PrincipalId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IInstancePatchModelInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IManagedServiceIdentityInternal)Identity).PrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IManagedServiceIdentityInternal)Identity).PrincipalId = value ?? null; }
/// Internal Acessors for IdentityTenantId
- string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IInstancePatchModelInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IManagedServiceIdentityInternal)Identity).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IManagedServiceIdentityInternal)Identity).TenantId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IInstancePatchModelInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IManagedServiceIdentityInternal)Identity).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IManagedServiceIdentityInternal)Identity).TenantId = value ?? null; }
/// Backing field for property.
private Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IInstancePatchModelTags _tag;
diff --git a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/InstanceResource.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/InstanceResource.cs
index bcac6aa9c9cc..8cc4fa4a6b3f 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/InstanceResource.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/InstanceResource.cs
@@ -32,7 +32,7 @@ public partial class InstanceResource :
/// The name of the extended location.
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inlined)]
- public string ExtendedLocationName { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IExtendedLocationInternal)ExtendedLocation).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IExtendedLocationInternal)ExtendedLocation).Name = value ; }
+ public string ExtendedLocationName { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IExtendedLocationInternal)ExtendedLocation).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IExtendedLocationInternal)ExtendedLocation).Name = value ?? null; }
/// Type of ExtendedLocation.
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inlined)]
@@ -79,46 +79,64 @@ public partial class InstanceResource :
/// The geo-location where the resource lives
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inherited)]
- public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ITrackedResourceInternal)__trackedResource).Location = value ; }
+ public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ITrackedResourceInternal)__trackedResource).Location = value ?? null; }
/// Internal Acessors for ExtendedLocation
Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IExtendedLocation Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IInstanceResourceInternal.ExtendedLocation { get => (this._extendedLocation = this._extendedLocation ?? new Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ExtendedLocation()); set { {_extendedLocation = value;} } }
/// Internal Acessors for ExtendedLocationType
- string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IInstanceResourceInternal.ExtendedLocationType { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IExtendedLocationInternal)ExtendedLocation).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IExtendedLocationInternal)ExtendedLocation).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IInstanceResourceInternal.ExtendedLocationType { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IExtendedLocationInternal)ExtendedLocation).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IExtendedLocationInternal)ExtendedLocation).Type = value ?? null; }
/// Internal Acessors for Identity
Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IManagedServiceIdentity Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IInstanceResourceInternal.Identity { get => (this._identity = this._identity ?? new Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ManagedServiceIdentity()); set { {_identity = value;} } }
/// Internal Acessors for IdentityPrincipalId
- string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IInstanceResourceInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IManagedServiceIdentityInternal)Identity).PrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IManagedServiceIdentityInternal)Identity).PrincipalId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IInstanceResourceInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IManagedServiceIdentityInternal)Identity).PrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IManagedServiceIdentityInternal)Identity).PrincipalId = value ?? null; }
/// Internal Acessors for IdentityTenantId
- string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IInstanceResourceInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IManagedServiceIdentityInternal)Identity).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IManagedServiceIdentityInternal)Identity).TenantId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IInstanceResourceInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IManagedServiceIdentityInternal)Identity).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IManagedServiceIdentityInternal)Identity).TenantId = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IInstanceProperties Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IInstanceResourceInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.InstanceProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IInstanceResourceInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IInstancePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IInstancePropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IInstanceResourceInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IInstancePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IInstancePropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for SchemaRegistryRef
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ISchemaRegistryRef Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IInstanceResourceInternal.SchemaRegistryRef { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IInstancePropertiesInternal)Property).SchemaRegistryRef; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IInstancePropertiesInternal)Property).SchemaRegistryRef = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ISchemaRegistryRef Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IInstanceResourceInternal.SchemaRegistryRef { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IInstancePropertiesInternal)Property).SchemaRegistryRef; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IInstancePropertiesInternal)Property).SchemaRegistryRef = value ?? null /* model class */; }
/// Internal Acessors for Version
- string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IInstanceResourceInternal.Version { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IInstancePropertiesInternal)Property).Version; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IInstancePropertiesInternal)Property).Version = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IInstanceResourceInternal.Version { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IInstancePropertiesInternal)Property).Version; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IInstancePropertiesInternal)Property).Version = value ?? null; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__trackedResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__trackedResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__trackedResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__trackedResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__trackedResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__trackedResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__trackedResource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inherited)]
@@ -147,31 +165,31 @@ public partial class InstanceResource :
/// Azure Resource Manager metadata containing createdBy and modifiedBy information.
///
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inherited)]
- internal Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__trackedResource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inherited)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inherited)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; }
/// Resource tags.
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inherited)]
@@ -223,7 +241,7 @@ public partial interface IInstanceResource :
string Description { get; set; }
/// The name of the extended location.
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Runtime.Info(
- Required = true,
+ Required = false,
ReadOnly = false,
Read = true,
Create = true,
@@ -234,7 +252,7 @@ public partial interface IInstanceResource :
string ExtendedLocationName { get; set; }
/// Type of ExtendedLocation.
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Runtime.Info(
- Required = true,
+ Required = false,
ReadOnly = true,
Read = true,
Create = true,
diff --git a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/ListenerPort.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/ListenerPort.cs
index 85eea71c2b0d..59cfef8f533f 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/ListenerPort.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/ListenerPort.cs
@@ -68,22 +68,22 @@ public partial class ListenerPort :
public string ManualSecretRef { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ITlsCertMethodInternal)Tl).ManualSecretRef; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ITlsCertMethodInternal)Tl).ManualSecretRef = value ?? null; }
/// Internal Acessors for CertManagerCertificateSpecIssuerRef
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ICertManagerIssuerRef Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IListenerPortInternal.CertManagerCertificateSpecIssuerRef { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ITlsCertMethodInternal)Tl).CertManagerCertificateSpecIssuerRef; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ITlsCertMethodInternal)Tl).CertManagerCertificateSpecIssuerRef = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ICertManagerIssuerRef Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IListenerPortInternal.CertManagerCertificateSpecIssuerRef { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ITlsCertMethodInternal)Tl).CertManagerCertificateSpecIssuerRef; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ITlsCertMethodInternal)Tl).CertManagerCertificateSpecIssuerRef = value ?? null /* model class */; }
/// Internal Acessors for CertManagerCertificateSpecPrivateKey
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ICertManagerPrivateKey Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IListenerPortInternal.CertManagerCertificateSpecPrivateKey { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ITlsCertMethodInternal)Tl).CertManagerCertificateSpecPrivateKey; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ITlsCertMethodInternal)Tl).CertManagerCertificateSpecPrivateKey = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ICertManagerPrivateKey Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IListenerPortInternal.CertManagerCertificateSpecPrivateKey { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ITlsCertMethodInternal)Tl).CertManagerCertificateSpecPrivateKey; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ITlsCertMethodInternal)Tl).CertManagerCertificateSpecPrivateKey = value ?? null /* model class */; }
/// Internal Acessors for CertManagerCertificateSpecSan
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ISanForCert Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IListenerPortInternal.CertManagerCertificateSpecSan { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ITlsCertMethodInternal)Tl).CertManagerCertificateSpecSan; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ITlsCertMethodInternal)Tl).CertManagerCertificateSpecSan = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ISanForCert Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IListenerPortInternal.CertManagerCertificateSpecSan { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ITlsCertMethodInternal)Tl).CertManagerCertificateSpecSan; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ITlsCertMethodInternal)Tl).CertManagerCertificateSpecSan = value ?? null /* model class */; }
/// Internal Acessors for Tl
Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ITlsCertMethod Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IListenerPortInternal.Tl { get => (this._tl = this._tl ?? new Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.TlsCertMethod()); set { {_tl = value;} } }
/// Internal Acessors for TlCertManagerCertificateSpec
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ICertManagerCertificateSpec Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IListenerPortInternal.TlCertManagerCertificateSpec { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ITlsCertMethodInternal)Tl).CertManagerCertificateSpec; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ITlsCertMethodInternal)Tl).CertManagerCertificateSpec = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ICertManagerCertificateSpec Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IListenerPortInternal.TlCertManagerCertificateSpec { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ITlsCertMethodInternal)Tl).CertManagerCertificateSpec; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ITlsCertMethodInternal)Tl).CertManagerCertificateSpec = value ?? null /* model class */; }
/// Internal Acessors for TlManual
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IX509ManualCertificate Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IListenerPortInternal.TlManual { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ITlsCertMethodInternal)Tl).Manual; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ITlsCertMethodInternal)Tl).Manual = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IX509ManualCertificate Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IListenerPortInternal.TlManual { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ITlsCertMethodInternal)Tl).Manual; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ITlsCertMethodInternal)Tl).Manual = value ?? null /* model class */; }
/// Backing field for property.
private int? _nodePort;
diff --git a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/Operation.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/Operation.cs
index e2f1514faa45..8ea7e02436e3 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/Operation.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/Operation.cs
@@ -73,16 +73,16 @@ public partial class Operation :
Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IOperationDisplay Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IOperationInternal.Display { get => (this._display = this._display ?? new Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.OperationDisplay()); set { {_display = value;} } }
/// Internal Acessors for DisplayDescription
- string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IOperationInternal.DisplayDescription { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IOperationDisplayInternal)Display).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IOperationDisplayInternal)Display).Description = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IOperationInternal.DisplayDescription { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IOperationDisplayInternal)Display).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IOperationDisplayInternal)Display).Description = value ?? null; }
/// Internal Acessors for DisplayOperation
- string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IOperationInternal.DisplayOperation { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IOperationDisplayInternal)Display).Operation; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IOperationDisplayInternal)Display).Operation = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IOperationInternal.DisplayOperation { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IOperationDisplayInternal)Display).Operation; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IOperationDisplayInternal)Display).Operation = value ?? null; }
/// Internal Acessors for DisplayProvider
- string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IOperationInternal.DisplayProvider { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IOperationDisplayInternal)Display).Provider; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IOperationDisplayInternal)Display).Provider = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IOperationInternal.DisplayProvider { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IOperationDisplayInternal)Display).Provider; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IOperationDisplayInternal)Display).Provider = value ?? null; }
/// Internal Acessors for DisplayResource
- string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IOperationInternal.DisplayResource { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IOperationDisplayInternal)Display).Resource; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IOperationDisplayInternal)Display).Resource = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IOperationInternal.DisplayResource { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IOperationDisplayInternal)Display).Resource; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IOperationDisplayInternal)Display).Resource = value ?? null; }
/// Internal Acessors for IsDataAction
bool? Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IOperationInternal.IsDataAction { get => this._isDataAction; set { {_isDataAction = value;} } }
diff --git a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/ProxyResource.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/ProxyResource.cs
index 7f8f1a41b0b0..06c460ffea07 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/ProxyResource.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/ProxyResource.cs
@@ -28,16 +28,34 @@ public partial class ProxyResource :
public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__resource).Id; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__resource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__resource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__resource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__resource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__resource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__resource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__resource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__resource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__resource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__resource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__resource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__resource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__resource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__resource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__resource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__resource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__resource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inherited)]
@@ -47,31 +65,31 @@ public partial class ProxyResource :
/// Azure Resource Manager metadata containing createdBy and modifiedBy information.
///
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inherited)]
- internal Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__resource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__resource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__resource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__resource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__resource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inherited)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__resource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__resource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__resource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inherited)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__resource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__resource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__resource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__resource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__resource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__resource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; }
///
/// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
diff --git a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/Resource.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/Resource.cs
index dedeb106f9ed..e08e4aa8480d 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/Resource.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/Resource.cs
@@ -33,6 +33,24 @@ public partial class Resource :
/// Internal Acessors for SystemData
Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.SystemData { get => (this._systemData = this._systemData ?? new Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.SystemData()); set { {_systemData = value;} } }
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ISystemDataInternal)SystemData).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ISystemDataInternal)SystemData).CreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ISystemDataInternal)SystemData).CreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ISystemDataInternal)SystemData).CreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ISystemDataInternal)SystemData).CreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ISystemDataInternal)SystemData).CreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ISystemDataInternal)SystemData).LastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ISystemDataInternal)SystemData).LastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ISystemDataInternal)SystemData).LastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ISystemDataInternal)SystemData).LastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ISystemDataInternal)SystemData).LastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ISystemDataInternal)SystemData).LastModifiedByType = value ?? null; }
+
/// Internal Acessors for Type
string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.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.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inlined)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ISystemDataInternal)SystemData).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ISystemDataInternal)SystemData).CreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ISystemDataInternal)SystemData).CreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inlined)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ISystemDataInternal)SystemData).CreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ISystemDataInternal)SystemData).CreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ISystemDataInternal)SystemData).CreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inlined)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ISystemDataInternal)SystemData).CreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ISystemDataInternal)SystemData).CreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ISystemDataInternal)SystemData).CreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inlined)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ISystemDataInternal)SystemData).LastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ISystemDataInternal)SystemData).LastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ISystemDataInternal)SystemData).LastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inlined)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ISystemDataInternal)SystemData).LastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ISystemDataInternal)SystemData).LastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ISystemDataInternal)SystemData).LastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inlined)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ISystemDataInternal)SystemData).LastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ISystemDataInternal)SystemData).LastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ISystemDataInternal)SystemData).LastModifiedByType; }
/// Backing field for property.
private string _type;
diff --git a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/TlsCertMethod.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/TlsCertMethod.cs
index 63a33a1c6dd0..fccdead50955 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/TlsCertMethod.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/TlsCertMethod.cs
@@ -73,13 +73,13 @@ public partial class TlsCertMethod :
Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ICertManagerCertificateSpec Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ITlsCertMethodInternal.CertManagerCertificateSpec { get => (this._certManagerCertificateSpec = this._certManagerCertificateSpec ?? new Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.CertManagerCertificateSpec()); set { {_certManagerCertificateSpec = value;} } }
/// Internal Acessors for CertManagerCertificateSpecIssuerRef
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ICertManagerIssuerRef Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ITlsCertMethodInternal.CertManagerCertificateSpecIssuerRef { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ICertManagerCertificateSpecInternal)CertManagerCertificateSpec).IssuerRef; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ICertManagerCertificateSpecInternal)CertManagerCertificateSpec).IssuerRef = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ICertManagerIssuerRef Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ITlsCertMethodInternal.CertManagerCertificateSpecIssuerRef { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ICertManagerCertificateSpecInternal)CertManagerCertificateSpec).IssuerRef; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ICertManagerCertificateSpecInternal)CertManagerCertificateSpec).IssuerRef = value ?? null /* model class */; }
/// Internal Acessors for CertManagerCertificateSpecPrivateKey
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ICertManagerPrivateKey Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ITlsCertMethodInternal.CertManagerCertificateSpecPrivateKey { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ICertManagerCertificateSpecInternal)CertManagerCertificateSpec).PrivateKey; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ICertManagerCertificateSpecInternal)CertManagerCertificateSpec).PrivateKey = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ICertManagerPrivateKey Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ITlsCertMethodInternal.CertManagerCertificateSpecPrivateKey { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ICertManagerCertificateSpecInternal)CertManagerCertificateSpec).PrivateKey; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ICertManagerCertificateSpecInternal)CertManagerCertificateSpec).PrivateKey = value ?? null /* model class */; }
/// Internal Acessors for CertManagerCertificateSpecSan
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ISanForCert Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ITlsCertMethodInternal.CertManagerCertificateSpecSan { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ICertManagerCertificateSpecInternal)CertManagerCertificateSpec).San; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ICertManagerCertificateSpecInternal)CertManagerCertificateSpec).San = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ISanForCert Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ITlsCertMethodInternal.CertManagerCertificateSpecSan { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ICertManagerCertificateSpecInternal)CertManagerCertificateSpec).San; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ICertManagerCertificateSpecInternal)CertManagerCertificateSpec).San = value ?? null /* model class */; }
/// Internal Acessors for Manual
Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IX509ManualCertificate Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ITlsCertMethodInternal.Manual { get => (this._manual = this._manual ?? new Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.X509ManualCertificate()); set { {_manual = value;} } }
diff --git a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/TrackedResource.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/TrackedResource.cs
index 0e898334e6e7..499921a9bb4c 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/TrackedResource.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/api/Models/TrackedResource.cs
@@ -35,16 +35,34 @@ public partial class TrackedResource :
public string Location { get => this._location; set => this._location = value; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__resource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__resource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__resource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__resource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__resource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__resource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__resource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__resource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__resource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__resource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__resource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__resource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__resource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__resource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__resource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__resource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__resource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inherited)]
@@ -54,31 +72,31 @@ public partial class TrackedResource :
/// Azure Resource Manager metadata containing createdBy and modifiedBy information.
///
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inherited)]
- internal Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__resource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__resource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__resource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__resource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__resource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inherited)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__resource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__resource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__resource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inherited)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__resource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__resource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__resource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__resource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__resource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Origin(Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__resource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; }
/// Backing field for property.
private Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ITrackedResourceTags _tag;
@@ -118,7 +136,7 @@ public partial interface ITrackedResource :
{
/// The geo-location where the resource lives
[Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Runtime.Info(
- Required = true,
+ Required = false,
ReadOnly = false,
Read = true,
Create = true,
diff --git a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/NewAzIoTOperationsServiceBrokerAuthentication_CreateExpanded.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/NewAzIoTOperationsServiceBrokerAuthentication_CreateExpanded.cs
index c39d3c5918fe..56ea200c35e0 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/NewAzIoTOperationsServiceBrokerAuthentication_CreateExpanded.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/NewAzIoTOperationsServiceBrokerAuthentication_CreateExpanded.cs
@@ -40,18 +40,9 @@ public partial class NewAzIoTOperationsServiceBrokerAuthentication_CreateExpande
/// 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;
-
/// Instance broker authentication resource
private Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerAuthenticationResource _resourceBody = new Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.BrokerAuthenticationResource();
- ///
- /// 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.IoTOperationsService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.ParameterCategory.Runtime)]
@@ -307,11 +298,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Cmdlets.NewAzIoTO
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.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.IoTOperationsService.Models.IBrokerAuthenticationResource
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/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/NewAzIoTOperationsServiceBrokerAuthentication_CreateViaJsonFilePath.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/NewAzIoTOperationsServiceBrokerAuthentication_CreateViaJsonFilePath.cs
index de1f3cc43b27..1f7e9b6ee081 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/NewAzIoTOperationsServiceBrokerAuthentication_CreateViaJsonFilePath.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/NewAzIoTOperationsServiceBrokerAuthentication_CreateViaJsonFilePath.cs
@@ -41,17 +41,8 @@ public partial class NewAzIoTOperationsServiceBrokerAuthentication_CreateViaJson
/// 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.IoTOperationsService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.ParameterCategory.Runtime)]
@@ -294,11 +285,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Cmdlets.NewAzIoTO
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.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.IoTOperationsService.Models.IBrokerAuthenticationResource
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/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/NewAzIoTOperationsServiceBrokerAuthentication_CreateViaJsonString.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/NewAzIoTOperationsServiceBrokerAuthentication_CreateViaJsonString.cs
index e7c13a6e4b3f..7fd067c9ab92 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/NewAzIoTOperationsServiceBrokerAuthentication_CreateViaJsonString.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/NewAzIoTOperationsServiceBrokerAuthentication_CreateViaJsonString.cs
@@ -41,15 +41,6 @@ public partial class NewAzIoTOperationsServiceBrokerAuthentication_CreateViaJson
/// 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.IoTOperationsService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.ParameterCategory.Runtime)]
@@ -292,11 +283,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Cmdlets.NewAzIoTO
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.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.IoTOperationsService.Models.IBrokerAuthenticationResource
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/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/NewAzIoTOperationsServiceBrokerAuthorization_CreateExpanded.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/NewAzIoTOperationsServiceBrokerAuthorization_CreateExpanded.cs
index b46818e862e4..39643779ebc3 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/NewAzIoTOperationsServiceBrokerAuthorization_CreateExpanded.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/NewAzIoTOperationsServiceBrokerAuthorization_CreateExpanded.cs
@@ -40,18 +40,9 @@ public partial class NewAzIoTOperationsServiceBrokerAuthorization_CreateExpanded
/// 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;
-
/// Instance broker authorizations resource
private Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerAuthorizationResource _resourceBody = new Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.BrokerAuthorizationResource();
- ///
- /// 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.IoTOperationsService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.ParameterCategory.Runtime)]
@@ -318,11 +309,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Cmdlets.NewAzIoTO
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -638,24 +624,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerAuthorizationResource
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/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/NewAzIoTOperationsServiceBrokerAuthorization_CreateViaJsonFilePath.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/NewAzIoTOperationsServiceBrokerAuthorization_CreateViaJsonFilePath.cs
index c80788171c37..3f6b4dbe5b1a 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/NewAzIoTOperationsServiceBrokerAuthorization_CreateViaJsonFilePath.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/NewAzIoTOperationsServiceBrokerAuthorization_CreateViaJsonFilePath.cs
@@ -41,17 +41,8 @@ public partial class NewAzIoTOperationsServiceBrokerAuthorization_CreateViaJsonF
/// 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.IoTOperationsService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.ParameterCategory.Runtime)]
@@ -294,11 +285,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Cmdlets.NewAzIoTO
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.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.IoTOperationsService.Models.IBrokerAuthorizationResource
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/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/NewAzIoTOperationsServiceBrokerAuthorization_CreateViaJsonString.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/NewAzIoTOperationsServiceBrokerAuthorization_CreateViaJsonString.cs
index f93281d5253f..1a3bc2899d2c 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/NewAzIoTOperationsServiceBrokerAuthorization_CreateViaJsonString.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/NewAzIoTOperationsServiceBrokerAuthorization_CreateViaJsonString.cs
@@ -41,15 +41,6 @@ public partial class NewAzIoTOperationsServiceBrokerAuthorization_CreateViaJsonS
/// 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.IoTOperationsService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.ParameterCategory.Runtime)]
@@ -292,11 +283,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Cmdlets.NewAzIoTO
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.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.IoTOperationsService.Models.IBrokerAuthorizationResource
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/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/NewAzIoTOperationsServiceBrokerListener_CreateExpanded.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/NewAzIoTOperationsServiceBrokerListener_CreateExpanded.cs
index dd51533c347e..f3640e710295 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/NewAzIoTOperationsServiceBrokerListener_CreateExpanded.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/NewAzIoTOperationsServiceBrokerListener_CreateExpanded.cs
@@ -40,18 +40,9 @@ public partial class NewAzIoTOperationsServiceBrokerListener_CreateExpanded : 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;
-
/// Instance broker resource
private Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerListenerResource _resourceBody = new Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.BrokerListenerResource();
- ///
- /// 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.IoTOperationsService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.ParameterCategory.Runtime)]
@@ -325,11 +316,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Cmdlets.NewAzIoTO
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.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.IoTOperationsService.Models.IBrokerListenerResource
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/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/NewAzIoTOperationsServiceBrokerListener_CreateViaJsonFilePath.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/NewAzIoTOperationsServiceBrokerListener_CreateViaJsonFilePath.cs
index 4ba2aa54f026..4647e24458aa 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/NewAzIoTOperationsServiceBrokerListener_CreateViaJsonFilePath.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/NewAzIoTOperationsServiceBrokerListener_CreateViaJsonFilePath.cs
@@ -41,17 +41,8 @@ public partial class NewAzIoTOperationsServiceBrokerListener_CreateViaJsonFilePa
/// 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.IoTOperationsService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.ParameterCategory.Runtime)]
@@ -294,11 +285,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Cmdlets.NewAzIoTO
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.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.IoTOperationsService.Models.IBrokerListenerResource
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/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/NewAzIoTOperationsServiceBrokerListener_CreateViaJsonString.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/NewAzIoTOperationsServiceBrokerListener_CreateViaJsonString.cs
index 74aba692e0f2..fe0de14ec2ac 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/NewAzIoTOperationsServiceBrokerListener_CreateViaJsonString.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/NewAzIoTOperationsServiceBrokerListener_CreateViaJsonString.cs
@@ -41,15 +41,6 @@ public partial class NewAzIoTOperationsServiceBrokerListener_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.IoTOperationsService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.ParameterCategory.Runtime)]
@@ -292,11 +283,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Cmdlets.NewAzIoTO
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.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.IoTOperationsService.Models.IBrokerListenerResource
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/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/NewAzIoTOperationsServiceBroker_CreateExpanded.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/NewAzIoTOperationsServiceBroker_CreateExpanded.cs
index 051a68356ee0..8fd5b967743e 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/NewAzIoTOperationsServiceBroker_CreateExpanded.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/NewAzIoTOperationsServiceBroker_CreateExpanded.cs
@@ -40,18 +40,9 @@ public partial class NewAzIoTOperationsServiceBroker_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;
-
/// Instance broker resource
private Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerResource _resourceBody = new Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.BrokerResource();
- ///
- /// 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 setting to enable or disable encryption of internal Traffic.
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The setting to enable or disable encryption of internal Traffic.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.ParameterCategory.Body)]
@@ -621,11 +612,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Cmdlets.NewAzIoTO
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -941,24 +927,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerResource
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/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/NewAzIoTOperationsServiceBroker_CreateViaJsonFilePath.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/NewAzIoTOperationsServiceBroker_CreateViaJsonFilePath.cs
index ac988f68228a..c3ebb13b093b 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/NewAzIoTOperationsServiceBroker_CreateViaJsonFilePath.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/NewAzIoTOperationsServiceBroker_CreateViaJsonFilePath.cs
@@ -41,17 +41,8 @@ public partial class NewAzIoTOperationsServiceBroker_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;
-
/// 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.IoTOperationsService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.ParameterCategory.Runtime)]
@@ -278,11 +269,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Cmdlets.NewAzIoTO
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.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.IoTOperationsService.Models.IBrokerResource
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/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/NewAzIoTOperationsServiceBroker_CreateViaJsonString.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/NewAzIoTOperationsServiceBroker_CreateViaJsonString.cs
index 8a03e6380b31..c9404ba040a8 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/NewAzIoTOperationsServiceBroker_CreateViaJsonString.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/NewAzIoTOperationsServiceBroker_CreateViaJsonString.cs
@@ -41,15 +41,6 @@ public partial class NewAzIoTOperationsServiceBroker_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;
-
/// 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.IoTOperationsService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.ParameterCategory.Runtime)]
@@ -276,11 +267,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Cmdlets.NewAzIoTO
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.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.IoTOperationsService.Models.IBrokerResource
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/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/NewAzIoTOperationsServiceDataflowEndpoint_CreateExpanded.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/NewAzIoTOperationsServiceDataflowEndpoint_CreateExpanded.cs
index 335ac5ec6168..1c5440dd21b3 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/NewAzIoTOperationsServiceDataflowEndpoint_CreateExpanded.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/NewAzIoTOperationsServiceDataflowEndpoint_CreateExpanded.cs
@@ -40,18 +40,9 @@ public partial class NewAzIoTOperationsServiceDataflowEndpoint_CreateExpanded :
/// 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;
-
/// Instance dataflowEndpoint resource
private Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointResource _resourceBody = new Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.DataflowEndpointResource();
- ///
- /// 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;
-
/// Token secret name.
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Token secret name.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.ParameterCategory.Body)]
@@ -662,11 +653,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Cmdlets.NewAzIoTO
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -982,24 +968,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointResource
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/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/NewAzIoTOperationsServiceDataflowEndpoint_CreateViaJsonFilePath.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/NewAzIoTOperationsServiceDataflowEndpoint_CreateViaJsonFilePath.cs
index 085802baa0c9..97235dd1bc41 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/NewAzIoTOperationsServiceDataflowEndpoint_CreateViaJsonFilePath.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/NewAzIoTOperationsServiceDataflowEndpoint_CreateViaJsonFilePath.cs
@@ -41,17 +41,8 @@ public partial class NewAzIoTOperationsServiceDataflowEndpoint_CreateViaJsonFile
/// 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.IoTOperationsService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.ParameterCategory.Runtime)]
@@ -280,11 +271,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Cmdlets.NewAzIoTO
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.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.IoTOperationsService.Models.IDataflowEndpointResource
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/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/NewAzIoTOperationsServiceDataflowEndpoint_CreateViaJsonString.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/NewAzIoTOperationsServiceDataflowEndpoint_CreateViaJsonString.cs
index 5aab12c52401..80fda138d452 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/NewAzIoTOperationsServiceDataflowEndpoint_CreateViaJsonString.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/NewAzIoTOperationsServiceDataflowEndpoint_CreateViaJsonString.cs
@@ -41,15 +41,6 @@ public partial class NewAzIoTOperationsServiceDataflowEndpoint_CreateViaJsonStri
/// 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.IoTOperationsService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.ParameterCategory.Runtime)]
@@ -278,11 +269,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Cmdlets.NewAzIoTO
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.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.IoTOperationsService.Models.IDataflowEndpointResource
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/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/NewAzIoTOperationsServiceDataflowProfile_CreateExpanded.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/NewAzIoTOperationsServiceDataflowProfile_CreateExpanded.cs
index 2ad38311f17c..7e9117347575 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/NewAzIoTOperationsServiceDataflowProfile_CreateExpanded.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/NewAzIoTOperationsServiceDataflowProfile_CreateExpanded.cs
@@ -40,18 +40,9 @@ public partial class NewAzIoTOperationsServiceDataflowProfile_CreateExpanded : 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;
-
/// Instance dataflowProfile resource
private Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowProfileResource _resourceBody = new Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.DataflowProfileResource();
- ///
- /// 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.IoTOperationsService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.ParameterCategory.Runtime)]
@@ -311,11 +302,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Cmdlets.NewAzIoTO
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.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.IoTOperationsService.Models.IDataflowProfileResource
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/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/NewAzIoTOperationsServiceDataflowProfile_CreateViaJsonFilePath.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/NewAzIoTOperationsServiceDataflowProfile_CreateViaJsonFilePath.cs
index a2229b8c06ac..7bbe129abc99 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/NewAzIoTOperationsServiceDataflowProfile_CreateViaJsonFilePath.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/NewAzIoTOperationsServiceDataflowProfile_CreateViaJsonFilePath.cs
@@ -41,17 +41,8 @@ public partial class NewAzIoTOperationsServiceDataflowProfile_CreateViaJsonFileP
/// 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.IoTOperationsService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.ParameterCategory.Runtime)]
@@ -280,11 +271,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Cmdlets.NewAzIoTO
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.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.IoTOperationsService.Models.IDataflowProfileResource
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/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/NewAzIoTOperationsServiceDataflowProfile_CreateViaJsonString.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/NewAzIoTOperationsServiceDataflowProfile_CreateViaJsonString.cs
index 2db9889657df..f38f591ed3bc 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/NewAzIoTOperationsServiceDataflowProfile_CreateViaJsonString.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/NewAzIoTOperationsServiceDataflowProfile_CreateViaJsonString.cs
@@ -41,15 +41,6 @@ public partial class NewAzIoTOperationsServiceDataflowProfile_CreateViaJsonStrin
/// 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.IoTOperationsService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.ParameterCategory.Runtime)]
@@ -278,11 +269,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Cmdlets.NewAzIoTO
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.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.IoTOperationsService.Models.IDataflowProfileResource
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/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/NewAzIoTOperationsServiceDataflow_CreateExpanded.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/NewAzIoTOperationsServiceDataflow_CreateExpanded.cs
index caf9ab3837c7..80b535cddc34 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/NewAzIoTOperationsServiceDataflow_CreateExpanded.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/NewAzIoTOperationsServiceDataflow_CreateExpanded.cs
@@ -40,18 +40,9 @@ public partial class NewAzIoTOperationsServiceDataflow_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;
-
/// Instance dataflowProfile dataflow resource
private Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowResource _resourceBody = new Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.DataflowResource();
- ///
- /// 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.IoTOperationsService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.ParameterCategory.Runtime)]
@@ -318,11 +309,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Cmdlets.NewAzIoTO
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -638,24 +624,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowResource
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/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/NewAzIoTOperationsServiceDataflow_CreateViaJsonFilePath.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/NewAzIoTOperationsServiceDataflow_CreateViaJsonFilePath.cs
index 30291b88d5e3..e344b9166e8c 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/NewAzIoTOperationsServiceDataflow_CreateViaJsonFilePath.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/NewAzIoTOperationsServiceDataflow_CreateViaJsonFilePath.cs
@@ -41,17 +41,8 @@ public partial class NewAzIoTOperationsServiceDataflow_CreateViaJsonFilePath : 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;
-
/// 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.IoTOperationsService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.ParameterCategory.Runtime)]
@@ -294,11 +285,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Cmdlets.NewAzIoTO
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.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.IoTOperationsService.Models.IDataflowResource
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/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/NewAzIoTOperationsServiceDataflow_CreateViaJsonString.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/NewAzIoTOperationsServiceDataflow_CreateViaJsonString.cs
index 398823d6bcd2..80bfaee1e335 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/NewAzIoTOperationsServiceDataflow_CreateViaJsonString.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/NewAzIoTOperationsServiceDataflow_CreateViaJsonString.cs
@@ -41,15 +41,6 @@ public partial class NewAzIoTOperationsServiceDataflow_CreateViaJsonString : 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.IoTOperationsService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.ParameterCategory.Runtime)]
@@ -292,11 +283,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Cmdlets.NewAzIoTO
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.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.IoTOperationsService.Models.IDataflowResource
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/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/NewAzIoTOperationsServiceInstance_CreateExpanded.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/NewAzIoTOperationsServiceInstance_CreateExpanded.cs
index bfd8c796bee5..76be3aa87db8 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/NewAzIoTOperationsServiceInstance_CreateExpanded.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/NewAzIoTOperationsServiceInstance_CreateExpanded.cs
@@ -40,18 +40,9 @@ public partial class NewAzIoTOperationsServiceInstance_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 Instance resource is a logical container for a set of child resources.
private Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IInstanceResource _resourceBody = new Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.InstanceResource();
- ///
- /// 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.IoTOperationsService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.ParameterCategory.Runtime)]
@@ -318,11 +309,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Cmdlets.NewAzIoTO
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -664,24 +650,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IInstanceResource
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/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/NewAzIoTOperationsServiceInstance_CreateViaJsonFilePath.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/NewAzIoTOperationsServiceInstance_CreateViaJsonFilePath.cs
index 8ecef798284e..25a9f599ed26 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/NewAzIoTOperationsServiceInstance_CreateViaJsonFilePath.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/NewAzIoTOperationsServiceInstance_CreateViaJsonFilePath.cs
@@ -41,17 +41,8 @@ public partial class NewAzIoTOperationsServiceInstance_CreateViaJsonFilePath : 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;
-
/// 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.IoTOperationsService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.ParameterCategory.Runtime)]
@@ -263,11 +254,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Cmdlets.NewAzIoTO
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.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.IoTOperationsService.Models.IInstanceResource
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/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/NewAzIoTOperationsServiceInstance_CreateViaJsonString.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/NewAzIoTOperationsServiceInstance_CreateViaJsonString.cs
index 7aa84f89b7cb..d00f691e124a 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/NewAzIoTOperationsServiceInstance_CreateViaJsonString.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/NewAzIoTOperationsServiceInstance_CreateViaJsonString.cs
@@ -41,15 +41,6 @@ public partial class NewAzIoTOperationsServiceInstance_CreateViaJsonString : 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.IoTOperationsService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.ParameterCategory.Runtime)]
@@ -261,11 +252,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Cmdlets.NewAzIoTO
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.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.IoTOperationsService.Models.IInstanceResource
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/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceBrokerAuthentication_Delete.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceBrokerAuthentication_Delete.cs
index 158dc5e83921..eec3a58e1862 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceBrokerAuthentication_Delete.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceBrokerAuthentication_Delete.cs
@@ -40,15 +40,6 @@ public partial class RemoveAzIoTOperationsServiceBrokerAuthentication_Delete : 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.IoTOperationsService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.ParameterCategory.Runtime)]
@@ -290,11 +281,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Cmdlets.RemoveAzI
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -606,7 +592,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -630,7 +616,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/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceBrokerAuthentication_DeleteViaIdentity.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceBrokerAuthentication_DeleteViaIdentity.cs
index 5d86329f6193..ad295c82ad1c 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceBrokerAuthentication_DeleteViaIdentity.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceBrokerAuthentication_DeleteViaIdentity.cs
@@ -40,15 +40,6 @@ public partial class RemoveAzIoTOperationsServiceBrokerAuthentication_DeleteViaI
/// 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.IoTOperationsService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.ParameterCategory.Runtime)]
@@ -220,11 +211,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Cmdlets.RemoveAzI
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.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/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceBrokerAuthentication_DeleteViaIdentityBroker.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceBrokerAuthentication_DeleteViaIdentityBroker.cs
index a909929a0d24..6252d7872f14 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceBrokerAuthentication_DeleteViaIdentityBroker.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceBrokerAuthentication_DeleteViaIdentityBroker.cs
@@ -40,15 +40,6 @@ public partial class RemoveAzIoTOperationsServiceBrokerAuthentication_DeleteViaI
/// 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.IoTOperationsService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.ParameterCategory.Runtime)]
@@ -235,11 +226,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Cmdlets.RemoveAzI
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.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/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceBrokerAuthentication_DeleteViaIdentityInstance.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceBrokerAuthentication_DeleteViaIdentityInstance.cs
index 0fae1641fdd5..873672399115 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceBrokerAuthentication_DeleteViaIdentityInstance.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceBrokerAuthentication_DeleteViaIdentityInstance.cs
@@ -40,15 +40,6 @@ public partial class RemoveAzIoTOperationsServiceBrokerAuthentication_DeleteViaI
/// 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.IoTOperationsService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.ParameterCategory.Runtime)]
@@ -250,11 +241,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Cmdlets.RemoveAzI
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.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/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceBrokerAuthorization_Delete.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceBrokerAuthorization_Delete.cs
index a4bbecf85815..75662f82d3d9 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceBrokerAuthorization_Delete.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceBrokerAuthorization_Delete.cs
@@ -40,15 +40,6 @@ public partial class RemoveAzIoTOperationsServiceBrokerAuthorization_Delete : 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.IoTOperationsService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.ParameterCategory.Runtime)]
@@ -290,11 +281,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Cmdlets.RemoveAzI
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -606,7 +592,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -630,7 +616,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/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceBrokerAuthorization_DeleteViaIdentity.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceBrokerAuthorization_DeleteViaIdentity.cs
index 5608515fa467..c6e8f82808c2 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceBrokerAuthorization_DeleteViaIdentity.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceBrokerAuthorization_DeleteViaIdentity.cs
@@ -40,15 +40,6 @@ public partial class RemoveAzIoTOperationsServiceBrokerAuthorization_DeleteViaId
/// 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.IoTOperationsService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.ParameterCategory.Runtime)]
@@ -220,11 +211,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Cmdlets.RemoveAzI
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.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/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceBrokerAuthorization_DeleteViaIdentityBroker.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceBrokerAuthorization_DeleteViaIdentityBroker.cs
index 6a3ea2810cda..974a9d145034 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceBrokerAuthorization_DeleteViaIdentityBroker.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceBrokerAuthorization_DeleteViaIdentityBroker.cs
@@ -40,15 +40,6 @@ public partial class RemoveAzIoTOperationsServiceBrokerAuthorization_DeleteViaId
/// 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.IoTOperationsService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.ParameterCategory.Runtime)]
@@ -235,11 +226,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Cmdlets.RemoveAzI
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.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/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceBrokerAuthorization_DeleteViaIdentityInstance.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceBrokerAuthorization_DeleteViaIdentityInstance.cs
index a7b9d92345aa..6bc1db9a5b7a 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceBrokerAuthorization_DeleteViaIdentityInstance.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceBrokerAuthorization_DeleteViaIdentityInstance.cs
@@ -40,15 +40,6 @@ public partial class RemoveAzIoTOperationsServiceBrokerAuthorization_DeleteViaId
/// 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.IoTOperationsService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.ParameterCategory.Runtime)]
@@ -250,11 +241,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Cmdlets.RemoveAzI
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.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/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceBrokerListener_Delete.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceBrokerListener_Delete.cs
index 8a15405edaa4..839aa14a23d0 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceBrokerListener_Delete.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceBrokerListener_Delete.cs
@@ -40,15 +40,6 @@ public partial class RemoveAzIoTOperationsServiceBrokerListener_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.IoTOperationsService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.ParameterCategory.Runtime)]
@@ -290,11 +281,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Cmdlets.RemoveAzI
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -606,7 +592,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -630,7 +616,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/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceBrokerListener_DeleteViaIdentity.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceBrokerListener_DeleteViaIdentity.cs
index 7c282186174e..acbd8ef3a2ff 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceBrokerListener_DeleteViaIdentity.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceBrokerListener_DeleteViaIdentity.cs
@@ -40,15 +40,6 @@ public partial class RemoveAzIoTOperationsServiceBrokerListener_DeleteViaIdentit
/// 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.IoTOperationsService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.ParameterCategory.Runtime)]
@@ -220,11 +211,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Cmdlets.RemoveAzI
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -564,7 +550,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -588,7 +574,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/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceBrokerListener_DeleteViaIdentityBroker.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceBrokerListener_DeleteViaIdentityBroker.cs
index e970b7c1512f..89cf5dca0fb0 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceBrokerListener_DeleteViaIdentityBroker.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceBrokerListener_DeleteViaIdentityBroker.cs
@@ -40,15 +40,6 @@ public partial class RemoveAzIoTOperationsServiceBrokerListener_DeleteViaIdentit
/// 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.IoTOperationsService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.ParameterCategory.Runtime)]
@@ -235,11 +226,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Cmdlets.RemoveAzI
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.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/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceBrokerListener_DeleteViaIdentityInstance.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceBrokerListener_DeleteViaIdentityInstance.cs
index 0219a9aa1911..1d980bd409b4 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceBrokerListener_DeleteViaIdentityInstance.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceBrokerListener_DeleteViaIdentityInstance.cs
@@ -40,15 +40,6 @@ public partial class RemoveAzIoTOperationsServiceBrokerListener_DeleteViaIdentit
/// 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.IoTOperationsService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.ParameterCategory.Runtime)]
@@ -250,11 +241,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Cmdlets.RemoveAzI
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.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/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceBroker_Delete.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceBroker_Delete.cs
index 6ba14f84e4fc..13be5fef0cb6 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceBroker_Delete.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceBroker_Delete.cs
@@ -40,15 +40,6 @@ public partial class RemoveAzIoTOperationsServiceBroker_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.IoTOperationsService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.ParameterCategory.Runtime)]
@@ -276,11 +267,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Cmdlets.RemoveAzI
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -592,7 +578,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -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/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceBroker_DeleteViaIdentity.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceBroker_DeleteViaIdentity.cs
index e4a565ccbc94..4306ee33f31d 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceBroker_DeleteViaIdentity.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceBroker_DeleteViaIdentity.cs
@@ -40,15 +40,6 @@ public partial class RemoveAzIoTOperationsServiceBroker_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.IoTOperationsService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.ParameterCategory.Runtime)]
@@ -218,11 +209,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Cmdlets.RemoveAzI
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.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/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceBroker_DeleteViaIdentityInstance.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceBroker_DeleteViaIdentityInstance.cs
index 2115b278b90c..5d7ea03415d6 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceBroker_DeleteViaIdentityInstance.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceBroker_DeleteViaIdentityInstance.cs
@@ -40,15 +40,6 @@ public partial class RemoveAzIoTOperationsServiceBroker_DeleteViaIdentityInstanc
/// 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.IoTOperationsService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.ParameterCategory.Runtime)]
@@ -236,11 +227,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Cmdlets.RemoveAzI
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.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/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceDataflowEndpoint_Delete.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceDataflowEndpoint_Delete.cs
index e3396c74c1c1..d46297093d05 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceDataflowEndpoint_Delete.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceDataflowEndpoint_Delete.cs
@@ -40,15 +40,6 @@ public partial class RemoveAzIoTOperationsServiceDataflowEndpoint_Delete : 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.IoTOperationsService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.ParameterCategory.Runtime)]
@@ -276,11 +267,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Cmdlets.RemoveAzI
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -592,7 +578,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -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/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceDataflowEndpoint_DeleteViaIdentity.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceDataflowEndpoint_DeleteViaIdentity.cs
index 57a0dfc30ec2..80b0441ffd93 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceDataflowEndpoint_DeleteViaIdentity.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceDataflowEndpoint_DeleteViaIdentity.cs
@@ -40,15 +40,6 @@ public partial class RemoveAzIoTOperationsServiceDataflowEndpoint_DeleteViaIdent
/// 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.IoTOperationsService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.ParameterCategory.Runtime)]
@@ -220,11 +211,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Cmdlets.RemoveAzI
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.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/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceDataflowEndpoint_DeleteViaIdentityInstance.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceDataflowEndpoint_DeleteViaIdentityInstance.cs
index 68680c9ed869..dd60555639c9 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceDataflowEndpoint_DeleteViaIdentityInstance.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceDataflowEndpoint_DeleteViaIdentityInstance.cs
@@ -40,15 +40,6 @@ public partial class RemoveAzIoTOperationsServiceDataflowEndpoint_DeleteViaIdent
/// 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.IoTOperationsService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.ParameterCategory.Runtime)]
@@ -236,11 +227,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Cmdlets.RemoveAzI
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -574,7 +560,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -598,7 +584,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/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceDataflowProfile_Delete.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceDataflowProfile_Delete.cs
index eb2efbaf0824..329d21a69517 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceDataflowProfile_Delete.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceDataflowProfile_Delete.cs
@@ -40,15 +40,6 @@ public partial class RemoveAzIoTOperationsServiceDataflowProfile_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.IoTOperationsService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.ParameterCategory.Runtime)]
@@ -276,11 +267,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Cmdlets.RemoveAzI
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -592,7 +578,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -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/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceDataflowProfile_DeleteViaIdentity.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceDataflowProfile_DeleteViaIdentity.cs
index 61703271963d..6788857df6f4 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceDataflowProfile_DeleteViaIdentity.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceDataflowProfile_DeleteViaIdentity.cs
@@ -40,15 +40,6 @@ public partial class RemoveAzIoTOperationsServiceDataflowProfile_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.IoTOperationsService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.ParameterCategory.Runtime)]
@@ -220,11 +211,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Cmdlets.RemoveAzI
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.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/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceDataflowProfile_DeleteViaIdentityInstance.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceDataflowProfile_DeleteViaIdentityInstance.cs
index e1e0db180a48..dfdd197ff44c 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceDataflowProfile_DeleteViaIdentityInstance.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceDataflowProfile_DeleteViaIdentityInstance.cs
@@ -40,15 +40,6 @@ public partial class RemoveAzIoTOperationsServiceDataflowProfile_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.IoTOperationsService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.ParameterCategory.Runtime)]
@@ -236,11 +227,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Cmdlets.RemoveAzI
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -574,7 +560,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -598,7 +584,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/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceDataflow_Delete.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceDataflow_Delete.cs
index 6718b4bcdb01..6ab7d89c0d6d 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceDataflow_Delete.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceDataflow_Delete.cs
@@ -40,15 +40,6 @@ public partial class RemoveAzIoTOperationsServiceDataflow_Delete : 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.IoTOperationsService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.ParameterCategory.Runtime)]
@@ -292,11 +283,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Cmdlets.RemoveAzI
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -608,7 +594,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -632,7 +618,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/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceDataflow_DeleteViaIdentity.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceDataflow_DeleteViaIdentity.cs
index 06157ca4a489..f7239e314a0b 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceDataflow_DeleteViaIdentity.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceDataflow_DeleteViaIdentity.cs
@@ -40,15 +40,6 @@ public partial class RemoveAzIoTOperationsServiceDataflow_DeleteViaIdentity : 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.IoTOperationsService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.ParameterCategory.Runtime)]
@@ -218,11 +209,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Cmdlets.RemoveAzI
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.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/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceDataflow_DeleteViaIdentityDataflowProfile.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceDataflow_DeleteViaIdentityDataflowProfile.cs
index e26b03cb57f4..1afc39ca1e37 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceDataflow_DeleteViaIdentityDataflowProfile.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceDataflow_DeleteViaIdentityDataflowProfile.cs
@@ -40,15 +40,6 @@ public partial class RemoveAzIoTOperationsServiceDataflow_DeleteViaIdentityDataf
/// 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.IoTOperationsService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.ParameterCategory.Runtime)]
@@ -236,11 +227,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Cmdlets.RemoveAzI
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.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/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceDataflow_DeleteViaIdentityInstance.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceDataflow_DeleteViaIdentityInstance.cs
index aac521406681..07b43fbacdd0 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceDataflow_DeleteViaIdentityInstance.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceDataflow_DeleteViaIdentityInstance.cs
@@ -40,15 +40,6 @@ public partial class RemoveAzIoTOperationsServiceDataflow_DeleteViaIdentityInsta
/// 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.IoTOperationsService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.ParameterCategory.Runtime)]
@@ -252,11 +243,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Cmdlets.RemoveAzI
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -590,7 +576,7 @@ protected override void StopProcessing()
return ;
}
// onNoContent - response for 204 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru"))
{
WriteObject(true);
}
@@ -614,7 +600,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/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceInstance_Delete.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceInstance_Delete.cs
index bfbbb0f66443..dfdcf10d2a75 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceInstance_Delete.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceInstance_Delete.cs
@@ -40,15 +40,6 @@ public partial class RemoveAzIoTOperationsServiceInstance_Delete : 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.IoTOperationsService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.ParameterCategory.Runtime)]
@@ -261,11 +252,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Cmdlets.RemoveAzI
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.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/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceInstance_DeleteViaIdentity.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceInstance_DeleteViaIdentity.cs
index 168a91a7d0ed..3c8c46a0c4e1 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceInstance_DeleteViaIdentity.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/RemoveAzIoTOperationsServiceInstance_DeleteViaIdentity.cs
@@ -40,15 +40,6 @@ public partial class RemoveAzIoTOperationsServiceInstance_DeleteViaIdentity : 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.IoTOperationsService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.ParameterCategory.Runtime)]
@@ -218,11 +209,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Cmdlets.RemoveAzI
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.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/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/SetAzIoTOperationsServiceBrokerAuthentication_UpdateExpanded.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/SetAzIoTOperationsServiceBrokerAuthentication_UpdateExpanded.cs
index feea7a49233f..9815a7a88e38 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/SetAzIoTOperationsServiceBrokerAuthentication_UpdateExpanded.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/SetAzIoTOperationsServiceBrokerAuthentication_UpdateExpanded.cs
@@ -40,18 +40,9 @@ public partial class SetAzIoTOperationsServiceBrokerAuthentication_UpdateExpande
/// 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;
-
/// Instance broker authentication resource
private Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerAuthenticationResource _resourceBody = new Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.BrokerAuthenticationResource();
- ///
- /// 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.IoTOperationsService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.ParameterCategory.Runtime)]
@@ -307,11 +298,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Cmdlets.SetAzIoTO
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.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.IoTOperationsService.Models.IBrokerAuthenticationResource
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/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/SetAzIoTOperationsServiceBrokerAuthentication_UpdateViaJsonFilePath.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/SetAzIoTOperationsServiceBrokerAuthentication_UpdateViaJsonFilePath.cs
index b80ae8fe1a56..306962ed4416 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/SetAzIoTOperationsServiceBrokerAuthentication_UpdateViaJsonFilePath.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/SetAzIoTOperationsServiceBrokerAuthentication_UpdateViaJsonFilePath.cs
@@ -41,17 +41,8 @@ public partial class SetAzIoTOperationsServiceBrokerAuthentication_UpdateViaJson
/// 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.IoTOperationsService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.ParameterCategory.Runtime)]
@@ -294,11 +285,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Cmdlets.SetAzIoTO
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.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.IoTOperationsService.Models.IBrokerAuthenticationResource
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/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/SetAzIoTOperationsServiceBrokerAuthentication_UpdateViaJsonString.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/SetAzIoTOperationsServiceBrokerAuthentication_UpdateViaJsonString.cs
index 101f030d08b9..76fccdf30467 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/SetAzIoTOperationsServiceBrokerAuthentication_UpdateViaJsonString.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/SetAzIoTOperationsServiceBrokerAuthentication_UpdateViaJsonString.cs
@@ -41,15 +41,6 @@ public partial class SetAzIoTOperationsServiceBrokerAuthentication_UpdateViaJson
/// 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.IoTOperationsService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.ParameterCategory.Runtime)]
@@ -292,11 +283,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Cmdlets.SetAzIoTO
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.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.IoTOperationsService.Models.IBrokerAuthenticationResource
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/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/SetAzIoTOperationsServiceBrokerAuthorization_UpdateExpanded.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/SetAzIoTOperationsServiceBrokerAuthorization_UpdateExpanded.cs
index 4d4196f6c772..945690f6b669 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/SetAzIoTOperationsServiceBrokerAuthorization_UpdateExpanded.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/SetAzIoTOperationsServiceBrokerAuthorization_UpdateExpanded.cs
@@ -40,18 +40,9 @@ public partial class SetAzIoTOperationsServiceBrokerAuthorization_UpdateExpanded
/// 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;
-
/// Instance broker authorizations resource
private Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerAuthorizationResource _resourceBody = new Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.BrokerAuthorizationResource();
- ///
- /// 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.IoTOperationsService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.ParameterCategory.Runtime)]
@@ -318,11 +309,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Cmdlets.SetAzIoTO
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -638,24 +624,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerAuthorizationResource
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/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/SetAzIoTOperationsServiceBrokerAuthorization_UpdateViaJsonFilePath.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/SetAzIoTOperationsServiceBrokerAuthorization_UpdateViaJsonFilePath.cs
index 7156192aa3db..c95b3ebc7ff5 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/SetAzIoTOperationsServiceBrokerAuthorization_UpdateViaJsonFilePath.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/SetAzIoTOperationsServiceBrokerAuthorization_UpdateViaJsonFilePath.cs
@@ -41,17 +41,8 @@ public partial class SetAzIoTOperationsServiceBrokerAuthorization_UpdateViaJsonF
/// 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.IoTOperationsService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.ParameterCategory.Runtime)]
@@ -294,11 +285,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Cmdlets.SetAzIoTO
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.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.IoTOperationsService.Models.IBrokerAuthorizationResource
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/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/SetAzIoTOperationsServiceBrokerAuthorization_UpdateViaJsonString.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/SetAzIoTOperationsServiceBrokerAuthorization_UpdateViaJsonString.cs
index 307d945cf085..1292e31c40c4 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/SetAzIoTOperationsServiceBrokerAuthorization_UpdateViaJsonString.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/SetAzIoTOperationsServiceBrokerAuthorization_UpdateViaJsonString.cs
@@ -41,15 +41,6 @@ public partial class SetAzIoTOperationsServiceBrokerAuthorization_UpdateViaJsonS
/// 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.IoTOperationsService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.ParameterCategory.Runtime)]
@@ -292,11 +283,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Cmdlets.SetAzIoTO
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.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.IoTOperationsService.Models.IBrokerAuthorizationResource
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/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/SetAzIoTOperationsServiceBrokerListener_UpdateExpanded.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/SetAzIoTOperationsServiceBrokerListener_UpdateExpanded.cs
index 7397a0f71dd3..ae7b4195c7db 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/SetAzIoTOperationsServiceBrokerListener_UpdateExpanded.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/SetAzIoTOperationsServiceBrokerListener_UpdateExpanded.cs
@@ -40,18 +40,9 @@ public partial class SetAzIoTOperationsServiceBrokerListener_UpdateExpanded : 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;
-
/// Instance broker resource
private Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerListenerResource _resourceBody = new Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.BrokerListenerResource();
- ///
- /// 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.IoTOperationsService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.ParameterCategory.Runtime)]
@@ -325,11 +316,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Cmdlets.SetAzIoTO
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.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.IoTOperationsService.Models.IBrokerListenerResource
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/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/SetAzIoTOperationsServiceBrokerListener_UpdateViaJsonFilePath.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/SetAzIoTOperationsServiceBrokerListener_UpdateViaJsonFilePath.cs
index 7a26a7f923f2..b42ea1fd9ec0 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/SetAzIoTOperationsServiceBrokerListener_UpdateViaJsonFilePath.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/SetAzIoTOperationsServiceBrokerListener_UpdateViaJsonFilePath.cs
@@ -41,17 +41,8 @@ public partial class SetAzIoTOperationsServiceBrokerListener_UpdateViaJsonFilePa
/// 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.IoTOperationsService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.ParameterCategory.Runtime)]
@@ -294,11 +285,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Cmdlets.SetAzIoTO
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.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.IoTOperationsService.Models.IBrokerListenerResource
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/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/SetAzIoTOperationsServiceBrokerListener_UpdateViaJsonString.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/SetAzIoTOperationsServiceBrokerListener_UpdateViaJsonString.cs
index e3b8d320f0c5..b6a14a9a4c29 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/SetAzIoTOperationsServiceBrokerListener_UpdateViaJsonString.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/SetAzIoTOperationsServiceBrokerListener_UpdateViaJsonString.cs
@@ -41,15 +41,6 @@ public partial class SetAzIoTOperationsServiceBrokerListener_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.IoTOperationsService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.ParameterCategory.Runtime)]
@@ -292,11 +283,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Cmdlets.SetAzIoTO
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.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.IoTOperationsService.Models.IBrokerListenerResource
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/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/SetAzIoTOperationsServiceBroker_UpdateExpanded.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/SetAzIoTOperationsServiceBroker_UpdateExpanded.cs
index b0f8478e83fe..63aed24acfd1 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/SetAzIoTOperationsServiceBroker_UpdateExpanded.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/SetAzIoTOperationsServiceBroker_UpdateExpanded.cs
@@ -40,18 +40,9 @@ public partial class SetAzIoTOperationsServiceBroker_UpdateExpanded : 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;
-
/// Instance broker resource
private Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerResource _resourceBody = new Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.BrokerResource();
- ///
- /// 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 setting to enable or disable encryption of internal Traffic.
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The setting to enable or disable encryption of internal Traffic.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.ParameterCategory.Body)]
@@ -621,11 +612,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Cmdlets.SetAzIoTO
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -941,24 +927,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerResource
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/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/SetAzIoTOperationsServiceBroker_UpdateViaJsonFilePath.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/SetAzIoTOperationsServiceBroker_UpdateViaJsonFilePath.cs
index 02c6ef8d9285..8ac620c3207b 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/SetAzIoTOperationsServiceBroker_UpdateViaJsonFilePath.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/SetAzIoTOperationsServiceBroker_UpdateViaJsonFilePath.cs
@@ -41,17 +41,8 @@ public partial class SetAzIoTOperationsServiceBroker_UpdateViaJsonFilePath : 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.IoTOperationsService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.ParameterCategory.Runtime)]
@@ -278,11 +269,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Cmdlets.SetAzIoTO
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.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.IoTOperationsService.Models.IBrokerResource
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/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/SetAzIoTOperationsServiceBroker_UpdateViaJsonString.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/SetAzIoTOperationsServiceBroker_UpdateViaJsonString.cs
index 531ceccc6e02..787f4d3c5bdb 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/SetAzIoTOperationsServiceBroker_UpdateViaJsonString.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/SetAzIoTOperationsServiceBroker_UpdateViaJsonString.cs
@@ -41,15 +41,6 @@ public partial class SetAzIoTOperationsServiceBroker_UpdateViaJsonString : 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.IoTOperationsService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.ParameterCategory.Runtime)]
@@ -276,11 +267,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Cmdlets.SetAzIoTO
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.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.IoTOperationsService.Models.IBrokerResource
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/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/SetAzIoTOperationsServiceDataflowEndpoint_UpdateExpanded.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/SetAzIoTOperationsServiceDataflowEndpoint_UpdateExpanded.cs
index 0bd4baf47867..0c960d8f581f 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/SetAzIoTOperationsServiceDataflowEndpoint_UpdateExpanded.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/SetAzIoTOperationsServiceDataflowEndpoint_UpdateExpanded.cs
@@ -40,18 +40,9 @@ public partial class SetAzIoTOperationsServiceDataflowEndpoint_UpdateExpanded :
/// 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;
-
/// Instance dataflowEndpoint resource
private Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointResource _resourceBody = new Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.DataflowEndpointResource();
- ///
- /// 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;
-
/// Token secret name.
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Token secret name.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.ParameterCategory.Body)]
@@ -662,11 +653,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Cmdlets.SetAzIoTO
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -982,24 +968,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointResource
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/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/SetAzIoTOperationsServiceDataflowEndpoint_UpdateViaJsonFilePath.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/SetAzIoTOperationsServiceDataflowEndpoint_UpdateViaJsonFilePath.cs
index a8be98635a1b..da05c34db6d9 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/SetAzIoTOperationsServiceDataflowEndpoint_UpdateViaJsonFilePath.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/SetAzIoTOperationsServiceDataflowEndpoint_UpdateViaJsonFilePath.cs
@@ -41,17 +41,8 @@ public partial class SetAzIoTOperationsServiceDataflowEndpoint_UpdateViaJsonFile
/// 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.IoTOperationsService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.ParameterCategory.Runtime)]
@@ -280,11 +271,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Cmdlets.SetAzIoTO
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.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.IoTOperationsService.Models.IDataflowEndpointResource
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/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/SetAzIoTOperationsServiceDataflowEndpoint_UpdateViaJsonString.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/SetAzIoTOperationsServiceDataflowEndpoint_UpdateViaJsonString.cs
index f0b58ad20fb3..9a2cb97f43fe 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/SetAzIoTOperationsServiceDataflowEndpoint_UpdateViaJsonString.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/SetAzIoTOperationsServiceDataflowEndpoint_UpdateViaJsonString.cs
@@ -41,15 +41,6 @@ public partial class SetAzIoTOperationsServiceDataflowEndpoint_UpdateViaJsonStri
/// 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.IoTOperationsService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.ParameterCategory.Runtime)]
@@ -278,11 +269,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Cmdlets.SetAzIoTO
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.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.IoTOperationsService.Models.IDataflowEndpointResource
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/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/SetAzIoTOperationsServiceDataflowProfile_UpdateExpanded.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/SetAzIoTOperationsServiceDataflowProfile_UpdateExpanded.cs
index 3cb033850006..6697a4af64f3 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/SetAzIoTOperationsServiceDataflowProfile_UpdateExpanded.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/SetAzIoTOperationsServiceDataflowProfile_UpdateExpanded.cs
@@ -40,18 +40,9 @@ public partial class SetAzIoTOperationsServiceDataflowProfile_UpdateExpanded : 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;
-
/// Instance dataflowProfile resource
private Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowProfileResource _resourceBody = new Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.DataflowProfileResource();
- ///
- /// 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.IoTOperationsService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.ParameterCategory.Runtime)]
@@ -311,11 +302,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Cmdlets.SetAzIoTO
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.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.IoTOperationsService.Models.IDataflowProfileResource
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/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/SetAzIoTOperationsServiceDataflowProfile_UpdateViaJsonFilePath.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/SetAzIoTOperationsServiceDataflowProfile_UpdateViaJsonFilePath.cs
index c73189d04f9d..bf3fa08bacf1 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/SetAzIoTOperationsServiceDataflowProfile_UpdateViaJsonFilePath.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/SetAzIoTOperationsServiceDataflowProfile_UpdateViaJsonFilePath.cs
@@ -41,17 +41,8 @@ public partial class SetAzIoTOperationsServiceDataflowProfile_UpdateViaJsonFileP
/// 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.IoTOperationsService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.ParameterCategory.Runtime)]
@@ -280,11 +271,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Cmdlets.SetAzIoTO
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.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.IoTOperationsService.Models.IDataflowProfileResource
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/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/SetAzIoTOperationsServiceDataflowProfile_UpdateViaJsonString.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/SetAzIoTOperationsServiceDataflowProfile_UpdateViaJsonString.cs
index 6f950a19d0dc..f706274b52b6 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/SetAzIoTOperationsServiceDataflowProfile_UpdateViaJsonString.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/SetAzIoTOperationsServiceDataflowProfile_UpdateViaJsonString.cs
@@ -41,15 +41,6 @@ public partial class SetAzIoTOperationsServiceDataflowProfile_UpdateViaJsonStrin
/// 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.IoTOperationsService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.ParameterCategory.Runtime)]
@@ -278,11 +269,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Cmdlets.SetAzIoTO
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.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.IoTOperationsService.Models.IDataflowProfileResource
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/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/SetAzIoTOperationsServiceDataflow_UpdateExpanded.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/SetAzIoTOperationsServiceDataflow_UpdateExpanded.cs
index c6c9fe832623..745622f85455 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/SetAzIoTOperationsServiceDataflow_UpdateExpanded.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/SetAzIoTOperationsServiceDataflow_UpdateExpanded.cs
@@ -40,18 +40,9 @@ public partial class SetAzIoTOperationsServiceDataflow_UpdateExpanded : 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;
-
/// Instance dataflowProfile dataflow resource
private Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowResource _resourceBody = new Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.DataflowResource();
- ///
- /// 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.IoTOperationsService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.ParameterCategory.Runtime)]
@@ -318,11 +309,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Cmdlets.SetAzIoTO
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -638,24 +624,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowResource
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/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/SetAzIoTOperationsServiceDataflow_UpdateViaJsonFilePath.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/SetAzIoTOperationsServiceDataflow_UpdateViaJsonFilePath.cs
index 8f4f26816262..c11a37a17994 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/SetAzIoTOperationsServiceDataflow_UpdateViaJsonFilePath.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/SetAzIoTOperationsServiceDataflow_UpdateViaJsonFilePath.cs
@@ -41,17 +41,8 @@ public partial class SetAzIoTOperationsServiceDataflow_UpdateViaJsonFilePath : 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;
-
/// 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.IoTOperationsService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.ParameterCategory.Runtime)]
@@ -294,11 +285,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Cmdlets.SetAzIoTO
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.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.IoTOperationsService.Models.IDataflowResource
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/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/SetAzIoTOperationsServiceDataflow_UpdateViaJsonString.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/SetAzIoTOperationsServiceDataflow_UpdateViaJsonString.cs
index 4f0281c4eb34..2e9959dc2a1a 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/SetAzIoTOperationsServiceDataflow_UpdateViaJsonString.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/SetAzIoTOperationsServiceDataflow_UpdateViaJsonString.cs
@@ -41,15 +41,6 @@ public partial class SetAzIoTOperationsServiceDataflow_UpdateViaJsonString : 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.IoTOperationsService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.ParameterCategory.Runtime)]
@@ -292,11 +283,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Cmdlets.SetAzIoTO
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.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.IoTOperationsService.Models.IDataflowResource
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/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/SetAzIoTOperationsServiceInstance_UpdateExpanded.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/SetAzIoTOperationsServiceInstance_UpdateExpanded.cs
index 79da4bf34436..4574c729aa3f 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/SetAzIoTOperationsServiceInstance_UpdateExpanded.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/SetAzIoTOperationsServiceInstance_UpdateExpanded.cs
@@ -40,18 +40,9 @@ public partial class SetAzIoTOperationsServiceInstance_UpdateExpanded : 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 Instance resource is a logical container for a set of child resources.
private Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IInstanceResource _resourceBody = new Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.InstanceResource();
- ///
- /// 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.IoTOperationsService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.ParameterCategory.Runtime)]
@@ -318,11 +309,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Cmdlets.SetAzIoTO
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -664,24 +650,7 @@ protected override void StopProcessing()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IInstanceResource
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/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/SetAzIoTOperationsServiceInstance_UpdateViaJsonFilePath.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/SetAzIoTOperationsServiceInstance_UpdateViaJsonFilePath.cs
index acdf15808dd0..5a8c20ef3d5e 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/SetAzIoTOperationsServiceInstance_UpdateViaJsonFilePath.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/SetAzIoTOperationsServiceInstance_UpdateViaJsonFilePath.cs
@@ -41,17 +41,8 @@ public partial class SetAzIoTOperationsServiceInstance_UpdateViaJsonFilePath : 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;
-
/// 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.IoTOperationsService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.ParameterCategory.Runtime)]
@@ -263,11 +254,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Cmdlets.SetAzIoTO
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.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.IoTOperationsService.Models.IInstanceResource
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/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/SetAzIoTOperationsServiceInstance_UpdateViaJsonString.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/SetAzIoTOperationsServiceInstance_UpdateViaJsonString.cs
index 9cc5a194ebe7..9e8ff2d329fb 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/SetAzIoTOperationsServiceInstance_UpdateViaJsonString.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/SetAzIoTOperationsServiceInstance_UpdateViaJsonString.cs
@@ -41,15 +41,6 @@ public partial class SetAzIoTOperationsServiceInstance_UpdateViaJsonString : 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.IoTOperationsService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.ParameterCategory.Runtime)]
@@ -261,11 +252,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Cmdlets.SetAzIoTO
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.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.IoTOperationsService.Models.IInstanceResource
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/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceBrokerAuthentication_UpdateExpanded.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceBrokerAuthentication_UpdateExpanded.cs
index 3a09ec5e447d..3587db5be03e 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceBrokerAuthentication_UpdateExpanded.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceBrokerAuthentication_UpdateExpanded.cs
@@ -40,18 +40,9 @@ public partial class UpdateAzIoTOperationsServiceBrokerAuthentication_UpdateExpa
/// 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;
-
/// Instance broker authentication resource
private Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerAuthenticationResource _resourceBody = new Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.BrokerAuthenticationResource();
- ///
- /// 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.IoTOperationsService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.ParameterCategory.Runtime)]
@@ -296,11 +287,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Cmdlets.UpdateAzI
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -627,24 +613,7 @@ private void Update_resourceBody()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerAuthenticationResource
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/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceBrokerAuthentication_UpdateViaIdentityBrokerExpanded.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceBrokerAuthentication_UpdateViaIdentityBrokerExpanded.cs
index e7d66ccf4711..33a55103edf8 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceBrokerAuthentication_UpdateViaIdentityBrokerExpanded.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceBrokerAuthentication_UpdateViaIdentityBrokerExpanded.cs
@@ -40,18 +40,9 @@ public partial class UpdateAzIoTOperationsServiceBrokerAuthentication_UpdateViaI
/// 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;
-
/// Instance broker authentication resource
private Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerAuthenticationResource _resourceBody = new Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.BrokerAuthenticationResource();
- ///
- /// 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.IoTOperationsService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.ParameterCategory.Runtime)]
@@ -239,11 +230,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Cmdlets.UpdateAzI
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -597,24 +583,7 @@ private void Update_resourceBody()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerAuthenticationResource
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/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceBrokerAuthentication_UpdateViaIdentityExpanded.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceBrokerAuthentication_UpdateViaIdentityExpanded.cs
index 4bea08d36a12..746656744160 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceBrokerAuthentication_UpdateViaIdentityExpanded.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceBrokerAuthentication_UpdateViaIdentityExpanded.cs
@@ -40,18 +40,9 @@ public partial class UpdateAzIoTOperationsServiceBrokerAuthentication_UpdateViaI
/// 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;
-
/// Instance broker authentication resource
private Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerAuthenticationResource _resourceBody = new Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.BrokerAuthenticationResource();
- ///
- /// 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.IoTOperationsService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.ParameterCategory.Runtime)]
@@ -224,11 +215,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Cmdlets.UpdateAzI
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -585,24 +571,7 @@ private void Update_resourceBody()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerAuthenticationResource
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/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceBrokerAuthentication_UpdateViaIdentityInstanceExpanded.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceBrokerAuthentication_UpdateViaIdentityInstanceExpanded.cs
index 809c3eb53c3c..7c7bc0268093 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceBrokerAuthentication_UpdateViaIdentityInstanceExpanded.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceBrokerAuthentication_UpdateViaIdentityInstanceExpanded.cs
@@ -40,18 +40,9 @@ public partial class UpdateAzIoTOperationsServiceBrokerAuthentication_UpdateViaI
/// 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;
-
/// Instance broker authentication resource
private Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerAuthenticationResource _resourceBody = new Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.BrokerAuthenticationResource();
- ///
- /// 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.IoTOperationsService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.ParameterCategory.Runtime)]
@@ -254,11 +245,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Cmdlets.UpdateAzI
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -608,24 +594,7 @@ private void Update_resourceBody()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerAuthenticationResource
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/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceBrokerAuthorization_UpdateExpanded.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceBrokerAuthorization_UpdateExpanded.cs
index 6c710599c5d5..685fa86695b4 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceBrokerAuthorization_UpdateExpanded.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceBrokerAuthorization_UpdateExpanded.cs
@@ -40,18 +40,9 @@ public partial class UpdateAzIoTOperationsServiceBrokerAuthorization_UpdateExpan
/// 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;
-
/// Instance broker authorizations resource
private Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerAuthorizationResource _resourceBody = new Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.BrokerAuthorizationResource();
- ///
- /// 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.IoTOperationsService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.ParameterCategory.Runtime)]
@@ -307,11 +298,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Cmdlets.UpdateAzI
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -642,24 +628,7 @@ private void Update_resourceBody()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerAuthorizationResource
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/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceBrokerAuthorization_UpdateViaIdentityBrokerExpanded.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceBrokerAuthorization_UpdateViaIdentityBrokerExpanded.cs
index 12e12d6ea40a..a31cb67f6424 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceBrokerAuthorization_UpdateViaIdentityBrokerExpanded.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceBrokerAuthorization_UpdateViaIdentityBrokerExpanded.cs
@@ -40,18 +40,9 @@ public partial class UpdateAzIoTOperationsServiceBrokerAuthorization_UpdateViaId
/// 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;
-
/// Instance broker authorizations resource
private Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerAuthorizationResource _resourceBody = new Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.BrokerAuthorizationResource();
- ///
- /// 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.IoTOperationsService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.ParameterCategory.Runtime)]
@@ -250,11 +241,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Cmdlets.UpdateAzI
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -612,24 +598,7 @@ private void Update_resourceBody()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerAuthorizationResource
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/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceBrokerAuthorization_UpdateViaIdentityExpanded.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceBrokerAuthorization_UpdateViaIdentityExpanded.cs
index 39c47e7fdba3..46e890f1a2c0 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceBrokerAuthorization_UpdateViaIdentityExpanded.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceBrokerAuthorization_UpdateViaIdentityExpanded.cs
@@ -40,18 +40,9 @@ public partial class UpdateAzIoTOperationsServiceBrokerAuthorization_UpdateViaId
/// 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;
-
/// Instance broker authorizations resource
private Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerAuthorizationResource _resourceBody = new Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.BrokerAuthorizationResource();
- ///
- /// 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.IoTOperationsService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.ParameterCategory.Runtime)]
@@ -235,11 +226,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Cmdlets.UpdateAzI
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -600,24 +586,7 @@ private void Update_resourceBody()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerAuthorizationResource
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/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceBrokerAuthorization_UpdateViaIdentityInstanceExpanded.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceBrokerAuthorization_UpdateViaIdentityInstanceExpanded.cs
index a687c0e2ddb1..4e92f116d2ed 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceBrokerAuthorization_UpdateViaIdentityInstanceExpanded.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceBrokerAuthorization_UpdateViaIdentityInstanceExpanded.cs
@@ -40,18 +40,9 @@ public partial class UpdateAzIoTOperationsServiceBrokerAuthorization_UpdateViaId
/// 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;
-
/// Instance broker authorizations resource
private Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerAuthorizationResource _resourceBody = new Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.BrokerAuthorizationResource();
- ///
- /// 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.IoTOperationsService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.ParameterCategory.Runtime)]
@@ -265,11 +256,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Cmdlets.UpdateAzI
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -623,24 +609,7 @@ private void Update_resourceBody()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerAuthorizationResource
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/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceBrokerListener_UpdateExpanded.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceBrokerListener_UpdateExpanded.cs
index c95f7835656d..00cceec858d0 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceBrokerListener_UpdateExpanded.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceBrokerListener_UpdateExpanded.cs
@@ -40,18 +40,9 @@ public partial class UpdateAzIoTOperationsServiceBrokerListener_UpdateExpanded :
/// 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;
-
/// Instance broker resource
private Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerListenerResource _resourceBody = new Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.BrokerListenerResource();
- ///
- /// 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.IoTOperationsService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.ParameterCategory.Runtime)]
@@ -316,11 +307,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Cmdlets.UpdateAzI
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -654,24 +640,7 @@ private void Update_resourceBody()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerListenerResource
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/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceBrokerListener_UpdateViaIdentityBrokerExpanded.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceBrokerListener_UpdateViaIdentityBrokerExpanded.cs
index a83e6f60fa27..5a7dc79f030c 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceBrokerListener_UpdateViaIdentityBrokerExpanded.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceBrokerListener_UpdateViaIdentityBrokerExpanded.cs
@@ -40,18 +40,9 @@ public partial class UpdateAzIoTOperationsServiceBrokerListener_UpdateViaIdentit
/// 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;
-
/// Instance broker resource
private Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerListenerResource _resourceBody = new Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.BrokerListenerResource();
- ///
- /// 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.IoTOperationsService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.ParameterCategory.Runtime)]
@@ -259,11 +250,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Cmdlets.UpdateAzI
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -625,24 +611,7 @@ private void Update_resourceBody()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerListenerResource
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/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceBrokerListener_UpdateViaIdentityExpanded.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceBrokerListener_UpdateViaIdentityExpanded.cs
index a7a40494d1ad..1d04e6a65738 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceBrokerListener_UpdateViaIdentityExpanded.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceBrokerListener_UpdateViaIdentityExpanded.cs
@@ -40,18 +40,9 @@ public partial class UpdateAzIoTOperationsServiceBrokerListener_UpdateViaIdentit
/// 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;
-
/// Instance broker resource
private Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerListenerResource _resourceBody = new Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.BrokerListenerResource();
- ///
- /// 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.IoTOperationsService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.ParameterCategory.Runtime)]
@@ -244,11 +235,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Cmdlets.UpdateAzI
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -613,24 +599,7 @@ private void Update_resourceBody()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerListenerResource
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/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceBrokerListener_UpdateViaIdentityInstanceExpanded.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceBrokerListener_UpdateViaIdentityInstanceExpanded.cs
index b95b1ee926b7..0422281e09bf 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceBrokerListener_UpdateViaIdentityInstanceExpanded.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceBrokerListener_UpdateViaIdentityInstanceExpanded.cs
@@ -40,18 +40,9 @@ public partial class UpdateAzIoTOperationsServiceBrokerListener_UpdateViaIdentit
/// 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;
-
/// Instance broker resource
private Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerListenerResource _resourceBody = new Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.BrokerListenerResource();
- ///
- /// 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.IoTOperationsService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.ParameterCategory.Runtime)]
@@ -274,11 +265,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Cmdlets.UpdateAzI
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -636,24 +622,7 @@ private void Update_resourceBody()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerListenerResource
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/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceBroker_UpdateExpanded.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceBroker_UpdateExpanded.cs
index 92bcafe229c0..607d25f09ba9 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceBroker_UpdateExpanded.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceBroker_UpdateExpanded.cs
@@ -40,18 +40,9 @@ public partial class UpdateAzIoTOperationsServiceBroker_UpdateExpanded : 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;
-
/// Instance broker resource
private Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerResource _resourceBody = new Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.BrokerResource();
- ///
- /// 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.IoTOperationsService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.ParameterCategory.Runtime)]
@@ -378,11 +369,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Cmdlets.UpdateAzI
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -744,24 +730,7 @@ private void Update_resourceBody()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerResource
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/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceBroker_UpdateViaIdentityExpanded.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceBroker_UpdateViaIdentityExpanded.cs
index 5cad87d7be4e..6d033fcee5fe 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceBroker_UpdateViaIdentityExpanded.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceBroker_UpdateViaIdentityExpanded.cs
@@ -40,18 +40,9 @@ public partial class UpdateAzIoTOperationsServiceBroker_UpdateViaIdentityExpande
/// 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;
-
/// Instance broker resource
private Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerResource _resourceBody = new Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.BrokerResource();
- ///
- /// 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.IoTOperationsService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.ParameterCategory.Runtime)]
@@ -322,11 +313,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Cmdlets.UpdateAzI
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -714,24 +700,7 @@ private void Update_resourceBody()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerResource
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/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceBroker_UpdateViaIdentityInstanceExpanded.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceBroker_UpdateViaIdentityInstanceExpanded.cs
index e36acc4dd3ec..1d1eda8a63d9 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceBroker_UpdateViaIdentityInstanceExpanded.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceBroker_UpdateViaIdentityInstanceExpanded.cs
@@ -40,18 +40,9 @@ public partial class UpdateAzIoTOperationsServiceBroker_UpdateViaIdentityInstanc
/// 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;
-
/// Instance broker resource
private Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerResource _resourceBody = new Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.BrokerResource();
- ///
- /// 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.IoTOperationsService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.ParameterCategory.Runtime)]
@@ -338,11 +329,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Cmdlets.UpdateAzI
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -728,24 +714,7 @@ private void Update_resourceBody()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerResource
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/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceDataflowEndpoint_UpdateExpanded.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceDataflowEndpoint_UpdateExpanded.cs
index 8659273df643..a8158c1840f8 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceDataflowEndpoint_UpdateExpanded.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceDataflowEndpoint_UpdateExpanded.cs
@@ -40,18 +40,9 @@ public partial class UpdateAzIoTOperationsServiceDataflowEndpoint_UpdateExpanded
/// 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;
-
/// Instance dataflowEndpoint resource
private Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointResource _resourceBody = new Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.DataflowEndpointResource();
- ///
- /// 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;
-
/// Token secret name.
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Token secret name.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.ParameterCategory.Body)]
@@ -651,11 +642,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Cmdlets.UpdateAzI
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -1109,24 +1095,7 @@ private void Update_resourceBody()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointResource
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/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceDataflowEndpoint_UpdateViaIdentityExpanded.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceDataflowEndpoint_UpdateViaIdentityExpanded.cs
index be3a1822909c..f5cf4fb92ea6 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceDataflowEndpoint_UpdateViaIdentityExpanded.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceDataflowEndpoint_UpdateViaIdentityExpanded.cs
@@ -40,18 +40,9 @@ public partial class UpdateAzIoTOperationsServiceDataflowEndpoint_UpdateViaIdent
/// 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;
-
/// Instance dataflowEndpoint resource
private Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointResource _resourceBody = new Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.DataflowEndpointResource();
- ///
- /// 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;
-
/// Token secret name.
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Token secret name.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.ParameterCategory.Body)]
@@ -593,11 +584,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Cmdlets.UpdateAzI
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -1078,24 +1064,7 @@ private void Update_resourceBody()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointResource
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/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceDataflowEndpoint_UpdateViaIdentityInstanceExpanded.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceDataflowEndpoint_UpdateViaIdentityInstanceExpanded.cs
index 1eb9e563ecf4..2468df7e65ad 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceDataflowEndpoint_UpdateViaIdentityInstanceExpanded.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceDataflowEndpoint_UpdateViaIdentityInstanceExpanded.cs
@@ -40,18 +40,9 @@ public partial class UpdateAzIoTOperationsServiceDataflowEndpoint_UpdateViaIdent
/// 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;
-
/// Instance dataflowEndpoint resource
private Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointResource _resourceBody = new Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.DataflowEndpointResource();
- ///
- /// 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;
-
/// Token secret name.
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Token secret name.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.ParameterCategory.Body)]
@@ -609,11 +600,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Cmdlets.UpdateAzI
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -1091,24 +1077,7 @@ private void Update_resourceBody()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointResource
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/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceDataflowProfile_UpdateExpanded.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceDataflowProfile_UpdateExpanded.cs
index c96039629818..81d96defad60 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceDataflowProfile_UpdateExpanded.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceDataflowProfile_UpdateExpanded.cs
@@ -40,18 +40,9 @@ public partial class UpdateAzIoTOperationsServiceDataflowProfile_UpdateExpanded
/// 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;
-
/// Instance dataflowProfile resource
private Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowProfileResource _resourceBody = new Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.DataflowProfileResource();
- ///
- /// 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.IoTOperationsService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.ParameterCategory.Runtime)]
@@ -302,11 +293,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Cmdlets.UpdateAzI
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -640,24 +626,7 @@ private void Update_resourceBody()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowProfileResource
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/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceDataflowProfile_UpdateViaIdentityExpanded.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceDataflowProfile_UpdateViaIdentityExpanded.cs
index eec6d8bb6466..c7b721e7e88f 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceDataflowProfile_UpdateViaIdentityExpanded.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceDataflowProfile_UpdateViaIdentityExpanded.cs
@@ -40,18 +40,9 @@ public partial class UpdateAzIoTOperationsServiceDataflowProfile_UpdateViaIdenti
/// 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;
-
/// Instance dataflowProfile resource
private Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowProfileResource _resourceBody = new Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.DataflowProfileResource();
- ///
- /// 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.IoTOperationsService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.ParameterCategory.Runtime)]
@@ -244,11 +235,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Cmdlets.UpdateAzI
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -609,24 +595,7 @@ private void Update_resourceBody()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowProfileResource
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/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceDataflowProfile_UpdateViaIdentityInstanceExpanded.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceDataflowProfile_UpdateViaIdentityInstanceExpanded.cs
index 86c2eac1e312..781ccc7c100f 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceDataflowProfile_UpdateViaIdentityInstanceExpanded.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceDataflowProfile_UpdateViaIdentityInstanceExpanded.cs
@@ -40,18 +40,9 @@ public partial class UpdateAzIoTOperationsServiceDataflowProfile_UpdateViaIdenti
/// 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;
-
/// Instance dataflowProfile resource
private Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowProfileResource _resourceBody = new Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.DataflowProfileResource();
- ///
- /// 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.IoTOperationsService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.ParameterCategory.Runtime)]
@@ -260,11 +251,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Cmdlets.UpdateAzI
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -622,24 +608,7 @@ private void Update_resourceBody()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowProfileResource
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/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceDataflow_UpdateExpanded.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceDataflow_UpdateExpanded.cs
index 651371b98129..4c6869ac9e0d 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceDataflow_UpdateExpanded.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceDataflow_UpdateExpanded.cs
@@ -40,18 +40,9 @@ public partial class UpdateAzIoTOperationsServiceDataflow_UpdateExpanded : 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;
-
/// Instance dataflowProfile dataflow resource
private Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowResource _resourceBody = new Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.DataflowResource();
- ///
- /// 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.IoTOperationsService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.ParameterCategory.Runtime)]
@@ -307,11 +298,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Cmdlets.UpdateAzI
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -641,24 +627,7 @@ private void Update_resourceBody()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowResource
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/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceDataflow_UpdateViaIdentityDataflowProfileExpanded.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceDataflow_UpdateViaIdentityDataflowProfileExpanded.cs
index 97d564cf69bb..01b2fc46291b 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceDataflow_UpdateViaIdentityDataflowProfileExpanded.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceDataflow_UpdateViaIdentityDataflowProfileExpanded.cs
@@ -40,18 +40,9 @@ public partial class UpdateAzIoTOperationsServiceDataflow_UpdateViaIdentityDataf
/// 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;
-
/// Instance dataflowProfile dataflow resource
private Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowResource _resourceBody = new Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.DataflowResource();
- ///
- /// 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.IoTOperationsService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.ParameterCategory.Runtime)]
@@ -251,11 +242,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Cmdlets.UpdateAzI
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -613,24 +599,7 @@ private void Update_resourceBody()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowResource
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/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceDataflow_UpdateViaIdentityExpanded.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceDataflow_UpdateViaIdentityExpanded.cs
index 9146030f6df1..e1ab8b8a8ef8 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceDataflow_UpdateViaIdentityExpanded.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceDataflow_UpdateViaIdentityExpanded.cs
@@ -40,18 +40,9 @@ public partial class UpdateAzIoTOperationsServiceDataflow_UpdateViaIdentityExpan
/// 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;
-
/// Instance dataflowProfile dataflow resource
private Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowResource _resourceBody = new Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.DataflowResource();
- ///
- /// 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.IoTOperationsService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.ParameterCategory.Runtime)]
@@ -235,11 +226,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Cmdlets.UpdateAzI
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -600,24 +586,7 @@ private void Update_resourceBody()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowResource
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/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceDataflow_UpdateViaIdentityInstanceExpanded.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceDataflow_UpdateViaIdentityInstanceExpanded.cs
index 7fbea9c92714..7c8665f9c426 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceDataflow_UpdateViaIdentityInstanceExpanded.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceDataflow_UpdateViaIdentityInstanceExpanded.cs
@@ -40,18 +40,9 @@ public partial class UpdateAzIoTOperationsServiceDataflow_UpdateViaIdentityInsta
/// 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;
-
/// Instance dataflowProfile dataflow resource
private Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowResource _resourceBody = new Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.DataflowResource();
- ///
- /// 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.IoTOperationsService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.ParameterCategory.Runtime)]
@@ -267,11 +258,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Cmdlets.UpdateAzI
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -625,24 +611,7 @@ private void Update_resourceBody()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowResource
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/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceInstance_UpdateExpanded.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceInstance_UpdateExpanded.cs
index 423913aeda33..5c0728a33fd7 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceInstance_UpdateExpanded.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceInstance_UpdateExpanded.cs
@@ -40,18 +40,9 @@ public partial class UpdateAzIoTOperationsServiceInstance_UpdateExpanded : 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 Instance resource is a logical container for a set of child resources.
private Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IInstanceResource _resourceBody = new Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.InstanceResource();
- ///
- /// 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.IoTOperationsService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.ParameterCategory.Runtime)]
@@ -296,11 +287,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Cmdlets.UpdateAzI
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -673,24 +659,7 @@ private void Update_resourceBody()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IInstanceResource
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/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceInstance_UpdateViaIdentityExpanded.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceInstance_UpdateViaIdentityExpanded.cs
index ee335100cfd0..eb63b63bad4c 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceInstance_UpdateViaIdentityExpanded.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/cmdlets/UpdateAzIoTOperationsServiceInstance_UpdateViaIdentityExpanded.cs
@@ -40,18 +40,9 @@ public partial class UpdateAzIoTOperationsServiceInstance_UpdateViaIdentityExpan
/// 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 Instance resource is a logical container for a set of child resources.
private Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IInstanceResource _resourceBody = new Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.InstanceResource();
- ///
- /// 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.IoTOperationsService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.ParameterCategory.Runtime)]
@@ -255,11 +246,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Cmdlets.UpdateAzI
/// Performs clean-up after the command execution
protected override void EndProcessing()
{
- if (1 ==_responseSize)
- {
- // Flush buffer
- WriteObject(_firstResponse);
- }
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
if (telemetryInfo != null)
{
@@ -656,24 +642,7 @@ private void Update_resourceBody()
// onOk - response for 200 / application/json
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IInstanceResource
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/IoTOperationsService/IoTOperationsService.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs
index 10f29a842ad9..dce28f76f92f 100644
--- a/generated/IoTOperationsService/IoTOperationsService.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs
+++ b/generated/IoTOperationsService/IoTOperationsService.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