Skip to content

Commit 6752c8a

Browse files
[skip ci] Archive 211c807 (#28826)
1 parent d9fcea2 commit 6752c8a

File tree

589 files changed

+62508
-21493
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

589 files changed

+62508
-21493
lines changed

generated/HealthcareApis/HealthcareApis.Autorest/Az.HealthcareApis.format.ps1xml

Lines changed: 382 additions & 504 deletions
Large diffs are not rendered by default.

generated/HealthcareApis/HealthcareApis.Autorest/Az.HealthcareApis.psd1

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@
1111
DotNetFrameworkVersion = '4.7.2'
1212
RequiredAssemblies = './bin/Az.HealthcareApis.private.dll'
1313
FormatsToProcess = './Az.HealthcareApis.format.ps1xml'
14-
FunctionsToExport = 'Get-AzHealthcareApisService', 'Get-AzHealthcareApisWorkspace', 'Get-AzHealthcareDicomService', 'Get-AzHealthcareFhirDestination', 'Get-AzHealthcareFhirService', 'Get-AzHealthcareIotConnector', 'Get-AzHealthcareIotConnectorFhirDestination', 'New-AzHealthcareApisService', 'New-AzHealthcareApisWorkspace', 'New-AzHealthcareDicomService', 'New-AzHealthcareFhirService', 'New-AzHealthcareIotConnector', 'New-AzHealthcareIotConnectorFhirDestination', 'Remove-AzHealthcareApisService', 'Remove-AzHealthcareApisWorkspace', 'Remove-AzHealthcareDicomService', 'Remove-AzHealthcareFhirService', 'Remove-AzHealthcareIotConnector', 'Remove-AzHealthcareIotConnectorFhirDestination', 'Test-AzHealthcareServiceNameAvailability', 'Update-AzHealthcareApisService', 'Update-AzHealthcareApisWorkspace', 'Update-AzHealthcareDicomService', 'Update-AzHealthcareFhirService', 'Update-AzHealthcareIotConnector', '*'
15-
AliasesToExport = '*'
14+
FunctionsToExport = 'Get-AzHealthcareApisService', 'Get-AzHealthcareApisWorkspace', 'Get-AzHealthcareDicomService', 'Get-AzHealthcareFhirDestination', 'Get-AzHealthcareFhirService', 'Get-AzHealthcareIotConnector', 'Get-AzHealthcareIotConnectorFhirDestination', 'New-AzHealthcareApisService', 'New-AzHealthcareApisWorkspace', 'New-AzHealthcareDicomService', 'New-AzHealthcareFhirService', 'New-AzHealthcareIotConnector', 'New-AzHealthcareIotConnectorFhirDestination', 'Remove-AzHealthcareApisService', 'Remove-AzHealthcareApisWorkspace', 'Remove-AzHealthcareDicomService', 'Remove-AzHealthcareFhirService', 'Remove-AzHealthcareIotConnector', 'Remove-AzHealthcareIotConnectorFhirDestination', 'Test-AzHealthcareServiceNameAvailability', 'Update-AzHealthcareApisService', 'Update-AzHealthcareApisWorkspace', 'Update-AzHealthcareDicomService', 'Update-AzHealthcareFhirService', 'Update-AzHealthcareIotConnector', 'Update-AzHealthcareIotConnectorFhirDestination'
1615
PrivateData = @{
1716
PSData = @{
1817
Tags = 'Azure', 'ResourceManager', 'ARM', 'PSModule', 'HealthcareApis', 'HealthCare', 'FhirService'

generated/HealthcareApis/HealthcareApis.Autorest/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
[assembly: System.Reflection.AssemblyCopyrightAttribute("Copyright © Microsoft")]
2121
[assembly: System.Reflection.AssemblyProductAttribute("Microsoft Azure PowerShell")]
2222
[assembly: System.Reflection.AssemblyTitleAttribute("Microsoft Azure PowerShell - HealthcareApis")]
23-
[assembly: System.Reflection.AssemblyFileVersionAttribute("2.1.0")]
24-
[assembly: System.Reflection.AssemblyVersionAttribute("2.1.0")]
23+
[assembly: System.Reflection.AssemblyFileVersionAttribute("2.1.1")]
24+
[assembly: System.Reflection.AssemblyVersionAttribute("2.1.1")]
2525
[assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)]
2626
[assembly: System.CLSCompliantAttribute(false)]

generated/HealthcareApis/HealthcareApis.Autorest/check-dependencies.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@
1212
# Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code
1313
# is regenerated.
1414
# ----------------------------------------------------------------------------------
15-
param([switch]$Isolated, [switch]$Accounts, [switch]$Pester, [switch]$Resources)
15+
param([switch]$NotIsolated, [switch]$Accounts, [switch]$Pester, [switch]$Resources)
1616
$ErrorActionPreference = 'Stop'
1717

18-
if(-not $Isolated) {
18+
if(-not $NotIsolated) {
1919
Write-Host -ForegroundColor Green 'Creating isolated process...'
2020
$pwsh = [System.Diagnostics.Process]::GetCurrentProcess().Path
21-
& "$pwsh" -NoExit -NoLogo -NoProfile -File $MyInvocation.MyCommand.Path @PSBoundParameters -Isolated
21+
& "$pwsh" -NoExit -NoLogo -NoProfile -File $MyInvocation.MyCommand.Path @PSBoundParameters -NotIsolated
2222
return
2323
}
2424

generated/HealthcareApis/HealthcareApis.Autorest/exports/Get-AzHealthcareApisService.ps1

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Get-AzHealthcareApisService -ResourceGroupName azps_test_group -Name azpsapiserv
2929
.Inputs
3030
Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.IHealthcareApisIdentity
3131
.Outputs
32-
Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.Api20211101.IServicesDescription
32+
Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.IServicesDescription
3333
.Notes
3434
COMPLEX PARAMETER PROPERTIES
3535
@@ -53,7 +53,7 @@ INPUTOBJECT <IHealthcareApisIdentity>: Identity Parameter
5353
https://learn.microsoft.com/powershell/module/az.healthcareapis/get-azhealthcareapisservice
5454
#>
5555
function Get-AzHealthcareApisService {
56-
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.Api20211101.IServicesDescription])]
56+
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.IServicesDescription])]
5757
[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
5858
param(
5959
[Parameter(ParameterSetName='Get', Mandatory)]
@@ -82,7 +82,6 @@ param(
8282
[Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Category('Path')]
8383
[Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.IHealthcareApisIdentity]
8484
# Identity Parameter
85-
# To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
8685
${InputObject},
8786

8887
[Parameter()]
@@ -141,6 +140,15 @@ begin {
141140
$PSBoundParameters['OutBuffer'] = 1
142141
}
143142
$parameterSet = $PSCmdlet.ParameterSetName
143+
144+
$testPlayback = $false
145+
$PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
146+
147+
$context = Get-AzContext
148+
if (-not $context -and -not $testPlayback) {
149+
Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
150+
exit
151+
}
144152

145153
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
146154
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
@@ -165,9 +173,7 @@ begin {
165173
List = 'Az.HealthcareApis.private\Get-AzHealthcareApisService_List';
166174
List1 = 'Az.HealthcareApis.private\Get-AzHealthcareApisService_List1';
167175
}
168-
if (('Get', 'List', 'List1') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) {
169-
$testPlayback = $false
170-
$PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
176+
if (('Get', 'List', 'List1') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
171177
if ($testPlayback) {
172178
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
173179
} else {
@@ -181,6 +187,9 @@ begin {
181187
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
182188
}
183189
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
190+
if ($wrappedCmd -eq $null) {
191+
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
192+
}
184193
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
185194
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
186195
$steppablePipeline.Begin($PSCmdlet)

generated/HealthcareApis/HealthcareApis.Autorest/exports/Get-AzHealthcareApisWorkspace.ps1

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Get-AzHealthcareApisWorkspace -ResourceGroupName azps_test_group
2929
.Inputs
3030
Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.IHealthcareApisIdentity
3131
.Outputs
32-
Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.Api20211101.IWorkspace
32+
Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.IWorkspace
3333
.Notes
3434
COMPLEX PARAMETER PROPERTIES
3535
@@ -53,7 +53,7 @@ INPUTOBJECT <IHealthcareApisIdentity>: Identity Parameter
5353
https://learn.microsoft.com/powershell/module/az.healthcareapis/get-azhealthcareapisworkspace
5454
#>
5555
function Get-AzHealthcareApisWorkspace {
56-
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.Api20211101.IWorkspace])]
56+
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.IWorkspace])]
5757
[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
5858
param(
5959
[Parameter(ParameterSetName='Get', Mandatory)]
@@ -83,7 +83,6 @@ param(
8383
[Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Category('Path')]
8484
[Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.IHealthcareApisIdentity]
8585
# Identity Parameter
86-
# To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
8786
${InputObject},
8887

8988
[Parameter()]
@@ -142,6 +141,15 @@ begin {
142141
$PSBoundParameters['OutBuffer'] = 1
143142
}
144143
$parameterSet = $PSCmdlet.ParameterSetName
144+
145+
$testPlayback = $false
146+
$PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
147+
148+
$context = Get-AzContext
149+
if (-not $context -and -not $testPlayback) {
150+
Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
151+
exit
152+
}
145153

146154
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
147155
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
@@ -166,9 +174,7 @@ begin {
166174
List = 'Az.HealthcareApis.private\Get-AzHealthcareApisWorkspace_List';
167175
List1 = 'Az.HealthcareApis.private\Get-AzHealthcareApisWorkspace_List1';
168176
}
169-
if (('Get', 'List', 'List1') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) {
170-
$testPlayback = $false
171-
$PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
177+
if (('Get', 'List', 'List1') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
172178
if ($testPlayback) {
173179
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
174180
} else {
@@ -182,6 +188,9 @@ begin {
182188
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
183189
}
184190
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
191+
if ($wrappedCmd -eq $null) {
192+
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
193+
}
185194
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
186195
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
187196
$steppablePipeline.Begin($PSCmdlet)

generated/HealthcareApis/HealthcareApis.Autorest/exports/Get-AzHealthcareDicomService.ps1

Lines changed: 38 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Get-AzHealthcareDicomService -Name azpsdicom -ResourceGroupName azps_test_group
2727
.Inputs
2828
Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.IHealthcareApisIdentity
2929
.Outputs
30-
Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.Api20211101.IDicomService
30+
Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.IDicomService
3131
.Notes
3232
COMPLEX PARAMETER PROPERTIES
3333
@@ -47,14 +47,30 @@ INPUTOBJECT <IHealthcareApisIdentity>: Identity Parameter
4747
[ResourceName <String>]: The name of the service instance.
4848
[SubscriptionId <String>]: The subscription identifier.
4949
[WorkspaceName <String>]: The name of workspace resource.
50+
51+
WORKSPACEINPUTOBJECT <IHealthcareApisIdentity>: Identity Parameter
52+
[DicomServiceName <String>]: The name of DICOM Service resource.
53+
[FhirDestinationName <String>]: The name of IoT Connector FHIR destination resource.
54+
[FhirServiceName <String>]: The name of FHIR Service resource.
55+
[GroupName <String>]: The name of the private link resource group.
56+
[Id <String>]: Resource identity path
57+
[IotConnectorName <String>]: The name of IoT Connector resource.
58+
[LocationName <String>]: The location of the operation.
59+
[OperationResultId <String>]: The ID of the operation result to get.
60+
[PrivateEndpointConnectionName <String>]: The name of the private endpoint connection associated with the Azure resource
61+
[ResourceGroupName <String>]: The name of the resource group that contains the service instance.
62+
[ResourceName <String>]: The name of the service instance.
63+
[SubscriptionId <String>]: The subscription identifier.
64+
[WorkspaceName <String>]: The name of workspace resource.
5065
.Link
5166
https://learn.microsoft.com/powershell/module/az.healthcareapis/get-azhealthcaredicomservice
5267
#>
5368
function Get-AzHealthcareDicomService {
54-
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.Api20211101.IDicomService])]
69+
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.IDicomService])]
5570
[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
5671
param(
5772
[Parameter(ParameterSetName='Get', Mandatory)]
73+
[Parameter(ParameterSetName='GetViaIdentityWorkspace', Mandatory)]
5874
[Alias('DicomServiceName')]
5975
[Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Category('Path')]
6076
[System.String]
@@ -87,9 +103,14 @@ param(
87103
[Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Category('Path')]
88104
[Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.IHealthcareApisIdentity]
89105
# Identity Parameter
90-
# To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
91106
${InputObject},
92107

108+
[Parameter(ParameterSetName='GetViaIdentityWorkspace', Mandatory, ValueFromPipeline)]
109+
[Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Category('Path')]
110+
[Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.IHealthcareApisIdentity]
111+
# Identity Parameter
112+
${WorkspaceInputObject},
113+
93114
[Parameter()]
94115
[Alias('AzureRMContext', 'AzureCredential')]
95116
[ValidateNotNull()]
@@ -146,6 +167,15 @@ begin {
146167
$PSBoundParameters['OutBuffer'] = 1
147168
}
148169
$parameterSet = $PSCmdlet.ParameterSetName
170+
171+
$testPlayback = $false
172+
$PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
173+
174+
$context = Get-AzContext
175+
if (-not $context -and -not $testPlayback) {
176+
Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
177+
exit
178+
}
149179

150180
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
151181
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
@@ -167,11 +197,10 @@ begin {
167197
$mapping = @{
168198
Get = 'Az.HealthcareApis.private\Get-AzHealthcareDicomService_Get';
169199
GetViaIdentity = 'Az.HealthcareApis.private\Get-AzHealthcareDicomService_GetViaIdentity';
200+
GetViaIdentityWorkspace = 'Az.HealthcareApis.private\Get-AzHealthcareDicomService_GetViaIdentityWorkspace';
170201
List = 'Az.HealthcareApis.private\Get-AzHealthcareDicomService_List';
171202
}
172-
if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) {
173-
$testPlayback = $false
174-
$PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
203+
if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
175204
if ($testPlayback) {
176205
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
177206
} else {
@@ -185,6 +214,9 @@ begin {
185214
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
186215
}
187216
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
217+
if ($wrappedCmd -eq $null) {
218+
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
219+
}
188220
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
189221
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
190222
$steppablePipeline.Begin($PSCmdlet)

0 commit comments

Comments
 (0)