Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@
DotNetFrameworkVersion = '4.7.2'
RequiredAssemblies = './bin/Az.HealthcareApis.private.dll'
FormatsToProcess = './Az.HealthcareApis.format.ps1xml'
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', '*'
AliasesToExport = '*'
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'
PrivateData = @{
PSData = @{
Tags = 'Azure', 'ResourceManager', 'ARM', 'PSModule', 'HealthcareApis', 'HealthCare', 'FhirService'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
[assembly: System.Reflection.AssemblyCopyrightAttribute("Copyright © Microsoft")]
[assembly: System.Reflection.AssemblyProductAttribute("Microsoft Azure PowerShell")]
[assembly: System.Reflection.AssemblyTitleAttribute("Microsoft Azure PowerShell - HealthcareApis")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("2.1.0")]
[assembly: System.Reflection.AssemblyVersionAttribute("2.1.0")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("2.1.1")]
[assembly: System.Reflection.AssemblyVersionAttribute("2.1.1")]
[assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)]
[assembly: System.CLSCompliantAttribute(false)]
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@
# Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code
# is regenerated.
# ----------------------------------------------------------------------------------
param([switch]$Isolated, [switch]$Accounts, [switch]$Pester, [switch]$Resources)
param([switch]$NotIsolated, [switch]$Accounts, [switch]$Pester, [switch]$Resources)
$ErrorActionPreference = 'Stop'

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Get-AzHealthcareApisService -ResourceGroupName azps_test_group -Name azpsapiserv
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.IHealthcareApisIdentity
.Outputs
Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.Api20211101.IServicesDescription
Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.IServicesDescription
.Notes
COMPLEX PARAMETER PROPERTIES

Expand All @@ -53,7 +53,7 @@ INPUTOBJECT <IHealthcareApisIdentity>: Identity Parameter
https://learn.microsoft.com/powershell/module/az.healthcareapis/get-azhealthcareapisservice
#>
function Get-AzHealthcareApisService {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.Api20211101.IServicesDescription])]
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.IServicesDescription])]
[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
param(
[Parameter(ParameterSetName='Get', Mandatory)]
Expand Down Expand Up @@ -82,7 +82,6 @@ param(
[Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Category('Path')]
[Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.IHealthcareApisIdentity]
# Identity Parameter
# To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
${InputObject},

[Parameter()]
Expand Down Expand Up @@ -141,6 +140,15 @@ begin {
$PSBoundParameters['OutBuffer'] = 1
}
$parameterSet = $PSCmdlet.ParameterSetName

$testPlayback = $false
$PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }

$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
exit
}

if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
Expand All @@ -165,9 +173,7 @@ begin {
List = 'Az.HealthcareApis.private\Get-AzHealthcareApisService_List';
List1 = 'Az.HealthcareApis.private\Get-AzHealthcareApisService_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.HealthcareApis.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if (('Get', 'List', 'List1') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
Expand All @@ -181,6 +187,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
if ($wrappedCmd -eq $null) {
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
}
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Get-AzHealthcareApisWorkspace -ResourceGroupName azps_test_group
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.IHealthcareApisIdentity
.Outputs
Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.Api20211101.IWorkspace
Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.IWorkspace
.Notes
COMPLEX PARAMETER PROPERTIES

Expand All @@ -53,7 +53,7 @@ INPUTOBJECT <IHealthcareApisIdentity>: Identity Parameter
https://learn.microsoft.com/powershell/module/az.healthcareapis/get-azhealthcareapisworkspace
#>
function Get-AzHealthcareApisWorkspace {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.Api20211101.IWorkspace])]
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.IWorkspace])]
[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
param(
[Parameter(ParameterSetName='Get', Mandatory)]
Expand Down Expand Up @@ -83,7 +83,6 @@ param(
[Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Category('Path')]
[Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.IHealthcareApisIdentity]
# Identity Parameter
# To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
${InputObject},

[Parameter()]
Expand Down Expand Up @@ -142,6 +141,15 @@ begin {
$PSBoundParameters['OutBuffer'] = 1
}
$parameterSet = $PSCmdlet.ParameterSetName

$testPlayback = $false
$PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }

$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
exit
}

if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
Expand All @@ -166,9 +174,7 @@ begin {
List = 'Az.HealthcareApis.private\Get-AzHealthcareApisWorkspace_List';
List1 = 'Az.HealthcareApis.private\Get-AzHealthcareApisWorkspace_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.HealthcareApis.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if (('Get', 'List', 'List1') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
Expand All @@ -182,6 +188,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
if ($wrappedCmd -eq $null) {
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
}
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Get-AzHealthcareDicomService -Name azpsdicom -ResourceGroupName azps_test_group
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.IHealthcareApisIdentity
.Outputs
Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.Api20211101.IDicomService
Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.IDicomService
.Notes
COMPLEX PARAMETER PROPERTIES

Expand All @@ -47,14 +47,30 @@ INPUTOBJECT <IHealthcareApisIdentity>: Identity Parameter
[ResourceName <String>]: The name of the service instance.
[SubscriptionId <String>]: The subscription identifier.
[WorkspaceName <String>]: The name of workspace resource.

WORKSPACEINPUTOBJECT <IHealthcareApisIdentity>: Identity Parameter
[DicomServiceName <String>]: The name of DICOM Service resource.
[FhirDestinationName <String>]: The name of IoT Connector FHIR destination resource.
[FhirServiceName <String>]: The name of FHIR Service resource.
[GroupName <String>]: The name of the private link resource group.
[Id <String>]: Resource identity path
[IotConnectorName <String>]: The name of IoT Connector resource.
[LocationName <String>]: The location of the operation.
[OperationResultId <String>]: The ID of the operation result to get.
[PrivateEndpointConnectionName <String>]: The name of the private endpoint connection associated with the Azure resource
[ResourceGroupName <String>]: The name of the resource group that contains the service instance.
[ResourceName <String>]: The name of the service instance.
[SubscriptionId <String>]: The subscription identifier.
[WorkspaceName <String>]: The name of workspace resource.
.Link
https://learn.microsoft.com/powershell/module/az.healthcareapis/get-azhealthcaredicomservice
#>
function Get-AzHealthcareDicomService {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.Api20211101.IDicomService])]
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.IDicomService])]
[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
param(
[Parameter(ParameterSetName='Get', Mandatory)]
[Parameter(ParameterSetName='GetViaIdentityWorkspace', Mandatory)]
[Alias('DicomServiceName')]
[Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Category('Path')]
[System.String]
Expand Down Expand Up @@ -87,9 +103,14 @@ param(
[Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Category('Path')]
[Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.IHealthcareApisIdentity]
# Identity Parameter
# To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
${InputObject},

[Parameter(ParameterSetName='GetViaIdentityWorkspace', Mandatory, ValueFromPipeline)]
[Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Category('Path')]
[Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.IHealthcareApisIdentity]
# Identity Parameter
${WorkspaceInputObject},

[Parameter()]
[Alias('AzureRMContext', 'AzureCredential')]
[ValidateNotNull()]
Expand Down Expand Up @@ -146,6 +167,15 @@ begin {
$PSBoundParameters['OutBuffer'] = 1
}
$parameterSet = $PSCmdlet.ParameterSetName

$testPlayback = $false
$PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }

$context = Get-AzContext
if (-not $context -and -not $testPlayback) {
Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
exit
}

if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
Expand All @@ -167,11 +197,10 @@ begin {
$mapping = @{
Get = 'Az.HealthcareApis.private\Get-AzHealthcareDicomService_Get';
GetViaIdentity = 'Az.HealthcareApis.private\Get-AzHealthcareDicomService_GetViaIdentity';
GetViaIdentityWorkspace = 'Az.HealthcareApis.private\Get-AzHealthcareDicomService_GetViaIdentityWorkspace';
List = 'Az.HealthcareApis.private\Get-AzHealthcareDicomService_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.HealthcareApis.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
Expand All @@ -185,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)
Expand Down
Loading