1. Packages
  2. Azure Classic
  3. API Docs
  4. healthcare
  5. Service

We recommend using Azure Native.

Viewing docs for Azure v4.42.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
azure logo

We recommend using Azure Native.

Viewing docs for Azure v4.42.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi

    Manages a Healthcare Service.

    Example Usage

    using Pulumi;
    using Azure = Pulumi.Azure;
    
    class MyStack : Stack
    {
        public MyStack()
        {
            var example = new Azure.Healthcare.Service("example", new Azure.Healthcare.ServiceArgs
            {
                AccessPolicyObjectIds = 
                {
                    "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
                },
                AuthenticationConfiguration = new Azure.Healthcare.Inputs.ServiceAuthenticationConfigurationArgs
                {
                    Audience = "https://azurehealthcareapis.com/",
                    Authority = "https://login.microsoftonline.com/$%7Bdata.azurerm_client_config.current.tenant_id%7D",
                    SmartProxyEnabled = true,
                },
                CorsConfiguration = new Azure.Healthcare.Inputs.ServiceCorsConfigurationArgs
                {
                    AllowCredentials = true,
                    AllowedHeaders = 
                    {
                        "x-tempo-*",
                        "x-tempo2-*",
                    },
                    AllowedMethods = 
                    {
                        "GET",
                        "PUT",
                    },
                    AllowedOrigins = 
                    {
                        "http://www.example.com",
                        "http://www.example2.com",
                    },
                    MaxAgeInSeconds = 500,
                },
                CosmosdbThroughput = 2000,
                Kind = "fhir-R4",
                Location = "westus2",
                ResourceGroupName = "sample-resource-group",
                Tags = 
                {
                    { "environment", "testenv" },
                    { "purpose", "AcceptanceTests" },
                },
            });
        }
    
    }
    
    package main
    
    import (
    	"fmt"
    
    	"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/healthcare"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := healthcare.NewService(ctx, "example", &healthcare.ServiceArgs{
    			AccessPolicyObjectIds: pulumi.StringArray{
    				pulumi.String("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"),
    			},
    			AuthenticationConfiguration: &healthcare.ServiceAuthenticationConfigurationArgs{
    				Audience:          pulumi.String("https://azurehealthcareapis.com/"),
    				Authority:         pulumi.String(fmt.Sprintf("%v%v%v%v%v%v", "https://login.microsoftonline.com/", "$", "%", "7Bdata.azurerm_client_config.current.tenant_id", "%", "7D")),
    				SmartProxyEnabled: pulumi.Bool(true),
    			},
    			CorsConfiguration: &healthcare.ServiceCorsConfigurationArgs{
    				AllowCredentials: pulumi.Bool(true),
    				AllowedHeaders: pulumi.StringArray{
    					pulumi.String("x-tempo-*"),
    					pulumi.String("x-tempo2-*"),
    				},
    				AllowedMethods: pulumi.StringArray{
    					pulumi.String("GET"),
    					pulumi.String("PUT"),
    				},
    				AllowedOrigins: pulumi.StringArray{
    					pulumi.String("http://www.example.com"),
    					pulumi.String("http://www.example2.com"),
    				},
    				MaxAgeInSeconds: pulumi.Int(500),
    			},
    			CosmosdbThroughput: pulumi.Int(2000),
    			Kind:               pulumi.String("fhir-R4"),
    			Location:           pulumi.String("westus2"),
    			ResourceGroupName:  pulumi.String("sample-resource-group"),
    			Tags: pulumi.StringMap{
    				"environment": pulumi.String("testenv"),
    				"purpose":     pulumi.String("AcceptanceTests"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    

    Example coming soon!

    import * as pulumi from "@pulumi/pulumi";
    import * as azure from "@pulumi/azure";
    
    const example = new azure.healthcare.Service("example", {
        accessPolicyObjectIds: ["xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"],
        authenticationConfiguration: {
            audience: "https://azurehealthcareapis.com/",
            authority: "https://login.microsoftonline.com/$%7Bdata.azurerm_client_config.current.tenant_id%7D",
            smartProxyEnabled: true,
        },
        corsConfiguration: {
            allowCredentials: true,
            allowedHeaders: [
                "x-tempo-*",
                "x-tempo2-*",
            ],
            allowedMethods: [
                "GET",
                "PUT",
            ],
            allowedOrigins: [
                "http://www.example.com",
                "http://www.example2.com",
            ],
            maxAgeInSeconds: 500,
        },
        cosmosdbThroughput: 2000,
        kind: "fhir-R4",
        location: "westus2",
        resourceGroupName: "sample-resource-group",
        tags: {
            environment: "testenv",
            purpose: "AcceptanceTests",
        },
    });
    
    import pulumi
    import pulumi_azure as azure
    
    example = azure.healthcare.Service("example",
        access_policy_object_ids=["xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"],
        authentication_configuration=azure.healthcare.ServiceAuthenticationConfigurationArgs(
            audience="https://azurehealthcareapis.com/",
            authority="https://login.microsoftonline.com/$%7Bdata.azurerm_client_config.current.tenant_id%7D",
            smart_proxy_enabled=True,
        ),
        cors_configuration=azure.healthcare.ServiceCorsConfigurationArgs(
            allow_credentials=True,
            allowed_headers=[
                "x-tempo-*",
                "x-tempo2-*",
            ],
            allowed_methods=[
                "GET",
                "PUT",
            ],
            allowed_origins=[
                "http://www.example.com",
                "http://www.example2.com",
            ],
            max_age_in_seconds=500,
        ),
        cosmosdb_throughput=2000,
        kind="fhir-R4",
        location="westus2",
        resource_group_name="sample-resource-group",
        tags={
            "environment": "testenv",
            "purpose": "AcceptanceTests",
        })
    

    Example coming soon!

    Create Service Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Service(name: string, args: ServiceArgs, opts?: CustomResourceOptions);
    @overload
    def Service(resource_name: str,
                args: ServiceArgs,
                opts: Optional[ResourceOptions] = None)
    
    @overload
    def Service(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                resource_group_name: Optional[str] = None,
                access_policy_object_ids: Optional[Sequence[str]] = None,
                authentication_configuration: Optional[ServiceAuthenticationConfigurationArgs] = None,
                cors_configuration: Optional[ServiceCorsConfigurationArgs] = None,
                cosmosdb_key_vault_key_versionless_id: Optional[str] = None,
                cosmosdb_throughput: Optional[int] = None,
                kind: Optional[str] = None,
                location: Optional[str] = None,
                name: Optional[str] = None,
                public_network_access_enabled: Optional[bool] = None,
                tags: Optional[Mapping[str, str]] = None)
    func NewService(ctx *Context, name string, args ServiceArgs, opts ...ResourceOption) (*Service, error)
    public Service(string name, ServiceArgs args, CustomResourceOptions? opts = null)
    public Service(String name, ServiceArgs args)
    public Service(String name, ServiceArgs args, CustomResourceOptions options)
    
    type: azure:healthcare:Service
    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 ServiceArgs
    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 ServiceArgs
    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 ServiceArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ServiceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ServiceArgs
    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 exampleserviceResourceResourceFromHealthcareservice = new Azure.Healthcare.Service("exampleserviceResourceResourceFromHealthcareservice", new()
    {
        ResourceGroupName = "string",
        AccessPolicyObjectIds = new[]
        {
            "string",
        },
        AuthenticationConfiguration = new Azure.Healthcare.Inputs.ServiceAuthenticationConfigurationArgs
        {
            Audience = "string",
            Authority = "string",
            SmartProxyEnabled = false,
        },
        CorsConfiguration = new Azure.Healthcare.Inputs.ServiceCorsConfigurationArgs
        {
            AllowCredentials = false,
            AllowedHeaders = new[]
            {
                "string",
            },
            AllowedMethods = new[]
            {
                "string",
            },
            AllowedOrigins = new[]
            {
                "string",
            },
            MaxAgeInSeconds = 0,
        },
        CosmosdbKeyVaultKeyVersionlessId = "string",
        CosmosdbThroughput = 0,
        Kind = "string",
        Location = "string",
        Name = "string",
        PublicNetworkAccessEnabled = false,
        Tags = 
        {
            { "string", "string" },
        },
    });
    
    example, err := healthcare.NewService(ctx, "exampleserviceResourceResourceFromHealthcareservice", &healthcare.ServiceArgs{
    	ResourceGroupName: pulumi.String("string"),
    	AccessPolicyObjectIds: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	AuthenticationConfiguration: &healthcare.ServiceAuthenticationConfigurationArgs{
    		Audience:          pulumi.String("string"),
    		Authority:         pulumi.String("string"),
    		SmartProxyEnabled: pulumi.Bool(false),
    	},
    	CorsConfiguration: &healthcare.ServiceCorsConfigurationArgs{
    		AllowCredentials: pulumi.Bool(false),
    		AllowedHeaders: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		AllowedMethods: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		AllowedOrigins: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		MaxAgeInSeconds: pulumi.Int(0),
    	},
    	CosmosdbKeyVaultKeyVersionlessId: pulumi.String("string"),
    	CosmosdbThroughput:               pulumi.Int(0),
    	Kind:                             pulumi.String("string"),
    	Location:                         pulumi.String("string"),
    	Name:                             pulumi.String("string"),
    	PublicNetworkAccessEnabled:       pulumi.Bool(false),
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    })
    
    var exampleserviceResourceResourceFromHealthcareservice = new com.pulumi.azure.healthcare.Service("exampleserviceResourceResourceFromHealthcareservice", com.pulumi.azure.healthcare.ServiceArgs.builder()
        .resourceGroupName("string")
        .accessPolicyObjectIds("string")
        .authenticationConfiguration(ServiceAuthenticationConfigurationArgs.builder()
            .audience("string")
            .authority("string")
            .smartProxyEnabled(false)
            .build())
        .corsConfiguration(ServiceCorsConfigurationArgs.builder()
            .allowCredentials(false)
            .allowedHeaders("string")
            .allowedMethods("string")
            .allowedOrigins("string")
            .maxAgeInSeconds(0)
            .build())
        .cosmosdbKeyVaultKeyVersionlessId("string")
        .cosmosdbThroughput(0)
        .kind("string")
        .location("string")
        .name("string")
        .publicNetworkAccessEnabled(false)
        .tags(Map.of("string", "string"))
        .build());
    
    exampleservice_resource_resource_from_healthcareservice = azure.healthcare.Service("exampleserviceResourceResourceFromHealthcareservice",
        resource_group_name="string",
        access_policy_object_ids=["string"],
        authentication_configuration={
            "audience": "string",
            "authority": "string",
            "smart_proxy_enabled": False,
        },
        cors_configuration={
            "allow_credentials": False,
            "allowed_headers": ["string"],
            "allowed_methods": ["string"],
            "allowed_origins": ["string"],
            "max_age_in_seconds": 0,
        },
        cosmosdb_key_vault_key_versionless_id="string",
        cosmosdb_throughput=0,
        kind="string",
        location="string",
        name="string",
        public_network_access_enabled=False,
        tags={
            "string": "string",
        })
    
    const exampleserviceResourceResourceFromHealthcareservice = new azure.healthcare.Service("exampleserviceResourceResourceFromHealthcareservice", {
        resourceGroupName: "string",
        accessPolicyObjectIds: ["string"],
        authenticationConfiguration: {
            audience: "string",
            authority: "string",
            smartProxyEnabled: false,
        },
        corsConfiguration: {
            allowCredentials: false,
            allowedHeaders: ["string"],
            allowedMethods: ["string"],
            allowedOrigins: ["string"],
            maxAgeInSeconds: 0,
        },
        cosmosdbKeyVaultKeyVersionlessId: "string",
        cosmosdbThroughput: 0,
        kind: "string",
        location: "string",
        name: "string",
        publicNetworkAccessEnabled: false,
        tags: {
            string: "string",
        },
    });
    
    type: azure:healthcare:Service
    properties:
        accessPolicyObjectIds:
            - string
        authenticationConfiguration:
            audience: string
            authority: string
            smartProxyEnabled: false
        corsConfiguration:
            allowCredentials: false
            allowedHeaders:
                - string
            allowedMethods:
                - string
            allowedOrigins:
                - string
            maxAgeInSeconds: 0
        cosmosdbKeyVaultKeyVersionlessId: string
        cosmosdbThroughput: 0
        kind: string
        location: string
        name: string
        publicNetworkAccessEnabled: false
        resourceGroupName: string
        tags:
            string: string
    

    Service Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The Service resource accepts the following input properties:

    ResourceGroupName string
    The name of the Resource Group in which to create the Service.
    AccessPolicyObjectIds List<string>
    AuthenticationConfiguration ServiceAuthenticationConfiguration
    An authentication_configuration block as defined below.
    CorsConfiguration ServiceCorsConfiguration
    A cors_configuration block as defined below.
    CosmosdbKeyVaultKeyVersionlessId string
    A versionless Key Vault Key ID for CMK encryption of the backing database. Changing this forces a new resource to be created.
    CosmosdbThroughput int
    The provisioned throughput for the backing database. Range of 400-10000. Defaults to 400.
    Kind string
    The type of the service. Values at time of publication are: fhir, fhir-Stu3 and fhir-R4. Default value is fhir.
    Location string
    Specifies the supported Azure Region where the Service should be created.
    Name string
    The name of the service instance. Used for service endpoint, must be unique within the audience.
    PublicNetworkAccessEnabled bool
    Whether public network access is enabled or disabled for this service instance.
    Tags Dictionary<string, string>
    A mapping of tags to assign to the resource.
    ResourceGroupName string
    The name of the Resource Group in which to create the Service.
    AccessPolicyObjectIds []string
    AuthenticationConfiguration ServiceAuthenticationConfigurationArgs
    An authentication_configuration block as defined below.
    CorsConfiguration ServiceCorsConfigurationArgs
    A cors_configuration block as defined below.
    CosmosdbKeyVaultKeyVersionlessId string
    A versionless Key Vault Key ID for CMK encryption of the backing database. Changing this forces a new resource to be created.
    CosmosdbThroughput int
    The provisioned throughput for the backing database. Range of 400-10000. Defaults to 400.
    Kind string
    The type of the service. Values at time of publication are: fhir, fhir-Stu3 and fhir-R4. Default value is fhir.
    Location string
    Specifies the supported Azure Region where the Service should be created.
    Name string
    The name of the service instance. Used for service endpoint, must be unique within the audience.
    PublicNetworkAccessEnabled bool
    Whether public network access is enabled or disabled for this service instance.
    Tags map[string]string
    A mapping of tags to assign to the resource.
    resourceGroupName String
    The name of the Resource Group in which to create the Service.
    accessPolicyObjectIds List<String>
    authenticationConfiguration ServiceAuthenticationConfiguration
    An authentication_configuration block as defined below.
    corsConfiguration ServiceCorsConfiguration
    A cors_configuration block as defined below.
    cosmosdbKeyVaultKeyVersionlessId String
    A versionless Key Vault Key ID for CMK encryption of the backing database. Changing this forces a new resource to be created.
    cosmosdbThroughput Integer
    The provisioned throughput for the backing database. Range of 400-10000. Defaults to 400.
    kind String
    The type of the service. Values at time of publication are: fhir, fhir-Stu3 and fhir-R4. Default value is fhir.
    location String
    Specifies the supported Azure Region where the Service should be created.
    name String
    The name of the service instance. Used for service endpoint, must be unique within the audience.
    publicNetworkAccessEnabled Boolean
    Whether public network access is enabled or disabled for this service instance.
    tags Map<String,String>
    A mapping of tags to assign to the resource.
    resourceGroupName string
    The name of the Resource Group in which to create the Service.
    accessPolicyObjectIds string[]
    authenticationConfiguration ServiceAuthenticationConfiguration
    An authentication_configuration block as defined below.
    corsConfiguration ServiceCorsConfiguration
    A cors_configuration block as defined below.
    cosmosdbKeyVaultKeyVersionlessId string
    A versionless Key Vault Key ID for CMK encryption of the backing database. Changing this forces a new resource to be created.
    cosmosdbThroughput number
    The provisioned throughput for the backing database. Range of 400-10000. Defaults to 400.
    kind string
    The type of the service. Values at time of publication are: fhir, fhir-Stu3 and fhir-R4. Default value is fhir.
    location string
    Specifies the supported Azure Region where the Service should be created.
    name string
    The name of the service instance. Used for service endpoint, must be unique within the audience.
    publicNetworkAccessEnabled boolean
    Whether public network access is enabled or disabled for this service instance.
    tags {[key: string]: string}
    A mapping of tags to assign to the resource.
    resource_group_name str
    The name of the Resource Group in which to create the Service.
    access_policy_object_ids Sequence[str]
    authentication_configuration ServiceAuthenticationConfigurationArgs
    An authentication_configuration block as defined below.
    cors_configuration ServiceCorsConfigurationArgs
    A cors_configuration block as defined below.
    cosmosdb_key_vault_key_versionless_id str
    A versionless Key Vault Key ID for CMK encryption of the backing database. Changing this forces a new resource to be created.
    cosmosdb_throughput int
    The provisioned throughput for the backing database. Range of 400-10000. Defaults to 400.
    kind str
    The type of the service. Values at time of publication are: fhir, fhir-Stu3 and fhir-R4. Default value is fhir.
    location str
    Specifies the supported Azure Region where the Service should be created.
    name str
    The name of the service instance. Used for service endpoint, must be unique within the audience.
    public_network_access_enabled bool
    Whether public network access is enabled or disabled for this service instance.
    tags Mapping[str, str]
    A mapping of tags to assign to the resource.
    resourceGroupName String
    The name of the Resource Group in which to create the Service.
    accessPolicyObjectIds List<String>
    authenticationConfiguration Property Map
    An authentication_configuration block as defined below.
    corsConfiguration Property Map
    A cors_configuration block as defined below.
    cosmosdbKeyVaultKeyVersionlessId String
    A versionless Key Vault Key ID for CMK encryption of the backing database. Changing this forces a new resource to be created.
    cosmosdbThroughput Number
    The provisioned throughput for the backing database. Range of 400-10000. Defaults to 400.
    kind String
    The type of the service. Values at time of publication are: fhir, fhir-Stu3 and fhir-R4. Default value is fhir.
    location String
    Specifies the supported Azure Region where the Service should be created.
    name String
    The name of the service instance. Used for service endpoint, must be unique within the audience.
    publicNetworkAccessEnabled Boolean
    Whether public network access is enabled or disabled for this service instance.
    tags Map<String>
    A mapping of tags to assign to the resource.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Service resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing Service Resource

    Get an existing Service 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?: ServiceState, opts?: CustomResourceOptions): Service
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            access_policy_object_ids: Optional[Sequence[str]] = None,
            authentication_configuration: Optional[ServiceAuthenticationConfigurationArgs] = None,
            cors_configuration: Optional[ServiceCorsConfigurationArgs] = None,
            cosmosdb_key_vault_key_versionless_id: Optional[str] = None,
            cosmosdb_throughput: Optional[int] = None,
            kind: Optional[str] = None,
            location: Optional[str] = None,
            name: Optional[str] = None,
            public_network_access_enabled: Optional[bool] = None,
            resource_group_name: Optional[str] = None,
            tags: Optional[Mapping[str, str]] = None) -> Service
    func GetService(ctx *Context, name string, id IDInput, state *ServiceState, opts ...ResourceOption) (*Service, error)
    public static Service Get(string name, Input<string> id, ServiceState? state, CustomResourceOptions? opts = null)
    public static Service get(String name, Output<String> id, ServiceState state, CustomResourceOptions options)
    resources:  _:    type: azure:healthcare:Service    get:      id: ${id}
    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.
    The following state arguments are supported:
    AccessPolicyObjectIds List<string>
    AuthenticationConfiguration ServiceAuthenticationConfiguration
    An authentication_configuration block as defined below.
    CorsConfiguration ServiceCorsConfiguration
    A cors_configuration block as defined below.
    CosmosdbKeyVaultKeyVersionlessId string
    A versionless Key Vault Key ID for CMK encryption of the backing database. Changing this forces a new resource to be created.
    CosmosdbThroughput int
    The provisioned throughput for the backing database. Range of 400-10000. Defaults to 400.
    Kind string
    The type of the service. Values at time of publication are: fhir, fhir-Stu3 and fhir-R4. Default value is fhir.
    Location string
    Specifies the supported Azure Region where the Service should be created.
    Name string
    The name of the service instance. Used for service endpoint, must be unique within the audience.
    PublicNetworkAccessEnabled bool
    Whether public network access is enabled or disabled for this service instance.
    ResourceGroupName string
    The name of the Resource Group in which to create the Service.
    Tags Dictionary<string, string>
    A mapping of tags to assign to the resource.
    AccessPolicyObjectIds []string
    AuthenticationConfiguration ServiceAuthenticationConfigurationArgs
    An authentication_configuration block as defined below.
    CorsConfiguration ServiceCorsConfigurationArgs
    A cors_configuration block as defined below.
    CosmosdbKeyVaultKeyVersionlessId string
    A versionless Key Vault Key ID for CMK encryption of the backing database. Changing this forces a new resource to be created.
    CosmosdbThroughput int
    The provisioned throughput for the backing database. Range of 400-10000. Defaults to 400.
    Kind string
    The type of the service. Values at time of publication are: fhir, fhir-Stu3 and fhir-R4. Default value is fhir.
    Location string
    Specifies the supported Azure Region where the Service should be created.
    Name string
    The name of the service instance. Used for service endpoint, must be unique within the audience.
    PublicNetworkAccessEnabled bool
    Whether public network access is enabled or disabled for this service instance.
    ResourceGroupName string
    The name of the Resource Group in which to create the Service.
    Tags map[string]string
    A mapping of tags to assign to the resource.
    accessPolicyObjectIds List<String>
    authenticationConfiguration ServiceAuthenticationConfiguration
    An authentication_configuration block as defined below.
    corsConfiguration ServiceCorsConfiguration
    A cors_configuration block as defined below.
    cosmosdbKeyVaultKeyVersionlessId String
    A versionless Key Vault Key ID for CMK encryption of the backing database. Changing this forces a new resource to be created.
    cosmosdbThroughput Integer
    The provisioned throughput for the backing database. Range of 400-10000. Defaults to 400.
    kind String
    The type of the service. Values at time of publication are: fhir, fhir-Stu3 and fhir-R4. Default value is fhir.
    location String
    Specifies the supported Azure Region where the Service should be created.
    name String
    The name of the service instance. Used for service endpoint, must be unique within the audience.
    publicNetworkAccessEnabled Boolean
    Whether public network access is enabled or disabled for this service instance.
    resourceGroupName String
    The name of the Resource Group in which to create the Service.
    tags Map<String,String>
    A mapping of tags to assign to the resource.
    accessPolicyObjectIds string[]
    authenticationConfiguration ServiceAuthenticationConfiguration
    An authentication_configuration block as defined below.
    corsConfiguration ServiceCorsConfiguration
    A cors_configuration block as defined below.
    cosmosdbKeyVaultKeyVersionlessId string
    A versionless Key Vault Key ID for CMK encryption of the backing database. Changing this forces a new resource to be created.
    cosmosdbThroughput number
    The provisioned throughput for the backing database. Range of 400-10000. Defaults to 400.
    kind string
    The type of the service. Values at time of publication are: fhir, fhir-Stu3 and fhir-R4. Default value is fhir.
    location string
    Specifies the supported Azure Region where the Service should be created.
    name string
    The name of the service instance. Used for service endpoint, must be unique within the audience.
    publicNetworkAccessEnabled boolean
    Whether public network access is enabled or disabled for this service instance.
    resourceGroupName string
    The name of the Resource Group in which to create the Service.
    tags {[key: string]: string}
    A mapping of tags to assign to the resource.
    access_policy_object_ids Sequence[str]
    authentication_configuration ServiceAuthenticationConfigurationArgs
    An authentication_configuration block as defined below.
    cors_configuration ServiceCorsConfigurationArgs
    A cors_configuration block as defined below.
    cosmosdb_key_vault_key_versionless_id str
    A versionless Key Vault Key ID for CMK encryption of the backing database. Changing this forces a new resource to be created.
    cosmosdb_throughput int
    The provisioned throughput for the backing database. Range of 400-10000. Defaults to 400.
    kind str
    The type of the service. Values at time of publication are: fhir, fhir-Stu3 and fhir-R4. Default value is fhir.
    location str
    Specifies the supported Azure Region where the Service should be created.
    name str
    The name of the service instance. Used for service endpoint, must be unique within the audience.
    public_network_access_enabled bool
    Whether public network access is enabled or disabled for this service instance.
    resource_group_name str
    The name of the Resource Group in which to create the Service.
    tags Mapping[str, str]
    A mapping of tags to assign to the resource.
    accessPolicyObjectIds List<String>
    authenticationConfiguration Property Map
    An authentication_configuration block as defined below.
    corsConfiguration Property Map
    A cors_configuration block as defined below.
    cosmosdbKeyVaultKeyVersionlessId String
    A versionless Key Vault Key ID for CMK encryption of the backing database. Changing this forces a new resource to be created.
    cosmosdbThroughput Number
    The provisioned throughput for the backing database. Range of 400-10000. Defaults to 400.
    kind String
    The type of the service. Values at time of publication are: fhir, fhir-Stu3 and fhir-R4. Default value is fhir.
    location String
    Specifies the supported Azure Region where the Service should be created.
    name String
    The name of the service instance. Used for service endpoint, must be unique within the audience.
    publicNetworkAccessEnabled Boolean
    Whether public network access is enabled or disabled for this service instance.
    resourceGroupName String
    The name of the Resource Group in which to create the Service.
    tags Map<String>
    A mapping of tags to assign to the resource.

    Supporting Types

    ServiceAuthenticationConfiguration, ServiceAuthenticationConfigurationArgs

    Audience string
    The intended audience to receive authentication tokens for the service. The default value is https://azurehealthcareapis.com
    Authority string
    The Azure Active Directory (tenant) that serves as the authentication authority to access the service. The default authority is the Directory defined in the authentication scheme in use when running this provider. Authority must be registered to Azure AD and in the following format: https://{Azure-AD-endpoint}/{tenant-id}.
    SmartProxyEnabled bool
    Enables the 'SMART on FHIR' option for mobile and web implementations.
    Audience string
    The intended audience to receive authentication tokens for the service. The default value is https://azurehealthcareapis.com
    Authority string
    The Azure Active Directory (tenant) that serves as the authentication authority to access the service. The default authority is the Directory defined in the authentication scheme in use when running this provider. Authority must be registered to Azure AD and in the following format: https://{Azure-AD-endpoint}/{tenant-id}.
    SmartProxyEnabled bool
    Enables the 'SMART on FHIR' option for mobile and web implementations.
    audience String
    The intended audience to receive authentication tokens for the service. The default value is https://azurehealthcareapis.com
    authority String
    The Azure Active Directory (tenant) that serves as the authentication authority to access the service. The default authority is the Directory defined in the authentication scheme in use when running this provider. Authority must be registered to Azure AD and in the following format: https://{Azure-AD-endpoint}/{tenant-id}.
    smartProxyEnabled Boolean
    Enables the 'SMART on FHIR' option for mobile and web implementations.
    audience string
    The intended audience to receive authentication tokens for the service. The default value is https://azurehealthcareapis.com
    authority string
    The Azure Active Directory (tenant) that serves as the authentication authority to access the service. The default authority is the Directory defined in the authentication scheme in use when running this provider. Authority must be registered to Azure AD and in the following format: https://{Azure-AD-endpoint}/{tenant-id}.
    smartProxyEnabled boolean
    Enables the 'SMART on FHIR' option for mobile and web implementations.
    audience str
    The intended audience to receive authentication tokens for the service. The default value is https://azurehealthcareapis.com
    authority str
    The Azure Active Directory (tenant) that serves as the authentication authority to access the service. The default authority is the Directory defined in the authentication scheme in use when running this provider. Authority must be registered to Azure AD and in the following format: https://{Azure-AD-endpoint}/{tenant-id}.
    smart_proxy_enabled bool
    Enables the 'SMART on FHIR' option for mobile and web implementations.
    audience String
    The intended audience to receive authentication tokens for the service. The default value is https://azurehealthcareapis.com
    authority String
    The Azure Active Directory (tenant) that serves as the authentication authority to access the service. The default authority is the Directory defined in the authentication scheme in use when running this provider. Authority must be registered to Azure AD and in the following format: https://{Azure-AD-endpoint}/{tenant-id}.
    smartProxyEnabled Boolean
    Enables the 'SMART on FHIR' option for mobile and web implementations.

    ServiceCorsConfiguration, ServiceCorsConfigurationArgs

    AllowCredentials bool
    If credentials are allowed via CORS.
    AllowedHeaders List<string>
    A set of headers to be allowed via CORS.
    AllowedMethods List<string>
    The methods to be allowed via CORS.
    AllowedOrigins List<string>
    A set of origins to be allowed via CORS.
    MaxAgeInSeconds int
    The max age to be allowed via CORS.
    AllowCredentials bool
    If credentials are allowed via CORS.
    AllowedHeaders []string
    A set of headers to be allowed via CORS.
    AllowedMethods []string
    The methods to be allowed via CORS.
    AllowedOrigins []string
    A set of origins to be allowed via CORS.
    MaxAgeInSeconds int
    The max age to be allowed via CORS.
    allowCredentials Boolean
    If credentials are allowed via CORS.
    allowedHeaders List<String>
    A set of headers to be allowed via CORS.
    allowedMethods List<String>
    The methods to be allowed via CORS.
    allowedOrigins List<String>
    A set of origins to be allowed via CORS.
    maxAgeInSeconds Integer
    The max age to be allowed via CORS.
    allowCredentials boolean
    If credentials are allowed via CORS.
    allowedHeaders string[]
    A set of headers to be allowed via CORS.
    allowedMethods string[]
    The methods to be allowed via CORS.
    allowedOrigins string[]
    A set of origins to be allowed via CORS.
    maxAgeInSeconds number
    The max age to be allowed via CORS.
    allow_credentials bool
    If credentials are 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.
    allowed_origins Sequence[str]
    A set of origins to be allowed via CORS.
    max_age_in_seconds int
    The max age to be allowed via CORS.
    allowCredentials Boolean
    If credentials are allowed via CORS.
    allowedHeaders List<String>
    A set of headers to be allowed via CORS.
    allowedMethods List<String>
    The methods to be allowed via CORS.
    allowedOrigins List<String>
    A set of origins to be allowed via CORS.
    maxAgeInSeconds Number
    The max age to be allowed via CORS.

    Import

    Healthcare Service can be imported using the resourceid, e.g.

     $ pulumi import azure:healthcare/service:Service example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resource_group/providers/Microsoft.HealthcareApis/services/service_name
    

    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.
    azure logo

    We recommend using Azure Native.

    Viewing docs for Azure v4.42.0 (Older version)
    published on Monday, Mar 9, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.