gcp logo
Google Cloud Classic v6.57.0, May 30 23

gcp.healthcare.Dataset

Explore with Pulumi AI

A Healthcare Dataset is a toplevel logical grouping of dicomStores, fhirStores and hl7V2Stores.

To get more information about Dataset, see:

Example Usage

Healthcare Dataset Basic

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;

return await Deployment.RunAsync(() => 
{
    var @default = new Gcp.Healthcare.Dataset("default", new()
    {
        Location = "us-central1",
        TimeZone = "UTC",
    });

});
package main

import (
	"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/healthcare"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := healthcare.NewDataset(ctx, "default", &healthcare.DatasetArgs{
			Location: pulumi.String("us-central1"),
			TimeZone: pulumi.String("UTC"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
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 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 default_ = new Dataset("default", DatasetArgs.builder()        
            .location("us-central1")
            .timeZone("UTC")
            .build());

    }
}
import pulumi
import pulumi_gcp as gcp

default = gcp.healthcare.Dataset("default",
    location="us-central1",
    time_zone="UTC")
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";

const _default = new gcp.healthcare.Dataset("default", {
    location: "us-central1",
    timeZone: "UTC",
});
resources:
  default:
    type: gcp:healthcare:Dataset
    properties:
      location: us-central1
      timeZone: UTC

Create Dataset Resource

new Dataset(name: string, args: DatasetArgs, opts?: CustomResourceOptions);
@overload
def Dataset(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            location: Optional[str] = None,
            name: Optional[str] = None,
            project: Optional[str] = None,
            time_zone: Optional[str] = None)
@overload
def Dataset(resource_name: str,
            args: DatasetArgs,
            opts: Optional[ResourceOptions] = None)
func NewDataset(ctx *Context, name string, args DatasetArgs, opts ...ResourceOption) (*Dataset, error)
public Dataset(string name, DatasetArgs args, CustomResourceOptions? opts = null)
public Dataset(String name, DatasetArgs args)
public Dataset(String name, DatasetArgs args, CustomResourceOptions options)
type: gcp:healthcare:Dataset
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args DatasetArgs
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 DatasetArgs
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 DatasetArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args DatasetArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args DatasetArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Dataset Resource Properties

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

Inputs

The Dataset resource accepts the following input properties:

Location string

The location for the Dataset.


Name string

The resource name for the Dataset.

Project string

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

TimeZone string

The default timezone used by this dataset. Must be a either a valid IANA time zone name such as "America/New_York" or empty, which defaults to UTC. This is used for parsing times in resources (e.g., HL7 messages) where no explicit timezone is specified.

Location string

The location for the Dataset.


Name string

The resource name for the Dataset.

Project string

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

TimeZone string

The default timezone used by this dataset. Must be a either a valid IANA time zone name such as "America/New_York" or empty, which defaults to UTC. This is used for parsing times in resources (e.g., HL7 messages) where no explicit timezone is specified.

location String

The location for the Dataset.


name String

The resource name for the Dataset.

project String

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

timeZone String

The default timezone used by this dataset. Must be a either a valid IANA time zone name such as "America/New_York" or empty, which defaults to UTC. This is used for parsing times in resources (e.g., HL7 messages) where no explicit timezone is specified.

location string

The location for the Dataset.


name string

The resource name for the Dataset.

project string

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

timeZone string

The default timezone used by this dataset. Must be a either a valid IANA time zone name such as "America/New_York" or empty, which defaults to UTC. This is used for parsing times in resources (e.g., HL7 messages) where no explicit timezone is specified.

location str

The location for the Dataset.


name str

The resource name for the Dataset.

project str

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

time_zone str

The default timezone used by this dataset. Must be a either a valid IANA time zone name such as "America/New_York" or empty, which defaults to UTC. This is used for parsing times in resources (e.g., HL7 messages) where no explicit timezone is specified.

location String

The location for the Dataset.


name String

The resource name for the Dataset.

project String

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

timeZone String

The default timezone used by this dataset. Must be a either a valid IANA time zone name such as "America/New_York" or empty, which defaults to UTC. This is used for parsing times in resources (e.g., HL7 messages) where no explicit timezone is specified.

Outputs

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

Id string

The provider-assigned unique ID for this managed resource.

SelfLink string

The fully qualified name of this dataset

Id string

The provider-assigned unique ID for this managed resource.

SelfLink string

The fully qualified name of this dataset

id String

The provider-assigned unique ID for this managed resource.

selfLink String

The fully qualified name of this dataset

id string

The provider-assigned unique ID for this managed resource.

selfLink string

The fully qualified name of this dataset

id str

The provider-assigned unique ID for this managed resource.

self_link str

The fully qualified name of this dataset

id String

The provider-assigned unique ID for this managed resource.

selfLink String

The fully qualified name of this dataset

Look up Existing Dataset Resource

Get an existing Dataset 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?: DatasetState, opts?: CustomResourceOptions): Dataset
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        location: Optional[str] = None,
        name: Optional[str] = None,
        project: Optional[str] = None,
        self_link: Optional[str] = None,
        time_zone: Optional[str] = None) -> Dataset
func GetDataset(ctx *Context, name string, id IDInput, state *DatasetState, opts ...ResourceOption) (*Dataset, error)
public static Dataset Get(string name, Input<string> id, DatasetState? state, CustomResourceOptions? opts = null)
public static Dataset get(String name, Output<String> id, DatasetState 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.
The following state arguments are supported:
Location string

The location for the Dataset.


Name string

The resource name for the Dataset.

Project string

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

SelfLink string

The fully qualified name of this dataset

TimeZone string

The default timezone used by this dataset. Must be a either a valid IANA time zone name such as "America/New_York" or empty, which defaults to UTC. This is used for parsing times in resources (e.g., HL7 messages) where no explicit timezone is specified.

Location string

The location for the Dataset.


Name string

The resource name for the Dataset.

Project string

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

SelfLink string

The fully qualified name of this dataset

TimeZone string

The default timezone used by this dataset. Must be a either a valid IANA time zone name such as "America/New_York" or empty, which defaults to UTC. This is used for parsing times in resources (e.g., HL7 messages) where no explicit timezone is specified.

location String

The location for the Dataset.


name String

The resource name for the Dataset.

project String

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

selfLink String

The fully qualified name of this dataset

timeZone String

The default timezone used by this dataset. Must be a either a valid IANA time zone name such as "America/New_York" or empty, which defaults to UTC. This is used for parsing times in resources (e.g., HL7 messages) where no explicit timezone is specified.

location string

The location for the Dataset.


name string

The resource name for the Dataset.

project string

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

selfLink string

The fully qualified name of this dataset

timeZone string

The default timezone used by this dataset. Must be a either a valid IANA time zone name such as "America/New_York" or empty, which defaults to UTC. This is used for parsing times in resources (e.g., HL7 messages) where no explicit timezone is specified.

location str

The location for the Dataset.


name str

The resource name for the Dataset.

project str

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

self_link str

The fully qualified name of this dataset

time_zone str

The default timezone used by this dataset. Must be a either a valid IANA time zone name such as "America/New_York" or empty, which defaults to UTC. This is used for parsing times in resources (e.g., HL7 messages) where no explicit timezone is specified.

location String

The location for the Dataset.


name String

The resource name for the Dataset.

project String

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

selfLink String

The fully qualified name of this dataset

timeZone String

The default timezone used by this dataset. Must be a either a valid IANA time zone name such as "America/New_York" or empty, which defaults to UTC. This is used for parsing times in resources (e.g., HL7 messages) where no explicit timezone is specified.

Import

Dataset can be imported using any of these accepted formats

 $ pulumi import gcp:healthcare/dataset:Dataset default projects/{{project}}/locations/{{location}}/datasets/{{name}}
 $ pulumi import gcp:healthcare/dataset:Dataset default {{project}}/{{location}}/{{name}}
 $ pulumi import gcp:healthcare/dataset:Dataset default {{location}}/{{name}}

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.