Google Cloud (GCP) Classic

Pulumi Official
Package maintained by Pulumi
v6.32.0 published on Wednesday, Jul 20, 2022 by Pulumi

AiFeatureStore

Import

Featurestore can be imported using any of these accepted formats

 $ pulumi import gcp:vertex/aiFeatureStore:AiFeatureStore default projects/{{project}}/locations/{{region}}/featurestores/{{name}}
 $ pulumi import gcp:vertex/aiFeatureStore:AiFeatureStore default {{project}}/{{region}}/{{name}}
 $ pulumi import gcp:vertex/aiFeatureStore:AiFeatureStore default {{region}}/{{name}}
 $ pulumi import gcp:vertex/aiFeatureStore:AiFeatureStore default {{name}}

Example Usage

Vertex Ai Featurestore

using Pulumi;
using Gcp = Pulumi.Gcp;

class MyStack : Stack
{
    public MyStack()
    {
        var featurestore = new Gcp.Vertex.AiFeatureStore("featurestore", new Gcp.Vertex.AiFeatureStoreArgs
        {
            Labels = 
            {
                { "foo", "bar" },
            },
            Region = "us-central1",
            OnlineServingConfig = new Gcp.Vertex.Inputs.AiFeatureStoreOnlineServingConfigArgs
            {
                FixedNodeCount = 2,
            },
            ForceDestroy = true,
        }, new CustomResourceOptions
        {
            Provider = google_beta,
        });
    }

}
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.NewAiFeatureStore(ctx, "featurestore", &vertex.AiFeatureStoreArgs{
			Labels: pulumi.StringMap{
				"foo": pulumi.String("bar"),
			},
			Region: pulumi.String("us-central1"),
			OnlineServingConfig: &vertex.AiFeatureStoreOnlineServingConfigArgs{
				FixedNodeCount: pulumi.Int(2),
			},
			ForceDestroy: pulumi.Bool(true),
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import java.util.*;
import java.io.*;
import java.nio.*;
import com.pulumi.*;
import com.pulumi.resources.CustomResourceOptions;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var featurestore = new AiFeatureStore("featurestore", AiFeatureStoreArgs.builder()        
            .labels(Map.of("foo", "bar"))
            .region("us-central1")
            .onlineServingConfig(AiFeatureStoreOnlineServingConfigArgs.builder()
                .fixedNodeCount(2)
                .build())
            .forceDestroy(true)
            .build(), CustomResourceOptions.builder()
                .provider(google_beta)
                .build());

    }
}
import pulumi
import pulumi_gcp as gcp

featurestore = gcp.vertex.AiFeatureStore("featurestore",
    labels={
        "foo": "bar",
    },
    region="us-central1",
    online_serving_config=gcp.vertex.AiFeatureStoreOnlineServingConfigArgs(
        fixed_node_count=2,
    ),
    force_destroy=True,
    opts=pulumi.ResourceOptions(provider=google_beta))
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";

const featurestore = new gcp.vertex.AiFeatureStore("featurestore", {
    labels: {
        foo: "bar",
    },
    region: "us-central1",
    onlineServingConfig: {
        fixedNodeCount: 2,
    },
    forceDestroy: true,
}, {
    provider: google_beta,
});
resources:
  featurestore:
    type: gcp:vertex:AiFeatureStore
    properties:
      labels:
        foo: bar
      region: us-central1
      onlineServingConfig:
        fixedNodeCount: 2
      forceDestroy: true
    options:
      provider: ${["google-beta"]}

Create a AiFeatureStore Resource

new AiFeatureStore(name: string, args?: AiFeatureStoreArgs, opts?: CustomResourceOptions);
@overload
def AiFeatureStore(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   force_destroy: Optional[bool] = None,
                   labels: Optional[Mapping[str, str]] = None,
                   name: Optional[str] = None,
                   online_serving_config: Optional[AiFeatureStoreOnlineServingConfigArgs] = None,
                   project: Optional[str] = None,
                   region: Optional[str] = None)
@overload
def AiFeatureStore(resource_name: str,
                   args: Optional[AiFeatureStoreArgs] = None,
                   opts: Optional[ResourceOptions] = None)
func NewAiFeatureStore(ctx *Context, name string, args *AiFeatureStoreArgs, opts ...ResourceOption) (*AiFeatureStore, error)
public AiFeatureStore(string name, AiFeatureStoreArgs? args = null, CustomResourceOptions? opts = null)
public AiFeatureStore(String name, AiFeatureStoreArgs args)
public AiFeatureStore(String name, AiFeatureStoreArgs args, CustomResourceOptions options)
type: gcp:vertex:AiFeatureStore
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

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

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

ForceDestroy bool

If set to true, any EntityTypes and Features for this Featurestore will also be deleted

Labels Dictionary<string, string>

A set of key/value label pairs to assign to this Featurestore.

Name string

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

OnlineServingConfig AiFeatureStoreOnlineServingConfigArgs

Config for online serving resources. Structure is documented below.

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 dataset. eg us-central1

ForceDestroy bool

If set to true, any EntityTypes and Features for this Featurestore will also be deleted

Labels map[string]string

A set of key/value label pairs to assign to this Featurestore.

Name string

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

OnlineServingConfig AiFeatureStoreOnlineServingConfigArgs

Config for online serving resources. Structure is documented below.

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 dataset. eg us-central1

forceDestroy Boolean

If set to true, any EntityTypes and Features for this Featurestore will also be deleted

labels Map<String,String>

A set of key/value label pairs to assign to this Featurestore.

name String

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

onlineServingConfig AiFeatureStoreOnlineServingConfigArgs

Config for online serving resources. Structure is documented below.

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 dataset. eg us-central1

forceDestroy boolean

If set to true, any EntityTypes and Features for this Featurestore will also be deleted

labels {[key: string]: string}

A set of key/value label pairs to assign to this Featurestore.

name string

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

onlineServingConfig AiFeatureStoreOnlineServingConfigArgs

Config for online serving resources. Structure is documented below.

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 dataset. eg us-central1

force_destroy bool

If set to true, any EntityTypes and Features for this Featurestore will also be deleted

labels Mapping[str, str]

A set of key/value label pairs to assign to this Featurestore.

name str

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

online_serving_config AiFeatureStoreOnlineServingConfigArgs

Config for online serving resources. Structure is documented below.

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 dataset. eg us-central1

forceDestroy Boolean

If set to true, any EntityTypes and Features for this Featurestore will also be deleted

labels Map<String>

A set of key/value label pairs to assign to this Featurestore.

name String

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

onlineServingConfig Property Map

Config for online serving resources. Structure is documented below.

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 dataset. eg us-central1

Outputs

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

CreateTime string

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

Etag string

Used to perform consistent read-modify-write updates.

Id string

The provider-assigned unique ID for this managed resource.

UpdateTime string

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

CreateTime string

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

Etag string

Used to perform consistent read-modify-write updates.

Id string

The provider-assigned unique ID for this managed resource.

UpdateTime string

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

createTime String

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

etag String

Used to perform consistent read-modify-write updates.

id String

The provider-assigned unique ID for this managed resource.

updateTime String

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

createTime string

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

etag string

Used to perform consistent read-modify-write updates.

id string

The provider-assigned unique ID for this managed resource.

updateTime string

The timestamp of when the featurestore 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 featurestore was created in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.

etag str

Used to perform consistent read-modify-write updates.

id str

The provider-assigned unique ID for this managed resource.

update_time str

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

createTime String

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

etag String

Used to perform consistent read-modify-write updates.

id String

The provider-assigned unique ID for this managed resource.

updateTime String

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

Look up an Existing AiFeatureStore Resource

Get an existing AiFeatureStore 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?: AiFeatureStoreState, opts?: CustomResourceOptions): AiFeatureStore
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        create_time: Optional[str] = None,
        etag: Optional[str] = None,
        force_destroy: Optional[bool] = None,
        labels: Optional[Mapping[str, str]] = None,
        name: Optional[str] = None,
        online_serving_config: Optional[AiFeatureStoreOnlineServingConfigArgs] = None,
        project: Optional[str] = None,
        region: Optional[str] = None,
        update_time: Optional[str] = None) -> AiFeatureStore
func GetAiFeatureStore(ctx *Context, name string, id IDInput, state *AiFeatureStoreState, opts ...ResourceOption) (*AiFeatureStore, error)
public static AiFeatureStore Get(string name, Input<string> id, AiFeatureStoreState? state, CustomResourceOptions? opts = null)
public static AiFeatureStore get(String name, Output<String> id, AiFeatureStoreState 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 featurestore was created in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.

Etag string

Used to perform consistent read-modify-write updates.

ForceDestroy bool

If set to true, any EntityTypes and Features for this Featurestore will also be deleted

Labels Dictionary<string, string>

A set of key/value label pairs to assign to this Featurestore.

Name string

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

OnlineServingConfig AiFeatureStoreOnlineServingConfigArgs

Config for online serving resources. Structure is documented below.

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 dataset. eg us-central1

UpdateTime string

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

CreateTime string

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

Etag string

Used to perform consistent read-modify-write updates.

ForceDestroy bool

If set to true, any EntityTypes and Features for this Featurestore will also be deleted

Labels map[string]string

A set of key/value label pairs to assign to this Featurestore.

Name string

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

OnlineServingConfig AiFeatureStoreOnlineServingConfigArgs

Config for online serving resources. Structure is documented below.

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 dataset. eg us-central1

UpdateTime string

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

createTime String

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

etag String

Used to perform consistent read-modify-write updates.

forceDestroy Boolean

If set to true, any EntityTypes and Features for this Featurestore will also be deleted

labels Map<String,String>

A set of key/value label pairs to assign to this Featurestore.

name String

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

onlineServingConfig AiFeatureStoreOnlineServingConfigArgs

Config for online serving resources. Structure is documented below.

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 dataset. eg us-central1

updateTime String

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

createTime string

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

etag string

Used to perform consistent read-modify-write updates.

forceDestroy boolean

If set to true, any EntityTypes and Features for this Featurestore will also be deleted

labels {[key: string]: string}

A set of key/value label pairs to assign to this Featurestore.

name string

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

onlineServingConfig AiFeatureStoreOnlineServingConfigArgs

Config for online serving resources. Structure is documented below.

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 dataset. eg us-central1

updateTime string

The timestamp of when the featurestore 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 featurestore was created in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.

etag str

Used to perform consistent read-modify-write updates.

force_destroy bool

If set to true, any EntityTypes and Features for this Featurestore will also be deleted

labels Mapping[str, str]

A set of key/value label pairs to assign to this Featurestore.

name str

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

online_serving_config AiFeatureStoreOnlineServingConfigArgs

Config for online serving resources. Structure is documented below.

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 dataset. eg us-central1

update_time str

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

createTime String

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

etag String

Used to perform consistent read-modify-write updates.

forceDestroy Boolean

If set to true, any EntityTypes and Features for this Featurestore will also be deleted

labels Map<String>

A set of key/value label pairs to assign to this Featurestore.

name String

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

onlineServingConfig Property Map

Config for online serving resources. Structure is documented below.

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 dataset. eg us-central1

updateTime String

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

Supporting Types

AiFeatureStoreOnlineServingConfig

FixedNodeCount int

The number of nodes for each cluster. The number of nodes will not scale automatically but can be scaled manually by providing different values when updating.

FixedNodeCount int

The number of nodes for each cluster. The number of nodes will not scale automatically but can be scaled manually by providing different values when updating.

fixedNodeCount Integer

The number of nodes for each cluster. The number of nodes will not scale automatically but can be scaled manually by providing different values when updating.

fixedNodeCount number

The number of nodes for each cluster. The number of nodes will not scale automatically but can be scaled manually by providing different values when updating.

fixed_node_count int

The number of nodes for each cluster. The number of nodes will not scale automatically but can be scaled manually by providing different values when updating.

fixedNodeCount Number

The number of nodes for each cluster. The number of nodes will not scale automatically but can be scaled manually by providing different values when updating.

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.