Azure Classic

Pulumi Official
Package maintained by Pulumi
v5.11.0 published on Monday, Jun 27, 2022 by Pulumi

getFhirService

Use this data source to access information about an existing Healthcare FHIR Service(Fast Healthcare Interoperability Resources).

Example Usage

using Pulumi;
using Azure = Pulumi.Azure;

class MyStack : Stack
{
    public MyStack()
    {
        var example = Output.Create(Azure.Healthcare.GetFhirService.InvokeAsync(new Azure.Healthcare.GetFhirServiceArgs
        {
            Name = "example-healthcare_fhir_service",
            WorkspaceId = "example-workspace",
        }));
        this.HealthcareFhirServiceId = example.Apply(example => example.Id);
    }

    [Output("healthcareFhirServiceId")]
    public Output<string> HealthcareFhirServiceId { get; set; }
}
package main

import (
	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/healthcare"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := healthcare.LookupFhirService(ctx, &healthcare.LookupFhirServiceArgs{
			Name:        "example-healthcare_fhir_service",
			WorkspaceId: "example-workspace",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("healthcareFhirServiceId", example.Id)
		return nil
	})
}
package generated_program;

import java.util.*;
import java.io.*;
import java.nio.*;
import com.pulumi.*;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        final var example = Output.of(HealthcareFunctions.getFhirService(GetFhirServiceArgs.builder()
            .name("example-healthcare_fhir_service")
            .workspaceId("example-workspace")
            .build()));

        ctx.export("healthcareFhirServiceId", example.apply(getFhirServiceResult -> getFhirServiceResult.id()));
    }
}
import pulumi
import pulumi_azure as azure

example = azure.healthcare.get_fhir_service(name="example-healthcare_fhir_service",
    workspace_id="example-workspace")
pulumi.export("healthcareFhirServiceId", example.id)
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";

const example = azure.healthcare.getFhirService({
    name: "example-healthcare_fhir_service",
    workspaceId: "example-workspace",
});
export const healthcareFhirServiceId = example.then(example => example.id);
variables:
  example:
    Fn::Invoke:
      Function: azure:healthcare:getFhirService
      Arguments:
        name: example-healthcare_fhir_service
        workspaceId: example-workspace
outputs:
  healthcareFhirServiceId: ${example.id}

Using getFhirService

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getFhirService(args: GetFhirServiceArgs, opts?: InvokeOptions): Promise<GetFhirServiceResult>
function getFhirServiceOutput(args: GetFhirServiceOutputArgs, opts?: InvokeOptions): Output<GetFhirServiceResult>
def get_fhir_service(name: Optional[str] = None,
                     tags: Optional[Mapping[str, str]] = None,
                     workspace_id: Optional[str] = None,
                     opts: Optional[InvokeOptions] = None) -> GetFhirServiceResult
def get_fhir_service_output(name: Optional[pulumi.Input[str]] = None,
                     tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
                     workspace_id: Optional[pulumi.Input[str]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetFhirServiceResult]
func LookupFhirService(ctx *Context, args *LookupFhirServiceArgs, opts ...InvokeOption) (*LookupFhirServiceResult, error)
func LookupFhirServiceOutput(ctx *Context, args *LookupFhirServiceOutputArgs, opts ...InvokeOption) LookupFhirServiceResultOutput

> Note: This function is named LookupFhirService in the Go SDK.

public static class GetFhirService 
{
    public static Task<GetFhirServiceResult> InvokeAsync(GetFhirServiceArgs args, InvokeOptions? opts = null)
    public static Output<GetFhirServiceResult> Invoke(GetFhirServiceInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetFhirServiceResult> getFhirService(GetFhirServiceArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: azure:healthcare/getFhirService:getFhirService
  Arguments:
    # Arguments dictionary

The following arguments are supported:

Name string

The name of the Healthcare FHIR Service.

WorkspaceId string

The name of the Healthcare Workspace in which the Healthcare FHIR Service exists.

Tags Dictionary<string, string>

The map of tags assigned to the Healthcare FHIR Service.

Name string

The name of the Healthcare FHIR Service.

WorkspaceId string

The name of the Healthcare Workspace in which the Healthcare FHIR Service exists.

Tags map[string]string

The map of tags assigned to the Healthcare FHIR Service.

name String

The name of the Healthcare FHIR Service.

workspaceId String

The name of the Healthcare Workspace in which the Healthcare FHIR Service exists.

tags Map<String,String>

The map of tags assigned to the Healthcare FHIR Service.

name string

The name of the Healthcare FHIR Service.

workspaceId string

The name of the Healthcare Workspace in which the Healthcare FHIR Service exists.

tags {[key: string]: string}

The map of tags assigned to the Healthcare FHIR Service.

name str

The name of the Healthcare FHIR Service.

workspace_id str

The name of the Healthcare Workspace in which the Healthcare FHIR Service exists.

tags Mapping[str, str]

The map of tags assigned to the Healthcare FHIR Service.

name String

The name of the Healthcare FHIR Service.

workspaceId String

The name of the Healthcare Workspace in which the Healthcare FHIR Service exists.

tags Map<String>

The map of tags assigned to the Healthcare FHIR Service.

getFhirService Result

The following output properties are available:

AccessPolicyObjectIds List<string>

The list of the access policies of the service instance.

Authentications List<GetFhirServiceAuthentication>

The authentication block as defined below.

ConfigurationExportStorageAccountName string

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

ContainerRegistryLoginServerUrls List<string>

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

Cors List<GetFhirServiceCor>

The cors block as defined below.

Id string

The provider-assigned unique ID for this managed resource.

Identities List<GetFhirServiceIdentity>

The identity block as defined below.

Kind string

The kind of the Healthcare FHIR Service.

Location string

The Azure Region where the Healthcare FHIR Service is located.

Name string
WorkspaceId string
Tags Dictionary<string, string>

The map of tags assigned to the Healthcare FHIR Service.

AccessPolicyObjectIds []string

The list of the access policies of the service instance.

Authentications []GetFhirServiceAuthentication

The authentication block as defined below.

ConfigurationExportStorageAccountName string

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

ContainerRegistryLoginServerUrls []string

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

Cors []GetFhirServiceCor

The cors block as defined below.

Id string

The provider-assigned unique ID for this managed resource.

Identities []GetFhirServiceIdentity

The identity block as defined below.

Kind string

The kind of the Healthcare FHIR Service.

Location string

The Azure Region where the Healthcare FHIR Service is located.

Name string
WorkspaceId string
Tags map[string]string

The map of tags assigned to the Healthcare FHIR Service.

accessPolicyObjectIds List<String>

The list of the access policies of the service instance.

authentications List<GetFhirServiceAuthentication>

The authentication block as defined below.

configurationExportStorageAccountName String

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

containerRegistryLoginServerUrls List<String>

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

cors List<GetFhirServiceCor>

The cors block as defined below.

id String

The provider-assigned unique ID for this managed resource.

identities List<GetFhirServiceIdentity>

The identity block as defined below.

kind String

The kind of the Healthcare FHIR Service.

location String

The Azure Region where the Healthcare FHIR Service is located.

name String
workspaceId String
tags Map<String,String>

The map of tags assigned to the Healthcare FHIR Service.

accessPolicyObjectIds string[]

The list of the access policies of the service instance.

authentications GetFhirServiceAuthentication[]

The authentication block as defined below.

configurationExportStorageAccountName string

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

containerRegistryLoginServerUrls string[]

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

cors GetFhirServiceCor[]

The cors block as defined below.

id string

The provider-assigned unique ID for this managed resource.

identities GetFhirServiceIdentity[]

The identity block as defined below.

kind string

The kind of the Healthcare FHIR Service.

location string

The Azure Region where the Healthcare FHIR Service is located.

name string
workspaceId string
tags {[key: string]: string}

The map of tags assigned to the Healthcare FHIR Service.

access_policy_object_ids Sequence[str]

The list of the access policies of the service instance.

authentications Sequence[GetFhirServiceAuthentication]

The authentication block as defined below.

configuration_export_storage_account_name str

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

container_registry_login_server_urls Sequence[str]

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

cors Sequence[GetFhirServiceCor]

The cors block as defined below.

id str

The provider-assigned unique ID for this managed resource.

identities Sequence[GetFhirServiceIdentity]

The identity block as defined below.

kind str

The kind of the Healthcare FHIR Service.

location str

The Azure Region where the Healthcare FHIR Service is located.

name str
workspace_id str
tags Mapping[str, str]

The map of tags assigned to the Healthcare FHIR Service.

accessPolicyObjectIds List<String>

The list of the access policies of the service instance.

authentications List<Property Map>

The authentication block as defined below.

configurationExportStorageAccountName String

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

containerRegistryLoginServerUrls List<String>

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

cors List<Property Map>

The cors block as defined below.

id String

The provider-assigned unique ID for this managed resource.

identities List<Property Map>

The identity block as defined below.

kind String

The kind of the Healthcare FHIR Service.

location String

The Azure Region where the Healthcare FHIR Service is located.

name String
workspaceId String
tags Map<String>

The map of tags assigned to the Healthcare FHIR Service.

Supporting Types

GetFhirServiceAuthentication

Audience string

The intended audience to receive authentication tokens for the service. The default value is https://.fhir.azurehealthcareapis.com

Authority string
SmartProxyEnabled bool
Audience string

The intended audience to receive authentication tokens for the service. The default value is https://.fhir.azurehealthcareapis.com

Authority string
SmartProxyEnabled bool
audience String

The intended audience to receive authentication tokens for the service. The default value is https://.fhir.azurehealthcareapis.com

authority String
smartProxyEnabled Boolean
audience string

The intended audience to receive authentication tokens for the service. The default value is https://.fhir.azurehealthcareapis.com

authority string
smartProxyEnabled boolean
audience str

The intended audience to receive authentication tokens for the service. The default value is https://.fhir.azurehealthcareapis.com

authority str
smart_proxy_enabled bool
audience String

The intended audience to receive authentication tokens for the service. The default value is https://.fhir.azurehealthcareapis.com

authority String
smartProxyEnabled Boolean

GetFhirServiceCor

AllowedHeaders List<string>

The set of headers to be allowed via CORS.

AllowedMethods List<string>

The methods to be allowed via CORS.

AllowedOrigins List<string>

The set of origins to be allowed via CORS.

CredentialsAllowed bool

Are credentials allowed via CORS?

MaxAgeInSeconds int

The max age to be allowed via CORS.

AllowedHeaders []string

The set of headers to be allowed via CORS.

AllowedMethods []string

The methods to be allowed via CORS.

AllowedOrigins []string

The set of origins to be allowed via CORS.

CredentialsAllowed bool

Are credentials allowed via CORS?

MaxAgeInSeconds int

The max age to be allowed via CORS.

allowedHeaders List<String>

The set of headers to be allowed via CORS.

allowedMethods List<String>

The methods to be allowed via CORS.

allowedOrigins List<String>

The set of origins to be allowed via CORS.

credentialsAllowed Boolean

Are credentials allowed via CORS?

maxAgeInSeconds Integer

The max age to be allowed via CORS.

allowedHeaders string[]

The set of headers to be allowed via CORS.

allowedMethods string[]

The methods to be allowed via CORS.

allowedOrigins string[]

The set of origins to be allowed via CORS.

credentialsAllowed boolean

Are credentials allowed via CORS?

maxAgeInSeconds number

The max age to be allowed via CORS.

allowed_headers Sequence[str]

The set of headers to be allowed via CORS.

allowed_methods Sequence[str]

The methods to be allowed via CORS.

allowed_origins Sequence[str]

The set of origins to be allowed via CORS.

credentials_allowed bool

Are credentials allowed via CORS?

max_age_in_seconds int

The max age to be allowed via CORS.

allowedHeaders List<String>

The set of headers to be allowed via CORS.

allowedMethods List<String>

The methods to be allowed via CORS.

allowedOrigins List<String>

The set of origins to be allowed via CORS.

credentialsAllowed Boolean

Are credentials allowed via CORS?

maxAgeInSeconds Number

The max age to be allowed via CORS.

GetFhirServiceIdentity

PrincipalId string

The Principal ID associated with this System Assigned Managed Service Identity.

TenantId string

The Tenant ID associated with this System Assigned Managed Service Identity.

Type string

The type of identity used for the Healthcare FHIR service.

PrincipalId string

The Principal ID associated with this System Assigned Managed Service Identity.

TenantId string

The Tenant ID associated with this System Assigned Managed Service Identity.

Type string

The type of identity used for the Healthcare FHIR service.

principalId String

The Principal ID associated with this System Assigned Managed Service Identity.

tenantId String

The Tenant ID associated with this System Assigned Managed Service Identity.

type String

The type of identity used for the Healthcare FHIR service.

principalId string

The Principal ID associated with this System Assigned Managed Service Identity.

tenantId string

The Tenant ID associated with this System Assigned Managed Service Identity.

type string

The type of identity used for the Healthcare FHIR service.

principal_id str

The Principal ID associated with this System Assigned Managed Service Identity.

tenant_id str

The Tenant ID associated with this System Assigned Managed Service Identity.

type str

The type of identity used for the Healthcare FHIR service.

principalId String

The Principal ID associated with this System Assigned Managed Service Identity.

tenantId String

The Tenant ID associated with this System Assigned Managed Service Identity.

type String

The type of identity used for the Healthcare FHIR service.

Package Details

Repository
https://github.com/pulumi/pulumi-azure
License
Apache-2.0
Notes

This Pulumi package is based on the azurerm Terraform Provider.