Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
google-native.aiplatform/v1beta1.getIndex
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
Gets an Index.
Using getIndex
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getIndex(args: GetIndexArgs, opts?: InvokeOptions): Promise<GetIndexResult>
function getIndexOutput(args: GetIndexOutputArgs, opts?: InvokeOptions): Output<GetIndexResult>
def get_index(index_id: Optional[str] = None,
location: Optional[str] = None,
project: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetIndexResult
def get_index_output(index_id: Optional[pulumi.Input[str]] = None,
location: Optional[pulumi.Input[str]] = None,
project: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetIndexResult]
func LookupIndex(ctx *Context, args *LookupIndexArgs, opts ...InvokeOption) (*LookupIndexResult, error)
func LookupIndexOutput(ctx *Context, args *LookupIndexOutputArgs, opts ...InvokeOption) LookupIndexResultOutput
> Note: This function is named LookupIndex
in the Go SDK.
public static class GetIndex
{
public static Task<GetIndexResult> InvokeAsync(GetIndexArgs args, InvokeOptions? opts = null)
public static Output<GetIndexResult> Invoke(GetIndexInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetIndexResult> getIndex(GetIndexArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: google-native:aiplatform/v1beta1:getIndex
arguments:
# arguments dictionary
The following arguments are supported:
getIndex Result
The following output properties are available:
- Create
Time string - Timestamp when this Index was created.
- Deployed
Indexes List<Pulumi.Google Native. Aiplatform. V1Beta1. Outputs. Google Cloud Aiplatform V1beta1Deployed Index Ref Response> - The pointers to DeployedIndexes created from this Index. An Index can be only deleted if all its DeployedIndexes had been undeployed first.
- 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.
- Encryption
Spec Pulumi.Google Native. Aiplatform. V1Beta1. Outputs. Google Cloud Aiplatform V1beta1Encryption Spec Response - Immutable. Customer-managed encryption key spec for an Index. If set, this Index and all sub-resources of this Index will be secured by this key.
- Etag string
- Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
- Index
Stats Pulumi.Google Native. Aiplatform. V1Beta1. Outputs. Google Cloud Aiplatform V1beta1Index Stats Response - Stats of the index resource.
- Index
Update stringMethod - Immutable. The update method to use with this Index. If not set, BATCH_UPDATE will be used by default.
- Labels Dictionary<string, string>
- The labels with user-defined metadata to organize your Indexes. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels.
- Metadata object
- An additional information about the Index; the schema of the metadata can be found in metadata_schema.
- Metadata
Schema stringUri - Immutable. Points to a YAML file stored on Google Cloud Storage describing additional information about the Index, that is specific to it. Unset if the Index does not have any additional information. The schema is defined as an OpenAPI 3.0.2 Schema Object. Note: The URI given on output will be immutable and probably different, including the URI scheme, than the one given on input. The output URI will point to a location where the user only has a read access.
- Name string
- The resource name of the Index.
- Update
Time string - Timestamp when this Index was most recently updated. This also includes any update to the contents of the Index. Note that Operations working on this Index may have their Operations.metadata.generic_metadata.update_time a little after the value of this timestamp, yet that does not mean their results are not already reflected in the Index. Result of any successfully completed Operation on the Index is reflected in it.
- Create
Time string - Timestamp when this Index was created.
- Deployed
Indexes []GoogleCloud Aiplatform V1beta1Deployed Index Ref Response - The pointers to DeployedIndexes created from this Index. An Index can be only deleted if all its DeployedIndexes had been undeployed first.
- 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.
- Encryption
Spec GoogleCloud Aiplatform V1beta1Encryption Spec Response - Immutable. Customer-managed encryption key spec for an Index. If set, this Index and all sub-resources of this Index will be secured by this key.
- Etag string
- Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
- Index
Stats GoogleCloud Aiplatform V1beta1Index Stats Response - Stats of the index resource.
- Index
Update stringMethod - Immutable. The update method to use with this Index. If not set, BATCH_UPDATE will be used by default.
- Labels map[string]string
- The labels with user-defined metadata to organize your Indexes. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels.
- Metadata interface{}
- An additional information about the Index; the schema of the metadata can be found in metadata_schema.
- Metadata
Schema stringUri - Immutable. Points to a YAML file stored on Google Cloud Storage describing additional information about the Index, that is specific to it. Unset if the Index does not have any additional information. The schema is defined as an OpenAPI 3.0.2 Schema Object. Note: The URI given on output will be immutable and probably different, including the URI scheme, than the one given on input. The output URI will point to a location where the user only has a read access.
- Name string
- The resource name of the Index.
- Update
Time string - Timestamp when this Index was most recently updated. This also includes any update to the contents of the Index. Note that Operations working on this Index may have their Operations.metadata.generic_metadata.update_time a little after the value of this timestamp, yet that does not mean their results are not already reflected in the Index. Result of any successfully completed Operation on the Index is reflected in it.
- create
Time String - Timestamp when this Index was created.
- deployed
Indexes List<GoogleCloud Aiplatform V1beta1Deployed Index Ref Response> - The pointers to DeployedIndexes created from this Index. An Index can be only deleted if all its DeployedIndexes had been undeployed first.
- 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.
- encryption
Spec GoogleCloud Aiplatform V1beta1Encryption Spec Response - Immutable. Customer-managed encryption key spec for an Index. If set, this Index and all sub-resources of this Index will be secured by this key.
- etag String
- Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
- index
Stats GoogleCloud Aiplatform V1beta1Index Stats Response - Stats of the index resource.
- index
Update StringMethod - Immutable. The update method to use with this Index. If not set, BATCH_UPDATE will be used by default.
- labels Map<String,String>
- The labels with user-defined metadata to organize your Indexes. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels.
- metadata Object
- An additional information about the Index; the schema of the metadata can be found in metadata_schema.
- metadata
Schema StringUri - Immutable. Points to a YAML file stored on Google Cloud Storage describing additional information about the Index, that is specific to it. Unset if the Index does not have any additional information. The schema is defined as an OpenAPI 3.0.2 Schema Object. Note: The URI given on output will be immutable and probably different, including the URI scheme, than the one given on input. The output URI will point to a location where the user only has a read access.
- name String
- The resource name of the Index.
- update
Time String - Timestamp when this Index was most recently updated. This also includes any update to the contents of the Index. Note that Operations working on this Index may have their Operations.metadata.generic_metadata.update_time a little after the value of this timestamp, yet that does not mean their results are not already reflected in the Index. Result of any successfully completed Operation on the Index is reflected in it.
- create
Time string - Timestamp when this Index was created.
- deployed
Indexes GoogleCloud Aiplatform V1beta1Deployed Index Ref Response[] - The pointers to DeployedIndexes created from this Index. An Index can be only deleted if all its DeployedIndexes had been undeployed first.
- 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.
- encryption
Spec GoogleCloud Aiplatform V1beta1Encryption Spec Response - Immutable. Customer-managed encryption key spec for an Index. If set, this Index and all sub-resources of this Index will be secured by this key.
- etag string
- Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
- index
Stats GoogleCloud Aiplatform V1beta1Index Stats Response - Stats of the index resource.
- index
Update stringMethod - Immutable. The update method to use with this Index. If not set, BATCH_UPDATE will be used by default.
- labels {[key: string]: string}
- The labels with user-defined metadata to organize your Indexes. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels.
- metadata any
- An additional information about the Index; the schema of the metadata can be found in metadata_schema.
- metadata
Schema stringUri - Immutable. Points to a YAML file stored on Google Cloud Storage describing additional information about the Index, that is specific to it. Unset if the Index does not have any additional information. The schema is defined as an OpenAPI 3.0.2 Schema Object. Note: The URI given on output will be immutable and probably different, including the URI scheme, than the one given on input. The output URI will point to a location where the user only has a read access.
- name string
- The resource name of the Index.
- update
Time string - Timestamp when this Index was most recently updated. This also includes any update to the contents of the Index. Note that Operations working on this Index may have their Operations.metadata.generic_metadata.update_time a little after the value of this timestamp, yet that does not mean their results are not already reflected in the Index. Result of any successfully completed Operation on the Index is reflected in it.
- create_
time str - Timestamp when this Index was created.
- deployed_
indexes Sequence[GoogleCloud Aiplatform V1beta1Deployed Index Ref Response] - The pointers to DeployedIndexes created from this Index. An Index can be only deleted if all its DeployedIndexes had been undeployed first.
- 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.
- encryption_
spec GoogleCloud Aiplatform V1beta1Encryption Spec Response - Immutable. Customer-managed encryption key spec for an Index. If set, this Index and all sub-resources of this Index will be secured by this key.
- etag str
- Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
- index_
stats GoogleCloud Aiplatform V1beta1Index Stats Response - Stats of the index resource.
- index_
update_ strmethod - Immutable. The update method to use with this Index. If not set, BATCH_UPDATE will be used by default.
- labels Mapping[str, str]
- The labels with user-defined metadata to organize your Indexes. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels.
- metadata Any
- An additional information about the Index; the schema of the metadata can be found in metadata_schema.
- metadata_
schema_ struri - Immutable. Points to a YAML file stored on Google Cloud Storage describing additional information about the Index, that is specific to it. Unset if the Index does not have any additional information. The schema is defined as an OpenAPI 3.0.2 Schema Object. Note: The URI given on output will be immutable and probably different, including the URI scheme, than the one given on input. The output URI will point to a location where the user only has a read access.
- name str
- The resource name of the Index.
- update_
time str - Timestamp when this Index was most recently updated. This also includes any update to the contents of the Index. Note that Operations working on this Index may have their Operations.metadata.generic_metadata.update_time a little after the value of this timestamp, yet that does not mean their results are not already reflected in the Index. Result of any successfully completed Operation on the Index is reflected in it.
- create
Time String - Timestamp when this Index was created.
- deployed
Indexes List<Property Map> - The pointers to DeployedIndexes created from this Index. An Index can be only deleted if all its DeployedIndexes had been undeployed first.
- 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.
- encryption
Spec Property Map - Immutable. Customer-managed encryption key spec for an Index. If set, this Index and all sub-resources of this Index will be secured by this key.
- etag String
- Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
- index
Stats Property Map - Stats of the index resource.
- index
Update StringMethod - Immutable. The update method to use with this Index. If not set, BATCH_UPDATE will be used by default.
- labels Map<String>
- The labels with user-defined metadata to organize your Indexes. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels.
- metadata Any
- An additional information about the Index; the schema of the metadata can be found in metadata_schema.
- metadata
Schema StringUri - Immutable. Points to a YAML file stored on Google Cloud Storage describing additional information about the Index, that is specific to it. Unset if the Index does not have any additional information. The schema is defined as an OpenAPI 3.0.2 Schema Object. Note: The URI given on output will be immutable and probably different, including the URI scheme, than the one given on input. The output URI will point to a location where the user only has a read access.
- name String
- The resource name of the Index.
- update
Time String - Timestamp when this Index was most recently updated. This also includes any update to the contents of the Index. Note that Operations working on this Index may have their Operations.metadata.generic_metadata.update_time a little after the value of this timestamp, yet that does not mean their results are not already reflected in the Index. Result of any successfully completed Operation on the Index is reflected in it.
Supporting Types
GoogleCloudAiplatformV1beta1DeployedIndexRefResponse
- Deployed
Index stringId - Immutable. The ID of the DeployedIndex in the above IndexEndpoint.
- Index
Endpoint string - Immutable. A resource name of the IndexEndpoint.
- Deployed
Index stringId - Immutable. The ID of the DeployedIndex in the above IndexEndpoint.
- Index
Endpoint string - Immutable. A resource name of the IndexEndpoint.
- deployed
Index StringId - Immutable. The ID of the DeployedIndex in the above IndexEndpoint.
- index
Endpoint String - Immutable. A resource name of the IndexEndpoint.
- deployed
Index stringId - Immutable. The ID of the DeployedIndex in the above IndexEndpoint.
- index
Endpoint string - Immutable. A resource name of the IndexEndpoint.
- deployed_
index_ strid - Immutable. The ID of the DeployedIndex in the above IndexEndpoint.
- index_
endpoint str - Immutable. A resource name of the IndexEndpoint.
- deployed
Index StringId - Immutable. The ID of the DeployedIndex in the above IndexEndpoint.
- index
Endpoint String - Immutable. A resource name of the IndexEndpoint.
GoogleCloudAiplatformV1beta1EncryptionSpecResponse
- Kms
Key stringName - 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 stringName - 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 StringName - 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 stringName - 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_ strname - 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 StringName - 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.
GoogleCloudAiplatformV1beta1IndexStatsResponse
- int
- The number of shards in the Index.
- Vectors
Count string - The number of vectors in the Index.
- int
- The number of shards in the Index.
- Vectors
Count string - The number of vectors in the Index.
- Integer
- The number of shards in the Index.
- vectors
Count String - The number of vectors in the Index.
- number
- The number of shards in the Index.
- vectors
Count string - The number of vectors in the Index.
- int
- The number of shards in the Index.
- vectors_
count str - The number of vectors in the Index.
- Number
- The number of shards in the Index.
- vectors
Count String - The number of vectors in the Index.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi