AiMetadataStoreArgs

data class AiMetadataStoreArgs(val description: Output<String>? = null, val encryptionSpec: Output<AiMetadataStoreEncryptionSpecArgs>? = null, val name: Output<String>? = null, val project: Output<String>? = null, val region: Output<String>? = null) : ConvertibleToJava<AiMetadataStoreArgs>

Example Usage

Vertex Ai Metadata Store

import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const store = new gcp.vertex.AiMetadataStore("store", {
name: "test-store",
description: "Store to test the terraform module",
region: "us-central1",
});
import pulumi
import pulumi_gcp as gcp
store = gcp.vertex.AiMetadataStore("store",
name="test-store",
description="Store to test the terraform module",
region="us-central1")
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() =>
{
var store = new Gcp.Vertex.AiMetadataStore("store", new()
{
Name = "test-store",
Description = "Store to test the terraform module",
Region = "us-central1",
});
});
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/vertex"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := vertex.NewAiMetadataStore(ctx, "store", &vertex.AiMetadataStoreArgs{
Name: pulumi.String("test-store"),
Description: pulumi.String("Store to test the terraform module"),
Region: pulumi.String("us-central1"),
})
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.vertex.AiMetadataStore;
import com.pulumi.gcp.vertex.AiMetadataStoreArgs;
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 store = new AiMetadataStore("store", AiMetadataStoreArgs.builder()
.name("test-store")
.description("Store to test the terraform module")
.region("us-central1")
.build());
}
}
resources:
store:
type: gcp:vertex:AiMetadataStore
properties:
name: test-store
description: Store to test the terraform module
region: us-central1

Import

MetadataStore can be imported using any of these accepted formats:

  • projects/{{project}}/locations/{{region}}/metadataStores/{{name}}

  • {{project}}/{{region}}/{{name}}

  • {{region}}/{{name}}

  • {{name}} When using the pulumi import command, MetadataStore can be imported using one of the formats above. For example:

$ pulumi import gcp:vertex/aiMetadataStore:AiMetadataStore default projects/{{project}}/locations/{{region}}/metadataStores/{{name}}
$ pulumi import gcp:vertex/aiMetadataStore:AiMetadataStore default {{project}}/{{region}}/{{name}}
$ pulumi import gcp:vertex/aiMetadataStore:AiMetadataStore default {{region}}/{{name}}
$ pulumi import gcp:vertex/aiMetadataStore:AiMetadataStore default {{name}}

Constructors

Link copied to clipboard
constructor(description: Output<String>? = null, encryptionSpec: Output<AiMetadataStoreEncryptionSpecArgs>? = null, name: Output<String>? = null, project: Output<String>? = null, region: Output<String>? = null)

Properties

Link copied to clipboard
val description: Output<String>? = null

Description of the MetadataStore.

Link copied to clipboard

Customer-managed encryption key spec for a MetadataStore. If set, this MetadataStore and all sub-resources of this MetadataStore will be secured by this key. Structure is documented below.

Link copied to clipboard
val name: Output<String>? = null

The name of the MetadataStore. This value may be up to 60 characters, and valid characters are a-z0-9_. The first character cannot be a number.

Link copied to clipboard
val project: Output<String>? = null

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

Link copied to clipboard
val region: Output<String>? = null

The region of the Metadata Store. eg us-central1

Functions

Link copied to clipboard
open override fun toJava(): AiMetadataStoreArgs