All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.healthcareapis.AnalyticsConnector Maven / Gradle / Ivy

There is a newer version: 2.82.0
Show newest version
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.azurenative.healthcareapis;

import com.pulumi.azurenative.Utilities;
import com.pulumi.azurenative.healthcareapis.AnalyticsConnectorArgs;
import com.pulumi.azurenative.healthcareapis.outputs.AnalyticsConnectorDataLakeDataDestinationResponse;
import com.pulumi.azurenative.healthcareapis.outputs.AnalyticsConnectorFhirServiceDataSourceResponse;
import com.pulumi.azurenative.healthcareapis.outputs.AnalyticsConnectorFhirToParquetMappingResponse;
import com.pulumi.azurenative.healthcareapis.outputs.ServiceManagedIdentityResponseIdentity;
import com.pulumi.azurenative.healthcareapis.outputs.SystemDataResponse;
import com.pulumi.core.Alias;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Export;
import com.pulumi.core.annotations.ResourceType;
import com.pulumi.core.internal.Codegen;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Optional;
import javax.annotation.Nullable;

/**
 * Analytics Connector definition.
 * Azure REST API version: 2022-10-01-preview.
 * 
 * ## Example Usage
 * ### Create or update a Analytics Connectors Service
 * 
 * 
 * {@code
 * package generated_program;
 * 
 * import com.pulumi.Context;
 * import com.pulumi.Pulumi;
 * import com.pulumi.core.Output;
 * import com.pulumi.azurenative.healthcareapis.AnalyticsConnector;
 * import com.pulumi.azurenative.healthcareapis.AnalyticsConnectorArgs;
 * import com.pulumi.azurenative.healthcareapis.inputs.AnalyticsConnectorDataLakeDataDestinationArgs;
 * import com.pulumi.azurenative.healthcareapis.inputs.AnalyticsConnectorFhirToParquetMappingArgs;
 * import com.pulumi.azurenative.healthcareapis.inputs.AnalyticsConnectorFhirServiceDataSourceArgs;
 * 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 }{{@code
 *     public static void main(String[] args) }{{@code
 *         Pulumi.run(App::stack);
 *     }}{@code
 * 
 *     public static void stack(Context ctx) }{{@code
 *         var analyticsConnector = new AnalyticsConnector("analyticsConnector", AnalyticsConnectorArgs.builder()
 *             .analyticsConnectorName("exampleconnector")
 *             .dataDestinationConfiguration(AnalyticsConnectorDataLakeDataDestinationArgs.builder()
 *                 .dataLakeName("exampledatalake")
 *                 .type("datalake")
 *                 .build())
 *             .dataMappingConfiguration(AnalyticsConnectorFhirToParquetMappingArgs.builder()
 *                 .extensionSchemaReference("acrexample.azurecr.io/blah}{@literal @}{@code sha256aaa/Extension")
 *                 .filterConfigurationReference("acrexample.azurecr.io/blah}{@literal @}{@code sha256xxx")
 *                 .type("fhirToParquet")
 *                 .build())
 *             .dataSourceConfiguration(AnalyticsConnectorFhirServiceDataSourceArgs.builder()
 *                 .kind("R4")
 *                 .type("fhirservice")
 *                 .url("https://workspace-examplefhir.fhir.azurehealthcareapis.com")
 *                 .build())
 *             .location("westus")
 *             .resourceGroupName("testRG")
 *             .workspaceName("workspace1")
 *             .build());
 * 
 *     }}{@code
 * }}{@code
 * 
 * }
 * 
* * ## Import * * An existing resource can be imported using its type token, name, and identifier, e.g. * * ```sh * $ pulumi import azure-native:healthcareapis:AnalyticsConnector exampleconnector /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/workspaces/{workspaceName}/analyticsconnectors/{analyticsConnectorName} * ``` * */ @ResourceType(type="azure-native:healthcareapis:AnalyticsConnector") public class AnalyticsConnector extends com.pulumi.resources.CustomResource { /** * Data destination configuration for Analytics Connector. * */ @Export(name="dataDestinationConfiguration", refs={AnalyticsConnectorDataLakeDataDestinationResponse.class}, tree="[0]") private Output dataDestinationConfiguration; /** * @return Data destination configuration for Analytics Connector. * */ public Output dataDestinationConfiguration() { return this.dataDestinationConfiguration; } /** * Data mapping configuration for Analytics Connector. * */ @Export(name="dataMappingConfiguration", refs={AnalyticsConnectorFhirToParquetMappingResponse.class}, tree="[0]") private Output dataMappingConfiguration; /** * @return Data mapping configuration for Analytics Connector. * */ public Output dataMappingConfiguration() { return this.dataMappingConfiguration; } /** * Data source for Analytics Connector. * */ @Export(name="dataSourceConfiguration", refs={AnalyticsConnectorFhirServiceDataSourceResponse.class}, tree="[0]") private Output dataSourceConfiguration; /** * @return Data source for Analytics Connector. * */ public Output dataSourceConfiguration() { return this.dataSourceConfiguration; } /** * An etag associated with the resource, used for optimistic concurrency when editing it. * */ @Export(name="etag", refs={String.class}, tree="[0]") private Output etag; /** * @return An etag associated with the resource, used for optimistic concurrency when editing it. * */ public Output> etag() { return Codegen.optional(this.etag); } /** * Setting indicating whether the service has a managed identity associated with it. * */ @Export(name="identity", refs={ServiceManagedIdentityResponseIdentity.class}, tree="[0]") private Output identity; /** * @return Setting indicating whether the service has a managed identity associated with it. * */ public Output> identity() { return Codegen.optional(this.identity); } /** * The resource location. * */ @Export(name="location", refs={String.class}, tree="[0]") private Output location; /** * @return The resource location. * */ public Output> location() { return Codegen.optional(this.location); } /** * The resource name. * */ @Export(name="name", refs={String.class}, tree="[0]") private Output name; /** * @return The resource name. * */ public Output name() { return this.name; } /** * The provisioning state. * */ @Export(name="provisioningState", refs={String.class}, tree="[0]") private Output provisioningState; /** * @return The provisioning state. * */ public Output provisioningState() { return this.provisioningState; } /** * Metadata pertaining to creation and last modification of the resource. * */ @Export(name="systemData", refs={SystemDataResponse.class}, tree="[0]") private Output systemData; /** * @return Metadata pertaining to creation and last modification of the resource. * */ public Output systemData() { return this.systemData; } /** * Resource tags. * */ @Export(name="tags", refs={Map.class,String.class}, tree="[0,1,1]") private Output> tags; /** * @return Resource tags. * */ public Output>> tags() { return Codegen.optional(this.tags); } /** * The resource type. * */ @Export(name="type", refs={String.class}, tree="[0]") private Output type; /** * @return The resource type. * */ public Output type() { return this.type; } /** * * @param name The _unique_ name of the resulting resource. */ public AnalyticsConnector(java.lang.String name) { this(name, AnalyticsConnectorArgs.Empty); } /** * * @param name The _unique_ name of the resulting resource. * @param args The arguments to use to populate this resource's properties. */ public AnalyticsConnector(java.lang.String name, AnalyticsConnectorArgs args) { this(name, args, null); } /** * * @param name The _unique_ name of the resulting resource. * @param args The arguments to use to populate this resource's properties. * @param options A bag of options that control this resource's behavior. */ public AnalyticsConnector(java.lang.String name, AnalyticsConnectorArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { super("azure-native:healthcareapis:AnalyticsConnector", name, makeArgs(args, options), makeResourceOptions(options, Codegen.empty()), false); } private AnalyticsConnector(java.lang.String name, Output id, @Nullable com.pulumi.resources.CustomResourceOptions options) { super("azure-native:healthcareapis:AnalyticsConnector", name, null, makeResourceOptions(options, id), false); } private static AnalyticsConnectorArgs makeArgs(AnalyticsConnectorArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { if (options != null && options.getUrn().isPresent()) { return null; } return args == null ? AnalyticsConnectorArgs.Empty : args; } private static com.pulumi.resources.CustomResourceOptions makeResourceOptions(@Nullable com.pulumi.resources.CustomResourceOptions options, @Nullable Output id) { var defaultOptions = com.pulumi.resources.CustomResourceOptions.builder() .version(Utilities.getVersion()) .aliases(List.of( Output.of(Alias.builder().type("azure-native:healthcareapis/v20221001preview:AnalyticsConnector").build()) )) .build(); return com.pulumi.resources.CustomResourceOptions.merge(defaultOptions, options, id); } /** * Get an existing Host 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 options Optional settings to control the behavior of the CustomResource. */ public static AnalyticsConnector get(java.lang.String name, Output id, @Nullable com.pulumi.resources.CustomResourceOptions options) { return new AnalyticsConnector(name, id, options); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy