Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.aiplatform/v1.MetadataStore
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Initializes a MetadataStore, including allocation of resources. Auto-naming is currently not supported for this resource.
Create MetadataStore Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new MetadataStore(name: string, args?: MetadataStoreArgs, opts?: CustomResourceOptions);
@overload
def MetadataStore(resource_name: str,
args: Optional[MetadataStoreArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def MetadataStore(resource_name: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
encryption_spec: Optional[GoogleCloudAiplatformV1EncryptionSpecArgs] = None,
location: Optional[str] = None,
metadata_store_id: Optional[str] = None,
project: Optional[str] = None)
func NewMetadataStore(ctx *Context, name string, args *MetadataStoreArgs, opts ...ResourceOption) (*MetadataStore, error)
public MetadataStore(string name, MetadataStoreArgs? args = null, CustomResourceOptions? opts = null)
public MetadataStore(String name, MetadataStoreArgs args)
public MetadataStore(String name, MetadataStoreArgs args, CustomResourceOptions options)
type: google-native:aiplatform/v1:MetadataStore
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args MetadataStoreArgs
- 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 MetadataStoreArgs
- 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 MetadataStoreArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args MetadataStoreArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args MetadataStoreArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var metadataStoreResource = new GoogleNative.Aiplatform.V1.MetadataStore("metadataStoreResource", new()
{
Description = "string",
EncryptionSpec = new GoogleNative.Aiplatform.V1.Inputs.GoogleCloudAiplatformV1EncryptionSpecArgs
{
KmsKeyName = "string",
},
Location = "string",
MetadataStoreId = "string",
Project = "string",
});
example, err := aiplatform.NewMetadataStore(ctx, "metadataStoreResource", &aiplatform.MetadataStoreArgs{
Description: pulumi.String("string"),
EncryptionSpec: &aiplatform.GoogleCloudAiplatformV1EncryptionSpecArgs{
KmsKeyName: pulumi.String("string"),
},
Location: pulumi.String("string"),
MetadataStoreId: pulumi.String("string"),
Project: pulumi.String("string"),
})
var metadataStoreResource = new MetadataStore("metadataStoreResource", MetadataStoreArgs.builder()
.description("string")
.encryptionSpec(GoogleCloudAiplatformV1EncryptionSpecArgs.builder()
.kmsKeyName("string")
.build())
.location("string")
.metadataStoreId("string")
.project("string")
.build());
metadata_store_resource = google_native.aiplatform.v1.MetadataStore("metadataStoreResource",
description="string",
encryption_spec={
"kms_key_name": "string",
},
location="string",
metadata_store_id="string",
project="string")
const metadataStoreResource = new google_native.aiplatform.v1.MetadataStore("metadataStoreResource", {
description: "string",
encryptionSpec: {
kmsKeyName: "string",
},
location: "string",
metadataStoreId: "string",
project: "string",
});
type: google-native:aiplatform/v1:MetadataStore
properties:
description: string
encryptionSpec:
kmsKeyName: string
location: string
metadataStoreId: string
project: string
MetadataStore Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The MetadataStore resource accepts the following input properties:
- Description string
- Description of the MetadataStore.
- Encryption
Spec Pulumi.Google Native. Aiplatform. V1. Inputs. Google Cloud Aiplatform V1Encryption Spec - Customer-managed encryption key spec for a Metadata Store. If set, this Metadata Store and all sub-resources of this Metadata Store are secured using this key.
- Location string
- Metadata
Store stringId - The {metadatastore} portion of the resource name with the format:
projects/{project}/locations/{location}/metadataStores/{metadatastore}
If not provided, the MetadataStore's ID will be a UUID generated by the service. Must be 4-128 characters in length. Valid characters are/a-z-/
. Must be unique across all MetadataStores in the parent Location. (Otherwise the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED if the caller can't view the preexisting MetadataStore.) - Project string
- Description string
- Description of the MetadataStore.
- Encryption
Spec GoogleCloud Aiplatform V1Encryption Spec Args - Customer-managed encryption key spec for a Metadata Store. If set, this Metadata Store and all sub-resources of this Metadata Store are secured using this key.
- Location string
- Metadata
Store stringId - The {metadatastore} portion of the resource name with the format:
projects/{project}/locations/{location}/metadataStores/{metadatastore}
If not provided, the MetadataStore's ID will be a UUID generated by the service. Must be 4-128 characters in length. Valid characters are/a-z-/
. Must be unique across all MetadataStores in the parent Location. (Otherwise the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED if the caller can't view the preexisting MetadataStore.) - Project string
- description String
- Description of the MetadataStore.
- encryption
Spec GoogleCloud Aiplatform V1Encryption Spec - Customer-managed encryption key spec for a Metadata Store. If set, this Metadata Store and all sub-resources of this Metadata Store are secured using this key.
- location String
- metadata
Store StringId - The {metadatastore} portion of the resource name with the format:
projects/{project}/locations/{location}/metadataStores/{metadatastore}
If not provided, the MetadataStore's ID will be a UUID generated by the service. Must be 4-128 characters in length. Valid characters are/a-z-/
. Must be unique across all MetadataStores in the parent Location. (Otherwise the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED if the caller can't view the preexisting MetadataStore.) - project String
- description string
- Description of the MetadataStore.
- encryption
Spec GoogleCloud Aiplatform V1Encryption Spec - Customer-managed encryption key spec for a Metadata Store. If set, this Metadata Store and all sub-resources of this Metadata Store are secured using this key.
- location string
- metadata
Store stringId - The {metadatastore} portion of the resource name with the format:
projects/{project}/locations/{location}/metadataStores/{metadatastore}
If not provided, the MetadataStore's ID will be a UUID generated by the service. Must be 4-128 characters in length. Valid characters are/a-z-/
. Must be unique across all MetadataStores in the parent Location. (Otherwise the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED if the caller can't view the preexisting MetadataStore.) - project string
- description str
- Description of the MetadataStore.
- encryption_
spec GoogleCloud Aiplatform V1Encryption Spec Args - Customer-managed encryption key spec for a Metadata Store. If set, this Metadata Store and all sub-resources of this Metadata Store are secured using this key.
- location str
- metadata_
store_ strid - The {metadatastore} portion of the resource name with the format:
projects/{project}/locations/{location}/metadataStores/{metadatastore}
If not provided, the MetadataStore's ID will be a UUID generated by the service. Must be 4-128 characters in length. Valid characters are/a-z-/
. Must be unique across all MetadataStores in the parent Location. (Otherwise the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED if the caller can't view the preexisting MetadataStore.) - project str
- description String
- Description of the MetadataStore.
- encryption
Spec Property Map - Customer-managed encryption key spec for a Metadata Store. If set, this Metadata Store and all sub-resources of this Metadata Store are secured using this key.
- location String
- metadata
Store StringId - The {metadatastore} portion of the resource name with the format:
projects/{project}/locations/{location}/metadataStores/{metadatastore}
If not provided, the MetadataStore's ID will be a UUID generated by the service. Must be 4-128 characters in length. Valid characters are/a-z-/
. Must be unique across all MetadataStores in the parent Location. (Otherwise the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED if the caller can't view the preexisting MetadataStore.) - project String
Outputs
All input properties are implicitly available as output properties. Additionally, the MetadataStore resource produces the following output properties:
- Create
Time string - Timestamp when this MetadataStore was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The resource name of the MetadataStore instance.
- State
Pulumi.
Google Native. Aiplatform. V1. Outputs. Google Cloud Aiplatform V1Metadata Store Metadata Store State Response - State information of the MetadataStore.
- Update
Time string - Timestamp when this MetadataStore was last updated.
- Create
Time string - Timestamp when this MetadataStore was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The resource name of the MetadataStore instance.
- State
Google
Cloud Aiplatform V1Metadata Store Metadata Store State Response - State information of the MetadataStore.
- Update
Time string - Timestamp when this MetadataStore was last updated.
- create
Time String - Timestamp when this MetadataStore was created.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The resource name of the MetadataStore instance.
- state
Google
Cloud Aiplatform V1Metadata Store Metadata Store State Response - State information of the MetadataStore.
- update
Time String - Timestamp when this MetadataStore was last updated.
- create
Time string - Timestamp when this MetadataStore was created.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The resource name of the MetadataStore instance.
- state
Google
Cloud Aiplatform V1Metadata Store Metadata Store State Response - State information of the MetadataStore.
- update
Time string - Timestamp when this MetadataStore was last updated.
- create_
time str - Timestamp when this MetadataStore was created.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The resource name of the MetadataStore instance.
- state
Google
Cloud Aiplatform V1Metadata Store Metadata Store State Response - State information of the MetadataStore.
- update_
time str - Timestamp when this MetadataStore was last updated.
- create
Time String - Timestamp when this MetadataStore was created.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The resource name of the MetadataStore instance.
- state Property Map
- State information of the MetadataStore.
- update
Time String - Timestamp when this MetadataStore was last updated.
Supporting Types
GoogleCloudAiplatformV1EncryptionSpec, GoogleCloudAiplatformV1EncryptionSpecArgs
- 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.
GoogleCloudAiplatformV1EncryptionSpecResponse, GoogleCloudAiplatformV1EncryptionSpecResponseArgs
- 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.
GoogleCloudAiplatformV1MetadataStoreMetadataStoreStateResponse, GoogleCloudAiplatformV1MetadataStoreMetadataStoreStateResponseArgs
- Disk
Utilization stringBytes - The disk utilization of the MetadataStore in bytes.
- Disk
Utilization stringBytes - The disk utilization of the MetadataStore in bytes.
- disk
Utilization StringBytes - The disk utilization of the MetadataStore in bytes.
- disk
Utilization stringBytes - The disk utilization of the MetadataStore in bytes.
- disk_
utilization_ strbytes - The disk utilization of the MetadataStore in bytes.
- disk
Utilization StringBytes - The disk utilization of the MetadataStore in bytes.
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.