gcp.healthcare.Hl7Store
Explore with Pulumi AI
A Hl7V2Store is a datastore inside a Healthcare dataset that conforms to the FHIR (https://www.hl7.org/hl7V2/STU3/) standard for Healthcare information exchange
To get more information about Hl7V2Store, see:
- API documentation
- How-to Guides
Example Usage
Healthcare Hl7 V2 Store Basic
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const topic = new gcp.pubsub.Topic("topic", {name: "hl7-v2-notifications"});
const dataset = new gcp.healthcare.Dataset("dataset", {
name: "example-dataset",
location: "us-central1",
});
const store = new gcp.healthcare.Hl7Store("store", {
name: "example-hl7-v2-store",
dataset: dataset.id,
rejectDuplicateMessage: true,
notificationConfigs: [{
pubsubTopic: topic.id,
}],
labels: {
label1: "labelvalue1",
},
});
import pulumi
import pulumi_gcp as gcp
topic = gcp.pubsub.Topic("topic", name="hl7-v2-notifications")
dataset = gcp.healthcare.Dataset("dataset",
name="example-dataset",
location="us-central1")
store = gcp.healthcare.Hl7Store("store",
name="example-hl7-v2-store",
dataset=dataset.id,
reject_duplicate_message=True,
notification_configs=[{
"pubsub_topic": topic.id,
}],
labels={
"label1": "labelvalue1",
})
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/healthcare"
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/pubsub"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
topic, err := pubsub.NewTopic(ctx, "topic", &pubsub.TopicArgs{
Name: pulumi.String("hl7-v2-notifications"),
})
if err != nil {
return err
}
dataset, err := healthcare.NewDataset(ctx, "dataset", &healthcare.DatasetArgs{
Name: pulumi.String("example-dataset"),
Location: pulumi.String("us-central1"),
})
if err != nil {
return err
}
_, err = healthcare.NewHl7Store(ctx, "store", &healthcare.Hl7StoreArgs{
Name: pulumi.String("example-hl7-v2-store"),
Dataset: dataset.ID(),
RejectDuplicateMessage: pulumi.Bool(true),
NotificationConfigs: healthcare.Hl7StoreNotificationConfigsArray{
&healthcare.Hl7StoreNotificationConfigsArgs{
PubsubTopic: topic.ID(),
},
},
Labels: pulumi.StringMap{
"label1": pulumi.String("labelvalue1"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() =>
{
var topic = new Gcp.PubSub.Topic("topic", new()
{
Name = "hl7-v2-notifications",
});
var dataset = new Gcp.Healthcare.Dataset("dataset", new()
{
Name = "example-dataset",
Location = "us-central1",
});
var store = new Gcp.Healthcare.Hl7Store("store", new()
{
Name = "example-hl7-v2-store",
Dataset = dataset.Id,
RejectDuplicateMessage = true,
NotificationConfigs = new[]
{
new Gcp.Healthcare.Inputs.Hl7StoreNotificationConfigsArgs
{
PubsubTopic = topic.Id,
},
},
Labels =
{
{ "label1", "labelvalue1" },
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.pubsub.Topic;
import com.pulumi.gcp.pubsub.TopicArgs;
import com.pulumi.gcp.healthcare.Dataset;
import com.pulumi.gcp.healthcare.DatasetArgs;
import com.pulumi.gcp.healthcare.Hl7Store;
import com.pulumi.gcp.healthcare.Hl7StoreArgs;
import com.pulumi.gcp.healthcare.inputs.Hl7StoreNotificationConfigsArgs;
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 topic = new Topic("topic", TopicArgs.builder()
.name("hl7-v2-notifications")
.build());
var dataset = new Dataset("dataset", DatasetArgs.builder()
.name("example-dataset")
.location("us-central1")
.build());
var store = new Hl7Store("store", Hl7StoreArgs.builder()
.name("example-hl7-v2-store")
.dataset(dataset.id())
.rejectDuplicateMessage(true)
.notificationConfigs(Hl7StoreNotificationConfigsArgs.builder()
.pubsubTopic(topic.id())
.build())
.labels(Map.of("label1", "labelvalue1"))
.build());
}
}
resources:
store:
type: gcp:healthcare:Hl7Store
properties:
name: example-hl7-v2-store
dataset: ${dataset.id}
rejectDuplicateMessage: true
notificationConfigs:
- pubsubTopic: ${topic.id}
labels:
label1: labelvalue1
topic:
type: gcp:pubsub:Topic
properties:
name: hl7-v2-notifications
dataset:
type: gcp:healthcare:Dataset
properties:
name: example-dataset
location: us-central1
Healthcare Hl7 V2 Store Parser Config
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const dataset = new gcp.healthcare.Dataset("dataset", {
name: "example-dataset",
location: "us-central1",
});
const store = new gcp.healthcare.Hl7Store("store", {
name: "example-hl7-v2-store",
dataset: dataset.id,
parserConfig: {
allowNullHeader: false,
segmentTerminator: "Jw==",
schema: `{
"schemas": [{
"messageSchemaConfigs": {
"ADT_A01": {
"name": "ADT_A01",
"minOccurs": 1,
"maxOccurs": 1,
"members": [{
"segment": {
"type": "MSH",
"minOccurs": 1,
"maxOccurs": 1
}
},
{
"segment": {
"type": "EVN",
"minOccurs": 1,
"maxOccurs": 1
}
},
{
"segment": {
"type": "PID",
"minOccurs": 1,
"maxOccurs": 1
}
},
{
"segment": {
"type": "ZPD",
"minOccurs": 1,
"maxOccurs": 1
}
},
{
"segment": {
"type": "OBX"
}
},
{
"group": {
"name": "PROCEDURE",
"members": [{
"segment": {
"type": "PR1",
"minOccurs": 1,
"maxOccurs": 1
}
},
{
"segment": {
"type": "ROL"
}
}
]
}
},
{
"segment": {
"type": "PDA",
"maxOccurs": 1
}
}
]
}
}
}],
"types": [{
"type": [{
"name": "ZPD",
"primitive": "VARIES"
}
]
}],
"ignoreMinOccurs": true
}
`,
},
});
import pulumi
import pulumi_gcp as gcp
dataset = gcp.healthcare.Dataset("dataset",
name="example-dataset",
location="us-central1")
store = gcp.healthcare.Hl7Store("store",
name="example-hl7-v2-store",
dataset=dataset.id,
parser_config={
"allow_null_header": False,
"segment_terminator": "Jw==",
"schema": """{
"schemas": [{
"messageSchemaConfigs": {
"ADT_A01": {
"name": "ADT_A01",
"minOccurs": 1,
"maxOccurs": 1,
"members": [{
"segment": {
"type": "MSH",
"minOccurs": 1,
"maxOccurs": 1
}
},
{
"segment": {
"type": "EVN",
"minOccurs": 1,
"maxOccurs": 1
}
},
{
"segment": {
"type": "PID",
"minOccurs": 1,
"maxOccurs": 1
}
},
{
"segment": {
"type": "ZPD",
"minOccurs": 1,
"maxOccurs": 1
}
},
{
"segment": {
"type": "OBX"
}
},
{
"group": {
"name": "PROCEDURE",
"members": [{
"segment": {
"type": "PR1",
"minOccurs": 1,
"maxOccurs": 1
}
},
{
"segment": {
"type": "ROL"
}
}
]
}
},
{
"segment": {
"type": "PDA",
"maxOccurs": 1
}
}
]
}
}
}],
"types": [{
"type": [{
"name": "ZPD",
"primitive": "VARIES"
}
]
}],
"ignoreMinOccurs": true
}
""",
})
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/healthcare"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
dataset, err := healthcare.NewDataset(ctx, "dataset", &healthcare.DatasetArgs{
Name: pulumi.String("example-dataset"),
Location: pulumi.String("us-central1"),
})
if err != nil {
return err
}
_, err = healthcare.NewHl7Store(ctx, "store", &healthcare.Hl7StoreArgs{
Name: pulumi.String("example-hl7-v2-store"),
Dataset: dataset.ID(),
ParserConfig: &healthcare.Hl7StoreParserConfigArgs{
AllowNullHeader: pulumi.Bool(false),
SegmentTerminator: pulumi.String("Jw=="),
Schema: pulumi.String(`{
"schemas": [{
"messageSchemaConfigs": {
"ADT_A01": {
"name": "ADT_A01",
"minOccurs": 1,
"maxOccurs": 1,
"members": [{
"segment": {
"type": "MSH",
"minOccurs": 1,
"maxOccurs": 1
}
},
{
"segment": {
"type": "EVN",
"minOccurs": 1,
"maxOccurs": 1
}
},
{
"segment": {
"type": "PID",
"minOccurs": 1,
"maxOccurs": 1
}
},
{
"segment": {
"type": "ZPD",
"minOccurs": 1,
"maxOccurs": 1
}
},
{
"segment": {
"type": "OBX"
}
},
{
"group": {
"name": "PROCEDURE",
"members": [{
"segment": {
"type": "PR1",
"minOccurs": 1,
"maxOccurs": 1
}
},
{
"segment": {
"type": "ROL"
}
}
]
}
},
{
"segment": {
"type": "PDA",
"maxOccurs": 1
}
}
]
}
}
}],
"types": [{
"type": [{
"name": "ZPD",
"primitive": "VARIES"
}
]
}],
"ignoreMinOccurs": true
}
`),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() =>
{
var dataset = new Gcp.Healthcare.Dataset("dataset", new()
{
Name = "example-dataset",
Location = "us-central1",
});
var store = new Gcp.Healthcare.Hl7Store("store", new()
{
Name = "example-hl7-v2-store",
Dataset = dataset.Id,
ParserConfig = new Gcp.Healthcare.Inputs.Hl7StoreParserConfigArgs
{
AllowNullHeader = false,
SegmentTerminator = "Jw==",
Schema = @"{
""schemas"": [{
""messageSchemaConfigs"": {
""ADT_A01"": {
""name"": ""ADT_A01"",
""minOccurs"": 1,
""maxOccurs"": 1,
""members"": [{
""segment"": {
""type"": ""MSH"",
""minOccurs"": 1,
""maxOccurs"": 1
}
},
{
""segment"": {
""type"": ""EVN"",
""minOccurs"": 1,
""maxOccurs"": 1
}
},
{
""segment"": {
""type"": ""PID"",
""minOccurs"": 1,
""maxOccurs"": 1
}
},
{
""segment"": {
""type"": ""ZPD"",
""minOccurs"": 1,
""maxOccurs"": 1
}
},
{
""segment"": {
""type"": ""OBX""
}
},
{
""group"": {
""name"": ""PROCEDURE"",
""members"": [{
""segment"": {
""type"": ""PR1"",
""minOccurs"": 1,
""maxOccurs"": 1
}
},
{
""segment"": {
""type"": ""ROL""
}
}
]
}
},
{
""segment"": {
""type"": ""PDA"",
""maxOccurs"": 1
}
}
]
}
}
}],
""types"": [{
""type"": [{
""name"": ""ZPD"",
""primitive"": ""VARIES""
}
]
}],
""ignoreMinOccurs"": true
}
",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.healthcare.Dataset;
import com.pulumi.gcp.healthcare.DatasetArgs;
import com.pulumi.gcp.healthcare.Hl7Store;
import com.pulumi.gcp.healthcare.Hl7StoreArgs;
import com.pulumi.gcp.healthcare.inputs.Hl7StoreParserConfigArgs;
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 dataset = new Dataset("dataset", DatasetArgs.builder()
.name("example-dataset")
.location("us-central1")
.build());
var store = new Hl7Store("store", Hl7StoreArgs.builder()
.name("example-hl7-v2-store")
.dataset(dataset.id())
.parserConfig(Hl7StoreParserConfigArgs.builder()
.allowNullHeader(false)
.segmentTerminator("Jw==")
.schema("""
{
"schemas": [{
"messageSchemaConfigs": {
"ADT_A01": {
"name": "ADT_A01",
"minOccurs": 1,
"maxOccurs": 1,
"members": [{
"segment": {
"type": "MSH",
"minOccurs": 1,
"maxOccurs": 1
}
},
{
"segment": {
"type": "EVN",
"minOccurs": 1,
"maxOccurs": 1
}
},
{
"segment": {
"type": "PID",
"minOccurs": 1,
"maxOccurs": 1
}
},
{
"segment": {
"type": "ZPD",
"minOccurs": 1,
"maxOccurs": 1
}
},
{
"segment": {
"type": "OBX"
}
},
{
"group": {
"name": "PROCEDURE",
"members": [{
"segment": {
"type": "PR1",
"minOccurs": 1,
"maxOccurs": 1
}
},
{
"segment": {
"type": "ROL"
}
}
]
}
},
{
"segment": {
"type": "PDA",
"maxOccurs": 1
}
}
]
}
}
}],
"types": [{
"type": [{
"name": "ZPD",
"primitive": "VARIES"
}
]
}],
"ignoreMinOccurs": true
}
""")
.build())
.build());
}
}
resources:
store:
type: gcp:healthcare:Hl7Store
properties:
name: example-hl7-v2-store
dataset: ${dataset.id}
parserConfig:
allowNullHeader: false
segmentTerminator: Jw==
schema: |
{
"schemas": [{
"messageSchemaConfigs": {
"ADT_A01": {
"name": "ADT_A01",
"minOccurs": 1,
"maxOccurs": 1,
"members": [{
"segment": {
"type": "MSH",
"minOccurs": 1,
"maxOccurs": 1
}
},
{
"segment": {
"type": "EVN",
"minOccurs": 1,
"maxOccurs": 1
}
},
{
"segment": {
"type": "PID",
"minOccurs": 1,
"maxOccurs": 1
}
},
{
"segment": {
"type": "ZPD",
"minOccurs": 1,
"maxOccurs": 1
}
},
{
"segment": {
"type": "OBX"
}
},
{
"group": {
"name": "PROCEDURE",
"members": [{
"segment": {
"type": "PR1",
"minOccurs": 1,
"maxOccurs": 1
}
},
{
"segment": {
"type": "ROL"
}
}
]
}
},
{
"segment": {
"type": "PDA",
"maxOccurs": 1
}
}
]
}
}
}],
"types": [{
"type": [{
"name": "ZPD",
"primitive": "VARIES"
}
]
}],
"ignoreMinOccurs": true
}
dataset:
type: gcp:healthcare:Dataset
properties:
name: example-dataset
location: us-central1
Healthcare Hl7 V2 Store Unschematized
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const dataset = new gcp.healthcare.Dataset("dataset", {
name: "example-dataset",
location: "us-central1",
});
const store = new gcp.healthcare.Hl7Store("store", {
name: "example-hl7-v2-store",
dataset: dataset.id,
parserConfig: {
allowNullHeader: false,
segmentTerminator: "Jw==",
version: "V2",
},
});
import pulumi
import pulumi_gcp as gcp
dataset = gcp.healthcare.Dataset("dataset",
name="example-dataset",
location="us-central1")
store = gcp.healthcare.Hl7Store("store",
name="example-hl7-v2-store",
dataset=dataset.id,
parser_config={
"allow_null_header": False,
"segment_terminator": "Jw==",
"version": "V2",
})
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/healthcare"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
dataset, err := healthcare.NewDataset(ctx, "dataset", &healthcare.DatasetArgs{
Name: pulumi.String("example-dataset"),
Location: pulumi.String("us-central1"),
})
if err != nil {
return err
}
_, err = healthcare.NewHl7Store(ctx, "store", &healthcare.Hl7StoreArgs{
Name: pulumi.String("example-hl7-v2-store"),
Dataset: dataset.ID(),
ParserConfig: &healthcare.Hl7StoreParserConfigArgs{
AllowNullHeader: pulumi.Bool(false),
SegmentTerminator: pulumi.String("Jw=="),
Version: pulumi.String("V2"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() =>
{
var dataset = new Gcp.Healthcare.Dataset("dataset", new()
{
Name = "example-dataset",
Location = "us-central1",
});
var store = new Gcp.Healthcare.Hl7Store("store", new()
{
Name = "example-hl7-v2-store",
Dataset = dataset.Id,
ParserConfig = new Gcp.Healthcare.Inputs.Hl7StoreParserConfigArgs
{
AllowNullHeader = false,
SegmentTerminator = "Jw==",
Version = "V2",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.healthcare.Dataset;
import com.pulumi.gcp.healthcare.DatasetArgs;
import com.pulumi.gcp.healthcare.Hl7Store;
import com.pulumi.gcp.healthcare.Hl7StoreArgs;
import com.pulumi.gcp.healthcare.inputs.Hl7StoreParserConfigArgs;
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 dataset = new Dataset("dataset", DatasetArgs.builder()
.name("example-dataset")
.location("us-central1")
.build());
var store = new Hl7Store("store", Hl7StoreArgs.builder()
.name("example-hl7-v2-store")
.dataset(dataset.id())
.parserConfig(Hl7StoreParserConfigArgs.builder()
.allowNullHeader(false)
.segmentTerminator("Jw==")
.version("V2")
.build())
.build());
}
}
resources:
store:
type: gcp:healthcare:Hl7Store
properties:
name: example-hl7-v2-store
dataset: ${dataset.id}
parserConfig:
allowNullHeader: false
segmentTerminator: Jw==
version: V2
dataset:
type: gcp:healthcare:Dataset
properties:
name: example-dataset
location: us-central1
Create Hl7Store Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Hl7Store(name: string, args: Hl7StoreArgs, opts?: CustomResourceOptions);
@overload
def Hl7Store(resource_name: str,
args: Hl7StoreArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Hl7Store(resource_name: str,
opts: Optional[ResourceOptions] = None,
dataset: Optional[str] = None,
labels: Optional[Mapping[str, str]] = None,
name: Optional[str] = None,
notification_config: Optional[Hl7StoreNotificationConfigArgs] = None,
notification_configs: Optional[Sequence[Hl7StoreNotificationConfigsArgs]] = None,
parser_config: Optional[Hl7StoreParserConfigArgs] = None,
reject_duplicate_message: Optional[bool] = None)
func NewHl7Store(ctx *Context, name string, args Hl7StoreArgs, opts ...ResourceOption) (*Hl7Store, error)
public Hl7Store(string name, Hl7StoreArgs args, CustomResourceOptions? opts = null)
public Hl7Store(String name, Hl7StoreArgs args)
public Hl7Store(String name, Hl7StoreArgs args, CustomResourceOptions options)
type: gcp:healthcare:Hl7Store
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 Hl7StoreArgs
- 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 Hl7StoreArgs
- 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 Hl7StoreArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args Hl7StoreArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args Hl7StoreArgs
- 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 hl7StoreResource = new Gcp.Healthcare.Hl7Store("hl7StoreResource", new()
{
Dataset = "string",
Labels =
{
{ "string", "string" },
},
Name = "string",
NotificationConfigs = new[]
{
new Gcp.Healthcare.Inputs.Hl7StoreNotificationConfigsArgs
{
PubsubTopic = "string",
Filter = "string",
},
},
ParserConfig = new Gcp.Healthcare.Inputs.Hl7StoreParserConfigArgs
{
AllowNullHeader = false,
Schema = "string",
SegmentTerminator = "string",
Version = "string",
},
RejectDuplicateMessage = false,
});
example, err := healthcare.NewHl7Store(ctx, "hl7StoreResource", &healthcare.Hl7StoreArgs{
Dataset: pulumi.String("string"),
Labels: pulumi.StringMap{
"string": pulumi.String("string"),
},
Name: pulumi.String("string"),
NotificationConfigs: healthcare.Hl7StoreNotificationConfigsArray{
&healthcare.Hl7StoreNotificationConfigsArgs{
PubsubTopic: pulumi.String("string"),
Filter: pulumi.String("string"),
},
},
ParserConfig: &healthcare.Hl7StoreParserConfigArgs{
AllowNullHeader: pulumi.Bool(false),
Schema: pulumi.String("string"),
SegmentTerminator: pulumi.String("string"),
Version: pulumi.String("string"),
},
RejectDuplicateMessage: pulumi.Bool(false),
})
var hl7StoreResource = new Hl7Store("hl7StoreResource", Hl7StoreArgs.builder()
.dataset("string")
.labels(Map.of("string", "string"))
.name("string")
.notificationConfigs(Hl7StoreNotificationConfigsArgs.builder()
.pubsubTopic("string")
.filter("string")
.build())
.parserConfig(Hl7StoreParserConfigArgs.builder()
.allowNullHeader(false)
.schema("string")
.segmentTerminator("string")
.version("string")
.build())
.rejectDuplicateMessage(false)
.build());
hl7_store_resource = gcp.healthcare.Hl7Store("hl7StoreResource",
dataset="string",
labels={
"string": "string",
},
name="string",
notification_configs=[{
"pubsub_topic": "string",
"filter": "string",
}],
parser_config={
"allow_null_header": False,
"schema": "string",
"segment_terminator": "string",
"version": "string",
},
reject_duplicate_message=False)
const hl7StoreResource = new gcp.healthcare.Hl7Store("hl7StoreResource", {
dataset: "string",
labels: {
string: "string",
},
name: "string",
notificationConfigs: [{
pubsubTopic: "string",
filter: "string",
}],
parserConfig: {
allowNullHeader: false,
schema: "string",
segmentTerminator: "string",
version: "string",
},
rejectDuplicateMessage: false,
});
type: gcp:healthcare:Hl7Store
properties:
dataset: string
labels:
string: string
name: string
notificationConfigs:
- filter: string
pubsubTopic: string
parserConfig:
allowNullHeader: false
schema: string
segmentTerminator: string
version: string
rejectDuplicateMessage: false
Hl7Store 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 Hl7Store resource accepts the following input properties:
- Dataset string
- Identifies the dataset addressed by this request. Must be in the format
'projects/{project}/locations/{location}/datasets/{dataset}'
- Labels Dictionary<string, string>
User-supplied key-value pairs used to organize HL7v2 stores. Label keys must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: [\p{Ll}\p{Lo}][\p{Ll}\p{Lo}\p{N}-]{0,62} Label values are optional, must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: [\p{Ll}\p{Lo}\p{N}-]{0,63} No more than 64 labels can be associated with a given store. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field
effective_labels
for all of the labels present on the resource.- Name string
- The resource name for the Hl7V2Store. ** Changing this property may recreate the Hl7v2 store (removing all data) **
- Notification
Config Hl7StoreNotification Config (Optional, Deprecated) A nested object resource. Structure is documented below.
Warning:
notification_config
is deprecated and will be removed in a future major release. Usenotification_configs
instead.- Notification
Configs List<Hl7StoreNotification Configs> - A list of notification configs. Each configuration uses a filter to determine whether to publish a message (both Ingest & Create) on the corresponding notification destination. Only the message name is sent as part of the notification. Supplied by the client. Structure is documented below.
- Parser
Config Hl7StoreParser Config - A nested object resource. Structure is documented below.
- Reject
Duplicate boolMessage - Determines whether duplicate messages are allowed.
- Dataset string
- Identifies the dataset addressed by this request. Must be in the format
'projects/{project}/locations/{location}/datasets/{dataset}'
- Labels map[string]string
User-supplied key-value pairs used to organize HL7v2 stores. Label keys must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: [\p{Ll}\p{Lo}][\p{Ll}\p{Lo}\p{N}-]{0,62} Label values are optional, must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: [\p{Ll}\p{Lo}\p{N}-]{0,63} No more than 64 labels can be associated with a given store. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field
effective_labels
for all of the labels present on the resource.- Name string
- The resource name for the Hl7V2Store. ** Changing this property may recreate the Hl7v2 store (removing all data) **
- Notification
Config Hl7StoreNotification Config Args (Optional, Deprecated) A nested object resource. Structure is documented below.
Warning:
notification_config
is deprecated and will be removed in a future major release. Usenotification_configs
instead.- Notification
Configs []Hl7StoreNotification Configs Args - A list of notification configs. Each configuration uses a filter to determine whether to publish a message (both Ingest & Create) on the corresponding notification destination. Only the message name is sent as part of the notification. Supplied by the client. Structure is documented below.
- Parser
Config Hl7StoreParser Config Args - A nested object resource. Structure is documented below.
- Reject
Duplicate boolMessage - Determines whether duplicate messages are allowed.
- dataset String
- Identifies the dataset addressed by this request. Must be in the format
'projects/{project}/locations/{location}/datasets/{dataset}'
- labels Map<String,String>
User-supplied key-value pairs used to organize HL7v2 stores. Label keys must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: [\p{Ll}\p{Lo}][\p{Ll}\p{Lo}\p{N}-]{0,62} Label values are optional, must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: [\p{Ll}\p{Lo}\p{N}-]{0,63} No more than 64 labels can be associated with a given store. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field
effective_labels
for all of the labels present on the resource.- name String
- The resource name for the Hl7V2Store. ** Changing this property may recreate the Hl7v2 store (removing all data) **
- notification
Config Hl7StoreNotification Config (Optional, Deprecated) A nested object resource. Structure is documented below.
Warning:
notification_config
is deprecated and will be removed in a future major release. Usenotification_configs
instead.- notification
Configs List<Hl7StoreNotification Configs> - A list of notification configs. Each configuration uses a filter to determine whether to publish a message (both Ingest & Create) on the corresponding notification destination. Only the message name is sent as part of the notification. Supplied by the client. Structure is documented below.
- parser
Config Hl7StoreParser Config - A nested object resource. Structure is documented below.
- reject
Duplicate BooleanMessage - Determines whether duplicate messages are allowed.
- dataset string
- Identifies the dataset addressed by this request. Must be in the format
'projects/{project}/locations/{location}/datasets/{dataset}'
- labels {[key: string]: string}
User-supplied key-value pairs used to organize HL7v2 stores. Label keys must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: [\p{Ll}\p{Lo}][\p{Ll}\p{Lo}\p{N}-]{0,62} Label values are optional, must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: [\p{Ll}\p{Lo}\p{N}-]{0,63} No more than 64 labels can be associated with a given store. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field
effective_labels
for all of the labels present on the resource.- name string
- The resource name for the Hl7V2Store. ** Changing this property may recreate the Hl7v2 store (removing all data) **
- notification
Config Hl7StoreNotification Config (Optional, Deprecated) A nested object resource. Structure is documented below.
Warning:
notification_config
is deprecated and will be removed in a future major release. Usenotification_configs
instead.- notification
Configs Hl7StoreNotification Configs[] - A list of notification configs. Each configuration uses a filter to determine whether to publish a message (both Ingest & Create) on the corresponding notification destination. Only the message name is sent as part of the notification. Supplied by the client. Structure is documented below.
- parser
Config Hl7StoreParser Config - A nested object resource. Structure is documented below.
- reject
Duplicate booleanMessage - Determines whether duplicate messages are allowed.
- dataset str
- Identifies the dataset addressed by this request. Must be in the format
'projects/{project}/locations/{location}/datasets/{dataset}'
- labels Mapping[str, str]
User-supplied key-value pairs used to organize HL7v2 stores. Label keys must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: [\p{Ll}\p{Lo}][\p{Ll}\p{Lo}\p{N}-]{0,62} Label values are optional, must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: [\p{Ll}\p{Lo}\p{N}-]{0,63} No more than 64 labels can be associated with a given store. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field
effective_labels
for all of the labels present on the resource.- name str
- The resource name for the Hl7V2Store. ** Changing this property may recreate the Hl7v2 store (removing all data) **
- notification_
config Hl7StoreNotification Config Args (Optional, Deprecated) A nested object resource. Structure is documented below.
Warning:
notification_config
is deprecated and will be removed in a future major release. Usenotification_configs
instead.- notification_
configs Sequence[Hl7StoreNotification Configs Args] - A list of notification configs. Each configuration uses a filter to determine whether to publish a message (both Ingest & Create) on the corresponding notification destination. Only the message name is sent as part of the notification. Supplied by the client. Structure is documented below.
- parser_
config Hl7StoreParser Config Args - A nested object resource. Structure is documented below.
- reject_
duplicate_ boolmessage - Determines whether duplicate messages are allowed.
- dataset String
- Identifies the dataset addressed by this request. Must be in the format
'projects/{project}/locations/{location}/datasets/{dataset}'
- labels Map<String>
User-supplied key-value pairs used to organize HL7v2 stores. Label keys must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: [\p{Ll}\p{Lo}][\p{Ll}\p{Lo}\p{N}-]{0,62} Label values are optional, must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: [\p{Ll}\p{Lo}\p{N}-]{0,63} No more than 64 labels can be associated with a given store. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field
effective_labels
for all of the labels present on the resource.- name String
- The resource name for the Hl7V2Store. ** Changing this property may recreate the Hl7v2 store (removing all data) **
- notification
Config Property Map (Optional, Deprecated) A nested object resource. Structure is documented below.
Warning:
notification_config
is deprecated and will be removed in a future major release. Usenotification_configs
instead.- notification
Configs List<Property Map> - A list of notification configs. Each configuration uses a filter to determine whether to publish a message (both Ingest & Create) on the corresponding notification destination. Only the message name is sent as part of the notification. Supplied by the client. Structure is documented below.
- parser
Config Property Map - A nested object resource. Structure is documented below.
- reject
Duplicate BooleanMessage - Determines whether duplicate messages are allowed.
Outputs
All input properties are implicitly available as output properties. Additionally, the Hl7Store resource produces the following output properties:
- Effective
Labels Dictionary<string, string> - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- Id string
- The provider-assigned unique ID for this managed resource.
- Pulumi
Labels Dictionary<string, string> - The combination of labels configured directly on the resource and default labels configured on the provider.
- Self
Link string - The fully qualified name of this dataset
- Effective
Labels map[string]string - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- Id string
- The provider-assigned unique ID for this managed resource.
- Pulumi
Labels map[string]string - The combination of labels configured directly on the resource and default labels configured on the provider.
- Self
Link string - The fully qualified name of this dataset
- effective
Labels Map<String,String> - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- id String
- The provider-assigned unique ID for this managed resource.
- pulumi
Labels Map<String,String> - The combination of labels configured directly on the resource and default labels configured on the provider.
- self
Link String - The fully qualified name of this dataset
- effective
Labels {[key: string]: string} - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- id string
- The provider-assigned unique ID for this managed resource.
- pulumi
Labels {[key: string]: string} - The combination of labels configured directly on the resource and default labels configured on the provider.
- self
Link string - The fully qualified name of this dataset
- effective_
labels Mapping[str, str] - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- id str
- The provider-assigned unique ID for this managed resource.
- pulumi_
labels Mapping[str, str] - The combination of labels configured directly on the resource and default labels configured on the provider.
- self_
link str - The fully qualified name of this dataset
- effective
Labels Map<String> - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- id String
- The provider-assigned unique ID for this managed resource.
- pulumi
Labels Map<String> - The combination of labels configured directly on the resource and default labels configured on the provider.
- self
Link String - The fully qualified name of this dataset
Look up Existing Hl7Store Resource
Get an existing Hl7Store 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?: Hl7StoreState, opts?: CustomResourceOptions): Hl7Store
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
dataset: Optional[str] = None,
effective_labels: Optional[Mapping[str, str]] = None,
labels: Optional[Mapping[str, str]] = None,
name: Optional[str] = None,
notification_config: Optional[Hl7StoreNotificationConfigArgs] = None,
notification_configs: Optional[Sequence[Hl7StoreNotificationConfigsArgs]] = None,
parser_config: Optional[Hl7StoreParserConfigArgs] = None,
pulumi_labels: Optional[Mapping[str, str]] = None,
reject_duplicate_message: Optional[bool] = None,
self_link: Optional[str] = None) -> Hl7Store
func GetHl7Store(ctx *Context, name string, id IDInput, state *Hl7StoreState, opts ...ResourceOption) (*Hl7Store, error)
public static Hl7Store Get(string name, Input<string> id, Hl7StoreState? state, CustomResourceOptions? opts = null)
public static Hl7Store get(String name, Output<String> id, Hl7StoreState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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.
- Dataset string
- Identifies the dataset addressed by this request. Must be in the format
'projects/{project}/locations/{location}/datasets/{dataset}'
- Effective
Labels Dictionary<string, string> - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- Labels Dictionary<string, string>
User-supplied key-value pairs used to organize HL7v2 stores. Label keys must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: [\p{Ll}\p{Lo}][\p{Ll}\p{Lo}\p{N}-]{0,62} Label values are optional, must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: [\p{Ll}\p{Lo}\p{N}-]{0,63} No more than 64 labels can be associated with a given store. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field
effective_labels
for all of the labels present on the resource.- Name string
- The resource name for the Hl7V2Store. ** Changing this property may recreate the Hl7v2 store (removing all data) **
- Notification
Config Hl7StoreNotification Config (Optional, Deprecated) A nested object resource. Structure is documented below.
Warning:
notification_config
is deprecated and will be removed in a future major release. Usenotification_configs
instead.- Notification
Configs List<Hl7StoreNotification Configs> - A list of notification configs. Each configuration uses a filter to determine whether to publish a message (both Ingest & Create) on the corresponding notification destination. Only the message name is sent as part of the notification. Supplied by the client. Structure is documented below.
- Parser
Config Hl7StoreParser Config - A nested object resource. Structure is documented below.
- Pulumi
Labels Dictionary<string, string> - The combination of labels configured directly on the resource and default labels configured on the provider.
- Reject
Duplicate boolMessage - Determines whether duplicate messages are allowed.
- Self
Link string - The fully qualified name of this dataset
- Dataset string
- Identifies the dataset addressed by this request. Must be in the format
'projects/{project}/locations/{location}/datasets/{dataset}'
- Effective
Labels map[string]string - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- Labels map[string]string
User-supplied key-value pairs used to organize HL7v2 stores. Label keys must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: [\p{Ll}\p{Lo}][\p{Ll}\p{Lo}\p{N}-]{0,62} Label values are optional, must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: [\p{Ll}\p{Lo}\p{N}-]{0,63} No more than 64 labels can be associated with a given store. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field
effective_labels
for all of the labels present on the resource.- Name string
- The resource name for the Hl7V2Store. ** Changing this property may recreate the Hl7v2 store (removing all data) **
- Notification
Config Hl7StoreNotification Config Args (Optional, Deprecated) A nested object resource. Structure is documented below.
Warning:
notification_config
is deprecated and will be removed in a future major release. Usenotification_configs
instead.- Notification
Configs []Hl7StoreNotification Configs Args - A list of notification configs. Each configuration uses a filter to determine whether to publish a message (both Ingest & Create) on the corresponding notification destination. Only the message name is sent as part of the notification. Supplied by the client. Structure is documented below.
- Parser
Config Hl7StoreParser Config Args - A nested object resource. Structure is documented below.
- Pulumi
Labels map[string]string - The combination of labels configured directly on the resource and default labels configured on the provider.
- Reject
Duplicate boolMessage - Determines whether duplicate messages are allowed.
- Self
Link string - The fully qualified name of this dataset
- dataset String
- Identifies the dataset addressed by this request. Must be in the format
'projects/{project}/locations/{location}/datasets/{dataset}'
- effective
Labels Map<String,String> - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- labels Map<String,String>
User-supplied key-value pairs used to organize HL7v2 stores. Label keys must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: [\p{Ll}\p{Lo}][\p{Ll}\p{Lo}\p{N}-]{0,62} Label values are optional, must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: [\p{Ll}\p{Lo}\p{N}-]{0,63} No more than 64 labels can be associated with a given store. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field
effective_labels
for all of the labels present on the resource.- name String
- The resource name for the Hl7V2Store. ** Changing this property may recreate the Hl7v2 store (removing all data) **
- notification
Config Hl7StoreNotification Config (Optional, Deprecated) A nested object resource. Structure is documented below.
Warning:
notification_config
is deprecated and will be removed in a future major release. Usenotification_configs
instead.- notification
Configs List<Hl7StoreNotification Configs> - A list of notification configs. Each configuration uses a filter to determine whether to publish a message (both Ingest & Create) on the corresponding notification destination. Only the message name is sent as part of the notification. Supplied by the client. Structure is documented below.
- parser
Config Hl7StoreParser Config - A nested object resource. Structure is documented below.
- pulumi
Labels Map<String,String> - The combination of labels configured directly on the resource and default labels configured on the provider.
- reject
Duplicate BooleanMessage - Determines whether duplicate messages are allowed.
- self
Link String - The fully qualified name of this dataset
- dataset string
- Identifies the dataset addressed by this request. Must be in the format
'projects/{project}/locations/{location}/datasets/{dataset}'
- effective
Labels {[key: string]: string} - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- labels {[key: string]: string}
User-supplied key-value pairs used to organize HL7v2 stores. Label keys must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: [\p{Ll}\p{Lo}][\p{Ll}\p{Lo}\p{N}-]{0,62} Label values are optional, must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: [\p{Ll}\p{Lo}\p{N}-]{0,63} No more than 64 labels can be associated with a given store. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field
effective_labels
for all of the labels present on the resource.- name string
- The resource name for the Hl7V2Store. ** Changing this property may recreate the Hl7v2 store (removing all data) **
- notification
Config Hl7StoreNotification Config (Optional, Deprecated) A nested object resource. Structure is documented below.
Warning:
notification_config
is deprecated and will be removed in a future major release. Usenotification_configs
instead.- notification
Configs Hl7StoreNotification Configs[] - A list of notification configs. Each configuration uses a filter to determine whether to publish a message (both Ingest & Create) on the corresponding notification destination. Only the message name is sent as part of the notification. Supplied by the client. Structure is documented below.
- parser
Config Hl7StoreParser Config - A nested object resource. Structure is documented below.
- pulumi
Labels {[key: string]: string} - The combination of labels configured directly on the resource and default labels configured on the provider.
- reject
Duplicate booleanMessage - Determines whether duplicate messages are allowed.
- self
Link string - The fully qualified name of this dataset
- dataset str
- Identifies the dataset addressed by this request. Must be in the format
'projects/{project}/locations/{location}/datasets/{dataset}'
- effective_
labels Mapping[str, str] - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- labels Mapping[str, str]
User-supplied key-value pairs used to organize HL7v2 stores. Label keys must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: [\p{Ll}\p{Lo}][\p{Ll}\p{Lo}\p{N}-]{0,62} Label values are optional, must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: [\p{Ll}\p{Lo}\p{N}-]{0,63} No more than 64 labels can be associated with a given store. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field
effective_labels
for all of the labels present on the resource.- name str
- The resource name for the Hl7V2Store. ** Changing this property may recreate the Hl7v2 store (removing all data) **
- notification_
config Hl7StoreNotification Config Args (Optional, Deprecated) A nested object resource. Structure is documented below.
Warning:
notification_config
is deprecated and will be removed in a future major release. Usenotification_configs
instead.- notification_
configs Sequence[Hl7StoreNotification Configs Args] - A list of notification configs. Each configuration uses a filter to determine whether to publish a message (both Ingest & Create) on the corresponding notification destination. Only the message name is sent as part of the notification. Supplied by the client. Structure is documented below.
- parser_
config Hl7StoreParser Config Args - A nested object resource. Structure is documented below.
- pulumi_
labels Mapping[str, str] - The combination of labels configured directly on the resource and default labels configured on the provider.
- reject_
duplicate_ boolmessage - Determines whether duplicate messages are allowed.
- self_
link str - The fully qualified name of this dataset
- dataset String
- Identifies the dataset addressed by this request. Must be in the format
'projects/{project}/locations/{location}/datasets/{dataset}'
- effective
Labels Map<String> - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- labels Map<String>
User-supplied key-value pairs used to organize HL7v2 stores. Label keys must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: [\p{Ll}\p{Lo}][\p{Ll}\p{Lo}\p{N}-]{0,62} Label values are optional, must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: [\p{Ll}\p{Lo}\p{N}-]{0,63} No more than 64 labels can be associated with a given store. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field
effective_labels
for all of the labels present on the resource.- name String
- The resource name for the Hl7V2Store. ** Changing this property may recreate the Hl7v2 store (removing all data) **
- notification
Config Property Map (Optional, Deprecated) A nested object resource. Structure is documented below.
Warning:
notification_config
is deprecated and will be removed in a future major release. Usenotification_configs
instead.- notification
Configs List<Property Map> - A list of notification configs. Each configuration uses a filter to determine whether to publish a message (both Ingest & Create) on the corresponding notification destination. Only the message name is sent as part of the notification. Supplied by the client. Structure is documented below.
- parser
Config Property Map - A nested object resource. Structure is documented below.
- pulumi
Labels Map<String> - The combination of labels configured directly on the resource and default labels configured on the provider.
- reject
Duplicate BooleanMessage - Determines whether duplicate messages are allowed.
- self
Link String - The fully qualified name of this dataset
Supporting Types
Hl7StoreNotificationConfig, Hl7StoreNotificationConfigArgs
- Pubsub
Topic string - The Cloud Pub/Sub topic that notifications of changes are published on. Supplied by the client. PubsubMessage.Data will contain the resource name. PubsubMessage.MessageId is the ID of this message. It is guaranteed to be unique within the topic. PubsubMessage.PublishTime is the time at which the message was published. Notifications are only sent if the topic is non-empty. Topic names must be scoped to a project. service-PROJECT_NUMBER@gcp-sa-healthcare.iam.gserviceaccount.com must have publisher permissions on the given Cloud Pub/Sub topic. Not having adequate permissions will cause the calls that send notifications to fail.
- Pubsub
Topic string - The Cloud Pub/Sub topic that notifications of changes are published on. Supplied by the client. PubsubMessage.Data will contain the resource name. PubsubMessage.MessageId is the ID of this message. It is guaranteed to be unique within the topic. PubsubMessage.PublishTime is the time at which the message was published. Notifications are only sent if the topic is non-empty. Topic names must be scoped to a project. service-PROJECT_NUMBER@gcp-sa-healthcare.iam.gserviceaccount.com must have publisher permissions on the given Cloud Pub/Sub topic. Not having adequate permissions will cause the calls that send notifications to fail.
- pubsub
Topic String - The Cloud Pub/Sub topic that notifications of changes are published on. Supplied by the client. PubsubMessage.Data will contain the resource name. PubsubMessage.MessageId is the ID of this message. It is guaranteed to be unique within the topic. PubsubMessage.PublishTime is the time at which the message was published. Notifications are only sent if the topic is non-empty. Topic names must be scoped to a project. service-PROJECT_NUMBER@gcp-sa-healthcare.iam.gserviceaccount.com must have publisher permissions on the given Cloud Pub/Sub topic. Not having adequate permissions will cause the calls that send notifications to fail.
- pubsub
Topic string - The Cloud Pub/Sub topic that notifications of changes are published on. Supplied by the client. PubsubMessage.Data will contain the resource name. PubsubMessage.MessageId is the ID of this message. It is guaranteed to be unique within the topic. PubsubMessage.PublishTime is the time at which the message was published. Notifications are only sent if the topic is non-empty. Topic names must be scoped to a project. service-PROJECT_NUMBER@gcp-sa-healthcare.iam.gserviceaccount.com must have publisher permissions on the given Cloud Pub/Sub topic. Not having adequate permissions will cause the calls that send notifications to fail.
- pubsub_
topic str - The Cloud Pub/Sub topic that notifications of changes are published on. Supplied by the client. PubsubMessage.Data will contain the resource name. PubsubMessage.MessageId is the ID of this message. It is guaranteed to be unique within the topic. PubsubMessage.PublishTime is the time at which the message was published. Notifications are only sent if the topic is non-empty. Topic names must be scoped to a project. service-PROJECT_NUMBER@gcp-sa-healthcare.iam.gserviceaccount.com must have publisher permissions on the given Cloud Pub/Sub topic. Not having adequate permissions will cause the calls that send notifications to fail.
- pubsub
Topic String - The Cloud Pub/Sub topic that notifications of changes are published on. Supplied by the client. PubsubMessage.Data will contain the resource name. PubsubMessage.MessageId is the ID of this message. It is guaranteed to be unique within the topic. PubsubMessage.PublishTime is the time at which the message was published. Notifications are only sent if the topic is non-empty. Topic names must be scoped to a project. service-PROJECT_NUMBER@gcp-sa-healthcare.iam.gserviceaccount.com must have publisher permissions on the given Cloud Pub/Sub topic. Not having adequate permissions will cause the calls that send notifications to fail.
Hl7StoreNotificationConfigs, Hl7StoreNotificationConfigsArgs
- Pubsub
Topic string - The Cloud Pub/Sub topic that notifications of changes are published on. Supplied by the client. PubsubMessage.Data will contain the resource name. PubsubMessage.MessageId is the ID of this message. It is guaranteed to be unique within the topic. PubsubMessage.PublishTime is the time at which the message was published. Notifications are only sent if the topic is non-empty. Topic names must be scoped to a project. service-PROJECT_NUMBER@gcp-sa-healthcare.iam.gserviceaccount.com must have publisher permissions on the given Cloud Pub/Sub topic. Not having adequate permissions will cause the calls that send notifications to fail. If a notification cannot be published to Cloud Pub/Sub, errors will be logged to Stackdriver
- Filter string
- Restricts notifications sent for messages matching a filter. If this is empty, all messages
are matched. Syntax: https://cloud.google.com/appengine/docs/standard/python/search/query_strings
Fields/functions available for filtering are:
- messageType, from the MSH-9.1 field. For example, NOT messageType = "ADT".
- send_date or sendDate, the YYYY-MM-DD date the message was sent in the dataset's timeZone, from the MSH-7 segment. For example, send_date < "2017-01-02".
- sendTime, the timestamp when the message was sent, using the RFC3339 time format for comparisons, from the MSH-7 segment. For example, sendTime < "2017-01-02T00:00:00-05:00".
- sendFacility, the care center that the message came from, from the MSH-4 segment. For example, sendFacility = "ABC".
- PatientId(value, type), which matches if the message lists a patient having an ID of the given value and type in the PID-2, PID-3, or PID-4 segments. For example, PatientId("123456", "MRN").
- labels.x, a string value of the label with key x as set using the Message.labels map. For example, labels."priority"="high". The operator :* can be used to assert the existence of a label. For example, labels."priority":*.
- Pubsub
Topic string - The Cloud Pub/Sub topic that notifications of changes are published on. Supplied by the client. PubsubMessage.Data will contain the resource name. PubsubMessage.MessageId is the ID of this message. It is guaranteed to be unique within the topic. PubsubMessage.PublishTime is the time at which the message was published. Notifications are only sent if the topic is non-empty. Topic names must be scoped to a project. service-PROJECT_NUMBER@gcp-sa-healthcare.iam.gserviceaccount.com must have publisher permissions on the given Cloud Pub/Sub topic. Not having adequate permissions will cause the calls that send notifications to fail. If a notification cannot be published to Cloud Pub/Sub, errors will be logged to Stackdriver
- Filter string
- Restricts notifications sent for messages matching a filter. If this is empty, all messages
are matched. Syntax: https://cloud.google.com/appengine/docs/standard/python/search/query_strings
Fields/functions available for filtering are:
- messageType, from the MSH-9.1 field. For example, NOT messageType = "ADT".
- send_date or sendDate, the YYYY-MM-DD date the message was sent in the dataset's timeZone, from the MSH-7 segment. For example, send_date < "2017-01-02".
- sendTime, the timestamp when the message was sent, using the RFC3339 time format for comparisons, from the MSH-7 segment. For example, sendTime < "2017-01-02T00:00:00-05:00".
- sendFacility, the care center that the message came from, from the MSH-4 segment. For example, sendFacility = "ABC".
- PatientId(value, type), which matches if the message lists a patient having an ID of the given value and type in the PID-2, PID-3, or PID-4 segments. For example, PatientId("123456", "MRN").
- labels.x, a string value of the label with key x as set using the Message.labels map. For example, labels."priority"="high". The operator :* can be used to assert the existence of a label. For example, labels."priority":*.
- pubsub
Topic String - The Cloud Pub/Sub topic that notifications of changes are published on. Supplied by the client. PubsubMessage.Data will contain the resource name. PubsubMessage.MessageId is the ID of this message. It is guaranteed to be unique within the topic. PubsubMessage.PublishTime is the time at which the message was published. Notifications are only sent if the topic is non-empty. Topic names must be scoped to a project. service-PROJECT_NUMBER@gcp-sa-healthcare.iam.gserviceaccount.com must have publisher permissions on the given Cloud Pub/Sub topic. Not having adequate permissions will cause the calls that send notifications to fail. If a notification cannot be published to Cloud Pub/Sub, errors will be logged to Stackdriver
- filter String
- Restricts notifications sent for messages matching a filter. If this is empty, all messages
are matched. Syntax: https://cloud.google.com/appengine/docs/standard/python/search/query_strings
Fields/functions available for filtering are:
- messageType, from the MSH-9.1 field. For example, NOT messageType = "ADT".
- send_date or sendDate, the YYYY-MM-DD date the message was sent in the dataset's timeZone, from the MSH-7 segment. For example, send_date < "2017-01-02".
- sendTime, the timestamp when the message was sent, using the RFC3339 time format for comparisons, from the MSH-7 segment. For example, sendTime < "2017-01-02T00:00:00-05:00".
- sendFacility, the care center that the message came from, from the MSH-4 segment. For example, sendFacility = "ABC".
- PatientId(value, type), which matches if the message lists a patient having an ID of the given value and type in the PID-2, PID-3, or PID-4 segments. For example, PatientId("123456", "MRN").
- labels.x, a string value of the label with key x as set using the Message.labels map. For example, labels."priority"="high". The operator :* can be used to assert the existence of a label. For example, labels."priority":*.
- pubsub
Topic string - The Cloud Pub/Sub topic that notifications of changes are published on. Supplied by the client. PubsubMessage.Data will contain the resource name. PubsubMessage.MessageId is the ID of this message. It is guaranteed to be unique within the topic. PubsubMessage.PublishTime is the time at which the message was published. Notifications are only sent if the topic is non-empty. Topic names must be scoped to a project. service-PROJECT_NUMBER@gcp-sa-healthcare.iam.gserviceaccount.com must have publisher permissions on the given Cloud Pub/Sub topic. Not having adequate permissions will cause the calls that send notifications to fail. If a notification cannot be published to Cloud Pub/Sub, errors will be logged to Stackdriver
- filter string
- Restricts notifications sent for messages matching a filter. If this is empty, all messages
are matched. Syntax: https://cloud.google.com/appengine/docs/standard/python/search/query_strings
Fields/functions available for filtering are:
- messageType, from the MSH-9.1 field. For example, NOT messageType = "ADT".
- send_date or sendDate, the YYYY-MM-DD date the message was sent in the dataset's timeZone, from the MSH-7 segment. For example, send_date < "2017-01-02".
- sendTime, the timestamp when the message was sent, using the RFC3339 time format for comparisons, from the MSH-7 segment. For example, sendTime < "2017-01-02T00:00:00-05:00".
- sendFacility, the care center that the message came from, from the MSH-4 segment. For example, sendFacility = "ABC".
- PatientId(value, type), which matches if the message lists a patient having an ID of the given value and type in the PID-2, PID-3, or PID-4 segments. For example, PatientId("123456", "MRN").
- labels.x, a string value of the label with key x as set using the Message.labels map. For example, labels."priority"="high". The operator :* can be used to assert the existence of a label. For example, labels."priority":*.
- pubsub_
topic str - The Cloud Pub/Sub topic that notifications of changes are published on. Supplied by the client. PubsubMessage.Data will contain the resource name. PubsubMessage.MessageId is the ID of this message. It is guaranteed to be unique within the topic. PubsubMessage.PublishTime is the time at which the message was published. Notifications are only sent if the topic is non-empty. Topic names must be scoped to a project. service-PROJECT_NUMBER@gcp-sa-healthcare.iam.gserviceaccount.com must have publisher permissions on the given Cloud Pub/Sub topic. Not having adequate permissions will cause the calls that send notifications to fail. If a notification cannot be published to Cloud Pub/Sub, errors will be logged to Stackdriver
- filter str
- Restricts notifications sent for messages matching a filter. If this is empty, all messages
are matched. Syntax: https://cloud.google.com/appengine/docs/standard/python/search/query_strings
Fields/functions available for filtering are:
- messageType, from the MSH-9.1 field. For example, NOT messageType = "ADT".
- send_date or sendDate, the YYYY-MM-DD date the message was sent in the dataset's timeZone, from the MSH-7 segment. For example, send_date < "2017-01-02".
- sendTime, the timestamp when the message was sent, using the RFC3339 time format for comparisons, from the MSH-7 segment. For example, sendTime < "2017-01-02T00:00:00-05:00".
- sendFacility, the care center that the message came from, from the MSH-4 segment. For example, sendFacility = "ABC".
- PatientId(value, type), which matches if the message lists a patient having an ID of the given value and type in the PID-2, PID-3, or PID-4 segments. For example, PatientId("123456", "MRN").
- labels.x, a string value of the label with key x as set using the Message.labels map. For example, labels."priority"="high". The operator :* can be used to assert the existence of a label. For example, labels."priority":*.
- pubsub
Topic String - The Cloud Pub/Sub topic that notifications of changes are published on. Supplied by the client. PubsubMessage.Data will contain the resource name. PubsubMessage.MessageId is the ID of this message. It is guaranteed to be unique within the topic. PubsubMessage.PublishTime is the time at which the message was published. Notifications are only sent if the topic is non-empty. Topic names must be scoped to a project. service-PROJECT_NUMBER@gcp-sa-healthcare.iam.gserviceaccount.com must have publisher permissions on the given Cloud Pub/Sub topic. Not having adequate permissions will cause the calls that send notifications to fail. If a notification cannot be published to Cloud Pub/Sub, errors will be logged to Stackdriver
- filter String
- Restricts notifications sent for messages matching a filter. If this is empty, all messages
are matched. Syntax: https://cloud.google.com/appengine/docs/standard/python/search/query_strings
Fields/functions available for filtering are:
- messageType, from the MSH-9.1 field. For example, NOT messageType = "ADT".
- send_date or sendDate, the YYYY-MM-DD date the message was sent in the dataset's timeZone, from the MSH-7 segment. For example, send_date < "2017-01-02".
- sendTime, the timestamp when the message was sent, using the RFC3339 time format for comparisons, from the MSH-7 segment. For example, sendTime < "2017-01-02T00:00:00-05:00".
- sendFacility, the care center that the message came from, from the MSH-4 segment. For example, sendFacility = "ABC".
- PatientId(value, type), which matches if the message lists a patient having an ID of the given value and type in the PID-2, PID-3, or PID-4 segments. For example, PatientId("123456", "MRN").
- labels.x, a string value of the label with key x as set using the Message.labels map. For example, labels."priority"="high". The operator :* can be used to assert the existence of a label. For example, labels."priority":*.
Hl7StoreParserConfig, Hl7StoreParserConfigArgs
- Allow
Null boolHeader - Determines whether messages with no header are allowed.
- Schema string
- JSON encoded string for schemas used to parse messages in this store if schematized parsing is desired.
- Segment
Terminator string - Byte(s) to be used as the segment terminator. If this is unset, '\r' will be used as segment terminator. A base64-encoded string.
- Version string
- The version of the unschematized parser to be used when a custom
schema
is not set. Default value isV1
. Possible values are:V1
,V2
,V3
.
- Allow
Null boolHeader - Determines whether messages with no header are allowed.
- Schema string
- JSON encoded string for schemas used to parse messages in this store if schematized parsing is desired.
- Segment
Terminator string - Byte(s) to be used as the segment terminator. If this is unset, '\r' will be used as segment terminator. A base64-encoded string.
- Version string
- The version of the unschematized parser to be used when a custom
schema
is not set. Default value isV1
. Possible values are:V1
,V2
,V3
.
- allow
Null BooleanHeader - Determines whether messages with no header are allowed.
- schema String
- JSON encoded string for schemas used to parse messages in this store if schematized parsing is desired.
- segment
Terminator String - Byte(s) to be used as the segment terminator. If this is unset, '\r' will be used as segment terminator. A base64-encoded string.
- version String
- The version of the unschematized parser to be used when a custom
schema
is not set. Default value isV1
. Possible values are:V1
,V2
,V3
.
- allow
Null booleanHeader - Determines whether messages with no header are allowed.
- schema string
- JSON encoded string for schemas used to parse messages in this store if schematized parsing is desired.
- segment
Terminator string - Byte(s) to be used as the segment terminator. If this is unset, '\r' will be used as segment terminator. A base64-encoded string.
- version string
- The version of the unschematized parser to be used when a custom
schema
is not set. Default value isV1
. Possible values are:V1
,V2
,V3
.
- allow_
null_ boolheader - Determines whether messages with no header are allowed.
- schema str
- JSON encoded string for schemas used to parse messages in this store if schematized parsing is desired.
- segment_
terminator str - Byte(s) to be used as the segment terminator. If this is unset, '\r' will be used as segment terminator. A base64-encoded string.
- version str
- The version of the unschematized parser to be used when a custom
schema
is not set. Default value isV1
. Possible values are:V1
,V2
,V3
.
- allow
Null BooleanHeader - Determines whether messages with no header are allowed.
- schema String
- JSON encoded string for schemas used to parse messages in this store if schematized parsing is desired.
- segment
Terminator String - Byte(s) to be used as the segment terminator. If this is unset, '\r' will be used as segment terminator. A base64-encoded string.
- version String
- The version of the unschematized parser to be used when a custom
schema
is not set. Default value isV1
. Possible values are:V1
,V2
,V3
.
Import
Hl7V2Store can be imported using any of these accepted formats:
{{dataset}}/hl7V2Stores/{{name}}
{{dataset}}/{{name}}
When using the pulumi import
command, Hl7V2Store can be imported using one of the formats above. For example:
$ pulumi import gcp:healthcare/hl7Store:Hl7Store default {{dataset}}/hl7V2Stores/{{name}}
$ pulumi import gcp:healthcare/hl7Store:Hl7Store default {{dataset}}/{{name}}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Google Cloud (GCP) Classic pulumi/pulumi-gcp
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
google-beta
Terraform Provider.