We recommend using Azure Native.
azure.healthcare.FhirService
Explore with Pulumi AI
Manages a Healthcare FHIR (Fast Healthcare Interoperability Resources) Service
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const example = new azure.core.ResourceGroup("example", {
name: "example",
location: "West Europe",
});
const current = azure.core.getClientConfig({});
const exampleWorkspace = new azure.healthcare.Workspace("example", {
name: "example",
location: example.location,
resourceGroupName: example.name,
});
const exampleFhirService = new azure.healthcare.FhirService("example", {
name: "tfexfhir",
location: "east us",
resourceGroupName: "tfex-resource_group",
workspaceId: exampleWorkspace.id,
kind: "fhir-R4",
authentication: {
authority: "https://login.microsoftonline.com/tenantId",
audience: "https://tfexfhir.fhir.azurehealthcareapis.com",
},
accessPolicyObjectIds: [current.then(current => current.objectId)],
identity: {
type: "SystemAssigned",
},
containerRegistryLoginServerUrls: ["tfex-container_registry_login_server"],
cors: {
allowedOrigins: [
"https://tfex.com:123",
"https://tfex1.com:3389",
],
allowedHeaders: ["*"],
allowedMethods: [
"GET",
"DELETE",
"PUT",
],
maxAgeInSeconds: 3600,
credentialsAllowed: true,
},
configurationExportStorageAccountName: "storage_account_name",
});
import pulumi
import pulumi_azure as azure
example = azure.core.ResourceGroup("example",
name="example",
location="West Europe")
current = azure.core.get_client_config()
example_workspace = azure.healthcare.Workspace("example",
name="example",
location=example.location,
resource_group_name=example.name)
example_fhir_service = azure.healthcare.FhirService("example",
name="tfexfhir",
location="east us",
resource_group_name="tfex-resource_group",
workspace_id=example_workspace.id,
kind="fhir-R4",
authentication={
"authority": "https://login.microsoftonline.com/tenantId",
"audience": "https://tfexfhir.fhir.azurehealthcareapis.com",
},
access_policy_object_ids=[current.object_id],
identity={
"type": "SystemAssigned",
},
container_registry_login_server_urls=["tfex-container_registry_login_server"],
cors={
"allowed_origins": [
"https://tfex.com:123",
"https://tfex1.com:3389",
],
"allowed_headers": ["*"],
"allowed_methods": [
"GET",
"DELETE",
"PUT",
],
"max_age_in_seconds": 3600,
"credentials_allowed": True,
},
configuration_export_storage_account_name="storage_account_name")
package main
import (
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/healthcare"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
Name: pulumi.String("example"),
Location: pulumi.String("West Europe"),
})
if err != nil {
return err
}
current, err := core.GetClientConfig(ctx, nil, nil)
if err != nil {
return err
}
exampleWorkspace, err := healthcare.NewWorkspace(ctx, "example", &healthcare.WorkspaceArgs{
Name: pulumi.String("example"),
Location: example.Location,
ResourceGroupName: example.Name,
})
if err != nil {
return err
}
_, err = healthcare.NewFhirService(ctx, "example", &healthcare.FhirServiceArgs{
Name: pulumi.String("tfexfhir"),
Location: pulumi.String("east us"),
ResourceGroupName: pulumi.String("tfex-resource_group"),
WorkspaceId: exampleWorkspace.ID(),
Kind: pulumi.String("fhir-R4"),
Authentication: &healthcare.FhirServiceAuthenticationArgs{
Authority: pulumi.String("https://login.microsoftonline.com/tenantId"),
Audience: pulumi.String("https://tfexfhir.fhir.azurehealthcareapis.com"),
},
AccessPolicyObjectIds: pulumi.StringArray{
pulumi.String(current.ObjectId),
},
Identity: &healthcare.FhirServiceIdentityArgs{
Type: pulumi.String("SystemAssigned"),
},
ContainerRegistryLoginServerUrls: pulumi.StringArray{
pulumi.String("tfex-container_registry_login_server"),
},
Cors: &healthcare.FhirServiceCorsArgs{
AllowedOrigins: pulumi.StringArray{
pulumi.String("https://tfex.com:123"),
pulumi.String("https://tfex1.com:3389"),
},
AllowedHeaders: pulumi.StringArray{
pulumi.String("*"),
},
AllowedMethods: pulumi.StringArray{
pulumi.String("GET"),
pulumi.String("DELETE"),
pulumi.String("PUT"),
},
MaxAgeInSeconds: pulumi.Int(3600),
CredentialsAllowed: pulumi.Bool(true),
},
ConfigurationExportStorageAccountName: pulumi.String("storage_account_name"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Azure = Pulumi.Azure;
return await Deployment.RunAsync(() =>
{
var example = new Azure.Core.ResourceGroup("example", new()
{
Name = "example",
Location = "West Europe",
});
var current = Azure.Core.GetClientConfig.Invoke();
var exampleWorkspace = new Azure.Healthcare.Workspace("example", new()
{
Name = "example",
Location = example.Location,
ResourceGroupName = example.Name,
});
var exampleFhirService = new Azure.Healthcare.FhirService("example", new()
{
Name = "tfexfhir",
Location = "east us",
ResourceGroupName = "tfex-resource_group",
WorkspaceId = exampleWorkspace.Id,
Kind = "fhir-R4",
Authentication = new Azure.Healthcare.Inputs.FhirServiceAuthenticationArgs
{
Authority = "https://login.microsoftonline.com/tenantId",
Audience = "https://tfexfhir.fhir.azurehealthcareapis.com",
},
AccessPolicyObjectIds = new[]
{
current.Apply(getClientConfigResult => getClientConfigResult.ObjectId),
},
Identity = new Azure.Healthcare.Inputs.FhirServiceIdentityArgs
{
Type = "SystemAssigned",
},
ContainerRegistryLoginServerUrls = new[]
{
"tfex-container_registry_login_server",
},
Cors = new Azure.Healthcare.Inputs.FhirServiceCorsArgs
{
AllowedOrigins = new[]
{
"https://tfex.com:123",
"https://tfex1.com:3389",
},
AllowedHeaders = new[]
{
"*",
},
AllowedMethods = new[]
{
"GET",
"DELETE",
"PUT",
},
MaxAgeInSeconds = 3600,
CredentialsAllowed = true,
},
ConfigurationExportStorageAccountName = "storage_account_name",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.core.ResourceGroup;
import com.pulumi.azure.core.ResourceGroupArgs;
import com.pulumi.azure.core.CoreFunctions;
import com.pulumi.azure.healthcare.Workspace;
import com.pulumi.azure.healthcare.WorkspaceArgs;
import com.pulumi.azure.healthcare.FhirService;
import com.pulumi.azure.healthcare.FhirServiceArgs;
import com.pulumi.azure.healthcare.inputs.FhirServiceAuthenticationArgs;
import com.pulumi.azure.healthcare.inputs.FhirServiceIdentityArgs;
import com.pulumi.azure.healthcare.inputs.FhirServiceCorsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new ResourceGroup("example", ResourceGroupArgs.builder()
.name("example")
.location("West Europe")
.build());
final var current = CoreFunctions.getClientConfig();
var exampleWorkspace = new Workspace("exampleWorkspace", WorkspaceArgs.builder()
.name("example")
.location(example.location())
.resourceGroupName(example.name())
.build());
var exampleFhirService = new FhirService("exampleFhirService", FhirServiceArgs.builder()
.name("tfexfhir")
.location("east us")
.resourceGroupName("tfex-resource_group")
.workspaceId(exampleWorkspace.id())
.kind("fhir-R4")
.authentication(FhirServiceAuthenticationArgs.builder()
.authority("https://login.microsoftonline.com/tenantId")
.audience("https://tfexfhir.fhir.azurehealthcareapis.com")
.build())
.accessPolicyObjectIds(current.applyValue(getClientConfigResult -> getClientConfigResult.objectId()))
.identity(FhirServiceIdentityArgs.builder()
.type("SystemAssigned")
.build())
.containerRegistryLoginServerUrls("tfex-container_registry_login_server")
.cors(FhirServiceCorsArgs.builder()
.allowedOrigins(
"https://tfex.com:123",
"https://tfex1.com:3389")
.allowedHeaders("*")
.allowedMethods(
"GET",
"DELETE",
"PUT")
.maxAgeInSeconds(3600)
.credentialsAllowed(true)
.build())
.configurationExportStorageAccountName("storage_account_name")
.build());
}
}
resources:
example:
type: azure:core:ResourceGroup
properties:
name: example
location: West Europe
exampleWorkspace:
type: azure:healthcare:Workspace
name: example
properties:
name: example
location: ${example.location}
resourceGroupName: ${example.name}
exampleFhirService:
type: azure:healthcare:FhirService
name: example
properties:
name: tfexfhir
location: east us
resourceGroupName: tfex-resource_group
workspaceId: ${exampleWorkspace.id}
kind: fhir-R4
authentication:
authority: https://login.microsoftonline.com/tenantId
audience: https://tfexfhir.fhir.azurehealthcareapis.com
accessPolicyObjectIds:
- ${current.objectId}
identity:
type: SystemAssigned
containerRegistryLoginServerUrls:
- tfex-container_registry_login_server
cors:
allowedOrigins:
- https://tfex.com:123
- https://tfex1.com:3389
allowedHeaders:
- '*'
allowedMethods:
- GET
- DELETE
- PUT
maxAgeInSeconds: 3600
credentialsAllowed: true
configurationExportStorageAccountName: storage_account_name
variables:
current:
fn::invoke:
Function: azure:core:getClientConfig
Arguments: {}
Create FhirService Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new FhirService(name: string, args: FhirServiceArgs, opts?: CustomResourceOptions);
@overload
def FhirService(resource_name: str,
args: FhirServiceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def FhirService(resource_name: str,
opts: Optional[ResourceOptions] = None,
resource_group_name: Optional[str] = None,
authentication: Optional[FhirServiceAuthenticationArgs] = None,
workspace_id: Optional[str] = None,
kind: Optional[str] = None,
cors: Optional[FhirServiceCorsArgs] = None,
identity: Optional[FhirServiceIdentityArgs] = None,
access_policy_object_ids: Optional[Sequence[str]] = None,
location: Optional[str] = None,
name: Optional[str] = None,
oci_artifacts: Optional[Sequence[FhirServiceOciArtifactArgs]] = None,
container_registry_login_server_urls: Optional[Sequence[str]] = None,
tags: Optional[Mapping[str, str]] = None,
configuration_export_storage_account_name: Optional[str] = None)
func NewFhirService(ctx *Context, name string, args FhirServiceArgs, opts ...ResourceOption) (*FhirService, error)
public FhirService(string name, FhirServiceArgs args, CustomResourceOptions? opts = null)
public FhirService(String name, FhirServiceArgs args)
public FhirService(String name, FhirServiceArgs args, CustomResourceOptions options)
type: azure:healthcare:FhirService
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args FhirServiceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args FhirServiceArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args FhirServiceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args FhirServiceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args FhirServiceArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var fhirServiceResource = new Azure.Healthcare.FhirService("fhirServiceResource", new()
{
ResourceGroupName = "string",
Authentication = new Azure.Healthcare.Inputs.FhirServiceAuthenticationArgs
{
Audience = "string",
Authority = "string",
SmartProxyEnabled = false,
},
WorkspaceId = "string",
Kind = "string",
Cors = new Azure.Healthcare.Inputs.FhirServiceCorsArgs
{
AllowedHeaders = new[]
{
"string",
},
AllowedMethods = new[]
{
"string",
},
AllowedOrigins = new[]
{
"string",
},
CredentialsAllowed = false,
MaxAgeInSeconds = 0,
},
Identity = new Azure.Healthcare.Inputs.FhirServiceIdentityArgs
{
Type = "string",
IdentityIds = new[]
{
"string",
},
PrincipalId = "string",
TenantId = "string",
},
AccessPolicyObjectIds = new[]
{
"string",
},
Location = "string",
Name = "string",
OciArtifacts = new[]
{
new Azure.Healthcare.Inputs.FhirServiceOciArtifactArgs
{
LoginServer = "string",
Digest = "string",
ImageName = "string",
},
},
ContainerRegistryLoginServerUrls = new[]
{
"string",
},
Tags =
{
{ "string", "string" },
},
ConfigurationExportStorageAccountName = "string",
});
example, err := healthcare.NewFhirService(ctx, "fhirServiceResource", &healthcare.FhirServiceArgs{
ResourceGroupName: pulumi.String("string"),
Authentication: &healthcare.FhirServiceAuthenticationArgs{
Audience: pulumi.String("string"),
Authority: pulumi.String("string"),
SmartProxyEnabled: pulumi.Bool(false),
},
WorkspaceId: pulumi.String("string"),
Kind: pulumi.String("string"),
Cors: &healthcare.FhirServiceCorsArgs{
AllowedHeaders: pulumi.StringArray{
pulumi.String("string"),
},
AllowedMethods: pulumi.StringArray{
pulumi.String("string"),
},
AllowedOrigins: pulumi.StringArray{
pulumi.String("string"),
},
CredentialsAllowed: pulumi.Bool(false),
MaxAgeInSeconds: pulumi.Int(0),
},
Identity: &healthcare.FhirServiceIdentityArgs{
Type: pulumi.String("string"),
IdentityIds: pulumi.StringArray{
pulumi.String("string"),
},
PrincipalId: pulumi.String("string"),
TenantId: pulumi.String("string"),
},
AccessPolicyObjectIds: pulumi.StringArray{
pulumi.String("string"),
},
Location: pulumi.String("string"),
Name: pulumi.String("string"),
OciArtifacts: healthcare.FhirServiceOciArtifactArray{
&healthcare.FhirServiceOciArtifactArgs{
LoginServer: pulumi.String("string"),
Digest: pulumi.String("string"),
ImageName: pulumi.String("string"),
},
},
ContainerRegistryLoginServerUrls: pulumi.StringArray{
pulumi.String("string"),
},
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
ConfigurationExportStorageAccountName: pulumi.String("string"),
})
var fhirServiceResource = new FhirService("fhirServiceResource", FhirServiceArgs.builder()
.resourceGroupName("string")
.authentication(FhirServiceAuthenticationArgs.builder()
.audience("string")
.authority("string")
.smartProxyEnabled(false)
.build())
.workspaceId("string")
.kind("string")
.cors(FhirServiceCorsArgs.builder()
.allowedHeaders("string")
.allowedMethods("string")
.allowedOrigins("string")
.credentialsAllowed(false)
.maxAgeInSeconds(0)
.build())
.identity(FhirServiceIdentityArgs.builder()
.type("string")
.identityIds("string")
.principalId("string")
.tenantId("string")
.build())
.accessPolicyObjectIds("string")
.location("string")
.name("string")
.ociArtifacts(FhirServiceOciArtifactArgs.builder()
.loginServer("string")
.digest("string")
.imageName("string")
.build())
.containerRegistryLoginServerUrls("string")
.tags(Map.of("string", "string"))
.configurationExportStorageAccountName("string")
.build());
fhir_service_resource = azure.healthcare.FhirService("fhirServiceResource",
resource_group_name="string",
authentication={
"audience": "string",
"authority": "string",
"smartProxyEnabled": False,
},
workspace_id="string",
kind="string",
cors={
"allowedHeaders": ["string"],
"allowedMethods": ["string"],
"allowedOrigins": ["string"],
"credentialsAllowed": False,
"maxAgeInSeconds": 0,
},
identity={
"type": "string",
"identityIds": ["string"],
"principalId": "string",
"tenantId": "string",
},
access_policy_object_ids=["string"],
location="string",
name="string",
oci_artifacts=[{
"loginServer": "string",
"digest": "string",
"imageName": "string",
}],
container_registry_login_server_urls=["string"],
tags={
"string": "string",
},
configuration_export_storage_account_name="string")
const fhirServiceResource = new azure.healthcare.FhirService("fhirServiceResource", {
resourceGroupName: "string",
authentication: {
audience: "string",
authority: "string",
smartProxyEnabled: false,
},
workspaceId: "string",
kind: "string",
cors: {
allowedHeaders: ["string"],
allowedMethods: ["string"],
allowedOrigins: ["string"],
credentialsAllowed: false,
maxAgeInSeconds: 0,
},
identity: {
type: "string",
identityIds: ["string"],
principalId: "string",
tenantId: "string",
},
accessPolicyObjectIds: ["string"],
location: "string",
name: "string",
ociArtifacts: [{
loginServer: "string",
digest: "string",
imageName: "string",
}],
containerRegistryLoginServerUrls: ["string"],
tags: {
string: "string",
},
configurationExportStorageAccountName: "string",
});
type: azure:healthcare:FhirService
properties:
accessPolicyObjectIds:
- string
authentication:
audience: string
authority: string
smartProxyEnabled: false
configurationExportStorageAccountName: string
containerRegistryLoginServerUrls:
- string
cors:
allowedHeaders:
- string
allowedMethods:
- string
allowedOrigins:
- string
credentialsAllowed: false
maxAgeInSeconds: 0
identity:
identityIds:
- string
principalId: string
tenantId: string
type: string
kind: string
location: string
name: string
ociArtifacts:
- digest: string
imageName: string
loginServer: string
resourceGroupName: string
tags:
string: string
workspaceId: string
FhirService Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The FhirService resource accepts the following input properties:
- Authentication
Fhir
Service Authentication - An
authentication
block as defined below. - Resource
Group stringName - Specifies the name of the Resource Group in which to create the Healthcare FHIR Service. Changing this forces a new resource to be created.
- Workspace
Id string - Specifies the id of the Healthcare Workspace where the Healthcare FHIR Service should exist. Changing this forces a new Healthcare FHIR Service to be created.
- Access
Policy List<string>Object Ids - A list of the access policies of the service instance.
- Configuration
Export stringStorage Account Name - Specifies the name of the storage account which the operation configuration information is exported to.
- Container
Registry List<string>Login Server Urls - A list of azure container registry settings used for convert data operation of the service instance.
- Cors
Fhir
Service Cors - A
cors
block as defined below. - Identity
Fhir
Service Identity - An
identity
block as defined below. - Kind string
- Specifies the kind of the Healthcare FHIR Service. Possible values are:
fhir-Stu3
andfhir-R4
. Defaults tofhir-R4
. Changing this forces a new Healthcare FHIR Service to be created. - Location string
- Specifies the Azure Region where the Healthcare FHIR Service should be created. Changing this forces a new Healthcare FHIR Service to be created.
- Name string
- Specifies the name of the Healthcare FHIR Service. Changing this forces a new Healthcare FHIR Service to be created.
- Oci
Artifacts List<FhirService Oci Artifact> - A list of
oci_artifact
objects as defined below to describe OCI artifacts for export. - Dictionary<string, string>
- A mapping of tags to assign to the Healthcare FHIR Service.
- Authentication
Fhir
Service Authentication Args - An
authentication
block as defined below. - Resource
Group stringName - Specifies the name of the Resource Group in which to create the Healthcare FHIR Service. Changing this forces a new resource to be created.
- Workspace
Id string - Specifies the id of the Healthcare Workspace where the Healthcare FHIR Service should exist. Changing this forces a new Healthcare FHIR Service to be created.
- Access
Policy []stringObject Ids - A list of the access policies of the service instance.
- Configuration
Export stringStorage Account Name - Specifies the name of the storage account which the operation configuration information is exported to.
- Container
Registry []stringLogin Server Urls - A list of azure container registry settings used for convert data operation of the service instance.
- Cors
Fhir
Service Cors Args - A
cors
block as defined below. - Identity
Fhir
Service Identity Args - An
identity
block as defined below. - Kind string
- Specifies the kind of the Healthcare FHIR Service. Possible values are:
fhir-Stu3
andfhir-R4
. Defaults tofhir-R4
. Changing this forces a new Healthcare FHIR Service to be created. - Location string
- Specifies the Azure Region where the Healthcare FHIR Service should be created. Changing this forces a new Healthcare FHIR Service to be created.
- Name string
- Specifies the name of the Healthcare FHIR Service. Changing this forces a new Healthcare FHIR Service to be created.
- Oci
Artifacts []FhirService Oci Artifact Args - A list of
oci_artifact
objects as defined below to describe OCI artifacts for export. - map[string]string
- A mapping of tags to assign to the Healthcare FHIR Service.
- authentication
Fhir
Service Authentication - An
authentication
block as defined below. - resource
Group StringName - Specifies the name of the Resource Group in which to create the Healthcare FHIR Service. Changing this forces a new resource to be created.
- workspace
Id String - Specifies the id of the Healthcare Workspace where the Healthcare FHIR Service should exist. Changing this forces a new Healthcare FHIR Service to be created.
- access
Policy List<String>Object Ids - A list of the access policies of the service instance.
- configuration
Export StringStorage Account Name - Specifies the name of the storage account which the operation configuration information is exported to.
- container
Registry List<String>Login Server Urls - A list of azure container registry settings used for convert data operation of the service instance.
- cors
Fhir
Service Cors - A
cors
block as defined below. - identity
Fhir
Service Identity - An
identity
block as defined below. - kind String
- Specifies the kind of the Healthcare FHIR Service. Possible values are:
fhir-Stu3
andfhir-R4
. Defaults tofhir-R4
. Changing this forces a new Healthcare FHIR Service to be created. - location String
- Specifies the Azure Region where the Healthcare FHIR Service should be created. Changing this forces a new Healthcare FHIR Service to be created.
- name String
- Specifies the name of the Healthcare FHIR Service. Changing this forces a new Healthcare FHIR Service to be created.
- oci
Artifacts List<FhirService Oci Artifact> - A list of
oci_artifact
objects as defined below to describe OCI artifacts for export. - Map<String,String>
- A mapping of tags to assign to the Healthcare FHIR Service.
- authentication
Fhir
Service Authentication - An
authentication
block as defined below. - resource
Group stringName - Specifies the name of the Resource Group in which to create the Healthcare FHIR Service. Changing this forces a new resource to be created.
- workspace
Id string - Specifies the id of the Healthcare Workspace where the Healthcare FHIR Service should exist. Changing this forces a new Healthcare FHIR Service to be created.
- access
Policy string[]Object Ids - A list of the access policies of the service instance.
- configuration
Export stringStorage Account Name - Specifies the name of the storage account which the operation configuration information is exported to.
- container
Registry string[]Login Server Urls - A list of azure container registry settings used for convert data operation of the service instance.
- cors
Fhir
Service Cors - A
cors
block as defined below. - identity
Fhir
Service Identity - An
identity
block as defined below. - kind string
- Specifies the kind of the Healthcare FHIR Service. Possible values are:
fhir-Stu3
andfhir-R4
. Defaults tofhir-R4
. Changing this forces a new Healthcare FHIR Service to be created. - location string
- Specifies the Azure Region where the Healthcare FHIR Service should be created. Changing this forces a new Healthcare FHIR Service to be created.
- name string
- Specifies the name of the Healthcare FHIR Service. Changing this forces a new Healthcare FHIR Service to be created.
- oci
Artifacts FhirService Oci Artifact[] - A list of
oci_artifact
objects as defined below to describe OCI artifacts for export. - {[key: string]: string}
- A mapping of tags to assign to the Healthcare FHIR Service.
- authentication
Fhir
Service Authentication Args - An
authentication
block as defined below. - resource_
group_ strname - Specifies the name of the Resource Group in which to create the Healthcare FHIR Service. Changing this forces a new resource to be created.
- workspace_
id str - Specifies the id of the Healthcare Workspace where the Healthcare FHIR Service should exist. Changing this forces a new Healthcare FHIR Service to be created.
- access_
policy_ Sequence[str]object_ ids - A list of the access policies of the service instance.
- configuration_
export_ strstorage_ account_ name - Specifies the name of the storage account which the operation configuration information is exported to.
- container_
registry_ Sequence[str]login_ server_ urls - A list of azure container registry settings used for convert data operation of the service instance.
- cors
Fhir
Service Cors Args - A
cors
block as defined below. - identity
Fhir
Service Identity Args - An
identity
block as defined below. - kind str
- Specifies the kind of the Healthcare FHIR Service. Possible values are:
fhir-Stu3
andfhir-R4
. Defaults tofhir-R4
. Changing this forces a new Healthcare FHIR Service to be created. - location str
- Specifies the Azure Region where the Healthcare FHIR Service should be created. Changing this forces a new Healthcare FHIR Service to be created.
- name str
- Specifies the name of the Healthcare FHIR Service. Changing this forces a new Healthcare FHIR Service to be created.
- oci_
artifacts Sequence[FhirService Oci Artifact Args] - A list of
oci_artifact
objects as defined below to describe OCI artifacts for export. - Mapping[str, str]
- A mapping of tags to assign to the Healthcare FHIR Service.
- authentication Property Map
- An
authentication
block as defined below. - resource
Group StringName - Specifies the name of the Resource Group in which to create the Healthcare FHIR Service. Changing this forces a new resource to be created.
- workspace
Id String - Specifies the id of the Healthcare Workspace where the Healthcare FHIR Service should exist. Changing this forces a new Healthcare FHIR Service to be created.
- access
Policy List<String>Object Ids - A list of the access policies of the service instance.
- configuration
Export StringStorage Account Name - Specifies the name of the storage account which the operation configuration information is exported to.
- container
Registry List<String>Login Server Urls - A list of azure container registry settings used for convert data operation of the service instance.
- cors Property Map
- A
cors
block as defined below. - identity Property Map
- An
identity
block as defined below. - kind String
- Specifies the kind of the Healthcare FHIR Service. Possible values are:
fhir-Stu3
andfhir-R4
. Defaults tofhir-R4
. Changing this forces a new Healthcare FHIR Service to be created. - location String
- Specifies the Azure Region where the Healthcare FHIR Service should be created. Changing this forces a new Healthcare FHIR Service to be created.
- name String
- Specifies the name of the Healthcare FHIR Service. Changing this forces a new Healthcare FHIR Service to be created.
- oci
Artifacts List<Property Map> - A list of
oci_artifact
objects as defined below to describe OCI artifacts for export. - Map<String>
- A mapping of tags to assign to the Healthcare FHIR Service.
Outputs
All input properties are implicitly available as output properties. Additionally, the FhirService resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Public
Network boolAccess Enabled - Whether public networks access is enabled.
- Id string
- The provider-assigned unique ID for this managed resource.
- Public
Network boolAccess Enabled - Whether public networks access is enabled.
- id String
- The provider-assigned unique ID for this managed resource.
- public
Network BooleanAccess Enabled - Whether public networks access is enabled.
- id string
- The provider-assigned unique ID for this managed resource.
- public
Network booleanAccess Enabled - Whether public networks access is enabled.
- id str
- The provider-assigned unique ID for this managed resource.
- public_
network_ boolaccess_ enabled - Whether public networks access is enabled.
- id String
- The provider-assigned unique ID for this managed resource.
- public
Network BooleanAccess Enabled - Whether public networks access is enabled.
Look up Existing FhirService Resource
Get an existing FhirService resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: FhirServiceState, opts?: CustomResourceOptions): FhirService
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
access_policy_object_ids: Optional[Sequence[str]] = None,
authentication: Optional[FhirServiceAuthenticationArgs] = None,
configuration_export_storage_account_name: Optional[str] = None,
container_registry_login_server_urls: Optional[Sequence[str]] = None,
cors: Optional[FhirServiceCorsArgs] = None,
identity: Optional[FhirServiceIdentityArgs] = None,
kind: Optional[str] = None,
location: Optional[str] = None,
name: Optional[str] = None,
oci_artifacts: Optional[Sequence[FhirServiceOciArtifactArgs]] = None,
public_network_access_enabled: Optional[bool] = None,
resource_group_name: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
workspace_id: Optional[str] = None) -> FhirService
func GetFhirService(ctx *Context, name string, id IDInput, state *FhirServiceState, opts ...ResourceOption) (*FhirService, error)
public static FhirService Get(string name, Input<string> id, FhirServiceState? state, CustomResourceOptions? opts = null)
public static FhirService get(String name, Output<String> id, FhirServiceState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Access
Policy List<string>Object Ids - A list of the access policies of the service instance.
- Authentication
Fhir
Service Authentication - An
authentication
block as defined below. - Configuration
Export stringStorage Account Name - Specifies the name of the storage account which the operation configuration information is exported to.
- Container
Registry List<string>Login Server Urls - A list of azure container registry settings used for convert data operation of the service instance.
- Cors
Fhir
Service Cors - A
cors
block as defined below. - Identity
Fhir
Service Identity - An
identity
block as defined below. - Kind string
- Specifies the kind of the Healthcare FHIR Service. Possible values are:
fhir-Stu3
andfhir-R4
. Defaults tofhir-R4
. Changing this forces a new Healthcare FHIR Service to be created. - Location string
- Specifies the Azure Region where the Healthcare FHIR Service should be created. Changing this forces a new Healthcare FHIR Service to be created.
- Name string
- Specifies the name of the Healthcare FHIR Service. Changing this forces a new Healthcare FHIR Service to be created.
- Oci
Artifacts List<FhirService Oci Artifact> - A list of
oci_artifact
objects as defined below to describe OCI artifacts for export. - Public
Network boolAccess Enabled - Whether public networks access is enabled.
- Resource
Group stringName - Specifies the name of the Resource Group in which to create the Healthcare FHIR Service. Changing this forces a new resource to be created.
- Dictionary<string, string>
- A mapping of tags to assign to the Healthcare FHIR Service.
- Workspace
Id string - Specifies the id of the Healthcare Workspace where the Healthcare FHIR Service should exist. Changing this forces a new Healthcare FHIR Service to be created.
- Access
Policy []stringObject Ids - A list of the access policies of the service instance.
- Authentication
Fhir
Service Authentication Args - An
authentication
block as defined below. - Configuration
Export stringStorage Account Name - Specifies the name of the storage account which the operation configuration information is exported to.
- Container
Registry []stringLogin Server Urls - A list of azure container registry settings used for convert data operation of the service instance.
- Cors
Fhir
Service Cors Args - A
cors
block as defined below. - Identity
Fhir
Service Identity Args - An
identity
block as defined below. - Kind string
- Specifies the kind of the Healthcare FHIR Service. Possible values are:
fhir-Stu3
andfhir-R4
. Defaults tofhir-R4
. Changing this forces a new Healthcare FHIR Service to be created. - Location string
- Specifies the Azure Region where the Healthcare FHIR Service should be created. Changing this forces a new Healthcare FHIR Service to be created.
- Name string
- Specifies the name of the Healthcare FHIR Service. Changing this forces a new Healthcare FHIR Service to be created.
- Oci
Artifacts []FhirService Oci Artifact Args - A list of
oci_artifact
objects as defined below to describe OCI artifacts for export. - Public
Network boolAccess Enabled - Whether public networks access is enabled.
- Resource
Group stringName - Specifies the name of the Resource Group in which to create the Healthcare FHIR Service. Changing this forces a new resource to be created.
- map[string]string
- A mapping of tags to assign to the Healthcare FHIR Service.
- Workspace
Id string - Specifies the id of the Healthcare Workspace where the Healthcare FHIR Service should exist. Changing this forces a new Healthcare FHIR Service to be created.
- access
Policy List<String>Object Ids - A list of the access policies of the service instance.
- authentication
Fhir
Service Authentication - An
authentication
block as defined below. - configuration
Export StringStorage Account Name - Specifies the name of the storage account which the operation configuration information is exported to.
- container
Registry List<String>Login Server Urls - A list of azure container registry settings used for convert data operation of the service instance.
- cors
Fhir
Service Cors - A
cors
block as defined below. - identity
Fhir
Service Identity - An
identity
block as defined below. - kind String
- Specifies the kind of the Healthcare FHIR Service. Possible values are:
fhir-Stu3
andfhir-R4
. Defaults tofhir-R4
. Changing this forces a new Healthcare FHIR Service to be created. - location String
- Specifies the Azure Region where the Healthcare FHIR Service should be created. Changing this forces a new Healthcare FHIR Service to be created.
- name String
- Specifies the name of the Healthcare FHIR Service. Changing this forces a new Healthcare FHIR Service to be created.
- oci
Artifacts List<FhirService Oci Artifact> - A list of
oci_artifact
objects as defined below to describe OCI artifacts for export. - public
Network BooleanAccess Enabled - Whether public networks access is enabled.
- resource
Group StringName - Specifies the name of the Resource Group in which to create the Healthcare FHIR Service. Changing this forces a new resource to be created.
- Map<String,String>
- A mapping of tags to assign to the Healthcare FHIR Service.
- workspace
Id String - Specifies the id of the Healthcare Workspace where the Healthcare FHIR Service should exist. Changing this forces a new Healthcare FHIR Service to be created.
- access
Policy string[]Object Ids - A list of the access policies of the service instance.
- authentication
Fhir
Service Authentication - An
authentication
block as defined below. - configuration
Export stringStorage Account Name - Specifies the name of the storage account which the operation configuration information is exported to.
- container
Registry string[]Login Server Urls - A list of azure container registry settings used for convert data operation of the service instance.
- cors
Fhir
Service Cors - A
cors
block as defined below. - identity
Fhir
Service Identity - An
identity
block as defined below. - kind string
- Specifies the kind of the Healthcare FHIR Service. Possible values are:
fhir-Stu3
andfhir-R4
. Defaults tofhir-R4
. Changing this forces a new Healthcare FHIR Service to be created. - location string
- Specifies the Azure Region where the Healthcare FHIR Service should be created. Changing this forces a new Healthcare FHIR Service to be created.
- name string
- Specifies the name of the Healthcare FHIR Service. Changing this forces a new Healthcare FHIR Service to be created.
- oci
Artifacts FhirService Oci Artifact[] - A list of
oci_artifact
objects as defined below to describe OCI artifacts for export. - public
Network booleanAccess Enabled - Whether public networks access is enabled.
- resource
Group stringName - Specifies the name of the Resource Group in which to create the Healthcare FHIR Service. Changing this forces a new resource to be created.
- {[key: string]: string}
- A mapping of tags to assign to the Healthcare FHIR Service.
- workspace
Id string - Specifies the id of the Healthcare Workspace where the Healthcare FHIR Service should exist. Changing this forces a new Healthcare FHIR Service to be created.
- access_
policy_ Sequence[str]object_ ids - A list of the access policies of the service instance.
- authentication
Fhir
Service Authentication Args - An
authentication
block as defined below. - configuration_
export_ strstorage_ account_ name - Specifies the name of the storage account which the operation configuration information is exported to.
- container_
registry_ Sequence[str]login_ server_ urls - A list of azure container registry settings used for convert data operation of the service instance.
- cors
Fhir
Service Cors Args - A
cors
block as defined below. - identity
Fhir
Service Identity Args - An
identity
block as defined below. - kind str
- Specifies the kind of the Healthcare FHIR Service. Possible values are:
fhir-Stu3
andfhir-R4
. Defaults tofhir-R4
. Changing this forces a new Healthcare FHIR Service to be created. - location str
- Specifies the Azure Region where the Healthcare FHIR Service should be created. Changing this forces a new Healthcare FHIR Service to be created.
- name str
- Specifies the name of the Healthcare FHIR Service. Changing this forces a new Healthcare FHIR Service to be created.
- oci_
artifacts Sequence[FhirService Oci Artifact Args] - A list of
oci_artifact
objects as defined below to describe OCI artifacts for export. - public_
network_ boolaccess_ enabled - Whether public networks access is enabled.
- resource_
group_ strname - Specifies the name of the Resource Group in which to create the Healthcare FHIR Service. Changing this forces a new resource to be created.
- Mapping[str, str]
- A mapping of tags to assign to the Healthcare FHIR Service.
- workspace_
id str - Specifies the id of the Healthcare Workspace where the Healthcare FHIR Service should exist. Changing this forces a new Healthcare FHIR Service to be created.
- access
Policy List<String>Object Ids - A list of the access policies of the service instance.
- authentication Property Map
- An
authentication
block as defined below. - configuration
Export StringStorage Account Name - Specifies the name of the storage account which the operation configuration information is exported to.
- container
Registry List<String>Login Server Urls - A list of azure container registry settings used for convert data operation of the service instance.
- cors Property Map
- A
cors
block as defined below. - identity Property Map
- An
identity
block as defined below. - kind String
- Specifies the kind of the Healthcare FHIR Service. Possible values are:
fhir-Stu3
andfhir-R4
. Defaults tofhir-R4
. Changing this forces a new Healthcare FHIR Service to be created. - location String
- Specifies the Azure Region where the Healthcare FHIR Service should be created. Changing this forces a new Healthcare FHIR Service to be created.
- name String
- Specifies the name of the Healthcare FHIR Service. Changing this forces a new Healthcare FHIR Service to be created.
- oci
Artifacts List<Property Map> - A list of
oci_artifact
objects as defined below to describe OCI artifacts for export. - public
Network BooleanAccess Enabled - Whether public networks access is enabled.
- resource
Group StringName - Specifies the name of the Resource Group in which to create the Healthcare FHIR Service. Changing this forces a new resource to be created.
- Map<String>
- A mapping of tags to assign to the Healthcare FHIR Service.
- workspace
Id String - Specifies the id of the Healthcare Workspace where the Healthcare FHIR Service should exist. Changing this forces a new Healthcare FHIR Service to be created.
Supporting Types
FhirServiceAuthentication, FhirServiceAuthenticationArgs
- Audience string
- The intended audience to receive authentication tokens for the service.
- string
- Smart
Proxy boolEnabled - Whether smart proxy is enabled.
- Audience string
- The intended audience to receive authentication tokens for the service.
- string
- Smart
Proxy boolEnabled - Whether smart proxy is enabled.
- audience String
- The intended audience to receive authentication tokens for the service.
- String
- smart
Proxy BooleanEnabled - Whether smart proxy is enabled.
- audience string
- The intended audience to receive authentication tokens for the service.
- string
- smart
Proxy booleanEnabled - Whether smart proxy is enabled.
- audience str
- The intended audience to receive authentication tokens for the service.
- str
- smart_
proxy_ boolenabled - Whether smart proxy is enabled.
- audience String
- The intended audience to receive authentication tokens for the service.
- String
- smart
Proxy BooleanEnabled - Whether smart proxy is enabled.
FhirServiceCors, FhirServiceCorsArgs
- Allowed
Headers List<string> - A set of headers to be allowed via CORS.
- Allowed
Methods List<string> - The methods to be allowed via CORS. Possible values are
DELETE
,GET
,HEAD
,MERGE
,POST
,OPTIONS
,PATCH
andPUT
. - Allowed
Origins List<string> - A set of origins to be allowed via CORS.
- Credentials
Allowed bool - If credentials are allowed via CORS.
- Max
Age intIn Seconds - The max age to be allowed via CORS.
- Allowed
Headers []string - A set of headers to be allowed via CORS.
- Allowed
Methods []string - The methods to be allowed via CORS. Possible values are
DELETE
,GET
,HEAD
,MERGE
,POST
,OPTIONS
,PATCH
andPUT
. - Allowed
Origins []string - A set of origins to be allowed via CORS.
- Credentials
Allowed bool - If credentials are allowed via CORS.
- Max
Age intIn Seconds - The max age to be allowed via CORS.
- allowed
Headers List<String> - A set of headers to be allowed via CORS.
- allowed
Methods List<String> - The methods to be allowed via CORS. Possible values are
DELETE
,GET
,HEAD
,MERGE
,POST
,OPTIONS
,PATCH
andPUT
. - allowed
Origins List<String> - A set of origins to be allowed via CORS.
- credentials
Allowed Boolean - If credentials are allowed via CORS.
- max
Age IntegerIn Seconds - The max age to be allowed via CORS.
- allowed
Headers string[] - A set of headers to be allowed via CORS.
- allowed
Methods string[] - The methods to be allowed via CORS. Possible values are
DELETE
,GET
,HEAD
,MERGE
,POST
,OPTIONS
,PATCH
andPUT
. - allowed
Origins string[] - A set of origins to be allowed via CORS.
- credentials
Allowed boolean - If credentials are allowed via CORS.
- max
Age numberIn Seconds - The max age to be allowed via CORS.
- allowed_
headers Sequence[str] - A set of headers to be allowed via CORS.
- allowed_
methods Sequence[str] - The methods to be allowed via CORS. Possible values are
DELETE
,GET
,HEAD
,MERGE
,POST
,OPTIONS
,PATCH
andPUT
. - allowed_
origins Sequence[str] - A set of origins to be allowed via CORS.
- credentials_
allowed bool - If credentials are allowed via CORS.
- max_
age_ intin_ seconds - The max age to be allowed via CORS.
- allowed
Headers List<String> - A set of headers to be allowed via CORS.
- allowed
Methods List<String> - The methods to be allowed via CORS. Possible values are
DELETE
,GET
,HEAD
,MERGE
,POST
,OPTIONS
,PATCH
andPUT
. - allowed
Origins List<String> - A set of origins to be allowed via CORS.
- credentials
Allowed Boolean - If credentials are allowed via CORS.
- max
Age NumberIn Seconds - The max age to be allowed via CORS.
FhirServiceIdentity, FhirServiceIdentityArgs
- Type string
- The type of managed identity to assign. Possible values are
UserAssigned
andSystemAssigned
. - Identity
Ids List<string> - A list of one or more Resource IDs for User Assigned Managed identities to assign. Required when
type
is set toUserAssigned
. - Principal
Id string - Tenant
Id string
- Type string
- The type of managed identity to assign. Possible values are
UserAssigned
andSystemAssigned
. - Identity
Ids []string - A list of one or more Resource IDs for User Assigned Managed identities to assign. Required when
type
is set toUserAssigned
. - Principal
Id string - Tenant
Id string
- type String
- The type of managed identity to assign. Possible values are
UserAssigned
andSystemAssigned
. - identity
Ids List<String> - A list of one or more Resource IDs for User Assigned Managed identities to assign. Required when
type
is set toUserAssigned
. - principal
Id String - tenant
Id String
- type string
- The type of managed identity to assign. Possible values are
UserAssigned
andSystemAssigned
. - identity
Ids string[] - A list of one or more Resource IDs for User Assigned Managed identities to assign. Required when
type
is set toUserAssigned
. - principal
Id string - tenant
Id string
- type str
- The type of managed identity to assign. Possible values are
UserAssigned
andSystemAssigned
. - identity_
ids Sequence[str] - A list of one or more Resource IDs for User Assigned Managed identities to assign. Required when
type
is set toUserAssigned
. - principal_
id str - tenant_
id str
- type String
- The type of managed identity to assign. Possible values are
UserAssigned
andSystemAssigned
. - identity
Ids List<String> - A list of one or more Resource IDs for User Assigned Managed identities to assign. Required when
type
is set toUserAssigned
. - principal
Id String - tenant
Id String
FhirServiceOciArtifact, FhirServiceOciArtifactArgs
- Login
Server string - An Azure container registry used for export operations of the service instance.
- Digest string
- A digest of an image within Azure container registry used for export operations of the service instance to narrow the artifacts down.
- Image
Name string - An image within Azure container registry used for export operations of the service instance.
- Login
Server string - An Azure container registry used for export operations of the service instance.
- Digest string
- A digest of an image within Azure container registry used for export operations of the service instance to narrow the artifacts down.
- Image
Name string - An image within Azure container registry used for export operations of the service instance.
- login
Server String - An Azure container registry used for export operations of the service instance.
- digest String
- A digest of an image within Azure container registry used for export operations of the service instance to narrow the artifacts down.
- image
Name String - An image within Azure container registry used for export operations of the service instance.
- login
Server string - An Azure container registry used for export operations of the service instance.
- digest string
- A digest of an image within Azure container registry used for export operations of the service instance to narrow the artifacts down.
- image
Name string - An image within Azure container registry used for export operations of the service instance.
- login_
server str - An Azure container registry used for export operations of the service instance.
- digest str
- A digest of an image within Azure container registry used for export operations of the service instance to narrow the artifacts down.
- image_
name str - An image within Azure container registry used for export operations of the service instance.
- login
Server String - An Azure container registry used for export operations of the service instance.
- digest String
- A digest of an image within Azure container registry used for export operations of the service instance to narrow the artifacts down.
- image
Name String - An image within Azure container registry used for export operations of the service instance.
Import
Healthcare FHIR Service can be imported using the resourceid
, e.g.
$ pulumi import azure:healthcare/fhirService:FhirService example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/group1/providers/Microsoft.HealthcareApis/workspaces/workspace1/fhirServices/service1
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurerm
Terraform Provider.