Class FhirService


  • public class FhirService
    extends com.pulumi.resources.CustomResource
    The description of Fhir Service Azure REST API version: 2023-02-28. Prior API version in Azure Native 1.x: 2022-05-15. Other available API versions: 2023-09-06, 2023-11-01, 2023-12-01. ## Example Usage ### Create or update a Fhir Service ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.azurenative.healthcareapis.FhirService; import com.pulumi.azurenative.healthcareapis.FhirServiceArgs; 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 fhirService = new FhirService("fhirService", FhirServiceArgs.builder() .accessPolicies( Map.of("objectId", "c487e7d1-3210-41a3-8ccc-e9372b78da47"), Map.of("objectId", "5b307da8-43d4-492b-8b66-b0294ade872f")) .acrConfiguration(Map.of("loginServers", "test1.azurecr.io")) .authenticationConfiguration(Map.ofEntries( Map.entry("audience", "https://azurehealthcareapis.com"), Map.entry("authority", "https://login.microsoftonline.com/abfde7b2-df0f-47e6-aabf-2462b07508dc"), Map.entry("smartProxyEnabled", true) )) .corsConfiguration(Map.ofEntries( Map.entry("allowCredentials", false), Map.entry("headers", "*"), Map.entry("maxAge", 1440), Map.entry("methods", "DELETE", "GET", "OPTIONS", "PATCH", "POST", "PUT"), Map.entry("origins", "*") )) .exportConfiguration(Map.of("storageAccountName", "existingStorageAccount")) .fhirServiceName("fhirservice1") .identity(Map.of("type", "SystemAssigned")) .implementationGuidesConfiguration(Map.of("usCoreMissingData", false)) .importConfiguration(Map.ofEntries( Map.entry("enabled", false), Map.entry("initialImportMode", false), Map.entry("integrationDataStore", "existingStorageAccount") )) .kind("fhir-R4") .location("westus") .resourceGroupName("testRG") .tags(Map.ofEntries( Map.entry("additionalProp1", "string"), Map.entry("additionalProp2", "string"), Map.entry("additionalProp3", "string") )) .workspaceName("workspace1") .build()); } } ``` ## Import An existing resource can be imported using its type token, name, and identifier, e.g. ```sh $ pulumi import azure-native:healthcareapis:FhirService fhirservice1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/workspaces/{workspaceName}/fhirservices/{fhirServiceName} ```
    • Constructor Detail

      • FhirService

        public FhirService​(java.lang.String name)
        Parameters:
        name - The _unique_ name of the resulting resource.
      • FhirService

        public FhirService​(java.lang.String name,
                           FhirServiceArgs args)
        Parameters:
        name - The _unique_ name of the resulting resource.
        args - The arguments to use to populate this resource's properties.
      • FhirService

        public FhirService​(java.lang.String name,
                           FhirServiceArgs args,
                           @Nullable
                           com.pulumi.resources.CustomResourceOptions options)
        Parameters:
        name - The _unique_ name of the resulting resource.
        args - The arguments to use to populate this resource's properties.
        options - A bag of options that control this resource's behavior.
    • Method Detail

      • acrConfiguration

        public com.pulumi.core.Output<java.util.Optional<FhirServiceAcrConfigurationResponse>> acrConfiguration()
        Returns:
        Fhir Service Azure container registry configuration.
      • etag

        public com.pulumi.core.Output<java.util.Optional<java.lang.String>> etag()
        Returns:
        An etag associated with the resource, used for optimistic concurrency when editing it.
      • eventState

        public com.pulumi.core.Output<java.lang.String> eventState()
        Returns:
        Fhir Service event support status.
      • identity

        public com.pulumi.core.Output<java.util.Optional<ServiceManagedIdentityResponseIdentity>> identity()
        Returns:
        Setting indicating whether the service has a managed identity associated with it.
      • implementationGuidesConfiguration

        public com.pulumi.core.Output<java.util.Optional<ImplementationGuidesConfigurationResponse>> implementationGuidesConfiguration()
        Returns:
        Implementation Guides configuration.
      • kind

        public com.pulumi.core.Output<java.util.Optional<java.lang.String>> kind()
        Returns:
        The kind of the service.
      • location

        public com.pulumi.core.Output<java.util.Optional<java.lang.String>> location()
        Returns:
        The resource location.
      • name

        public com.pulumi.core.Output<java.lang.String> name()
        Returns:
        The resource name.
      • privateEndpointConnections

        public com.pulumi.core.Output<java.util.List<PrivateEndpointConnectionResponse>> privateEndpointConnections()
        Returns:
        The list of private endpoint connections that are set up for this resource.
      • provisioningState

        public com.pulumi.core.Output<java.lang.String> provisioningState()
        Returns:
        The provisioning state.
      • publicNetworkAccess

        public com.pulumi.core.Output<java.lang.String> publicNetworkAccess()
        Returns:
        Control permission for data plane traffic coming from public networks while private endpoint is enabled.
      • resourceVersionPolicyConfiguration

        public com.pulumi.core.Output<java.util.Optional<ResourceVersionPolicyConfigurationResponse>> resourceVersionPolicyConfiguration()
        Returns:
        Determines tracking of history for resources.
      • systemData

        public com.pulumi.core.Output<SystemDataResponse> systemData()
        Returns:
        Metadata pertaining to creation and last modification of the resource.
      • tags

        public com.pulumi.core.Output<java.util.Optional<java.util.Map<java.lang.String,​java.lang.String>>> tags()
        Returns:
        Resource tags.
      • type

        public com.pulumi.core.Output<java.lang.String> type()
        Returns:
        The resource type.
      • get

        public static FhirService get​(java.lang.String name,
                                      com.pulumi.core.Output<java.lang.String> id,
                                      @Nullable
                                      com.pulumi.resources.CustomResourceOptions options)
        Get an existing Host resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
        Parameters:
        name - The _unique_ name of the resulting resource.
        id - The _unique_ provider ID of the resource to lookup.
        options - Optional settings to control the behavior of the CustomResource.