Google Cloud (GCP) Classic

v6.44.0 published on Tuesday, Nov 29, 2022 by Pulumi

AiFeatureStoreIamBinding

A collection of DataItems and Annotations on them.

To get more information about Featurestore, see:

Example Usage

Vertex Ai Featurestore

using System.Collections.Generic;
using Pulumi;
using Gcp = Pulumi.Gcp;

return await Deployment.RunAsync(() => 
{
    var featurestore = new Gcp.Vertex.AiFeatureStore("featurestore", new()
    {
        EncryptionSpec = new Gcp.Vertex.Inputs.AiFeatureStoreEncryptionSpecArgs
        {
            KmsKeyName = "kms-name",
        },
        ForceDestroy = true,
        Labels = 
        {
            { "foo", "bar" },
        },
        OnlineServingConfig = new Gcp.Vertex.Inputs.AiFeatureStoreOnlineServingConfigArgs
        {
            FixedNodeCount = 2,
        },
        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.NewAiFeatureStore(ctx, "featurestore", &vertex.AiFeatureStoreArgs{
			EncryptionSpec: &vertex.AiFeatureStoreEncryptionSpecArgs{
				KmsKeyName: pulumi.String("kms-name"),
			},
			ForceDestroy: pulumi.Bool(true),
			Labels: pulumi.StringMap{
				"foo": pulumi.String("bar"),
			},
			OnlineServingConfig: &vertex.AiFeatureStoreOnlineServingConfigArgs{
				FixedNodeCount: pulumi.Int(2),
			},
			Region: pulumi.String("us-central1"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.vertex.AiFeatureStore;
import com.pulumi.gcp.vertex.AiFeatureStoreArgs;
import com.pulumi.gcp.vertex.inputs.AiFeatureStoreEncryptionSpecArgs;
import com.pulumi.gcp.vertex.inputs.AiFeatureStoreOnlineServingConfigArgs;
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()        
            .encryptionSpec(AiFeatureStoreEncryptionSpecArgs.builder()
                .kmsKeyName("kms-name")
                .build())
            .forceDestroy(true)
            .labels(Map.of("foo", "bar"))
            .onlineServingConfig(AiFeatureStoreOnlineServingConfigArgs.builder()
                .fixedNodeCount(2)
                .build())
            .region("us-central1")
            .build());

    }
}
import pulumi
import pulumi_gcp as gcp

featurestore = gcp.vertex.AiFeatureStore("featurestore",
    encryption_spec=gcp.vertex.AiFeatureStoreEncryptionSpecArgs(
        kms_key_name="kms-name",
    ),
    force_destroy=True,
    labels={
        "foo": "bar",
    },
    online_serving_config=gcp.vertex.AiFeatureStoreOnlineServingConfigArgs(
        fixed_node_count=2,
    ),
    region="us-central1")
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";

const featurestore = new gcp.vertex.AiFeatureStore("featurestore", {
    encryptionSpec: {
        kmsKeyName: "kms-name",
    },
    forceDestroy: true,
    labels: {
        foo: "bar",
    },
    onlineServingConfig: {
        fixedNodeCount: 2,
    },
    region: "us-central1",
});
resources:
  featurestore:
    type: gcp:vertex:AiFeatureStore
    properties:
      encryptionSpec:
        kmsKeyName: kms-name
      forceDestroy: true
      labels:
        foo: bar
      onlineServingConfig:
        fixedNodeCount: 2
      region: us-central1

Create AiFeatureStoreIamBinding Resource

new AiFeatureStoreIamBinding(name: string, args: AiFeatureStoreIamBindingArgs, opts?: CustomResourceOptions);
@overload
def AiFeatureStoreIamBinding(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             condition: Optional[AiFeatureStoreIamBindingConditionArgs] = None,
                             featurestore: Optional[str] = None,
                             members: Optional[Sequence[str]] = None,
                             project: Optional[str] = None,
                             region: Optional[str] = None,
                             role: Optional[str] = None)
@overload
def AiFeatureStoreIamBinding(resource_name: str,
                             args: AiFeatureStoreIamBindingArgs,
                             opts: Optional[ResourceOptions] = None)
func NewAiFeatureStoreIamBinding(ctx *Context, name string, args AiFeatureStoreIamBindingArgs, opts ...ResourceOption) (*AiFeatureStoreIamBinding, error)
public AiFeatureStoreIamBinding(string name, AiFeatureStoreIamBindingArgs args, CustomResourceOptions? opts = null)
public AiFeatureStoreIamBinding(String name, AiFeatureStoreIamBindingArgs args)
public AiFeatureStoreIamBinding(String name, AiFeatureStoreIamBindingArgs args, CustomResourceOptions options)
type: gcp:vertex:AiFeatureStoreIamBinding
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

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

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

Featurestore string
Members List<string>
Role string
Condition AiFeatureStoreIamBindingConditionArgs
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

Featurestore string
Members []string
Role string
Condition AiFeatureStoreIamBindingConditionArgs
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

featurestore String
members List<String>
role String
condition AiFeatureStoreIamBindingConditionArgs
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

featurestore string
members string[]
role string
condition AiFeatureStoreIamBindingConditionArgs
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

featurestore str
members Sequence[str]
role str
condition AiFeatureStoreIamBindingConditionArgs
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

featurestore String
members List<String>
role String
condition Property Map
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 AiFeatureStoreIamBinding resource produces the following output properties:

Etag string
Id string

The provider-assigned unique ID for this managed resource.

Etag string
Id string

The provider-assigned unique ID for this managed resource.

etag String
id String

The provider-assigned unique ID for this managed resource.

etag string
id string

The provider-assigned unique ID for this managed resource.

etag str
id str

The provider-assigned unique ID for this managed resource.

etag String
id String

The provider-assigned unique ID for this managed resource.

Look up Existing AiFeatureStoreIamBinding Resource

Get an existing AiFeatureStoreIamBinding 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?: AiFeatureStoreIamBindingState, opts?: CustomResourceOptions): AiFeatureStoreIamBinding
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        condition: Optional[AiFeatureStoreIamBindingConditionArgs] = None,
        etag: Optional[str] = None,
        featurestore: Optional[str] = None,
        members: Optional[Sequence[str]] = None,
        project: Optional[str] = None,
        region: Optional[str] = None,
        role: Optional[str] = None) -> AiFeatureStoreIamBinding
func GetAiFeatureStoreIamBinding(ctx *Context, name string, id IDInput, state *AiFeatureStoreIamBindingState, opts ...ResourceOption) (*AiFeatureStoreIamBinding, error)
public static AiFeatureStoreIamBinding Get(string name, Input<string> id, AiFeatureStoreIamBindingState? state, CustomResourceOptions? opts = null)
public static AiFeatureStoreIamBinding get(String name, Output<String> id, AiFeatureStoreIamBindingState 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:
Condition AiFeatureStoreIamBindingConditionArgs
Etag string
Featurestore string
Members List<string>
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

Role string
Condition AiFeatureStoreIamBindingConditionArgs
Etag string
Featurestore string
Members []string
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

Role string
condition AiFeatureStoreIamBindingConditionArgs
etag String
featurestore String
members List<String>
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

role String
condition AiFeatureStoreIamBindingConditionArgs
etag string
featurestore string
members string[]
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

role string
condition AiFeatureStoreIamBindingConditionArgs
etag str
featurestore str
members Sequence[str]
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

role str
condition Property Map
etag String
featurestore String
members List<String>
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

role String

Supporting Types

AiFeatureStoreIamBindingCondition

Expression string
Title string
Description string
Expression string
Title string
Description string
expression String
title String
description String
expression string
title string
description string
expression String
title String
description String

Import

Featurestore can be imported using any of these accepted formats

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

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.