gcp.vertex.AiIndexEndpoint
Explore with Pulumi AI
An endpoint indexes are deployed into. An index endpoint can have multiple deployed indexes.
To get more information about IndexEndpoint, see:
Example Usage
Vertex Ai Index Endpoint
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() =>
{
var vertexNetwork = Gcp.Compute.GetNetwork.Invoke(new()
{
Name = "network-name",
});
var vertexRange = new Gcp.Compute.GlobalAddress("vertexRange", new()
{
Purpose = "VPC_PEERING",
AddressType = "INTERNAL",
PrefixLength = 24,
Network = vertexNetwork.Apply(getNetworkResult => getNetworkResult.Id),
});
var vertexVpcConnection = new Gcp.ServiceNetworking.Connection("vertexVpcConnection", new()
{
Network = vertexNetwork.Apply(getNetworkResult => getNetworkResult.Id),
Service = "servicenetworking.googleapis.com",
ReservedPeeringRanges = new[]
{
vertexRange.Name,
},
});
var project = Gcp.Organizations.GetProject.Invoke();
var indexEndpoint = new Gcp.Vertex.AiIndexEndpoint("indexEndpoint", new()
{
DisplayName = "sample-endpoint",
Description = "A sample vertex endpoint",
Region = "us-central1",
Labels =
{
{ "label-one", "value-one" },
},
Network = Output.Tuple(project, vertexNetwork).Apply(values =>
{
var project = values.Item1;
var vertexNetwork = values.Item2;
return $"projects/{project.Apply(getProjectResult => getProjectResult.Number)}/global/networks/{vertexNetwork.Apply(getNetworkResult => getNetworkResult.Name)}";
}),
}, new CustomResourceOptions
{
DependsOn = new[]
{
vertexVpcConnection,
},
});
});
package main
import (
"fmt"
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/compute"
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/organizations"
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/servicenetworking"
"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 {
vertexNetwork, err := compute.LookupNetwork(ctx, &compute.LookupNetworkArgs{
Name: "network-name",
}, nil)
if err != nil {
return err
}
vertexRange, err := compute.NewGlobalAddress(ctx, "vertexRange", &compute.GlobalAddressArgs{
Purpose: pulumi.String("VPC_PEERING"),
AddressType: pulumi.String("INTERNAL"),
PrefixLength: pulumi.Int(24),
Network: *pulumi.String(vertexNetwork.Id),
})
if err != nil {
return err
}
vertexVpcConnection, err := servicenetworking.NewConnection(ctx, "vertexVpcConnection", &servicenetworking.ConnectionArgs{
Network: *pulumi.String(vertexNetwork.Id),
Service: pulumi.String("servicenetworking.googleapis.com"),
ReservedPeeringRanges: pulumi.StringArray{
vertexRange.Name,
},
})
if err != nil {
return err
}
project, err := organizations.LookupProject(ctx, nil, nil)
if err != nil {
return err
}
_, err = vertex.NewAiIndexEndpoint(ctx, "indexEndpoint", &vertex.AiIndexEndpointArgs{
DisplayName: pulumi.String("sample-endpoint"),
Description: pulumi.String("A sample vertex endpoint"),
Region: pulumi.String("us-central1"),
Labels: pulumi.StringMap{
"label-one": pulumi.String("value-one"),
},
Network: pulumi.String(fmt.Sprintf("projects/%v/global/networks/%v", project.Number, vertexNetwork.Name)),
}, pulumi.DependsOn([]pulumi.Resource{
vertexVpcConnection,
}))
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.compute.ComputeFunctions;
import com.pulumi.gcp.compute.inputs.GetNetworkArgs;
import com.pulumi.gcp.compute.GlobalAddress;
import com.pulumi.gcp.compute.GlobalAddressArgs;
import com.pulumi.gcp.servicenetworking.Connection;
import com.pulumi.gcp.servicenetworking.ConnectionArgs;
import com.pulumi.gcp.organizations.OrganizationsFunctions;
import com.pulumi.gcp.organizations.inputs.GetProjectArgs;
import com.pulumi.gcp.vertex.AiIndexEndpoint;
import com.pulumi.gcp.vertex.AiIndexEndpointArgs;
import com.pulumi.resources.CustomResourceOptions;
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) {
final var vertexNetwork = ComputeFunctions.getNetwork(GetNetworkArgs.builder()
.name("network-name")
.build());
var vertexRange = new GlobalAddress("vertexRange", GlobalAddressArgs.builder()
.purpose("VPC_PEERING")
.addressType("INTERNAL")
.prefixLength(24)
.network(vertexNetwork.applyValue(getNetworkResult -> getNetworkResult.id()))
.build());
var vertexVpcConnection = new Connection("vertexVpcConnection", ConnectionArgs.builder()
.network(vertexNetwork.applyValue(getNetworkResult -> getNetworkResult.id()))
.service("servicenetworking.googleapis.com")
.reservedPeeringRanges(vertexRange.name())
.build());
final var project = OrganizationsFunctions.getProject();
var indexEndpoint = new AiIndexEndpoint("indexEndpoint", AiIndexEndpointArgs.builder()
.displayName("sample-endpoint")
.description("A sample vertex endpoint")
.region("us-central1")
.labels(Map.of("label-one", "value-one"))
.network(String.format("projects/%s/global/networks/%s", project.applyValue(getProjectResult -> getProjectResult.number()),vertexNetwork.applyValue(getNetworkResult -> getNetworkResult.name())))
.build(), CustomResourceOptions.builder()
.dependsOn(vertexVpcConnection)
.build());
}
}
import pulumi
import pulumi_gcp as gcp
vertex_network = gcp.compute.get_network(name="network-name")
vertex_range = gcp.compute.GlobalAddress("vertexRange",
purpose="VPC_PEERING",
address_type="INTERNAL",
prefix_length=24,
network=vertex_network.id)
vertex_vpc_connection = gcp.servicenetworking.Connection("vertexVpcConnection",
network=vertex_network.id,
service="servicenetworking.googleapis.com",
reserved_peering_ranges=[vertex_range.name])
project = gcp.organizations.get_project()
index_endpoint = gcp.vertex.AiIndexEndpoint("indexEndpoint",
display_name="sample-endpoint",
description="A sample vertex endpoint",
region="us-central1",
labels={
"label-one": "value-one",
},
network=f"projects/{project.number}/global/networks/{vertex_network.name}",
opts=pulumi.ResourceOptions(depends_on=[vertex_vpc_connection]))
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const vertexNetwork = gcp.compute.getNetwork({
name: "network-name",
});
const vertexRange = new gcp.compute.GlobalAddress("vertexRange", {
purpose: "VPC_PEERING",
addressType: "INTERNAL",
prefixLength: 24,
network: vertexNetwork.then(vertexNetwork => vertexNetwork.id),
});
const vertexVpcConnection = new gcp.servicenetworking.Connection("vertexVpcConnection", {
network: vertexNetwork.then(vertexNetwork => vertexNetwork.id),
service: "servicenetworking.googleapis.com",
reservedPeeringRanges: [vertexRange.name],
});
const project = gcp.organizations.getProject({});
const indexEndpoint = new gcp.vertex.AiIndexEndpoint("indexEndpoint", {
displayName: "sample-endpoint",
description: "A sample vertex endpoint",
region: "us-central1",
labels: {
"label-one": "value-one",
},
network: Promise.all([project, vertexNetwork]).then(([project, vertexNetwork]) => `projects/${project.number}/global/networks/${vertexNetwork.name}`),
}, {
dependsOn: [vertexVpcConnection],
});
resources:
indexEndpoint:
type: gcp:vertex:AiIndexEndpoint
properties:
displayName: sample-endpoint
description: A sample vertex endpoint
region: us-central1
labels:
label-one: value-one
network: projects/${project.number}/global/networks/${vertexNetwork.name}
options:
dependson:
- ${vertexVpcConnection}
vertexVpcConnection:
type: gcp:servicenetworking:Connection
properties:
network: ${vertexNetwork.id}
service: servicenetworking.googleapis.com
reservedPeeringRanges:
- ${vertexRange.name}
vertexRange:
type: gcp:compute:GlobalAddress
properties:
purpose: VPC_PEERING
addressType: INTERNAL
prefixLength: 24
network: ${vertexNetwork.id}
variables:
vertexNetwork:
fn::invoke:
Function: gcp:compute:getNetwork
Arguments:
name: network-name
project:
fn::invoke:
Function: gcp:organizations:getProject
Arguments: {}
Create AiIndexEndpoint Resource
new AiIndexEndpoint(name: string, args: AiIndexEndpointArgs, opts?: CustomResourceOptions);
@overload
def AiIndexEndpoint(resource_name: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
labels: Optional[Mapping[str, str]] = None,
network: Optional[str] = None,
project: Optional[str] = None,
region: Optional[str] = None)
@overload
def AiIndexEndpoint(resource_name: str,
args: AiIndexEndpointArgs,
opts: Optional[ResourceOptions] = None)
func NewAiIndexEndpoint(ctx *Context, name string, args AiIndexEndpointArgs, opts ...ResourceOption) (*AiIndexEndpoint, error)
public AiIndexEndpoint(string name, AiIndexEndpointArgs args, CustomResourceOptions? opts = null)
public AiIndexEndpoint(String name, AiIndexEndpointArgs args)
public AiIndexEndpoint(String name, AiIndexEndpointArgs args, CustomResourceOptions options)
type: gcp:vertex:AiIndexEndpoint
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AiIndexEndpointArgs
- 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 AiIndexEndpointArgs
- 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 AiIndexEndpointArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AiIndexEndpointArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AiIndexEndpointArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
AiIndexEndpoint 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 AiIndexEndpoint resource accepts the following input properties:
- Display
Name string The display name of the Index. The name can be up to 128 characters long and can consist of any UTF-8 characters.
- Description string
The description of the Index.
- Labels Dictionary<string, string>
The labels with user-defined metadata to organize your Indexes.
- Network string
The full name of the Google Compute Engine network to which the index endpoint should be peered. Private services access must already be configured for the network. If left unspecified, the index endpoint is not peered with any network. Format:
projects/{project}/global/networks/{network}
. Where{project}
is a project number, as in12345
, and{network}
is network name.- 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 index endpoint. eg us-central1
- Display
Name string The display name of the Index. The name can be up to 128 characters long and can consist of any UTF-8 characters.
- Description string
The description of the Index.
- Labels map[string]string
The labels with user-defined metadata to organize your Indexes.
- Network string
The full name of the Google Compute Engine network to which the index endpoint should be peered. Private services access must already be configured for the network. If left unspecified, the index endpoint is not peered with any network. Format:
projects/{project}/global/networks/{network}
. Where{project}
is a project number, as in12345
, and{network}
is network name.- 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 index endpoint. eg us-central1
- display
Name String The display name of the Index. The name can be up to 128 characters long and can consist of any UTF-8 characters.
- description String
The description of the Index.
- labels Map<String,String>
The labels with user-defined metadata to organize your Indexes.
- network String
The full name of the Google Compute Engine network to which the index endpoint should be peered. Private services access must already be configured for the network. If left unspecified, the index endpoint is not peered with any network. Format:
projects/{project}/global/networks/{network}
. Where{project}
is a project number, as in12345
, and{network}
is network name.- 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 index endpoint. eg us-central1
- display
Name string The display name of the Index. The name can be up to 128 characters long and can consist of any UTF-8 characters.
- description string
The description of the Index.
- labels {[key: string]: string}
The labels with user-defined metadata to organize your Indexes.
- network string
The full name of the Google Compute Engine network to which the index endpoint should be peered. Private services access must already be configured for the network. If left unspecified, the index endpoint is not peered with any network. Format:
projects/{project}/global/networks/{network}
. Where{project}
is a project number, as in12345
, and{network}
is network name.- 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 index endpoint. eg us-central1
- display_
name str The display name of the Index. The name can be up to 128 characters long and can consist of any UTF-8 characters.
- description str
The description of the Index.
- labels Mapping[str, str]
The labels with user-defined metadata to organize your Indexes.
- network str
The full name of the Google Compute Engine network to which the index endpoint should be peered. Private services access must already be configured for the network. If left unspecified, the index endpoint is not peered with any network. Format:
projects/{project}/global/networks/{network}
. Where{project}
is a project number, as in12345
, and{network}
is network name.- 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 index endpoint. eg us-central1
- display
Name String The display name of the Index. The name can be up to 128 characters long and can consist of any UTF-8 characters.
- description String
The description of the Index.
- labels Map<String>
The labels with user-defined metadata to organize your Indexes.
- network String
The full name of the Google Compute Engine network to which the index endpoint should be peered. Private services access must already be configured for the network. If left unspecified, the index endpoint is not peered with any network. Format:
projects/{project}/global/networks/{network}
. Where{project}
is a project number, as in12345
, and{network}
is network name.- 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 index endpoint. eg us-central1
Outputs
All input properties are implicitly available as output properties. Additionally, the AiIndexEndpoint resource produces the following output properties:
- Create
Time string The timestamp of when the Index 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.
- Name string
The resource name of the Index.
- Update
Time string The timestamp of when the Index was last updated in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
- Create
Time string The timestamp of when the Index 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.
- Name string
The resource name of the Index.
- Update
Time string The timestamp of when the Index was last updated in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
- create
Time String The timestamp of when the Index 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.
- name String
The resource name of the Index.
- update
Time String The timestamp of when the Index was last updated in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
- create
Time string The timestamp of when the Index 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.
- name string
The resource name of the Index.
- update
Time string The timestamp of when the Index 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 Index 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.
- name str
The resource name of the Index.
- update_
time str The timestamp of when the Index was last updated in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
- create
Time String The timestamp of when the Index 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.
- name String
The resource name of the Index.
- update
Time String The timestamp of when the Index was last updated in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
Look up Existing AiIndexEndpoint Resource
Get an existing AiIndexEndpoint 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?: AiIndexEndpointState, opts?: CustomResourceOptions): AiIndexEndpoint
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
create_time: Optional[str] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
etag: Optional[str] = None,
labels: Optional[Mapping[str, str]] = None,
name: Optional[str] = None,
network: Optional[str] = None,
project: Optional[str] = None,
region: Optional[str] = None,
update_time: Optional[str] = None) -> AiIndexEndpoint
func GetAiIndexEndpoint(ctx *Context, name string, id IDInput, state *AiIndexEndpointState, opts ...ResourceOption) (*AiIndexEndpoint, error)
public static AiIndexEndpoint Get(string name, Input<string> id, AiIndexEndpointState? state, CustomResourceOptions? opts = null)
public static AiIndexEndpoint get(String name, Output<String> id, AiIndexEndpointState 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.
- Create
Time string The timestamp of when the Index was created in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
- Description string
The description of the Index.
- Display
Name string The display name of the Index. The name can be up to 128 characters long and can consist of any UTF-8 characters.
- Etag string
Used to perform consistent read-modify-write updates.
- Labels Dictionary<string, string>
The labels with user-defined metadata to organize your Indexes.
- Name string
The resource name of the Index.
- Network string
The full name of the Google Compute Engine network to which the index endpoint should be peered. Private services access must already be configured for the network. If left unspecified, the index endpoint is not peered with any network. Format:
projects/{project}/global/networks/{network}
. Where{project}
is a project number, as in12345
, and{network}
is network name.- 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 index endpoint. eg us-central1
- Update
Time string The timestamp of when the Index was last updated in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
- Create
Time string The timestamp of when the Index was created in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
- Description string
The description of the Index.
- Display
Name string The display name of the Index. The name can be up to 128 characters long and can consist of any UTF-8 characters.
- Etag string
Used to perform consistent read-modify-write updates.
- Labels map[string]string
The labels with user-defined metadata to organize your Indexes.
- Name string
The resource name of the Index.
- Network string
The full name of the Google Compute Engine network to which the index endpoint should be peered. Private services access must already be configured for the network. If left unspecified, the index endpoint is not peered with any network. Format:
projects/{project}/global/networks/{network}
. Where{project}
is a project number, as in12345
, and{network}
is network name.- 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 index endpoint. eg us-central1
- Update
Time string The timestamp of when the Index was last updated in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
- create
Time String The timestamp of when the Index was created in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
- description String
The description of the Index.
- display
Name String The display name of the Index. The name can be up to 128 characters long and can consist of any UTF-8 characters.
- etag String
Used to perform consistent read-modify-write updates.
- labels Map<String,String>
The labels with user-defined metadata to organize your Indexes.
- name String
The resource name of the Index.
- network String
The full name of the Google Compute Engine network to which the index endpoint should be peered. Private services access must already be configured for the network. If left unspecified, the index endpoint is not peered with any network. Format:
projects/{project}/global/networks/{network}
. Where{project}
is a project number, as in12345
, and{network}
is network name.- 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 index endpoint. eg us-central1
- update
Time String The timestamp of when the Index was last updated in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
- create
Time string The timestamp of when the Index was created in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
- description string
The description of the Index.
- display
Name string The display name of the Index. The name can be up to 128 characters long and can consist of any UTF-8 characters.
- etag string
Used to perform consistent read-modify-write updates.
- labels {[key: string]: string}
The labels with user-defined metadata to organize your Indexes.
- name string
The resource name of the Index.
- network string
The full name of the Google Compute Engine network to which the index endpoint should be peered. Private services access must already be configured for the network. If left unspecified, the index endpoint is not peered with any network. Format:
projects/{project}/global/networks/{network}
. Where{project}
is a project number, as in12345
, and{network}
is network name.- 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 index endpoint. eg us-central1
- update
Time string The timestamp of when the Index 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 Index was created in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
- description str
The description of the Index.
- display_
name str The display name of the Index. The name can be up to 128 characters long and can consist of any UTF-8 characters.
- etag str
Used to perform consistent read-modify-write updates.
- labels Mapping[str, str]
The labels with user-defined metadata to organize your Indexes.
- name str
The resource name of the Index.
- network str
The full name of the Google Compute Engine network to which the index endpoint should be peered. Private services access must already be configured for the network. If left unspecified, the index endpoint is not peered with any network. Format:
projects/{project}/global/networks/{network}
. Where{project}
is a project number, as in12345
, and{network}
is network name.- 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 index endpoint. eg us-central1
- update_
time str The timestamp of when the Index was last updated in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
- create
Time String The timestamp of when the Index was created in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
- description String
The description of the Index.
- display
Name String The display name of the Index. The name can be up to 128 characters long and can consist of any UTF-8 characters.
- etag String
Used to perform consistent read-modify-write updates.
- labels Map<String>
The labels with user-defined metadata to organize your Indexes.
- name String
The resource name of the Index.
- network String
The full name of the Google Compute Engine network to which the index endpoint should be peered. Private services access must already be configured for the network. If left unspecified, the index endpoint is not peered with any network. Format:
projects/{project}/global/networks/{network}
. Where{project}
is a project number, as in12345
, and{network}
is network name.- 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 index endpoint. eg us-central1
- update
Time String The timestamp of when the Index was last updated in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
Import
IndexEndpoint can be imported using any of these accepted formats
$ pulumi import gcp:vertex/aiIndexEndpoint:AiIndexEndpoint default projects/{{project}}/locations/{{region}}/indexEndpoints/{{name}}
$ pulumi import gcp:vertex/aiIndexEndpoint:AiIndexEndpoint default {{project}}/{{region}}/{{name}}
$ pulumi import gcp:vertex/aiIndexEndpoint:AiIndexEndpoint default {{region}}/{{name}}
$ pulumi import gcp:vertex/aiIndexEndpoint:AiIndexEndpoint 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.