FhirService

class FhirService : KotlinCustomResource

Manages a Healthcare FHIR (Fast Healthcare Interoperability Resources) Service

Example Usage

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 exampleResourceGroup = new ResourceGroup("exampleResourceGroup", ResourceGroupArgs.builder()
.location("West Europe")
.build());
final var current = CoreFunctions.getClientConfig();
var exampleWorkspace = new Workspace("exampleWorkspace", WorkspaceArgs.builder()
.location(exampleResourceGroup.location())
.resourceGroupName(exampleResourceGroup.name())
.build());
var exampleFhirService = new FhirService("exampleFhirService", FhirServiceArgs.builder()
.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());
}
}

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

Properties

Link copied to clipboard

A list of the access policies of the service instance.

Link copied to clipboard

An authentication block as defined below.

Link copied to clipboard

Specifies the name of the storage account which the operation configuration information is exported to.

Link copied to clipboard

A list of azure container registry settings used for convert data operation of the service instance.

Link copied to clipboard
val cors: Output<FhirServiceCors>?

A cors block as defined below.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard

An identity block as defined below.

Link copied to clipboard
val kind: Output<String>?

Specifies the kind of the Healthcare FHIR Service. Possible values are: fhir-Stu3 and fhir-R4. Defaults to fhir-R4. Changing this forces a new Healthcare FHIR Service to be created.

Link copied to clipboard
val location: Output<String>

Specifies the Azure Region where the Healthcare FHIR Service should be created. Changing this forces a new Healthcare FHIR Service to be created.

Link copied to clipboard
val name: Output<String>

Specifies the name of the Healthcare FHIR Service. Changing this forces a new Healthcare FHIR Service to be created.

Link copied to clipboard

A list of objects describing OCI artifacts for export as defined below.

Link copied to clipboard

Whether public networks access is enabled.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Specifies the name of the Resource Group in which to create the Healthcare FHIR Service. Changing this forces a new resource to be created.

Link copied to clipboard
val tags: Output<Map<String, String>>?

A mapping of tags to assign to the Healthcare FHIR Service.

Link copied to clipboard
val urn: Output<String>
Link copied to clipboard
val workspaceId: Output<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.