1. Packages
  2. Google Cloud Native
  3. API Docs
  4. healthcare
  5. healthcare/v1beta1
  6. AnnotationStore

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

google-native.healthcare/v1beta1.AnnotationStore

Explore with Pulumi AI

google-native logo

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

    Creates a new Annotation store within the parent dataset.

    Create AnnotationStore Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new AnnotationStore(name: string, args: AnnotationStoreArgs, opts?: CustomResourceOptions);
    @overload
    def AnnotationStore(resource_name: str,
                        args: AnnotationStoreArgs,
                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def AnnotationStore(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        dataset_id: Optional[str] = None,
                        annotation_store_id: Optional[str] = None,
                        labels: Optional[Mapping[str, str]] = None,
                        location: Optional[str] = None,
                        name: Optional[str] = None,
                        project: Optional[str] = None)
    func NewAnnotationStore(ctx *Context, name string, args AnnotationStoreArgs, opts ...ResourceOption) (*AnnotationStore, error)
    public AnnotationStore(string name, AnnotationStoreArgs args, CustomResourceOptions? opts = null)
    public AnnotationStore(String name, AnnotationStoreArgs args)
    public AnnotationStore(String name, AnnotationStoreArgs args, CustomResourceOptions options)
    
    type: google-native:healthcare/v1beta1:AnnotationStore
    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 AnnotationStoreArgs
    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 AnnotationStoreArgs
    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 AnnotationStoreArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AnnotationStoreArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AnnotationStoreArgs
    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 annotationStoreResource = new GoogleNative.Healthcare.V1Beta1.AnnotationStore("annotationStoreResource", new()
    {
        DatasetId = "string",
        AnnotationStoreId = "string",
        Labels = 
        {
            { "string", "string" },
        },
        Location = "string",
        Name = "string",
        Project = "string",
    });
    
    example, err := healthcarev1beta1.NewAnnotationStore(ctx, "annotationStoreResource", &healthcarev1beta1.AnnotationStoreArgs{
    	DatasetId:         pulumi.String("string"),
    	AnnotationStoreId: pulumi.String("string"),
    	Labels: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Location: pulumi.String("string"),
    	Name:     pulumi.String("string"),
    	Project:  pulumi.String("string"),
    })
    
    var annotationStoreResource = new AnnotationStore("annotationStoreResource", AnnotationStoreArgs.builder()
        .datasetId("string")
        .annotationStoreId("string")
        .labels(Map.of("string", "string"))
        .location("string")
        .name("string")
        .project("string")
        .build());
    
    annotation_store_resource = google_native.healthcare.v1beta1.AnnotationStore("annotationStoreResource",
        dataset_id="string",
        annotation_store_id="string",
        labels={
            "string": "string",
        },
        location="string",
        name="string",
        project="string")
    
    const annotationStoreResource = new google_native.healthcare.v1beta1.AnnotationStore("annotationStoreResource", {
        datasetId: "string",
        annotationStoreId: "string",
        labels: {
            string: "string",
        },
        location: "string",
        name: "string",
        project: "string",
    });
    
    type: google-native:healthcare/v1beta1:AnnotationStore
    properties:
        annotationStoreId: string
        datasetId: string
        labels:
            string: string
        location: string
        name: string
        project: string
    

    AnnotationStore 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 AnnotationStore resource accepts the following input properties:

    DatasetId string
    AnnotationStoreId string
    The ID of the Annotation store that is being created. The string must match the following regex: [\p{L}\p{N}_\-\.]{1,256}.
    Labels Dictionary<string, string>
    Optional. User-supplied key-value pairs used to organize Annotation 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}{0,62} Label values 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.
    Location string
    Name string
    Resource name of the Annotation store, of the form projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/annotationStores/{annotation_store_id}.
    Project string
    DatasetId string
    AnnotationStoreId string
    The ID of the Annotation store that is being created. The string must match the following regex: [\p{L}\p{N}_\-\.]{1,256}.
    Labels map[string]string
    Optional. User-supplied key-value pairs used to organize Annotation 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}{0,62} Label values 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.
    Location string
    Name string
    Resource name of the Annotation store, of the form projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/annotationStores/{annotation_store_id}.
    Project string
    datasetId String
    annotationStoreId String
    The ID of the Annotation store that is being created. The string must match the following regex: [\p{L}\p{N}_\-\.]{1,256}.
    labels Map<String,String>
    Optional. User-supplied key-value pairs used to organize Annotation 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}{0,62} Label values 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.
    location String
    name String
    Resource name of the Annotation store, of the form projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/annotationStores/{annotation_store_id}.
    project String
    datasetId string
    annotationStoreId string
    The ID of the Annotation store that is being created. The string must match the following regex: [\p{L}\p{N}_\-\.]{1,256}.
    labels {[key: string]: string}
    Optional. User-supplied key-value pairs used to organize Annotation 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}{0,62} Label values 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.
    location string
    name string
    Resource name of the Annotation store, of the form projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/annotationStores/{annotation_store_id}.
    project string
    dataset_id str
    annotation_store_id str
    The ID of the Annotation store that is being created. The string must match the following regex: [\p{L}\p{N}_\-\.]{1,256}.
    labels Mapping[str, str]
    Optional. User-supplied key-value pairs used to organize Annotation 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}{0,62} Label values 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.
    location str
    name str
    Resource name of the Annotation store, of the form projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/annotationStores/{annotation_store_id}.
    project str
    datasetId String
    annotationStoreId String
    The ID of the Annotation store that is being created. The string must match the following regex: [\p{L}\p{N}_\-\.]{1,256}.
    labels Map<String>
    Optional. User-supplied key-value pairs used to organize Annotation 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}{0,62} Label values 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.
    location String
    name String
    Resource name of the Annotation store, of the form projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/annotationStores/{annotation_store_id}.
    project String

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Package Details

    Repository
    Google Cloud Native pulumi/pulumi-google-native
    License
    Apache-2.0
    google-native logo

    Google Cloud Native is in preview. Google Cloud Classic is fully supported.

    Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi