import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Manages a Healthcare FHIR (Fast Healthcare Interoperability Resources) Service * * ## Example Usage * * ```typescript * 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", * }); * ``` * * ## API Providers * * * This resource uses the following Azure API Providers: * * * `Microsoft.HealthcareApis` - 2022-12-01 * * ## Import * * Healthcare FHIR Service can be imported using the resource`id`, e.g. * * ```sh * $ pulumi import azure:healthcare/fhirService:FhirService example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/group1/providers/Microsoft.HealthcareApis/workspaces/workspace1/fhirServices/service1 * ``` */ export declare class FhirService extends pulumi.CustomResource { /** * Get an existing FhirService resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: FhirServiceState, opts?: pulumi.CustomResourceOptions): FhirService; /** * Returns true if the given object is an instance of FhirService. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is FhirService; /** * A list of the access policies of the service instance. */ readonly accessPolicyObjectIds: pulumi.Output; /** * An `authentication` block as defined below. */ readonly authentication: pulumi.Output; /** * Specifies the name of the storage account which the operation configuration information is exported to. */ readonly configurationExportStorageAccountName: pulumi.Output; /** * A list of azure container registry settings used for convert data operation of the service instance. */ readonly containerRegistryLoginServerUrls: pulumi.Output; /** * A `cors` block as defined below. */ readonly cors: pulumi.Output; /** * An `identity` block as defined below. */ readonly identity: pulumi.Output; /** * 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. */ readonly kind: pulumi.Output; /** * Specifies the Azure Region where the Healthcare FHIR Service should be created. Changing this forces a new Healthcare FHIR Service to be created. */ readonly location: pulumi.Output; /** * Specifies the name of the Healthcare FHIR Service. Changing this forces a new Healthcare FHIR Service to be created. */ readonly name: pulumi.Output; /** * [A list](https://www.terraform.io/docs/configuration/attr-as-blocks.html) of `ociArtifact` objects as defined below to describe [OCI artifacts for export](https://learn.microsoft.com/en-gb/azure/healthcare-apis/fhir/de-identified-export). */ readonly ociArtifacts: pulumi.Output; /** * Whether public networks access is enabled. */ readonly publicNetworkAccessEnabled: pulumi.Output; /** * Specifies the name of the Resource Group in which to create the Healthcare FHIR Service. Changing this forces a new resource to be created. */ readonly resourceGroupName: pulumi.Output; /** * A mapping of tags to assign to the Healthcare FHIR Service. */ readonly tags: pulumi.Output<{ [key: string]: string; } | undefined>; /** * 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. */ readonly workspaceId: pulumi.Output; /** * Create a FhirService resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: FhirServiceArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering FhirService resources. */ export interface FhirServiceState { /** * A list of the access policies of the service instance. */ accessPolicyObjectIds?: pulumi.Input[]>; /** * An `authentication` block as defined below. */ authentication?: pulumi.Input; /** * Specifies the name of the storage account which the operation configuration information is exported to. */ configurationExportStorageAccountName?: pulumi.Input; /** * A list of azure container registry settings used for convert data operation of the service instance. */ containerRegistryLoginServerUrls?: pulumi.Input[]>; /** * A `cors` block as defined below. */ cors?: pulumi.Input; /** * An `identity` block as defined below. */ identity?: pulumi.Input; /** * 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. */ kind?: pulumi.Input; /** * Specifies the Azure Region where the Healthcare FHIR Service should be created. Changing this forces a new Healthcare FHIR Service to be created. */ location?: pulumi.Input; /** * Specifies the name of the Healthcare FHIR Service. Changing this forces a new Healthcare FHIR Service to be created. */ name?: pulumi.Input; /** * [A list](https://www.terraform.io/docs/configuration/attr-as-blocks.html) of `ociArtifact` objects as defined below to describe [OCI artifacts for export](https://learn.microsoft.com/en-gb/azure/healthcare-apis/fhir/de-identified-export). */ ociArtifacts?: pulumi.Input[]>; /** * Whether public networks access is enabled. */ publicNetworkAccessEnabled?: pulumi.Input; /** * Specifies the name of the Resource Group in which to create the Healthcare FHIR Service. Changing this forces a new resource to be created. */ resourceGroupName?: pulumi.Input; /** * A mapping of tags to assign to the Healthcare FHIR Service. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * 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. */ workspaceId?: pulumi.Input; } /** * The set of arguments for constructing a FhirService resource. */ export interface FhirServiceArgs { /** * A list of the access policies of the service instance. */ accessPolicyObjectIds?: pulumi.Input[]>; /** * An `authentication` block as defined below. */ authentication: pulumi.Input; /** * Specifies the name of the storage account which the operation configuration information is exported to. */ configurationExportStorageAccountName?: pulumi.Input; /** * A list of azure container registry settings used for convert data operation of the service instance. */ containerRegistryLoginServerUrls?: pulumi.Input[]>; /** * A `cors` block as defined below. */ cors?: pulumi.Input; /** * An `identity` block as defined below. */ identity?: pulumi.Input; /** * 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. */ kind?: pulumi.Input; /** * Specifies the Azure Region where the Healthcare FHIR Service should be created. Changing this forces a new Healthcare FHIR Service to be created. */ location?: pulumi.Input; /** * Specifies the name of the Healthcare FHIR Service. Changing this forces a new Healthcare FHIR Service to be created. */ name?: pulumi.Input; /** * [A list](https://www.terraform.io/docs/configuration/attr-as-blocks.html) of `ociArtifact` objects as defined below to describe [OCI artifacts for export](https://learn.microsoft.com/en-gb/azure/healthcare-apis/fhir/de-identified-export). */ ociArtifacts?: pulumi.Input[]>; /** * Specifies the name of the Resource Group in which to create the Healthcare FHIR Service. Changing this forces a new resource to be created. */ resourceGroupName: pulumi.Input; /** * A mapping of tags to assign to the Healthcare FHIR Service. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * 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. */ workspaceId: pulumi.Input; }