Ai Metadata Store Args
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",
});
Content copied to clipboard
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")
Content copied to clipboard
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",
});
});
Content copied to clipboard
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
})
}
Content copied to clipboard
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());
}
}
Content copied to clipboard
resources:
store:
type: gcp:vertex:AiMetadataStore
properties:
name: test-store
description: Store to test the terraform module
region: us-central1
Content copied to clipboard
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 thepulumi 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}}
Content copied to clipboard
$ pulumi import gcp:vertex/aiMetadataStore:AiMetadataStore default {{project}}/{{region}}/{{name}}
Content copied to clipboard
$ pulumi import gcp:vertex/aiMetadataStore:AiMetadataStore default {{region}}/{{name}}
Content copied to clipboard
$ pulumi import gcp:vertex/aiMetadataStore:AiMetadataStore default {{name}}
Content copied to clipboard
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)