1. Packages
  2. Google Cloud (GCP) Classic
  3. API Docs
  4. vertex
  5. AiFeatureStore
Google Cloud Classic v7.16.0 published on Wednesday, Mar 27, 2024 by Pulumi

gcp.vertex.AiFeatureStore

Explore with Pulumi AI

gcp logo
Google Cloud Classic v7.16.0 published on Wednesday, Mar 27, 2024 by Pulumi

    A collection of DataItems and Annotations on them.

    To get more information about Featurestore, see:

    Example Usage

    Vertex Ai Featurestore

    import * as pulumi from "@pulumi/pulumi";
    import * as gcp from "@pulumi/gcp";
    
    const featurestore = new gcp.vertex.AiFeatureStore("featurestore", {
        name: "terraform",
        labels: {
            foo: "bar",
        },
        region: "us-central1",
        onlineServingConfig: {
            fixedNodeCount: 2,
        },
        encryptionSpec: {
            kmsKeyName: "kms-name",
        },
        forceDestroy: true,
    });
    
    import pulumi
    import pulumi_gcp as gcp
    
    featurestore = gcp.vertex.AiFeatureStore("featurestore",
        name="terraform",
        labels={
            "foo": "bar",
        },
        region="us-central1",
        online_serving_config=gcp.vertex.AiFeatureStoreOnlineServingConfigArgs(
            fixed_node_count=2,
        ),
        encryption_spec=gcp.vertex.AiFeatureStoreEncryptionSpecArgs(
            kms_key_name="kms-name",
        ),
        force_destroy=True)
    
    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.NewAiFeatureStore(ctx, "featurestore", &vertex.AiFeatureStoreArgs{
    			Name: pulumi.String("terraform"),
    			Labels: pulumi.StringMap{
    				"foo": pulumi.String("bar"),
    			},
    			Region: pulumi.String("us-central1"),
    			OnlineServingConfig: &vertex.AiFeatureStoreOnlineServingConfigArgs{
    				FixedNodeCount: pulumi.Int(2),
    			},
    			EncryptionSpec: &vertex.AiFeatureStoreEncryptionSpecArgs{
    				KmsKeyName: pulumi.String("kms-name"),
    			},
    			ForceDestroy: pulumi.Bool(true),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Gcp = Pulumi.Gcp;
    
    return await Deployment.RunAsync(() => 
    {
        var featurestore = new Gcp.Vertex.AiFeatureStore("featurestore", new()
        {
            Name = "terraform",
            Labels = 
            {
                { "foo", "bar" },
            },
            Region = "us-central1",
            OnlineServingConfig = new Gcp.Vertex.Inputs.AiFeatureStoreOnlineServingConfigArgs
            {
                FixedNodeCount = 2,
            },
            EncryptionSpec = new Gcp.Vertex.Inputs.AiFeatureStoreEncryptionSpecArgs
            {
                KmsKeyName = "kms-name",
            },
            ForceDestroy = true,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcp.vertex.AiFeatureStore;
    import com.pulumi.gcp.vertex.AiFeatureStoreArgs;
    import com.pulumi.gcp.vertex.inputs.AiFeatureStoreOnlineServingConfigArgs;
    import com.pulumi.gcp.vertex.inputs.AiFeatureStoreEncryptionSpecArgs;
    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 featurestore = new AiFeatureStore("featurestore", AiFeatureStoreArgs.builder()        
                .name("terraform")
                .labels(Map.of("foo", "bar"))
                .region("us-central1")
                .onlineServingConfig(AiFeatureStoreOnlineServingConfigArgs.builder()
                    .fixedNodeCount(2)
                    .build())
                .encryptionSpec(AiFeatureStoreEncryptionSpecArgs.builder()
                    .kmsKeyName("kms-name")
                    .build())
                .forceDestroy(true)
                .build());
    
        }
    }
    
    resources:
      featurestore:
        type: gcp:vertex:AiFeatureStore
        properties:
          name: terraform
          labels:
            foo: bar
          region: us-central1
          onlineServingConfig:
            fixedNodeCount: 2
          encryptionSpec:
            kmsKeyName: kms-name
          forceDestroy: true
    

    Vertex Ai Featurestore With Beta Fields

    import * as pulumi from "@pulumi/pulumi";
    import * as gcp from "@pulumi/gcp";
    
    const featurestore = new gcp.vertex.AiFeatureStore("featurestore", {
        name: "terraform2",
        labels: {
            foo: "bar",
        },
        region: "us-central1",
        onlineServingConfig: {
            fixedNodeCount: 2,
        },
        encryptionSpec: {
            kmsKeyName: "kms-name",
        },
        onlineStorageTtlDays: 30,
        forceDestroy: true,
    });
    
    import pulumi
    import pulumi_gcp as gcp
    
    featurestore = gcp.vertex.AiFeatureStore("featurestore",
        name="terraform2",
        labels={
            "foo": "bar",
        },
        region="us-central1",
        online_serving_config=gcp.vertex.AiFeatureStoreOnlineServingConfigArgs(
            fixed_node_count=2,
        ),
        encryption_spec=gcp.vertex.AiFeatureStoreEncryptionSpecArgs(
            kms_key_name="kms-name",
        ),
        online_storage_ttl_days=30,
        force_destroy=True)
    
    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.NewAiFeatureStore(ctx, "featurestore", &vertex.AiFeatureStoreArgs{
    			Name: pulumi.String("terraform2"),
    			Labels: pulumi.StringMap{
    				"foo": pulumi.String("bar"),
    			},
    			Region: pulumi.String("us-central1"),
    			OnlineServingConfig: &vertex.AiFeatureStoreOnlineServingConfigArgs{
    				FixedNodeCount: pulumi.Int(2),
    			},
    			EncryptionSpec: &vertex.AiFeatureStoreEncryptionSpecArgs{
    				KmsKeyName: pulumi.String("kms-name"),
    			},
    			OnlineStorageTtlDays: pulumi.Int(30),
    			ForceDestroy:         pulumi.Bool(true),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Gcp = Pulumi.Gcp;
    
    return await Deployment.RunAsync(() => 
    {
        var featurestore = new Gcp.Vertex.AiFeatureStore("featurestore", new()
        {
            Name = "terraform2",
            Labels = 
            {
                { "foo", "bar" },
            },
            Region = "us-central1",
            OnlineServingConfig = new Gcp.Vertex.Inputs.AiFeatureStoreOnlineServingConfigArgs
            {
                FixedNodeCount = 2,
            },
            EncryptionSpec = new Gcp.Vertex.Inputs.AiFeatureStoreEncryptionSpecArgs
            {
                KmsKeyName = "kms-name",
            },
            OnlineStorageTtlDays = 30,
            ForceDestroy = true,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcp.vertex.AiFeatureStore;
    import com.pulumi.gcp.vertex.AiFeatureStoreArgs;
    import com.pulumi.gcp.vertex.inputs.AiFeatureStoreOnlineServingConfigArgs;
    import com.pulumi.gcp.vertex.inputs.AiFeatureStoreEncryptionSpecArgs;
    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 featurestore = new AiFeatureStore("featurestore", AiFeatureStoreArgs.builder()        
                .name("terraform2")
                .labels(Map.of("foo", "bar"))
                .region("us-central1")
                .onlineServingConfig(AiFeatureStoreOnlineServingConfigArgs.builder()
                    .fixedNodeCount(2)
                    .build())
                .encryptionSpec(AiFeatureStoreEncryptionSpecArgs.builder()
                    .kmsKeyName("kms-name")
                    .build())
                .onlineStorageTtlDays(30)
                .forceDestroy(true)
                .build());
    
        }
    }
    
    resources:
      featurestore:
        type: gcp:vertex:AiFeatureStore
        properties:
          name: terraform2
          labels:
            foo: bar
          region: us-central1
          onlineServingConfig:
            fixedNodeCount: 2
          encryptionSpec:
            kmsKeyName: kms-name
          onlineStorageTtlDays: 30
          forceDestroy: true
    

    Vertex Ai Featurestore Scaling

    import * as pulumi from "@pulumi/pulumi";
    import * as gcp from "@pulumi/gcp";
    
    const featurestore = new gcp.vertex.AiFeatureStore("featurestore", {
        name: "terraform3",
        labels: {
            foo: "bar",
        },
        region: "us-central1",
        onlineServingConfig: {
            scaling: {
                minNodeCount: 2,
                maxNodeCount: 10,
            },
        },
        encryptionSpec: {
            kmsKeyName: "kms-name",
        },
        forceDestroy: true,
    });
    
    import pulumi
    import pulumi_gcp as gcp
    
    featurestore = gcp.vertex.AiFeatureStore("featurestore",
        name="terraform3",
        labels={
            "foo": "bar",
        },
        region="us-central1",
        online_serving_config=gcp.vertex.AiFeatureStoreOnlineServingConfigArgs(
            scaling=gcp.vertex.AiFeatureStoreOnlineServingConfigScalingArgs(
                min_node_count=2,
                max_node_count=10,
            ),
        ),
        encryption_spec=gcp.vertex.AiFeatureStoreEncryptionSpecArgs(
            kms_key_name="kms-name",
        ),
        force_destroy=True)
    
    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.NewAiFeatureStore(ctx, "featurestore", &vertex.AiFeatureStoreArgs{
    			Name: pulumi.String("terraform3"),
    			Labels: pulumi.StringMap{
    				"foo": pulumi.String("bar"),
    			},
    			Region: pulumi.String("us-central1"),
    			OnlineServingConfig: &vertex.AiFeatureStoreOnlineServingConfigArgs{
    				Scaling: &vertex.AiFeatureStoreOnlineServingConfigScalingArgs{
    					MinNodeCount: pulumi.Int(2),
    					MaxNodeCount: pulumi.Int(10),
    				},
    			},
    			EncryptionSpec: &vertex.AiFeatureStoreEncryptionSpecArgs{
    				KmsKeyName: pulumi.String("kms-name"),
    			},
    			ForceDestroy: pulumi.Bool(true),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Gcp = Pulumi.Gcp;
    
    return await Deployment.RunAsync(() => 
    {
        var featurestore = new Gcp.Vertex.AiFeatureStore("featurestore", new()
        {
            Name = "terraform3",
            Labels = 
            {
                { "foo", "bar" },
            },
            Region = "us-central1",
            OnlineServingConfig = new Gcp.Vertex.Inputs.AiFeatureStoreOnlineServingConfigArgs
            {
                Scaling = new Gcp.Vertex.Inputs.AiFeatureStoreOnlineServingConfigScalingArgs
                {
                    MinNodeCount = 2,
                    MaxNodeCount = 10,
                },
            },
            EncryptionSpec = new Gcp.Vertex.Inputs.AiFeatureStoreEncryptionSpecArgs
            {
                KmsKeyName = "kms-name",
            },
            ForceDestroy = true,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcp.vertex.AiFeatureStore;
    import com.pulumi.gcp.vertex.AiFeatureStoreArgs;
    import com.pulumi.gcp.vertex.inputs.AiFeatureStoreOnlineServingConfigArgs;
    import com.pulumi.gcp.vertex.inputs.AiFeatureStoreOnlineServingConfigScalingArgs;
    import com.pulumi.gcp.vertex.inputs.AiFeatureStoreEncryptionSpecArgs;
    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 featurestore = new AiFeatureStore("featurestore", AiFeatureStoreArgs.builder()        
                .name("terraform3")
                .labels(Map.of("foo", "bar"))
                .region("us-central1")
                .onlineServingConfig(AiFeatureStoreOnlineServingConfigArgs.builder()
                    .scaling(AiFeatureStoreOnlineServingConfigScalingArgs.builder()
                        .minNodeCount(2)
                        .maxNodeCount(10)
                        .build())
                    .build())
                .encryptionSpec(AiFeatureStoreEncryptionSpecArgs.builder()
                    .kmsKeyName("kms-name")
                    .build())
                .forceDestroy(true)
                .build());
    
        }
    }
    
    resources:
      featurestore:
        type: gcp:vertex:AiFeatureStore
        properties:
          name: terraform3
          labels:
            foo: bar
          region: us-central1
          onlineServingConfig:
            scaling:
              minNodeCount: 2
              maxNodeCount: 10
          encryptionSpec:
            kmsKeyName: kms-name
          forceDestroy: true
    

    Create AiFeatureStore Resource

    new AiFeatureStore(name: string, args?: AiFeatureStoreArgs, opts?: CustomResourceOptions);
    @overload
    def AiFeatureStore(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       encryption_spec: Optional[AiFeatureStoreEncryptionSpecArgs] = None,
                       force_destroy: Optional[bool] = None,
                       labels: Optional[Mapping[str, str]] = None,
                       name: Optional[str] = None,
                       online_serving_config: Optional[AiFeatureStoreOnlineServingConfigArgs] = None,
                       online_storage_ttl_days: Optional[int] = 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:

    EncryptionSpec AiFeatureStoreEncryptionSpec
    If set, both of the online and offline data storage will be secured by this key. Structure is documented below.
    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.

    Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.

    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 AiFeatureStoreOnlineServingConfig
    Config for online serving resources. Structure is documented below.
    OnlineStorageTtlDays int
    TTL in days for feature values that will be stored in online serving storage. The Feature Store online storage periodically removes obsolete feature values older than onlineStorageTtlDays since the feature generation time. Note that onlineStorageTtlDays should be less than or equal to offlineStorageTtlDays for each EntityType under a featurestore. If not set, default to 4000 days
    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
    EncryptionSpec AiFeatureStoreEncryptionSpecArgs
    If set, both of the online and offline data storage will be secured by this key. Structure is documented below.
    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.

    Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.

    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.
    OnlineStorageTtlDays int
    TTL in days for feature values that will be stored in online serving storage. The Feature Store online storage periodically removes obsolete feature values older than onlineStorageTtlDays since the feature generation time. Note that onlineStorageTtlDays should be less than or equal to offlineStorageTtlDays for each EntityType under a featurestore. If not set, default to 4000 days
    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
    encryptionSpec AiFeatureStoreEncryptionSpec
    If set, both of the online and offline data storage will be secured by this key. Structure is documented below.
    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.

    Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.

    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 AiFeatureStoreOnlineServingConfig
    Config for online serving resources. Structure is documented below.
    onlineStorageTtlDays Integer
    TTL in days for feature values that will be stored in online serving storage. The Feature Store online storage periodically removes obsolete feature values older than onlineStorageTtlDays since the feature generation time. Note that onlineStorageTtlDays should be less than or equal to offlineStorageTtlDays for each EntityType under a featurestore. If not set, default to 4000 days
    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
    encryptionSpec AiFeatureStoreEncryptionSpec
    If set, both of the online and offline data storage will be secured by this key. Structure is documented below.
    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.

    Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.

    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 AiFeatureStoreOnlineServingConfig
    Config for online serving resources. Structure is documented below.
    onlineStorageTtlDays number
    TTL in days for feature values that will be stored in online serving storage. The Feature Store online storage periodically removes obsolete feature values older than onlineStorageTtlDays since the feature generation time. Note that onlineStorageTtlDays should be less than or equal to offlineStorageTtlDays for each EntityType under a featurestore. If not set, default to 4000 days
    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
    encryption_spec AiFeatureStoreEncryptionSpecArgs
    If set, both of the online and offline data storage will be secured by this key. Structure is documented below.
    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.

    Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.

    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.
    online_storage_ttl_days int
    TTL in days for feature values that will be stored in online serving storage. The Feature Store online storage periodically removes obsolete feature values older than onlineStorageTtlDays since the feature generation time. Note that onlineStorageTtlDays should be less than or equal to offlineStorageTtlDays for each EntityType under a featurestore. If not set, default to 4000 days
    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
    encryptionSpec Property Map
    If set, both of the online and offline data storage will be secured by this key. Structure is documented below.
    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.

    Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.

    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.
    onlineStorageTtlDays Number
    TTL in days for feature values that will be stored in online serving storage. The Feature Store online storage periodically removes obsolete feature values older than onlineStorageTtlDays since the feature generation time. Note that onlineStorageTtlDays should be less than or equal to offlineStorageTtlDays for each EntityType under a featurestore. If not set, default to 4000 days
    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.
    EffectiveLabels Dictionary<string, string>
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    Etag string
    Used to perform consistent read-modify-write updates.
    Id string
    The provider-assigned unique ID for this managed resource.
    PulumiLabels Dictionary<string, string>
    The combination of labels configured directly on the resource and default labels configured on the provider.
    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.
    EffectiveLabels map[string]string
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    Etag string
    Used to perform consistent read-modify-write updates.
    Id string
    The provider-assigned unique ID for this managed resource.
    PulumiLabels map[string]string
    The combination of labels configured directly on the resource and default labels configured on the provider.
    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.
    effectiveLabels Map<String,String>
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    etag String
    Used to perform consistent read-modify-write updates.
    id String
    The provider-assigned unique ID for this managed resource.
    pulumiLabels Map<String,String>
    The combination of labels configured directly on the resource and default labels configured on the provider.
    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.
    effectiveLabels {[key: string]: string}
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    etag string
    Used to perform consistent read-modify-write updates.
    id string
    The provider-assigned unique ID for this managed resource.
    pulumiLabels {[key: string]: string}
    The combination of labels configured directly on the resource and default labels configured on the provider.
    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.
    effective_labels Mapping[str, str]
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    etag str
    Used to perform consistent read-modify-write updates.
    id str
    The provider-assigned unique ID for this managed resource.
    pulumi_labels Mapping[str, str]
    The combination of labels configured directly on the resource and default labels configured on the provider.
    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.
    effectiveLabels Map<String>
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    etag String
    Used to perform consistent read-modify-write updates.
    id String
    The provider-assigned unique ID for this managed resource.
    pulumiLabels Map<String>
    The combination of labels configured directly on the resource and default labels configured on the provider.
    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 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,
            effective_labels: Optional[Mapping[str, str]] = None,
            encryption_spec: Optional[AiFeatureStoreEncryptionSpecArgs] = 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,
            online_storage_ttl_days: Optional[int] = None,
            project: Optional[str] = None,
            pulumi_labels: Optional[Mapping[str, 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.
    EffectiveLabels Dictionary<string, string>
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    EncryptionSpec AiFeatureStoreEncryptionSpec
    If set, both of the online and offline data storage will be secured by this key. Structure is documented below.
    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.

    Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.

    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 AiFeatureStoreOnlineServingConfig
    Config for online serving resources. Structure is documented below.
    OnlineStorageTtlDays int
    TTL in days for feature values that will be stored in online serving storage. The Feature Store online storage periodically removes obsolete feature values older than onlineStorageTtlDays since the feature generation time. Note that onlineStorageTtlDays should be less than or equal to offlineStorageTtlDays for each EntityType under a featurestore. If not set, default to 4000 days
    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    PulumiLabels Dictionary<string, string>
    The combination of labels configured directly on the resource and default labels configured on the provider.
    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.
    EffectiveLabels map[string]string
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    EncryptionSpec AiFeatureStoreEncryptionSpecArgs
    If set, both of the online and offline data storage will be secured by this key. Structure is documented below.
    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.

    Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.

    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.
    OnlineStorageTtlDays int
    TTL in days for feature values that will be stored in online serving storage. The Feature Store online storage periodically removes obsolete feature values older than onlineStorageTtlDays since the feature generation time. Note that onlineStorageTtlDays should be less than or equal to offlineStorageTtlDays for each EntityType under a featurestore. If not set, default to 4000 days
    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    PulumiLabels map[string]string
    The combination of labels configured directly on the resource and default labels configured on the provider.
    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.
    effectiveLabels Map<String,String>
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    encryptionSpec AiFeatureStoreEncryptionSpec
    If set, both of the online and offline data storage will be secured by this key. Structure is documented below.
    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.

    Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.

    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 AiFeatureStoreOnlineServingConfig
    Config for online serving resources. Structure is documented below.
    onlineStorageTtlDays Integer
    TTL in days for feature values that will be stored in online serving storage. The Feature Store online storage periodically removes obsolete feature values older than onlineStorageTtlDays since the feature generation time. Note that onlineStorageTtlDays should be less than or equal to offlineStorageTtlDays for each EntityType under a featurestore. If not set, default to 4000 days
    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    pulumiLabels Map<String,String>
    The combination of labels configured directly on the resource and default labels configured on the provider.
    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.
    effectiveLabels {[key: string]: string}
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    encryptionSpec AiFeatureStoreEncryptionSpec
    If set, both of the online and offline data storage will be secured by this key. Structure is documented below.
    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.

    Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.

    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 AiFeatureStoreOnlineServingConfig
    Config for online serving resources. Structure is documented below.
    onlineStorageTtlDays number
    TTL in days for feature values that will be stored in online serving storage. The Feature Store online storage periodically removes obsolete feature values older than onlineStorageTtlDays since the feature generation time. Note that onlineStorageTtlDays should be less than or equal to offlineStorageTtlDays for each EntityType under a featurestore. If not set, default to 4000 days
    project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    pulumiLabels {[key: string]: string}
    The combination of labels configured directly on the resource and default labels configured on the provider.
    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.
    effective_labels Mapping[str, str]
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    encryption_spec AiFeatureStoreEncryptionSpecArgs
    If set, both of the online and offline data storage will be secured by this key. Structure is documented below.
    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.

    Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.

    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.
    online_storage_ttl_days int
    TTL in days for feature values that will be stored in online serving storage. The Feature Store online storage periodically removes obsolete feature values older than onlineStorageTtlDays since the feature generation time. Note that onlineStorageTtlDays should be less than or equal to offlineStorageTtlDays for each EntityType under a featurestore. If not set, default to 4000 days
    project str
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    pulumi_labels Mapping[str, str]
    The combination of labels configured directly on the resource and default labels configured on the provider.
    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.
    effectiveLabels Map<String>
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    encryptionSpec Property Map
    If set, both of the online and offline data storage will be secured by this key. Structure is documented below.
    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.

    Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.

    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.
    onlineStorageTtlDays Number
    TTL in days for feature values that will be stored in online serving storage. The Feature Store online storage periodically removes obsolete feature values older than onlineStorageTtlDays since the feature generation time. Note that onlineStorageTtlDays should be less than or equal to offlineStorageTtlDays for each EntityType under a featurestore. If not set, default to 4000 days
    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    pulumiLabels Map<String>
    The combination of labels configured directly on the resource and default labels configured on the provider.
    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

    AiFeatureStoreEncryptionSpec, AiFeatureStoreEncryptionSpecArgs

    KmsKeyName string
    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 compute resource is created.
    KmsKeyName string
    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 compute resource is created.
    kmsKeyName String
    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 compute resource is created.
    kmsKeyName string
    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 compute resource is created.
    kms_key_name str
    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 compute resource is created.
    kmsKeyName String
    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 compute resource is created.

    AiFeatureStoreOnlineServingConfig, AiFeatureStoreOnlineServingConfigArgs

    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.
    Scaling AiFeatureStoreOnlineServingConfigScaling
    Online serving scaling configuration. Only one of fixedNodeCount and scaling can be set. Setting one will reset the other. Structure is documented below.
    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.
    Scaling AiFeatureStoreOnlineServingConfigScaling
    Online serving scaling configuration. Only one of fixedNodeCount and scaling can be set. Setting one will reset the other. Structure is documented below.
    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.
    scaling AiFeatureStoreOnlineServingConfigScaling
    Online serving scaling configuration. Only one of fixedNodeCount and scaling can be set. Setting one will reset the other. Structure is documented below.
    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.
    scaling AiFeatureStoreOnlineServingConfigScaling
    Online serving scaling configuration. Only one of fixedNodeCount and scaling can be set. Setting one will reset the other. Structure is documented below.
    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.
    scaling AiFeatureStoreOnlineServingConfigScaling
    Online serving scaling configuration. Only one of fixedNodeCount and scaling can be set. Setting one will reset the other. Structure is documented below.
    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.
    scaling Property Map
    Online serving scaling configuration. Only one of fixedNodeCount and scaling can be set. Setting one will reset the other. Structure is documented below.

    AiFeatureStoreOnlineServingConfigScaling, AiFeatureStoreOnlineServingConfigScalingArgs

    MaxNodeCount int
    The maximum number of nodes to scale up to. Must be greater than minNodeCount, and less than or equal to 10 times of 'minNodeCount'.
    MinNodeCount int
    The minimum number of nodes to scale down to. Must be greater than or equal to 1.
    MaxNodeCount int
    The maximum number of nodes to scale up to. Must be greater than minNodeCount, and less than or equal to 10 times of 'minNodeCount'.
    MinNodeCount int
    The minimum number of nodes to scale down to. Must be greater than or equal to 1.
    maxNodeCount Integer
    The maximum number of nodes to scale up to. Must be greater than minNodeCount, and less than or equal to 10 times of 'minNodeCount'.
    minNodeCount Integer
    The minimum number of nodes to scale down to. Must be greater than or equal to 1.
    maxNodeCount number
    The maximum number of nodes to scale up to. Must be greater than minNodeCount, and less than or equal to 10 times of 'minNodeCount'.
    minNodeCount number
    The minimum number of nodes to scale down to. Must be greater than or equal to 1.
    max_node_count int
    The maximum number of nodes to scale up to. Must be greater than minNodeCount, and less than or equal to 10 times of 'minNodeCount'.
    min_node_count int
    The minimum number of nodes to scale down to. Must be greater than or equal to 1.
    maxNodeCount Number
    The maximum number of nodes to scale up to. Must be greater than minNodeCount, and less than or equal to 10 times of 'minNodeCount'.
    minNodeCount Number
    The minimum number of nodes to scale down to. Must be greater than or equal to 1.

    Import

    Featurestore can be imported using any of these accepted formats:

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

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

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

    • {{name}}

    When using the pulumi import command, Featurestore can be imported using one of the formats above. For example:

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

    Package Details

    Repository
    Google Cloud (GCP) Classic pulumi/pulumi-gcp
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the google-beta Terraform Provider.
    gcp logo
    Google Cloud Classic v7.16.0 published on Wednesday, Mar 27, 2024 by Pulumi