Google Cloud (GCP) Classic

Pulumi Official
Package maintained by Pulumi
v6.24.0 published on Tuesday, May 17, 2022 by Pulumi

AiMetadataStore

Import

MetadataStore can be imported using any of these accepted formats

 $ 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}}

Example Usage

Vertex Ai Metadata Store

using Pulumi;
using Gcp = Pulumi.Gcp;

class MyStack : Stack
{
    public MyStack()
    {
        var store = new Gcp.Vertex.AiMetadataStore("store", new Gcp.Vertex.AiMetadataStoreArgs
        {
            Description = "Store to test the terraform module",
            Region = "us-central1",
        });
    }

}
package main

import (
	"github.com/pulumi/pulumi-gcp/sdk/v6/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{
			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 java.util.*;
import java.io.*;
import java.nio.*;
import com.pulumi.*;

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()        
            .description("Store to test the terraform module")
            .region("us-central1")
            .build());

        }
}
import pulumi
import pulumi_gcp as gcp

store = gcp.vertex.AiMetadataStore("store",
    description="Store to test the terraform module",
    region="us-central1")
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";

const store = new gcp.vertex.AiMetadataStore("store", {
    description: "Store to test the terraform module",
    region: "us-central1",
});
resources:
  store:
    type: gcp:vertex:AiMetadataStore
    properties:
      description: Store to test the terraform module
      region: us-central1

Create a AiMetadataStore Resource

new AiMetadataStore(name: string, args?: AiMetadataStoreArgs, opts?: CustomResourceOptions);
@overload
def AiMetadataStore(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    description: Optional[str] = None,
                    encryption_spec: Optional[AiMetadataStoreEncryptionSpecArgs] = None,
                    name: Optional[str] = None,
                    project: Optional[str] = None,
                    region: Optional[str] = None)
@overload
def AiMetadataStore(resource_name: str,
                    args: Optional[AiMetadataStoreArgs] = None,
                    opts: Optional[ResourceOptions] = None)
func NewAiMetadataStore(ctx *Context, name string, args *AiMetadataStoreArgs, opts ...ResourceOption) (*AiMetadataStore, error)
public AiMetadataStore(string name, AiMetadataStoreArgs? args = null, CustomResourceOptions? opts = null)
public AiMetadataStore(String name, AiMetadataStoreArgs args)
public AiMetadataStore(String name, AiMetadataStoreArgs args, CustomResourceOptions options)
type: gcp:vertex:AiMetadataStore
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

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

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

Description string

Description of the MetadataStore.

EncryptionSpec AiMetadataStoreEncryptionSpecArgs

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.

Name string

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.

Project string

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

Region string

The region of the Metadata Store. eg us-central1

Description string

Description of the MetadataStore.

EncryptionSpec AiMetadataStoreEncryptionSpecArgs

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.

Name string

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.

Project string

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

Region string

The region of the Metadata Store. eg us-central1

description String

Description of the MetadataStore.

encryptionSpec AiMetadataStoreEncryptionSpecArgs

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.

name String

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.

project String

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

region String

The region of the Metadata Store. eg us-central1

description string

Description of the MetadataStore.

encryptionSpec AiMetadataStoreEncryptionSpecArgs

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.

name string

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.

project string

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

region string

The region of the Metadata Store. eg us-central1

description str

Description of the MetadataStore.

encryption_spec AiMetadataStoreEncryptionSpecArgs

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.

name str

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.

project str

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

region str

The region of the Metadata Store. eg us-central1

description String

Description of the MetadataStore.

encryptionSpec Property Map

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.

name String

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.

project String

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

region String

The region of the Metadata Store. eg us-central1

Outputs

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

CreateTime string

The timestamp of when the MetadataStore was created in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.

Id string

The provider-assigned unique ID for this managed resource.

States List<AiMetadataStoreState>

State information of the MetadataStore.

UpdateTime string

The timestamp of when the MetadataStore was last updated in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.

CreateTime string

The timestamp of when the MetadataStore was created in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.

Id string

The provider-assigned unique ID for this managed resource.

States []AiMetadataStoreStateType

State information of the MetadataStore.

UpdateTime string

The timestamp of when the MetadataStore was last updated in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.

createTime String

The timestamp of when the MetadataStore was created in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.

id String

The provider-assigned unique ID for this managed resource.

states ListMetadataStoreState>

State information of the MetadataStore.

updateTime String

The timestamp of when the MetadataStore was last updated in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.

createTime string

The timestamp of when the MetadataStore was created in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.

id string

The provider-assigned unique ID for this managed resource.

states AiMetadataStoreState[]

State information of the MetadataStore.

updateTime string

The timestamp of when the MetadataStore was last updated in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.

create_time str

The timestamp of when the MetadataStore was created in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.

id str

The provider-assigned unique ID for this managed resource.

states Sequence[AiMetadataStoreState]

State information of the MetadataStore.

update_time str

The timestamp of when the MetadataStore was last updated in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.

createTime String

The timestamp of when the MetadataStore was created in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.

id String

The provider-assigned unique ID for this managed resource.

states List

State information of the MetadataStore.

updateTime String

The timestamp of when the MetadataStore was last updated in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.

Look up an Existing AiMetadataStore Resource

Get an existing AiMetadataStore 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?: AiMetadataStoreState, opts?: CustomResourceOptions): AiMetadataStore
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        create_time: Optional[str] = None,
        description: Optional[str] = None,
        encryption_spec: Optional[AiMetadataStoreEncryptionSpecArgs] = None,
        name: Optional[str] = None,
        project: Optional[str] = None,
        region: Optional[str] = None,
        states: Optional[Sequence[AiMetadataStoreStateArgs]] = None,
        update_time: Optional[str] = None) -> AiMetadataStore
func GetAiMetadataStore(ctx *Context, name string, id IDInput, state *AiMetadataStoreState, opts ...ResourceOption) (*AiMetadataStore, error)
public static AiMetadataStore Get(string name, Input<string> id, AiMetadataStoreState? state, CustomResourceOptions? opts = null)
public static AiMetadataStore get(String name, Output<String> id, AiMetadataStoreState 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:
CreateTime string

The timestamp of when the MetadataStore was created in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.

Description string

Description of the MetadataStore.

EncryptionSpec AiMetadataStoreEncryptionSpecArgs

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.

Name string

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.

Project string

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

Region string

The region of the Metadata Store. eg us-central1

States List<AiMetadataStoreStateArgs>

State information of the MetadataStore.

UpdateTime string

The timestamp of when the MetadataStore was last updated in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.

CreateTime string

The timestamp of when the MetadataStore was created in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.

Description string

Description of the MetadataStore.

EncryptionSpec AiMetadataStoreEncryptionSpecArgs

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.

Name string

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.

Project string

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

Region string

The region of the Metadata Store. eg us-central1

States []AiMetadataStoreStateTypeArgs

State information of the MetadataStore.

UpdateTime string

The timestamp of when the MetadataStore was last updated in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.

createTime String

The timestamp of when the MetadataStore was created in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.

description String

Description of the MetadataStore.

encryptionSpec AiMetadataStoreEncryptionSpecArgs

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.

name String

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.

project String

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

region String

The region of the Metadata Store. eg us-central1

states ListMetadataStoreStateArgs>

State information of the MetadataStore.

updateTime String

The timestamp of when the MetadataStore was last updated in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.

createTime string

The timestamp of when the MetadataStore was created in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.

description string

Description of the MetadataStore.

encryptionSpec AiMetadataStoreEncryptionSpecArgs

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.

name string

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.

project string

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

region string

The region of the Metadata Store. eg us-central1

states AiMetadataStoreStateArgs[]

State information of the MetadataStore.

updateTime string

The timestamp of when the MetadataStore was last updated in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.

create_time str

The timestamp of when the MetadataStore was created in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.

description str

Description of the MetadataStore.

encryption_spec AiMetadataStoreEncryptionSpecArgs

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.

name str

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.

project str

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

region str

The region of the Metadata Store. eg us-central1

states Sequence[AiMetadataStoreStateArgs]

State information of the MetadataStore.

update_time str

The timestamp of when the MetadataStore was last updated in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.

createTime String

The timestamp of when the MetadataStore was created in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.

description String

Description of the MetadataStore.

encryptionSpec Property Map

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.

name String

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.

project String

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

region String

The region of the Metadata Store. eg us-central1

states List

State information of the MetadataStore.

updateTime String

The timestamp of when the MetadataStore was last updated in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.

Supporting Types

AiMetadataStoreEncryptionSpec

KmsKeyName string

Required. The Cloud KMS resource identifier of the customer managed encryption key used to protect a resource. Has the form: projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key. The key needs to be in the same region as where the resource is created.

KmsKeyName string

Required. The Cloud KMS resource identifier of the customer managed encryption key used to protect a resource. Has the form: projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key. The key needs to be in the same region as where the resource is created.

kmsKeyName String

Required. The Cloud KMS resource identifier of the customer managed encryption key used to protect a resource. Has the form: projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key. The key needs to be in the same region as where the resource is created.

kmsKeyName string

Required. The Cloud KMS resource identifier of the customer managed encryption key used to protect a resource. Has the form: projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key. The key needs to be in the same region as where the resource is created.

kms_key_name str

Required. The Cloud KMS resource identifier of the customer managed encryption key used to protect a resource. Has the form: projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key. The key needs to be in the same region as where the resource is created.

kmsKeyName String

Required. The Cloud KMS resource identifier of the customer managed encryption key used to protect a resource. Has the form: projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key. The key needs to be in the same region as where the resource is created.

AiMetadataStoreState

Package Details

Repository
https://github.com/pulumi/pulumi-gcp
License
Apache-2.0
Notes

This Pulumi package is based on the google-beta Terraform Provider.