1. Registry
  2. Packages
  3. Google Cloud Native
  4. API Docs
  5. aiplatform
  6. aiplatform/v1beta1
  7. DatasetVersion

This package is deprecated. Active development has stopped. We recommend using the Google Cloud package instead.

Viewing docs for Google Cloud Native v0.32.0
published on Wednesday, Nov 29, 2023 by Pulumi
google-native logo Google Cloud Native

This package is deprecated. Active development has stopped. We recommend using the Google Cloud package instead.

Viewing docs for Google Cloud Native v0.32.0
published on Wednesday, Nov 29, 2023 by Pulumi

    Create a version from a Dataset. Auto-naming is currently not supported for this resource.

    Create DatasetVersion Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new DatasetVersion(name: string, args: DatasetVersionArgs, opts?: CustomResourceOptions);
    @overload
    def DatasetVersion(resource_name: str,
                       args: DatasetVersionArgs,
                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def DatasetVersion(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       dataset_id: Optional[str] = None,
                       etag: Optional[str] = None,
                       location: Optional[str] = None,
                       project: Optional[str] = None)
    func NewDatasetVersion(ctx *Context, name string, args DatasetVersionArgs, opts ...ResourceOption) (*DatasetVersion, error)
    public DatasetVersion(string name, DatasetVersionArgs args, CustomResourceOptions? opts = null)
    public DatasetVersion(String name, DatasetVersionArgs args)
    public DatasetVersion(String name, DatasetVersionArgs args, CustomResourceOptions options)
    
    type: google-native:aiplatform/v1beta1:DatasetVersion
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "google-native_aiplatform_v1beta1_dataset_version" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args DatasetVersionArgs
    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 DatasetVersionArgs
    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 DatasetVersionArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DatasetVersionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DatasetVersionArgs
    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 google_nativeDatasetVersionResource = new GoogleNative.Aiplatform.V1Beta1.DatasetVersion("google-nativeDatasetVersionResource", new()
    {
        DatasetId = "string",
        Etag = "string",
        Location = "string",
        Project = "string",
    });
    
    example, err := aiplatformv1beta1.NewDatasetVersion(ctx, "google-nativeDatasetVersionResource", &aiplatformv1beta1.DatasetVersionArgs{
    	DatasetId: pulumi.String("string"),
    	Etag:      pulumi.String("string"),
    	Location:  pulumi.String("string"),
    	Project:   pulumi.String("string"),
    })
    
    resource "google-native_aiplatform_v1beta1_dataset_version" "google-nativeDatasetVersionResource" {
      lifecycle {
        create_before_destroy = true
      }
      dataset_id = "string"
      etag       = "string"
      location   = "string"
      project    = "string"
    }
    
    var google_nativeDatasetVersionResource = new com.pulumi.googlenative.aiplatform_v1beta1.DatasetVersion("google-nativeDatasetVersionResource", com.pulumi.googlenative.aiplatform_v1beta1.DatasetVersionArgs.builder()
        .datasetId("string")
        .etag("string")
        .location("string")
        .project("string")
        .build());
    
    google_native_dataset_version_resource = google_native.aiplatform.v1beta1.DatasetVersion("google-nativeDatasetVersionResource",
        dataset_id="string",
        etag="string",
        location="string",
        project="string")
    
    const google_nativeDatasetVersionResource = new google_native.aiplatform.v1beta1.DatasetVersion("google-nativeDatasetVersionResource", {
        datasetId: "string",
        etag: "string",
        location: "string",
        project: "string",
    });
    
    type: google-native:aiplatform/v1beta1:DatasetVersion
    properties:
        datasetId: string
        etag: string
        location: string
        project: string
    

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

    DatasetId string
    Etag string
    Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
    Location string
    Project string
    DatasetId string
    Etag string
    Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
    Location string
    Project string
    dataset_id string
    etag string
    Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
    location string
    project string
    datasetId String
    etag String
    Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
    location String
    project String
    datasetId string
    etag string
    Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
    location string
    project string
    dataset_id str
    etag str
    Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
    location str
    project str
    datasetId String
    etag String
    Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
    location String
    project String

    Outputs

    All input properties are implicitly available as output properties. Additionally, the DatasetVersion resource produces the following output properties:

    BigQueryDatasetName string
    Name of the associated BigQuery dataset.
    CreateTime string
    Timestamp when this DatasetVersion was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The resource name of the DatasetVersion.
    UpdateTime string
    Timestamp when this DatasetVersion was last updated.
    BigQueryDatasetName string
    Name of the associated BigQuery dataset.
    CreateTime string
    Timestamp when this DatasetVersion was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The resource name of the DatasetVersion.
    UpdateTime string
    Timestamp when this DatasetVersion was last updated.
    big_query_dataset_name string
    Name of the associated BigQuery dataset.
    create_time string
    Timestamp when this DatasetVersion was created.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    The resource name of the DatasetVersion.
    update_time string
    Timestamp when this DatasetVersion was last updated.
    bigQueryDatasetName String
    Name of the associated BigQuery dataset.
    createTime String
    Timestamp when this DatasetVersion was created.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The resource name of the DatasetVersion.
    updateTime String
    Timestamp when this DatasetVersion was last updated.
    bigQueryDatasetName string
    Name of the associated BigQuery dataset.
    createTime string
    Timestamp when this DatasetVersion was created.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    The resource name of the DatasetVersion.
    updateTime string
    Timestamp when this DatasetVersion was last updated.
    big_query_dataset_name str
    Name of the associated BigQuery dataset.
    create_time str
    Timestamp when this DatasetVersion was created.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    The resource name of the DatasetVersion.
    update_time str
    Timestamp when this DatasetVersion was last updated.
    bigQueryDatasetName String
    Name of the associated BigQuery dataset.
    createTime String
    Timestamp when this DatasetVersion was created.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The resource name of the DatasetVersion.
    updateTime String
    Timestamp when this DatasetVersion was last updated.

    Look up Existing DatasetVersion Resource

    Get an existing DatasetVersion 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>, opts?: CustomResourceOptions): DatasetVersion
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None) -> DatasetVersion
    func GetDatasetVersion(ctx *Context, name string, id IDInput, state *DatasetVersionState, opts ...ResourceOption) (*DatasetVersion, error)
    public static DatasetVersion Get(string name, Input<string> id, CustomResourceOptions? opts = null)
    public static DatasetVersion get(String name, Output<String> id, CustomResourceOptions options)
    resources:  existingDatasetVersion:    type: google-native:aiplatform/v1beta1:DatasetVersion    get:      id: ${id}
    import {
      to = google-native_aiplatform_v1beta1_dataset_version.example
      id = "${id}"
    }
    
    name string
    The unique name of the resulting resource.
    id Input<ID>
    The unique provider ID of the resource to look up.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resulting resource.
    id str
    The unique provider ID of the resource to look up.
    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 resulting resource.
    id IDInput
    The unique provider ID of the resource to look up.
    state DatasetVersionState
    Pass nil. This resource has no state arguments.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resulting resource.
    id Input<string>
    The unique provider ID of the resource to look up.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resulting resource.
    id Output<String>
    The unique provider ID of the resource to look up.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Package Details

    Repository
    Google Cloud Native pulumi/pulumi-google-native
    License
    Apache-2.0
    google-native logo Google Cloud Native

    This package is deprecated. Active development has stopped. We recommend using the Google Cloud package instead.

    Viewing docs for Google Cloud Native v0.32.0
    published on Wednesday, Nov 29, 2023 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial