Show / Hide Table of Contents

Class Service

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" },
        },
    });
}

}
Inheritance
System.Object
Resource
CustomResource
Service
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Azure.Healthcare
Assembly: Pulumi.Azure.dll
Syntax
public class Service : CustomResource

Constructors

View Source

Service(String, ServiceArgs, CustomResourceOptions)

Create a Service resource with the given unique name, arguments, and options.

Declaration
public Service(string name, ServiceArgs args, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

ServiceArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

AccessPolicyObjectIds

Declaration
public Output<ImmutableArray<string>> AccessPolicyObjectIds { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<System.String>>
View Source

AuthenticationConfiguration

An authentication_configuration block as defined below.

Declaration
public Output<ServiceAuthenticationConfiguration> AuthenticationConfiguration { get; }
Property Value
Type Description
Output<ServiceAuthenticationConfiguration>
View Source

CorsConfiguration

A cors_configuration block as defined below.

Declaration
public Output<ServiceCorsConfiguration> CorsConfiguration { get; }
Property Value
Type Description
Output<ServiceCorsConfiguration>
View Source

CosmosdbThroughput

The provisioned throughput for the backing database. Range of 400-1000. Defaults to 400.

Declaration
public Output<int?> CosmosdbThroughput { get; }
Property Value
Type Description
Output<System.Nullable<System.Int32>>
View Source

Kind

The type of the service. Values at time of publication are: fhir, fhir-Stu3 and fhir-R4. Default value is fhir.

Declaration
public Output<string> Kind { get; }
Property Value
Type Description
Output<System.String>
View Source

Location

Specifies the supported Azure Region where the Service should be created.

Declaration
public Output<string> Location { get; }
Property Value
Type Description
Output<System.String>
View Source

Name

The name of the service instance. Used for service endpoint, must be unique within the audience.

Declaration
public Output<string> Name { get; }
Property Value
Type Description
Output<System.String>
View Source

ResourceGroupName

The name of the Resource Group in which to create the Service.

Declaration
public Output<string> ResourceGroupName { get; }
Property Value
Type Description
Output<System.String>
View Source

Tags

A mapping of tags to assign to the resource.

Declaration
public Output<ImmutableDictionary<string, string>> Tags { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.String>>

Methods

View Source

Get(String, Input<String>, ServiceState, CustomResourceOptions)

Get an existing Service resource's state with the given name, ID, and optional extra properties used to qualify the lookup.

Declaration
public static Service Get(string name, Input<string> id, ServiceState state = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resulting resource.

Input<System.String> id

The unique provider ID of the resource to lookup.

ServiceState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
Service
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.