New-AzHealthcareFhirService
Creates or updates a FHIR Service resource with the specified parameters.
Syntax
New-AzHealthcareFhirService
-Name <String>
-ResourceGroupName <String>
-WorkspaceName <String>
[-SubscriptionId <String>]
-Kind <FhirServiceKind>
-Location <String>
[-AccessPolicyObjectId <IFhirServiceAccessPolicyEntry[]>]
[-AcrConfigurationLoginServer <String[]>]
[-AcrConfigurationOciArtifact <IServiceOciArtifactEntry[]>]
[-AllowCorsCredential]
[-Audience <String>]
[-Authority <String>]
[-CorsHeader <String[]>]
[-CorsMaxAge <Int32>]
[-CorsMethod <String[]>]
[-CorsOrigin <String[]>]
[-EnableSmartProxy]
[-Etag <String>]
[-ExportStorageAccountName <String>]
[-IdentityType <ServiceManagedIdentityType>]
[-IdentityUserAssignedIdentity <Hashtable>]
[-PublicNetworkAccess <PublicNetworkAccess>]
[-ResourceVersionPolicyConfigurationDefault <FhirResourceVersionPolicy>]
[-ResourceVersionPolicyConfigurationResourceTypeOverride <Hashtable>]
[-Tag <Hashtable>]
[-DefaultProfile <PSObject>]
[-AsJob]
[-NoWait]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
Creates or updates a FHIR Service resource with the specified parameters.
Examples
Example 1: Creates or updates a FHIR Service resource with the specified parameters.
New-AzHealthcareFhirService -Name azpsfhirservice -ResourceGroupName azps_test_group -WorkspaceName azpshcws -Location eastus2 -Kind 'fhir-R4' -Authority "https://login.microsoftonline.com/{DirectoryID}" -Audience "https://azpshcws-{FhirServiceName}.fhir.azurehealthcareapis.com"
Location Name Kind ResourceGroupName
-------- ---- ---- -----------------
eastus2 azpshcws/azpsfhirservice fhir-R4 azps_test_group
Creates or updates a FHIR Service resource with the specified parameters.
Parameters
-AccessPolicyObjectId
Fhir Service access policies. To construct, see NOTES section for ACCESSPOLICYOBJECTID properties and create a hash table.
Type: | IFhirServiceAccessPolicyEntry[] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-AcrConfigurationLoginServer
The list of the Azure container registry login servers.
Type: | String[] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-AcrConfigurationOciArtifact
The list of Open Container Initiative (OCI) artifacts. To construct, see NOTES section for ACRCONFIGURATIONOCIARTIFACT properties and create a hash table.
Type: | IServiceOciArtifactEntry[] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-AllowCorsCredential
If credentials are allowed via CORS.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-AsJob
Run the command as a job
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Audience
The audience url for the service
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Authority
The authority url for the service
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Confirm
Prompts you for confirmation before running the cmdlet.
Type: | SwitchParameter |
Aliases: | cf |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-CorsHeader
The headers to be allowed via CORS.
Type: | String[] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-CorsMaxAge
The max age to be allowed via CORS.
Type: | Int32 |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-CorsMethod
The methods to be allowed via CORS.
Type: | String[] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-CorsOrigin
The origins to be allowed via CORS.
Type: | String[] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-DefaultProfile
The credentials, account, tenant, and subscription used for communication with Azure.
Type: | PSObject |
Aliases: | AzureRMContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-EnableSmartProxy
If the SMART on FHIR proxy is enabled
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Etag
An etag associated with the resource, used for optimistic concurrency when editing it.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ExportStorageAccountName
The name of the default export storage account.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-IdentityType
Type of identity being specified, currently SystemAssigned and None are allowed.
Type: | ServiceManagedIdentityType |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-IdentityUserAssignedIdentity
The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
Type: | Hashtable |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Kind
The kind of the service.
Type: | FhirServiceKind |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Location
The resource location.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Name
The name of FHIR Service resource.
Type: | String |
Aliases: | FhirServiceName |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-NoWait
Run the command asynchronously
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-PublicNetworkAccess
Control permission for data plane traffic coming from public networks while private endpoint is enabled.
Type: | PublicNetworkAccess |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ResourceGroupName
The name of the resource group that contains the service instance.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ResourceVersionPolicyConfigurationDefault
The default value for tracking history across all resources.
Type: | FhirResourceVersionPolicy |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ResourceVersionPolicyConfigurationResourceTypeOverride
A list of FHIR Resources and their version policy overrides.
Type: | Hashtable |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-SubscriptionId
The subscription identifier.
Type: | String |
Position: | Named |
Default value: | (Get-AzContext).Subscription.Id |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Tag
Resource tags.
Type: | Hashtable |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: | SwitchParameter |
Aliases: | wi |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-WorkspaceName
The name of workspace resource.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Outputs
Azure PowerShell